]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Remove BROKEN_PPC_ASM_CR0 configure test.
[thirdparty/glibc.git] / ChangeLog
1 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2
3 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
4 * configure: Regenerated.
5 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
6
7 * configure.ac (base_machine): Do not set specially for particular
8 machines here.
9 * configure: Regenerated.
10 * sysdeps/powerpc/preconfigure: Move machine and base_machine
11 settings from configure.ac.
12 * sysdeps/i386/preconfigure: New file.
13 * sysdeps/s390/preconfigure: Likewise.
14 * sysdeps/sh/preconfigure: Likewise.
15 * sysdeps/sparc/preconfigure: Likewise.
16
17 2014-06-25 Roland McGrath <roland@hack.frob.com>
18
19 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
20 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
21 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
22 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
23 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
24 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
25 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
26 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
27 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
28 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
29 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
30 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
31 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
32 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
33 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
34 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
35 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
36 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
37 * sysdeps/sparc/sparc64/Makefile: ... appended here.
38
39 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
40 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
41 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
42 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
43 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
44 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
45 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
46 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
47 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
48 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
49 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
50 * sysdeps/sparc/sparc32/sem_post.c: ... here.
51 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
52 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
53 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
54 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
55 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
56 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
57 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
58 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
59 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
60 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
61 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
62 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
63 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
64 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
65 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
66 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
67 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
68 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
69 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
70 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
71 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
72 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
73 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
74 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
75 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
76 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
77
78 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
79 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
80 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
81 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
82 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
83 Moved ...
84 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
85 ... here.
86 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
87 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
88 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
89 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
90 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
91 Moved ...
92 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
93 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
94 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
95 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
96 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
97 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
98 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
99 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
100 Moved ...
101 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
102 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
103 Moved ...
104 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
105 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
106 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
107 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
108 Moved ...
109 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
110 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
111 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
112 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
113 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
114 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
115 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
116 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
117 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
118 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
119 Moved ...
120 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
121 ... here.
122 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
123 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
124 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
125 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
126 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
127 Moved ...
128 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
129 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
130 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
131 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
132 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
133 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
134 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
135 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
136 Moved ...
137 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
138 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
139 Moved ...
140 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
141 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
142 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
143 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
144 Moved ...
145 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
146 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
147 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
148 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
149 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
150
151 2014-06-25 Joseph Myers <joseph@codesourcery.com>
152
153 * timezone/checktab.awk: Update from tzcode 2014e.
154 * timezone/private.h: Likewise.
155 * timezone/tzfile.h: Likewise.
156 * timezone/zdump.c: Likewise.
157 * timezone/zic.c: Likewise.
158
159 * sysdeps/unix/sysv/linux/kernel-features.h
160 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
161 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
162 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
163 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
164 Remove conditional code.
165
166 2014-06-25 Will Newton <will.newton@linaro.org>
167
168 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
169 (_dl_arm_cap_flags): Add HWCAP2 values.
170 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
171 (_DL_HWCAP_COUNT): Increase to 37.
172 (_DL_HWCAP_LAST): New define.
173 (_DL_HWCAP2_LAST): New define.
174 (_dl_procinfo): Add support for printing
175 AT_HWCAP2 entries.
176 (_dl_string_hwcap): Use _dl_hwcap_string.
177
178 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
179
180 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
181
182 2014-06-25 Joseph Myers <joseph@codesourcery.com>
183
184 * README: Do not mention ports directory.
185
186 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
187 Remove macro.
188 * sysdeps/unix/sysv/linux/futimes.c: Do not include
189 <kernel-features.h>.
190 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
191 conditional variable definition.
192 (__futimes): Update comment.
193 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
194 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
195
196 [BZ #16560]
197 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
198 arguments close to 0.
199 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
200 Likewise.
201 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
202 Likewise.
203 * math/auto-libm-test-in: Add more tests of exp10.
204 * math/auto-libm-test-out: Regenerated.
205 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
206
207 * sysdeps/unix/sysv/linux/kernel-features.h
208 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
209 * sysdeps/unix/sysv/linux/readv.c: Do not include
210 <kernel-features.h>.
211 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
212 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
213 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
214 unconditional.
215 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
216 conditional code.
217 * sysdeps/unix/sysv/linux/writev.c: Do not include
218 <kernel-features.h>.
219 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
220 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
221 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
222 unconditional.
223 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
224 conditional code.
225
226 2014-06-25 Will Newton <will.newton@linaro.org>
227
228 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
229 comment changes throughout the file. Remove checks
230 for HAVE_*_H definitions that are not required.
231 (__gen_tempname): Call abort if an unknown kind value is
232 passed.
233
234 2014-06-25 Andreas Schwab <schwab@suse.de>
235
236 [BZ #17086]
237 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
238 scalbln, scalblnf, scalblnl in libc.
239
240 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
241
242 [BZ #17086]
243 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
244 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
245 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
246
247 2014-06-24 Roland McGrath <roland@hack.frob.com>
248
249 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
250 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
251 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
252 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
253 Update #include.
254 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
255 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
256 Update #include.
257 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
258 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
259 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
260 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
261 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
262 * sysdeps/x86/bits/pthreadtypes.h: ... here.
263 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
264 * sysdeps/x86/bits/semaphore.h: ... here.
265 * sysdeps/x86/nptl/elide.h: Moved ...
266 * sysdeps/x86/elide.h: ... here.
267 * sysdeps/x86_64/nptl/Implies: File removed.
268 * sysdeps/i386/nptl/Implies: File removed.
269
270 2014-06-24 Joseph Myers <joseph@codesourcery.com>
271
272 [BZ #16539]
273 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
274 return the argument for normal arguments with exponent below -64.
275 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
276 Likewise.
277 * math/auto-libm-test-in: Add another test of expm1.
278 * math/auto-libm-test-out: Regenerated.
279
280 [BZ #16287]
281 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
282 calling __erfcl for arguments at least 16.
283 * math/auto-libm-test-in: Add more tests of erf.
284 * math/auto-libm-test-out: Regenerated.
285
286 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
287 individual architectures.
288 * sysdeps/unix/sysv/linux/configure: Regenerated.
289 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
290 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
291 * sysdeps/unix/sysv/linux/powerpc/configure.ac
292 (ldd_rewrite_script): Define variable.
293 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
295 file.
296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
297 generated file.
298 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
299 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
300 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
301 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
302 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
303 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
304 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
305 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
306
307 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
308
309 [BZ #17084]
310 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
311 Rename member __data.d to __data.__elision_data.
312
313 2014-06-24 Wilco <wdijkstr@arm.com>
314
315 * NEWS: Add 16918 to fixed bug list.
316
317 2014-06-24 Wilco <wdijkstr@arm.com>
318
319 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
320
321 2014-06-24 Wilco <wdijkstr@arm.com>
322
323 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
324 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
325 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
326 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
327 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
328 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
329 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
330 Use _FPU_MASK_RM.
331
332 2014-06-24 Wilco <wdijkstr@arm.com>
333
334 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
335
336 2014-06-24 Wilco <wdijkstr@arm.com>
337
338 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
339 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
340 * sysdeps/arm/fesetround.c (fesetround): Remove space.
341 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
342
343 2014-06-24 Wilco <wdijkstr@arm.com>
344
345 [BZ #16918]
346 * sysdeps/arm/feupdateenv.c (feupdateenv):
347 Rewrite to reduce FPSCR accesses and fix return value.
348
349 2014-06-24 Wilco <wdijkstr@arm.com>
350
351 * sysdeps/arm/fclrexcpt.c (feclearexcept):
352 Optimize to avoid unnecessary FPSCR writes.
353 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
354 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
355 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
356 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
357
358 2014-06-24 Wilco <wdijkstr@arm.com>
359
360 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
361 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
362 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
363 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
364 Call libc_fetestexcept_vfp.
365 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
366 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
367 __SOFTFP__ ifdef so that they can be built for softfp.
368
369 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
370
371 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
372 argument type signed char.
373
374 * Makerules (check-abi): Dump diff of symlist if the test
375 fails.
376
377 2014-06-23 Roland McGrath <roland@hack.frob.com>
378
379 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
380 using abort.
381
382 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
383 Remove unused variable ST.
384
385 2014-06-23 Joseph Myers <joseph@codesourcery.com>
386
387 [BZ #16354]
388 [BZ #17061]
389 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
390 small arguments before calling __expm1.
391 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
392 small arguments before calling __expm1f.
393 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
394 small arguments before calling __expm1l.
395 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
396 Likewise.
397 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
398 * math/auto-libm-test-in: Add more cosh tests. Do not allow
399 spurious underflow for some cosh tests.
400 * math/auto-libm-test-out: Regenerated.
401 * sysdeps/i386/fpu/libm-test-ulps: Update.
402
403 [BZ #17050]
404 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
405 (__ieee754_y1): Set errno if return value overflows.
406 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
407 (__ieee754_y1f): Set errno if return value overflows.
408 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
409 (__ieee754_y1l): Set errno if return value overflows.
410 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
411 (__ieee754_y1l): Set errno if return value overflows.
412 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
413 * math/auto-libm-test-out: Regenerated.
414
415 * math/gen-auto-libm-tests.c: Document use of
416 ignore-zero-inf-sign.
417 (input_flag_type): Add value flag_ignore_zero_inf_sign.
418 (input_flags): Add ignore-zero-inf-sign.
419 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
420 * math/gen-libm-test.pl (generate_testfile): Handle
421 ignore-zero-inf-sign.
422 * math/auto-libm-test-in: Mark some cpow tests with
423 ignore-zero-inf-sign and some with xfail-rounding.
424 * math/auto-libm-test-out: Regenerated.
425 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
426 * sysdeps/i386/fpu/libm-test-ulps: Update.
427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
428
429 [BZ #16315]
430 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
431 overflowing or underflowing operations take place with sign of
432 result.
433 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
434 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
435 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
436 (__ieee754_pow): Recompute overflowing and underflowing results in
437 original rounding mode.
438 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
439 (__powl_helper): Allow negative argument X and scale negated value
440 as needed. Avoid passing value outside [-1, 1] to f2xm1.
441 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
442 overflowing or underflowing operations take place with sign of
443 result.
444 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
445 Include <math.h>.
446 * math/auto-libm-test-in: Add more tests of pow.
447 * math/auto-libm-test-out: Regenerated.
448 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
449 (pow_tonearest_test_data): Remove.
450 (pow_test_tonearest): Likewise.
451 (pow_towardzero_test_data): Likewise.
452 (pow_test_towardzero): Likewise.
453 (pow_downward_test_data): Likewise.
454 (pow_test_downward): Likewise.
455 (pow_upward_test_data): Likewise.
456 (pow_test_upward): Likewise.
457 (main): Don't call removed functions.
458 * sysdeps/i386/fpu/libm-test-ulps: Update.
459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
460
461 2014-06-23 Roland McGrath <roland@hack.frob.com>
462
463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
464 Moved ...
465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
467 Moved ...
468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
470 Moved ...
471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
473 Moved ...
474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
476 File removed.
477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
478 File removed.
479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
480 File removed.
481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
482 File removed.
483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
484 File removed.
485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
486 File removed.
487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
488 File removed.
489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
490 File removed.
491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
492 File removed.
493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
494 File removed.
495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
496 File removed.
497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
498 File removed.
499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
500 Moved ...
501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
503 Moved ...
504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
505 ... here.
506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
507 Moved ...
508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
510 Moved ...
511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
513 Moved ...
514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
516 Moved ...
517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
519 Moved ...
520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
522 Moved ...
523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
525 Moved ...
526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
529 ... here.
530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
531 Moved ...
532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
534 Moved ...
535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
536 ... here.
537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
538 Moved ...
539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
540 ... here.
541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
542 Moved ...
543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
544 ... here.
545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
546 Moved ...
547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
549 Moved ...
550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
554 Moved ...
555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
556 ... here.
557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
558 Moved ...
559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
560 ... here.
561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
562 Moved ...
563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
565 Moved ...
566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
568 Moved ...
569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
571 Moved ...
572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
574 Moved ...
575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
576 ... here.
577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
578 Moved ...
579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
581 Moved ...
582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
584 Moved ...
585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
587 Moved ...
588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
592 Moved ...
593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
595 Moved ...
596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
598 Moved ...
599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
600 ... here.
601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
602 Moved ...
603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
604 ... here.
605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
606 Moved ...
607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
608 ... here.
609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
610 Moved ...
611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
613 Moved ...
614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
616 Moved ...
617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
619 Moved ...
620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
621 ... here.
622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
623 Moved ...
624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
625 ... here.
626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
627 Moved ...
628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
629 ... here.
630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
631 Moved ...
632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
634 Moved ...
635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
636
637 2014-06-23 Will Newton <will.newton@linaro.org>
638 Wilco <wdijkstr@arm.com>
639
640 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
641 implementation. Include get-rounding-mode.h.
642 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
643 [!libc_feholdsetround_noex_ctx]: Define
644 libc_feholdsetround_noex_ctx.
645 [!libc_feholdsetround_noexf_ctx]: Define
646 libc_feholdsetround_noexf_ctx.
647 [!libc_feholdsetround_noexl_ctx]: Define
648 libc_feholdsetround_noexl_ctx.
649 (libc_feholdsetround_ctx): New function.
650 (libc_feresetround_ctx): New function.
651 (libc_feholdsetround_noex_ctx): New function.
652 (libc_feresetround_noex_ctx): New function.
653
654 2014-06-23 Roland McGrath <roland@hack.frob.com>
655
656 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
657 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
658 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
659 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
660 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
661 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
662
663 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
664 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
665 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
666 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
667 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
668 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
669 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
670 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
671 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
672 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
673 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
674 Moved ...
675 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
676 ... here.
677 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
678 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
679 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
680 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
681 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
682 Moved ...
683 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
684 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
685 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
686 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
687 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
688 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
689 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
690 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
691 Moved ...
692 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
693 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
694 Moved ...
695 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
696 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
697 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
698 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
699 Moved ...
700 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
701 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
702 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
703 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
704 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
705 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
706 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
707 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
708 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
709 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
710 Moved ...
711 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
712 ... here.
713 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
714 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
715 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
716 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
717 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
718 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
719 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
720 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
721 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
722 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
723 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
724 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
725 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
726 Moved ...
727 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
728 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
729 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
730 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
731 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
732 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
733 Moved ...
734 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
735 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
736 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
737 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
738 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
739
740 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
741 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
742 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
743 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
744 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
745 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
746 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
747 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
748 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
749 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
750 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
751 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
752 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
753 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
754 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
755 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
756 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
757 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
758 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
759 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
760 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
761 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
762 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
763 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
764 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
765 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
766 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
767 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
768
769 2014-06-23 Joseph Myers <joseph@codesourcery.com>
770
771 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
772 (FALLOC_FL_COLLAPSE_RANGE): New macro.
773 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
774 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
775 (IPV6_PMTUDISC_INTERFACE): Likewise.
776 (IPV6_PMTUDISC_OMIT): Likewise.
777
778 2014-06-23 Andreas Schwab <schwab@suse.de>
779
780 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
781 Remove unused errout label.
782
783 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
784
785 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
786 macro: hardware supports Vector Crypto instructions.
787
788 2014-06-23 Will Newton <will.newton@linaro.org>
789
790 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
791 rather than __builtin_expect.
792
793 * elf/dl-lookup.c (undefined_msg): Remove variable.
794 (_dl_lookup_symbol_x): Replace undefined_msg with string
795 literal.
796
797 * elf/dl-lookup.c (do_lookup_unique): New function.
798 (do_lookup_x): Move STB_GNU_UNIQUE handling code
799 to a separate function.
800
801 2014-06-23 Andreas Schwab <schwab@suse.de>
802
803 [BZ #17079]
804 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
805 before reading the next line.
806
807 2014-06-23 Will Newton <will.newton@linaro.org>
808
809 * test-skeleton.c (signal_handler): Use printf and %m
810 rather than perror. Use printf rather than fprintf to
811 stderr. Use puts rather than fputs to stderr.
812 (main): Likewise.
813
814 2014-06-22 Ludovic Courtès <ludo@gnu.org>
815
816 * nscd/nscd.c (thread_info_t): Remove typedef.
817 (thread_info): Remove variable.
818
819 2014-06-21 Allan McRae <allan@archlinux.org>
820
821 * NEWS: Mention CVE-2014-4043.
822
823 2014-06-20 Roland McGrath <roland@hack.frob.com>
824
825 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
826 * nptl/smp.h: ... here.
827
828 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
829
830 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
831 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
832 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
833 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
834
835 * nptl/allocatestack.c: Include <stack-aliasing.h>.
836 * nptl/stack-aliasing.h: New file.
837 * sysdeps/i386/i686/stack-aliasing.h: New file.
838 * sysdeps/i386/i686/nptl/Makefile: File removed.
839 * sysdeps/x86_64/stack-aliasing.h: New file.
840 * sysdeps/x86_64/nptl/Makefile
841 (CFLAGS-pthread_create.c): Variable removed.
842
843 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
844 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
845 old file.
846 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
847 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
848 old file.
849
850 2014-06-21 Joseph Myers <joseph@codesourcery.com>
851
852 * sysdeps/unix/sysv/linux/arm/kernel-features.h
853 (__ASSUME_SIGFRAME_V2): Remove macro.
854 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
855 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
856 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
857 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
858 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
859 Declare as function. Remove conditional macro definitions.
860 (__default_rt_sa_restorer): Likewise.
861 (__default_sa_restorer_v1): Remove declaration.
862 (__default_sa_restorer_v2): Likewise.
863 (__default_rt_sa_restorer_v1): Likewise.
864 (__default_rt_sa_restorer_v2): Likewise.
865 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
866 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
867 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
868
869 2014-06-20 Roland McGrath <roland@hack.frob.com>
870
871 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
872 (libpthread-routines): Add sysdep.
873 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
874 * sysdeps/unix/sysv/linux/sparc/Versions
875 (libpthread: GLIBC_2.3.3): New version set.
876 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
877 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
878 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
879 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
880 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
881 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
882 Moved ...
883 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
884 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
885 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
886 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
887 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
888 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
889 * sysdeps/sparc/nptl/sem_init.c: ... here.
890 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
891 * sysdeps/sparc/nptl/sem_post.c: ... here.
892 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
893 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
894 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
895 * sysdeps/sparc/nptl/sem_wait.c: ... here.
896 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
897 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
898 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
899 (libpthread-routines): Add cpu_relax.
900 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
901 File removed.
902 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
903 (librt: GLIBC_2.3.3): New version set.
904 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
905 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
906 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
907 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
908 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
909 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
910 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
911 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
912 Moved ...
913 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
914 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
915 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
916 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
917 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
918 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
919 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
920 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
921 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
922 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
923 Moved ...
924 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
925 Update #include.
926 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
927 Moved ...
928 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
929 Update #include.
930 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
931 Moved ...
932 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
933 Update #include.
934 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
935 Moved ...
936 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
937 Update #include.
938 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
939 Moved ...
940 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
941 Update #include.
942 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
943 Moved ...
944 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
945 Update #include.
946 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
947 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
948 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
949 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
950 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
951 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
952 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
953 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
954 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
955 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
956 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
957 Moved ...
958 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
959 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
960 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
961 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
962 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
963
964 2014-06-20 Joseph Myers <joseph@codesourcery.com>
965
966 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
967 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
968 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
969 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
970 * nscd/nscd.c: Likewise.
971 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
972 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
973 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
974 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
975
976 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
977 <kernel-features.h>.
978 (init_mq_netlink): Remove conditional have_sock_cloexec
979 definitions. Remove code conditional on have_sock_cloexec < 0.
980 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
981 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
982 * sysdeps/unix/sysv/linux/opensock.c: Do not include
983 <kernel-features.h>.
984 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
985 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
986
987 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
988
989 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
990 Add tests for memset_chk and memset.
991
992 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
993 with AVX2_Usable.
994
995 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
996
997 [BZ #16046]
998 * elf/tst-dl-iter-static.c: New file.
999 * elf/Makefile (tests-static): Add tst-dl-iter-static.
1000
1001 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
1002 error.
1003
1004 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1005
1006 * sysdeps/unix/sysv/linux/kernel-features.h
1007 (__ASSUME_F_GETOWN_EX): Remove macro.
1008 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
1009 <kernel-features.h>.
1010 (miss_F_GETOWN_EX): Remove variable or macro.
1011 (do_fcntl): Do not check miss_F_GETOWN_EX.
1012 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
1013
1014 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
1015 Remove macro.
1016 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
1017 [!__ASSUME_AT_RANDOM]: Remove conditional code.
1018 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
1019
1020 * sysdeps/unix/sysv/linux/kernel-features.h
1021 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
1022 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
1023 [ADJ_OFFSET_SS_READ]: Make code unconditional.
1024 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
1025
1026 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1027
1028 [BZ #17075]
1029 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
1030 Fix calculation of the symbol's value.
1031 * sysdeps/arm/tst-armtlsdescloc.c: New file.
1032 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
1033 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
1034 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
1035 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
1036 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
1037 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
1038 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
1039 (modules-names): Add `tst-armtlsdescmod',
1040 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
1041 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
1042 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1043 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
1044 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
1045 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1046 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
1047 ($(objpfx)tst-armtlsdescloc): New dependency.
1048 ($(objpfx)tst-armtlsdescextnow): Likewise.
1049 ($(objpfx)tst-armtlsdescextlazy): Likewise.
1050 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
1051 TLS scheme support.
1052 * sysdeps/arm/configure: Regenerate.
1053
1054 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1055
1056 * include/fcntl.h (__atfct_seterrno): Remove prototype.
1057 (__atfct_seterrno_2): Likewise.
1058 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
1059 <kernel-features.h>.
1060 (__ASSUME_ATFCTS): Do not undefine and redefine.
1061 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
1062 (__have_atfcts): Remove conditional definition.
1063 (__fxstatat([__NR_fstatat64]: Make code unconditional.
1064 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
1065 unreachable if [__ASSUME_ATFCTS].
1066 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
1067 not undefine and redefine.
1068 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
1069 <kernel-features.h>.
1070 (faccessat) [__NR_faccessat]: Make code unconditional.
1071 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
1072 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
1073 <kernel-features.h>.
1074 (fchmodat) [__NR_fchmodat]: Make code unconditional.
1075 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1076 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
1077 <kernel-features.h>.
1078 (fchownat) [__NR_fchownat]: Make code unconditional.
1079 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
1080 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
1081 <kernel-features.h>.
1082 (futimesat) [__NR_futimesat]: Make code unconditional.
1083 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
1084 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1085 <kernel-features.h>.
1086 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1087 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1088 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1089 <kernel-features.h>.
1090 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
1091 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1092 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
1093 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1094 <kernel-features.h>.
1095 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
1096 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1097 * sysdeps/unix/sysv/linux/linkat.c: Do not include
1098 <kernel-features.h>.
1099 (linkat) [__NR_linkat]: Make code unconditional.
1100 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1101 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
1102 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
1103 <kernel-features.h>.
1104 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
1105 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1106 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
1107 <kernel-features.h>.
1108 (mkdirat) [__NR_mkdirat]: Make code unconditional.
1109 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
1110 * sysdeps/unix/sysv/linux/openat.c: Do not include
1111 <kernel-features.h>.
1112 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
1113 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
1114 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
1115 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
1116 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
1117 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
1118 <kernel-features.h>.
1119 (readlinkat) [__NR_readlinkat]: Make code unconditional.
1120 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
1121 result of INLINE_SYSCALL directly, not via int variable.
1122 * sysdeps/unix/sysv/linux/renameat.c: Do not include
1123 <kernel-features.h>.
1124 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
1125 (renameat) [__NR_renameat]: Make code unconditional.
1126 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
1127 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
1128 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
1129 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
1130 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
1131 (__ASSUME_ATFCTS): Do not undefine and redefine.
1132 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
1133 <kernel-features.h>.
1134 (symlinkat) [__NR_symlinkat]: Make code unconditional.
1135 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1136 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
1137 <kernel-features.h>.
1138 (unlinkat) [__NR_unlinkat]: Make code unconditional.
1139 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1140 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
1141 (__ASSUME_ATFCTS): Do not undefine and redefine.
1142 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1143 <kernel-features.h>.
1144 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1145 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1146 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1147 <kernel-features.h>.
1148 (__xmknodat) [__NR_mknodat]: Make code unconditional.
1149 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1150
1151 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
1152
1153 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
1154
1155 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
1156
1157 [BZ #17069]
1158 * posix/regcomp.c (parse_reg_exp): Deallocate partially
1159 constructed tree before returning error.
1160 * posix/bug-regexp36.c: Expand test case.
1161
1162 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1163
1164 [BZ #6803]
1165 * math/libm-test.inc (scalbln_test_date):
1166 Add errno expectations.
1167 * math/w_scalblnf.c: New File.
1168 Add wrapper which checks for setting errno to ERANGE.
1169 Add weak_alias for corresponding scalbln function.
1170 * math/w_scalbln.c: Likewise.
1171 * math/w_scalblnl.c: Likewise.
1172 * math/Makefile (libm-calls): Add w_scalbln.
1173 * sysdeps/ieee754/flt-32/s_scalblnf.c:
1174 Remove weak_alias for corresponding scalbln function.
1175 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1176 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1177 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1178 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1179 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
1180 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1181 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
1182 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1183 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
1184 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
1185 Remove long_double_symbol for scalblnl function in libm, libc.
1186 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
1187 Add wrapper which checks for setting errno to ERANGE.
1188 Add long_double_symbol for scalblnl function in libm, libc.
1189 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
1190 Remove long_double_symbol for scalblnl in libm.
1191 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
1192 Add wrapper which checks for setting errno to ERANGE.
1193 Add long_double_symbol for scalblnl function in libm.
1194 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
1195 Do not use wrapper because of own implementation.
1196
1197 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
1198
1199 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
1200 3 bytes for __pad1 for x32.
1201 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
1202
1203 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
1204 H.J. Lu <hongjiu.lu@intel.com>
1205
1206 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
1207 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
1208 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1209 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1210 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1211
1212 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
1213
1214 [BZ #17069]
1215 * posix/regcomp.c (parse_expression): Deallocate partially
1216 constructed tree before returning error.
1217 * posix/Makefile.c (tests): Add bug-regex36.
1218 (generated): Add bug-regex36.mtrace.
1219 (tests-special): Add $(objpfx)bug-regex36-mem.out
1220 (bug-regex36-ENV): New variable.
1221 ($(objpfx)bug-regex36-mem.out): New rule.
1222 * posix/bug-regex36.c: New file.
1223
1224 2014-06-19 Will Newton <will.newton@linaro.org>
1225
1226 * malloc/malloc.c (systrim): If extra is zero then return
1227 early.
1228
1229 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1230
1231 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
1232
1233 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
1234
1235 * sysdeps/aarch64/strchr.S: New file.
1236
1237 2014-06-18 Joseph Myers <joseph@codesourcery.com>
1238
1239 [BZ #17022]
1240 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
1241 from arguments -2 or below.
1242 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1243 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1244
1245 2014-06-18 Andreas Schwab <schwab@suse.de>
1246
1247 [BZ #17062]
1248 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
1249 of a bracket expr not to run off the end of the string.
1250 * posix/Makefile (tests): Add tst-fnmatch3.
1251 * posix/tst-fnmatch3.c: New file.
1252
1253 2014-06-18 Joseph Myers <joseph@codesourcery.com>
1254
1255 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
1256 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1257 [$(cross-compiling) = no]: Likewise.
1258 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1259 [$(cross-compiling) = no]: Likewise.
1260
1261 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1262
1263 [BZ #17031]
1264 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
1265 double, adjusted for any remainder from the high double.
1266 * math/libm-test.inc (nearbyint): Add tests.
1267 (rint): Likewise.
1268
1269 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1270
1271 * nptl/sysdeps/powerpc/Makefile: Moved ...
1272 * sysdeps/powerpc/nptl/Makefile: ... here.
1273 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
1274 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
1275 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
1276 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
1277 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
1278 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
1279 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
1280 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
1281 * nptl/sysdeps/powerpc/tls.h: Moved ...
1282 * sysdeps/powerpc/nptl/tls.h: ... here.
1283
1284 2014-06-16 Joseph Myers <joseph@codesourcery.com>
1285
1286 [BZ #16681]
1287 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
1288 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
1289 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
1290 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
1291 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
1292 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
1293 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
1294 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
1295 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
1296
1297 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
1298
1299 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1300
1301 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
1302
1303 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
1304 defined operator.
1305
1306 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
1307 $TIMEOUTFACTOR.
1308
1309 2014-06-16 Florian Weimer <fweimer@redhat.com>
1310
1311 [BZ #17058]
1312 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
1313 non-executed part of the test.
1314
1315 2014-06-16 Andreas Schwab <schwab@suse.de>
1316
1317 * string/bits/string2.h (strdup, strndup): Update feature guard.
1318
1319 2014-06-14 David S. Miller <davem@davemloft.net>
1320
1321 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1322
1323 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
1324
1325 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
1326 that was previously under [RESET_PID].
1327 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
1328
1329 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
1330 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
1331 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
1332 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1333 (__libc_vfork): New strong alias.
1334 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
1335
1336 2014-06-14 Andi Kleen <ak@linux.intel.com>
1337
1338 * sysdeps/generic/elide.h: New file.
1339
1340 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1341
1342 * Makefile (installed-headers): Adjust path of pthread.h header.
1343
1344 2014-06-13 Roland McGrath <roland@hack.frob.com>
1345
1346 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
1347 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
1348 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
1349 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
1350
1351 * nptl/sysdeps/s390/Makefile: Moved ...
1352 * sysdeps/s390/nptl/Makefile: ... here.
1353 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
1354 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
1355 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
1356 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
1357 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
1358 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
1359 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
1360 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
1361 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
1362 * sysdeps/s390/nptl/pthreaddef.h: ... here.
1363 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
1364 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
1365 * nptl/sysdeps/s390/tls.h: Moved ...
1366 * sysdeps/s390/nptl/tls.h: ... here.
1367
1368 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
1369 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
1370
1371 2014-06-13 David S. Miller <davem@davemloft.net>
1372
1373 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
1374 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
1375 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
1376 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
1377 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
1378 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
1379 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
1380 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
1381 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
1382 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
1383 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
1384 Remove RESET_PID cpp guards.
1385 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
1386 Remove RESET_PID cpp guards.
1387 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
1388
1389 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
1390
1391 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
1392 __sp to uintptr_t.
1393
1394 2014-06-13 Andi Kleen <ak@linux.intel.com>
1395
1396 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
1397 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
1398 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
1399 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
1400 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
1401 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
1402 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
1403 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
1404 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
1405 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
1406 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
1407 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
1408 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
1409 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
1410 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
1411 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
1412 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
1413 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
1414 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
1415 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
1416
1417 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
1418 (pthread_rwlock_rdlock): Add elision.
1419 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
1420 (pthread_rwlock_wrlock): Add elision.
1421 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
1422 (pthread_rwlock_trywrlock): Add elision.
1423 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
1424 (pthread_rwlock_tryrdlock): Add elision.
1425 * nptl/pthread_rwlock_unlock.c: Include elide.h.
1426 (pthread_rwlock_tryrdlock): Add elision unlock.
1427 * nptl/sysdeps/pthread/pthread.h:
1428 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
1429 (PTHREAD_RWLOCK_INITIALIZER,
1430 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
1431 Handle new elision field.
1432 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
1433 * sysdeps/arm/nptl/bits/pthreadtypes.h
1434 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1435 * sysdeps/sh/nptl/bits/pthreadtypes.h
1436 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1437 * sysdeps/tile/nptl/bits/pthreadtypes.h
1438 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1439 * sysdeps/a/nptl/bits/pthreadtypes.h
1440 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1441 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1442 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1443 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1444 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1445 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
1446 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1447 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1448 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1449 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1450 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1451 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1452 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1453 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1454 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1455 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
1456 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1457 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
1458 (elision_init): Set try_xbegin to zero when no RTM.
1459 * sysdeps/x86/nptl/bits/pthreadtypes.h
1460 (pthread_rwlock_t): Change __pad1 to __rwelision.
1461 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1462
1463 2014-06-13 Andi Kleen <ak@linux.intel.com>
1464
1465 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
1466 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
1467 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
1468 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
1469
1470 2014-06-13 Meador Inge <meadori@codesourcery.com>
1471
1472 [BZ #16996]
1473 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
1474 that the cached result has been set before returning it.
1475
1476 2014-06-12 Roland McGrath <roland@hack.frob.com>
1477
1478 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
1479 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
1480 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
1481 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
1482 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
1483 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
1484
1485 * nptl/sysdeps/sparc/Makefile: Moved ...
1486 * sysdeps/sparc/nptl/Makefile: ... here.
1487 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
1488 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
1489 * nptl/sysdeps/sparc/tls.h: Moved ...
1490 * sysdeps/sparc/nptl/tls.h: ... here.
1491 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
1492 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
1493 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
1494 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
1495 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
1496 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
1497 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
1498 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
1499 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
1500 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
1501 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
1502 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
1503 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
1504 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
1505 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
1506 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
1507 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
1508 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
1509 Update #include.
1510 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
1511 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
1512 Update #include.
1513 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
1514 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
1515 Update #include.
1516 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
1517 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
1518 Update #include.
1519
1520 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1521
1522 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
1523 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
1524
1525 * sysdeps/pthread/posix-timer.h: Include <list.h>.
1526 (struct list_links): Type removed.
1527 (struct thread_node, struct timer_node): Replace struct list_links
1528 with struct list_head.
1529 (list_unlink_ip): Likewise.
1530 * sysdeps/pthread/timer_routines.c
1531 (timer_free_list, thread_free_list, thread_active_list): Likewise.
1532 (list_append, list_insbefore): Likewise.
1533 (list_init): Function removed.
1534 (thread_init, init_module): Use INIT_LIST_HEAD instead.
1535 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
1536 * sysdeps/pthread/Makefile: ... here, new file.
1537
1538 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
1539 * sysdeps/nptl/Implies: ... here.
1540 * sysdeps/unix/sysv/linux/Implies: Add nptl.
1541 * nptl/sysdeps/pthread/list.h: Moved ...
1542 * include/list.h: ... here.
1543 * nptl/sysdeps/pthread/createthread.c: Moved ...
1544 * nptl/createthread.c: ... here.
1545 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
1546 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
1547 * nptl/pt-longjmp.c: ... here.
1548 * nptl/sysdeps/pthread/Makefile: Moved ...
1549 * sysdeps/nptl/Makefile: ... here.
1550 * nptl/sysdeps/pthread/Subdirs: Moved ...
1551 * sysdeps/nptl/Subdirs: ... here.
1552 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
1553 * sysdeps/nptl/aio_misc.h: ... here.
1554 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
1555 * sysdeps/nptl/bits/libc-lock.h: ... here.
1556 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
1557 * sysdeps/nptl/bits/libc-lockP.h: ... here.
1558 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
1559 * sysdeps/nptl/bits/stdio-lock.h: ... here.
1560 * nptl/sysdeps/pthread/configure: Moved ...
1561 * sysdeps/nptl/configure: ... here.
1562 * nptl/sysdeps/pthread/configure.ac: Moved ...
1563 * sysdeps/nptl/configure.ac: ... here.
1564 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
1565 * sysdeps/nptl/gai_misc.h: ... here.
1566 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
1567 * sysdeps/nptl/librt-cancellation.c: ... here.
1568 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
1569 * sysdeps/nptl/malloc-machine.h: ... here.
1570 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
1571 * sysdeps/nptl/pthread-functions.h: ... here.
1572 * nptl/sysdeps/pthread/pthread.h: Moved ...
1573 * sysdeps/nptl/pthread.h: ... here.
1574 * nptl/sysdeps/pthread/setxid.h: Moved ...
1575 * sysdeps/nptl/setxid.h: ... here.
1576 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
1577 * sysdeps/nptl/sigfillset.c: ... here.
1578 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
1579 * sysdeps/nptl/tcb-offsets.h: ... here.
1580 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
1581 * sysdeps/nptl/tst-mqueue8x.c: ... here.
1582 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
1583 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
1584 * nptl/sysdeps/pthread/allocalim.h: Moved ...
1585 * sysdeps/pthread/allocalim.h: ... here.
1586 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
1587 * sysdeps/pthread/bits/sigthread.h: ... here.
1588 * nptl/sysdeps/pthread/flockfile.c: Moved ...
1589 * sysdeps/pthread/flockfile.c: ... here.
1590 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
1591 * sysdeps/pthread/ftrylockfile.c: ... here.
1592 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
1593 * sysdeps/pthread/funlockfile.c: ... here.
1594 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
1595 * sysdeps/pthread/posix-timer.h: ... here.
1596 * nptl/sysdeps/pthread/timer_create.c: Moved ...
1597 * sysdeps/pthread/timer_create.c: ... here.
1598 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
1599 * sysdeps/pthread/timer_delete.c: ... here.
1600 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
1601 * sysdeps/pthread/timer_getoverr.c: ... here.
1602 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
1603 * sysdeps/pthread/timer_gettime.c: ... here.
1604 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
1605 * sysdeps/pthread/timer_routines.c: ... here.
1606 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
1607 * sysdeps/pthread/timer_settime.c: ... here.
1608 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
1609 * sysdeps/pthread/tst-timer.c: ... here.
1610 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
1611 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
1612
1613 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
1614 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
1615
1616 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
1617 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
1618 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
1619 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
1620 Update #include target.
1621 * nptl/sysdeps/i386/i686/Makefile: Moved ...
1622 * sysdeps/i386/i686/nptl/Makefile: ... here.
1623 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
1624 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
1625 Update #include target.
1626 * nptl/sysdeps/i386/i686/tls.h: Moved ...
1627 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
1628 * nptl/sysdeps/i386/Makefile: Moved ...
1629 * sysdeps/i386/nptl/Makefile: ... here.
1630 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
1631 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
1632 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
1633 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
1634 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
1635 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
1636 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
1637 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
1638 * sysdeps/i386/nptl/pthreaddef.h: ... here.
1639 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
1640 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
1641 * nptl/sysdeps/i386/tls.h: Moved ...
1642 * sysdeps/i386/nptl/tls.h: ... here.
1643
1644 * sysdeps/sh/Makefile [$(subdir) = csu]
1645 (gen-as-const-headers): Add tcb-offsets.sym.
1646 * nptl/sysdeps/sh/Makefile: File removed.
1647 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
1648 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
1649 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
1650 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
1651 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
1652 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
1653 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
1654 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
1655 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
1656 * sysdeps/sh/nptl/pthreaddef.h: ... here.
1657 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
1658 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
1659 * nptl/sysdeps/sh/tls.h: Moved ...
1660 * sysdeps/sh/nptl/tls.h: ... here.
1661 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
1662 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
1663 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
1664 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
1665 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
1666 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
1667 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
1668 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
1669 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
1670 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
1671 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
1672 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
1673 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
1674 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
1675 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
1676 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
1677 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
1678 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
1679 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
1680 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
1681 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
1682 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
1683 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
1684 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
1685 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
1686 Moved ...
1687 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
1688 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
1689 Moved ...
1690 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
1691 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
1692 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
1693 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
1694 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
1695 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
1696 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
1697 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
1698 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
1699 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
1700 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
1701 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
1702 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
1703 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
1704 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
1705 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
1706 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
1707 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
1708 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
1709
1710 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1711
1712 * posix/spawn_faction_addopen.c: Include string.h.
1713
1714 2014-06-11 Roland McGrath <roland@hack.frob.com>
1715
1716 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
1717 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
1718 * nptl/sysdeps/x86_64/Makefile: Moved ...
1719 * sysdeps/x86_64/nptl/Makefile: ... here.
1720 * nptl/sysdeps/x86_64/configure: Moved ...
1721 * sysdeps/x86_64/nptl/configure: ... here.
1722 * nptl/sysdeps/x86_64/configure.ac: Moved ...
1723 * sysdeps/x86_64/nptl/configure.ac: ... here.
1724 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
1725 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
1726 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
1727 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
1728 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
1729 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
1730 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
1731 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
1732 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
1733 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
1734 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
1735 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
1736 * nptl/sysdeps/x86_64/tls.h: Moved ...
1737 * sysdeps/x86_64/nptl/tls.h: ... here.
1738 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
1739 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
1740 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
1741 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
1742
1743 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
1744
1745 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1746
1747 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1748
1749 2014-06-11 Joseph Myers <joseph@codesourcery.com>
1750
1751 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
1752 type.
1753 [POSIX] (off_t): Likewise.
1754 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
1755 [POSIX] (S_ISBLK): Require macro.
1756 [POSIX] (S_ISCHR): Likewise.
1757 [POSIX] (S_ISDIR): Likewise.
1758 [POSIX] (S_ISFIFO): Likewise.
1759 [POSIX] (S_ISREG): Likewise.
1760 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
1761 optional-macro.
1762 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
1763 type.
1764 [POSIX] (time_t): Likewise.
1765 [POSIX] (timer_t): Likewise.
1766
1767 2014-06-11 Florian Weimer <fweimer@redhat.com>
1768
1769 [BZ #17048]
1770 * posix/spawn_int.h (struct __spawn_action): Make the path string
1771 non-const to support deallocation.
1772 * posix/spawn_faction_addopen.c
1773 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
1774 * posix/spawn_faction_destroy.c
1775 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
1776 path in all spawn_do_open actions.
1777 * posix/tst-spawn.c (do_test): Exercise the copy operation in
1778 posix_spawn_file_actions_addopen.
1779
1780 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
1781
1782 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
1783 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
1784 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
1785 conditional code always true.
1786 (__libc_vfork): New alias.
1787
1788 2014-06-11 Roland McGrath <roland@hack.frob.com>
1789
1790 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1791 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
1792
1793 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
1794
1795 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1796 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
1797
1798 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1799 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
1800
1801 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1802 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
1803
1804 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1805
1806 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
1807 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
1808 multiarch strcmp for PPC64.
1809 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
1810 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
1811 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
1812 multiarch optimizations.
1813 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1814 (__libc_ifunc_impl_list): Likewise.
1815
1816 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1817
1818 * benchtests/scripts/validate_benchout.py: New script.
1819 * benchtests/Makefile (bench-func): Call it.
1820 * benchtests/scripts/benchout.schema.json: New file.
1821
1822 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
1823
1824 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
1825 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
1826 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
1827 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
1828 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
1829 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
1830 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
1831 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
1832 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
1833 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
1834 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
1835 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
1836 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
1837 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
1838 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
1839 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
1840 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
1841 Moved ...
1842 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
1843 ... here.
1844 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
1845 Moved ...
1846 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
1847 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
1848 Moved ...
1849 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
1850 ... here.
1851 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
1852 Moved ...
1853 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
1854 ... here.
1855 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
1856 Moved ...
1857 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
1858 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
1859 Moved ...
1860 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
1861 ... here.
1862 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
1863 Moved ...
1864 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
1865 ... here.
1866 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
1867 Moved ...
1868 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
1869 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
1870 Moved ...
1871 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
1872 ... here.
1873 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
1874 Moved ...
1875 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
1876 ... here.
1877 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
1878 Moved ...
1879 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
1880 ... here.
1881 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
1882 Moved ...
1883 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
1884 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
1885 Moved ...
1886 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
1887 ... here.
1888 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
1889 Moved ...
1890 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
1891 ... here.
1892 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
1893 Moved ...
1894 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
1895 ... here.
1896 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
1897 Moved ...
1898 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
1899 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
1900 Moved ...
1901 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
1902 ... here.
1903 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
1904 Moved ...
1905 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
1906 ... here.
1907 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
1908 Moved ...
1909 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
1910 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
1911 Moved ...
1912 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
1913 ... here.
1914 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
1915 Moved ...
1916 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
1917 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
1918 Moved ...
1919 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
1920 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
1921 Moved ...
1922 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
1923 ... here.
1924 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
1925 Moved ...
1926 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
1927 ... here.
1928 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
1929 Moved ...
1930 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
1931 ... here.
1932 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
1933 Moved ...
1934 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
1935 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
1936 Moved ...
1937 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
1938 ... here.
1939 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
1940 Moved ...
1941 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
1942 ... here.
1943 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
1944 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
1945 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
1946 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
1947 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
1948 Moved ...
1949 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
1950 ... here.
1951 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
1952 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
1953 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
1954 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
1955 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
1956 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
1957 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
1958 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
1959 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
1960 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
1961 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
1962 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
1963 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
1964 Moved ...
1965 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
1966 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
1967 Moved ...
1968 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
1969 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
1970 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
1971 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
1972 Moved ...
1973 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
1974 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
1975 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
1976 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
1977 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
1978 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
1979 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
1980
1981 2014-06-10 Wilco <wdijkstr@arm.com>
1982
1983 * math/test-fenv-return.c: New file.
1984 * math/Makefile: Add new test test-fenv-return.
1985
1986 2014-06-10 Joseph Myers <joseph@codesourcery.com>
1987
1988 [BZ #17042]
1989 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
1990 when x - 1 is zero.
1991 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
1992 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1993 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
1994 0.0L for an argument of 1.0L.
1995 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
1996 Likewise.
1997 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
1998 value when x - 1 is zero.
1999 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
2000 * sysdeps/i386/fpu/libm-test-ulps: Update.
2001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2002
2003 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
2004
2005 [BZ #15119]
2006 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
2007
2008 2014-06-09 Roland McGrath <roland@hack.frob.com>
2009
2010 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
2011 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
2012
2013 2014-06-09 Roland McGrath <roland@hack.frob.com>
2014
2015 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2016 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
2017
2018 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2019 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
2020
2021 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2022 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
2023
2024 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2025 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
2026
2027 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
2028 if not already defined.
2029 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
2030 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
2031 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
2032 (TLS_INIT_TP): Use it.
2033 (TLS_DEFINE_INIT_TP): New macro.
2034 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
2035
2036 2014-06-09 Joseph Myers <joseph@codesourcery.com>
2037
2038 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
2039 constant.
2040 [POSIX] (IXANY): Likewise.
2041 [POSIX] (OLCUC): Likewise.
2042 [POSIX || POSIX2008] (CBAUD): Do not allow.
2043 [POSIX || POSIX2008] (DEFECHO): Likewise.
2044 [POSIX || POSIX2008] (ECHOCTL): Likewise.
2045 [POSIX || POSIX2008] (ECHOKE): Likewise.
2046 [POSIX || POSIX2008] (ECHOPRT): Likewise.
2047 [POSIX || POSIX2008] (EXTA): Likewise.
2048 [POSIX || POSIX2008] (EXTB): Likewise.
2049 [POSIX || POSIX2008] (FLUSHO): Likewise.
2050 [POSIX || POSIX2008] (LOBLK): Likewise.
2051 [POSIX || POSIX2008] (PENDIN): Likewise.
2052 [POSIX || POSIX2008] (SWTCH): Likewise.
2053 [POSIX || POSIX2008] (VDISCARD): Likewise.
2054 [POSIX || POSIX2008] (VDSUSP): Likewise.
2055 [POSIX || POSIX2008] (VLNEXT): Likewise.
2056 [POSIX || POSIX2008] (VREPRINT): Likewise.
2057 [POSIX || POSIX2008] (VSTATUS): Likewise.
2058 [POSIX || POSIX2008] (VWERASE): Likewise.
2059 (B*): Change to B[0123456789]*.
2060 * conform/data/time.h-data [POSIX || UNIX98]
2061 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
2062 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2063 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
2064 [POSIX] (tm_*): Do not allow.
2065
2066 2014-06-07 Joseph Myers <joseph@codesourcery.com>
2067
2068 * Makefile (install): Don't set LANGUAGE.
2069 * Makefile.in (install): Likewise.
2070 * assert/Makefile (test-assert-ENV): Remove variable.
2071 (test-assert-perr-ENV): Likewise.
2072 * elf/Makefile (neededtest4-ENV): Likewise.
2073 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2074 [$(cross-compiling) = no]: Don't set LANGUAGE.
2075 * io/ftwtest-sh (LANG): Remove variable.
2076 * libio/Makefile (tst-widetext-ENV): Likewise.
2077 * manual/install.texi (Running make install): Don't refer to
2078 environment settings for make install.
2079 * INSTALL: Regenerated.
2080 * nptl/tst-tls6.sh: Don't set LANG.
2081 * posix/globtest.sh (LANG): Remove variable.
2082 * string/Makefile (tester-ENV): Likewise.
2083 (inl-tester-ENV): Likewise.
2084 (noinl-tester-ENV): Likewise.
2085 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2086 [$(cross-compiling) = no]: Don't set LANGUAGE.
2087 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
2088 without explicit environment settings.
2089
2090 2014-06-06 Roland McGrath <roland@hack.frob.com>
2091
2092 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
2093 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
2094 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
2095 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
2096
2097 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
2098
2099 * crypt/crypt-private.h [DOS]: Add some includes taken from the
2100 other files in the crypt directory.
2101 * crypt/crypt.c: Remove duplicate includes.
2102 * crypt/crypt-entry.c: Likewise.
2103 * crypt/crypt_util.c: Likewise.
2104
2105 2014-06-06 Joseph Myers <joseph@codesourcery.com>
2106
2107 * Makeconfig (run-program-env): New variable.
2108 (run-program-prefix-before-env): Likewise.
2109 (run-program-prefix-after-env): Likewise.
2110 (run-program-prefix): Define in terms of new variables.
2111 (built-program-cmd-before-env): New variable.
2112 (built-program-cmd-after-env): Likewise.
2113 (built-program-cmd): Define in terms of new variables.
2114 (test-program-prefix-before-env): New variable.
2115 (test-program-prefix-after-env): Likewise.
2116 (test-program-prefix): Define in terms of new variables.
2117 (test-program-cmd-before-env): New variable.
2118 (test-program-cmd-after-env): Likewise.
2119 (test-program-cmd): Define in terms of new variables.
2120 * Rules (make-test-out): Use $(run-program-env).
2121 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
2122 (help): Do not mention environment variables. Mention
2123 --timeoutfactor option.
2124 (timeoutfactor): New variable.
2125 (blacklist_exports): Remove function.
2126 (exports): Remove variable.
2127 (command): Do not include ${exports}.
2128 * manual/install.texi (Configuring and compiling): Do not mention
2129 test wrappers preserving environment variables. Mention that last
2130 assignment to a variable must take precedence.
2131 * INSTALL: Regenerated.
2132 * benchtests/Makefile (run-bench): Use $(run-program-env).
2133 * catgets/Makefile ($(objpfx)test1.cat): Use
2134 $(built-program-cmd-before-env), $(run-program-env) and
2135 $(built-program-cmd-after-env).
2136 ($(objpfx)test2.cat): Do not specify environment variables
2137 explicitly.
2138 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
2139 $(run-program-env) and $(built-program-cmd-after-env).
2140 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
2141 $(run-program-env) and $(test-program-cmd-after-env).
2142 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
2143 explicitly.
2144 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
2145 run_program_env and test_program_cmd_after_env arguments.
2146 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
2147 * elf/tst-pathopt.sh: Use run_program_env argument.
2148 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
2149 $(test-wrapper-env) and $(run-program-env).
2150 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
2151 run_program_env arguments.
2152 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
2153 * intl/Makefile ($(objpfx)tst-gettext.out): Use
2154 $(test-program-prefix-before-env), $(run-program-env) and
2155 $(test-program-prefix-after-env).
2156 ($(objpfx)tst-gettext2.out): Likewise.
2157 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
2158 run_program_env and test_program_prefix_after_env arguments.
2159 * intl/tst-gettext2.sh: Likewise.
2160 * intl/tst-gettext4.sh: Do not set environment variables
2161 explicitly.
2162 * intl/tst-gettext6.sh: Likewise.
2163 * intl/tst-translit.sh: Likewise.
2164 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
2165 $(test-program-prefix-before-env), $(run-program-env) and
2166 $(test-program-prefix-after-env).
2167 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
2168 run_program_env and test_program_prefix_after_env arguments.
2169 * math/Makefile (run-regen-ulps): Use $(run-program-env).
2170 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
2171 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
2172 explicitly with each use of ${test_wrapper_env}.
2173 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
2174 $(test-program-prefix-before-env), $(run-program-env) and
2175 $(test-program-prefix-after-env).
2176 * posix/tst-getconf.sh: Do not set environment variables
2177 explicitly.
2178 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
2179 run_program_env and test_program_prefix_after_env arguments.
2180 * stdio-common/tst-printf.sh: Do not set environment variables
2181 explicitly.
2182 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
2183 $(test-program-prefix-before-env), $(run-program-env) and
2184 $(test-program-prefix-after-env).
2185 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
2186 run_program_env and test_program_prefix_after_env arguments.
2187 Split $test calls into $test_pre and $test.
2188 * timezone/Makefile (build-testdata): Use
2189 $(built-program-cmd-before-env), $(run-program-env) and
2190 $(built-program-cmd-after-env).
2191
2192 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2193
2194 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
2195 strlen for non SHARED builds.
2196
2197 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2198
2199 * nptl/allocatestack.c (check_list): Inlined function...
2200 (__reclaim_stacks): ... here.
2201
2202 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
2203
2204 [BZ #15698]
2205 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2206 memory overrun.
2207
2208 2014-06-05 Joseph Myers <joseph@codesourcery.com>
2209
2210 * Rules (make-test-out): Include
2211 LOCPATH=$(common-objpfx)localedata in default environment.
2212 * debug/Makefile (tst-chk1-ENV): Remove variable.
2213 (tst-chk2-ENV): Likewise.
2214 (tst-chk3-ENV): Likewise.
2215 (tst-chk4-ENV): Likewise.
2216 (tst-chk5-ENV): Likewise.
2217 (tst-chk6-ENV): Likewise.
2218 (tst-lfschk1-ENV): Likewise.
2219 (tst-lfschk2-ENV): Likewise.
2220 (tst-lfschk3-ENV): Likewise.
2221 (tst-lfschk4-ENV): Likewise.
2222 (tst-lfschk5-ENV): Likewise.
2223 (tst-lfschk6-ENV): Likewise.
2224 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
2225 (tst-iconv7-ENV): Likewise.
2226 * intl/Makefile (LOCPATH-ENV): Likewise.
2227 (tst-codeset-ENV): Likewise.
2228 (tst-gettext3-ENV): Likewise.
2229 (tst-gettext5-ENV): Likewise.
2230 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
2231 (tst-fopenloc-ENV): Likewise.
2232 (tst-fgetws-ENV): Remove variable.
2233 (tst-ungetwc1-ENV): Likewise.
2234 (tst-ungetwc2-ENV): Likewise.
2235 (bug-ungetwc2-ENV): Likewise.
2236 (tst-swscanf-ENV): Likewise.
2237 (bug-ftell-ENV): Likewise.
2238 (tst-fgetwc-ENV): Likewise.
2239 (tst-fseek-ENV): Likewise.
2240 (tst-ftell-partial-wide-ENV): Likewise.
2241 (tst-ftell-active-handler-ENV): Likewise.
2242 (tst-ftell-append-ENV): Likewise.
2243 * posix/Makefile (tst-fnmatch-ENV): Likewise.
2244 (tst-regexloc-ENV): Likewise.
2245 (bug-regex1-ENV): Likewise.
2246 (tst-regex-ENV): Likewise.
2247 (tst-regex2-ENV): Likewise.
2248 (bug-regex5-ENV): Likewise.
2249 (bug-regex6-ENV): Likewise.
2250 (bug-regex17-ENV): Likewise.
2251 (bug-regex18-ENV): Likewise.
2252 (bug-regex19-ENV): Likewise.
2253 (bug-regex20-ENV): Likewise.
2254 (bug-regex22-ENV): Likewise.
2255 (bug-regex23-ENV): Likewise.
2256 (bug-regex25-ENV): Likewise.
2257 (bug-regex26-ENV): Likewise.
2258 (bug-regex30-ENV): Likewise.
2259 (bug-regex32-ENV): Likewise.
2260 (bug-regex33-ENV): Likewise.
2261 (bug-regex34-ENV): Likewise.
2262 (bug-regex35-ENV): Likewise.
2263 (tst-rxspencer-ENV): Likewise.
2264 (tst-rxspencer-no-utf8-ENV): Likewise.
2265 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
2266 (tst-sscanf-ENV): Likewise.
2267 (tst-swprintf-ENV): Likewise.
2268 (tst-swscanf-ENV): Likewise.
2269 (test-vfprintf-ENV): Likewise.
2270 (scanf13-ENV): Likewise.
2271 (bug14-ENV): Likewise.
2272 (tst-grouping-ENV): Likewise.
2273 * stdlib/Makefile (tst-strtod-ENV): Likewise.
2274 (tst-strtod3-ENV): Likewise.
2275 (tst-strtod4-ENV): Likewise.
2276 (tst-strtod5-ENV): Likewise.
2277 (testmb2-ENV): Likewise./
2278 * string/Makefile (tst-strxfrm-ENV): Likewise.
2279 (tst-strxfrm2-ENV): Likewise.
2280 (bug-strcoll1-ENV): Likewise.
2281 (test-strcasecmp-ENV): Likewise.
2282 (test-strncasecmp-ENV): Likewise.
2283 * time/Makefile (tst-strptime-ENV): Likewise.
2284 (tst-ftime_l-ENV): Likewise.
2285 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
2286 (tst-mbrtowc-ENV): Likewise.
2287 (tst-wcrtomb-ENV): Likewise.
2288 (tst-mbrtowc2-ENV): Likewise.
2289 (tst-c16c32-1-ENV): Likewise.
2290 (tst-mbsnrtowcs-ENV): Likewise.
2291
2292 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
2293
2294 * manual/resource.texi (How to get information about the memory
2295 subsystem?): Fix typo.
2296 Reported by Peon de la Parra Ivan <peon@keba.com>
2297
2298 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
2299
2300 [BZ #16882]
2301 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
2302 (pthread_spin_lock): Branch out of spin loop to proper location.
2303 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
2304 (pthread_spin_lock): Likewise.
2305
2306 * nptl/tst-spin4.c: New test.
2307 * nptl/Makefile (tests): Add tst-spin4.
2308
2309 2014-06-03 Andreas Schwab <schwab@suse.de>
2310
2311 [BZ #15946]
2312 * resolv/res_send.c (send_dg): Reload file descriptor after
2313 calling reopen.
2314
2315 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
2316
2317 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2318
2319 2014-06-03 Richard Henderson <rth@redhat.com>
2320
2321 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
2322 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
2323 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
2324 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
2325 in the SAVE_PID block.
2326 (__libc_vfork): New alias.
2327 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
2328
2329 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
2330 child in registers, not on the stack. Remove RESET_PID conditionals.
2331 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
2332
2333 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
2334
2335 * sysdeps/aarch64/libm-test-ulps: Regenerate.
2336
2337 2014-06-03 Wilco <wdijkstr@arm.com>
2338
2339 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
2340 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
2341 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2342 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
2343 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
2344 Likewise.
2345
2346 2014-06-03 Wilco <wdijkstr@arm.com>
2347
2348 * sysdeps/aarch64/fpu/math_private.h
2349 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
2350 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
2351 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
2352 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2353 Fix declarations.
2354
2355 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2356
2357 * crypt/crypt-private.h: Include ufc-crypt.h.
2358 (__b64_from_24bit): Declare extern.
2359 * crypt/crypt_util.c(__b64_from_24bit): New function.
2360 (b64t): New static const variable.
2361 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
2362 (b64t): Remove variable.
2363 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
2364 * crypt/sha256-crypt.c: Include crypt-private.h.
2365 (b64t): Remove variable.
2366 (__sha256_crypt_r): Remove b64_from_24bit and replace
2367 with __b64_from_24bit.
2368 * crypt/sha512-crypt.c: Likewise.
2369
2370 2014-06-02 Roland McGrath <roland@hack.frob.com>
2371
2372 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
2373 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
2374 Label the code __libc_vfork rather than __vfork.
2375 [!NOT_IN_libc] (vfork): Define as weak alias.
2376 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
2377 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
2378 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
2379
2380 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2381
2382 * malloc/malloc.c (malloc_info): Fix format specifier for
2383 n_mmaps.
2384
2385 2014-06-02 Wilco <wdijkstr@arm.com>
2386
2387 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
2388 FPCR write.
2389
2390 2014-06-02 Wilco <wdijkstr@arm.com>
2391
2392 [BZ #17009]
2393 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
2394 Rewrite to reduce FPCR/FPSR accesses.
2395
2396 2014-06-01 David S. Miller <davem@davemloft.net>
2397
2398 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2399
2400 2014-05-31 David S. Miller <davem@davemloft.net>
2401
2402 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
2403 to occur in round to nearest mode when |x| >= 2.0
2404
2405 2014-05-30 Richard Henderson <rth@twiddle.net>
2406
2407 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
2408 (PSEUDO_RET_NOERRNO): Remove.
2409 (ret): Don't redefine.
2410 (ret_NOERRNO): Define in terms of ret.
2411 (ret_ERRVAL): Likewise.
2412
2413 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
2414 use of PSEUDO_RET; perform the error check directly.
2415
2416 2014-05-30 Marko Myllynen <myllynen@redhat.com>
2417
2418 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
2419 with __int128_t.
2420
2421 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2422
2423 * malloc/malloc (malloc_info): Fix formatting.
2424
2425 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2426 Roland McGrath <roland@hack.frob.com>
2427
2428 * malloc/malloc (malloc_info): Also print mmapped statistics.
2429
2430 2014-05-30 Roland McGrath <roland@hack.frob.com>
2431
2432 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
2433 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
2434
2435 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
2436
2437 * malloc/malloc.c (malloc_info): Inline mi_arena.
2438
2439 2014-05-29 Richard Henderson <rth@twiddle.net>
2440
2441 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
2442 Remove comma before expanding ASM_ARGS_##nr.
2443 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
2444 Make _x0 a strict output; make _x8 a strict input; adjust expansion
2445 of ASM_ARGS_##nr.
2446 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
2447 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
2448 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
2449 (ASM_ARGS_1): Add leading comma.
2450
2451 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
2452 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
2453 to __errno_location.
2454 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
2455 Remove the expected plt for __errno_location.
2456
2457 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2458 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
2459 call to __read_tp.
2460
2461 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2462 Always allocate 64 bytes of stack frame. Use ldp/stp to create
2463 it and break it down.
2464 (DOCARGS_0, DOCARGS_1): Do nothing.
2465 (DOCARGS_2): Update to store into the new stack frame.
2466 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
2467 (UNDOCARGS_1): Update to restore from the new stack frame.
2468 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
2469 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
2470
2471 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2472 (SINGLE_THREAD_P): New parameter for result regno.
2473 (PSEUDO): Update to match; use cbz instead of beq.
2474
2475 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2476 Use ENTRY to define the _nocancel entry point. Share the syscall
2477 and syscall error check paths with the cancel path.
2478 (PSEUDO_END): New.
2479
2480 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
2481 whitespace; tabs before and after asm mnemonics.
2482
2483 2014-05-29 Eric Wong <normalperson@yhbt.net>
2484
2485 [BZ #15132]
2486 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2487 Call fstat64 or stat64 internally, depending on arguments passed.
2488 Replace stat buffer argument with file descriptor argument.
2489 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
2490 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2491 Pass fd to __internal_statvfs instead of calling fstat64.
2492 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
2493 Pass fd to __internal_statvfs64 instead of calling fstat64.
2494 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
2495 Pass -1 to __internal_statvfs instead of calling stat64.
2496 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
2497 Pass -1 to __internal_statvfs64 instead of calling stat64.
2498
2499 2014-05-28 Roland McGrath <roland@hack.frob.com>
2500
2501 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
2502 that was previously under [RESET_PID].
2503 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
2504
2505 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
2506 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
2507
2508 2014-05-27 Roland McGrath <roland@hack.frob.com>
2509
2510 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
2511
2512 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
2513 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
2514
2515 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
2516
2517 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
2518
2519 2014-05-27 Andreas Schwab <schwab@suse.de>
2520
2521 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
2522 TLS_INIT_TP macro.
2523 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2524 * elf/rtld.c (init_tls, dl_main): Likewise.
2525 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
2526 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
2527 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
2528 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
2529 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
2530 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
2531 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
2532 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
2533 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
2534 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
2535 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
2536 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
2537 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
2538 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
2539 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
2540 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
2541 * sysdeps/generic/tls.h: Update description.
2542
2543 2014-05-27 Will Newton <will.newton@linaro.org>
2544
2545 [BZ #16990]
2546 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
2547 and restore r2 rather than just restoring.
2548
2549 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2550
2551 [BZ #16724]
2552 * libio/tst-ftell-append.c: New test case.
2553 * libio/Makefile (tests): Add test case.
2554 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
2555 append mode.
2556 * libio/wfileops.c (do_ftell_wide): Likewise.
2557
2558 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2559
2560 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2561
2562 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
2563 ...
2564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
2565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2566 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
2567 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
2568 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
2569 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
2570 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
2571 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
2572 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2573 Moved ...
2574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
2575 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2576 Moved ...
2577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
2578 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
2579 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
2580 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
2581 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
2582 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
2583 ...
2584 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
2585 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
2586 Moved ...
2587 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
2588 here.
2589 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
2590 ...
2591 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
2592 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
2593 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
2594
2595 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
2596 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
2597 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
2598 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
2599
2600 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
2601 merge into ...
2602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
2603 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
2604 ...
2605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
2606 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
2607 ...
2608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
2609 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2610 Moved ...
2611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
2612 here.
2613 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2614 Moved ...
2615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
2616 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2617 Moved ...
2618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
2619
2620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
2621 conditional [RESET_PID].
2622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
2623 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
2624 removed.
2625 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
2626 removed.
2627
2628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
2629 <tcb-offsets.h>.
2630 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2631 (__libc_vfork): New strong alias.
2632 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
2633 removed.
2634 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
2635 Removed.
2636
2637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
2638 <tcb-offsets.h>.
2639 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
2640 (__libc_vfork): New strong alias.
2641 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
2642 removed.
2643 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
2644 removed.
2645
2646 2014-05-26 Carlos O'Donell <carlos@redhat.com>
2647
2648 * malloc/malloc.c (mi_arena): New function.
2649 (malloc_info): Remove nested function mi_arena. Call non-nosted
2650 function mi_arena.
2651
2652 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2653
2654 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
2655 by insrwi.
2656 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
2657 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
2658 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
2659 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
2660 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
2661 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
2662 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
2663
2664 2014-05-26 Andreas Schwab <schwab@suse.de>
2665
2666 [BZ #16984]
2667 * locale/programs/repertoire.c (repertoire_read): Add slash
2668 between I18NPATH element and file name.
2669 * locale/programs/locfile.c (locfile_read): Likewise.
2670
2671 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
2672
2673 * nptl/pthread_mutexattr_settype.c
2674 (__pthread_mutexattr_settype):
2675 Disable lock elision for PTHREAD_MUTEX_NORMAL.
2676
2677 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
2678
2679 * nptl/tst-mutex5 (do_test):
2680 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
2681
2682 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2683
2684 * benchtests/README: Document 'init' directive.
2685 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
2686 BENCH_INIT.
2687 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
2688 (parse_file): Recognize 'init' directive.
2689
2690 2014-05-26 Kyle McMartin <kyle@redhat.com>
2691
2692 [BZ #16796]
2693 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
2694 alignment of struct pthread.
2695
2696 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2697
2698 [BZ #16878]
2699 * nscd/netgroupcache.c (addgetnetgrentX): Look for
2700 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2701 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
2702 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2703
2704 2014-05-25 Richard Henderson <rth@twiddle.net>
2705
2706 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2707 (SINGLE_THREAD_P_PIC): Remove.
2708 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
2709 (SINGLE_THREAD_P_PIC): Remove.
2710
2711 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
2712 branch to syscall error ...
2713 (PSEUDO): ... here.
2714 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
2715 from __local_syscall_error to .Lsyscall_error.
2716 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
2717 (SYSCALL_ERROR): Update label name.
2718
2719 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2720 Do not use DOARGS/UNDOARGS.
2721 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
2722 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
2723 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
2724 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
2725 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
2726
2727 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
2728 block comment.
2729
2730 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
2731 define if !NOT_IN_libc.
2732 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
2733 define with non-default symbol versions.
2734
2735 2014-05-23 Richard Henderson <rth@twiddle.net>
2736
2737 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
2738 (vfork, __vfork): Define via compat_symbol.
2739
2740 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
2741 [!HAVE_IFUNC] (vfork_compat): Remove.
2742 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
2743
2744 2014-05-23 Joseph Myers <joseph@codesourcery.com>
2745
2746 [BZ #16978]
2747 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
2748 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
2749 variable.
2750
2751 2014-05-23 Richard Henderson <rth@twiddle.net>
2752
2753 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
2754 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
2755 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
2756 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
2757
2758 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
2759 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
2760 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
2761 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
2762 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
2763 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
2764 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
2765 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
2766 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
2767 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
2768 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
2769 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
2770 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
2771 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
2772 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
2773 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
2774 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
2775 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
2776 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
2777 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
2778 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
2779 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
2780 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
2781 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
2782 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
2783 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
2784 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
2785 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
2786 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
2787 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
2788 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
2789 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
2790 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
2791 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
2792 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
2793 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
2794 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
2795 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
2796 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
2797 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
2798 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
2799 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
2800 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
2801 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
2802 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
2803 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
2804 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
2805 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
2806 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
2807 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
2808 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
2809 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
2810 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
2811 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
2812 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
2813 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
2814
2815 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
2816 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
2817 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
2818 before exiting on error.
2819 (__libc_vfork): New strong alias.
2820 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
2821 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
2822
2823 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
2824 that was previously under [RESET_PID].
2825 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
2826
2827 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
2828
2829 2014-05-23 Joseph Myers <joseph@codesourcery.com>
2830
2831 [BZ #16977]
2832 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
2833 value when x - 1 is zero.
2834 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
2835 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
2836 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
2837 0.0L for an argument of 1.0L.
2838 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
2839 Likewise.
2840 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
2841 value when x - 1 is zero.
2842 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
2843 * sysdeps/i386/fpu/libm-test-ulps: Update.
2844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2845
2846 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2847
2848 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
2849 alphasort and versionsort.
2850
2851 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2852
2853 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
2854 macro.
2855 [copysignf]: Likewise.
2856
2857 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2858
2859 * crypt/md5-crypt.c: Fix formatting.
2860
2861 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2862
2863 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
2864 (b64_from_24bit): New function.
2865
2866 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2867
2868 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
2869 libc_hidden_builtin_def to ifunc.
2870 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2871 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
2872
2873 2014-05-21 Roland McGrath <roland@hack.frob.com>
2874
2875 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
2876 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
2877
2878 2014-05-21 Joseph Myers <joseph@codesourcery.com>
2879
2880 * nscd/Depend (linuxthreads): Remove.
2881 (nptl): Add.
2882 * resolv/Depend (linuxthreads): Remove.
2883 * rt/Depend (linuxthreads): Remove.
2884
2885 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
2886 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
2887 $(common-objpfx)elf/.
2888 (link-libc-before-gnulib): Likewise.
2889 (elfobjdir): Remove variable.
2890 * Makefile (install): Use $(elf-objpfx) instead of
2891 $(common-objpfx)elf/.
2892 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
2893 $(elfobjdir)/.
2894 (link-libc-deps): Likewise.
2895 ($(common-objpfx)libc.so): Likewise.
2896 ($(common-objpfx)linkobj/libc.so): Likewise.
2897 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
2898 instead of $(common-objpfx)elf/.
2899 (symbolic-link-list): Likewise.
2900 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2901 [$(cross-compiling) = no]: Likewise.
2902 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
2903 $(elfobjdir)/.
2904 (static-gnulib-arch): Likewise.
2905 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2906 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
2907 $(common-objpfx)elf/.
2908
2909 2014-05-21 Richard Henderson <rth@redhat.com>
2910
2911 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2912 (SINGLE_THREAD_P): Use the correct width load. Fold
2913 into the ldr offset.
2914
2915 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
2916 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
2917
2918 2014-05-20 Joseph Myers <joseph@codesourcery.com>
2919
2920 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
2921 (libgcc_s_resume): Use __attribute_used__.
2922 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
2923 Likewise.
2924
2925 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2926
2927 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
2928 optimization when used with float constants.
2929
2930 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2931
2932 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
2933
2934 [BZ #16915]
2935 * locale/nl_langinfo_l.c: Make direct reference to every
2936 _nl_current_CATEGORY symbol.
2937 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
2938 (tests-static): Add tst-langinfo-static.
2939 (tests-special): Add tst-langinfo-static.out.
2940 ($(objpfx)tst-langinfo.out): Redirect output.
2941 ($(objpfx)tst-langinfo-static.out): New.
2942 * localedata/tst-langinfo.sh: Send output to stdout.
2943 * localedata/tst-langinfo-static.c: New file.
2944
2945 [BZ #16965]
2946 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
2947 when the shift amount is modulo the limb size.
2948
2949 2014-05-20 Richard Henderson <rth@redhat.com>
2950
2951 [BZ #16967]
2952 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
2953 Change type of sa_flags from unsigned int to int.
2954
2955 [BZ #16966]
2956 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
2957
2958 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
2959
2960 2014-05-20 Will Newton <will.newton@linaro.org>
2961
2962 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2963 Test the return value of the system call in the nocancel case.
2964
2965 2014-05-20 Will Newton <will.newton@linaro.org>
2966 Yvan Roux <yvan.roux@linaro.org>
2967
2968 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
2969 #include of asm/ptrace.h.
2970 (PTRACE_GET_THREAD_AREA): Remove #undef.
2971 (PTRACE_GETHBPREGS): Likewise.
2972 (PTRACE_SETHBPREGS): Likewise.
2973 (struct user_regs_struct): New structure.
2974 (struct user_fpsimd_struct): New structure.
2975 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
2976 #include of asm/ptrace.h and second #include of sys/user.h.
2977 (PTRACE_GET_THREAD_AREA): Remove #undef.
2978 (PTRACE_GETHBPREGS): Likewise.
2979 (PTRACE_SETHBPREGS): Likewise.
2980 (ELF_NGREG): Use new struct user_regs_struct.
2981 (elf_fpregset_t): Use new struct user_fpsimd_struct.
2982
2983 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2984
2985 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
2986 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
2987
2988 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2989
2990 [BZ #16958]
2991 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
2992 membar to avoid block loads/stores to overlap previous stores.
2993
2994 2014-05-17 Richard Henderson <rth@redhat.com>
2995
2996 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
2997 Create the __##syscall_name##_nocancel entry point.
2998 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
2999 Remove; let the sysdep-cancel.h code create it.
3000
3001 2014-05-17 David S. Miller <davem@davemloft.net>
3002
3003 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
3004 Protect with __USE_GNU.
3005 (TIOCSET_TEMPT): Likewise.
3006 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3007 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
3008 these are already provided in bits/ioctl-types.h
3009
3010 2014-05-16 Roland McGrath <roland@hack.frob.com>
3011
3012 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
3013 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
3014
3015 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
3016 Use wait4 regardless of [__NR_waitpid].
3017
3018 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3019
3020 PR libgcc/60166
3021 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3022 (_FP_NANSIGN_Q): Set the quiet bit.
3023
3024 2014-05-16 Joseph Myers <joseph@codesourcery.com>
3025
3026 * benchtests/Makefile
3027 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
3028 not $(common-objpfx)math/libm.so.
3029 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
3030 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
3031 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
3032 $(common-objpfx)dlfcn/libdl.so.
3033 ($(objpfx)tst-audit8): Depend on $(libm), not
3034 $(common-objpfx)math/libm.so.
3035 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
3036 not $(common-objpfx)dlfcn/libdl.so.
3037 * math/Makefile
3038 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3039 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
3040 [$(build-shared) = yes].
3041 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
3042 $(common-objpfx)nptl/libpthread.so.
3043 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
3044 $(common-objpfx)math/libm.so$(libm.so-version) or
3045 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
3046 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
3047 $(common-objpfx)dlfcn/libdl.so.
3048 * setjmp/Makefile (link-libm): Remove variable.
3049 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
3050 * stdio-common/Makefile (link-libm): Remove variable.
3051 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
3052 * stdlib/Makefile (link-libm): Remove variable.
3053 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
3054 ($(objpfx)tst-strtod-round): Likewise.
3055 ($(objpfx)tst-tininess): Likewise.
3056 ($(objpfx)tst-strtod-underflow): Likewise.
3057 ($(objpfx)tst-strtod6): Likewise.
3058 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
3059 $(libdl), not $(common-objpfx)nptl/libpthread.so and
3060 $(common-objpfx)dlfcn/libdl.so.
3061
3062 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3063
3064 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
3065 BSD terminal modes definitions.
3066
3067 2014-05-16 Roland McGrath <roland@hack.frob.com>
3068
3069 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
3070 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
3071
3072 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
3073 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
3074 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
3075 Don't do #include_next.
3076 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
3077 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
3078 Don't do #include_next.
3079 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
3080 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
3081 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
3082 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
3083
3084 2014-05-16 Allan McRae <allan@archlinux.org>
3085
3086 * po/sv.po: Update Swedish translation from translation project.
3087
3088 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
3089 in sed expression.
3090
3091 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
3092
3093 [BZ #16917]
3094 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
3095 errno if the TIOCGPTN ioctl fails with an error different than
3096 EINVAL.
3097 * login/tst-ptsname.c: New file.
3098 * login/Makefile (tests): Add tst-ptsname.
3099
3100 [BZ #16943]
3101 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
3102 and prlimit64.
3103
3104 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3105
3106 [BZ #16849]
3107 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
3108 herrno to return EAI_AGAIN.
3109
3110 2014-05-14 Roland McGrath <roland@hack.frob.com>
3111
3112 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
3113 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
3114 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
3115 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
3116 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
3117 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
3118 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
3119 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
3120 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
3121 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
3122 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
3123 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
3124 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
3125 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
3126 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
3127 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
3128 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
3129 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
3130 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
3131 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
3132 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
3133 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
3134 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
3135 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
3136 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
3137 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
3138 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
3139 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
3140 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
3141 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
3142 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
3143 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
3144 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
3145 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
3146 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3147 Moved ...
3148 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
3149 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
3150 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
3151 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
3152 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
3153 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
3154 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
3155 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
3156 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
3157 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
3158 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
3159 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
3160 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
3161 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
3162 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
3163 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
3164 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
3165 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
3166 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
3167 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
3168 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
3169 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
3170 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
3171 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
3172 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
3173 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
3174 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
3175 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3176 Moved ...
3177 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
3178 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
3179 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
3180 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
3181 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
3182 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
3183 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
3184 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
3185 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
3186 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
3187 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
3188 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
3189 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
3190 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
3191 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
3192 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
3193 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
3194 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
3195 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
3196 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3197 Moved ...
3198 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
3199 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
3200 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
3201
3202 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
3203 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
3204 (libpthread-sysdep_routines): Add elision-related stuff here instead.
3205 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
3206 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
3207 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
3208 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
3209 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
3210 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
3211 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
3212 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
3213 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
3214 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
3215 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
3216 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
3217 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
3218 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
3219 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
3220 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
3221 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
3222 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
3223 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
3224 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
3225 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
3226 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
3227 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
3228 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
3229 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
3230 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
3231 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
3232 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
3233
3234 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
3235 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
3236
3237 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
3238 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
3239 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
3240 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
3241 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
3242 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
3243 Moved ...
3244 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
3245 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
3246 Moved ...
3247 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
3248 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
3249 Moved ...
3250 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
3251 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
3252 Moved ...
3253 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
3254 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
3255 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
3256 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
3257 Moved ...
3258 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
3259 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
3260 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
3261 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
3262 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
3263 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
3264 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
3265 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
3266 Moved ...
3267 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
3268 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3269 Moved ...
3270 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3271 ... here.
3272 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
3273 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
3274 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
3275 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
3276 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3277 Moved ...
3278 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3279 ... here.
3280 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
3281 Moved ...
3282 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
3283 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
3284 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
3285 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
3286 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
3287 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
3288 Moved ...
3289 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
3290 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
3291 Moved ...
3292 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
3293 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
3294 Moved ...
3295 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
3296 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
3297 Moved ...
3298 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
3299 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
3300 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
3301 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
3302 Moved ...
3303 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
3304 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
3305 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
3306 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
3307 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
3308 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
3309 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
3310 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
3311 Moved ...
3312 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
3313 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3314 Moved ...
3315 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3316 ... here.
3317 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
3318 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
3319 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
3320 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
3321 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3322 Moved ...
3323 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3324 ... here.
3325 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
3326 Moved ...
3327 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
3328 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
3329 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
3330 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
3331 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
3332 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
3333 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
3334 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
3335 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
3336 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
3337 Moved ...
3338 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
3339 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
3340 Moved ...
3341 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
3342 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
3343 Moved ...
3344 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
3345 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
3346 Moved ...
3347 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
3348 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
3349 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
3350 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
3351 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
3352 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
3353 Moved ...
3354 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
3355 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
3356 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
3357 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
3358 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
3359 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
3360 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
3361 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
3362 Moved ...
3363 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
3364 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3365 Moved ...
3366 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3367 ... here.
3368 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
3369 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
3370 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
3371 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
3372 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3373 Moved ...
3374 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3375 ... here.
3376 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
3377 Moved ...
3378 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
3379 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
3380 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
3381 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
3382 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
3383 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
3384 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
3385 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
3386 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
3387 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
3388 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
3389
3390 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
3391 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
3392
3393 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
3394 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
3395
3396 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
3397 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
3398 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
3399 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
3400 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
3401 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
3402 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
3403 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
3404 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
3405 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
3406 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
3407 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
3408 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
3409 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
3410 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
3411 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
3412 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
3413 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
3414 Moved ...
3415 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
3416 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
3417 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
3418 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
3419 Moved ...
3420 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
3421 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
3422 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
3423 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
3424 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
3425 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
3426 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
3427 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
3428 Moved ...
3429 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
3430 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
3431 Moved ...
3432 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
3433 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
3434 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
3435 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
3436 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
3437 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
3438 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
3439 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
3440 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
3441 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
3442 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
3443 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
3444 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
3445 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
3446 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
3447 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
3448 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
3449
3450 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
3451 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
3452 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
3453 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
3454 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
3455
3456 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
3457 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
3458 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
3459 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
3460 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
3461 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
3462 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
3463 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
3464 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
3465 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
3466
3467 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
3468 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
3469
3470 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
3471 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3472 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
3473 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
3474 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
3475 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
3476 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
3477 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
3478 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
3479 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
3480 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
3481 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
3482 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
3483 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
3484 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
3485 Update #include.
3486 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
3487 Likewise.
3488 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3489 Likewise.
3490 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3491 Likewise.
3492 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3493 Likewise.
3494 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
3495 Likewise.
3496 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
3497 Likewise.
3498 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3499 Likewise.
3500 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
3501 Likewise.
3502 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
3503 Likewise.
3504 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
3505 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
3506 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
3507 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
3508 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
3509 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
3510 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
3511 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
3512 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
3513 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
3514 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
3515 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
3516 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
3517 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
3518 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3519
3520 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
3521 that was previously under [RESET_PID].
3522 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3523 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
3524 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
3525
3526 * sysdeps/i386/nptl/Implies: New file.
3527 * sysdeps/x86_64/nptl/Implies: New file.
3528 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
3529 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
3530 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
3531 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
3532
3533 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
3534 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3535 (__libc_vfork): New strong alias.
3536 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
3537 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
3538
3539 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
3540 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3541 (__libc_vfork): New strong alias.
3542 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
3543 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
3544
3545 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
3546 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3547 (__libc_vfork): New strong alias.
3548 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
3549 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
3550 * nptl/pt-vfork.c: New file.
3551 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
3552 (libpthread: GLIBC_2.20): New version set (empty).
3553
3554 2014-05-14 Will Newton <will.newton@linaro.org>
3555
3556 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
3557 rather than #if.
3558
3559 2014-05-14 Joseph Myers <joseph@codesourcery.com>
3560
3561 [BZ #16564]
3562 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
3563 arguments with exponent 65 or above.
3564 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
3565 arguments 0x1p113L or above.
3566 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
3567 to arguments 0x1p107L or above.
3568 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
3569 positive arguments with exponent 65 or above.
3570 * math/auto-libm-test-in: Add more tests of log1p.
3571 * math/auto-libm-test-out: Regenerated.
3572
3573 [BZ #16928]
3574 * math/s_cacos.c (__cacos): Ensure zero real part of result from
3575 non-finite arguments is +0.
3576 * math/s_cacosf.c (__cacosf): Likewise.
3577 * math/s_cacosl.c (__cacosl): Likewise.
3578 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
3579 * sysdeps/i386/fpu/libm-test-ulps: Update.
3580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3581
3582 [BZ #16927]
3583 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
3584 value.
3585 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
3586 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
3587 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
3588 for explicit high bit of mantissa when testing for argument equal
3589 to 1.
3590 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
3591 * sysdeps/i386/fpu/libm-test-ulps: Update.
3592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3593
3594 [BZ #16516]
3595 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
3596 (__erf): Scale by 16 instead of 8 in potentially underflowing
3597 case. Ensure exception if result actually underflows.
3598 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
3599 (__erff): Scale by 16 instead of 8 in potentially underflowing
3600 case. Ensure exception if result actually underflows.
3601 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
3602 (efx8): Remove variable.
3603 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3604 case. Ensure exception if result actually underflows.
3605 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
3606 (efx8): Remove variable.
3607 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3608 case. Ensure exception if result actually underflows.
3609 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
3610 (efx8): Remove variable.
3611 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3612 case. Ensure exception if result actually underflows.
3613 * math/auto-libm-test-in: Add more tests of erf.
3614 * math/auto-libm-test-out: Regenerated.
3615
3616 2014-05-14 Andreas Schwab <schwab@suse.de>
3617
3618 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
3619 Remove code conditionalized on USE___THREAD.
3620
3621 * config.h.in (HAVE_PT_CHOWN): Define as 0.
3622 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
3623 not definedness.
3624
3625 2014-05-14 Joseph Myers <joseph@codesourcery.com>
3626
3627 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
3628 Define unconditionally.
3629 (__ASSUME_O_CLOEXEC): Likewise.
3630 (__ASSUME_SOCK_CLOEXEC): Likewise.
3631 (__ASSUME_IN_NONBLOCK): Likewise.
3632 (__ASSUME_PIPE2): Likewise.
3633 (__ASSUME_EVENTFD2): Likewise.
3634 (__ASSUME_SIGNALFD4): Likewise.
3635 (__ASSUME_DUP3): Likewise.
3636 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3637 (__ASSUME_DUP3): Do not define.
3638 (__ASSUME_EVENTFD2): Likewise.
3639 (__ASSUME_IN_NONBLOCK): Likewise.
3640 (__ASSUME_O_CLOEXEC): Likewise.
3641 (__ASSUME_PIPE2): Likewise.
3642 (__ASSUME_SIGNALFD4): Likewise.
3643 (__ASSUME_SOCK_CLOEXEC): Likewise.
3644 (__ASSUME_UTIMES): Undefine.
3645 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3646 (__ASSUME_UTIMES): Do not define.
3647 (__ASSUME_O_CLOEXEC): Likewise.
3648 (__ASSUME_SOCK_CLOEXEC): Likewise.
3649 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
3650 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
3651 0x020621].
3652 (__ASSUME_PIPE2): Likewise.
3653 (__ASSUME_EVENTFD2): Likewise.
3654 (__ASSUME_SIGNALFD4): Likewise.
3655 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
3656 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
3657 Do not define.
3658 (__ASSUME_EVENTFD2): Likewise.
3659 (__ASSUME_SIGNALFD4): Likewise.
3660 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3661 (__ASSUME_32BITUIDS): Likewise.
3662 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3663 (__ASSUME_IPC64): Likewise.
3664 (__ASSUME_ST_INO_64_BIT): Likewise.
3665 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
3666 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
3667 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3668 (__ASSUME_UTIMES): Do not define.
3669 (__ASSUME_PSELECT): Likewise.
3670 (__ASSUME_PPOLL): Likewise.
3671 (__ASSUME_O_CLOEXEC): Likewise.
3672 (__ASSUME_SOCK_CLOEXEC): Likewise.
3673 (__ASSUME_IN_NONBLOCK): Likewise.
3674 (__ASSUME_PIPE2): Likewise.
3675 (__ASSUME_EVENTFD2): Likewise.
3676 (__ASSUME_SIGNALFD4): Likewise.
3677 (__ASSUME_DUP3): Likewise.
3678 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3679 (__ASSUME_UTIMES): Likewise.
3680 (__ASSUME_O_CLOEXEC): Likewise.
3681 (__ASSUME_SOCK_CLOEXEC): Likewise.
3682 (__ASSUME_IN_NONBLOCK): Likewise.
3683 (__ASSUME_PIPE2): Likewise.
3684 (__ASSUME_EVENTFD2): Likewise.
3685 (__ASSUME_SIGNALFD4): Likewise.
3686 (__ASSUME_DUP3): Likewise.
3687 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3688 (__ASSUME_UTIMES): Likewise.
3689 (__ASSUME_O_CLOEXEC): Likewise.
3690 (__ASSUME_SOCK_CLOEXEC): Likewise.
3691 (__ASSUME_IN_NONBLOCK): Likewise.
3692 (__ASSUME_PIPE2): Likewise.
3693 (__ASSUME_EVENTFD2): Likewise.
3694 (__ASSUME_SIGNALFD4): Likewise.
3695 (__ASSUME_DUP3): Likewise.
3696 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
3697 Likewise.
3698 (__ASSUME_UTIMES): Likewise.
3699 (__ASSUME_EVENTFD2): Likewise.
3700 (__ASSUME_SIGNALFD4): Likewise.
3701 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3702 (__ASSUME_O_CLOEXEC): Likewise.
3703 (__ASSUME_SOCK_CLOEXEC): Likewise.
3704 (__ASSUME_IN_NONBLOCK): Likewise.
3705 (__ASSUME_PIPE2): Likewise.
3706 (__ASSUME_EVENTFD2): Likewise.
3707 (__ASSUME_SIGNALFD4): Likewise.
3708 (__ASSUME_DUP3): Likewise.
3709 (__ASSUME_UTIMES): Undefine.
3710
3711 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
3712 feclearexcept. Remove symbol versioning code.
3713 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
3714 symbol versioning code.
3715 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
3716 symbol versioning code.
3717 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
3718 feupdateenv. Remove symbol versioning code.
3719 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
3720 fegetexceptflag. Remove symbol versioning code.
3721 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
3722 fesetexceptflag. Remove symbol versioning code.
3723 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
3724 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
3725 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
3726 (__posix_fadvise64_l32): Remove prototype.
3727 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
3728 code.
3729
3730 2014-05-13 Roland McGrath <roland@hack.frob.com>
3731
3732 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
3733 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
3734 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
3735 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
3736
3737 2014-05-13 Sami Kerola <kerolasa@iki.fi>
3738
3739 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
3740 current working directory
3741
3742 2014-05-13 Roland McGrath <roland@hack.frob.com>
3743
3744 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
3745 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
3746 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
3747 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
3748 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
3749 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
3750 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
3751 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
3752 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
3753 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
3754 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
3755 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
3756 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
3757 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
3758 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
3759 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
3760 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
3761 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
3762 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
3763 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
3764 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
3765 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
3766 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
3767 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
3768 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
3769 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
3770 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
3771 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
3772 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
3773 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
3774 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
3775 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
3776 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
3777 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
3778 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
3779 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
3780 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
3781 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
3782 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
3783 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
3784 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
3785 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
3786
3787 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
3788 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
3789
3790 * sysdeps/unix/sysv/linux/arm/Makefile
3791 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
3792 Add rt-aeabi_unwind_cpp_pr1.
3793 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
3794 Add nptl-aeabi_unwind_cpp_pr1.
3795 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
3796 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
3797 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
3798 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3799 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
3800 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3801
3802 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
3803 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
3804 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
3805 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
3806
3807 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
3808 Deconditionalize the code that was previously under [RESET_PID].
3809 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
3810
3811 * sysdeps/generic/exit-thread.h: New file.
3812 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
3813 * include/unistd.h (__exit_thread): Remove declaration.
3814 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
3815 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
3816 * csu/libc-start.c: Include <exit-thread.h>.
3817 (LIBC_START_MAIN): Pass no argument to __exit_thread.
3818 * nptl/pthread_create.c: Include <exit-thread.h>.
3819 (start_thread): Call __exit_thread in place of __exit_thread_inline.
3820 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
3821 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
3822 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
3823 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
3824 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
3825 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
3826 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
3827 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
3828 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
3829 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
3830 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
3831 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
3832 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
3833 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
3834 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
3835 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
3836
3837 2014-05-13 Andreas Schwab <schwab@suse.de>
3838
3839 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
3840
3841 2014-05-12 Joseph Myers <joseph@codesourcery.com>
3842
3843 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3844 (__ASSUME_UTIMES): Do not condition on kernel version.
3845 (__ASSUME_PSELECT): Define unconditionally.
3846 (__ASSUME_PPOLL): Likewise.
3847 (__ASSUME_ATFCTS): Likewise.
3848 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
3849 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
3850 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
3851 (__ASSUME_UTIMENSAT): Define unconditionally.
3852 (__ASSUME_PRIVATE_FUTEX): Likewise.
3853 (__ASSUME_FALLOCATE): Likewise.
3854 (__ASSUME_O_CLOEXEC): Likewise.
3855 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
3856 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
3857 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
3858 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
3859 (__ASSUME_IN_NONBLOCK): Likewise.
3860 (__ASSUME_PIPE2): Likewise.
3861 (__ASSUME_EVENTFD2): Likewise.
3862 (__ASSUME_SIGNALFD4): Likewise.
3863 (__ASSUME_DUP3): Likewise.
3864 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3865 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
3866 (__ASSUME_AT_RANDOM): Likewise.
3867 (__ASSUME_PREADV): Likewise.
3868 (__ASSUME_PWRITEV): Likewise.
3869 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
3870 (__ASSUME_F_GETOWN_EX): Define unconditionally.
3871 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
3872 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
3873 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
3874 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3875 (__ASSUME_O_CLOEXEC): Define unconditionally.
3876 (__ASSUME_PSELECT): Do not undefine conditionally.
3877 (__ASSUME_PPOLL): Likewise.
3878 (__ASSUME_ATFCTS): Likewise.
3879 (__ASSUME_SET_ROBUST_LIST): Likewise.
3880 (__ASSUME_UTIMENSAT): Likewise.
3881 (__ASSUME_FDATASYNC): Define unconditionally.
3882 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3883 (__ASSUME_SIGFRAME_V2): Likewise.
3884 )__ASSUME_EVENTFD2): Likewise.
3885 (__ASSUME_SIGNALFD4): Likewise.
3886 (__ASSUME_PSELECT): Do not undefine conditionally.
3887 (__ASSUME_PPOLL): Likewise.
3888 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3889 (__ASSUME_PSELECT): Define unconditionally.
3890 (__ASSUME_PPOLL): Likewise.
3891 (__ASSUME_O_CLOEXEC): Likewise.
3892 (__ASSUME_SOCK_CLOEXEC): Likewise.
3893 (__ASSUME_IN_NONBLOCK): Likewise.
3894 (__ASSUME_PIPE2): Likewise.
3895 (__ASSUME_EVENTFD2): Likewise.
3896 (__ASSUME_SIGNALFD4): Likewise.
3897 (__ASSUME_DUP3): Likewise.
3898 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3899 (__ASSUME_O_CLOEXEC): Likewise.
3900 (__ASSUME_SOCK_CLOEXEC): Likewise.
3901 (__ASSUME_IN_NONBLOCK): Likewise.
3902 (__ASSUME_PIPE2): Likewise.
3903 (__ASSUME_EVENTFD2): Likewise.
3904 (__ASSUME_SIGNALFD4): Likewise.
3905 (__ASSUME_DUP3): Likewise.
3906 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3907 (__ASSUME_EVENTFD2): Likewise.
3908 (__ASSUME_SIGNALFD4): Likewise.
3909 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3910
3911 2014-05-12 Andreas Schwab <schwab@suse.de>
3912
3913 [BZ #16932]
3914 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
3915 (_nss_nis_gethostbyname4_r): Return error if item length is larger
3916 than maximum RPC packet size.
3917 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
3918 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
3919 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
3920 (_nss_nis_getservbyport_r): Likewise.
3921
3922 2014-05-12 Will Newton <will.newton@linaro.org>
3923
3924 * malloc/Makefile (tests): Add tst-mallopt.
3925 * malloc/tst-mallopt.c: New file.
3926
3927 2014-05-09 Roland McGrath <roland@hack.frob.com>
3928
3929 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
3930 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
3931
3932 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3933
3934 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
3935 (tst-tlsmod6.so): Likewise.
3936
3937 2014-05-09 Roland McGrath <roland@hack.frob.com>
3938
3939 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
3940
3941 2014-05-09 Joseph Myers <joseph@codesourcery.com>
3942
3943 [BZ #16064]
3944 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
3945 and <dl-procinfo.h>.
3946 (__fegetenv): Save SSE state in envp->__eip if supported.
3947 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
3948 envp->__eip if supported.
3949 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
3950 and <dl-procinfo.h>.
3951 (__fesetenv): Always set __eip, __cs_selector, __opcode,
3952 __data_offset and __data_selector in environment to 0. Set SSE
3953 state if supported.
3954 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3955 test-fenv-sse.
3956 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
3957 -mfpmath=sse.
3958 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
3959
3960 2014-05-09 Will Newton <will.newton@linaro.org>
3961
3962 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
3963 and libc_relro_required for ARM.
3964 * sysdeps/arm/preconfigure: Regenerate.
3965
3966 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
3967 Stefan Liebler <stli@linux.vnet.ibm.com>
3968
3969 * config.make.in (enable-lock-elision): New Makefile variable.
3970 * configure.ac: Likewise.
3971 * configure: Regenerate.
3972 * sysdeps/s390/configure.ac:
3973 Add check for gcc transactions support.
3974 * sysdeps/s390/configure: Regenerate.
3975 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
3976 Build elision files if enabled.
3977 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
3978 Add lock elision support for s390.
3979 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
3980 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
3981 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
3982 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3983 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3984 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
3985 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3986 Likewise.
3987 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
3988 Likewise.
3989 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
3990 Likewise.
3991 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
3992 Likewise.
3993 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
3994 (__lll_timedlock_elision, __lll_lock_elision)
3995 (__lll_unlock_elision, __lll_trylock_elision)
3996 (lll_timedlock_elision, lll_lock_elision)
3997 (lll_unlock_elision, lll_trylock_elision): Add.
3998 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3999 (pthread_mutex_t): Add lock elision support for s390.
4000
4001 2014-05-14 Wilco <wdijkstr@arm.com>
4002
4003 * sysdeps/arm/fclrexcpt.c: Cleanup.
4004 * sysdeps/arm/fedisblxcpt.c: Cleanup.
4005 * sysdeps/arm/feenablxcpt.c: Cleanup.
4006 * sysdeps/arm/fegetenv.c: Cleanup.
4007 * sysdeps/arm/fegetexcept.c: Cleanup.
4008 * sysdeps/arm/fegetround.c: Cleanup.
4009 * sysdeps/arm/feholdexcpt.c: Cleanup.
4010 * sysdeps/arm/fesetenv.c: Cleanup.
4011 * sysdeps/arm/fesetround.c: Cleanup.
4012 * sysdeps/arm/feupdateenv.c: Cleanup.
4013 * sysdeps/arm/fgetexcptflg.c: Cleanup.
4014 * sysdeps/arm/fraiseexcpt.c: Cleanup.
4015 * sysdeps/arm/fsetexcptflg.c: Cleanup.
4016 * sysdeps/arm/ftestexcept.c: Cleanup.
4017 * sysdeps/arm/get-rounding-mode.h: Cleanup.
4018 * sysdeps/arm/setfpucw.c: Cleanup.
4019
4020 2014-05-09 Will Newton <will.newton@linaro.org>
4021
4022 * sysdeps/arm/armv7/strcmp.S: New file.
4023 * NEWS: Mention addition of ARMv7 optimized strcmp.
4024
4025 2014-05-08 Roland McGrath <roland@hack.frob.com>
4026
4027 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
4028 look for %.ac rather than %.in.
4029
4030 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
4031 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
4032 * sysdeps/mach/hurd/configure: Regenerated.
4033 * sysdeps/unix/sysv/linux/configure: Regenerated.
4034
4035 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
4036
4037 2014-05-07 Steve Ellcey <sellcey@mips.com>
4038
4039 [BZ# 16922]
4040 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
4041 (LONG_SUB): Ditto.
4042 (PTR_SUB): Ditto.
4043
4044 2014-05-07 Andreas Schwab <schwab@suse.de>
4045
4046 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
4047 when skipping over non-matching result from nscd.
4048
4049 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
4050
4051 [BZ #16876]
4052 * nptl/sockperf.c (client): Check socket return value.
4053
4054 [BZ #16877]
4055 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
4056 nscd security class.
4057
4058 2014-05-06 Roland McGrath <roland@hack.frob.com>
4059
4060 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
4061 * sysdeps/arm/unwind.h: ... here.
4062
4063 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
4064
4065 [BZ# 16916]
4066 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
4067 Define.
4068
4069 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4070
4071 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
4072 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
4073 multiarch strncpy for PPC64.
4074 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
4075 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
4076 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
4077 multiarch optimizations.
4078 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4079 (__libc_ifunc_impl_list): Likewise.
4080 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
4081 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
4082 multiarch stpncpy for PPC64.
4083 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
4084 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
4085
4086 2014-05-06 Andreas Schwab <schwab@suse.de>
4087
4088 [BZ #16912]
4089 * gmon/mcount.c (_MCOUNT_DECL): Use
4090 atomic_compare_and_exchange_bool_acq instead of
4091 catomic_compare_and_exchange_bool_acq.
4092
4093 2014-05-05 Roland McGrath <roland@hack.frob.com>
4094
4095 * elf/Makefile (others, install-bin): Remove pldd.
4096 (pldd-modules): Variable removed.
4097 ($(objpfx)pldd): Target removed.
4098 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
4099 (others, install-bin): Append pldd here.
4100 ($(objpfx)pldd): New target.
4101
4102 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
4103 to 0, so the first #if test emitted later doesn't see it undefined.
4104 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
4105 * sysdeps/gnu/errlist.c: Regenerated.
4106
4107 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4108
4109 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4110 [libc_hidden_builtin_def]: Define to empty value.
4111 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
4112 [libc_hidden_builtin_def]: Likewise.
4113 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
4114 [libc_hidden_builtin_def]: Likewise.
4115 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
4116 [libc_hidden_builtin_def]: Likewise.
4117 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
4118 __redirect_memcpy and define ifunc as default hidden symbol.
4119 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
4120 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
4121
4122 2014-05-04 Adam Conrad <adconrad@0c3.net>
4123
4124 * locale/iso-4217.def: Reintroduce XDR currency.
4125
4126 2014-05-04 Allan McRae <allan@archlinux.org>
4127
4128 * po/eo.po: Update Esperanto translation from translation project.
4129
4130 2014-05-02 Carlos O'Donell <carlos@redhat.com>
4131
4132 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
4133 and FEATURE_INDEX_MAX to 1.
4134 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
4135
4136 2014-05-01 Steve Ellcey <sellcey@mips.com>
4137
4138 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
4139 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
4140 * iconvdata/big5.c (ONE_DIRECTION): Define.
4141 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
4142 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
4143 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
4144 * iconvdata/cp932.c (ONE_DIRECTION): Define.
4145 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
4146 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
4147 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
4148 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
4149 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
4150 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
4151 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
4152 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
4153 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
4154 * iconvdata/gbk.c (ONE_DIRECTION): Define.
4155 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
4156 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
4157 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
4158 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
4159 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
4160 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
4161 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
4162 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
4163 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
4164 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
4165 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
4166 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
4167 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
4168 * iconvdata/iso646.c (ONE_DIRECTION): Define.
4169 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
4170 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
4171 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
4172 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
4173 * iconvdata/johab.c (ONE_DIRECTION): Define.
4174 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
4175 * iconvdata/sjis.c (ONE_DIRECTION): Define.
4176 * iconvdata/t.61.c (ONE_DIRECTION): Define.
4177 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
4178 * iconvdata/tscii.c (ONE_DIRECTION): Define.
4179 * iconvdata/uhc.c (ONE_DIRECTION): Define.
4180 * iconvdata/unicode.c (ONE_DIRECTION): Define.
4181 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
4182 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
4183 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
4184
4185 2014-05-01 Roland McGrath <roland@hack.frob.com>
4186
4187 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
4188 (_IO_JUMPS_OFFSET): Define to 0.
4189
4190 * nptl/sysdeps/pthread/bits/libc-lock.h
4191 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4192 (__libc_lock_define_initialized_recursive): Always define using
4193 initializer. Modern compilers treat uninitialized (implicit zero) and
4194 explicit zero initializers the same (i.e. put the datum in bss).
4195
4196 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
4197
4198 * nscd/nscd-client.h: Include <string.h>.
4199
4200 2014-05-01 David S. Miller <davem@davemloft.net>
4201
4202 [BZ #16885]
4203 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
4204 multiple zero bytes exist at the end of a string.
4205 Reported by Aurelien Jarno <aurelien@aurel32.net>
4206
4207 * string/test-strcmp.c (check): Add explicit test for situations where
4208 there are multiple zero bytes after the first.
4209
4210 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
4211
4212 [BZ #16890]
4213 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
4214 when compiling wprintf.
4215 * stdio-common/tstdiomisc.c (t3): New function.
4216 (main): Call it.
4217
4218 2014-05-01 Steve Ellcey <sellcey@mips.com>
4219
4220 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
4221 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
4222 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
4223 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
4224
4225 2014-05-01 Steve Ellcey <sellcey@mips.com>
4226
4227 * stdlib/longlong.h: Updated from GCC.
4228
4229 2014-05-01 Will Newton <will.newton@linaro.org>
4230 Bernard Ogden <bernie.ogden@linaro.org>
4231
4232 * NEWS: Update fixed bug list.
4233
4234 [BZ #15119]
4235 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
4236
4237 2014-04-30 David S. Miller <davem@davemloft.net>
4238
4239 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
4240 (libc_feholdexcept_setround_sparc_ctx): New function.
4241 (libc_fesetenv_sparc_ctx): Likewise.
4242 (libc_feupdateenv_sparc_ctx): Likewise.
4243 (libc_feholdsetround_sparc_ctx): Likewise.
4244 (libc_feholdexcept_setround_ctx): Define.
4245 (libc_feholdexcept_setroundf_ctx): Likewise.
4246 (libc_feholdexcept_setroundl_ctx): Likewise.
4247 (libc_fesetenv_ctx): Likewise.
4248 (libc_fesetenvf_ctx): Likewise.
4249 (libc_fesetenvl_ctx): Likewise.
4250 (libc_feupdateenv_ctx): Likewise.
4251 (libc_feupdateenvf_ctx): Likewise.
4252 (libc_feupdateenvl_ctx): Likewise.
4253 (libc_feresetround_ctx): Likewise.
4254 (libc_feresetroundf_ctx): Likewise.
4255 (libc_feresetroundl_ctx): Likewise.
4256 (libc_feholdsetround_ctx): Likewise.
4257 (libc_feholdsetroundf_ctx): Likewise.
4258 (libc_feholdsetroundl_ctx): Likewise.
4259
4260 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4261 with __USE_GNU instead of XOPEN cpp guards.
4262
4263 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
4264 0.
4265
4266 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4267 with XOPEN cpp guards.
4268
4269 2014-04-30 Julian Brown <julian@codesourcery.com>
4270
4271 [BZ #16888]
4272 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
4273 handling.
4274
4275 2014-04-30 Joseph Myers <joseph@codesourcery.com>
4276
4277 [BZ #9894]
4278 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
4279 Change to 2.6.32.
4280 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
4281 * sysdeps/unix/sysv/linux/configure: Regenerated.
4282 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
4283 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
4284 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
4285 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
4286 * README: Update reference to required Linux kernel version.
4287 * manual/install.texi (Linux): Update reference to required Linux
4288 kernel headers version.
4289 * INSTALL: Regenerated.
4290
4291 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
4292 header inclusion.
4293 [POSIX] (limits.h): Likewise.
4294 [POSIX] (math.h): Likewise.
4295 [POSIX] (sys/wait.h): Likewise.
4296 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
4297 function.
4298 [POSIX] (stddef.h): Do not allow header inclusion.
4299
4300 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4301
4302 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
4303
4304 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
4305
4306 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
4307 Return immediately after lll_futex_wake.
4308
4309 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4310
4311 [BZ #16791]
4312 * nscd/nscd-client.h (datahead_init_common): Initialize entire
4313 structure.
4314 (datahead_init_pos): Call datahead_init_common early.
4315 (datahead_init_neg): Likewise.
4316
4317 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
4318 datahead_init_neg): New functions.
4319 * nscd/aicache.c (addhstaiX): Use them.
4320 * nscd/grpcache.c (cache_addgr): Likewise.
4321 * nscd/hstcache.c (cache_addhst): Likewise.
4322 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4323 * nscd/netgroupcache.c (do_notfound): Likewise.
4324 (addgetnetgrentX): Likewise.
4325 (addinnetgrX): Likewise.
4326 * nscd/pwdcache.c (cache_addpw): Likewise.
4327 * nscd/servicescache.c (cache_addserv): Likewise.
4328
4329 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4330 Atsushi Onoe <atsushi@onoe.org>
4331
4332 [BZ #14308]
4333 [BZ #12994]
4334 [BZ #13651]
4335 * resolv/res_query.c (__libc_res_nsearch): Return if at least
4336 one response is valid.
4337 * resolv/res_send.c (send_dg): Check for validity of other
4338 response if the current response is a referral.
4339
4340 2014-04-29 Steve Ellcey <sellcey@mips.com>
4341
4342 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
4343
4344 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
4345
4346 [BZ #16823]
4347 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
4348 Always divide by positive zero when computing -Inf result.
4349 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4350 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
4351
4352 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4353
4354 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
4355 FPSCR if value do not change.
4356 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4357 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
4358 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4359 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4360 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
4361 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
4362 function.
4363
4364 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
4365
4366 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
4367 * sysdeps/unix/sysv/linux/hppa: Move directory from
4368 ports/systeps/unix/sysv/linux/hppa.
4369 * README: Update listing for hppa-*-linux-gnu.
4370
4371 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
4372
4373 [BZ #16754]
4374 * manual/stdio.texi (Hook functions): Fix types of stream hook
4375 functions.
4376 [BZ #16854]
4377 * socket/sys/socket.h: Fix typo in comment.
4378
4379 2014-04-28 Wilco <wdijkstr@arm.com>
4380
4381 * sysdeps/arm/fenv_private.h: New file.
4382 * sysdeps/arm/math_private.h: New file.
4383 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
4384
4385 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
4386
4387 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
4388 with __int128_t.
4389 (La_x86_64_retval): Likewise.
4390
4391 2014-04-24 Ian Bolton <ian.bolton@arm.com>
4392
4393 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
4394 fpsr if value didn't change.
4395 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
4396 to fpcr if value didn't change.
4397 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
4398 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
4399 fpsr or fpcr if value didn't change.
4400 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4401 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
4402 fpcr if value didn't change.
4403 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
4404 to fpsr if value didn't change.
4405
4406 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4407
4408 * nptl/tst-sem3.c: Use test-skeleton.c
4409 (main): Rename to do_test. Use return instead of
4410 exit.
4411 * nptl/tst-sem4.c: Use test-skeleton.c
4412 (main): Rename to do_test.
4413
4414 2014-04-22 David S. Miller <davem@davemloft.net>
4415
4416 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
4417 (struct sigaction): New struct member __glibc_reserved0, change
4418 type of sa_flags to int.
4419
4420 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
4421
4422 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
4423 (COUNT_LEADING_ZEROS_0): Define for AArch64.
4424
4425 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4426
4427 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
4428 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
4429
4430 2014-04-22 Will Newton <will.newton@linaro.org>
4431 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
4432
4433 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
4434 (__longjmp): Add longjmp and longjmp_target SystemTap
4435 probes.
4436 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
4437 (__sigsetjmp): Add setjmp SystemTap probe.
4438
4439 2014-04-17 Carlos O'Donell <carlos@redhat.com>
4440
4441 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
4442 match manual order.
4443
4444 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4445
4446 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
4447
4448 * sysdeps/powerpc/fpu/fenv_private.h
4449 (libc_feholdexcept_setroundl_ctx): Define to
4450 libc_feholdexcept_setround_ppc_ctx.
4451 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
4452 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
4453 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
4454 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
4455
4456 2014-04-17 Ian Bolton <ian.bolton@arm.com>
4457
4458 * sysdeps/aarch64/math-tests.h: New file.
4459
4460 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
4461
4462 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
4463 New.
4464 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4465 Check and set bit_AVX2_Usable.
4466 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
4467 macro.
4468 (bit_AVX2): Likewise.
4469 (index_AVX2_Usable): Likewise.
4470 (CPUID_AVX2): Likewise.
4471 (HAS_AVX2): Likewise.
4472
4473 2014-04-17 Will Newton <will.newton@linaro.org>
4474
4475 * manual/setjmp.texi (System V contexts): Add note that
4476 calling setcontext on a context created by a call to a
4477 signal handler is undefined. Update text to note that
4478 setcontext from a signal handler is possible but not
4479 recommended.
4480
4481 [BZ #16629]
4482 * stdlib/tst-setcontext.c: Include signal.h.
4483 (main): Check that the signal stack before and
4484 after swapcontext is the same.
4485
4486 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
4487 Re-implement to restore registers in user code and avoid
4488 rt_sigreturn system call.
4489
4490 2014-04-17 Wilco <wdijkstr@arm.com>
4491
4492 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
4493 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
4494 * math/test-fenv.c: Skip exception trap tests on targets which only
4495 support non-stop mode.
4496
4497 2014-04-17 Ian Bolton <ian.bolton@arm.com>
4498 Wilco Dijkstra <wilco.dijkstra@arm.com>
4499
4500 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
4501 (libc_feholdsetround_aarch64_ctx)
4502 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
4503 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
4504 (libc_feresetround_ctx, libc_feresetroundf_ctx)
4505 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
4506 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
4507 (libc_feresetround_noexl_ctx): Define.
4508
4509 2014-04-16 Richard Henderson <rth@redhat.com>
4510
4511 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
4512
4513 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
4514 unwind tables.
4515
4516 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
4517 const from the non-libc, non-ldso copy.
4518
4519 * sysdeps/alpha/libm-test-ulps: Regenerate.
4520
4521 2014-04-16 Ian Bolton <ian.bolton@arm.com>
4522 Wilco Dijkstra <wilco.dijkstra@arm.com>
4523
4524 * sysdeps/aarch64/fpu/math_private.h: New file.
4525
4526 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
4527
4528 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4529
4530 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
4531
4532 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
4533 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
4534 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
4535 Intel MPX bound registers before _dl_profile_fixup.
4536 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
4537 registers after _dl_profile_fixup. Save and restore bound
4538 registers bnd0/bnd1 when calling _dl_call_pltexit.
4539 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
4540 (LR_BND_OFFSET): Likewise.
4541 (LRV_BND0_OFFSET): Likewise.
4542 (LRV_BND1_OFFSET): Likewise.
4543
4544 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4545
4546 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
4547 to...
4548 * sysdeps/mach/hurd/i386/tls.h: ... here.
4549 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
4550 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
4551 fields.
4552
4553 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4554
4555 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
4556
4557 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4558
4559 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4560
4561 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4562
4563 [BZ #14770]
4564 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
4565 * sysdeps/s390/configure: Regenerate.
4566
4567 [BZ #16824]
4568 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
4569 Set round-to-nearest internally to reduce error accumulation.
4570
4571 2014-04-16 Alan Modra <amodra@gmail.com>
4572
4573 [BZ #16740]
4574 [BZ #16619]
4575 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
4576 * math/libm-test.inc (frexp_test_data): Add tests.
4577 * NEWS: Update fixed bug list.
4578
4579 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4580
4581 * benchtests/Makefile: Depend on libraries in build directory.
4582 (bench-math): Separate out math tests.
4583 (bench-pthread): Separate out pthread tests.
4584 (bench): Include math and pthread tests.
4585
4586 2014-04-14 Carlos O'Donell <carlos@redhat.com>
4587
4588 [BZ #16831]
4589 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
4590 _dl_debug_initialize.
4591
4592 * configure.ac: Remove SELinux header check.
4593 * configure: Regenerate.
4594 * nscd/selinux.c (perms): Array of const char* to permission names.
4595 (nscd_request_avc_has_perm): Call security_deny_unknown to find
4596 default policy. Call string_to_security_class and string_to_av_perm to
4597 translate strings. Enforce default policy and call avs_has_perm with
4598 results of translated strings.
4599
4600 2014-04-13 David S. Miller <davem@davemloft.net>
4601
4602 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4603
4604 2014-04-12 Allan McRae <allan@archlinux.org>
4605
4606 [BZ #16838]
4607 * manual/string.texi (Collation Functions): Fix qsort argument
4608 order in example.
4609 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4610
4611 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
4612
4613 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
4614 Make the test a no-op if there are no exceptions defined.
4615
4616 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
4617
4618 * elf/Makefile (tests): make tst-dlopen-aout conditional on
4619 enable-hardcoded-path-in-tests
4620
4621 2014-04-11 Will Newton <will.newton@linaro.org>
4622
4623 * benchtests/Makefile (extra-objs): Add json-lib.o.
4624 (bench-func): Tidy up JSON output.
4625 * benchtests/bench-skeleton.c: Include json-lib.h.
4626 (main): Use JSON library functions to do output of
4627 benchmark results.
4628 * benchtests/bench-timing-type.c (main): Output the
4629 timing type simply, leaving formatting to the user.
4630 * benchtests/json-lib.c: New file.
4631 * benchtests/json-lib.h: Likewise.
4632
4633 2014-04-11 Torvald Riegel <triegel@redhat.com>
4634
4635 [BZ #15215]
4636 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
4637 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
4638 memory barriers. Add comments.
4639 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
4640 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
4641 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
4642 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
4643 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
4644 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
4645
4646 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4647
4648 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
4649 * sysdeps/s390/s390-64/configure.ac: ... this ...
4650 * sysdeps/s390/configure.ac: ... to here.
4651 * sysdeps/s390/s390-32/configure: Delete file.
4652 * sysdeps/s390/s390-64/configure: Delete file.
4653 * sysdeps/s390/configure: Regenerate.
4654
4655 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
4656
4657 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
4658
4659 2014-04-11 Will Newton <will.newton@linaro.org>
4660
4661 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
4662 to zero if it is not defined elsewhere. (mtrim): Test
4663 the value of MALLOC_DEBUG with #if rather than #ifdef.
4664
4665 2014-04-10 Torvald Riegel <triegel@redhat.com>
4666
4667 * benchtests/pthread_once-inputs: New file.
4668 * benchtests/pthread_once-source.c: New file.
4669 * benchtests/README: Update documentation.
4670
4671 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
4672 H.J. Lu <hongjiu.lu@intel.com>
4673
4674 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
4675 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
4676 * sysdeps/x86_64/configure: Regenerated.
4677 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
4678 macro.
4679 (REGISTER_SAVE_RAX): Likewise.
4680 (REGISTER_SAVE_RCX): Likewise.
4681 (REGISTER_SAVE_RDX): Likewise.
4682 (REGISTER_SAVE_RSI): Likewise.
4683 (REGISTER_SAVE_RDI): Likewise.
4684 (REGISTER_SAVE_R8): Likewise.
4685 (REGISTER_SAVE_R9): Likewise.
4686 (REGISTER_SAVE_BND0): Likewise.
4687 (REGISTER_SAVE_BND1): Likewise.
4688 (REGISTER_SAVE_BND2): Likewise.
4689 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
4690 bound registers when calling _dl_fixup.
4691
4692 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4693
4694 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
4695 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
4696 of its definition.
4697 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
4698 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
4699 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
4700 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
4701 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
4702 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
4703 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
4704
4705 2014-04-09 Peter Brett <peter@peter-b.co.uk>
4706
4707 [BZ #15514]
4708 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
4709 pathconf(_PC_NAME_MAX).
4710
4711 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4712
4713 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
4714 Remove macro usage.
4715 (__PTHREAD_SPINS): Move definition to ...
4716 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4717 (__PTHREAD_SPINS): ... here.
4718 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4719 (__PTHREAD_SPIN): Likewise.
4720 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
4721 (__PTHREAD_SPIN): Likewise.
4722 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
4723 (__PTHREAD_SPIN): Likewise.
4724 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
4725 (__PTHREAD_SPIN): Likewise.
4726 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4727 (__PTHREAD_SPIN): Likewise.
4728 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4729 (__PTHREAD_SPIN): Likewise.
4730 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
4731 (__PTHREAD_SPIN): Likewise.
4732 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4733 (__PTHREAD_SPIN): Likewise.
4734 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4735 (__PTHREAD_SPIN): Likewise.
4736 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4737 (__PTHREAD_SPIN): Likewise.
4738 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4739 (__PTHREAD_SPIN): Likewise.
4740 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
4741 (__PTHREAD_SPIN): Likewise.
4742
4743 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
4744 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
4745 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
4746 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
4747 imply folder.
4748 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
4749 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
4750 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
4751 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
4752 correct imply path.
4753 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
4754 strlen symbol for non multi-arch builds.
4755 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
4756 missing hidden_def and weak_alias.
4757
4758 2014-04-08 Carlos O'Donell <carlos@redhat.com>
4759
4760 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
4761
4762 2014-04-07 Will Newton <will.newton@linaro.org>
4763
4764 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
4765 and contents. [!_LIBC] Remove #ifndef and contents.
4766 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
4767 * string/memccpy.c (__memccpy): Use ANSI prototype.
4768 * string/memfrob.c (memfrob): Likewise.
4769 * string/strcoll.c (STRCOLL): Likewise.
4770 * string/strlen.c (strlen): Likewise.
4771 * string/strtok.c (STRTOK): Likewise.
4772 * string/strcat.c: Remove unused #include of memcopy.h.
4773 (strcat): Use ANSI prototype.
4774 * string/strchr.c: Remove unused #include of memcopy.h.
4775 (strchr): Use ANSI prototype.
4776 * string/strcmp.c: Remove unused #include of memcopy.h.
4777 (strcmp): Use ANSI prototype.
4778 * string/strcpy.c: Remove unused #include of memcopy.h.
4779 (strcpy): Use ANSI prototype.
4780
4781 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4782
4783 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
4784 * config.make.in (config-extra-cppflags): Set it from
4785 libc_extra_cppflags.
4786 * configure.ac (libc_extra_cflags): Make it accumulate over
4787 configure fragments.
4788 (libc_extra_cppflags): New flag.
4789 * configure. Regenerate.
4790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4791 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
4792 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
4793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
4794
4795 [BZ #16815]
4796 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
4797 result for FE_DOWNWARD rounding mode.
4798 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4799 Likewise.
4800 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4801
4802 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
4803
4804 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
4805 in function argument name.
4806
4807 2014-04-03 David Svoboda <svoboda@cert.org>
4808
4809 [BZ #5666]
4810 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
4811 explicitly.
4812
4813 2014-04-03 Roland McGrath <roland@hack.frob.com>
4814
4815 * elf/dl-unmap-segments.h: New file.
4816 * sysdeps/generic/ldsodefs.h
4817 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
4818 * elf/dl-close.c: Include <dl-unmap-segments.h>.
4819 * elf/dl-fptr.c: Likewise.
4820 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
4821 * sysdeps/aarch64/tlsdesc.c: Likewise.
4822 * sysdeps/arm/tlsdesc.c: Likewise.
4823 * sysdeps/i386/tlsdesc.c: Likewise.
4824 * sysdeps/tile/dl-runtime.c: Likewise.
4825 * sysdeps/x86_64/tlsdesc.c: Likewise.
4826 * elf/dl-load.h: New file.
4827 * elf/dl-load.c: Include it.
4828 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
4829 Macros moved to dl-load.h.
4830 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
4831 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
4832 Use _dl_unmap_segments in place of __munmap.
4833 Break out segment-mapping loop into ...
4834 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
4835
4836 2014-04-03 Will Newton <will.newton@linaro.org>
4837
4838 * elf/dl-lookup.c (do_lookup_x): Remove comment
4839 referring to nested function and move variable
4840 declarations down to before first use.
4841
4842 2014-04-02 Joseph Myers <joseph@codesourcery.com>
4843
4844 [BZ #16799]
4845 [BZ #16800]
4846 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
4847 with 0 numerator.
4848 * math/s_catanf.c (__catanf): Likewise.
4849 * math/s_catanh.c (__catanh): Likewise.
4850 * math/s_catanhf.c (__catanhf): Likewise.
4851 * math/s_catanhl.c (__catanhl): Likewise.
4852 * math/s_catanl.c (__catanl): Likewise.
4853 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
4854 by positive zero when computing -Inf result.
4855 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
4856 (catanh_test): Likewise.
4857 * sysdeps/i386/fpu/libm-test-ulps: Update.
4858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4859
4860 [BZ #16789]
4861 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
4862 instead of using underflowing value in computing result.
4863 * math/s_clog10.c (__clog10): Likewise.
4864 * math/s_clog10f.c (__clog10f): Likewise.
4865 * math/s_clog10l.c (__clog10l): Likewise.
4866 * math/s_clogf.c (__clogf): Likewise.
4867 * math/s_clogl.c (__clogl): Likewise.
4868 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
4869 (clog10_test): Likewise.
4870 * sysdeps/i386/fpu/libm-test-ulps: Update.
4871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4872
4873 2014-04-02 Alan Modra <amodra@gmail.com>
4874
4875 [BZ #16739]
4876 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
4877 output when value is near a power of two. Use int64_t for lx and
4878 remove casts. Use decimal rather than hex exponent constants.
4879 Don't use long double multiplication when double will suffice.
4880 * math/libm-test.inc (nextafter_test_data): Add tests.
4881 * NEWS: Add 16739 and 16786 to bug list.
4882
4883 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
4884
4885 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
4886
4887 2014-04-01 Will Newton <will.newton@linaro.org>
4888
4889 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
4890 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
4891
4892 2014-04-01 Florian Weimer <fweimer@redhat.com>
4893
4894 [BZ #13347]
4895 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
4896 * nptl/tst-setuid2.c: New file.
4897 * nptl/Makefile (xtests): Add tst-setuid2.
4898
4899 2014-04-01 Alan Modra <amodra@gmail.com>
4900
4901 [BZ #16786]
4902 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
4903
4904 2014-03-31 Joseph Myers <joseph@codesourcery.com>
4905
4906 [BZ #6803]
4907 [BZ #6804]
4908 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
4909 set errno as appropriate.
4910 * math/w_scalbf.c (__scalbf): Likewise.
4911 * math/w_scalbl.c (__scalbl): Likewise.
4912 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
4913 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
4914 * math/libm-test.inc (scalb_test_data): Add errno expectations.
4915 Add more NaN tests.
4916
4917 [BZ #16349]
4918 * math/w_atan2.c: Include <errno.h>.
4919 (__atan2): Set errno for result underflowing to zero.
4920 * math/w_atan2f.c: Include <errno.h>.
4921 (__atan2f): Set errno for result underflowing to zero.
4922 * math/w_atan2l.c: Include <errno.h>.
4923 (__atan2l): Set errno for result underflowing to zero.
4924 * math/auto-libm-test-in: Don't allow missing errno for some atan2
4925 tests.
4926 * math/auto-libm-test-out: Regenerated.
4927
4928 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4929
4930 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4931 Encode instruction correctly in little endian.
4932 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4933 Likewise.
4934 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4935 Likewise.
4936 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4937 Likewise.
4938 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4939 Likewise.
4940
4941 2014-03-31 Joseph Myers <joseph@codesourcery.com>
4942
4943 [BZ #9894]
4944 * sysdeps/unix/sysv/linux/kernel-features.h
4945 [__sparc__ && !__arch64__ && !__sparc_v9__]
4946 (__ASSUME_SET_ROBUST_LIST): Do not define.
4947 [__sparc__ && !__arch64__ && !__sparc_v9__]
4948 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4949 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
4950 Likewise.
4951 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4952 (__ASSUME_FUTEX_LOCK_PI): Undefine.
4953 (__ASSUME_REQUEUE_PI): Likewise.
4954 (__ASSUME_SET_ROBUST_LIST): Likewise.
4955 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4956 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
4957 Undefine.
4958 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4959 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
4960 Likewise.
4961 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
4962 Likewise.
4963 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
4964 Likewise.
4965 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4966 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
4967 Undefine.
4968 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
4969 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
4970 Likewise.
4971
4972 [BZ #16648]
4973 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4974 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
4975 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
4976
4977 2014-03-31 Will Newton <will.newton@linaro.org>
4978
4979 * benchtests/Makefile (bench): Add ffs and ffsll to list
4980 of tests.
4981 * benchtests/ffs-inputs: New file.
4982 * benchtests/ffsll-inputs: Likewise.
4983
4984 2014-03-29 Joseph Myers <joseph@codesourcery.com>
4985
4986 [BZ #16770]
4987 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
4988 too large before casting to int.
4989 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
4990 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
4991 * math/libm-test.inc (scalb_test_data): Add more tests.
4992
4993 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4994
4995 * benchtests/Makefile (DETAILED_OPT): New make option.
4996 (bench-func): Run benchmark program with -d if DETAILED_OPT is
4997 set.
4998 * benchtests/bench-skeleton.c: Include stdbool.h.
4999 (main): Store and print timings per input.
5000 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
5001 member to each argument value.
5002 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
5003 (_print_arg_data): Initialize per-input timing to 0.
5004
5005 * benchtests/Makefile (timing-type): New binary.
5006 (bench-clean): Also remove bench-timing-type.
5007 (bench): New target for timing-type.
5008 (bench-func): Print output in JSON format.
5009 * benchtests/bench-skeleton.c (main): Print output in JSON
5010 format.
5011 * benchtests/bench-timing-type.c: New file.
5012 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
5013 (TIMING_PRINT_STATS): Remove.
5014 * benchtests/scripts/bench.py (_print_arg_data): Store variant
5015 name separately.
5016
5017 * benchtests/bench-modf.c: Remove.
5018 * benchtests/modf-inputs: New inputs file.
5019
5020 2014-03-28 Joseph Myers <joseph@codesourcery.com>
5021
5022 [BZ #16362]
5023 * math/s_clog10.c (M_PI_LOG10E): New macro.
5024 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
5025 imaginary parts are 0.
5026 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
5027 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
5028 imaginary parts are 0.
5029 * math/s_clog10l.c (M_PI_LOG10El): New macro.
5030 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
5031 imaginary parts are 0.
5032 * math/libm-test.inc (clog10_test_data): Update expected results
5033 for when real and imaginary parts are 0.
5034
5035 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
5036
5037 * elf/dl-load.c: Finish conversion of __builtin_expect into
5038 __glibc_{un}likely.
5039
5040 2014-03-27 Joseph Myers <joseph@codesourcery.com>
5041
5042 [BZ #16348]
5043 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
5044 1+x for argument with exponent below -67.
5045 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
5046 Likewise.
5047 * math/auto-libm-test-in: Add more tests of exp.
5048 * math/auto-libm-test-out: Regenerated.
5049
5050 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5051
5052 [BZ #16759]
5053 * inet/getnetgrent_r.c (get_nonempty_val): New function.
5054 (nscd_getnetgrent): Use it.
5055
5056 [BZ #16760]
5057 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
5058 of stpcpy.
5059
5060 2014-03-27 Andi Kleen <ak@linux.intel.com>
5061
5062 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
5063 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5064 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5065 (lll_robust_unlock): Remove out of line section. Use cfi
5066 intrinsics.
5067 (LLL_STUB_UNWIND_INFO*): Remove.
5068 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
5069 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5070 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5071 (lll_robust_unlock): Remove out of line section. Use cfi
5072 intrinsics.
5073 (LLL_STUB_UNWIND_INFO*): Remove.
5074
5075 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5076
5077 [BZ #16758]
5078 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
5079 blank values.
5080
5081 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
5082
5083 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
5084
5085 2014-03-26 Joseph Myers <joseph@codesourcery.com>
5086
5087 [BZ #16198]
5088 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
5089 fnstenv.
5090 * math/test-fenv-preserve.c: New file.
5091 * math/Makefile (tests): Add test-fenv-preserve.
5092
5093 2014-03-26 Will Newton <will.newton@linaro.org>
5094
5095 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
5096
5097 2014-03-25 Roland McGrath <roland@hack.frob.com>
5098
5099 * scripts/versionlist.awk: Partition the version sets and emit all
5100 GLIBC_* (sorted) before all others (sorted).
5101
5102 2014-03-25 Joseph Myers <joseph@codesourcery.com>
5103
5104 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
5105 GLIBC_2.2.5 version.
5106
5107 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5108
5109 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
5110 calls.
5111
5112 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
5113 previous change.
5114
5115 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5116
5117 2014-03-25 Andreas Schwab <schwab@suse.de>
5118
5119 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
5120 label to be used after in6ailist is initialized.
5121
5122 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5123
5124 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5125 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5126
5127 2014-03-25 Joseph Myers <joseph@codesourcery.com>
5128
5129 [BZ #16357]
5130 [BZ #16599]
5131 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
5132 min_plus_half.
5133 (fp_formats): Update initializers.
5134 (init_fp_formats): Initialize new field.
5135 (output_for_one_input_case): Allow underflow for results up to
5136 min_plus_half.
5137 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
5138 * math/auto-libm-test-in: Don't mark some underflows from asin and
5139 atanh as spurious.
5140 * math/auto-libm-test-out: Regenerated.
5141 * sysdeps/i386/fpu/libm-test-ulps: Update.
5142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5143
5144 2014-03-25 Andreas Schwab <schwab@suse.de>
5145
5146 * libio/Makefile (tst-ftell-partial-wide-ENV)
5147 (tst-ftell-active-handler-ENV): Define.
5148
5149 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
5150
5151 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
5152
5153 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5154
5155 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
5156
5157 2014-03-24 Joseph Myers <joseph@codesourcery.com>
5158
5159 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
5160 * sysdeps/x86_64/fpu/multiarch/e_exp.c
5161 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5162
5163 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5164
5165 [BZ #16634]
5166 * elf/dl-load.c (open_verify): Add mode parameter.
5167 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
5168 (open_path): Change from boolean 'secure' to complete flag 'mode'
5169 (_dl_map_object): Adjust.
5170 * elf/Makefile (tests): Add tst-dlopen-aout.
5171 * elf/tst-dlopen-aout.c: New test.
5172
5173 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5174
5175 [BZ #16714]
5176 * sysdeps/unix/sysv/linux/s390/bits/stat.h
5177 (struct stat): Rename member pad0 to __glibc_reserved0.
5178
5179 [BZ #16712]
5180 * sysdeps/s390/s390-32/bits/wordsize.h
5181 (__WORDSIZE32_SIZE_ULONG): New define.
5182 * sysdeps/s390/s390-64/bits/wordsize.h
5183 (__WORDSIZE32_SIZE_ULONG): Likewise.
5184 * sysdeps/generic/stdint.h (SIZE_MAX):
5185 Define as UL if __WORDSIZE32_SIZE_ULONG.
5186
5187 [BZ #16713]
5188 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
5189 (__glibc_reserved0): New variable.
5190 (sa_flags): Change type to int.
5191
5192 * posix/Makefile (before-compile): Use += before-compile instead
5193 of a :=.
5194
5195 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5196 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5197
5198 2014-03-20 Andreas Schwab <schwab@suse.de>
5199
5200 [BZ #16743]
5201 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
5202 non-matching result from nscd.
5203
5204 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5205
5206 * scripts/bench.py: Moved to ...
5207 * benchtests/scripts/bench.py: ... here.
5208 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
5209
5210 2014-03-24 Andreas Schwab <schwab@suse.de>
5211
5212 [BZ #16002]
5213 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
5214 alloca_account and account alloca use for struct in6ailist.
5215
5216 2014-03-24 Joseph Myers <joseph@codesourcery.com>
5217
5218 [BZ #16284]
5219 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
5220 rounding mode to recompute results that overflow to infinity or
5221 underflow to zero.
5222 * math/auto-libm-test-in: Don't mark tests as expected to fail for
5223 bug 16284.
5224 * math/auto-libm-test-out: Regenerated.
5225 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
5226 (ccosh_test): Likewise.
5227 (csin_test_data): Use plus_oflow.
5228 (csin_test): Use ALL_RM_TEST.
5229 (csinh_test_data): Use plus_oflow.
5230 (csinh_test): Use ALL_RM_TEST.
5231 * sysdeps/i386/fpu/libm-test-ulps: Update.
5232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5233
5234 2014-03-21 Joseph Myers <joseph@codesourcery.com>
5235
5236 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
5237 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
5238 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
5239
5240 [BZ #16731]
5241 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
5242 when x - 1 is zero.
5243 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
5244 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
5245 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5246 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
5247 argument is 1.
5248 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
5249 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
5250 zero.
5251 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
5252 * sysdeps/i386/fpu/libm-test-ulps: Update.
5253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5254
5255 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5256
5257 * scripts/bench.pl: Remove file.
5258 * scripts/bench.py: New benchmark script.
5259 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
5260 * benchtests/README: Mention python dependency.
5261 * scripts/pylintrc: New file.
5262 * scripts/pylint: New file.
5263
5264 * bits/mathdef.h: Use #ifdef instead of #if.
5265 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
5266 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5267 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
5268 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5269 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
5270 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5271
5272 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5273 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5274
5275 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
5276 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
5277 and strpbrk-ppc64 objects.
5278 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5279 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
5280 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
5281 multiarch strpbrk for POWER7.
5282 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
5283 multiarch strpbrk for PPC64.
5284 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
5285 ifunc selector.
5286 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
5287 strpbrk for POWER7.
5288
5289 2014-03-20 Joseph Myers <joseph@codesourcery.com>
5290
5291 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
5292 (atan_test): Likewise.
5293 (atanh_test_data): Use NO_TEST_INLINE for two tests.
5294 (atanh_test): Use ALL_RM_TEST.
5295 (atan2_test_data): Likewise.
5296 (cabs_test): Likewise.
5297 (cacosh_test): Likewise.
5298 (carg_test): Likewise.
5299 (casin_test): Likewise.
5300 (casinh_test): Likewise.
5301 (cbrt_test): Likewise.
5302 (csqrt_test): Likewise.
5303 (erf_test): Likewise.
5304 (erfc_test): Likewise.
5305 (pow10_test): Likewise.
5306 (exp2_test): Likewise.
5307 (hypot_test): Likewise.
5308 (j0_test): Likewise.
5309 (j1_test): Likewise.
5310 (lgamma_test): Likewise.
5311 (gamma_test): Likewise.
5312 (sincos_test): Likewise.
5313 (tanh_test): Likewise.
5314 (y0_test): Likewise.
5315 (y1_test): Likewise.
5316 * sysdeps/i386/fpu/libm-test-ulps: Update.
5317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5318
5319 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5320
5321 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
5322 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
5323 and strcspn-ppc64 objects.
5324 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5325 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
5326 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
5327 multiarch strcspn for POWER7.
5328 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
5329 multiarch strcspn for PPC64.
5330 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
5331 ifunc selector.
5332 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
5333 strcspn for POWER7.
5334
5335 2014-03-20 Joseph Myers <joseph@codesourcery.com>
5336
5337 * math/gen-libm-test.pl (generate_testfile): Expect only function
5338 name as argument to AUTO_TESTS_* and pass results for all rounding
5339 modes to parse_args.
5340 (parse_auto_input): Separate inputs of automatic tests from
5341 outputs before storing in %auto_tests.
5342 * math/libm-test.inc (acos_test_data): Update call to
5343 AUTO_TESTS_f_f.
5344 (acos_test): Use ALL_RM_TEST.
5345 (acos_tonearest_test_data): Remove.
5346 (acos_test_tonearest): Likewise.
5347 (acos_towardzero_test_data): Likewise.
5348 (acos_test_towardzero): Likewise.
5349 (acos_downward_test_data): Likewise.
5350 (acos_test_downward): Likewise.
5351 (acos_upward_test_data): Likewise.
5352 (acos_test_upward): Likewise.
5353 (acosh_test_data): Update call to AUTO_TESTS_f_f.
5354 (asin_test_data): Likewise.
5355 (asin_test): Use ALL_RM_TEST.
5356 (asin_tonearest_test_data): Remove.
5357 (asin_test_tonearest): Likewise.
5358 (asin_towardzero_test_data): Likewise.
5359 (asin_test_towardzero): Likewise.
5360 (asin_downward_test_data): Likewise.
5361 (asin_test_downward): Likewise.
5362 (asin_upward_test_data): Likewise.
5363 (asin_test_upward): Likewise.
5364 (asinh_test_data): Update call to AUTO_TESTS_f_f.
5365 (atan_test_data): Likewise.
5366 (atanh_test_data): Likewise.
5367 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
5368 (cabs_test_data): Update call to AUTO_TESTS_c_f.
5369 (carg_test_data): Likewise.
5370 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
5371 (ccos_test_data): Update call to AUTO_TESTS_c_c.
5372 (ccosh_test_data): Likewise.
5373 (cexp_test_data): Likewise.
5374 (clog_test_data): Likewise.
5375 (clog10_test_data): Likewise.
5376 (cos_test_data): Update call to AUTO_TESTS_f_f.
5377 (cos_test): Use ALL_RM_TEST.
5378 (cos_tonearest_test_data): Remove.
5379 (cos_test_tonearest): Likewise.
5380 (cos_towardzero_test_data): Likewise.
5381 (cos_test_towardzero): Likewise.
5382 (cos_downward_test_data): Likewise.
5383 (cos_test_downward): Likewise.
5384 (cos_upward_test_data): Likewise.
5385 (cos_test_upward): Likewise.
5386 (cosh_test_data): Update call to AUTO_TESTS_f_f.
5387 (cosh_test): Use ALL_RM_TEST.
5388 (cosh_tonearest_test_data): Remove.
5389 (cosh_test_tonearest): Likewise.
5390 (cosh_towardzero_test_data): Likewise.
5391 (cosh_test_towardzero): Likewise.
5392 (cosh_downward_test_data): Likewise.
5393 (cosh_test_downward): Likewise.
5394 (cosh_upward_test_data): Likewise.
5395 (cosh_test_upward): Likewise.
5396 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
5397 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
5398 (ctan_test_data): Likewise.
5399 (ctan_test): Use ALL_RM_TEST.
5400 (ctan_tonearest_test_data): Remove.
5401 (ctan_test_tonearest): Likewise.
5402 (ctan_towardzero_test_data): Likewise.
5403 (ctan_test_towardzero): Likewise.
5404 (ctan_downward_test_data): Likewise.
5405 (ctan_test_downward): Likewise.
5406 (ctan_upward_test_data): Likewise.
5407 (ctan_test_upward): Likewise.
5408 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
5409 (ctanh_test): Use ALL_RM_TEST.
5410 (ctanh_tonearest_test_data): Remove.
5411 (ctanh_test_tonearest): Likewise.
5412 (ctanh_towardzero_test_data): Likewise.
5413 (ctanh_test_towardzero): Likewise.
5414 (ctanh_downward_test_data): Likewise.
5415 (ctanh_test_downward): Likewise.
5416 (ctanh_upward_test_data): Likewise.
5417 (ctanh_test_upward): Likewise.
5418 (erf_test_data): Update call to AUTO_TESTS_f_f.
5419 (erfc_test_data): Likewise.
5420 (exp_test_data): Likewise.
5421 (exp_test): Use ALL_RM_TEST.
5422 (exp_tonearest_test_data): Remove.
5423 (exp_test_tonearest): Likewise.
5424 (exp_towardzero_test_data): Likewise.
5425 (exp_test_towardzero): Likewise.
5426 (exp_downward_test_data): Likewise.
5427 (exp_test_downward): Likewise.
5428 (exp_upward_test_data): Likewise.
5429 (exp_test_upward): Likewise.
5430 (exp10_test_data): Update call to AUTO_TESTS_f_f.
5431 (exp10_test): Use ALL_RM_TEST.
5432 (exp10_tonearest_test_data): Remove.
5433 (exp10_test_tonearest): Likewise.
5434 (exp10_towardzero_test_data): Likewise.
5435 (exp10_test_towardzero): Likewise.
5436 (exp10_downward_test_data): Likewise.
5437 (exp10_test_downward): Likewise.
5438 (exp10_upward_test_data): Likewise.
5439 (exp10_test_upward): Likewise.
5440 (exp2_test_data): Update call to AUTO_TESTS_f_f.
5441 (expm1_test_data): Likewise.
5442 (expm1_test): Use ALL_RM_TEST.
5443 (expm1_tonearest_test_data): Remove.
5444 (expm1_test_tonearest): Likewise.
5445 (expm1_towardzero_test_data): Likewise.
5446 (expm1_test_towardzero): Likewise.
5447 (expm1_downward_test_data): Likewise.
5448 (expm1_test_downward): Likewise.
5449 (expm1_upward_test_data): Likewise.
5450 (expm1_test_upward): Likewise.
5451 (fma_test_data): Update call to AUTO_TESTS_fff_f.
5452 (fma_test): Use ALL_RM_TEST.
5453 (fma_towardzero_test_data): Remove.
5454 (fma_test_towardzero): Likewise.
5455 (fma_downward_test_data): Likewise.
5456 (fma_test_downward): Likewise.
5457 (fma_upward_test_data): Likewise.
5458 (fma_test_upward): Likewise.
5459 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
5460 (j0_test_data): Update call to AUTO_TESTS_f_f.
5461 (j1_test_data): Likewise.
5462 (jn_test_data): Update call to AUTO_TESTS_if_f.
5463 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
5464 (log_test_data): Update call to AUTO_TESTS_f_f.
5465 (log10_test_data): Likewise.
5466 (log1p_test_data): Likewise.
5467 (log2_test_data): Likewise.
5468 (pow_test_data): Update call to AUTO_TESTS_ff_f.
5469 (pow_tonearest_test_data): Likewise.
5470 (sin_test_data): Update call to AUTO_TESTS_f_f.
5471 (sin_test): Use ALL_RM_TEST.
5472 (sin_tonearest_test_data): Remove.
5473 (sin_test_tonearest): Likewise.
5474 (sin_towardzero_test_data): Likewise.
5475 (sin_test_towardzero): Likewise.
5476 (sin_downward_test_data): Likewise.
5477 (sin_test_downward): Likewise.
5478 (sin_upward_test_data): Likewise.
5479 (sin_test_upward): Likewise.
5480 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
5481 (sinh_test_data): Update call to AUTO_TESTS_f_f.
5482 (sinh_test): Use ALL_RM_TEST.
5483 (sinh_tonearest_test_data): Remove.
5484 (sinh_test_tonearest): Likewise.
5485 (sinh_towardzero_test_data): Likewise.
5486 (sinh_test_towardzero): Likewise.
5487 (sinh_downward_test_data): Likewise.
5488 (sinh_test_downward): Likewise.
5489 (sinh_upward_test_data): Likewise.
5490 (sinh_test_upward): Likewise.
5491 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
5492 (sqrt_test): Use ALL_RM_TEST.
5493 (sqrt_tonearest_test_data): Remove.
5494 (sqrt_test_tonearest): Likewise.
5495 (sqrt_towardzero_test_data): Likewise.
5496 (sqrt_test_towardzero): Likewise.
5497 (sqrt_downward_test_data): Likewise.
5498 (sqrt_test_downward): Likewise.
5499 (sqrt_upward_test_data): Likewise.
5500 (sqrt_test_upward): Likewise.
5501 (tan_test_data): Update call to AUTO_TESTS_f_f.
5502 (tan_test): Use ALL_RM_TEST.
5503 (tan_tonearest_test_data): Remove.
5504 (tan_test_tonearest): Likewise.
5505 (tan_towardzero_test_data): Likewise.
5506 (tan_test_towardzero): Likewise.
5507 (tan_downward_test_data): Likewise.
5508 (tan_test_downward): Likewise.
5509 (tan_upward_test_data): Likewise.
5510 (tan_test_upward): Likewise.
5511 (tanh_test_data): Update call to AUTO_TESTS_f_f.
5512 (tgamma_test_data): Likewise.
5513 (y0_test_data): Likewise.
5514 (y1_test_data): Likewise.
5515 (yn_test_data): Update call to AUTO_TESTS_if_f.
5516 (main): Do not call removed functions.
5517
5518 2014-03-19 Joseph Myers <joseph@codesourcery.com>
5519
5520 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
5521 (ldexp_test_data): Remove.
5522 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
5523 scalbn_test_data.
5524 (scalb_test): Use ALL_RM_TEST.
5525
5526 2014-03-19 Andreas Schwab <schwab@suse.de>
5527
5528 * nscd/nscd.service: Also invalidate netgroup cache on reload.
5529
5530 2014-03-19 Joseph Myers <joseph@codesourcery.com>
5531
5532 [BZ #16649]
5533 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5534 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
5535 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
5536 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5537 (__ASSUME_PREADV): Undefine.
5538 (__ASSUME_PWRITEV): Likewise.
5539
5540 2014-03-18 Roland McGrath <roland@hack.frob.com>
5541
5542 * bits/mman-linux.h: Add comment about non-Linux use.
5543 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
5544 bits/mman-linux.h resting place.
5545
5546 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
5547 * bits/mman-linux.h: ... here.
5548
5549 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5550
5551 * conform/conformtest.pl: Add standard definition when calling C
5552 preprocessor on data files.
5553 (checknamespace): Remove unused variable.
5554
5555 2014-03-18 Joseph Myers <joseph@codesourcery.com>
5556
5557 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
5558 minus_oflow, plus_uflow and minus_uflow in expected results.
5559 * math/libm-test.inc (scalbn_test_data): Add more tests of
5560 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
5561 minus_uflow.
5562 (scalbn_test): Use ALL_RM_TEST.
5563 (scalbln_test_data): Add more tests of negative arguments. Use
5564 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
5565 (scalbln_test): Use ALL_RM_TEST.
5566
5567 2014-03-18 Roland McGrath <roland@hack.frob.com>
5568
5569 * scripts/abilist.awk: Ignore symbols marked with .hidden.
5570
5571 2014-03-18 Will Newton <will.newton@linaro.org>
5572
5573 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
5574 inaccurate comment.
5575
5576 2014-03-18 Joseph Myers <joseph@codesourcery.com>
5577
5578 * Makerules [!subdir] (check-abi): Exit with error status if a
5579 test failed.
5580
5581 2014-03-17 Joseph Myers <joseph@codesourcery.com>
5582
5583 * math/libm-test.inc (nearbyint_test_data): Include all tests used
5584 for rint. Include results for all rounding modes.
5585 (nearbyint_test): Use ALL_RM_TEST.
5586 (rint_test_data): Include all tests used for nearbyint.
5587
5588 2014-03-17 Will Newton <will.newton@linaro.org>
5589
5590 * nptl/sysdeps/pthread/pthread.h: Revert previous
5591 change.
5592
5593 * sysdeps/generic/ldsodefs.h: Revert previous
5594 change.
5595
5596 * libio/genops.c: Revert previous change.
5597 * libio/libioP.h: Likewise.
5598 * stdio-common/vfprintf.c: Likewise.
5599
5600 * sysdeps/generic/math_private.h: Revert previous
5601 change.
5602
5603 * sysdeps/generic/math_private.h: Check whether
5604 HAVE_RM_CTX is defined with #ifdef rather
5605 than #if.
5606
5607 * argp/argp-fmtstream.h: Check whether
5608 __STRICT_ANSI__ is defined with #ifdef rather
5609 than #if.
5610 * argp/argp.h: Likewise.
5611
5612 * libio/genops.c: Check whether
5613 _IO_JUMPS_OFFSET is defined with #ifdef rather
5614 than #if.
5615 * libio/libioP.h: Likewise.
5616 * stdio-common/vfprintf.c: Likewise.
5617
5618 * sysdeps/generic/ldsodefs.h: Check whether
5619 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
5620 than #if.
5621
5622 * nptl/sysdeps/pthread/pthread.h: Check
5623 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
5624 its value.
5625
5626 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5627
5628 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
5629 setting O_APPEND.
5630 * libio/tst-ftell-active-handler.c (do_append_test): Add a
5631 test case.
5632
5633 [BZ #16680]
5634 * libio/fileops.c (_IO_file_open): Seek to end of file but
5635 don't cache the offset.
5636 (get_file_offset): Remove function.
5637 (do_ftell): Use cached offset when available.
5638 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
5639 don't cache the offset.
5640 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
5641 case.
5642 (do_one_test): Call it.
5643 (do_ftell_test): Fix up expected old offset for a+ mode.
5644 * libio/wfileops.c (do_ftell_wide): Used cached offset when
5645 available.
5646
5647 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
5648 up test status with function return status.
5649 (do_write_test): Likewise.
5650 (do_append_test): Likewise.
5651
5652 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
5653 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
5654 Remove.
5655
5656 2014-03-17 Joseph Myers <joseph@codesourcery.com>
5657
5658 * math/gen-libm-test.pl (parse_args): Handle results specified for
5659 each rounding mode separately.
5660 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
5661 tests and results from lrint_tonearest_test_data,
5662 lrint_towardzero_test_data, lrint_downward_test_data and
5663 lrint_upward_test_data.
5664 (lrint_test): Use ALL_RM_TEST.
5665 (lrint_tonearest_test_data): Remove.
5666 (lrint_test_tonearest): Likewise.
5667 (lrint_towardzero_test_data): Likewise.
5668 (lrint_test_towardzero): Likewise.
5669 (lrint_downward_test_data): Likewise.
5670 (lrint_test_downward): Likewise.
5671 (lrint_upward_test_data): Likewise.
5672 (lrint_test_upward): Likewise.
5673 (llrint_test_data): Merge in per-rounding-mode tests and results
5674 from llrint_tonearest_test_data, llrint_towardzero_test_data,
5675 llrint_downward_test_data and llrint_upward_test_data.
5676 (llrint_test): Use ALL_RM_TEST.
5677 (llrint_tonearest_test_data): Remove.
5678 (llrint_test_tonearest): Likewise.
5679 (llrint_towardzero_test_data): Likewise.
5680 (llrint_test_towardzero): Likewise.
5681 (llrint_downward_test_data): Likewise.
5682 (llrint_test_downward): Likewise.
5683 (llrint_upward_test_data): Likewise.
5684 (llrint_test_upward): Likewise.
5685 (rint_test_data): Merge in per-rounding-mode tests and results
5686 from rint_tonearest_test_data, rint_towardzero_test_data,
5687 rint_downward_test_data and rint_upward_test_data. Add
5688 per-rounding-mode results for tests not in those arrays.
5689 (rint_test): Use ALL_RM_TEST.
5690 (rint_tonearest_test_data): Remove.
5691 (rint_test_tonearest): Likewise.
5692 (rint_towardzero_test_data): Likewise.
5693 (rint_test_towardzero): Likewise.
5694 (rint_downward_test_data): Likewise.
5695 (rint_test_downward): Likewise.
5696 (rint_upward_test_data): Likewise.
5697 (rint_test_upward): Likewise.
5698 (main): Don't call removed functions.
5699
5700 2014-03-14 Roland McGrath <roland@hack.frob.com>
5701
5702 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
5703 "Compiled on ..." crapola. It is anti-useful.
5704
5705 2014-03-14 Joseph Myers <joseph@codesourcery.com>
5706
5707 * scripts/evaluate-test.sh: Handle fourth argument to determine
5708 whether test run should stop on failure.
5709 * Makeconfig (stop-on-test-failure): New variable.
5710 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
5711 $(stop-on-test-failure).
5712 * Makefile (tests): Give a summary of results from testing and
5713 exit with failure status if they include an ERROR or FAIL.
5714 (xtests): Likewise.
5715 * manual/install.texi (Configuring and compiling): Mention
5716 stop-on-test-failure=y.
5717 * INSTALL: Regenerated.
5718
5719 2014-03-14 Roland McGrath <roland@hack.frob.com>
5720
5721 * scripts/versionlist.awk: New file.
5722 * Makerules [$(build-shared) = yes]
5723 (postclean-generated): Add Versions.def, not Versions.def.v and
5724 Versions.def.v.i.
5725 ($(common-objpfx)Versions.def.v.i): Target removed.
5726 ($(common-objpfx)Versions.def): New target.
5727 ($(common-objpfx)Versions.all): Depend on that rather that
5728 $(common-objpfx)Versions.def.v.
5729 * Versions.def: File removed.
5730
5731 * Makeconfig (+gccwarn): Add -Wundef.
5732 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
5733 a dl-sysdep.h breaking its contract.
5734 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
5735 * include/stackinfo.h: New file.
5736 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
5737 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
5738 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
5739 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
5740 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
5741 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
5742 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5743 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5744 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5745 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5746 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5747 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
5748 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5749 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5750 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5751
5752 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5753
5754 [BZ #16707]
5755 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
5756 implementation.
5757 * math/libm-test.inc (round_test_data): Add more tests.
5758
5759 [BZ #16706]
5760 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
5761 implementation.
5762 * math/libm-test.inc (nearbyint_test_data): Add more tests.
5763
5764 [BZ #16701]
5765 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
5766 implementation.
5767 * math/libm-test.inc (ceil_test_data): Add more tests.
5768
5769 * math/libm-test.inc (trunc_test_data): Add more tests related to
5770 BZ#16414.
5771
5772 2014-03-14 Roland McGrath <roland@hack.frob.com>
5773
5774 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
5775 with #if rather than #ifdef.
5776 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
5777
5778 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
5779
5780 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
5781 first. Disable AVX-512 GCC support if assembler doesn't support
5782 it.
5783 * sysdeps/x86_64/configure: Regenerated.
5784
5785 2014-03-13 Carlos O'Donell <carlos@redhat.com>
5786
5787 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
5788 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
5789 (__old_pthread_attr_setstack): Likewise.
5790 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
5791 [!_STACK_GROWS_DOWN]: Likewise.
5792
5793 2014-03-13 Mike Frysinger <vapier@gentoo.org>
5794
5795 * config.make.in (have-bash2): Delete.
5796 * configure.ac (libc_cv_have_bash2): Delete.
5797 * configure: Regenerate.
5798 * elf/Makefile (common-ldd-rewrite): Rename to ...
5799 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
5800 (sh-ldd-rewrite): Delete.
5801 (bash-ldd-rewrite): Delete.
5802 (have-bash2): Delete checks.
5803 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
5804 ldd-rewrite.
5805
5806 * config.make.in (have-ksh): Delete.
5807 (KSH): Delete.
5808 * configure.ac (libc_cv_have_ksh): Delete.
5809 * configure: Regenerate.
5810
5811 * elf/Makefile: Delete $(have-ksh) check.
5812 ($(objpfx)sotruss): Change KSH to BASH.
5813 * elf/sotruss.ksh: Rename to ...
5814 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
5815 function style to match POSIX. Drop ksh vim mode setting.
5816
5817 * manual/time.texi (Specifying the Time Zone with TZ): Change
5818 Tuesday to Thursday.
5819
5820 * debug/tst-longjmp_chk2.c: Update header comment.
5821 (stackoverflow_handler): Add comment. Call assert on pass value.
5822
5823 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
5824
5825 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
5826 (HAVE_AVX512_ASM_SUPPORT): Likewise.
5827 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
5828 (La_x86_64_vector): Add zmm.
5829 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
5830 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
5831 ($(objpfx)tst-audit10): New target.
5832 ($(objpfx)tst-audit10.out): Likewise.
5833 (tst-audit10-ENV): New.
5834 (AVX512-CFLAGS): Likewise.
5835 (CFLAGS-tst-audit10.c): Likewise.
5836 (CFLAGS-tst-auditmod10a.c): Likewise.
5837 (CFLAGS-tst-auditmod10b.c): Likewise.
5838 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
5839 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
5840 * sysdeps/x86_64/configure: Regenerated.
5841 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
5842 AVX-512 zmm register support.
5843 (_dl_x86_64_save_sse): Likewise.
5844 (_dl_x86_64_restore_sse): Likewise.
5845 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
5846 size vector registers.
5847 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
5848 (ZMM_SIZE): Likewise.
5849 * sysdeps/x86_64/tst-audit10.c: New file.
5850 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
5851 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
5852
5853 2014-03-13 Roland McGrath <roland@hack.frob.com>
5854
5855 * configure.ac (HAVE_EHDR_START): New check.
5856 * configure: Regenerated.
5857 * config.h.in (HAVE_EHDR_START): New #undef.
5858 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
5859 assuming the lowest-addressed segment maps the start of the file.
5860
5861 2014-03-13 Joseph Myers <joseph@codesourcery.com>
5862
5863 * INSTALL: Regenerated.
5864
5865 2014-03-13 Will Newton <will.newton@linaro.org>
5866
5867 * manual/setjmp.texi (System V contexts): Improve
5868 clarity and grammar of documentation.
5869
5870 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
5871
5872 [BZ #16381]
5873 * elf/Makefile (tests): Add tst-pie2.
5874 (tests-pie): Add tst-pie2.
5875 * elf/tst-pie2.c: New file.
5876 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
5877 for ET_EXEC.
5878 * elf/rtld.c (map_doit): Load executable as lt_executable.
5879 (dl_main): Likewise.
5880
5881 2014-03-12 Joseph Myers <joseph@codesourcery.com>
5882
5883 [BZ #16642]
5884 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5885 (__ASSUME_PSELECT): Undefine.
5886
5887 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5888
5889 [BZ #16689]
5890 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
5891 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
5892 static build.
5893 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
5894 selector for static builds.
5895
5896 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5897
5898 [BZ #16695]
5899 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
5900 key in the buffer.
5901
5902 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5903
5904 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
5905 IFUNC selector for static builds.
5906
5907 2014-03-11 Joseph Myers <joseph@codesourcery.com>
5908
5909 * sysdeps/mips/math_private.h [__mips_hard_float]
5910 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
5911 libc_feresetround_mips_ctx.
5912 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
5913 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
5914 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
5915
5916 [BZ #16677]
5917 * math/s_nextafter.c (__nextafter): Do not return value from
5918 overflowing computation.
5919 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
5920 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
5921 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
5922 Likewise.
5923 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5924 Likewise.
5925 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
5926 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
5927
5928 2014-03-11 Roland McGrath <roland@hack.frob.com>
5929
5930 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
5931 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
5932 Move sfi_sp use from the load-multiple (that no longer sets sp) to
5933 the new mov targetting sp.
5934
5935 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5936
5937 [BZ #16683]
5938 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
5939 Define it for static builds as well.
5940 (NO_BZERO_IMPL): Likewise.
5941
5942 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5943
5944 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
5945 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
5946 multiarch strspn for PPC64.
5947 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
5948 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
5949 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5950 (__libc_ifunc_impl_list): Likewise.
5951 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
5952 multiarch optimizations
5953 * string/strspn.c (strspn): Using macro to redefine symbol name.
5954
5955 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5956 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5957
5958 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
5959 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
5960 multiarch strncat for PPC64.
5961 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
5962 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
5963 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5964 (__libc_ifunc_impl_list): Likewise.
5965 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
5966 multiarch optimizations
5967
5968 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5969
5970 [BZ #16639]
5971 * nscd/nscd.service: Make service type forking.
5972
5973 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5974
5975 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
5976 sign in non default rounding modes.
5977 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5978
5979 2014-03-08 Joseph Myers <joseph@codesourcery.com>
5980
5981 * math/libm-test.inc (ALL_RM_TEST): New macro.
5982 (ceil_test): Use ALL_RM_TEST.
5983 (cimag_test): Likewise.
5984 (conj_test): Likewise.
5985 (copysign_test): Likewise.
5986 (cproj_test): Likewise.
5987 (creal_test): Likewise.
5988 (fabs_test): Likewise.
5989 (floor_test): Likewise.
5990 (fmax_test): Likewise.
5991 (fmin_test): Likewise.
5992 (fmod_test): Likewise.
5993 (fpclassify_test): Likewise.
5994 (frexp_test): Likewise.
5995 (ilogb_test): Likewise.
5996 (isfinite_test): Likewise.
5997 (finite_test): Likewise.
5998 (isgreater_test): Likewise.
5999 (isgreaterequal_test): Likewise.
6000 (isinf_test): Likewise.
6001 (isless_test): Likewise.
6002 (islessequal_test): Likewise.
6003 (islessgreater_test): Likewise.
6004 (isnan_test): Likewise.
6005 (isnormal_test): Likewise.
6006 (issignaling_test): Likewise.
6007 (isunordered_test): Likewise.
6008 (logb_test): Likewise.
6009 (logb_downward_test_data): Remove.
6010 (logb_test_downward): Likewise.
6011 (lround_test): Use ALL_RM_TEST.
6012 (llround_test): Likewise.
6013 (modf_test): Likewise.
6014 (nexttoward_test): Likewise.
6015 (remainder_test): Likewise.
6016 (drem_test): Likewise.
6017 (remainder_tonearest_test_data): Likewise.
6018 (remainder_test_tonearest): Likewise.
6019 (drem_test_tonearest): Likewise.
6020 (remainder_towardzero_test_data): Likewise.
6021 (remainder_test_towardzero): Likewise.
6022 (drem_test_towardzero): Likewise.
6023 (remainder_downward_test_data): Likewise.
6024 (remainder_test_downward): Likewise.
6025 (drem_test_downward): Likewise.
6026 (remainder_upward_test_data): Likewise.
6027 (remainder_test_upward): Likewise.
6028 (drem_test_upward): Likewise.
6029 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
6030 (round_test): Use ALL_RM_TEST.
6031 (signbit_test): Likewise.
6032 (trunc_test): Likewise.
6033 (significand_test): Likewise.
6034 (main): Don't call removed functions.
6035
6036 2014-03-07 Joseph Myers <joseph@codesourcery.com>
6037
6038 [BZ #16674]
6039 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
6040 || __USE_XOPEN2K8].
6041 (ILL_ILLOPN): Likewise.
6042 (ILL_ILLADR): Likewise.
6043 (ILL_ILLTRP): Likewise.
6044 (ILL_PRVOPC): Likewise.
6045 (ILL_PRVREG): Likewise.
6046 (ILL_COPROC): Likewise.
6047 (ILL_BADSTK): Likewise.
6048 (FPE_INTDIV): Likewise.
6049 (FPE_INTOVF): Likewise.
6050 (FPE_FLTDIV): Likewise.
6051 (FPE_FLTOVF): Likewise.
6052 (FPE_FLTUND): Likewise.
6053 (FPE_FLTRES): Likewise.
6054 (FPE_FLTINV): Likewise.
6055 (FPE_FLTSUB): Likewise.
6056 (SEGV_MAPERR): Likewise.
6057 (SEGV_ACCERR): Likewise.
6058 (BUS_ADRALN): Likewise.
6059 (BUS_ADRERR): Likewise.
6060 (BUS_OBJERR): Likewise.
6061 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6062 (TRAP_TRACE): Likewise.
6063 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6064 __USE_XOPEN2K8].
6065 (CLD_KILLED): Likewise.
6066 (CLD_DUMPED): Likewise.
6067 (CLD_TRAPPED): Likewise.
6068 (CLD_STOPPED): Likewise.
6069 (CLD_CONTINUED): Likewise.
6070 (POLL_IN): Likewise.
6071 (POLL_OUT): Likewise.
6072 (POLL_MSG): Likewise.
6073 (POLL_ERR): Likewise.
6074 (POLL_PRI): Likewise.
6075 (POLL_HUP): Likewise.
6076 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
6077 Likewise.
6078 (ILL_ILLOPN): Likewise.
6079 (ILL_ILLADR): Likewise.
6080 (ILL_ILLTRP): Likewise.
6081 (ILL_PRVOPC): Likewise.
6082 (ILL_PRVREG): Likewise.
6083 (ILL_COPROC): Likewise.
6084 (ILL_BADSTK): Likewise.
6085 (FPE_INTDIV): Likewise.
6086 (FPE_INTOVF): Likewise.
6087 (FPE_FLTDIV): Likewise.
6088 (FPE_FLTOVF): Likewise.
6089 (FPE_FLTUND): Likewise.
6090 (FPE_FLTRES): Likewise.
6091 (FPE_FLTINV): Likewise.
6092 (FPE_FLTSUB): Likewise.
6093 (SEGV_MAPERR): Likewise.
6094 (SEGV_ACCERR): Likewise.
6095 (BUS_ADRALN): Likewise.
6096 (BUS_ADRERR): Likewise.
6097 (BUS_OBJERR): Likewise.
6098 (BUS_MCEERR_AR): Likewise.
6099 (BUS_MCEERR_AO): Likewise.
6100 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6101 (TRAP_TRACE): Likewise.
6102 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6103 __USE_XOPEN2K8].
6104 (CLD_KILLED): Likewise.
6105 (CLD_DUMPED): Likewise.
6106 (CLD_TRAPPED): Likewise.
6107 (CLD_STOPPED): Likewise.
6108 (CLD_CONTINUED): Likewise.
6109 (POLL_IN): Likewise.
6110 (POLL_OUT): Likewise.
6111 (POLL_MSG): Likewise.
6112 (POLL_ERR): Likewise.
6113 (POLL_PRI): Likewise.
6114 (POLL_HUP): Likewise.
6115 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
6116 (ILL_ILLOPN): Likewise.
6117 (ILL_ILLADR): Likewise.
6118 (ILL_ILLTRP): Likewise.
6119 (ILL_PRVOPC): Likewise.
6120 (ILL_PRVREG): Likewise.
6121 (ILL_COPROC): Likewise.
6122 (ILL_BADSTK): Likewise.
6123 (FPE_INTDIV): Likewise.
6124 (FPE_INTOVF): Likewise.
6125 (FPE_FLTDIV): Likewise.
6126 (FPE_FLTOVF): Likewise.
6127 (FPE_FLTUND): Likewise.
6128 (FPE_FLTRES): Likewise.
6129 (FPE_FLTINV): Likewise.
6130 (FPE_FLTSUB): Likewise.
6131 (SEGV_MAPERR): Likewise.
6132 (SEGV_ACCERR): Likewise.
6133 (BUS_ADRALN): Likewise.
6134 (BUS_ADRERR): Likewise.
6135 (BUS_OBJERR): Likewise.
6136 (BUS_MCEERR_AR): Likewise.
6137 (BUS_MCEERR_AO): Likewise.
6138 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6139 (TRAP_TRACE): Likewise.
6140 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6141 __USE_XOPEN2K8].
6142 (CLD_KILLED): Likewise.
6143 (CLD_DUMPED): Likewise.
6144 (CLD_TRAPPED): Likewise.
6145 (CLD_STOPPED): Likewise.
6146 (CLD_CONTINUED): Likewise.
6147 (POLL_IN): Likewise.
6148 (POLL_OUT): Likewise.
6149 (POLL_MSG): Likewise.
6150 (POLL_ERR): Likewise.
6151 (POLL_PRI): Likewise.
6152 (POLL_HUP): Likewise.
6153 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
6154 Likewise.
6155 (ILL_ILLOPN): Likewise.
6156 (ILL_ILLADR): Likewise.
6157 (ILL_ILLTRP): Likewise.
6158 (ILL_PRVOPC): Likewise.
6159 (ILL_PRVREG): Likewise.
6160 (ILL_COPROC): Likewise.
6161 (ILL_BADSTK): Likewise.
6162 (ILL_BADIADDR): Likewise.
6163 (ILL_BREAK): Likewise.
6164 (FPE_INTDIV): Likewise.
6165 (FPE_INTOVF): Likewise.
6166 (FPE_FLTDIV): Likewise.
6167 (FPE_FLTOVF): Likewise.
6168 (FPE_FLTUND): Likewise.
6169 (FPE_FLTRES): Likewise.
6170 (FPE_FLTINV): Likewise.
6171 (FPE_FLTSUB): Likewise.
6172 (FPE_DECOVF): Likewise.
6173 (FPE_DECDIV): Likewise.
6174 (FPE_DECERR): Likewise.
6175 (FPE_INVASC): Likewise.
6176 (FPE_INVDEC): Likewise.
6177 (SEGV_MAPERR): Likewise.
6178 (SEGV_ACCERR): Likewise.
6179 (SEGV_PSTKOVF): Likewise.
6180 (BUS_ADRALN): Likewise.
6181 (BUS_ADRERR): Likewise.
6182 (BUS_OBJERR): Likewise.
6183 (BUS_MCEERR_AR): Likewise.
6184 (BUS_MCEERR_AO): Likewise.
6185 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6186 (TRAP_TRACE): Likewise.
6187 (TRAP_BRANCH): Likewise.
6188 (TRAP_HWBKPT): Likewise.
6189 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6190 __USE_XOPEN2K8].
6191 (CLD_KILLED): Likewise.
6192 (CLD_DUMPED): Likewise.
6193 (CLD_TRAPPED): Likewise.
6194 (CLD_STOPPED): Likewise.
6195 (CLD_CONTINUED): Likewise.
6196 (POLL_IN): Likewise.
6197 (POLL_OUT): Likewise.
6198 (POLL_MSG): Likewise.
6199 (POLL_ERR): Likewise.
6200 (POLL_PRI): Likewise.
6201 (POLL_HUP): Likewise.
6202 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
6203 (ILL_ILLOPN): Likewise.
6204 (ILL_ILLADR): Likewise.
6205 (ILL_ILLTRP): Likewise.
6206 (ILL_PRVOPC): Likewise.
6207 (ILL_PRVREG): Likewise.
6208 (ILL_COPROC): Likewise.
6209 (ILL_BADSTK): Likewise.
6210 (FPE_INTDIV): Likewise.
6211 (FPE_INTOVF): Likewise.
6212 (FPE_FLTDIV): Likewise.
6213 (FPE_FLTOVF): Likewise.
6214 (FPE_FLTUND): Likewise.
6215 (FPE_FLTRES): Likewise.
6216 (FPE_FLTINV): Likewise.
6217 (FPE_FLTSUB): Likewise.
6218 (SEGV_MAPERR): Likewise.
6219 (SEGV_ACCERR): Likewise.
6220 (BUS_ADRALN): Likewise.
6221 (BUS_ADRERR): Likewise.
6222 (BUS_OBJERR): Likewise.
6223 (BUS_MCEERR_AR): Likewise.
6224 (BUS_MCEERR_AO): Likewise.
6225 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6226 (TRAP_TRACE): Likewise.
6227 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6228 __USE_XOPEN2K8].
6229 (CLD_KILLED): Likewise.
6230 (CLD_DUMPED): Likewise.
6231 (CLD_TRAPPED): Likewise.
6232 (CLD_STOPPED): Likewise.
6233 (CLD_CONTINUED): Likewise.
6234 (POLL_IN): Likewise.
6235 (POLL_OUT): Likewise.
6236 (POLL_MSG): Likewise.
6237 (POLL_ERR): Likewise.
6238 (POLL_PRI): Likewise.
6239 (POLL_HUP): Likewise.
6240 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
6241 (ILL_ILLOPN): Likewise.
6242 (ILL_ILLADR): Likewise.
6243 (ILL_ILLTRP): Likewise.
6244 (ILL_PRVOPC): Likewise.
6245 (ILL_PRVREG): Likewise.
6246 (ILL_COPROC): Likewise.
6247 (ILL_BADSTK): Likewise.
6248 (FPE_INTDIV): Likewise.
6249 (FPE_INTOVF): Likewise.
6250 (FPE_FLTDIV): Likewise.
6251 (FPE_FLTOVF): Likewise.
6252 (FPE_FLTUND): Likewise.
6253 (FPE_FLTRES): Likewise.
6254 (FPE_FLTINV): Likewise.
6255 (FPE_FLTSUB): Likewise.
6256 (SEGV_MAPERR): Likewise.
6257 (SEGV_ACCERR): Likewise.
6258 (BUS_ADRALN): Likewise.
6259 (BUS_ADRERR): Likewise.
6260 (BUS_OBJERR): Likewise.
6261 (BUS_MCEERR_AR): Likewise.
6262 (BUS_MCEERR_AO): Likewise.
6263 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6264 (TRAP_TRACE): Likewise.
6265 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6266 __USE_XOPEN2K8].
6267 (CLD_KILLED): Likewise.
6268 (CLD_DUMPED): Likewise.
6269 (CLD_TRAPPED): Likewise.
6270 (CLD_STOPPED): Likewise.
6271 (CLD_CONTINUED): Likewise.
6272 (POLL_IN): Likewise.
6273 (POLL_OUT): Likewise.
6274 (POLL_MSG): Likewise.
6275 (POLL_ERR): Likewise.
6276 (POLL_PRI): Likewise.
6277 (POLL_HUP): Likewise.
6278 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
6279 (ILL_ILLOPN): Likewise.
6280 (ILL_ILLADR): Likewise.
6281 (ILL_ILLTRP): Likewise.
6282 (ILL_PRVOPC): Likewise.
6283 (ILL_PRVREG): Likewise.
6284 (ILL_COPROC): Likewise.
6285 (ILL_BADSTK): Likewise.
6286 (FPE_INTDIV): Likewise.
6287 (FPE_INTOVF): Likewise.
6288 (FPE_FLTDIV): Likewise.
6289 (FPE_FLTOVF): Likewise.
6290 (FPE_FLTUND): Likewise.
6291 (FPE_FLTRES): Likewise.
6292 (FPE_FLTINV): Likewise.
6293 (FPE_FLTSUB): Likewise.
6294 (SEGV_MAPERR): Likewise.
6295 (SEGV_ACCERR): Likewise.
6296 (BUS_ADRALN): Likewise.
6297 (BUS_ADRERR): Likewise.
6298 (BUS_OBJERR): Likewise.
6299 (BUS_MCEERR_AR): Likewise.
6300 (BUS_MCEERR_AO): Likewise.
6301 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6302 (TRAP_TRACE): Likewise.
6303 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6304 __USE_XOPEN2K8].
6305 (CLD_KILLED): Likewise.
6306 (CLD_DUMPED): Likewise.
6307 (CLD_TRAPPED): Likewise.
6308 (CLD_STOPPED): Likewise.
6309 (CLD_CONTINUED): Likewise.
6310 (POLL_IN): Likewise.
6311 (POLL_OUT): Likewise.
6312 (POLL_MSG): Likewise.
6313 (POLL_ERR): Likewise.
6314 (POLL_PRI): Likewise.
6315 (POLL_HUP): Likewise.
6316 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
6317 (ILL_ILLOPN): Likewise.
6318 (ILL_ILLADR): Likewise.
6319 (ILL_ILLTRP): Likewise.
6320 (ILL_PRVOPC): Likewise.
6321 (ILL_PRVREG): Likewise.
6322 (ILL_COPROC): Likewise.
6323 (ILL_BADSTK): Likewise.
6324 (ILL_DBLFLT): Likewise.
6325 (ILL_HARDWALL): Likewise.
6326 (FPE_INTDIV): Likewise.
6327 (FPE_INTOVF): Likewise.
6328 (FPE_FLTDIV): Likewise.
6329 (FPE_FLTOVF): Likewise.
6330 (FPE_FLTUND): Likewise.
6331 (FPE_FLTRES): Likewise.
6332 (FPE_FLTINV): Likewise.
6333 (FPE_FLTSUB): Likewise.
6334 (SEGV_MAPERR): Likewise.
6335 (SEGV_ACCERR): Likewise.
6336 (BUS_ADRALN): Likewise.
6337 (BUS_ADRERR): Likewise.
6338 (BUS_OBJERR): Likewise.
6339 (BUS_MCEERR_AR): Likewise.
6340 (BUS_MCEERR_AO): Likewise.
6341 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6342 (TRAP_TRACE): Likewise.
6343 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6344 __USE_XOPEN2K8].
6345 (CLD_KILLED): Likewise.
6346 (CLD_DUMPED): Likewise.
6347 (CLD_TRAPPED): Likewise.
6348 (CLD_STOPPED): Likewise.
6349 (CLD_CONTINUED): Likewise.
6350 (POLL_IN): Likewise.
6351 (POLL_OUT): Likewise.
6352 (POLL_MSG): Likewise.
6353 (POLL_ERR): Likewise.
6354 (POLL_PRI): Likewise.
6355 (POLL_HUP): Likewise.
6356 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
6357 (ILL_ILLOPN): Likewise.
6358 (ILL_ILLADR): Likewise.
6359 (ILL_ILLTRP): Likewise.
6360 (ILL_PRVOPC): Likewise.
6361 (ILL_PRVREG): Likewise.
6362 (ILL_COPROC): Likewise.
6363 (ILL_BADSTK): Likewise.
6364 (FPE_INTDIV): Likewise.
6365 (FPE_INTOVF): Likewise.
6366 (FPE_FLTDIV): Likewise.
6367 (FPE_FLTOVF): Likewise.
6368 (FPE_FLTUND): Likewise.
6369 (FPE_FLTRES): Likewise.
6370 (FPE_FLTINV): Likewise.
6371 (FPE_FLTSUB): Likewise.
6372 (SEGV_MAPERR): Likewise.
6373 (SEGV_ACCERR): Likewise.
6374 (BUS_ADRALN): Likewise.
6375 (BUS_ADRERR): Likewise.
6376 (BUS_OBJERR): Likewise.
6377 (BUS_MCEERR_AR): Likewise.
6378 (BUS_MCEERR_AO): Likewise.
6379 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6380 (TRAP_TRACE): Likewise.
6381 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6382 __USE_XOPEN2K8].
6383 (CLD_KILLED): Likewise.
6384 (CLD_DUMPED): Likewise.
6385 (CLD_TRAPPED): Likewise.
6386 (CLD_STOPPED): Likewise.
6387 (CLD_CONTINUED): Likewise.
6388 (POLL_IN): Likewise.
6389 (POLL_OUT): Likewise.
6390 (POLL_MSG): Likewise.
6391 (POLL_ERR): Likewise.
6392 (POLL_PRI): Likewise.
6393 (POLL_HUP): Likewise.
6394 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
6395 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6396
6397 [BZ #16670]
6398 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
6399 before #include of <time.h>.
6400 [!__USE_XOPEN2K] (__need_timespec): Likewise.
6401 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
6402 (test-xfail-UNIX98/sched.h/conform): Likewise.
6403
6404 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
6405
6406 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
6407 error absence of trapping exception support.
6408 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6409
6410 2014-03-07 Joseph Myers <joseph@codesourcery.com>
6411
6412 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
6413 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
6414 * timezone/Makefile (testdata): Move definition above include of
6415 Rules.
6416 (test-zones): New variable.
6417 (tests-special): Add zone files.
6418 (build-testdata): Use $(evaluate-test).
6419
6420 * elf/Makefile (tests-special): Rename tests to end with .out.
6421 ($(objpfx)noload-mem): Likewise.
6422 ($(objpfx)tst-leaks1-mem): Likewise.
6423 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
6424 * iconv/Makefile (xtests-special): Change test-iconvconfig to
6425 $(objpfx)test-iconvconfig.out.
6426 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
6427 set -e inside subshell and redirect output to file.
6428 * iconvdata/Makefile (generated): Rename tests to end with .out.
6429 Correct type.
6430 (tests-special): Rename tests to end with .out.
6431 ($(objpfx)mtrace-tst-loading): Likewise.
6432 * intl/Makefile (generated): Likewise.
6433 (tests-special): Likewise.
6434 ($(objpfx)mtrace-tst-gettext): Likewise.
6435 * misc/Makefile (generated): Likewise.
6436 (tests-special): Likewise.
6437 ($(objpfx)tst-error1-mem): Likewise.
6438 * nptl/Makefile (tests-special): Likewise.
6439 ($(objpfx)tst-stack3-mem): Likewise.
6440 (generated): Likewise.
6441 * posix/Makefile (generated): Likewise.
6442 (tests-special): Likewise.
6443 (xtests-special): Likewise.
6444 ($(objpfx)tst-fnmatch-mem): Likewise.
6445 ($(objpfx)bug-regex2-mem): Likewise.
6446 ($(objpfx)bug-regex14-mem): Likewise.
6447 ($(objpfx)bug-regex21-mem): Likewise.
6448 ($(objpfx)bug-regex31-mem): Likewise.
6449 ($(objpfx)tst-vfork3-mem): Likewise.
6450 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6451 ($(objpfx)tst-pcre-mem): Likewise.
6452 ($(objpfx)tst-boost-mem): Likewise.
6453 ($(objpfx)bug-ga2-mem): Likewise.
6454 ($(objpfx)bug-glob2-mem): Likewise.
6455 * resolv/Makefile (generate): Likewise.
6456 (tests-special): Likewise.
6457 (xtests-special): Likewise.
6458 (generated): Likewise.
6459 ($(objpfx)mtrace-tst-leaks): Likewise.
6460 ($(objpfx)mtrace-tst-leaks2): Likewise.
6461
6462 * scripts/merge-test-results.sh: New file.
6463 * Makefile (tests-special-notdir): New variable.
6464 (tests): Run merge-test-results.sh.
6465 (xtests): Likewise.
6466 * Rules (tests-special-notdir): New variable.
6467 (xtests-special-notdir): Likewise.
6468 (tests): Run merge-test-results.sh
6469 (xtests): Likewise.
6470
6471 * Makeconfig (test-xfail-name): New variable.
6472 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
6473 compute variable name for expected failures.
6474 * conform/Makefile (conformtest-headers-data): New variable.
6475 (conformtest-standards): Likewise.
6476 (conformtest-headers-ISO): Likewise.
6477 (conformtest-headers-ISO99): Likewise.
6478 (conformtest-headers-ISO11): Likewise.
6479 (conformtest-headers-POSIX): Likewise.
6480 (conformtest-headers-XPG3): Likewise.
6481 (conformtest-headers-XPG4): Likewise.
6482 (conformtest-headers-UNIX98): Likewise.
6483 (conformtest-headers-XOPEN2K): Likewise.
6484 (conformtest-headers-POSIX2008): Likewise.
6485 (conformtest-headers-XOPEN2K8): Likewise.
6486 (conformtest-header-list-base): Likewise.
6487 (conformtest-header-list-tests): Likewise.
6488 (conformtest-header-base): Likewise.
6489 (conformtest-header-tests): Likewise.
6490 (tests-special): Add $(conformtest-header-list-tests). If
6491 [$(fast-check) && !$(cross-compiling)], add
6492 $(conformtest-header-tests) instead of
6493 $(objpfx)run-conformtest.out.
6494 (generated): Add $(conformtest-header-list-base). If
6495 [$(fast-check) && !$(cross-compiling)], add
6496 $(conformtest-header-base). Remove previous setting.
6497 ($(conformtest-header-list-tests)): New target.
6498 (test-xfail-run-conformtest): Remove variable.
6499 ($(objpfx)run-conformtest.out): Remove target.
6500 (test-xfail-ISO11/complex.h/conform): New variable.
6501 (test-xfail-ISO11/stdalign.h/conform): Likewise.
6502 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
6503 (test-xfail-XPG3/varargs.h/conform): Likewise.
6504 (test-xfail-XPG4/varargs.h/conform): Likewise.
6505 (test-xfail-UNIX98/varargs.h/conform): Likewise.
6506 (test-xfail-XPG4/ndbm.h/conform): Likewise.
6507 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
6508 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
6509 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
6510 (test-xfail-XPG3/fcntl.h/conform): Likewise.
6511 (test-xfail-XPG3/ftw.h/conform): Likewise.
6512 (test-xfail-XPG3/grp.h/conform): Likewise.
6513 (test-xfail-XPG3/langinfo.h/conform): Likewise.
6514 (test-xfail-XPG3/limits.h/conform): Likewise.
6515 (test-xfail-XPG3/pwd.h/conform): Likewise.
6516 (test-xfail-XPG3/search.h/conform): Likewise.
6517 (test-xfail-XPG3/signal.h/conform): Likewise.
6518 (test-xfail-XPG3/stdio.h/conform): Likewise.
6519 (test-xfail-XPG3/stdlib.h/conform): Likewise.
6520 (test-xfail-XPG3/string.h/conform): Likewise.
6521 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
6522 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
6523 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
6524 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
6525 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
6526 (test-xfail-XPG3/sys/types.h/conform): Likewise.
6527 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
6528 (test-xfail-XPG3/termios.h/conform): Likewise.
6529 (test-xfail-XPG3/time.h/conform): Likewise.
6530 (test-xfail-XPG3/unistd.h/conform): Likewise.
6531 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
6532 (test-xfail-XPG4/fcntl.h/conform): Likewise.
6533 (test-xfail-XPG4/langinfo.h/conform): Likewise.
6534 (test-xfail-XPG4/netdb.h/conform): Likewise.
6535 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
6536 (test-xfail-XPG4/signal.h/conform): Likewise.
6537 (test-xfail-XPG4/stdio.h/conform): Likewise.
6538 (test-xfail-XPG4/stdlib.h/conform): Likewise.
6539 (test-xfail-XPG4/stropts.h/conform): Likewise.
6540 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
6541 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
6542 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
6543 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
6544 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
6545 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
6546 (test-xfail-XPG4/sys/time.h/conform): Likewise.
6547 (test-xfail-XPG4/sys/types.h/conform): Likewise.
6548 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
6549 (test-xfail-XPG4/termios.h/conform): Likewise.
6550 (test-xfail-XPG4/ucontext.h/conform): Likewise.
6551 (test-xfail-XPG4/unistd.h/conform): Likewise.
6552 (test-xfail-XPG4/utmpx.h/conform): Likewise.
6553 (test-xfail-POSIX/sched.h/conform): Likewise.
6554 (test-xfail-POSIX/signal.h/conform): Likewise.
6555 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6556 (test-xfail-POSIX/tar.h/conform): Likewise.
6557 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
6558 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
6559 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
6560 (test-xfail-UNIX98/netdb.h/conform): Likewise.
6561 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
6562 (test-xfail-UNIX98/sched.h/conform): Likewise.
6563 (test-xfail-UNIX98/signal.h/conform): Likewise.
6564 (test-xfail-UNIX98/stdio.h/conform): Likewise.
6565 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
6566 (test-xfail-UNIX98/stropts.h/conform): Likewise.
6567 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
6568 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
6569 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
6570 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
6571 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
6572 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
6573 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
6574 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
6575 (test-xfail-UNIX98/unistd.h/conform): Likewise.
6576 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
6577 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
6578 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
6579 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
6580 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
6581 (test-xfail-XOPEN2K/math.h/conform): Likewise.
6582 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
6583 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
6584 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
6585 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
6586 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
6587 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
6588 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
6589 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
6590 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
6591 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
6592 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
6593 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
6594 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
6595 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
6596 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
6597 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
6598 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
6599 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
6600 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
6601 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
6602 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
6603 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
6604 (test-xfail-POSIX2008/signal.h/conform): Likewise.
6605 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
6606 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
6607 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
6608 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
6609 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
6610 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
6611 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
6612 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
6613 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
6614 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
6615 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
6616 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
6617 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
6618 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
6619 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
6620 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
6621 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
6622 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
6623 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
6624 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
6625 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
6626 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
6627 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
6628 (conformtest-cc-flags): Likewise.
6629 ($(conformtest-header-tests): New target.
6630 * conform/check-header-lists.sh: New file.
6631 * conform/run-conformtest.sh: Remove.
6632
6633 * conform/conformtest.pl: Allow ' and \ in values given for
6634 constants.
6635 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
6636 inclusion.
6637 [POSIX] (sys/types.h): Likewise.
6638 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
6639 inclusion.
6640 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
6641 inclusion.
6642 * conform/data/signal.h-data (SIGIO): Remove expectation.
6643 [XPG3] (SIGBUS): Do not expect.
6644 [POSIX || XPG3] (SIGPOLL): Likewise.
6645 [POSIX || XPG3] (SIGPROF): Likewise.
6646 [POSIX || XPG3] (SIGSYS): Likewise.
6647 [XPG3] (SIGTRAP): Likewise.
6648 [POSIX || XPG3] (SIGURG): Likewise.
6649 [POSIX || XPG3] (SIGVTALRM): Likewise.
6650 [POSIX || XPG3] (SIGXCPU): Likewise.
6651 [POSIX || XPG3] (SIGXFSZ): Likewise.
6652 [POSIX] (SA_SIGINFO): Expect.
6653 [XPG3] (siginfo_t): Do not expect type or contents.
6654 [POSIX] (si_pid): Do not expect element.
6655 [POSIX] (si_uid): Likewise.
6656 [POSIX] (si_addr): Likewise.
6657 [POSIX] (si_status): Likewise.
6658 [POSIX] (si_band): Likewise.
6659 [XPG4] (si_value): Likewise.
6660 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
6661 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
6662 [POSIX || XPG3] (ILL_ILLADR): Likewise.
6663 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
6664 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
6665 [POSIX || XPG3] (ILL_PRVREG): Likewise.
6666 [POSIX || XPG3] (ILL_COPROC): Likewise.
6667 [POSIX || XPG3] (ILL_BADSTK): Likewise.
6668 [POSIX || XPG3] (FPE_INTDIV): Likewise.
6669 [POSIX || XPG3] (FPE_INTOVF): Likewise.
6670 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
6671 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
6672 [POSIX || XPG3] (FPE_FLTUND): Likewise.
6673 [POSIX || XPG3] (FPE_FLTRES): Likewise.
6674 [POSIX || XPG3] (FPE_FLTINV): Likewise.
6675 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
6676 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
6677 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
6678 [POSIX || XPG3] (BUS_ADRALN): Likewise.
6679 [POSIX || XPG3] (BUS_ADRERR): Likewise.
6680 [POSIX || XPG3] (BUS_OBJERR): Likewise.
6681 [POSIX || XPG3] (CLD_EXITED): Likewise.
6682 [POSIX || XPG3] (CLD_KILLED): Likewise.
6683 [POSIX || XPG3] (CLD_DUMPED): Likewise.
6684 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
6685 [POSIX || XPG3] (CLD_STOPPED): Likewise.
6686 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
6687 [POSIX || XPG3] (POLL_IN): Likewise.
6688 [POSIX || XPG3] (POLL_OUT): Likewise.
6689 [POSIX || XPG3] (POLL_MSG): Likewise.
6690 [POSIX || XPG3] (POLL_ERR): Likewise.
6691 [POSIX || XPG3] (POLL_PRI): Likewise.
6692 [POSIX || XPG3] (POLL_HUP): Likewise.
6693 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
6694 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
6695 (SIG*): Do not allow.
6696 [XPG3] (si_*): Likewise.
6697 [XPG3] (SI_*): Likewise.
6698 [XPG3 || XPG4] (sigev_*): Likewise.
6699 [XPG3 || XPG4] (SIGEV_*): Likewise.
6700 [XPG3 || XPG4] (sival_*): Likewise.
6701 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
6702 [POSIX || XPG3] (BUS_*): Likewise.
6703 [POSIX || XPG3] (CLD_*): Likewise.
6704 [POSIX || XPG3] (FPE_*): Likewise.
6705 [POSIX || XPG3] (ILL_*): Likewise.
6706 [POSIX || XPG3] (POLL_*): Likewise.
6707 [POSIX || XPG3] (SEGV_*): Likewise.
6708 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
6709 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
6710 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
6711 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
6712 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
6713 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
6714 Specify type and value.
6715 (TVERSLEN): Likewise.
6716 (REGTYPE): Likewise.
6717 (AREGTYPE): Likewise.
6718 (LNKTYPE): Likewise.
6719 (SYMTYPE): Likewise.
6720 (CHRTYPE): Likewise.
6721 (BLKTYPE): Likewise.
6722 (DIRTYPE): Likewise.
6723 (FIFOTYPE): Likewise.
6724 (CONTTYPE): Likewise.
6725 (TSUID): Likewise.
6726 (TSGID): Likewise.
6727 (TSVTX): Likewise.
6728 (TUREAD): Likewise.
6729 (TUWRITE): Likewise.
6730 (TUEXEC): Likewise.
6731 (TGREAD): Likewise.
6732 (TGWRITE): Likewise.
6733 (TGEXEC): Likewise.
6734 (TOREAD): Likewise.
6735 (TOWRITE): Likewise.
6736 (TOEXEC): Likewise.
6737 [POSIX] (TSVTX): Expect constant.
6738
6739 2014-03-06 Joseph Myers <joseph@codesourcery.com>
6740
6741 * Makefile (tests): Change dependencies to ....
6742 (tests-special): ... additions to this variable.
6743 (tests): Depend on $(tests-special).
6744 * Makerules (check-abi-list): New variable.
6745 (check-abi): Depend on $(check-abi-list).
6746 [$(subdir) = elf] (tests-special): Add
6747 $(objpfx)check-abi-libc.out.
6748 [$(build-shared) = yes && subdir] (tests-special): Add
6749 $(check-abi-list).
6750 [$(build-shared) = yes && subdir] (tests): Do not depend on
6751 check-abi.
6752 * Rules (tests): Depend on $(tests-special).
6753 (xtests): Depend on $(xtests-special).
6754 * catgets/Makefile (tests): Change dependencies to ....
6755 (tests-special): ... additions to this variable.
6756 * conform/Makefile (tests): Change dependencies to ....
6757 (tests-special): ... additions to this variable.
6758 * elf/Makefile (tests): Change dependencies to ....
6759 (tests-special): ... additions to this variable.
6760 * grp/Makefile (tests): Change dependencies to ....
6761 (tests-special): ... additions to this variable.
6762 * iconv/Makefile (xtests): Change dependencies to ....
6763 (xtests-special): ... additions to this variable.
6764 * iconvdata/Makefile (tests): Change dependencies to ....
6765 (tests-special): ... additions to this variable.
6766 * intl/Makefile (tests): Change dependencies to ....
6767 (tests-special): ... additions to this variable. Also add
6768 $(objpfx)tst-gettext.out.
6769 * io/Makefile (tests): Change dependencies to ....
6770 (tests-special): ... additions to this variable.
6771 * libio/Makefile (tests): Change dependencies to ....
6772 (tests-special): ... additions to this variable.
6773 * malloc/Makefile (tests): Change dependencies to ....
6774 (tests-special): ... additions to this variable.
6775 * misc/Makefile (tests): Change dependencies to ....
6776 (tests-special): ... additions to this variable.
6777 * nptl/Makefile (tests): Change dependencies to ....
6778 (tests-special): ... additions to this variable.
6779 * nptl_db/Makefile (tests): Change dependencies to ....
6780 (tests-special): ... additions to this variable.
6781 * posix/Makefile (tests): Change dependencies to ....
6782 (tests-special): ... additions to this variable.
6783 (xtests): Change dependencies to ....
6784 (xtests-special): ... additions to this variable.
6785 * resolv/Makefile (tests): Change dependencies to ....
6786 (tests-special): ... additions to this variable.
6787 (xtests): Change dependencies to ....
6788 (xtests-special): ... additions to this variable.
6789 * stdio-common/Makefile (tests): Change dependencies to ....
6790 (tests-special): ... additions to this variable.
6791 (do-tst-unbputc): Remove target.
6792 (do-tst-printf): Likewise.
6793 * stdlib/Makefile (tests): Change dependencies to ....
6794 (tests-special): ... additions to this variable.
6795 * string/Makefile (tests): Change dependencies to ....
6796 (tests-special): ... additions to this variable.
6797 * sysdeps/x86/Makefile (tests): Change dependencies to ....
6798 (tests-special): ... additions to this variable.
6799
6800 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
6801 whole file.
6802 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
6803 whole file.
6804 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
6805 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
6806
6807 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
6808 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
6809 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
6810 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
6811 * conform/data/libgen.h-data [XPG3]: Likewise.
6812 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
6813 * conform/data/ndbm.h-data [XPG3]: Likewise.
6814 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6815 * conform/data/netdb.h-data [XPG3]: Likewise.
6816 * conform/data/netinet/in.h-data [XPG3]: Likewise.
6817 * conform/data/poll.h-data [XPG3]: Likewise.
6818 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6819 * conform/data/strings.h-data [XPG3]: Likewise.
6820 * conform/data/stropts.h-data [XPG3]: Likewise.
6821 * conform/data/sys/mman.h-data [XPG3]: Likewise.
6822 * conform/data/sys/resource.h-data [XPG3]: Likewise.
6823 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
6824 Likewise.
6825 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
6826 * conform/data/sys/time.h-data [XPG3]: Likewise.
6827 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
6828 * conform/data/sys/uio.h-data [XPG3]: Likewise.
6829 * conform/data/sys/un.h-data [XPG3]: Likewise.
6830 * conform/data/syslog.h-data [XPG3]: Likewise.
6831 * conform/data/ucontext.h-data [XPG3]: Likewise.
6832 * conform/data/utmpx.h-data [XPG3]: Likewise.
6833 * conform/data/varargs.h-data [UNIX98]: Enable file.
6834
6835 * manual/Makefile (INSTALL_INFO): Remove variable setting.
6836
6837 * math/libm-test.inc (struct test_f_f_data): Move expected results
6838 into structure for each rounding mode.
6839 (struct test_ff_f_data): Likewise.
6840 (struct test_ff_f_data_nexttoward): Likewise.
6841 (struct test_fi_f_data): Likewise.
6842 (struct test_fl_f_data): Likewise.
6843 (struct test_if_f_data): Likewise.
6844 (struct test_fff_f_data): Likewise.
6845 (struct test_c_f_data): Likewise.
6846 (struct test_f_f1_data): Likewise.
6847 (struct test_fF_f1_data): Likewise.
6848 (struct test_ffI_f1_data): Likewise.
6849 (struct test_c_c_data): Likewise.
6850 (struct test_cc_c_data): Likewise.
6851 (struct test_f_i_data): Likewise.
6852 (struct test_ff_i_data): Likewise.
6853 (struct test_f_l_data): Likewise.
6854 (struct test_f_L_data): Likewise.
6855 (struct test_fFF_11_data): Likewise.
6856 (RM_): New macro.
6857 (RM_FE_DOWNWARD): Likewise.
6858 (RM_FE_TONEAREST): Likewise.
6859 (RM_FE_TOWARDZERO): Likewise.
6860 (RM_FE_UPWARD): Likewise.
6861 (RUN_TEST_LOOP_f_f): Update references to expected results.
6862 (RUN_TEST_LOOP_2_f): Likewise.
6863 (RUN_TEST_LOOP_fff_f): Likewise.
6864 (RUN_TEST_LOOP_c_f): Likewise.
6865 (RUN_TEST_LOOP_f_f1): Likewise.
6866 (RUN_TEST_LOOP_fF_f1): Likewise.
6867 (RUN_TEST_LOOP_fI_f1): Likewise.
6868 (RUN_TEST_LOOP_ffI_f1): Likewise.
6869 (RUN_TEST_LOOP_c_c): Likewise.
6870 (RUN_TEST_LOOP_cc_c): Likewise.
6871 (RUN_TEST_LOOP_f_i): Likewise.
6872 (RUN_TEST_LOOP_f_i_tg): Likewise.
6873 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6874 (RUN_TEST_LOOP_f_b): Likewise.
6875 (RUN_TEST_LOOP_f_b_tg): Likewise.
6876 (RUN_TEST_LOOP_f_l): Likewise.
6877 (RUN_TEST_LOOP_f_L): Likewise.
6878 (RUN_TEST_LOOP_fFF_11): Likewise.
6879 * math/gen-libm-test.pl (parse_args): Output four copies of
6880 expected results for each test.
6881
6882 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6883 (__ASSUME_UTIMES): Remove.
6884 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6885 (__ASSUME_UTIMES): Likewise.
6886
6887 * math/gen-auto-libm-tests.c: Update comment on output format.
6888 (output_for_one_input_case): Generate before-rounding and
6889 after-rounding information as conditions on output flags not
6890 floating-point format.
6891 * math/auto-libm-test-out: Regenerated.
6892 * math/gen-libm-test.pl (cond_value): New function.
6893 (or_cond_value): Use cond_value.
6894 (generate_testfile): Handle conditional exceptions.
6895
6896 2014-03-05 Joseph Myers <joseph@codesourcery.com>
6897
6898 * math/libm-test.inc (max_valid_error): New variable.
6899 (init_max_error): Take new argument specifying whether function
6900 results are exactly determined. Set max_valid_error and bound
6901 other variables for errors based on this argument.
6902 (set_max_error): Do not record results above max_valid_error.
6903 (check_float_internal): Only accept errors of up to 0.5ulps if
6904 also at most max_valid_error.
6905 (START): Take new argument EXACT and pass it to init_max_error.
6906 (acos_test): Update call to START.
6907 (acos_test_tonearest): Likewise.
6908 (acos_test_towardzero): Likewise.
6909 (acos_test_downward): Likewise.
6910 (acos_test_upward): Likewise.
6911 (acosh_test): Likewise.
6912 (asin_test): Likewise.
6913 (asin_test_tonearest): Likewise.
6914 (asin_test_towardzero): Likewise.
6915 (asin_test_downward): Likewise.
6916 (asin_test_upward): Likewise.
6917 (asinh_test): Likewise.
6918 (atan_test): Likewise.
6919 (atanh_test): Likewise.
6920 (atan2_test): Likewise.
6921 (cabs_test): Likewise.
6922 (cacos_test): Likewise.
6923 (cacosh_test): Likewise.
6924 (carg_test): Likewise.
6925 (casin_test): Likewise.
6926 (casinh_test): Likewise.
6927 (catan_test): Likewise.
6928 (catanh_test): Likewise.
6929 (cbrt_test): Likewise.
6930 (ccos_test): Likewise.
6931 (ccosh_test): Likewise.
6932 (ceil_test): Likewise.
6933 (cexp_test): Likewise.
6934 (cimag_test): Likewise.
6935 (clog_test): Likewise.
6936 (clog10_test): Likewise.
6937 (conj_test): Likewise.
6938 (copysign_test): Likewise.
6939 (cos_test): Likewise.
6940 (cos_test_tonearest): Likewise.
6941 (cos_test_towardzero): Likewise.
6942 (cos_test_downward): Likewise.
6943 (cos_test_upward): Likewise.
6944 (cosh_test): Likewise.
6945 (cosh_test_tonearest): Likewise.
6946 (cosh_test_towardzero): Likewise.
6947 (cosh_test_downward): Likewise.
6948 (cosh_test_upward): Likewise.
6949 (cpow_test): Likewise.
6950 (cproj_test): Likewise.
6951 (creal_test): Likewise.
6952 (csin_test): Likewise.
6953 (csinh_test): Likewise.
6954 (csqrt_test): Likewise.
6955 (ctan_test): Likewise.
6956 (ctan_test_tonearest): Likewise.
6957 (ctan_test_towardzero): Likewise.
6958 (ctan_test_downward): Likewise.
6959 (ctan_test_upward): Likewise.
6960 (ctanh_test): Likewise.
6961 (ctanh_test_tonearest): Likewise.
6962 (ctanh_test_towardzero): Likewise.
6963 (ctanh_test_downward): Likewise.
6964 (ctanh_test_upward): Likewise.
6965 (erf_test): Likewise.
6966 (erfc_test): Likewise.
6967 (exp_test): Likewise.
6968 (exp_test_tonearest): Likewise.
6969 (exp_test_towardzero): Likewise.
6970 (exp_test_downward): Likewise.
6971 (exp_test_upward): Likewise.
6972 (exp10_test): Likewise.
6973 (exp10_test_tonearest): Likewise.
6974 (exp10_test_towardzero): Likewise.
6975 (exp10_test_downward): Likewise.
6976 (exp10_test_upward): Likewise.
6977 (pow10_test): Likewise.
6978 (exp2_test): Likewise.
6979 (expm1_test): Likewise.
6980 (expm1_test_tonearest): Likewise.
6981 (expm1_test_towardzero): Likewise.
6982 (expm1_test_downward): Likewise.
6983 (expm1_test_upward): Likewise.
6984 (fabs_test): Likewise.
6985 (fdim_test): Likewise.
6986 (floor_test): Likewise.
6987 (fma_test): Likewise.
6988 (fma_test_towardzero): Likewise.
6989 (fma_test_downward): Likewise.
6990 (fma_test_upward): Likewise.
6991 (fmax_test): Likewise.
6992 (fmin_test): Likewise.
6993 (fmod_test): Likewise.
6994 (fpclassify_test): Likewise.
6995 (frexp_test): Likewise.
6996 (hypot_test): Likewise.
6997 (ilogb_test): Likewise.
6998 (isfinite_test): Likewise.
6999 (finite_test): Likewise.
7000 (isgreater_test): Likewise.
7001 (isgreaterequal_test): Likewise.
7002 (isinf_test): Likewise.
7003 (isless_test): Likewise.
7004 (islessequal_test): Likewise.
7005 (islessgreater_test): Likewise.
7006 (isnan_test): Likewise.
7007 (isnormal_test): Likewise.
7008 (issignaling_test): Likewise.
7009 (isunordered_test): Likewise.
7010 (j0_test): Likewise.
7011 (j1_test): Likewise.
7012 (jn_test): Likewise.
7013 (ldexp_test): Likewise.
7014 (lgamma_test): Likewise.
7015 (gamma_test): Likewise.
7016 (lrint_test): Likewise.
7017 (lrint_test_tonearest): Likewise.
7018 (lrint_test_towardzero): Likewise.
7019 (lrint_test_downward): Likewise.
7020 (lrint_test_upward): Likewise.
7021 (llrint_test): Likewise.
7022 (llrint_test_tonearest): Likewise.
7023 (llrint_test_towardzero): Likewise.
7024 (llrint_test_downward): Likewise.
7025 (llrint_test_upward): Likewise.
7026 (log_test): Likewise.
7027 (log10_test): Likewise.
7028 (log1p_test): Likewise.
7029 (log2_test): Likewise.
7030 (logb_test): Likewise.
7031 (logb_test_downward): Likewise.
7032 (lround_test): Likewise.
7033 (llround_test): Likewise.
7034 (modf_test): Likewise.
7035 (nearbyint_test): Likewise.
7036 (nextafter_test): Likewise.
7037 (nexttoward_test): Likewise.
7038 (pow_test): Likewise.
7039 (pow_test_tonearest): Likewise.
7040 (pow_test_towardzero): Likewise.
7041 (pow_test_downward): Likewise.
7042 (pow_test_upward): Likewise.
7043 (remainder_test): Likewise.
7044 (drem_test): Likewise.
7045 (remainder_test_tonearest): Likewise.
7046 (drem_test_tonearest): Likewise.
7047 (remainder_test_towardzero): Likewise.
7048 (drem_test_towardzero): Likewise.
7049 (remainder_test_downward): Likewise.
7050 (drem_test_downward): Likewise.
7051 (remainder_test_upward): Likewise.
7052 (drem_test_upward): Likewise.
7053 (remquo_test): Likewise.
7054 (rint_test): Likewise.
7055 (rint_test_tonearest): Likewise.
7056 (rint_test_towardzero): Likewise.
7057 (rint_test_downward): Likewise.
7058 (rint_test_upward): Likewise.
7059 (round_test): Likewise.
7060 (scalb_test): Likewise.
7061 (scalbn_test): Likewise.
7062 (scalbln_test): Likewise.
7063 (signbit_test): Likewise.
7064 (sin_test): Likewise.
7065 (sin_test_tonearest): Likewise.
7066 (sin_test_towardzero): Likewise.
7067 (sin_test_downward): Likewise.
7068 (sin_test_upward): Likewise.
7069 (sincos_test): Likewise.
7070 (sinh_test): Likewise.
7071 (sinh_test_tonearest): Likewise.
7072 (sinh_test_towardzero): Likewise.
7073 (sinh_test_downward): Likewise.
7074 (sinh_test_upward): Likewise.
7075 (sqrt_test): Likewise.
7076 (sqrt_test_tonearest): Likewise.
7077 (sqrt_test_towardzero): Likewise.
7078 (sqrt_test_downward): Likewise.
7079 (sqrt_test_upward): Likewise.
7080 (tan_test): Likewise.
7081 (tan_test_tonearest): Likewise.
7082 (tan_test_towardzero): Likewise.
7083 (tan_test_downward): Likewise.
7084 (tan_test_upward): Likewise.
7085 (tanh_test): Likewise.
7086 (tgamma_test): Likewise.
7087 (trunc_test): Likewise.
7088 (y0_test): Likewise.
7089 (y1_test): Likewise.
7090 (yn_test): Likewise.
7091 (significand_test): Likewise.
7092
7093 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
7094 individual tests in comment.
7095 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
7096 (prev_max_error): New variable.
7097 (prev_real_max_error): Likewise.
7098 (prev_imag_max_error): Likewise.
7099 (compare_ulp_data): Don't refer to test names in comment.
7100 (find_test_ulps): Remove function.
7101 (find_function_ulps): Likewise.
7102 (find_complex_function_ulps): Likewise.
7103 (init_max_error): Take function name as argument. Look up ulps
7104 for that function.
7105 (print_ulps): Remove function.
7106 (print_max_error): Use prev_max_error instead of calling
7107 find_function_ulps.
7108 (print_complex_max_error): Use prev_real_max_error and
7109 prev_imag_max_error instead of calling find_complex_function_ulps.
7110 (check_float_internal): Take max_ulp parameter instead of calling
7111 find_test_ulps. Don't call print_ulps.
7112 (check_float): Update call to check_float_internal.
7113 (check_complex): Update calls to check_float_internal.
7114 (START): Pass argument to init_max_error.
7115 * math/gen-libm-test.pl (%results): Don't include "kind"
7116 information.
7117 (parse_ulps): Don't handle ulps of individual tests.
7118 (print_ulps_file): Likewise.
7119 (output_ulps): Likewise.
7120 * math/README.libm-test: Update.
7121 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
7122 individual tests.
7123 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
7124 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
7125 * sysdeps/arm/libm-test-ulps: Likewise.
7126 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
7127 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
7128 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
7129 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
7130 * sysdeps/microblaze/libm-test-ulps: Likewise.
7131 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7132 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7133 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7134 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7135 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7136 * sysdeps/sh/libm-test-ulps: Likewise.
7137 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7138 * sysdeps/tile/libm-test-ulps: Likewise.
7139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7140
7141 2014-03-04 Joseph Myers <joseph@codesourcery.com>
7142
7143 * math/libm-test.inc (print_complex_max_error): Check separately
7144 whether real and imaginary errors are within allowed range and
7145 pass 0 to print_complex_function_ulps instead of value within
7146 allowed range.
7147
7148 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7149
7150 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
7151 formatting.
7152 (get_handles_fopen): Likewise.
7153 (do_write_test): Likewise.
7154
7155 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
7156
7157 * libio/fileops.c (do_ftell): Use cached offset when
7158 available.
7159 * libio/iofwide.c (do_ftell_wide): Likewise.
7160 * libio/iofdopen.c (_IO_new_fdopen): Don't use
7161 _IO_file_attach.
7162 * libio/wfileops.c (_IO_fwide): Don't cache offset.
7163
7164 [BZ #16532]
7165 * libio/libioP.h (get_file_offset): New function.
7166 * libio/fileops.c (get_file_offset): Likewise.
7167 (do_ftell): Likewise.
7168 (_IO_new_file_seekoff): Split out ftell logic.
7169 * libio/wfileops.c (do_ftell_wide): Likewise.
7170 (_IO_wfile_seekoff): Split out ftell logic.
7171 * libio/tst-ftell-active-handler.c: New test case.
7172 * libio/Makefile (tests): Add it.
7173
7174 2014-03-03 Roland McGrath <roland@hack.frob.com>
7175
7176 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
7177 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
7178
7179 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7180
7181 [BZ #16639]
7182 * nscd/connections.c (nscd_init): Call do_exit.
7183 (start_threads): Call do_exit and notify_parent.
7184 (begin_drop_privileges): Call do_exit.
7185 (finish_drop_privileges): Likewise.
7186 * nscd/selinux.c (preserve_capabilities): Likewise.
7187 (install_real_capabilities): Likewise.
7188 (nscd_selinux_enabled): Likewise.
7189 (avc_create_thread): Likewise.
7190 (avc_alloc_lock): Likewise.
7191 (nscd_avc_init): Likewise.
7192 * nscd/nscd.c (parent_fd): New static variable.
7193 (main): Create a pipe between parent and child processes.
7194 Skip closing parent_fd.
7195 (monitor_child): New function.
7196 (do_exit): Likewise.
7197 (notify_parent): Likewise.
7198 * nscd/nscd.h (notify_parent): Likewise.
7199 (do_exit): Likewise.
7200
7201 2014-03-03 Carlos O'Donell <carlos@redhat.com>
7202
7203 * malloc/malloc.c (__libc_calloc): Revert last change.
7204
7205 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7206
7207 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7208
7209 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7210
7211 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
7212 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
7213 implementation.
7214 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7215 (__libc_ifunc_impl_list): Likewise.
7216 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
7217 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
7218 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
7219 * string/strrchr.c: Define STRRCHR.
7220
7221 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
7222
7223 * benchtest/bench-strtok.c (simple_strtok): Delete.
7224 (strtok_string): Use as benchmark.
7225 * string/strtok (STRTOK): New macro.
7226
7227 2014-02-28 Carlos O'Donell <carlos@redhat.com>
7228
7229 * manual/threads.texi: Add header and standard comments to all
7230 functions.
7231
7232 * elf/dl-lookup.c (check_match): New function.
7233 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
7234 (do_lookup_x): Remove nested function check_match. Use non-nested
7235 function check_match.
7236
7237 2014-02-28 Roland McGrath <roland@hack.frob.com>
7238
7239 * csu/Makefile (generated, before-compile): Use += rather than =.
7240 * catgets/Makefile (generated, generated-dirs): Likewise.
7241 * debug/Makefile (generated): Likewise.
7242 * dlfcn/Makefile (generated): Likewise.
7243 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
7244 * iconvdata/Makefile (before-compile, generated): Likewise.
7245 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
7246 * libio/Makefile (generated): Likewise.
7247 * malloc/Makefile (generated): Likewise.
7248 * manual/Makefile (generated, generated-dirs): Likewise.
7249 * misc/Makefile (generated): Likewise.
7250 * posix/Makefile (generated): Likewise.
7251 * resolv/Makefile (generated): Likewise.
7252 * sunrpc/Makefile (generated, generated-dirs): Likewise.
7253 * timezone/Makefile (generated, generated-dirs): Likewise.
7254
7255 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
7256
7257 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7258
7259 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7260 power8 implementation.
7261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
7262 file: POWER8 llround ifunc implementation.
7263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
7264 (__lllround): Add POWER8 implementation.
7265 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
7266 POWER8 llround implementation.
7267
7268 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
7269 power8 implementation.
7270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
7271 file: POWER8 llrint ifunc implementation.
7272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
7273 Add POWER8 implementation.
7274 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
7275 POWER8 llrint implementation.
7276
7277 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
7278 power8 implementation.
7279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
7280 file: POWER8 finite ifunc implementation.
7281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
7282 Add POWER8 implementation.
7283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
7284 Likewise.
7285 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
7286 POWER8 finite implementation.
7287 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
7288
7289 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
7290 power8 implementation.
7291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
7292 file: POWER8 isinf ifunc implementation.
7293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
7294 POWER8 implementation.
7295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
7296 Likewise.
7297 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
7298 isinf implementation.
7299 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
7300
7301 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
7302 (INIT_ARCH): Add hwcap2 initialization.
7303 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7304 power8 implementation.
7305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
7306 file: POWER8 isnan ifunc implementation.
7307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
7308 POWER8 implementation.
7309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
7310 Likewise.
7311 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
7312 isnan implementation.
7313 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
7314
7315 2014-02-27 Joey Ye <joey.ye@arm.com>
7316
7317 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7318 (_FP_NANFRAC_Q): Set to zero.
7319
7320 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7321
7322 [BZ #16623]
7323 * math/auto-libm-test-in: New test inputs.
7324 * math/auto-libm-test-out: Regenerate.
7325 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
7326 and DA.
7327 (__cos): Likewise.
7328 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7329
7330 2014-02-27 Joseph Myers <joseph@codesourcery.com>
7331
7332 * scripts/evaluate-test.sh: Take new argument indicating whether
7333 failure is expected.
7334 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
7335 indicating whether failure is expected.
7336 * conform/Makefile (test-xfail-run-conformtest): New variable.
7337 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
7338 level.
7339 * posix/Makefile (test-xfail-annexc): New variable.
7340 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
7341
7342 2014-02-26 Joseph Myers <joseph@codesourcery.com>
7343
7344 * argp/Makefile: Include Makeconfig immediately after defining
7345 subdir.
7346 * assert/Makefile: Likewise.
7347 * benchtests/Makefile: Likewise.
7348 * catgets/Makefile: Likewise.
7349 * conform/Makefile: Likewise.
7350 * crypt/Makefile: Likewise.
7351 * csu/Makefile: Likewise.
7352 (all): Remove target.
7353 * ctype/Makefile: Include Makeconfig immediately after defining
7354 subdir.
7355 * debug/Makefile: Likewise.
7356 * dirent/Makefile: Likewise.
7357 * dlfcn/Makefile: Likewise.
7358 * gmon/Makefile: Likewise.
7359 * gnulib/Makefile: Likewise.
7360 * grp/Makefile: Likewise.
7361 * gshadow/Makefile: Likewise.
7362 * hesiod/Makefile: Likewise.
7363 * hurd/Makefile: Likewise.
7364 (all): Remove target.
7365 * iconvdata/Makefile: Include Makeconfig immediately after
7366 defining subdir.
7367 * inet/Makefile: Likewise.
7368 * intl/Makefile: Likewise.
7369 * io/Makefile: Likewise.
7370 * libio/Makefile: Likewise.
7371 (all): Remove target.
7372 * locale/Makefile: Include Makeconfig immediately after defining
7373 subdir.
7374 * login/Makefile: Likewise.
7375 * mach/Makefile: Likewise.
7376 (all): Remove target.
7377 * malloc/Makefile: Include Makeconfig immediately after defining
7378 subdir.
7379 (all): Remove target.
7380 * manual/Makefile: Include Makeconfig immediately after defining
7381 subdir.
7382 * math/Makefile: Likewise.
7383 * misc/Makefile: Likewise.
7384 * nis/Makefile: Likewise.
7385 * nss/Makefile: Likewise.
7386 * po/Makefile: Likewise.
7387 (all): Remove target.
7388 * posix/Makefile: Include Makeconfig immediately after defining
7389 subdir.
7390 * pwd/Makefile: Likewise.
7391 * resolv/Makefile: Likewise.
7392 * resource/Makefile: Likewise.
7393 * rt/Makefile: Likewise.
7394 * setjmp/Makefile: Likewise.
7395 * shadow/Makefile: Likewise.
7396 * signal/Makefile: Likewise.
7397 * socket/Makefile: Likewise.
7398 * soft-fp/Makefile: Likewise.
7399 * stdio-common/Makefile: Likewise.
7400 * stdlib/Makefile: Likewise.
7401 * streams/Makefile: Likewise.
7402 * string/Makefile: Likewise.
7403 * sunrpc/Makefile: Likewise.
7404 (all): Remove target.
7405 * sysvipc/Makefile: Include Makeconfig immediately after defining
7406 subdir.
7407 * termios/Makefile: Likewise.
7408 * time/Makefile: Likewise.
7409 * timezone/Makefile: Likewise.
7410 (all): Remove target.
7411 * wcsmbs/Makefile: Include Makeconfig immediately after defining
7412 subdir.
7413 * wctype/Makefile: Likewise.
7414
7415 2014-02-26 Steve Ellcey <sellcey@mips.com>
7416
7417 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
7418 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
7419 (libc_feholdexcept_setround_mips): Ditto.
7420 (libc_feholdsetround): New.
7421 (libc_feholdsetroundf): New.
7422 (libc_feholdsetroundl): New.
7423 (libc_feupdateenv_test_mips): New.
7424 (libc_feupdateenv_test): New.
7425 (libc_feupdateenv_testf): New.
7426 (libc_feupdateenv_testl): New.
7427 (libc_feresetround): New.
7428 (libc_feresetroundf): New.
7429 (libc_feresetroundl): New.
7430 (libc_fetestexcept_mips): New.
7431 (libc_fetestexcept): New.
7432 (libc_fetestexceptf): New.
7433 (libc_fetestexceptl): New.
7434 (HAVE_RM_CTX): New.
7435 (libc_feholdexcept_setround_mips_ctx): New.
7436 (libc_feholdexcept_setround_ctx): New.
7437 (libc_feholdexcept_setroundf_ctx): New.
7438 (libc_feholdexcept_setroundl_ctx): New.
7439 (libc_fesetenv_mips_ctx): New.
7440 (libc_fesetenv_ctx): New.
7441 (libc_fesetenv_ctxf): New.
7442 (libc_fesetenv_ctxl): New.
7443 (libc_feupdateenv_mips_ctx): New.
7444 (libc_feupdateenv_ctx): New.
7445 (libc_feupdateenvf_ctx): New.
7446 (libc_feupdateenvl_ctx): New.
7447 (libc_feholdsetround_mips_ctx): New.
7448 (libc_feholdsetround_ctx): New.
7449 (libc_feholdsetroundf_ctx): New.
7450 (libc_feholdsetroundl_ctx): New.
7451 (libc_feresetround_mips_ctx): New.
7452 (libc_feresetround_ctx): New.
7453 (libc_feresetroundf_ctx): New.
7454 (libc_feresetroundl_ctx): New.
7455
7456 2014-02-26 Carlos O'Donell <carlos@redhat.com>
7457
7458 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
7459
7460 * manual/ipc.texi: New file.
7461 * manual/Makefile (chapters): Add ipc.
7462 * manual/job.texi: Add "Inter-Process Communication" to next.
7463 * manual/process.texi: Add "Inter-Process Communication" to prev.
7464
7465 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7466
7467 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7468
7469 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
7470
7471 * malloc/malloc.c (__libc_calloc): Simplify implementation.
7472
7473 * manual/arith.texi: Fix spaces after sentences.
7474 * manual/charset.texi: Likewise.
7475 * manual/errno.texi: Likewise.
7476 * manual/install.texi: Likewise.
7477 * manual/llio.texi: Likewise.
7478 * manual/locale.texi: Likewise.
7479 * manual/maint.texi: Likewise.
7480 * manual/math.texi: Likewise.
7481 * manual/memory.texi: Likewise.
7482 * manual/message.texi: Likewise.
7483 * manual/probes.texi: Likewise.
7484 * manual/resource.texi: Likewise.
7485 * manual/signal.texi: Likewise.
7486 * manual/socket.texi: Likewise.
7487 * manual/stdio.texi: Likewise.
7488 * manual/string.texi: Likewise.
7489 * manual/time.texi: Likewise.
7490 * manual/users.texi: Likewise.
7491
7492 2014-02-25 Carlos O'Donell <carlos@redhat.com>
7493
7494 [BZ #16632]
7495 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
7496 _DEFAULT_SOURCE is defined.
7497
7498 2014-02-25 Ulrich Drepper <drepper@gmail.com>
7499 Carlos O'Donell <carlos@redhat.com>
7500
7501 [BZ #16613]
7502 * elf/dl-tls.c (_dl_count_modids): New function.
7503 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
7504 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
7505 audit library and increment generation counter.
7506 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
7507 * elf/tst-audit9.c: New file.
7508 * elf/tst-auditmod9a.c: New file.
7509 * elf/tst-auditmod9b.c: New file.
7510 * elf/Makefile: Add rules to build and run tst-audit9.
7511
7512 2014-02-25 Florian Weimer <fweimer@redhat.com>
7513
7514 [BZ #15347]
7515 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
7516
7517 2014-02-25 Will Newton <will.newton@linaro.org>
7518
7519 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
7520 (__longjmp): Restore sp and lr before restoring callee
7521 saved registers. Add longjmp and longjmp_target
7522 SystemTap probe point.
7523 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
7524 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
7525 Define to zero to match jmpbuf layout.
7526 * sysdeps/arm/setjmp.S: Include stap-probe.h.
7527 (__sigsetjmp): Save sp and lr before saving callee
7528 saved registers. Add setjmp SystemTap probe point.
7529
7530 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7531
7532 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7533
7534 2014-02-24 Andreas Schwab <schwab@suse.de>
7535
7536 [BZ #15804]
7537 * elf/pldd.c (wait_for_ptrace_stop): New function.
7538 (main): Call it after attaching.
7539
7540 2014-02-22 Roland McGrath <roland@hack.frob.com>
7541
7542 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
7543 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
7544 Versions files is now verboten.
7545 * hurd/Versions (libc: GLIBC_2.0):
7546 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
7547 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
7548 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
7549 * mach/Versions: Likewise.
7550
7551 * csu/Versions: Remove unused %include.
7552 * resolv/Versions: Likewise.
7553
7554 2014-02-21 Joseph Myers <joseph@codesourcery.com>
7555
7556 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
7557 ($(objpfx)check-local-headers.out): Likewise.
7558 ($(objpfx)begin-end-check.out): Likewise.
7559 * Makerules (check-abi-%.out): Likewise.
7560 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
7561 ($(objpfx)test2.cat): Likewise.
7562 ($(objpfx)de/libc.cat): Likewise.
7563 ($(objpfx)test-gencat.out): Likewise.
7564 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
7565 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
7566 ($(objpfx)noload-mem): Likewise.
7567 ($(objpfx)tst-pathopt.out): Likewise.
7568 ($(objpfx)tst-rtld-load-self.out): Likewise.
7569 ($(objpfx)tst-array1-cmp.out): Likewise.
7570 ($(objpfx)tst-array1-static-cmp.out): Likewise.
7571 ($(objpfx)tst-array2-cmp.out): Likewise.
7572 ($(objpfx)tst-array3-cmp.out): Likewise.
7573 ($(objpfx)tst-array4-cmp.out): Likewise.
7574 ($(objpfx)tst-array5-cmp.out): Likewise.
7575 ($(objpfx)tst-array5-static-cmp.out): Likewise.
7576 ($(objpfx)check-textrel.out): Likewise.
7577 ($(objpfx)check-execstack.out): Likewise.
7578 ($(objpfx)check-localplt.out): Likewise.
7579 ($(objpfx)order2-cmp.out): Likewise.
7580 ($(objpfx)tst-leaks1-mem): Likewise.
7581 ($(objpfx)tst-leaks1-static-mem): Likewise.
7582 ($(objpfx)tst-initorder-cmp.out): Likewise.
7583 ($(objpfx)tst-initorder2-cmp.out): Likewise.
7584 ($(objpfx)tst-unused-dep.out): Likewise.
7585 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
7586 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
7587 * iconv/Makefile (test-iconvconfig): Likewise.
7588 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
7589 ($(objpfx)iconv-test.out): Likewise.
7590 ($(objpfx)tst-tables.out): Likewise.
7591 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
7592 ($(objpfx)tst-gettext.out): Likewise.
7593 ($(objpfx)tst-translit.out): Likewise.
7594 ($(objpfx)tst-gettext2.out): Likewise.
7595 ($(objpfx)tst-gettext4.out): Likewise.
7596 ($(objpfx)tst-gettext6.out): Likewise.
7597 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
7598 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
7599 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
7600 ($(objpfx)tst-fopenloc-mem.out): Likewise.
7601 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
7602 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
7603 * posix/Makefile ($(objpfx)globtest.out): Likewise.
7604 ($(objpfx)wordexp-tst.out): Likewise.
7605 ($(objpfx)annexc.out): Likewise.
7606 ($(objpfx)tst-fnmatch-mem): Likewise.
7607 ($(objpfx)bug-regex2-mem): Likewise.
7608 ($(objpfx)bug-regex14-mem): Likewise.
7609 ($(objpfx)bug-regex21-mem): Likewise.
7610 ($(objpfx)bug-regex31-mem): Likewise.
7611 ($(objpfx)tst-vfork3-mem): Likewise.
7612 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7613 ($(objpfx)tst-pcre-mem): Likewise.
7614 ($(objpfx)tst-boost-mem): Likewise.
7615 ($(objpfx)tst-getconf.out): Likewise.
7616 ($(objpfx)bug-ga2-mem): Likewise.
7617 ($(objpfx)bug-glob2-mem): Likewise.
7618 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
7619 ($(objpfx)mtrace-tst-leaks2): Likewise.
7620 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
7621 ($(objpfx)tst-printf.out): Likewise.
7622 ($(objpfx)tst-setvbuf1.out): Likewise.
7623 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
7624 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
7625 ($(objpfx)tst-fmtmsg.out): Likewise.
7626 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
7627 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
7628
7629 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
7630 * bits/sigaction.h [__USE_MISC]: Likewise.
7631 * bits/waitstatus.h: Update #endif comments.
7632 * ctype/ctype.h: Likewise.
7633 * dirent/dirent.h: Likewise.
7634 [__USE_MISC]: Remove redundant conditionals.
7635 * grp/grp.h: Update #endif comments.
7636 [__USE_GNU]: Remove redundant conditionals.
7637 [__USE_MISC]: Likewise.
7638 * inet/netinet/in.h [__USE_GNU]: Likewise.
7639 * io/sys/stat.h [__USE_MISC]: Likewise.
7640 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
7641 * libio/bits/stdio.h: Update #endif comments.
7642 [__USE_MISC]: Remove redundant conditionals.
7643 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
7644 * libio/stdio.h: Update #endif comments.
7645 [__USE_MISC]: Remove redundant conditionals.
7646 * math/bits/math-finite.h [__USE_MISC]: Likewise.
7647 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
7648 * math/math.h: Update #else and #endif comments.
7649 [__USE_MISC]: Remove redundant conditionals.
7650 * misc/sys/uio.h: Update #endif comments.
7651 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
7652 * posix/glob.h [__USE_MISC]: Likewise.
7653 * posix/sys/types.h: Update #endif comments.
7654 [__USE_MISC]: Remove redundant conditionals.
7655 * posix/sys/wait.h: Update #endif comments.
7656 [__USE_MISC]: Remove redundant conditionals.
7657 * posix/unistd.h: Update #endif comments.
7658 [__USE_MISC]: Remove redundant conditionals.
7659 * pwd/pwd.h [__USE_GNU]: Likewise.
7660 [__USE_MISC]: Likewise.
7661 * resolv/netdb.h [__USE_GNU]: Likewise.
7662 * signal/signal.h: Update #endif comments.
7663 [__USE_MISC]: Remove redundant conditionals.
7664 * stdlib/stdlib.h: Update #else and #endif comments.
7665 [__USE_MISC]: Remove redundant conditionals.
7666 [__USE_GNU]: Likewise.
7667 * string/bits/string2.h [__USE_MISC]: Likewise.
7668 * string/string.h: Update #endif comments.
7669 [__USE_MISC]: Remove redundant conditionals.
7670 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
7671 Likewise.
7672 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
7673 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
7674 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
7675 Likewise.
7676 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
7677 Likewise.
7678 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
7679 comments.
7680 [__USE_MISC]: Remove redundant conditionals.
7681 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
7682 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
7683 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
7684 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
7685 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
7686 Likewise.
7687 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
7688 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
7689 Likewise.
7690 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
7691 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
7692 Likewise.
7693 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
7694 Likewise.
7695 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
7696 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
7697 Likewise.
7698 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
7699 Likewise.
7700 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
7701 * sysdeps/x86/bits/string.h: Update #endif comments.
7702 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
7703 conditionals.
7704 * time/sys/time.h: Update #endif comments.
7705 * time/time.h: Likewise.
7706 [__USE_MISC]: Remove redundant conditionals.
7707
7708 2014-02-21 Yury Gribov <y.gribov@samsung.com>
7709
7710 [BZ #16600]
7711 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
7712
7713 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
7714
7715 * Versions.def (librt): Add GLIBC_2.17.
7716
7717 2014-02-21 Adam Conrad <adconrad@0c3.net>
7718
7719 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
7720 synonym for _SYS_AUXV_H to allow direct inclusion.
7721 * sysdeps/sparc/bits/hwcap.h: Likewise.
7722 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
7723 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
7724 * sysdeps/sparc/sysdep.h: Likewise.
7725
7726 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7727
7728 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
7729
7730 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7731
7732 * benchtests/bench-strrchr.c: Print length instead of position.
7733
7734 2014-02-20 Joseph Myers <joseph@codesourcery.com>
7735
7736 [BZ #16611]
7737 * sysdeps/unix/sysv/linux/kernel-features.h
7738 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
7739 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
7740 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
7741 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
7742 Likewise.
7743 [__i386__ || __powerpc__ || __sh__ || __sparc__]
7744 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7745 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
7746 (__ASSUME_SENDMMSG): Define instead of using previous
7747 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
7748 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7749 (__ASSUME_SENDMMSG_SYSCALL): Define.
7750 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7751 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
7752 Likewise.
7753 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7754 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7755 Likewise.
7756 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7757 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7758 Likewise.
7759 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
7760 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7761 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7762 [__ASSUME_SENDMMSG]: Change conditionals to
7763 [__ASSUME_SENDMMSG_SOCKETCALL].
7764 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7765 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
7766 Define.
7767 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7768 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
7769 Likewise.
7770 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
7771 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7772 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7773 [!__ASSUME_SENDMMSG]: Change conditional to
7774 [!__ASSUME_SENDMMSG_SOCKETCALL].
7775 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7776 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7777 Define.
7778
7779 [BZ #16610]
7780 * sysdeps/unix/sysv/linux/kernel-features.h
7781 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
7782 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
7783 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
7784 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
7785 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7786 [__i386__ || __sparc__]
7787 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7788 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
7789 (__ASSUME_RECVMMSG): Define instead of using previous
7790 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
7791 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7792 (__ASSUME_RECVMMSG_SYSCALL): Define.
7793 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7794 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7795 Likewise.
7796 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7797 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7798 Likewise.
7799 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7800 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7801 Likewise.
7802 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
7803 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7804 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7805 [__ASSUME_RECVMMSG]: Change condition to
7806 [__ASSUME_RECVMMSG_SOCKETCALL].
7807 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7808 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7809 Define.
7810 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7811 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7812 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7813 Likewise.
7814 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
7815 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7816 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7817 [!__ASSUME_RECVMMSG]: Change condition to
7818 [!__ASSUME_RECVMMSG_SOCKETCALL].
7819 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7820 (__ASSUME_RECVMMSG_SYSCALL): Define.
7821
7822 [BZ #16609]
7823 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
7824 __powerpc__ || __s390__ || __sh__ || __sparc__]
7825 (__ASSUME_SOCKETCALL): Define.
7826 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
7827 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
7828 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
7829 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
7830 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7831 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7832 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
7833 (__ASSUME_ACCEPT4): Define instead of using previous
7834 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
7835 __powerpc__ || __sparc__ || __s390__)] condition.
7836 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7837 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7838 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
7839 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7840 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7841 [!__ASSUME_ACCEPT4]: Change condition to
7842 [!__ASSUME_ACCEPT4_SOCKETCALL].
7843 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7844 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
7845 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
7846 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7847 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
7848 __ASSUME_ACCEPT4_SYSCALL.
7849 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
7850 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
7851 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7852 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
7853 __ASSUME_ACCEPT4_SYSCALL.
7854 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
7855 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7856 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7857 [__ASSUME_ACCEPT4]: Change condition to
7858 [__ASSUME_ACCEPT4_SOCKETCALL].
7859 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7860 (__ASSUME_SOCKETCALL): Define.
7861 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
7862 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7863 (__ASSUME_SOCKETCALL): Define.
7864 (__ASSUME_ACCEPT4): Remove.
7865 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
7866 Define.
7867 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7868 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
7869 Likewise.
7870 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7871 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7872
7873 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
7874 macro.
7875 (HWCAP_ARM_LPAE): Likewise.
7876 (HWCAP_ARM_EVTSTRM): Likewise.
7877 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
7878 Add vpfd32, lpae and evtstrm.
7879 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
7880 Increase to 22.
7881
7882 2014-02-19 Joseph Myers <joseph@codesourcery.com>
7883
7884 * math/auto-libm-test-in: Add tests of clog10.
7885 * math/auto-libm-test-out: Regenerated.
7886 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
7887 * sysdeps/i386/fpu/libm-test-ulps: Update.
7888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7889
7890 2014-02-18 Andreas Schwab <schwab@suse.de>
7891
7892 [BZ #16574]
7893 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
7894 Store non-zero if the second buffer was newly allocated.
7895 (send_dg): Likewise.
7896 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
7897 to send_vc and send_dg.
7898 (res_nsend): Pass NULL for ansp2_malloced.
7899 * resolv/res_query.c (__libc_res_nquery): Add parameter
7900 answerp2_malloced and pass it down to __libc_res_nsend.
7901 (res_nquery): Pass additional NULL to __libc_res_nquery.
7902 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
7903 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
7904 second answer buffer if answerp2_malloced was set.
7905 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
7906 (__libc_res_nquerydomain): Add parameter
7907 answerp2_malloced and pass it down to __libc_res_nquery.
7908 (res_nquerydomain): Pass additional NULL to
7909 __libc_res_nquerydomain.
7910 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
7911 additional NULL to __libc_res_nsend and __libc_res_nquery.
7912 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
7913 additional NULL to __libc_res_nsearch.
7914 (_nss_dns_gethostbyname4_r): Revert last change. Use new
7915 parameter of __libc_res_nsearch to check for separately allocated
7916 second buffer.
7917 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
7918 __libc_res_nquery.
7919 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
7920 additional NULL to __libc_res_nquery.
7921 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
7922 __libc_res_nsearch.
7923 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
7924 * include/resolv.h: Update prototypes of __libc_res_nquery,
7925 __libc_res_nsearch, __libc_res_nsend.
7926
7927 2014-02-18 Joseph Myers <joseph@codesourcery.com>
7928
7929 * math/auto-libm-test-in: Add tests of fma.
7930 * math/auto-libm-test-out: Regenerated.
7931 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
7932 (fma_towardzero_test_data): Likewise.
7933 (fma_downward_test_data): Likewise.
7934 (fma_upward_test_data): Likewise.
7935 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
7936 mpc_mode.
7937 (rounding_modes): Add values for new field.
7938 (func_calc_method): Add value mpfr_fff_f.
7939 (func_calc_desc): Add mpfr_fff_f union field.
7940 (test_function): Add field exact_args.
7941 (FUNC): Add macro argument EXACT_ARGS.
7942 (FUNC_mpfr_f_f): Update call to FUNC.
7943 (FUNC_mpfr_f_f): Likewise.
7944 (FUNC_mpfr_ff_f): Likewise.
7945 (FUNC_mpfr_if_f): Likewise.
7946 (FUNC_mpc_c_f): Likewise.
7947 (FUNC_mpc_c_c): Likewise.
7948 (test_functions): Add fma. Update calls to FUNC.
7949 (handle_input_arg): Add argument exact_args.
7950 (add_test): Update call to handle_input_arg.
7951 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
7952 (output_for_one_input_case): Update call to calc_generic_results.
7953 Recalculate exact zero results in each rounding mode.
7954
7955 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
7956 non-negative before setting low bit.
7957 * math/auto-libm-test-in: Mark one asin test possibly having
7958 spurious underflow.
7959 * math/auto-libm-test-out: Regenerated.
7960 * sysdeps/i386/fpu/libm-test-ulps: Update.
7961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7962
7963 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
7964
7965 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
7966 * sysdeps/unix/sysv/linux/microblaze: Move directory from
7967 ports/sysdeps/unix/sysv/linux/microblaze.
7968 * README: Add missing listing for microblaze*-*-linux-gnu.
7969
7970 2014-02-16 Mike Frysinger <vapier@gentoo.org>
7971
7972 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
7973 * sysdeps/unix/sysv/linux/ia64: Move directory from
7974 ports/sysdeps/unix/sysv/linux/ia64.
7975 * README: Update listing for ia64-*-linux-gnu.
7976
7977 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
7978 Joseph Myers <joseph@codesourcery.com>
7979
7980 * Makeconfig (test-name): New variable.
7981 (evaluate-test): Likewise.
7982 * Makerules (do-test-clean): Remove .test-result files.
7983 (common-mostlyclean): Likewise.
7984 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
7985 * scripts/evaluate-test.sh: New file.
7986
7987 2014-02-14 Joseph Myers <joseph@codesourcery.com>
7988
7989 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
7990 separate $(objpfx)tst-fopenloc-cmp.out and
7991 $(objpfx)tst-fopenloc-mem.out targets.
7992 (tests): Update dependencies.
7993 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
7994 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
7995 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
7996 (tst-rxspencer-no-utf8-ARGS): New variable.
7997 (tst-rxspencer-no-utf8-ENV): Likewise.
7998 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
7999 instead of $(objpfx)tst-rxspencer-mem.
8000 ($(objpfx)tst-rxspencer-mem): Change target to
8001 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
8002 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
8003 * posix/tst-rxspencer-no-utf8.c: New file.
8004
8005 * elf/Makefile ($(objpfx)order.out): Remove rule.
8006 [$(run-built-tests) = yes] (tests): Depend on
8007 $(objpfx)order-cmp.out.
8008 ($(objpfx)order-cmp.out): New rule.
8009 [$(run-built-tests) = yes] (tests): Depend on
8010 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
8011 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
8012 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
8013 $(objpfx)tst-array5-static-cmp.out.
8014 ($(objpfx)tst-array1.out): Remove rule.
8015 ($(objpfx)tst-array1-cmp.out): New rule.
8016 ($(objpfx)tst-array1-static.out): Remove rule.
8017 ($(objpfx)tst-array1-static-cmp.out): New rule.
8018 ($(objpfx)tst-array2.out): Remove rule.
8019 ($(objpfx)tst-array2-cmp.out): New rule.
8020 ($(objpfx)tst-array3.out): Remove rule.
8021 ($(objpfx)tst-array3-cmp.out): New rule.
8022 ($(objpfx)tst-array4.out): Remove rule.
8023 ($(objpfx)tst-array4-cmp.out): New rule.
8024 ($(objpfx)tst-array5.out): Remove rule.
8025 ($(objpfx)tst-array5-cmp.out): New rule.
8026 ($(objpfx)tst-array5-static.out): Remove rule.
8027 ($(objpfx)tst-array5-static-cmp.out): New rule.
8028 [$(run-built-tests) = yes] (tests): Depend on
8029 $(objpfx)order2-cmp.out.
8030 ($(objpfx)order2.out): Remove rule.
8031 ($(objpfx)order2-cmp.out): New rule.
8032 ($(objpfx)tst-initorder.out): Remove rule.
8033 [$(run-built-tests) = yes] (tests): Depend on
8034 $(objpfx)tst-initorder-cmp.out.
8035 ($(objpfx)tst-initorder-cmp.out): New rule.
8036 ($(objpfx)tst-initorder2.out): Remove rule.
8037 [$(run-built-tests) = yes] (tests): Depend on
8038 $(objpfx)tst-initorder2-cmp.out.
8039 ($(objpfx)tst-initorder2-cmp.out): New rule.
8040 [$(run-built-tests) = yes] (tests): Depend on
8041 $(objpfx)tst-unused-dep-cmp.out.
8042 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
8043 ($(objpfx)tst-unused-dep-cmp.out): New rule.
8044 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
8045 on $(objpfx)tst-setvbuf1-cmp.out.
8046 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
8047 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
8048 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
8049 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
8050 ($(objpfx)tst-svc.out): Remove rule.
8051 ($(objpfx)tst-svc-cmp.out): New rule.
8052
8053 2014-02-13 Joseph Myers <joseph@codesourcery.com>
8054
8055 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
8056 * ctype/ctype.h [__USE_MISC]: Likewise.
8057 * dirent/dirent.h [__USE_MISC]: Likewise.
8058 * grp/grp.h [__USE_MISC]: Likewise.
8059 * io/fcntl.h [__USE_MISC]: Likewise.
8060 * io/sys/stat.h [__USE_MISC]: Likewise.
8061 * libio/stdio.h [__USE_MISC]: Likewise.
8062 * posix/unistd.h [__USE_MISC]: Likewise.
8063 * pwd/pwd.h [__USE_MISC]: Likewise.
8064 * stdlib.h [__USE_MISC]: Likewise.
8065 * string/bits/string2.h [__USE_MISC]: Likewise.
8066 * string/string.h [__USE_MISC]: Likewise.
8067 * time/time.h [__USE_MISC]: Likewise.
8068
8069 2014-02-13 Andreas Schwab <schwab@suse.de>
8070
8071 [BZ #16574]
8072 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
8073 second answer buffer if it was separately allocated.
8074
8075 2014-02-12 Joseph Myers <joseph@codesourcery.com>
8076
8077 * sysdeps/mips/math-tests.h: Include <features.h>.
8078 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8079 (ROUNDING_TESTS_long_double): Do not define.
8080 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8081 (EXCEPTION_TESTS_long_double): Likewise.
8082 * sysdeps/mips/mips64/libm-test-ulps: Update.
8083
8084 * include/features.h (__USE_BSD): Remove macro definitions.
8085 (__USE_SVID): Likewise.
8086 (_BSD_SOURCE): Likewise.
8087 (_SVID_SOURCE): Likewise.
8088 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
8089 from definition of _DEFAULT_SOURCE.
8090 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
8091 [_DEFAULT_SOURCE].
8092 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
8093 * bits/mman.h [__USE_BSD]: Likewise.
8094 * bits/termios.h [__USE_BSD]: Likewise.
8095 * bits/waitstatus.h [__USE_BSD]: Likewise.
8096 * ctype/ctype.h [__USE_SVID]: Likewise.
8097 * dirent/dirent.h [__USE_BSD]: Likewise.
8098 * grp/grp.h [__USE_SVID]: Likewise.
8099 [__USE_BSD]: Likewise.
8100 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
8101 * io/fcntl.h [__USE_BSD]: Likewise.
8102 * io/ftw.h [__USE_BSD]: Likewise.
8103 * io/sys/stat.h [__USE_BSD]: Likewise.
8104 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
8105 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
8106 * libio/stdio.h [__USE_SVID]: Likewise.
8107 [__USE_BSD]: Likewise.
8108 * math/math.h [__USE_SVID]: Likewise.
8109 [__USE_BSD]: Likewise.
8110 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
8111 * misc/bits/syslog.h [__USE_BSD]: Likewise.
8112 * misc/search.h [__USE_SVID]: Likewise.
8113 * misc/sys/mman.h [__USE_BSD]: Likewise.
8114 * misc/sys/syslog.h [__USE_BSD]: Likewise.
8115 * misc/sys/uio.h [__USE_BSD]: Likewise.
8116 * posix/bits/unistd.h [__USE_BSD]: Likewise.
8117 * posix/glob.h [__USE_BSD]: Likewise.
8118 * posix/regex.h [__USE_BSD]: Likewise.
8119 * posix/sys/types.h [__USE_BSD]: Likewise.
8120 [__USE_SVID]: Likewise.
8121 * posix/sys/utsname.h [__USE_SVID]: Likewise.
8122 * posix/sys/wait.h [__USE_BSD]: Likewise.
8123 [__USE_SVID]: Likewise.
8124 * posix/unistd.h [__USE_BSD]: Likewise.
8125 [__USE_SVID]: Likewise.
8126 * pwd/pwd.h [__USE_SVID]: Likewise.
8127 * resolv/netdb.h [__USE_BSD]: Likewise.
8128 * setjmp/setjmp.h [__USE_BSD]: Likewise.
8129 * signal/signal.h [__USE_BSD]: Likewise.
8130 [__USE_SVID]: Likewise.
8131 * socket/sys/socket.h [__USE_BSD]: Likewise.
8132 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
8133 * stdlib/stdlib.h [__USE_BSD]: Likewise.
8134 [__USE_SVID]: Likewise.
8135 * string/bits/string2.h [__USE_BSD]: Likewise.
8136 [__USE_SVID]: Likewise.
8137 * string/bits/string3.h [__USE_BSD]: Likewise.
8138 * string/endian.h [__USE_BSD]: Likewise.
8139 * string/string.h [__USE_SVID]: Likewise.
8140 [__USE_BSD]: Likewise.
8141 * string/strings.h [__USE_BSD]: Likewise.
8142 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
8143 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
8144 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
8145 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
8146 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
8147 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
8148 Likewise.
8149 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
8150 Likewise.
8151 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
8152 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
8153 Likewise.
8154 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
8155 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
8156 Likewise.
8157 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
8158 Likewise.
8159 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
8160 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
8161 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
8162 Likewise.
8163 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
8164 Likewise.
8165 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
8166 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
8167 * termios/termios.h [__USE_BSD]: Likewise.
8168 * time/sys/time.h [__USE_BSD]: Likewise.
8169 * time/time.h [__USE_BSD]: Likewise.
8170 [__USE_SVID]: Likewise.
8171
8172 * Makefile (subdir_targets): Remove subdir_lint.out.
8173
8174 * stdio-common/Makefile (do-tst-unbputc): Remove target.
8175 (do-tst-printf): Likewise.
8176 (tests): Depend directly on $(objpfx)tst-unbputc.out and
8177 $(objpfx)tst-printf.out.
8178
8179 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
8180
8181 * Makerules (check-abi-%): Change target to
8182 $(objpfx)check-abi-%.out.
8183 (check-abi target): Update dependencies.
8184 (check-abi-pattern variable): Redirect output of diff to $@.
8185 (check-abi variable): Likewise.
8186 * elf/Makefile (check-abi): Update dependencies.
8187
8188 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
8189 unused.
8190 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
8191 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
8192 subnormal range.
8193 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
8194 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
8195 value has largest subnormal exponent.
8196 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
8197 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
8198 * sysdeps/aarch64/soft-fp/sfp-machine.h
8199 (_FP_TININESS_AFTER_ROUNDING): New macro.
8200 * sysdeps/alpha/soft-fp/sfp-machine.h
8201 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8202 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8203 Likewise.
8204 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
8205 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8206 * sysdeps/mips/soft-fp/sfp-machine.h
8207 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8208 * sysdeps/powerpc/soft-fp/sfp-machine.h
8209 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8210 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8211 Likewise.
8212 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8213 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8214 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8215 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8216 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8217 Likewise.
8218
8219 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
8220
8221 [BZ #16545]
8222 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
8223 model 1.
8224
8225 2014-02-12 Richard Henderson <rth@redhat.com>
8226
8227 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
8228 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
8229 * sysdeps/unix/sysv/linux/alpha: Move directory from
8230 ports/sysdeps/unix/sysv/linux/alpha.
8231 * README: Update listing for alpha-*-linux-gnu.
8232
8233 2014-02-11 Joseph Myers <joseph@codesourcery.com>
8234
8235 * include/features.h: Update comment documenting feature test
8236 macros.
8237 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
8238 _DEFAULT_SOURCE.
8239 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
8240 (_SVID_SOURCE): Likewise.
8241 (_DEFAULT_SOURCE): Update description of default features.
8242 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
8243 with _GNU_SOURCE.
8244 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
8245 (S_ISVTX): Likewise.
8246 * manual/math.texi (Mathematical Constants): Likewise.
8247 * manual/signal.texi (Interrupted Primitives): Likewise.
8248 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
8249 * math/test-matherr.c (_SVID_SOURCE): Do not define.
8250 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
8251 Don't refer to _SVID_SOURCE in warning text.
8252
8253 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8254
8255 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
8256 already defined.
8257 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
8258 * sysdeps/mips/dl-lookup.c: Remove.
8259 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
8260
8261 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8262
8263 [BZ #16447]
8264 * math/auto-libm-test-in: Add testcase for expl.
8265 * math/auto-libm-test-out: Regenerate.
8266 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
8267 calculation of unsafe.
8268 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
8269
8270 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
8271
8272 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
8273 * sysdeps/unix/sysv/linux/aarch64: Move directory from
8274 ports/sysdeps/unix/sysv/linux/aarch64.
8275 * README: Update listing for aarch64*-*-linux-gnu.
8276
8277 2014-02-11 Will Newton <will.newton@linaro.org>
8278
8279 * manual/probes.texi (Mathematical Function Probes): Use
8280 "triggered" instead of "hit".
8281
8282 * manual/probes.texi (Internal Probes): Add documentation
8283 of setjmp, longjmp and longjmp_target probes.
8284
8285 * include/stap-probe.h: Add comment about probe argument
8286 format.
8287
8288 * malloc/mtrace.c (attribute_hidden): Remove unused macro
8289 definition. (tr_where, tr_freehook, tr_mallochook,
8290 tr_reallochook, tr_memalignhook): Use ANSI protoype.
8291
8292 2014-02-11 David S. Miller <davem@davemloft.net>
8293
8294 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
8295 processing int_tests.
8296
8297 2014-02-10 Joseph Myers <joseph@codesourcery.com>
8298
8299 * sysdeps/mips: Move directory from ports/sysdeps/mips.
8300 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
8301 * sysdeps/unix/sysv/linux/mips: Move directory from
8302 ports/sysdeps/unix/sysv/linux/mips.
8303 * README: Update listing for mips-*-linux-gnu and
8304 mips64-*-linux-gnu.
8305
8306 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
8307
8308 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
8309 * sysdeps/unix/sysv/linux/m68k: Move directory from
8310 ports/sysdeps/unix/sysv/linux/m68k.
8311 * README: Update listing for m68k-*-linux-gnu.
8312
8313 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
8314
8315 * sysdeps/tile: Move directory from ports/sysdeps/tile.
8316 * sysdeps/unix/sysv/linux/generic: Move directory from
8317 ports/sysdeps/unix/sysv/linux/generic.
8318 * sysdeps/unix/sysv/linux/tile: Move directory from
8319 ports/sysdeps/unix/sysv/linux/tile.
8320 * README: Update listing for tile*-*-linux-gnu.
8321
8322 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
8323
8324 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
8325 __builtin_expect.
8326 * benchtests/bench-memmem.c (simple_memmem): Likewise.
8327 * catgets/open_catalog.c (__open_catalog): Likewise.
8328 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
8329 * debug/confstr_chk.c: Likewise.
8330 * debug/fread_chk.c (__fread_chk): Likewise.
8331 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
8332 * debug/getgroups_chk.c: Likewise.
8333 * debug/mbsnrtowcs_chk.c: Likewise.
8334 * debug/mbsrtowcs_chk.c: Likewise.
8335 * debug/mbstowcs_chk.c: Likewise.
8336 * debug/memcpy_chk.c: Likewise.
8337 * debug/memmove_chk.c: Likewise.
8338 * debug/mempcpy_chk.c: Likewise.
8339 * debug/memset_chk.c: Likewise.
8340 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8341 * debug/strcat_chk.c (__strcat_chk): Likewise.
8342 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
8343 * debug/strncat_chk.c (__strncat_chk): Likewise.
8344 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
8345 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
8346 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
8347 * debug/wcpncpy_chk.c: Likewise.
8348 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8349 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
8350 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
8351 * debug/wcsncpy_chk.c: Likewise.
8352 * debug/wcsnrtombs_chk.c: Likewise.
8353 * debug/wcsrtombs_chk.c: Likewise.
8354 * debug/wcstombs_chk.c: Likewise.
8355 * debug/wmemcpy_chk.c: Likewise.
8356 * debug/wmemmove_chk.c: Likewise.
8357 * debug/wmempcpy_chk.c: Likewise.
8358 * debug/wmemset_chk.c: Likewise.
8359 * dirent/scandirat.c (SCANDIRAT): Likewise.
8360 * dlfcn/dladdr1.c (dladdr1): Likewise.
8361 * dlfcn/dladdr.c (dladdr): Likewise.
8362 * dlfcn/dlclose.c (dlclose_doit): Likewise.
8363 * dlfcn/dlerror.c (__dlerror): Likewise.
8364 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
8365 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
8366 * dlfcn/dlopen.c (dlopen_doit): Likewise.
8367 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
8368 * dlfcn/dlsym.c (dlsym_doit): Likewise.
8369 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
8370 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
8371 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
8372 Likewise.
8373 * elf/dl-conflict.c: Likewise.
8374 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
8375 * elf/dl-dst.h: Likewise.
8376 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
8377 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
8378 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
8379 * elf/dl-init.c (call_init, _dl_init): Likewise.
8380 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
8381 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
8382 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
8383 Likewise.
8384 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
8385 Likewise.
8386 * elf/dl-minimal.c (__libc_memalign): Likewise.
8387 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
8388 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8389 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
8390 * elf/dl-sym.c (do_sym): Likewise.
8391 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
8392 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
8393 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
8394 * elf/dl-writev.h (_dl_writev): Likewise.
8395 * elf/ldconfig.c (search_dir): Likewise.
8396 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
8397 (dl_main): Likewise.
8398 * elf/setup-vdso.h (setup_vdso): Likewise.
8399 * grp/compat-initgroups.c (compat_call): Likewise.
8400 * grp/fgetgrent.c (fgetgrent): Likewise.
8401 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
8402 * grp/putgrent.c (putgrent): Likewise.
8403 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8404 Likewise.
8405 * hurd/hurdinit.c: Likewise.
8406 * iconvdata/8bit-gap.c (struct): Likewise.
8407 * iconvdata/ansi_x3.110.c : Likewise.
8408 * iconvdata/big5.c : Likewise.
8409 * iconvdata/big5hkscs.c : Likewise.
8410 * iconvdata/cp1255.c: Likewise.
8411 * iconvdata/cp1258.c : Likewise.
8412 * iconvdata/cp932.c : Likewise.
8413 * iconvdata/euc-cn.c: Likewise.
8414 * iconvdata/euc-jisx0213.c : Likewise.
8415 * iconvdata/euc-jp.c: Likewise.
8416 * iconvdata/euc-jp-ms.c : Likewise.
8417 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
8418 * iconvdata/gb18030.c : Likewise.
8419 * iconvdata/gbbig5.c (const): Likewise.
8420 * iconvdata/gbgbk.c: Likewise.
8421 * iconvdata/gbk.c : Likewise.
8422 * iconvdata/ibm1364.c : Likewise.
8423 * iconvdata/ibm930.c : Likewise.
8424 * iconvdata/ibm932.c: Likewise.
8425 * iconvdata/ibm933.c : Likewise.
8426 * iconvdata/ibm935.c : Likewise.
8427 * iconvdata/ibm937.c : Likewise.
8428 * iconvdata/ibm939.c : Likewise.
8429 * iconvdata/ibm943.c: Likewise.
8430 * iconvdata/iso_11548-1.c: Likewise.
8431 * iconvdata/iso-2022-cn.c : Likewise.
8432 * iconvdata/iso-2022-cn-ext.c : Likewise.
8433 * iconvdata/iso-2022-jp-3.c: Likewise.
8434 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
8435 * iconvdata/iso-2022-kr.c : Likewise.
8436 * iconvdata/iso646.c (gconv_end): Likewise.
8437 * iconvdata/iso_6937-2.c : Likewise.
8438 * iconvdata/iso_6937.c : Likewise.
8439 * iconvdata/iso8859-1.c: Likewise.
8440 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
8441 * iconvdata/shift_jisx0213.c : Likewise.
8442 * iconvdata/sjis.c : Likewise.
8443 * iconvdata/t.61.c : Likewise.
8444 * iconvdata/tcvn5712-1.c : Likewise.
8445 * iconvdata/tscii.c: Likewise.
8446 * iconvdata/uhc.c : Likewise.
8447 * iconvdata/unicode.c (gconv_end): Likewise.
8448 * iconvdata/utf-16.c (gconv_end): Likewise.
8449 * iconvdata/utf-32.c (gconv_end): Likewise.
8450 * iconvdata/utf-7.c (base64): Likewise.
8451 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
8452 * iconv/gconv_close.c (__gconv_close): Likewise.
8453 * iconv/gconv_open.c (__gconv_open): Likewise.
8454 * iconv/gconv_simple.c (internal_ucs4_loop_single)
8455 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
8456 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
8457 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
8458 (ucs4le_internal_loop_single): Likewise.
8459 * iconv/iconv.c (iconv): Likewise.
8460 * iconv/iconv_close.c: Likewise.
8461 * iconv/loop.c (SINGLE): Likewise.
8462 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
8463 * include/atomic.h: Likewise.
8464 * inet/inet6_option.c (option_alloc): Likewise.
8465 * intl/bindtextdom.c (set_binding_values): Likewise.
8466 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
8467 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8468 * intl/localealias.c (read_alias_file): Likewise.
8469 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8470 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
8471 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
8472 * libio/fmemopen.c (fmemopen): Likewise.
8473 * libio/iofgets.c (_IO_fgets): Likewise.
8474 * libio/iofgets_u.c (fgets_unlocked): Likewise.
8475 * libio/iofgetws.c (fgetws): Likewise.
8476 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
8477 * libio/iogetdelim.c (_IO_getdelim): Likewise.
8478 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
8479 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
8480 * locale/findlocale.c (_nl_find_locale): Likewise.
8481 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
8482 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
8483 Likewise.
8484 * locale/setlocale.c (setlocale): Likewise.
8485 * login/programs/pt_chown.c (main): Likewise.
8486 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
8487 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
8488 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
8489 (mmap, mmap64, mremap, munmap): Likewise.
8490 * math/e_exp2l.c: Likewise.
8491 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
8492 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
8493 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
8494 * math/s_catan.c (__catan): Likewise.
8495 * math/s_catanf.c (__catanf): Likewise.
8496 * math/s_catanh.c (__catanh): Likewise.
8497 * math/s_catanhf.c (__catanhf): Likewise.
8498 * math/s_catanhl.c (__catanhl): Likewise.
8499 * math/s_catanl.c (__catanl): Likewise.
8500 * math/s_ccosh.c (__ccosh): Likewise.
8501 * math/s_ccoshf.c (__ccoshf): Likewise.
8502 * math/s_ccoshl.c (__ccoshl): Likewise.
8503 * math/s_cexp.c (__cexp): Likewise.
8504 * math/s_cexpf.c (__cexpf): Likewise.
8505 * math/s_cexpl.c (__cexpl): Likewise.
8506 * math/s_clog10.c (__clog10): Likewise.
8507 * math/s_clog10f.c (__clog10f): Likewise.
8508 * math/s_clog10l.c (__clog10l): Likewise.
8509 * math/s_clog.c (__clog): Likewise.
8510 * math/s_clogf.c (__clogf): Likewise.
8511 * math/s_clogl.c (__clogl): Likewise.
8512 * math/s_csin.c (__csin): Likewise.
8513 * math/s_csinf.c (__csinf): Likewise.
8514 * math/s_csinh.c (__csinh): Likewise.
8515 * math/s_csinhf.c (__csinhf): Likewise.
8516 * math/s_csinhl.c (__csinhl): Likewise.
8517 * math/s_csinl.c (__csinl): Likewise.
8518 * math/s_csqrt.c (__csqrt): Likewise.
8519 * math/s_csqrtf.c (__csqrtf): Likewise.
8520 * math/s_csqrtl.c (__csqrtl): Likewise.
8521 * math/s_ctan.c (__ctan): Likewise.
8522 * math/s_ctanf.c (__ctanf): Likewise.
8523 * math/s_ctanh.c (__ctanh): Likewise.
8524 * math/s_ctanhf.c (__ctanhf): Likewise.
8525 * math/s_ctanhl.c (__ctanhl): Likewise.
8526 * math/s_ctanl.c (__ctanl): Likewise.
8527 * math/w_pow.c: Likewise.
8528 * math/w_powf.c: Likewise.
8529 * math/w_powl.c: Likewise.
8530 * math/w_scalb.c (sysv_scalb): Likewise.
8531 * math/w_scalbf.c (sysv_scalbf): Likewise.
8532 * math/w_scalbl.c (sysv_scalbl): Likewise.
8533 * misc/error.c (error_tail): Likewise.
8534 * misc/pselect.c (__pselect): Likewise.
8535 * nis/nis_callback.c (__nis_create_callback): Likewise.
8536 * nis/nis_call.c (__nisfind_server): Likewise.
8537 * nis/nis_creategroup.c (nis_creategroup): Likewise.
8538 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
8539 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
8540 * nis/nis_getservlist.c (nis_getservlist): Likewise.
8541 * nis/nis_lookup.c (nis_lookup): Likewise.
8542 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
8543 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
8544 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
8545 * nis/nis_xdr.c (xdr_endpoint): Likewise.
8546 * nis/nss_compat/compat-grp.c (getgrent_next_file)
8547 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
8548 * nis/nss_compat/compat-initgroups.c (add_group)
8549 (internal_getgrent_r): Likewise.
8550 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
8551 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
8552 * nis/nss_compat/compat-spwd.c (getspent_next_file)
8553 (internal_getspnam_r): Likewise.
8554 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
8555 (_nss_nis_getaliasbyname_r): Likewise.
8556 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
8557 (_nss_nis_getntohost_r): Likewise.
8558 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
8559 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
8560 (_nss_nis_getgrgid_r): Likewise.
8561 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
8562 (internal_nis_gethostent_r, internal_gethostbyname2_r)
8563 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
8564 (_nss_nis_gethostbyname4_r): Likewise.
8565 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
8566 (initgroups_netid): Likewise.
8567 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
8568 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
8569 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
8570 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
8571 (_nss_nis_getprotobynumber_r): Likewise.
8572 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
8573 (_nss_nis_getsecretkey): Likewise.
8574 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
8575 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
8576 (_nss_nis_getpwuid_r): Likewise.
8577 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
8578 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
8579 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
8580 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
8581 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
8582 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
8583 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
8584 Likewise.
8585 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
8586 (_nss_nisplus_getntohost_r): Likewise.
8587 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
8588 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
8589 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
8590 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
8591 Likewise.
8592 * nis/nss_nisplus/nisplus-initgroups.c
8593 (_nss_nisplus_initgroups_dyn): Likewise.
8594 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
8595 (_nss_nisplus_getnetbyaddr_r): Likewise.
8596 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
8597 (_nss_nisplus_getprotobynumber_r): Likewise.
8598 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
8599 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
8600 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
8601 Likewise.
8602 * nis/nss_nisplus/nisplus-service.c
8603 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
8604 (_nss_nisplus_getservbyport_r): Likewise.
8605 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
8606 (_nss_nisplus_getspnam_r): Likewise.
8607 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
8608 Likewise.
8609 * nscd/aicache.c (addhstaiX): Likewise.
8610 * nscd/cache.c (cache_search, prune_cache): Likewise.
8611 * nscd/connections.c (register_traced_file, send_ro_fd)
8612 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
8613 (main_loop_epoll): Likewise.
8614 * nscd/grpcache.c (addgrbyX): Likewise.
8615 * nscd/hstcache.c (addhstbyX): Likewise.
8616 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8617 * nscd/mem.c (gc, mempool_alloc): Likewise.
8618 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
8619 (addinnetgrX): Likewise.
8620 * nscd/nscd-client.h (__nscd_acquire_maplock)
8621 (__nscd_drop_map_ref): Likewise.
8622 * nscd/nscd_getai.c (__nscd_getai): Likewise.
8623 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
8624 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
8625 Likewise.
8626 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
8627 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8628 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
8629 (__nscd_get_map_ref): Likewise.
8630 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
8631 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
8632 Likewise.
8633 * nscd/pwdcache.c (addpwbyX): Likewise.
8634 * nscd/selinux.c (preserve_capabilities): Likewise.
8635 * nscd/servicescache.c (addservbyX): Likewise.
8636 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
8637 * posix/fnmatch.c (fnmatch): Likewise.
8638 * posix/getopt.c (_getopt_internal_r): Likewise.
8639 * posix/glob.c (glob, glob_in_dir): Likewise.
8640 * posix/wordexp.c (exec_comm_child): Likewise.
8641 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
8642 (getanswer_r, gaih_getanswer_slice): Likewise.
8643 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
8644 * resolv/res_init.c: Likewise.
8645 * resolv/res_mkquery.c (res_nmkquery): Likewise.
8646 * resolv/res_query.c (__libc_res_nquery): Likewise.
8647 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
8648 Likewise.
8649 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
8650 * stdio-common/perror.c (perror): Likewise.
8651 * stdio-common/printf_fp.c (___printf_fp): Likewise.
8652 * stdio-common/tmpnam.c (tmpnam): Likewise.
8653 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
8654 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
8655 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
8656 Likewise.
8657 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
8658 * stdlib/putenv.c (putenv): Likewise.
8659 * stdlib/setenv.c (__add_to_environ): Likewise.
8660 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8661 * stdlib/strtol_l.c (INTERNAL): Likewise.
8662 * string/memmem.c (memmem): Likewise.
8663 * string/strerror.c (strerror): Likewise.
8664 * string/strnlen.c (__strnlen): Likewise.
8665 * string/test-memmem.c (simple_memmem): Likewise.
8666 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
8667 * sunrpc/pm_getport.c (__get_socket): Likewise.
8668 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
8669 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
8670 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
8671 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
8672 Likewise.
8673 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8674 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8675 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
8676 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
8677 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
8678 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
8679 Likewise.
8680 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
8681 Likewise.
8682 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
8683 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8684 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8685 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
8686 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8687 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
8688 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8689 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
8690 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
8691 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
8692 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8693 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
8694 Likewise.
8695 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
8696 Likewise.
8697 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
8698 Likewise.
8699 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
8700 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8701 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
8702 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
8703 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8704 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
8705 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8706 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
8707 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
8708 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
8709 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
8710 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8711 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8712 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
8713 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8714 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8715 Likewise.
8716 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
8717 Likewise.
8718 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
8719 Likewise.
8720 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
8721 Likewise.
8722 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8723 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8724 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
8725 Likewise.
8726 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
8727 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
8728 * sysdeps/posix/opendir.c (__opendirat): Likewise.
8729 * sysdeps/posix/sleep.c: Likewise.
8730 * sysdeps/posix/tempname.c: Likewise.
8731 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
8732 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8733 Likewise.
8734 * sysdeps/powerpc/powerpc32/dl-machine.h
8735 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
8736 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8737 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8738 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
8739 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
8740 Likewise.
8741 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
8742 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
8743 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8744 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
8745 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8746 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
8747 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
8748 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
8749 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8750 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
8751 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
8752 (elf_machine_lazy_rel): Likewise.
8753 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8754 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
8755 (elf_machine_lazy_rel): Likewise.
8756 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
8757 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
8758 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
8759 * sysdeps/unix/grantpt.c (grantpt): Likewise.
8760 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
8761 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
8762 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
8763 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8764 Likewise.
8765 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
8766 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
8767 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
8768 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
8769 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8770 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8771 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
8772 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
8773 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
8774 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8775 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
8776 Likewise.
8777 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
8778 (__posix_fallocate64_l64): Likewise.
8779 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
8780 (posix_fallocate): Likewise.
8781 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
8782 Likewise.
8783 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8784 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
8785 (getifaddrs_internal): Likewise.
8786 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
8787 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
8788 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
8789 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
8790 * sysdeps/unix/sysv/linux/posix_fallocate64.c
8791 (__posix_fallocate64_l64): Likewise.
8792 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
8793 Likewise.
8794 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
8795 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
8796 (__get_clockfreq): Likewise.
8797 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
8798 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
8799 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
8800 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8801 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8802 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
8803 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
8804 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
8805 Likewise.
8806 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
8807 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
8808 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
8809 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
8810 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8811 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
8812 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
8813 Likewise.
8814 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8815 (posix_fallocate): Likewise.
8816 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8817 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
8818 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
8819 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
8820 (elf_machine_rela, elf_machine_rela_relative)
8821 (elf_machine_lazy_rel): Likewise.
8822 * time/asctime.c (asctime_internal): Likewise.
8823 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
8824 * time/tzset.c (__tzset_parse_tz): Likewise.
8825 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8826 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8827 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
8828 * wcsmbs/wcsmbsload.h: Likewise.
8829
8830 [BZ #15894]
8831 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
8832
8833 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
8834 (arena_get2): Remove THREAD_STATS conditionals.
8835 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
8836 (__malloc_stats, int): Likewise.
8837
8838 2014-02-08 Mike Frysinger <vapier@gentoo.org>
8839
8840 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
8841 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
8842
8843 * manual/setjmp.texi: Fix typos/grammar errors.
8844
8845 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
8846 Only return early when n is <= 0. Delete unused return statement.
8847
8848 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
8849 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
8850 * debug/tst-longjmp_chk3.c: New file.
8851
8852 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
8853 (test_main): Replace code with set_fortify_handler call.
8854 * debug/test-strcpy_chk.c: Likewise.
8855 * debug/tst-chk1.c: Likewise.
8856 * debug/tst-longjmp_chk.c: Likewise.
8857 * test-skeleton.c: Include fcntl.h & paths.h
8858 (set_fortify_handler): Define.
8859
8860 * debug/tst-longjmp_chk.c: Add header comment and include
8861 ../test-skeleton.c.
8862 (do_test): Mark static.
8863 (TEST_FUNCTION): Define.
8864
8865 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
8866 (IP_PMTUDISC_INTERFACE): Likewise.
8867 (IP_MULTICAST_IF): Likewise.
8868 (IP_MULTICAST_TTL): Likewise.
8869 (IP_MULTICAST_LOOP): Likewise.
8870 (IP_ADD_MEMBERSHIP): Likewise.
8871 (IP_DROP_MEMBERSHIP): Likewise.
8872 (IP_UNBLOCK_SOURCE): Likewise.
8873 (IP_BLOCK_SOURCE): Likewise.
8874 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
8875 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
8876 (IP_MSFILTER): Likewise.
8877 (MCAST_JOIN_GROUP): Likewise.
8878 (MCAST_BLOCK_SOURCE): Likewise.
8879 (MCAST_UNBLOCK_SOURCE): Likewise.
8880 (MCAST_LEAVE_GROUP): Likewise.
8881 (MCAST_JOIN_SOURCE_GROUP): Likewise.
8882 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
8883 (MCAST_MSFILTER): Likewise.
8884 (IP_MULTICAST_ALL): Likewise.
8885 (IP_UNICAST_IF): Likewise.
8886
8887 * timezone/Makefile: Delete $(have-ksh) check.
8888 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
8889 * timezone/tzselect.ksh: Add +x mode bits.
8890
8891 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
8892 (ANON_INODE_FS_MAGIC): Likewise.
8893 (BDEVFS_MAGIC): Likewise.
8894 (BINFMTFS_MAGIC): Likewise.
8895 (BTRFS_TEST_MAGIC): Likewise.
8896 (CRAMFS_MAGIC_WEND): Likewise.
8897 (DEBUGFS_MAGIC): Likewise.
8898 (ECRYPTFS_SUPER_MAGIC): Likewise.
8899 (EXT3_SUPER_MAGIC): Likewise.
8900 (EXT4_SUPER_MAGIC): Likewise.
8901 (FUTEXFS_SUPER_MAGIC): Likewise.
8902 (HOSTFS_SUPER_MAGIC): Likewise.
8903 (HUGETLBFS_MAGIC): Likewise.
8904 (MINIX3_SUPER_MAGIC): Likewise.
8905 (MTD_INODE_FS_MAGIC): Likewise.
8906 (NILFS_SUPER_MAGIC): Likewise.
8907 (OPENPROM_SUPER_MAGIC): Likewise.
8908 (PIPEFS_MAGIC): Likewise.
8909 (PSTOREFS_MAGIC): Likewise.
8910 (QNX6_SUPER_MAGIC): Likewise.
8911 (RAMFS_MAGIC): Likewise.
8912 (REISERFS_SUPER_MAGIC_STRING): Likewise.
8913 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
8914 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
8915 (SECURITYFS_MAGIC): Likewise.
8916 (SELINUX_MAGIC): Likewise.
8917 (SMACK_MAGIC): Likewise.
8918 (SOCKFS_MAGIC): Likewise.
8919 (SQUASHFS_MAGIC): Likewise.
8920 (STACK_END_MAGIC): Likewise.
8921 (TMPFS_MAGIC): Likewise.
8922 (USBDEVICE_SUPER_MAGIC): Likewise.
8923 (V9FS_MAGIC): Likewise.
8924 (XENFS_SUPER_MAGIC): Likewise.
8925 (CRAMFS_MAGIC): Fix typo in comment.
8926 (EXT2_SUPER_MAGIC): Update comment.
8927 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
8928
8929 2014-02-08 Joseph Myers <joseph@codesourcery.com>
8930
8931 * sysdeps/arm: Move directory from ports/sysdeps/arm.
8932 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
8933 * sysdeps/unix/sysv/linux/arm: Move directory from
8934 ports/sysdeps/unix/sysv/linux/arm.
8935 * README: Update listing for arm-*-linux-gnueabi.
8936
8937 * README: Remove mention of am33.
8938
8939 2014-02-07 Roland McGrath <roland@hack.frob.com>
8940
8941 * bits/sigset.h (__sigemptyset): Use a statement expression rather
8942 than the comma operator, to avoid "rhs of comma has no effect"
8943 compiler warnings.
8944 (__sigfillset, __sigandset, __sigorset): Likewise.
8945 * include/signal.h (__sigemptyset): Likewise.
8946 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
8947
8948 2014-02-07 Allan McRae <allan@archlinux.org>
8949
8950 * version.h (RELEASE): Set to "development".
8951 (VERSION): Set to "2.19.90"
8952 * NEWS: Add 2.20 section.
8953
8954 2014-02-06 Carlos O'Donell <carlos@redhat.com>
8955
8956 [BZ #16529]
8957 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
8958
8959 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8960
8961 * manual/contrib.texi: Update entry for Carlos O'Donell,
8962 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
8963
8964 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
8965
8966 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
8967
8968 * sysdeps/unix/sysv/linux/kernel-features.h
8969 [__LINUX_KERNEL_VERSION >= 0x020621]
8970 (__ASSUME_PROC_PID_TASK_COMM): Define.
8971
8972 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8973
8974 [BZ #16398]
8975 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
8976 conversion when destination buffer does not have enough space.
8977 * libio/tst-ftell-partial-wide.c: New test case.
8978 * libio/Makefile (tests): Add tst-ftell-partial-wide.
8979
8980 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
8981 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
8982 Leonard and Allan McRae.
8983
8984 2014-02-04 David S. Miller <davem@davemloft.net>
8985
8986 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
8987 32-bit.
8988
8989 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8990
8991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8992 New file
8993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8994 New file
8995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8996 New file.
8997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8998 New file.
8999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9000 New file.
9001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9002 New file.
9003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9004 New file.
9005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9006 New file.
9007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9008 New file.
9009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9010 New file.
9011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9012 New file.
9013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9014 New file.
9015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9016 New file.
9017
9018 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9019
9020 * nptl/shlib-versions: Change powerpc*le start to 2.17.
9021 * shlib-versions: Likewise.
9022
9023 2014-02-04 Roland McGrath <roland@hack.frob.com>
9024 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9025
9026 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
9027 (abilist-pattern): New variable, set to %-le.abilist.
9028
9029 * Makerules (abilist-pattern): New variable.
9030 (vpath): Use $(abilist-pattern) in place of %.abilist.
9031 (check-abi-% pattern rule): Likewise.
9032 (check-abi, update-abi): Likewise.
9033
9034 2014-02-04 Eric Wong <normalperson@yhbt.net>
9035
9036 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9037
9038 2014-02-03 Carlos O'Donell <carlos@redhat.com>
9039
9040 * manual/startup.texi: Add next, previous, and top entries for
9041 the `Program Arguments' and `Environment Variables' nodes.
9042
9043 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
9044
9045 * manual/macros.texi: Add comments before MTASC-safety macros.
9046
9047 * manual/users.texi: Document MTASC-safety properties.
9048
9049 * manual/threads.texi (pthread_key_create, pthread_key_delete)
9050 (pthread_getspecific, pthread_setspecific): Format with
9051 @deftypefun, and add @safety note.
9052 * manual/signal.texi: Move comments that analyze the above
9053 functions to their home place.
9054
9055 2014-02-03 Allan McRae <allan@archlinux.org>
9056
9057 * po/sl.po: Update Slovenian translation from translation project.
9058
9059 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
9060
9061 * manual/time.texi (timegm): Add missing blank after @c.
9062 Reported by Joseph Myers <joseph@codesourcery.com>.
9063
9064 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
9065
9066 * manual/check-safety.sh: New.
9067 * manual/Makefile ($(objpfx)stamp-summary): Run it.
9068
9069 * manual/terminal.texi: Document MTASC-safety properties.
9070
9071 * manual/filesys.texi: Document MTASC-safety properties.
9072
9073 * manual/errno.texi: Document MTASC-safety properties.
9074
9075 * manual/intro.texi: Document safety identifiers and
9076 conditionals.
9077
9078 * manual/string.texi (wcstok): Fix prototype.
9079 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
9080
9081 * manual/time.texi: Document MTASC-safety properties.
9082
9083 * manual/string.texi: Document MTASC-safety properties.
9084
9085 * manual/threads.texi: Document MTASC-safety properties.
9086
9087 * manual/stdio.texi: Document MTASC-safety properties.
9088
9089 * manual/syslog.texi: Document MTASC-safety properties.
9090
9091 * manual/sysinfo.texi: Document MTASC-safety properties.
9092
9093 * manual/startup.texi: Document MTASC-safety properties.
9094
9095 * manual/socket.texi: Document MTASC-safety properties.
9096
9097 * manual/signal.texi: Document MTASC-safety properties.
9098
9099 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
9100
9101 * manual/setjmp.texi: Document MTASC-safety properties.
9102
9103 * manual/search.texi: Document MTASC-safety properties.
9104
9105 * manual/resource.texi: Document MTASC-safety properties.
9106
9107 * manual/process.texi: Document MTASC-safety properties.
9108
9109 * manual/platform.texi: Document MTASC-safety properties.
9110
9111 * manual/pipe.texi: Document MTASC-safety properties.
9112
9113 * manual/pattern.texi: Document MTASC-safety properties.
9114
9115 * manual/message.texi: Document MTASC-safety properties.
9116
9117 [BZ #12751]
9118 * manual/memory.texi: Document MTASC-safety properties.
9119
9120 * manual/math.texi: Document MTASC-safety properties.
9121
9122 * manual/locale.texi: Document MTASC-safety properties.
9123
9124 * manual/llio.texi: Document MTASC-safety properties.
9125
9126 * manual/libdl.texi: New.
9127
9128 * manual/lang.texi: Document MTASC-safety properties.
9129
9130 * manual/job.texi: Document MTASC-safety properties.
9131
9132 * manual/getopt.texi: Document MTASC-safety properties.
9133
9134 * manual/ctype.texi: Document MTASC-safety properties.
9135
9136 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
9137
9138 [BZ #16046]
9139 * csu/libc-tls.c (static_map): Remove variable.
9140 (__libc_setup_tls): Use main executable's link map for TLS data.
9141 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
9142 casing for LM_ID_BASE and GL(dl_nns).
9143 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
9144 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
9145 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
9146 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
9147 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
9148 member.
9149 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
9150 l_phnum members.
9151
9152 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
9153
9154 * manual/debug.texi: Document MTASC-safety properties.
9155
9156 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
9157
9158 [BZ #16510]
9159 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
9160 of __x86_64__ when disabling x87 inline functions.
9161
9162 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
9163
9164 * manual/charset.texi: Document MTASC-safety properties.
9165
9166 * manual/crypt.texi: Document MTASC-safety properties.
9167
9168 * manual/conf.texi: Document MTASC-safety properties.
9169
9170 * manual/arith.texi: Document MTASC-safety properties.
9171
9172 * manual/argp.texi: Document MTASC-safety properties.
9173
9174 * manual/macros.texi: Introduce macros to document multi
9175 thread, asynchronous signal and asynchronous cancellation
9176 safety properties.
9177 * manual/intro.texi: Introduce the properties themselves.
9178
9179 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9180
9181 * sysdeps/sh/sh4/Makefile: New file.
9182
9183 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
9184
9185 * math/gen-libm-test.pl ($srcdir): New variable.
9186 ($auto_input): Use it.
9187
9188 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9189
9190 [BZ #16506]
9191 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
9192 access beyond array bounds when parsing netgroups file.
9193
9194 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
9195 the old buffer before realloc.
9196
9197 2014-01-27 Allan McRae <allan@archlinux.org>
9198
9199 * po/fr.po: Update French translation from translation project.
9200
9201 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9202
9203 * sysdeps/sh/libm-test-ulps: Regenerate.
9204
9205 2014-01-24 David S. Miller <davem@davemloft.net>
9206
9207 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
9208
9209 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9210
9211 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
9212 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
9213
9214 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9215
9216 [BZ #16474]
9217 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
9218 string pointers after reallocation.
9219
9220 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9221
9222 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
9223 __SH4A__ instead of __SH_FPU_ANY__.
9224
9225 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9226
9227 * sysdeps/sh/fpu_control.h: New file.
9228 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
9229 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
9230 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
9231 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
9232 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
9233 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
9234 * sysdeps/sh/sys/ucontext.h: Remove.
9235 * sysdeps/sh/sys: Remove directory.
9236
9237 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9238
9239 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
9240 s390/sys/ucontext.h.
9241 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
9242 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
9243
9244 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
9245
9246 [BZ #15605]
9247 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
9248
9249 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9250
9251 [BZ#16431]
9252 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9253 Adjust the vDSO correctly for internal calls.
9254 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
9255
9256 2014-01-20 Allan McRae <allan@archlinux.org>
9257
9258 * po/ca.po: Update Catalan translation from translation project.
9259
9260 2014-01-16 Mike Frysinger <vapier@gentoo.org>
9261
9262 * sysdeps/s390/sotruss-lib.c: New file.
9263
9264 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9265
9266 [BZ#16430]
9267 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
9268 (__GI___gettimeofday): Alias for a different internal symbol to avoid
9269 local calls issues by not having a PLT stub required for IFUNC calls.
9270 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
9271
9272 2014-01-16 Joseph Myers <joseph@codesourcery.com>
9273
9274 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
9275 * math/test-fpucw-static.c: Likewise.
9276
9277 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9278
9279 [BZ #16453]
9280 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
9281
9282 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9283
9284 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
9285 implementation for powerpc.
9286
9287 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
9288
9289 [BZ #14782]
9290 * sysdeps/posix/system.c (__libc_system): Do not enable
9291 asynchronous cancellation.
9292
9293 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9294
9295 [BZ #16427]
9296 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
9297 handling only for numbers special also in the IEEE case.
9298
9299 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9300
9301 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9302
9303 2014-01-11 Allan McRae <allan@archlinux.org>
9304
9305 * po/bg.po: Update Bulgarian translation from translation project.
9306
9307 * po/de.po: Update German translation from translation project.
9308
9309 2014-01-10 Roland McGrath <roland@hack.frob.com>
9310
9311 * sysdeps/generic/gcc-compat.h: New file.
9312
9313 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9314
9315 * benchtests/asin-inputs: Correct slow inputs.
9316 * benchtests/acos-inputs: Likewise.
9317
9318 2014-01-10 Allan McRae <allan@archlinux.org>
9319
9320 * po:sv.po: Update Swedish translation from translation project.
9321
9322 * po/vi.po: Update Vietnamese translation from translation project.
9323
9324 * po/eo.po: Update Esperanto translation from translation project.
9325
9326 * po/cs.po: Update Czech translation from translation project.
9327
9328 * po/nl.po: Update Dutch translation from translation project.
9329
9330 * po/pl.po: Update Polish translation from translation project.
9331
9332 * po/ru.po: Update Russian translation from translation project.
9333
9334 * po/uk.po: Update Ukrainian translation from translation project.
9335
9336 2014-01-08 Brooks Moses <bmoses@google.com>
9337
9338 * elf/dl-load.c: Fix comment typo.
9339
9340 2014-01-08 Carlos O'Donell <carlos@redhat.com>
9341
9342 * po/header.pot: Rename to...
9343 * po/pot.header: ... this.
9344 * po/Makefile: Use pot.header.
9345
9346 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
9347 Maxim Kuvyrkov <maxim@kugelworks.com>
9348
9349 [BZ #16394]
9350 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
9351 SRC and DEST against LEN.
9352
9353 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9354
9355 [BZ #16414]
9356 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
9357 implementation.
9358 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
9359
9360 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9361
9362 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9363
9364 2014-01-08 Joseph Myers <joseph@codesourcery.com>
9365
9366 [BZ #16408]
9367 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
9368 for large positive arguments.
9369
9370 2014-01-07 Joseph Myers <joseph@codesourcery.com>
9371
9372 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9373
9374 * math/auto-libm-test-in: Mark various tests with
9375 xfail-rounding:ldbl-128ibm.
9376 * math/auto-libm-test-out: Regenerated.
9377
9378 [BZ #16407]
9379 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9380 Increase overflow threshold.
9381
9382 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
9383
9384 [BZ #14286]
9385 * stdio-common/vfprintf.c: Check for integer overflow.
9386
9387 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9388
9389 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
9390 the first argument and return value of __tls_get_addr_internal.
9391
9392 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9393
9394 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
9395 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
9396
9397 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9398
9399 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
9400 * sysdeps/s390/rtld-global-offsets.sym: New file.
9401 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
9402 GLIBC_2.19 symbol.
9403 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
9404 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
9405 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
9406 ... this.
9407 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
9408 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9409 ... this.
9410 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9411 Regenerate.
9412 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9413 Regenerate.
9414 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
9415 halfs of GPRs for high_gprs contexts.
9416 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
9417 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
9418 field.
9419 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
9420 uc_flags field.
9421 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
9422 64 bit versions:
9423 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
9424 for high GPRs (uc_high_gprs) and for future extensions
9425 (__reserved).
9426 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
9427 for future extensions (__reserved).
9428 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
9429 64 bit versions:
9430 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
9431 SC_HIGHGPRS offset definition.
9432 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
9433 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
9434
9435 * Versions.def: Add GLIBC_2.19 for libpthread.
9436 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
9437 siglongjmp for libpthread with GLIBC_2.19 symver.
9438 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
9439 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
9440 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
9441 * sysdeps/s390/__longjmp.c: New file.
9442 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
9443 * sysdeps/s390/longjmp.c: New file.
9444 * sysdeps/s390/setjmp.S: New file.
9445 * sysdeps/s390/sigjmp.S: New file.
9446 * sysdeps/s390/v1-longjmp.c: New file.
9447 * sysdeps/s390/v1-setjmp.h: New file.
9448 * sysdeps/s390/v1-sigjmp.c: New file.
9449 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
9450 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
9451 GLIBC_2.19 version.
9452 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
9453 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
9454 versioned symbols for ____longjmp_chk.
9455 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
9456 Likewise.
9457 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9458 Regenerate.
9459 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9460 Regenerate.
9461 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9462 Regenerate.
9463 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9464 Regenerate.
9465 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
9466 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
9467 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
9468 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
9469 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
9470 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
9471 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
9472 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
9473 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
9474 * sysdeps/s390/rtld-__longjmp.c: New file.
9475 * sysdeps/s390/rtld-setjmp.S: New file.
9476
9477 2014-01-06 Joseph Myers <joseph@codesourcery.com>
9478
9479 [BZ #16400]
9480 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9481 Return -__logl (x) for small positive arguments without evaluating
9482 a polynomial.
9483
9484 2014-01-06 Mike Frysinger <vapier@gentoo.org>
9485
9486 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
9487 Rename to ...
9488 (__ptrace_peeksiginfo_args): ... this.
9489 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9490 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9491 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9492
9493 2014-01-06 Allan McRae <allan@archlinux.org>
9494
9495 * inet/netinet/in.h: Fix typo in comment.
9496
9497 2014-01-05 Andreas Jaeger <aj@suse.de>
9498
9499 * sysdeps/i386/fpu/libm-test-ulps: Update.
9500
9501 2014-01-05 Allan McRae <allan@archlinux.org>
9502
9503 * po/libc.pot: Regenerated.
9504
9505 * malloc/memusagestat.c: Fix gettext call formatting.
9506
9507 2014-01-04 Sami Kerola <kerolasa@iki.fi>
9508
9509 * nscd/nscd.c: Improve usage() output.
9510
9511 2014-01-04 Mike Frysinger <vapier@gentoo.org>
9512
9513 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
9514 * sysdeps/unix/sysv/linux/configure: Regenerated.
9515 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
9516 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
9517
9518 2014-01-03 Joseph Myers <joseph@codesourcery.com>
9519
9520 [BZ #16390]
9521 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9522 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
9523
9524 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9525
9526 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
9527 extra tokens at end of #undef directive.
9528 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
9529 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
9530 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9531
9532 2014-01-03 Joseph Myers <joseph@codesourcery.com>
9533
9534 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9535
9536 * math/auto-libm-test-in: Mark various tests with
9537 xfail-rounding:ldbl-128ibm.
9538 * math/auto-libm-test-out: Regenerated.
9539
9540 2014-01-02 Joseph Myers <joseph@codesourcery.com>
9541
9542 [BZ #16386]
9543 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
9544 numbers with subnormal high part when calculating exponent.
9545
9546 [BZ #16385]
9547 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
9548 fabs.
9549
9550 [BZ #16384]
9551 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
9552 M_LN2l.
9553 (__ieee754_acoshl): Use __log1pl not __log1p.
9554
9555 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
9556
9557 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
9558 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
9559 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
9560 (grow_heap, heap_trim, _int_new_arena, get_free_list)
9561 (reused_arena, arena_get2): Convert to GNU style.
9562 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
9563 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
9564 (memalign_check, __malloc_set_state): Likewise.
9565 * malloc/mallocbug.c (main): Likewise.
9566 * malloc/malloc.c (__malloc_assert, malloc_init_state)
9567 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
9568 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
9569 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
9570 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
9571 (__posix_memalign, malloc_info): Likewise.
9572 * malloc/malloc.h: Likewise.
9573 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
9574 (mallochook, memalignhook, reallochook, mabort): Likewise.
9575 * malloc/mcheck.h: Likewise.
9576 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
9577 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
9578 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
9579 * malloc/morecore.c (__default_morecore): Likewise.
9580 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
9581 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
9582 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
9583 (print_and_abort): Likewise.
9584 * malloc/obstack.h: Likewise.
9585 * malloc/set-freeres.c (__libc_freeres): Likewise.
9586 * malloc/tst-mallocstate.c (main): Likewise.
9587 * malloc/tst-mtrace.c (main): Likewise.
9588 * malloc/tst-realloc.c (do_test): Likewise.
9589
9590 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9591
9592 [BZ #16366]
9593 * nscd/netgroupcache.c (do_notfound): New function.
9594 (addgetnetgrentX): Use it.
9595
9596 [BZ # 16365]
9597 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
9598 NSS_STATUS_NOTFOUND.
9599
9600 2014-01-01 Joseph Myers <joseph@codesourcery.com>
9601
9602 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
9603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9604
9605 2014-01-01 Allan McRae <allan@archlinux.org>
9606
9607 * scripts/update-copyrights: Update configure input file suffix.
9608
9609 * NEWS: Update copyright year.
9610 * catgets/gencat.c: Likewise.
9611 * csu/version.c: Likewise.
9612 * debug/catchsegv.sh: Likewise.
9613 * debug/pcprofiledump.c: Likewise.
9614 * debug/xtrace.sh: Likewise.
9615 * elf/ldconfig.c: Likewise.
9616 * elf/ldd.bash.in: Likewise.
9617 * elf/pldd.c: Likewise.
9618 * elf/sotruss.ksh: Likewise.
9619 * elf/sprof.c: Likewise.
9620 * iconv/iconv_prog.c: Likewise.
9621 * iconv/iconvconfig.c: Likewise.
9622 * locale/programs/locale.c: Likewise.
9623 * locale/programs/localedef.c: Likewise.
9624 * login/programs/pt_chown.c: Likewise.
9625 * malloc/memusage.sh: Likewise.
9626 * malloc/memusagestat.c: Likewise.
9627 * malloc/mtrace.pl: Likewise.
9628 * manual/libc.texinfo: Likewise.
9629 * nscd/nscd.c: Likewise.
9630 * nss/getent.c: Likewise.
9631 * nss/makedb.c: Likewise.
9632 * posix/getconf.c: Likewise.
9633 * scripts/test-installation.pl: Likewise.
9634
9635 * All files with FSF copyright notices: Update copyright dates
9636 using scripts/update-copyrights.
9637 * intl/plural.c: Regenerated.
9638 * locale/programs/charmap-kw.h: Likewise.
9639 * locale/programs/locfile-kw.h: Likewise.
9640
9641 2013-12-31 Mike Frysinger <vapier@gentoo.org>
9642
9643 * sysdeps/unix/sysv/linux/configure: Regenerated.
9644 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
9645 the linux/fanotify.h header.
9646 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
9647 HAVE_LINUX_FANOTIFY_H is defined.
9648
9649 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9650
9651 * benchtests/cos-inputs: New inputs.
9652 * benchtests/sin-inputs: Likewise.
9653
9654 * benchtests/atan-inputs: New inputs. Fix name of multiple
9655 precision fallback inputs.
9656
9657 * benchtests/atanh-inputs: New inputs.
9658 * benchtests/tanh-inputs: Likewise.
9659
9660 * benchtests/acosh-inputs: New inputs.
9661 * benchtests/asinh-inputs: Likewise.
9662
9663 * benchtests/cosh-inputs: New inputs.
9664 * benchtests/sinh-inputs: Likewise.
9665
9666 * benchtests/acos-inputs: Add more inputs.
9667 * benchtests/asin-inputs: Likewise.
9668
9669 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
9670
9671 [BZ #16375]
9672 * manual/arith.texi: Fix spelling.
9673 * manual/charset.texi: Likewise.
9674 * manual/errno.texi: Likewise.
9675 * manual/filesys.texi: Likewise.
9676 * manual/lang.texi: Likewise.
9677 * manual/llio.texi: Likewise.
9678 * manual/locale.texi: Likewise.
9679 * manual/message.texi: Likewise.
9680 * manual/resource.texi: Likewise.
9681 * manual/search.texi: Likewise.
9682 * manual/setjmp.texi: Likewise.
9683 * manual/stdio.texi: Likewise.
9684 * manual/string.texi: Likewise.
9685 * manual/sysinfo.texi: Likewise.
9686 * manual/time.texi: Likewise.
9687
9688 2013-12-27 Carlos O'Donell <carlos@redhat.com>
9689
9690 * po/sl.po: New file.
9691
9692 2013-12-27 Mike Frysinger <vapier@gentoo.org>
9693
9694 * .gitignore: Add core/.gdbinit/.gdb_history.
9695
9696 2013-12-27 Allan McRae <allan@archlinux.org>
9697
9698 [BZ #16369]
9699 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
9700 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
9701
9702 2013-12-24 Brooks Moses <bmoses@google.com>
9703
9704 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
9705 all compilers that claim C++98 compliance, not just GCC.
9706 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
9707 Likewise.
9708
9709 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
9710
9711 * NEWS: Restore accidentally deleted bug-fix entries.
9712
9713 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
9714 Ondřej Bílka <neleai@seznam.cz>
9715
9716 [BZ #15073]
9717 * malloc/malloc.c (_int_free): Perform sanity check only if we
9718 have_lock.
9719
9720 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
9721
9722 [BZ #12986]
9723 * manual/stdio.texi (String Input Conversions): Clarify that character
9724 classes are not supported.
9725
9726 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9727
9728 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9729
9730 2013-12-22 Joseph Myers <joseph@codesourcery.com>
9731
9732 [BZ #16337]
9733 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9734 Calculate results for small negative arguments directly rather
9735 than using reflection formula with special underflow handling.
9736
9737 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
9738 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
9739 sysdeps/unix/bsd/bsd4.4/syscalls.list.
9740 (fchflags): Likewise.
9741 (revoke): Likewise.
9742 (setlogin): Likewise.
9743 (sigaltstack): Likewise.
9744 (wait4): Likewise.
9745 (sigblock): Remove.
9746 (sigsetmask): Likewise.
9747 (wait3): Likewise.
9748 (waitpid): Likewise.
9749 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
9750 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
9751 file.
9752 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
9753 * sysdeps/unix/bsd/Makefile: ... here.
9754 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
9755 * sysdeps/unix/bsd/Versions: ... here.
9756 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
9757 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
9758 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
9759 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
9760 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
9761 * sysdeps/unix/bsd/sigblock.c: ... here.
9762 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
9763 * sysdeps/unix/bsd/sigsetmask.c: ... here.
9764 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
9765 * sysdeps/unix/bsd/sigvec.c: ... here.
9766 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
9767 * sysdeps/unix/bsd/tcdrain.c: ... here.
9768 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
9769 * sysdeps/unix/bsd/tcgetattr.c: ... here.
9770 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
9771 * sysdeps/unix/bsd/tcsetattr.c: ... here.
9772 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
9773 * sysdeps/unix/bsd/wait.c: ... here.
9774 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
9775 * sysdeps/unix/bsd/wait3.c: ... here.
9776 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
9777 * sysdeps/unix/bsd/waitpid.c: ... here.
9778
9779 2013-12-21 Joseph Myers <joseph@codesourcery.com>
9780
9781 [BZ #16356]
9782 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
9783 round-to-nearest for [!USE_AS_EXPM1L].
9784 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
9785 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
9786 more tests of exp and exp10. Expect some exp10 tests to miss
9787 exceptions or fail in directed rounding modes.
9788 * math/auto-libm-test-out: Regenerated.
9789 * math/libm-test.inc (exp10_tonearest_test_data): New array.
9790 (exp10_test_tonearest): New function.
9791 (exp10_towardzero_test_data): New array.
9792 (exp10_test_towardzero): New function.
9793 (exp10_downward_test_data): New array.
9794 (exp10_test_downward): New function.
9795 (exp10_upward_test_data): New array.
9796 (exp10_test_upward): New function.
9797 (main): Call the new functions.
9798 * sysdeps/i386/fpu/libm-test-ulps: Update.
9799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9800
9801 2013-12-20 Joseph Myers <joseph@codesourcery.com>
9802
9803 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9804 asinh, atan, atan2, atanh, cbrt, cos and cosh.
9805 * math/auto-libm-test-out: Regenerated.
9806 * math/libm-test.inc (acosh_test_data): Add more tests.
9807 (atanh_test_data): Likewise.
9808 (ceil_test_data): Likewise.
9809 (copysign_test_data): Likewise.
9810 * sysdeps/i386/fpu/libm-test-ulps: Update.
9811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9812
9813 * timezone/checktab.awk: Update from tzcode 2013i.
9814 * timezone/private.h: Likewise.
9815 * timezone/scheck.c: Likewise.
9816 * timezone/tzfile.h: Likewise.
9817 * timezone/tzselect.ksh: Likewise.
9818 * timezone/zdump.c: Likewise.
9819 * timezone/zic.c: Likewise.
9820
9821 * math/auto-libm-test-in: Add tests of cpow.
9822 * math/auto-libm-test-out: Regenerated.
9823 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
9824 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9825 mpc_cc_c.
9826 (func_calc_desc): Add mpc_cc_c union field.
9827 (test_functions): Add cpow.
9828 (special_fill_2pi): New function.
9829 (special_real_inputs): Add 2pi.
9830 (calc_generic_results): Handle mpc_cc_c.
9831 * sysdeps/i386/fpu/libm-test-ulps: Update.
9832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9833
9834 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
9835 csqrt, ctan and ctanh.
9836 * math/auto-libm-test-out: Regenerated.
9837 * math/libm-test.inc (TEST_COND_x86_64): New macro.
9838 (TEST_COND_x86): Likewise.
9839 (ccos_test_data): Use AUTO_TESTS_c_c.
9840 (ccosh_test_data): Likewise.
9841 (cexp_test_data): Likewise.
9842 (clog_test_data): Likewise.
9843 (csqrt_test_data): Likewise.
9844 (ctan_test_data): Likewise.
9845 (ctan_tonearest_test_data): Likewise.
9846 (ctan_towardzero_test_data): Likewise.
9847 (ctan_downward_test_data): Likewise.
9848 (ctan_upward_test_data): Likewise.
9849 (ctanh_test_data): Likewise.
9850 (ctanh_tonearest_test_data): Likewise.
9851 (ctanh_towardzero_test_data): Likewise.
9852 (ctanh_downward_test_data): Likewise.
9853 (ctanh_upward_test_data): Likewise.
9854 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9855 mpc_c_c.
9856 (func_calc_desc): Add mpc_c_c union field.
9857 (FUNC_mpc_c_c): New macro.
9858 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
9859 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
9860 ctanh.
9861 (special_fill_min_subnorm_p120): New function.
9862 (special_real_inputs): Add min_subnorm_p120.
9863 (calc_generic_results): Handle mpc_c_c.
9864 * sysdeps/i386/fpu/libm-test-ulps: Update.
9865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9866
9867 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9868
9869 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
9870 (do_sin_slow): New functions.
9871 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
9872 (cslow2, csloww1, csloww2): Use the new functions.
9873
9874 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
9875 Use M to change sign of result instead of X. Assume X is
9876 positive.
9877 (csloww1): Likewise.
9878 (__sin): Adjust.
9879 (__cos): Adjust.
9880
9881 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
9882 arguments A and DA.
9883 (__sin): Adjust.
9884 (__cos): Likewise.
9885
9886 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
9887 (__cos): Likewise.
9888 (sloww1): Don't adjust sign of DX.
9889 (csloww1): Likewise.
9890 (sloww2): Use X directly and don't adjust sign of DX.
9891 (csloww2): Likewise.
9892
9893 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9894
9895 * math/auto-libm-test-in: Add tests of cabs and carg.
9896 * math/auto-libm-test-out: Regenerated.
9897 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
9898 (carg_test_data): Likewise.
9899 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9900 mpc_c_f.
9901 (func_calc_desc): Add mpc_c_f union field.
9902 (test_functions): Add cabs and carg.
9903 (calc_generic_results): Handle mpc_c_f.
9904
9905 * sysdeps/powerpc/powerpc32/libgcc-compat.S
9906 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
9907 as a macro and a compat symbol.
9908 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9909 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9910 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9911 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9912 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
9913 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
9914 not use .hidden.
9915 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
9916 Likewise.
9917 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
9918 Likewise.
9919 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
9920 Likewise.
9921 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
9922 Likewise.
9923 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
9924 Likewise.
9925 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
9926 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
9927 from GLIBC_2.3.2.
9928
9929 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9930
9931 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9932
9933 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9934
9935 * manual/texinfo.tex: Update to version 2013-11-26.10 with
9936 trailing whitespace removed.
9937 * scripts/config.guess: Update to version 2013-11-29.
9938 * scripts/config.sub: Update to version 2013-10-01.
9939
9940 * math/auto-libm-test-in: Add tests of sincos.
9941 * math/auto-libm-test-out: Regenerated.
9942 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
9943 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9944 mpfr_f_11.
9945 (func_calc_desc): Add mpfr_f_11 union field.
9946 (test_functions): Add sincos.
9947 (calc_generic_results): Handle mpfr_f_11.
9948 * sysdeps/i386/fpu/libm-test-ulps: Update.
9949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9950
9951 2013-12-19 Andreas Schwab <schwab@suse.de>
9952
9953 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
9954 CALL_MCOUNT.
9955 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9956 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
9957 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
9958
9959 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9960
9961 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
9962 * sysdeps/i386/fpu/libm-test-ulps: Update.
9963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9964
9965 [BZ #16293]
9966 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
9967 round-to-nearest mode when using frndint.
9968 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
9969 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9970 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9971 Likewise.
9972 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
9973 sinh test to fail.
9974 * math/auto-libm-test-out: Regenerated.
9975 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
9976 (TEST_COND_x86): Likewise.
9977 (expm1_tonearest_test_data): New array.
9978 (expm1_test_tonearest): New function.
9979 (expm1_towardzero_test_data): New array.
9980 (expm1_test_towardzero): New function.
9981 (expm1_downward_test_data): New array.
9982 (expm1_test_downward): New function.
9983 (expm1_upward_test_data): New array.
9984 (expm1_test_upward): New function.
9985 (main): Run the new test functions.
9986 * sysdeps/i386/fpu/libm-test-ulps: Update.
9987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9988
9989 * include/features.h: Update comment documenting feature test
9990 macros. Mention _DEFAULT_SOURCE in comment.
9991 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
9992 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
9993 _BSD_SOURCE and _SVID_SOURCE.
9994 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
9995 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
9996 !_SVID_SOURCE]: Likewise.
9997 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9998 (__USE_POSIX_IMPLICITLY): Define.
9999 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10000 (_POSIX_SOURCE): Undefine and redefine.
10001 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10002 (_POSIX_C_SOURCE): Likewise.
10003 * manual/creature.texi (_DEFAULT_SOURCE): Document.
10004 (Feature Test Macros): Update documentation of default features.
10005
10006 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10007
10008 * benchtests/Makefile: Add bench-strtok.
10009 * benchtests/bench-strtok.c: New file: strtok benchtest.
10010
10011 2013-12-19 Allan McRae <allan@archlinux.org>
10012
10013 * manual/install.texi: Suppress menu for plain text output.
10014 * INSTALL: Regenerated.
10015
10016 2013-12-18 Brooks Moses <bmoses@google.com>
10017
10018 [BZ #15846]
10019 * misc/getauxval.c: Include errno.h.
10020 (__getauxval): Set errno to ENOENT if the requested type is not
10021 found.
10022 * misc/sys/auxv.h (getauxval): Document that it may set errno;
10023 don't declare with __attribute_const__.
10024 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
10025 * manual/startup.texi: Document that getauxval sets errno.
10026
10027 2013-12-18 Joseph Myers <joseph@codesourcery.com>
10028
10029 * math/auto-libm-test-in: Add tests of jn and yn.
10030 * math/auto-libm-test-out: Regenerated.
10031 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
10032 (yn_test_data): Likewise.
10033 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10034 mpfr_if_f.
10035 (func_calc_desc): Add mpfr_if_f union field.
10036 (FUNC_mpfr_if_f): New macro.
10037 (test_functions): Add jn and yn.
10038 (calc_generic_results): Assert type of second input for
10039 mpfr_ff_f. Handle mpfr_if_f.
10040 (output_for_one_input_case): Disable all checking for arguments
10041 fitting floating-point types in case of an integer argument.
10042 * sysdeps/i386/fpu/libm-test-ulps: Update.
10043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10044
10045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10046 Don't expect fegetround reference in libm.so.
10047
10048 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10049
10050 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
10051 $(config-cflags-nofma).
10052
10053 2013-12-18 Joseph Myers <joseph@codesourcery.com>
10054
10055 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
10056 * math/auto-libm-test-out: Regenerated.
10057
10058 [BZ #16338]
10059 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
10060 to determine exponent and adjust argument to have exponent of -1.
10061 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10062 log2.
10063 * math/auto-libm-test-out: Regenerated.
10064 * sysdeps/i386/fpu/libm-test-ulps: Update.
10065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10066
10067 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
10068
10069 * manual/probes.texi: Remove cases when per-thread arenas are
10070 disabled.
10071
10072 2013-12-18 Andreas Schwab <schwab@suse.de>
10073
10074 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
10075 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
10076 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
10077 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
10078 * sysdeps/i386/i686/multiarch/Makefile: Update.
10079 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
10080
10081 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10082
10083 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
10084 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
10085
10086 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
10087
10088 [BZ #15968]
10089 Support TZ transition times < 00:00:00.
10090 This is needed for version-3 tz-format files; it supports time
10091 stamps past 2037 for America/Godthab (the only entry in the tz
10092 database for which this change is relevant).
10093 * manual/time.texi (TZ Variable): Document transition times
10094 from -167:59:59 through -00:00:01.
10095 * time/tzset.c (tz_rule): Time of day is now signed.
10096 (__tzset_parse_tz): Parse negative time of day.
10097
10098 Document TZ transition times >= 25:00:00.
10099 * manual/time.texi (TZ Variable): Document transition times from
10100 25:00:00 through 167:59:59. These are already supported, and this
10101 support will help with version-3 tz-format files.
10102
10103 * manual/time.texi (TZ Variable): Modernize North America example
10104 to reflect current (i.e., 2007-and-later) daylight saving rules.
10105
10106 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
10107
10108 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10109
10110 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
10111 * sysdeps/unix/bsd/bits/stat.h: Likewise.
10112 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
10113 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10114 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
10115 * sysdeps/unix/bsd/bsdstat.h: Likewise.
10116 * sysdeps/unix/bsd/clock.c: Likewise.
10117 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
10118 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
10119 * sysdeps/unix/bsd/init-posix.c: Likewise.
10120 * sysdeps/unix/bsd/poll.c: Likewise.
10121 * sysdeps/unix/bsd/ptsname.c: Likewise.
10122 * sysdeps/unix/bsd/seekdir.c: Likewise.
10123 * sysdeps/unix/bsd/setegid.c: Likewise.
10124 * sysdeps/unix/bsd/seteuid.c: Likewise.
10125 * sysdeps/unix/bsd/setgid.c: Likewise.
10126 * sysdeps/unix/bsd/setrgid.c: Likewise.
10127 * sysdeps/unix/bsd/setruid.c: Likewise.
10128 * sysdeps/unix/bsd/setsid.c: Likewise.
10129 * sysdeps/unix/bsd/setuid.c: Likewise.
10130 * sysdeps/unix/bsd/sigaction.c: Likewise.
10131 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
10132 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
10133 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
10134 * sysdeps/unix/bsd/telldir.c: Likewise.
10135 * sysdeps/unix/bsd/times.c: Likewise.
10136 * sysdeps/unix/bsd/usleep.c: Likewise.
10137
10138 * misc/Makefile (install-lib): Remove libbsd-compat.a.
10139 ($(objpfx)libbsd-compat.a): Remove rule.
10140
10141 * include/features.h (__FAVOR_BSD): Do not define.
10142 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
10143 features conflicting with POSIX.
10144 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
10145 (_BSD_SOURCE): Remove description of not being a subset of other
10146 feature test macros.
10147 * manual/job.texi (getpgrp): Do not document BSD version.
10148 (getpgid): Do not document by reference to BSD getpgrp.
10149 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
10150 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
10151 * signal/signal.h [__FAVOR_BSD]: Likewise.
10152 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
10153 instead of making contents conditional on [__FAVOR_BSD].
10154 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
10155
10156 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10157
10158 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10159
10160 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10161
10162 [BZ #16314]
10163 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
10164 values below 2**-450, not 2**-500.
10165 * math/auto-libm-test-in: Don't allow spurious underflow from
10166 hypot.
10167 * math/auto-libm-test-out: Regenerated.
10168
10169 [BZ #16316]
10170 [BZ #16330]
10171 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
10172 values of ha and hb and sort them after adjusting subnormal
10173 arguments.
10174 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10175 Likewise.
10176 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
10177 values of ea and eb and sort them after adjusting subnormal
10178 arguments.
10179 * math/auto-libm-test-in: Do not expect some hypot tests of
10180 subnormals to fail. Add more hypot tests.
10181 * math/auto-libm-test-out: Regenerated.
10182
10183 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10184
10185 [BZ #13304]
10186 * sysdeps/sh/s_fma.c: New file.
10187 * sysdeps/sh/s_fmaf.c: New file.
10188 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
10189 version.
10190 * sysdeps/sh/Implies: Add sh/soft-fp.
10191
10192 2013-12-16 Roland McGrath <roland@hack.frob.com>
10193
10194 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
10195 level of indirection to members `objname', `errstring', `malloced'.
10196 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
10197 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
10198 it as the __longjmp argument (just pass 1 instead).
10199 (_dl_catch_error): Initialize C with argument pointers and address of
10200 volatile local ERRCODE rather than copying values out of C at return.
10201
10202 2013-12-16 Joseph Myers <joseph@codesourcery.com>
10203
10204 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
10205 * math/auto-libm-test-out: Regenerated.
10206 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
10207 (hypot_test_data): Likewise.
10208 (pow_test_data): Likewise.
10209 (pow_tonearest_test_data): Likewise.
10210 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10211 mpfr_ff_f.
10212 (func_calc_desc): Add mpfr_ff_f union field.
10213 (FUNC_mpfr_ff_f): New macro.
10214 (test_functions): Add atan2, hypot and pow.
10215 (special_fill_min): New function.
10216 (special_fill_minus_min): Likewise.
10217 (special_fill_min_subnorm): Likewise.
10218 (special_fill_minus_min_subnorm): Likewise.
10219 (special_real_inputs): Add min, -min, min_subnorm and
10220 -min_subnorm.
10221 (calc_generic_results): Handle mpfr_ff_f.
10222 * sysdeps/i386/fpu/libm-test-ulps: Update.
10223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10224
10225 2013-12-16 Will Newton <will.newton@linaro.org>
10226
10227 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
10228 (Aligned Memory Blocks): Add documentation for aligned_alloc
10229 and suggest it as an alternative to posix_memalign.
10230 (Hooks for Malloc): Document __memalign_hook is also called
10231 for aligned_alloc. (Summary of Malloc): Add summary for
10232 aligned alloc. Document __memalign_hook is also called
10233 for aligned_alloc.
10234
10235 2013-12-16 Will Newton <will.newton@linaro.org>
10236
10237 * manual/memory.texi (Malloc Examples): Clarify default
10238 alignment documentation. Suggest posix_memalign rather
10239 than memalign or valloc.
10240 (Aligned Memory Blocks): Remove suggestion to use memalign
10241 or valloc. Remove obsolete comment about BSD.
10242 Document memalign errno values and mark the function obsolete.
10243 Document posix_memalign returned error codes. Mark valloc
10244 as obsolete. (Hooks for Malloc): __memalign_hook is also
10245 called for posix_memalign and valloc.
10246 (Summary of Malloc): Add posix_memalign to function summary.
10247 __memalign_hook is also called for posix_memalign and valloc.
10248
10249 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10250
10251 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
10252 TAYLOR_SIN.
10253 (__sin): Adjust.
10254 (__cos): Likewise.
10255 (sloww): Use mynumber union. Expand ternary operator into
10256 if-else statements.
10257 (cslow): use mynumber union.
10258
10259 2013-12-16 Allan McRae <allan@archlinux.org>
10260
10261 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
10262 * configure: Regenerated.
10263
10264 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
10265
10266 [BZ #14120]
10267 * configure.ac: Added --enable-maintainer-mode. Check for
10268 autoconf when enabled.
10269 * configure: Regenerated.
10270
10271 * nscd/nscd.service: New file.
10272 * nscd/nscd.tmpfiles: New file.
10273
10274 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
10275
10276 [BZ #12100]
10277 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
10278 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
10279 * sysdeps/x86_64/multiarch/strstr.c: ... here.
10280 (strstr): Add __strstr_sse2_unaligned ifunc.
10281 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
10282 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
10283 (strcasestr): Remove __strcasestr_sse42 ifunc.
10284 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
10285 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10286 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10287
10288 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10289
10290 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
10291 * sysdeps/sh/bits/fenv.h: ... here.
10292 * sysdeps/sh/sh4/fpu/bits: Remove directory.
10293
10294 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10295
10296 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
10297
10298 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
10299 hypotf multiarch implementations.
10300 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
10301 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
10302 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
10303 multiarch hypot for PPC64.
10304 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
10305 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
10306 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
10307 multiarch hypotf for PPC64.
10308
10309 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
10310 modff multiarch implementations.
10311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
10312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
10313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
10314 multiarch modf for PPC64.
10315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
10316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
10317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
10318 multiarch modff for PPC64.
10319
10320 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
10321 and logl multiarch implementations.
10322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
10323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
10324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
10325 multiarch logb for PPC64.
10326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
10327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
10328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
10329 multiarch logb for PPC64.
10330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
10331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
10332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
10333 multiarch logb for PPC64.
10334
10335 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
10336 isinff multiarch implementation.
10337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
10338 file.
10339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
10340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
10341 multiarch isinf for PPC64.
10342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
10343 file.
10344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
10345 multiarch isinff for PPC64.
10346
10347 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
10348 finitef multiarch implementation.
10349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
10350 file.
10351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
10352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
10353 multiarch finite for PPC64.
10354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
10355 file.
10356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
10357 multiarch finitef for PPC64.
10358
10359 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
10360 lrint multiarch implementation.
10361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
10362 file.
10363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
10364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
10365 multiarch llrint for PPC64.
10366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
10367 multiarch lrint for PPC64.
10368
10369 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
10370 copysignf multiarch implementation.
10371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
10372 file.
10373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
10374 file.
10375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
10376 multiarch copysign for PPC64.
10377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
10378 multiarch copysignf for PPC64.
10379
10380 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
10381 multiarch implementation.
10382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
10383 file.
10384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
10385 file.
10386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
10387 file.
10388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
10389 file.
10390 multiarch llround for PPC64.
10391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
10392 multiarch trunc for PPC64.
10393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
10394 multiarch truncf for PPC64.
10395
10396 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
10397 multiarch implementation.
10398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
10399 file.
10400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
10401 file.
10402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
10403 file.
10404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
10405 file.
10406 multiarch llround for PPC64.
10407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
10408 multiarch round for PPC64.
10409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
10410 multiarch roundf for PPC64.
10411
10412 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
10413 multiarch implementation.
10414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
10415 file.
10416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
10417 file.
10418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
10419 file.
10420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
10421 file.
10422 multiarch llround for PPC64.
10423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
10424 multiarch floor for PPC64.
10425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
10426 multiarch floorf for PPC64.
10427
10428 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
10429 multiarch implementation.
10430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
10431 file.
10432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
10433 file.
10434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
10435 file.
10436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
10437 file.
10438 multiarch llround for PPC64.
10439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
10440 multiarch ceil for PPC64.
10441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
10442 multiarch ceilf for PPC64.
10443
10444 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10445 multiarch implementation.
10446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
10447 file.
10448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
10449 file.
10450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
10451 file.
10452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
10453 multiarch llround for PPC64.
10454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
10455 multiarch lround for PPC64.
10456
10457 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10458 multiarch implementation.
10459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
10460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
10461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
10462 file.
10463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
10464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
10465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
10466 multiarch isnan for PPC64.
10467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
10468 multiarch isnanf for PPC64.
10469
10470 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
10471 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
10472 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
10473 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
10474 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
10475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
10476
10477 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
10478 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10479 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10480 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10481
10482 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
10483 multiarch implementations.
10484 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10485 (__libc_ifunc_impl_list): Likewise.
10486 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
10487 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
10488 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
10489 multiarch stpcpy for PPC64.
10490
10491 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
10492 multiarch implementations.
10493 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10494 (__libc_ifunc_impl_list): Likewise.
10495 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
10496 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
10497 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
10498 multiarch strcpy for PPC64.
10499
10500 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
10501 redefine function name.
10502 (_wordcopy_fwd_dest_aligned): Likewise.
10503 (_wordcopy_bwd_aligned): Likewise.
10504 (_wordcopy_bwd_dest_aligned): Likewise.
10505 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
10506 multiarch implementations.
10507 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10508 (__libc_ifunc_impl_list): Likewise.
10509 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
10510 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
10511 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
10512 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
10513 multiarch wcscpy for PPC64.
10514
10515 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
10516 multiarch implementations.
10517 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10518 (__libc_ifunc_impl_list): Likewise.
10519 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
10520 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
10521 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
10522 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
10523 multiarch wcscpy for PPC64.
10524
10525 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
10526 multiarch implementations.
10527 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10528 (__libc_ifunc_impl_list): Likewise.
10529 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
10530 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
10531 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
10532 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
10533 multiarch wcsrchr for PPC64.
10534
10535 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
10536 multiarch implementations.
10537 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10538 (__libc_ifunc_impl_list): Likewise.
10539 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
10540 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
10541 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
10542 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
10543 multiarch wcschr for PPC64.
10544
10545 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
10546 multiarch implementations.
10547 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10548 (__libc_ifunc_impl_list): Likewise.
10549 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
10550 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
10551 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
10552 multiarch strchrnul for PPC64.
10553
10554 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
10555 implementations.
10556 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10557 (__libc_ifunc_impl_list): Likewise.
10558 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
10559 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
10560 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
10561 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
10562 strchr for PPC64.
10563
10564 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
10565 implementations.
10566 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10567 (__libc_ifunc_impl_list): Likewise.
10568 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
10569 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
10570 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
10571 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
10572 strncmp for PPC64.
10573
10574 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
10575 multiarch implementations.
10576 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10577 (__libc_ifunc_impl_list): Likewise.
10578 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
10579 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
10580 strncasecmp for PPC64.
10581 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
10582 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
10583 multiarch strncasecmp_l for PPC64.
10584
10585 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
10586 multiarch implementations.
10587 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10588 (__libc_ifunc_impl_list): Likewise.
10589 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
10590 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
10591 multiarch strcasecmp for PPC64.
10592 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
10593 file.
10594 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
10595 multiarch strcasecmp_l for PPC64.
10596
10597 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
10598 implementations.
10599 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10600 (__libc_ifunc_impl_list): Likewise.
10601 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
10602 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
10603 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
10604 strnlen for PPC64.
10605
10606 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
10607 implementations.
10608 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10609 (__libc_ifunc_impl_list): Likewise.
10610 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
10611 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
10612 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
10613 strlen for PPC64.
10614
10615 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
10616 implementations.
10617 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10618 (__libc_ifunc_impl_list): Likewise.
10619 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
10620 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
10621 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
10622 rawmemrchr for PPC64.
10623
10624 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
10625 implementation.
10626 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10627 (__libc_ifunc_impl_list): Likewise.
10628 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
10629 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
10630 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
10631 memrchr for PPC64.
10632
10633 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
10634 implementation.
10635 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10636 (__libc_ifunc_impl_list): Likewise.
10637 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
10638 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
10639 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
10640 memchr for PPC64.
10641
10642 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
10643 implementation.
10644 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10645 (__libc_ifunc_impl_list): Likewise.
10646 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
10647 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
10648 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
10649 mempcpy for PPC64.
10650
10651 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
10652 avoid cretion of __bzero symbol.
10653 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
10654 Likewise.
10655 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
10656 Likewise.
10657 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
10658 Likewise.
10659 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
10660 multiarch implementations.
10661 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10662 (__libc_ifunc_impl_list): Likewise.
10663 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
10664 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
10665 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
10666 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
10667 bzero for PPC32.
10668 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
10669 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
10670 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
10671 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
10672 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
10673 memset for PPC64.
10674 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
10675
10676 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
10677 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
10678 implementations.
10679 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10680 (__libc_ifunc_impl_list): Likewise.
10681 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
10682 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
10683 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
10684 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
10685 memcmp for PPC64.
10686
10687 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
10688 multiarch for POWER/PPC64.
10689 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
10690 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
10691 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
10692 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
10693 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
10694 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
10695 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
10696 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
10697 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
10698 memcpy for PPC64.
10699
10700 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
10701 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
10702 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
10703 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
10704 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
10705 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
10706 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
10707 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
10708 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
10709 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
10710 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
10711 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
10712 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
10713 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
10714 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
10715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
10716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
10717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
10718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
10719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
10720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
10721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
10722
10723 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10724
10725 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
10726
10727 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10728
10729 * benchtests/Makefile (bench): Add exp2 and log2.
10730 (LDLIBS-bench-exp2): Add -lm.
10731 (LDLIBS-bench-log2): Likewise.
10732 * benchtests/exp2-inputs: New inputs file.
10733 * benchtests/log2-inputs: New inputs file.
10734 * benchtests/log-inputs: Add new inputs.
10735 * benchtests/tan-inputs: Likewise.
10736
10737 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10738
10739 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
10740 definition...
10741 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
10742 (csloww2): ... from here.
10743
10744 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
10745 instead of structures.
10746 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
10747 (POLYNOMIAL): Likewise.
10748 (TAYLOR_SLOW): Likewise.
10749 (__sin): Likewise.
10750 (__cos): Likewise.
10751 (slow1): Likewise.
10752 (slow2): Likewise.
10753 (sloww): Likewise.
10754 (sloww1); Likewise.
10755 (sloww2): Likewise.
10756 (bsloww1): Likewise.
10757 (bsloww2): Likewise.
10758 (cslow2): Likewise.
10759 (csloww): Likewise.
10760 (csloww1): Likewise.
10761 (csloww2): Likewise.
10762
10763 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
10764
10765 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
10766 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
10767 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
10768 * malloc/hooks.c (realloc_check): Likewise.
10769
10770 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
10771 * malloc/arena.c: Remove PER_THREAD conditional.
10772 [!PER_THREAD]: Remove code.
10773 (ptmalloc_unlock_all2): Likewise.
10774 (ptmalloc_init): Likewise.
10775 (_int_new_arena): Likewise.
10776 (arena_get2): Likewise.
10777 * malloc/hooks.c (__malloc_get_state): Likewise.
10778 (__malloc_set_state): Likewise.
10779 * malloc/malloc.c: Likewise.
10780 (struct malloc_state): Likewise.
10781 (struct malloc_par): Likewise.
10782 (__libc_realloc): Likewise.
10783 (__libc_mallopt): Likewise.
10784
10785 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10786
10787 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
10788
10789 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
10790
10791 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
10792 macro to a function. Check for zero perturb_byte.
10793 (_int_malloc, _int_free): Remove zero perturb_byte checks.
10794
10795 * malloc/malloc.c: (force_reg): Remove.
10796 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
10797 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
10798 force_reg by atomic_forced_read.
10799 * malloc/arena.c (ptmalloc_init): Likewise.
10800 * malloc/hooks.c (top_check): Likewise.
10801
10802 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10803
10804 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10805
10806 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
10807
10808 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10809
10810 2013-12-08 Joseph Myers <joseph@codesourcery.com>
10811
10812 * math/auto-libm-test-in: Add tests of lgamma.
10813 * math/auto-libm-test-out: Regenerated.
10814 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
10815 (M_LOG_2_SQRT_PIl): Likewise.
10816 (lgamma_test_data): Use AUTO_TESTS_f_f1.
10817 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10818 mpfr_f_f1.
10819 (func_calc_desc): Add mpfr_f_f1 union field.
10820 (ARGS1): New macro.
10821 (ARGS2): Likewise.
10822 (ARGS3): Likewise.
10823 (ARGS4): Likewise.
10824 (RET1): Likewise.
10825 (RET2): Likewise.
10826 (CALC): Likewise.
10827 (FUNC): Likewise.
10828 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
10829 (test_functions): Add lgamma.
10830 (calc_generic_results): Handle mpfr_f_f1.
10831 * sysdeps/i386/fpu/libm-test-ulps: Update.
10832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10833
10834 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10835
10836 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
10837 __mpn_add_n for PowerPC64/POWER7.
10838 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
10839 __mpn_sub_n for PowerPC64/POWER7.
10840
10841 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
10842 __mpn_addmul_1 for PowerPC64.
10843 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
10844 __mpn_submul_1 for PowerPC64.
10845 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
10846 for PowerPC64.
10847 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
10848 for PowerPC64.
10849
10850 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
10851
10852 [BZ #15089]
10853 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
10854
10855 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10856
10857 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
10858
10859 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
10860 add multiarch folders.
10861 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
10862 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
10863 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
10864 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
10865 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
10866 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
10867 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
10868 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
10869 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
10870 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
10871 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
10872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
10873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
10874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
10875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
10876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
10877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
10878
10879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10880 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
10881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
10882 New file.
10883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
10884 New file.
10885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
10886 multiarch __ieee754_hypot for PowerPC32.
10887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
10888 New file.
10889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
10890 New file.
10891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
10892 multiarch __ieee754_hypotf for PowerPC32.
10893
10894 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
10895 long_double_symbol only if __logbl is defined.
10896 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
10897 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
10898 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
10899 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
10900 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
10901 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
10902 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
10903 path for implementation.
10904 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
10905 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
10906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
10907 logb, and logbl multiarch implementations for PowerPC32.
10908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
10909 file.
10910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
10911 file.
10912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
10913 multiarch logb for PowerPC32.
10914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
10915 file.
10916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
10917 file.
10918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
10919 multiarch logbf for PowerPC32.
10920 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
10921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
10922 file.
10923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
10924 multiarch logbl implementation for PowerPC32.
10925
10926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
10927 and modff multiarch implementations.
10928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
10929 New file.
10930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
10931 New file.
10932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
10933 multiarch modf for PowerPC32.
10934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
10935 New file.
10936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
10937 New file.
10938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
10939 multiarch modff for PowerPC32.
10940
10941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
10942 and lrintf multiarch implementations.
10943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
10944 New file.
10945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
10946 New file.
10947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
10948 multiarch lrint for PowerPC32.
10949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
10950 file: multiarch lrintf for PowerPC32.
10951
10952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
10953 and lroundf multiarch implementations.
10954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
10955 New file.
10956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
10957 New file.
10958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
10959 New file.
10960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
10961 multiarch lround for PowerPC32.
10962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
10963 file: multiarch lroundf for PowerPC32.
10964
10965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10966 copysign and copysignf multiarch implementations.
10967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
10968 New file.
10969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
10970 New file.
10971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
10972 file: multiarch copysign for PowerPC32.
10973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
10974 file: multiarch copysignf for PowerPC32.
10975
10976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
10977 and truncf multiarch implementations.
10978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
10979 New file.
10980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
10981 file.
10982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
10983 multiarch trunc for PowerPC32.
10984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
10985 New file.
10986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
10987 New file.
10988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
10989 multiarch truncf for PowerPC32.
10990
10991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
10992 and roundf multiarch implementations.
10993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
10994 New file.
10995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
10996 file.
10997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
10998 multiarch round for PowerPC32.
10999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
11000 New file.
11001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
11002 New file.
11003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
11004 multiarch roundf for PowerPC32.
11005
11006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
11007 and floorf multiarch implementations.
11008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
11009 New file.
11010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
11011 file.
11012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
11013 multiarch floor for PowerPC32.
11014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
11015 New file.
11016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
11017 New file.
11018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
11019 multiarch floorf for PowerPC32.
11020
11021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
11022 and ceilf multiarch implementations.
11023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
11024 New file.
11025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
11026 file.
11027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
11028 multiarch ceil for PowerPC32.
11029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
11030 New file.
11031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
11032 file.
11033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
11034 multiarch ceilf for PowerPC32.
11035
11036 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
11037 is defined.
11038 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
11039 FINITEF is defined.
11040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
11041 and finitef multiarch implementations.
11042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
11043 New file.
11044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
11045 file.
11046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
11047 multiarch finite for PowerPC32.
11048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
11049 New file.
11050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
11051 file: multiarch finitef for PowerPC32.
11052
11053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
11054 and isinff multiarch implementations.
11055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
11056 file.
11057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
11058 file.
11059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
11060 multiarch isinf for PowerPC32.
11061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
11062 New file.
11063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
11064 multiarch isinff for PowerPC32.
11065
11066 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
11067 alias when __isnan is defined.
11068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
11069 and isnanf multiarch implementations.
11070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
11071 file.
11072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
11073 file.
11074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
11075 file.
11076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
11077 file.
11078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
11079 multiarch isnan for PowerPC32.
11080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
11081 New file.
11082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
11083 New file.
11084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
11085 multiarch isnanf for PowerPC32.
11086
11087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
11088 and sqrtf multiarch implementations.
11089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
11090 file.
11091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
11092 file.
11093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
11094 multiarch sqrt for PowerPC32.
11095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
11096 file.
11097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
11098 file.
11099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
11100 multiarch sqrtf for PowerPC32.
11101
11102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
11103 and llroundf multiarch implementations.
11104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
11105 New file.
11106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
11107 New file.
11108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
11109 New file.
11110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
11111 file: multiarch llround for PowerPC32.
11112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
11113 file: multiarch llroundf for PowerPC32.
11114
11115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
11116 multiarch PowerPC32 fpu implementations.
11117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
11118 New file.
11119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
11120 New file.
11121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
11122 multiarch llrint for PowerPC32.
11123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
11124 New file.
11125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
11126 New file.
11127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
11128 file.
11129
11130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
11131
11132 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
11133 file.
11134 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
11135 file.
11136 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
11137 file.
11138 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
11139 multiarch wordcopy for PPC32.
11140 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11141 wordcopy objects.
11142 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11143 (__libc_ifunc_impl_list): Likewise.
11144 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
11145 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
11146 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
11147 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
11148 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
11149 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
11150
11151 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
11152 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
11153 file.
11154 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
11155 file.
11156 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
11157 file.
11158 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
11159 multiarch wcscpy for PPC32.
11160 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11161 multiarch objects.
11162 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11163 (__libc_ifunc_impl_list): Likewise.
11164 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11165 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11166 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
11167 sysdeps/powerpc/power6/wcscpy.c.
11168
11169 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
11170 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
11171 file.
11172 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
11173 file.
11174 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
11175 file.
11176 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
11177 multiarch wcsrchr for PPC32.
11178 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11179 multiarch objects.
11180 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11181 (__libc_ifunc_impl_list): Likewise.
11182 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11183 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11184 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
11185 sysdeps/powerpc/power6/wcsrchr.c.
11186
11187 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
11188 file.
11189 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
11190 file.
11191 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
11192 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
11193 multiarch wcschr for PPc32.
11194 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11195 multiarch objects.
11196 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11197 (__libc_ifunc_impl_list): Likewise.
11198 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
11199 * sysdeps/powerpc/power6/wcschr.c: ... to here.
11200 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
11201 sysdeps/powerpc/power6/wcschr.c.
11202
11203 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
11204 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
11205 file.
11206 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
11207 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
11208 file: multiarch strchr for PPC32.
11209 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
11210 multiarch objects.
11211 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11212 (__libc_ifunc_impl_list): Likewise.
11213
11214 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
11215 name.
11216 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
11217 file.
11218 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
11219 file.
11220 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
11221 multiarch strchrnul for PPC32.
11222 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
11223 multiarch objects.
11224 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11225 (__libc_ifunc_impl_list): Likewise.
11226
11227 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
11228 file.
11229 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
11230 multiarch strncasecmp for PPC32.
11231 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
11232 file.
11233 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
11234 multiarch strncasecmp_l for PPC32.
11235 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
11236 strncasecmp multiarch objects.
11237 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11238 (__libc_ifunc_impl_list): Likewise.
11239
11240 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
11241 file.
11242 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
11243 multiarch strncasecmp for PPC32.
11244 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11245 New file.
11246 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
11247 multiarch strcasecmp_l for PPC32.
11248 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
11249 multiarch objects.
11250 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11251 (__libc_ifunc_impl_list): Likewise.
11252
11253 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
11254 file.
11255 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
11256 file.
11257 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
11258 multiarch strncmp for PPC32.
11259 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
11260 multiarch objects.
11261 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11262 (__libc_ifunc_impl_list): Likewise.
11263
11264 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
11265 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
11266 file.
11267 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
11268 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
11269 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
11270 multiarch objects.
11271 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11272 (__libc_ifunc_impl_list): Likewise.
11273
11274 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
11275 file.
11276 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
11277 file.
11278 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
11279 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
11280 multiarch objects.
11281 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11282 (__libc_ifunc_impl_list): Likewise.
11283
11284 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
11285 file.
11286 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
11287 file.
11288 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
11289 multiarch rawmemchr for PPC32.
11290 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
11291 multiarch objects.
11292 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11293 (__libc_ifunc_impl_list): Likewise.
11294
11295 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
11296 file.
11297 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
11298 file.
11299 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
11300 file: memrchr multiarch for PPC32.
11301 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
11302 multiarch objects.
11303 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11304 (__libc_ifunc_impl_list): Likewise.
11305
11306 * string/memchr.c (__memchr): Using macro to redefine symbol name.
11307 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
11308 file.
11309 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
11310 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
11311 multiarch memchr for PPC32.
11312 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
11313 multiarch objects.
11314 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11315 (__libc_ifunc_impl_list): Likewise.
11316
11317 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
11318 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
11319 file.
11320 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
11321 file.
11322 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
11323 file: multiarch mempcpy for PPC32.
11324 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
11325 multiarch objects.
11326 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11327 (__libc_ifunc_impl_list): Likewise.
11328
11329 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
11330 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
11331 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
11332 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
11333 multiarch bzero for PPC32.
11334 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
11335 file.
11336 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
11337 file.
11338 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
11339 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
11340 file: multiarch memset for PPC32.
11341 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
11342 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
11343 memset multiarch objects.
11344 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11345 (__libc_ifunc_impl_list): Likewise.
11346
11347 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
11348 file.
11349 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
11350 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
11351 memcmp for PPC32.
11352 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
11353 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
11354 multiarch objects.
11355 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11356 (__libc_ifunc_impl_list): Likewise.
11357
11358 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
11359 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
11360 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
11361 file.
11362 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
11363 file.
11364 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
11365 file.
11366 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
11367 multiarch memcpy for PPC32.
11368 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
11369 multiarch objects.
11370 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11371 (__libc_ifunc_impl_list): Likewise.
11372
11373 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
11374 support multiarch for POWER/PPC32.
11375 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
11376 Likewise.
11377 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
11379 Implies file to make multiarch folder appers before the fpu and
11380 default folder for power4 configuration.
11381
11382 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11383
11384 * scripts/bench.pl: Append volatile keyword to type.
11385
11386 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11387
11388 * sysdeps/sh/sotruss-lib.c: New file.
11389 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
11390
11391 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11392
11393 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11394
11395 2013-12-05 Joseph Myers <joseph@codesourcery.com>
11396
11397 [BZ #6810]
11398 * math/w_tgamma.c: Include <errno.h>.
11399 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
11400 * math/w_tgammaf.c: Include <errno.h>.
11401 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
11402 * math/w_tgammal.c: Include <errno.h>.
11403 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
11404 * math/auto-libm-test-in: Do not allow missing errno on tgamma
11405 underflow. Add more tgamma tests.
11406 * math/auto-libm-test-out: Regenerated.
11407 * sysdeps/i386/fpu/libm-test-ulps: Update.
11408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11409
11410 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
11411 sin, sinh, tan, tanh, tgamma, y0 and y1.
11412 * math/auto-libm-test-out: Regenerated.
11413 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11414 (TEST_COND_x86): Likewise.
11415 (M_E2l): Remove macro.
11416 (M_E3l): Likewise.
11417 (M_2_SQRT_PIl): Likewise.
11418 (M_SQRT_PIl): Likewise.
11419 (M_1_DIV_El): Likewise.
11420 (log_test_data): Use AUTO_TESTS_f_f.
11421 (log10_test_data): Likewise.
11422 (log1p_test_data): Likewise.
11423 (log2_test_data): Likewise.
11424 (sin_test_data): Likewise.
11425 (sin_tonearest_test_data): Likewise.
11426 (sin_towardzero_test_data): Likewise.
11427 (sin_downward_test_data): Likewise.
11428 (sin_upward_test_data): Likewise.
11429 (sinh_test_data): Likewise.
11430 (sinh_tonearest_test_data): Likewise.
11431 (sinh_towardzero_test_data): Likewise.
11432 (sinh_downward_test_data): Likewise.
11433 (sinh_upward_test_data): Likewise.
11434 (tan_test_data): Likewise.
11435 (tan_tonearest_test_data): Likewise.
11436 (tan_towardzero_test_data): Likewise.
11437 (tan_downward_test_data): Likewise.
11438 (tan_upward_test_data): Likewise.
11439 (tanh_test_data): Likewise.
11440 (tgamma_test_data): Likewise.
11441 (y0_test_data): Likewise.
11442 (y1_test_data): Likewise.
11443 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
11444 (special_real_inputs): Add pi/4.
11445 * sysdeps/i386/fpu/libm-test-ulps: Update.
11446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11447
11448 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11449
11450 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
11451 "longjmp_target" static probes.
11452 (__longjmp): Rename to __longjmp_symbol.
11453 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11454 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
11455 on which longjmp to generate.
11456 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11457 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
11458 probe.
11459 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11460 (__sigjmp_save): Rename to __sigjmp_save_symbol.
11461 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11462 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
11463 and __sigjmp_save_symbol based on which sigsetjmp to generated.
11464 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
11465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
11466 __longjmp_symbol based on which __longjmp to generate.
11467 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
11468 probe.
11469 (setjmp): Rename to setjmp_symbol.
11470 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11471 (_setjmp): Rename to _setjmp_symbol.
11472 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11473 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
11474 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
11475 which setjmp to generate.
11476 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
11477 "longjmp_target" static probes.
11478
11479 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11480
11481 * benchtests/README: Add note about output arguments.
11482 * benchtests/bench-sincos.c: Remove file.
11483 * benchtests/sincos-inputs: New file.
11484 * scripts/bench.pl: Identify output arguments and define
11485 static variables for them.
11486
11487 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
11488
11489 [BZ #15941]
11490 * Makefile (INSTALL): Add install-plain.texi as the primary
11491 dependency.
11492 * manual/install-plain.texi: New file.
11493 * manual/install.texi: Include node directive only for
11494 non-plaintext output.
11495
11496 2013-12-04 Joseph Myers <joseph@codesourcery.com>
11497
11498 * stdlib/longlong.h: Update from GCC.
11499
11500 [BZ #6807]
11501 [BZ #15901]
11502 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
11503 * math/w_j0f.c (y0f): Likewise.
11504 * math/w_j0l.c (__y0l): Likewise.
11505 * math/w_j1.c (y1): Likewise.
11506 * math/w_j1f.c (y1f): Likewise.
11507 * math/w_j1l.c (__y1l): Likewise
11508 * math/w_jn.c (yn): Likewise.
11509 * math/w_jnf.c (ynf): Likewise.
11510 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
11511 Bessel function pole errors in _POSIX_ mode. Use NAN as return
11512 value for Bessel function domain errors outside _SVID_ mode.
11513 Adjust sign of return value for yn (negative integer, 0).
11514 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
11515 by zero in return for negative x and set sign appropriately for
11516 negative n.
11517 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
11518 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11519 * math/libm-test.inc (y0_test_data): Add more tests and adjust
11520 expectations in error cases.
11521 (y1_test_data): Likewise.
11522 (yn_test_data): Likewise.
11523 * sysdeps/i386/fpu/libm-test-ulps: Update.
11524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11525
11526 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11527
11528 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
11529 "64" to "64-v1". Add "64-v2".
11530 (abi-64-options): Rename to ...
11531 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
11532 (abi-64-condition): Rename to ...
11533 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
11534 (abi-64-ld-soname): Rename to ...
11535 (abi-64-v1-ld-soname): ... this.
11536 (abi-64-v2-options): Define.
11537 (abi-64-v2-condition): Likewise.
11538 (abi-64-v2-ld-soname): Likewise.
11539 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
11540 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
11541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
11542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
11543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
11544
11545 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11546 Alan Modra <amodra@gmail.com>
11547
11548 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
11549 New versions for use with the ELFv2 ABI.
11550 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
11551 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
11552 declaration.
11553 (struct La_ppc64v2_retval): Likewise.
11554 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
11555 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
11556 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
11557 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
11558 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
11559 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11560 Do not save or restore CR.
11561 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
11562 (_dl_profile_resolve): Do no save or restore CR. Support extended
11563 return values for ELFv2 ABI. Fix location of FPR return registers.
11564 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
11565 updated values for _CALL_ELF == 2.
11566 (La_regs, La_retval, int_retval): Likewise.
11567
11568 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11569
11570 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
11571 (FRAME_MIN_SIZE_PARM): Likewise.
11572 (FRAME_BACKCHAIN): Likewise.
11573 (FRAME_CR_SAVE): Likewise.
11574 (FRAME_LR_SAVE): Likewise.
11575 (FRAME_TOC_SAVE): Likewise.
11576 (FRAME_PARM_SAVE): Likewise.
11577 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
11578 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
11579 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11580 (call_mcount_parm_offset): New macro.
11581 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
11582 (PROF): Use symbolic stack frame offsets.
11583 (TAIL_CALL_SYSCALL_ERROR): Likewise.
11584 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
11585 Redefine in terms of FRAME_MIN_SIZE.
11586 (_dl_runtime_resolve): Use symbolic stack frame offsets.
11587 (_dl_profile_resolve): Likewise. Update comment.
11588 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
11589 symbols stack frame offsets.
11590 (__sigsetjmp): Likewise.
11591 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
11592 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
11593 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
11594 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
11595
11596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
11597 (FRAME_BACKCHAIN): Remove.
11598 (FRAME_CR_SAVE): Likewise.
11599 (FRAME_LR_SAVE): Likewise.
11600 (FRAME_COMPILER_DW): Likewise.
11601 (FRAME_LINKER_DW): Likewise.
11602 (FRAME_TOC_SAVE): Likewise.
11603 (FRAME_PARM_SAVE): Likewise.
11604 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
11605 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
11606 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
11608 (CHECK_SP): Use symbolic stack frame offsets.
11609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
11610 zone" instead of caller's parameter save area for temp storage.
11611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11612 Likewise. Also, use symbolic stack frame offsets.
11613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
11614 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
11615 our own stack frame instead of the caller's.
11616 (__socket): Use symbolic stack frame offsets.
11617
11618 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11619 Alan Modra <amodra@gmail.com>
11620
11621 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
11622 Define.
11623 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
11624 (PPC64_LOCAL_ENTRY_OFFSET): Define.
11625 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
11626 New function.
11627 (elf_machine_fixup_plt): Call it.
11628 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
11629 reloc arguments.
11630 (elf_machine_rela): Update call to elf_machine_plt_conflict.
11631 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11632 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
11633 r2 before calling target.
11634
11635 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11636 Alan Modra <amodra@gmail.com>
11637
11638 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
11639 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
11640 versions of macros to support ELFv2 ABI.
11641 (LOCALENTRY): New macro.
11642 (ENTRY, EALIGN): Use it.
11643 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
11644 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
11645 fall through into ENTRY entry point.
11646 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
11647 Only define if _CALL_ELF != 2.
11648
11649 (elf_machine_matches_host): Verify ABI version matches.
11650 (RTLD_START): Use LOCALENTRY.
11651 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
11652 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
11653 (PLT_ENTRY_WORDS): New macro.
11654 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
11655 (elf_machine_runtime_setup): Support ELFv2 ABI.
11656 (elf_machine_fixup_plt): Likewise.
11657 (elf_machine_plt_conflict): Likewise.
11658 (resolve_ifunc): Likewise.
11659 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11660 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11661 Likewise.
11662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
11663 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
11664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11665 (makecontext): Support ELFv2 ABI.
11666 * elf/elf.h (EF_PPC64_ABI): Define.
11667
11668 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11669
11670 * sysdeps/powerpc/powerpc64/sysdep.h
11671 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
11672 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
11673 (ENTRY) [ASSEMBLER]: ... but instead here ...
11674 (EALIGN) [ASSEMBLER]: ... and here.
11675 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
11676 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
11677 (ENTRY_2) [!ASSEMBLER]: Use it.
11678 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
11679 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
11680 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11681 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
11682 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
11683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
11684 Use PPC64_LOAD_FUNCPTR.
11685
11686 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
11687
11688 2013-12-04 Alan Modra <amodra@gmail.com>
11689
11690 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
11691 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
11692 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
11693 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
11694
11695 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
11696 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
11697 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
11698 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
11699 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
11700 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
11701
11702 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11703
11704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11705 (__makecontext): Fix incorrect CFI when backtracing out of
11706 context created via makecontext.
11707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
11708 (__setcontext): Fix incorrect CFI during switch to new context.
11709 (__novec_setcontext): Likewise.
11710
11711 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
11712
11713 [BZ #4772]
11714 * time/strptime_l.c (__strptime_internal): Allow modifiers
11715 in strptime.
11716 * time/tst-strptime.c (day_tests): Add testcase.
11717
11718 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11719
11720 * scripts/bench.pl: Skip over blank lines.
11721
11722 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
11723
11724 [BZ #926]
11725 * manual/time.texi (Calendar Time): Clarify what timezone functions
11726 use.
11727
11728 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11729
11730 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11731
11732 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
11733
11734 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
11735 implementation.
11736 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
11737 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
11738 * debug/memset_chk.c (__memset_chk): Likewise.
11739 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
11740 * debug/strncpy_chk.c: Likewise.
11741
11742 2013-12-03 Joseph Myers <joseph@codesourcery.com>
11743
11744 [BZ #15268]
11745 [BZ #15425]
11746 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
11747 (__ieee754_exp): For possibly underflowing results, check size of
11748 result and force underflow exception if required.
11749 * math/auto-libm-test-in: Add more tests of exp.
11750 * math/auto-libm-test-out: Regenerated.
11751 * sysdeps/i386/fpu/libm-test-ulps: Update.
11752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11753
11754 [BZ #16283]
11755 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
11756 * math/w_exp2f.c (__exp2f): Likewise.
11757 * math/w_exp2l.c (__exp2l): Likewise.
11758 * math/auto-libm-test-in: Do not allow missing errno on exp2
11759 underflow.
11760 * math/auto-libm-test-out: Regenerated.
11761
11762 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
11763
11764 [BZ #16274]
11765 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
11766 handle filename validation.
11767 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
11768 (do_open): Delete.
11769
11770 2013-12-03 Joseph Myers <joseph@codesourcery.com>
11771
11772 [BZ #6786]
11773 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
11774 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
11775 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
11776 <float.h>.
11777 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
11778 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
11779 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11780 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
11781 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11782 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
11783 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11784 * math/auto-libm-test-in: Don't allow missing errno from erfc.
11785 Add more erfc tests.
11786 * math/auto-libm-test-out: Regenerated.
11787 * sysdeps/i386/fpu/libm-test-ulps: Update.
11788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11789
11790 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
11791 exp2, expm1, j0 and j1.
11792 * math/auto-libm-test-out: Regenerated.
11793 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
11794 (erfc_test_data): Likewise.
11795 (exp_test_data): Likewise.
11796 (exp_tonearest_test_data): Likewise.
11797 (exp_towardzero_test_data): Likewise.
11798 (exp_downward_test_data): Likewise.
11799 (exp_upward_test_data): Likewise.
11800 (exp10_test_data): Likewise.
11801 (exp2_test_data): Likewise.
11802 (expm1_test_data): Likewise.
11803 (j0_test_data): Likewise.
11804 (j1_test_data): Likewise.
11805 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
11806 (input_flag_type): Add flag_xfail_rounding.
11807 (input_flags): Add xfail-rounding.
11808 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
11809 (output_for_one_input_case): Handle flag_xfail_rounding.
11810 * sysdeps/i386/fpu/libm-test-ulps: Update.
11811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11812
11813 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
11814
11815 [BZ #16289]
11816 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
11817 division by 0.
11818
11819 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11820
11821 [BZ #16195]
11822 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
11823 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
11824 (STAP_PROBE0): New macro.
11825 (STAP_PROBE1): Likewise.
11826 (STAP_PROBE2): Likewise.
11827 (STAP_PROBE3): Likewise.
11828 (STAP_PROBE4): Likewise.
11829
11830 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
11831
11832 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
11833
11834 2013-12-02 Steve Ellcey <sellcey@mips.com>
11835
11836 * benchtests/Makefile (bench): Add sqrt.
11837 (LDLIBS-bench-sqrt): New.
11838 * benchtests/sqrt-input: New.
11839
11840 2013-12-02 Pavel Simerda <psimerda@redhat.com>
11841
11842 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
11843 (GAIH_EAI): Likewise.
11844 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
11845 (gaih_inet): Likewise.
11846 (getaddrinfo): Don't use GAIH_EAI.
11847
11848 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
11849 (struct gaih): Remove definition.
11850
11851 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11852
11853 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
11854 Use HERRNOP directly.
11855
11856 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11857
11858 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11859
11860 2013-11-30 Joseph Myers <joseph@codesourcery.com>
11861
11862 * math/gen-auto-libm-tests.c (test_functions): Add more
11863 single-argument functions.
11864 (special_fill_pi_2): New function.
11865 (special_fill_minus_pi_2): Likewise.
11866 (special_fill_pi_6): Likewise.
11867 (special_fill_minus_pi_6): Likewise.
11868 (special_fill_pi_3): Likewise.
11869 (special_fill_2pi_3): Likewise.
11870 (special_fill_e): Likewise.
11871 (special_fill_1_e): Likewise.
11872 (special_fill_e_minus_1): Likewise.
11873 (special_real_inputs): Add more special inputs.
11874 (output_for_one_input_case): Do not require ERANGE on underflow to
11875 zero if round-to-nearest result does not underflow to zero, unless
11876 exact results required.
11877 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
11878 atan, atanh, cbrt, cos and cosh.
11879 * math/auto-libm-test-out: Regenerated.
11880 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
11881 (acos_tonearest_test_data): Likewise.
11882 (acos_towardzero_test_data): Likewise.
11883 (acos_downward_test_data): Likewise.
11884 (acos_upward_test_data): Likewise.
11885 (acosh_test_data): Likewise.
11886 (asin_test_data): Likewise.
11887 (asin_tonearest_test_data): Likewise.
11888 (asin_towardzero_test_data): Likewise.
11889 (asin_upward_test_data): Likewise.
11890 (asinh_test_data): Likewise.
11891 (atan_test_data): Likewise.
11892 (atanh_test_data): Likewise.
11893 (cbrt_test_data): Likewise.
11894 (cos_test_data): Likewise.
11895 (cos_tonearest_test_data): Likewise.
11896 (cos_towardzero_test_data): Likewise.
11897 (cos_downward_test_data): Likewise.
11898 (cos_upward_test_data): Likewise.
11899 (cosh_test_data): Likewise.
11900 (cosh_tonearest_test_data): Likewise.
11901 (cosh_towardzero_test_data): Likewise.
11902 (cosh_downward_test_data): Likewise.
11903 (cosh_upward_test_data): Likewise.
11904 * sysdeps/i386/fpu/libm-test-ulps: Update.
11905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11906
11907 2013-11-29 Joseph Myers <joseph@codesourcery.com>
11908
11909 [BZ #6787]
11910 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
11911 * math/w_exp10f.c (__exp10f): Likewise.
11912 * math/w_exp10l.c (__exp10l): Likewise.
11913 * math/libm-test.inc (exp10_test_data): Add more tests and expect
11914 errno settings in existing tests.
11915
11916 [BZ #14032]
11917 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
11918 precision control set to double precision.
11919 * sysdeps/i386/fpu/w_sqrt.c: New file.
11920 * math/auto-libm-test-in: Add more tests.
11921 * math/auto-libm-test-out: Update.
11922
11923 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
11924 (sqrt_test_tonearest): New function.
11925 (sqrt_towardzero_test_data): New variable.
11926 (sqrt_test_towardzero): New function.
11927 (sqrt_downward_test_data): New variable.
11928 (sqrt_test_downward): New function.
11929 (sqrt_upward_test_data): New variable.
11930 (sqrt_test_upward): New function.
11931 (main): Call the new functions.
11932
11933 * math/gen-auto-libm-tests.c: New file.
11934 * math/auto-libm-test-in: Likewise.
11935 * math/auto-libm-test-out: New generated file.
11936 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
11937 variables.
11938 (%beautify): Add generated representations of zero.
11939 (top level): Set $auto_input and call parse_auto_input.
11940 (beautify): Remove trailing "f" from hex float constants.
11941 (parse_args): Handle XFAIL_TEST.
11942 (convert_condition): New function.
11943 (or_value): Likewise.
11944 (or_cond_value): Likewise.
11945 (generate_testfile): Handle AUTO_TESTS_* lines.
11946 (parse_auto_input): New function.
11947 * math/libm-test.inc (XFAIL_TEST): New macro.
11948 (ERRNO_UNCHANGED): Update value.
11949 (ERRNO_EDOM): Likewise.
11950 (ERRNO_ERANGE): Likewise.
11951 (IGNORE_RESULT): Likewise.
11952 (TEST_COND_flt_32): New macro.
11953 (TEST_COND_dbl_64): Likewise.
11954 (TEST_COND_ldbl_96_intel): Likewise.
11955 (TEST_COND_ldbl_96_m68k): Likewise.
11956 (TEST_COND_ldbl_128): Likewise.
11957 (TEST_COND_ldbl_128ibm): Likewise.
11958 (TEST_COND_long32): Likewise.
11959 (TEST_COND_long64): Likewise.
11960 (TEST_COND_before_rounding): Likewise.
11961 (TEST_COND_after_rounding): Likewise.
11962 (enable_test): Handle XFAIL_TEST flag.
11963 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
11964 with finite results.
11965 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
11966 auto-libm-test-out.
11967
11968 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11969 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11970
11971 [BZ #16214]
11972 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
11973 __tls_get_addr_internal instead of __tls_get_offset in order to
11974 avoid GOT pointer dependency. Make rtld export
11975 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
11976 __tls_get_addr since we are a __tls_get_offset platform.
11977 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
11978 GOT pointer being set up before.
11979 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
11980
11981 2013-11-28 Joseph Myers <joseph@codesourcery.com>
11982
11983 * manual/math.texi (Errors in Math Functions): Document accuracy
11984 goals.
11985
11986 [BZ #15004]
11987 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
11988 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
11989 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11990 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11991 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11992 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11993 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11994 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11995 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11996 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11997 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11998 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11999 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12000 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12001 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12002 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12003
12004 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
12005 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
12006 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
12007 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
12008 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
12009 Likewise.
12010 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
12011 Likewise.
12012 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
12013 Likewise.
12014 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
12015 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12016 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
12017 atomic-feupdateenv and flt-rounds.
12018 * sysdeps/powerpc/nofpu/Versions (libc): Add
12019 __atomic_feholdexcept, __atomic_feclearexcept,
12020 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
12021 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
12022 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
12023 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
12024 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
12025 here.
12026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12027 Update.
12028
12029 * manual/arith.texi (FP Exceptions): Document that exceptions may
12030 not be raised when matherr is used.
12031 (Math Error Reporting): Document overflow in directed rounding
12032 modes. Document that errno may not be set when finite values are
12033 returned on overflow. Document intent to set errno on underflow
12034 only for underflow to zero.
12035
12036 [BZ #16271]
12037 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
12038 round-to-nearest then adjust result for other rounding modes.
12039 * include/fenv.h (fegetround): Use libm_hidden_proto.
12040 * math/fegetround.c (fegetround): Use libm_hidden_def.
12041 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
12042 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
12043 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12044 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
12045 Likewise.
12046 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
12047 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12048 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
12049 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
12050
12051 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12052
12053 [BZ #16077]
12054 * nss/Versions (libnss_files): Add
12055 _nss_files_gethostbyname3_r.
12056 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
12057 New function.
12058 (HOST_DB_LOOKUP): Remove macro.
12059 (_nss_files_gethostbyname_r): Implement function without the
12060 HOST_DB_LOOKUP macro.
12061 (_nss_files_gethostbyname2_r): Likewise.
12062
12063 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
12064
12065 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
12066
12067 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
12068
12069 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
12070 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
12071 warning.
12072
12073 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12074
12075 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
12076 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
12077 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12078 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
12079 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
12080 __fe_nomask_env_priv and attribute_hidden.
12081 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
12082 (libc_feupdateenv_test_ppc): Likewise.
12083 (libc_feresetround_ppc): Likewise.
12084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12085 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
12086 compat_symbol macro.
12087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12088 (__fe_nomask_env): Likewise.
12089 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
12090
12091 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12092
12093 * string/Makefile: Remove ifunc tests.
12094 * string/test-string.h: Define TEST_IFUNC.
12095 * string/test-bcopy-ifunc.c: Remove.
12096 * string/test-bzero-ifunc.c: Likewise.
12097 * string/test-memccpy-ifunc.c: Likewise.
12098 * string/test-memchr-ifunc.c: Likewise.
12099 * string/test-memcmp-ifunc.c: Likewise.
12100 * string/test-memcpy-ifunc.c: Likewise.
12101 * string/test-memmem-ifunc.c: Likewise.
12102 * string/test-memmove-ifunc.c: Likewise.
12103 * string/test-mempcpy-ifunc.c: Likewise.
12104 * string/test-memrchr-ifunc.c: Likewise.
12105 * string/test-memset-ifunc.c: Likewise.
12106 * string/test-rawmemchr-ifunc.c: Likewise.
12107 * string/test-stpcpy-ifunc.c: Likewise.
12108 * string/test-stpncpy-ifunc.c: Likewise.
12109 * string/test-strcasecmp-ifunc.c: Likewise.
12110 * string/test-strcasestr-ifunc.c: Likewise.
12111 * string/test-strcat-ifunc.c: Likewise.
12112 * string/test-strchr-ifunc.c: Likewise.
12113 * string/test-strchrnul-ifunc.c: Likewise.
12114 * string/test-strcmp-ifunc.c: Likewise.
12115 * string/test-strcpy-ifunc.c: Likewise.
12116 * string/test-strcspn-ifunc.c: Likewise.
12117 * string/test-strlen-ifunc.c: Likewise.
12118 * string/test-strncasecmp-ifunc.c: Likewise.
12119 * string/test-strncat-ifunc.c: Likewise.
12120 * string/test-strncmp-ifunc.c: Likewise.
12121 * string/test-strncpy-ifunc.c: Likewise.
12122 * string/test-strnlen-ifunc.c: Likewise.
12123 * string/test-strpbrk-ifunc.c: Likewise.
12124 * string/test-strrchr-ifunc.c: Likewise.
12125 * string/test-strspn-ifunc.c: Likewise.
12126 * string/test-strstr-ifunc.c: Likewise.
12127
12128 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12129
12130 * benchtests/Makefile: Remove ifunc tests.
12131 * benchtests/bench-string.h: Define TEST_IFUNC.
12132 * benchtests/bench-bcopy-ifunc.c: Remove.
12133 * benchtests/bench-bzero-ifunc.c: Likewise.
12134 * benchtests/bench-memccpy-ifunc.c: Likewise.
12135 * benchtests/bench-memchr-ifunc.c: Likewise.
12136 * benchtests/bench-memcmp-ifunc.c: Likewise.
12137 * benchtests/bench-memcpy-ifunc.c: Likewise.
12138 * benchtests/bench-memmem-ifunc.c: Likewise.
12139 * benchtests/bench-memmove-ifunc.c: Likewise.
12140 * benchtests/bench-mempcpy-ifunc.c: Likewise.
12141 * benchtests/bench-memrchr-ifunc.c: Likewise.
12142 * benchtests/bench-memset-ifunc.c: Likewise.
12143 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
12144 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
12145 * benchtests/bench-stpcpy-ifunc.c: Likewise.
12146 * benchtests/bench-stpncpy-ifunc.c: Likewise.
12147 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
12148 * benchtests/bench-strcasestr-ifunc.c: Likewise.
12149 * benchtests/bench-strcat-ifunc.c: Likewise.
12150 * benchtests/bench-strchr-ifunc.c: Likewise.
12151 * benchtests/bench-strchrnul-ifunc.c: Likewise.
12152 * benchtests/bench-strcmp-ifunc.c: Likewise.
12153 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
12154 * benchtests/bench-strcpy-ifunc.c: Likewise.
12155 * benchtests/bench-strcspn-ifunc.c: Likewise.
12156 * benchtests/bench-strlen-ifunc.c: Likewise.
12157 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
12158 * benchtests/bench-strncat-ifunc.c: Likewise.
12159 * benchtests/bench-strncmp-ifunc.c: Likewise.
12160 * benchtests/bench-strncpy-ifunc.c: Likewise.
12161 * benchtests/bench-strnlen-ifunc.c: Likewise.
12162 * benchtests/bench-strpbrk-ifunc.c: Likewise.
12163 * benchtests/bench-strrchr-ifunc.c: Likewise.
12164 * benchtests/bench-strsep-ifunc.c: Likewise.
12165 * benchtests/bench-strspn-ifunc.c: Likewise.
12166 * benchtests/bench-strstr-ifunc.c: Likewise.
12167
12168 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12169
12170 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
12171
12172 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12173
12174 * resolv/netdb.h: Use __glibc_reserved instead __unused.
12175 * rt/aio.h: Likewise.
12176 * sysdeps/gnu/bits/utmp.h: Likewise.
12177 * sysdeps/gnu/bits/utmpx.h: Likewise.
12178 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12179 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
12180 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
12181 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
12182 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
12183 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
12184 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
12185 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
12186 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
12187 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
12188 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
12189 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
12190 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
12191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
12192 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12193 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
12194 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
12195 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
12196 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
12197 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
12198 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
12199 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
12200 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
12201 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12202 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
12203 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12204 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
12205 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
12206 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
12207 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
12208 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
12209 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
12210 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
12211 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12212 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12213 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
12214 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
12215 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
12216 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
12217 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
12218 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
12219 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12220
12221 2013-11-25 Carlos O'Donell <carlos@redhat.com>
12222
12223 [BZ #16245]
12224 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
12225 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
12226
12227 2013-11-25 Joseph Myers <joseph@codesourcery.com>
12228
12229 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
12230 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
12231 Likewise.
12232
12233 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12234
12235 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
12236 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
12237 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
12238 (__fesetround): Remove define.
12239 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
12240 rounding and exceptions handling.
12241 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
12242 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
12243 (__fe_nomask_env): Likewise.
12244 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
12245 __fegetround instead of fegetround.
12246 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12247 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
12248
12249 2013-11-21 Roland McGrath <roland@hack.frob.com>
12250
12251 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
12252 it's there.
12253
12254 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
12255
12256 2013-11-21 Meador Inge <meadori@codesourcery.com>
12257
12258 [BZ #11157]
12259 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
12260 (encrypt_r): Likewise.
12261 * malloc/obstack.h (obstack_free): Likewise.
12262 * posix/unistd.h (encrypt): Likewise.
12263
12264 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
12265
12266 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
12267 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
12268 DL_CALL_DT_FINI() that call the functions directly.
12269 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
12270 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
12271 * elf/dl-fini.c: Likewise.
12272
12273 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
12274
12275 * malloc/hooks.c (memalign_check): Add alignment rounding.
12276 * malloc/malloc.c (_mid_memalign): New function.
12277 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
12278 Implement by calling _mid_memalign.
12279 * manual/probes.texi (Memory Allocation Probes): Remove
12280 memory_valloc_retry and memory_pvalloc_retry.
12281
12282 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12283
12284 * locale/programs/locarchive.c (open_archive): Add const
12285 qualifier to ARCHIVEFNAME and copy default fname to
12286 DEFAULT_FNAME.
12287
12288 [BZ #15601]
12289 * libio/tst-widetext.input: Rename Oriya to Odia.
12290 * locale/iso-639.def: Likewise.
12291
12292 * manual/probes.texi (Mathematical Function Probes): Add
12293 documentation for sin, cos, asin and acos probes.
12294 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
12295 (__sin32): Add slowasin probe.
12296 (__cos32): Add slowacos probe.
12297 (__mpsin): Add slowsin probe.
12298 (__mpcos): Add slowcos probe.
12299
12300 2013-11-19 Joseph Myers <joseph@codesourcery.com>
12301
12302 [BZ #15483]
12303 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
12304 thread-local __sim_exceptions_thread and global
12305 __sim_exceptions_global.
12306 (__sim_disabled_exceptions): Change to thread-local
12307 __sim_disabled_exceptions_thread and global
12308 __sim_disabled_exceptions_global.
12309 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12310 and global __sim_round_mode_global.
12311 (__simulate_exceptions): Use thread-local floating-point state and
12312 set global state from it as needed.
12313 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
12314 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
12315 __sim_round_mode_thread.
12316 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
12317 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
12318 and global __sim_exceptions_global.
12319 (__sim_disabled_exceptions): Change to thread-local
12320 __sim_disabled_exceptions_thread and global
12321 __sim_disabled_exceptions_global.
12322 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12323 and global __sim_round_mode_global.
12324 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
12325 (SIM_SET_GLOBAL): Likewise.
12326 * sysdeps/powerpc/soft-fp/sfp-machine.h
12327 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
12328 __sim_round_mode_thread.
12329 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
12330 __sim_disabled_exceptions_thread.
12331 (__sim_exceptions): Change to __sim_exceptions_thread.
12332 (__sim_disabled_exceptions): Change to
12333 __sim_disabled_exceptions_thread.
12334 (__sim_round_mode): Change to __sim_round_mode_thread.
12335 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
12336 thread-local floating-point state and set global state from it as
12337 needed.
12338 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
12339 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
12340 (__sim_disabled_exceptions): Remove extern declaration.
12341 (feenableexcept): Use thread-local floating-point state and set
12342 global state from it as needed.
12343 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
12344 extern declaration.
12345 (__sim_disabled_exceptions): Likewise.
12346 (__sim_round_mode): Likewise.
12347 (__fegetenv): Use thread-local floating-point state.
12348 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
12349 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12350 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
12351 floating-point state and set global state from it as needed.
12352 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
12353 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
12354 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
12355 Likewise.
12356 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
12357 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
12358 Likewise.
12359 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
12360 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
12361 Use __sim_round_mode_thread.
12362 * math/test-fenv-tls.c: New file.
12363 * math/Makefile (tests): Add test-fenv-tls.
12364 ($(objpfx)test-fenv-tls): Depend on
12365 $(common-objpfx)nptl/libpthread.so.
12366
12367 2013-11-19 Andreas Schwab <schwab@suse.de>
12368
12369 * locale/programs/locale.c (show_info): Decode wordarray elements.
12370 * locale/categories.def (LC_MONETARY): Add element for
12371 _NL_MONETARY_CRNCYSTR.
12372 * locale/C-monetary.c (conversion_rate): New variable.
12373 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
12374 element.
12375
12376 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
12377
12378 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
12379 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
12380
12381 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12382
12383 * elf/Makefile (tst-auxv): New test.
12384 * elf/tst-auxv.c: New
12385 * elf/rtld.c (dl_main): Adjust AT_EXECFN
12386
12387 2013-11-18 Joseph Myers <joseph@codesourcery.com>
12388
12389 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
12390 (hidden_proto): Caller changed.
12391 (hidden_tls_proto): New macro.
12392 (libc_hidden_tls_proto): Likewise.
12393 (rtld_hidden_tls_proto): Likewise.
12394 (libm_hidden_tls_proto): Likewise.
12395 (libresolv_hidden_tls_proto): Likewise.
12396 (librt_hidden_tls_proto): Likewise.
12397 (libdl_hidden_tls_proto): Likewise.
12398 (libnss_files_hidden_tls_proto): Likewise.
12399 (libnsl_hidden_tls_proto): Likewise.
12400 (libnss_nisplus_hidden_tls_proto): Likewise.
12401 (libutil_hidden_tls_proto): Likewise.
12402
12403 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
12404
12405 [BZ #10253]
12406 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
12407 (decompose_rpath): Defer expansion to fillin_rpath.
12408 (_dl_init_paths): Pass linkmap to fillin_rpath.
12409
12410 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12411
12412 * benchtests/Makefile: Add strsep.
12413 * benchtests/bench-strsep.c: New file: strsep benchtest.
12414 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
12415
12416 2013-11-18 Andreas Schwab <schwab@suse.de>
12417
12418 * locale/programs/locale.c (show_info) [case byte]: Check for
12419 '\377' instead of '\177'.
12420 * locale/C-monetary.c (not_available): Always use "\377".
12421 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
12422 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
12423 detect unavailable sign_posn locale elements.
12424 * locale/localeconv.c (__localeconv): For grouping and
12425 mon_grouping handle "\177" and "\377" like no grouping.
12426 (INT_ELEM): New macro. Use it to set all numeric members.
12427 * locale/programs/ld-monetary.c (monetary_read)
12428 <tok_mon_grouping>: Normalize single -1 to the empty string.
12429 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
12430 Likewise.
12431
12432 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
12433
12434 [BZ #16055]
12435 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
12436 when we match (nil).
12437 * stdio-common/tst-sscanf.c (struct test): Add testcase.
12438
12439 2013-11-16 Joseph Myers <joseph@codesourcery.com>
12440
12441 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
12442 (NO_TEST_INLINE): Update value.
12443 (ERRNO_UNCHANGED): Likewise.
12444 (ERRNO_EDOM): Likewise.
12445 (ERRNO_ERANGE): Likewise.
12446 (IGNORE_RESULT): Likewise.
12447 (check_float_internal): Check signs of NaN results if
12448 TEST_NAN_SIGN used.
12449 (check_complex): Pass TEST_NAN_SIGN flag through to second
12450 check_float_internal call.
12451 (copysign_test_data): Add tests with quiet NaNs as second
12452 argument. Use TEST_NAN_SIGN.
12453 (fabs_test_data): Add test of negative quiet NaN argument. Use
12454 TEST_NAN_SIGN.
12455 (signbit_test_data): Add tests of quiet NaN argument.
12456 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
12457
12458 * math/gen-libm-test.pl (show_exceptions): Take extra argument
12459 $ignore_result.
12460 (parse_args): Handle function results specified as IGNORE.
12461 * math/libm-test.inc (IGNORE_RESULT): New macro.
12462 (check_float_internal): Do not check numerical result if flag
12463 IGNORE_RESULT set.
12464 (check_complex): Pass through IGNORE_RESULT to second
12465 check_float_internal call.
12466 (check_int): Do not check numerical result if flag IGNORE_RESULT
12467 set.
12468 (check_long): Likewise.
12469 (check_bool): Likewise.
12470 (check_longlong): Likewise.
12471 (lrint_test_data): Add tests of infinite and NaN arguments.
12472 (lrint_tonearest_test_data): Likewise.
12473 (lrint_towardzero_test_data): Likewise.
12474 (lrint_downward_test_data): Likewise.
12475 (lrint_upward_test_data): Likewise.
12476 (llrint_test_data): Likewise.
12477 (llrint_tonearest_test_data): Likewise.
12478 (llrint_towardzero_test_data): Likewise.
12479 (llrint_downward_test_data): Likewise.
12480 (llrint_upward_test_data): Likewise.
12481 (lround_test_data): Likewise.
12482 (llround_test_data): Likewise.
12483
12484 * math/libm-test.inc (NO_TEST_INLINE): New macro.
12485 (ERRNO_UNCHANGED): Update value.
12486 (ERRNO_EDOM): Likewise.
12487 (ERRNO_ERANGE): Likewise.
12488 (NO_TEST_INLINE_FLOAT): New macro.
12489 (NO_TEST_INLINE_DOUBLE): Likewise.
12490 (enable_test): New function.
12491 (RUN_TEST_f_f): Check enable_test before running test.
12492 (RUN_TEST_2_f): Likewise.
12493 (RUN_TEST_fff_f): Likewise.
12494 (RUN_TEST_c_f): Likewise.
12495 (RUN_TEST_f_f1): Likewise.
12496 (RUN_TEST_fF_f1): Likewise.
12497 (RUN_TEST_fI_f1): Likewise.
12498 (RUN_TEST_ffI_f1): Likewise.
12499 (RUN_TEST_c_c): Likewise.
12500 (RUN_TEST_cc_c): Likewise.
12501 (RUN_TEST_f_i): Likewise.
12502 (RUN_TEST_f_i_tg): Likewise.
12503 (RUN_TEST_ff_i_tg): Likewise.
12504 (RUN_TEST_f_b): Likewise.
12505 (RUN_TEST_f_b_tg): Likewise.
12506 (RUN_TEST_f_l): Likewise.
12507 (RUN_TEST_f_L): Likewise.
12508 (RUN_TEST_fFF_11): Likewise.
12509 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
12510 conditionals.
12511 (cosh_test_data): Likewise.
12512 (exp_test_data): Likewise.
12513 (expm1_test_data): Likewise.
12514 (hypot_test_data): Likewise.
12515 (pow_test_data): Likewise.
12516 (sinh_test_data): Likewise.
12517 (tanh_test_data): Likewise.
12518 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
12519 flags argument.
12520
12521 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
12522 tests with quiet NaN input and output.
12523 (acosh_test_data): Likewise.
12524 (asin_test_data): Likewise.
12525 (asinh_test_data): Likewise.
12526 (atan_test_data): Likewise.
12527 (atanh_test_data): Likewise.
12528 (atan2_test_data): Likewise.
12529 (cbrt_test_data): Likewise.
12530 (cos_test_data): Likewise.
12531 (cosh_test_data): Likewise.
12532 (erf_test_data): Likewise.
12533 (erfc_test_data): Likewise.
12534 (exp_test_data): Likewise.
12535 (exp10_test_data): Likewise.
12536 (exp2_test_data): Likewise.
12537 (expm1_test_data): Likewise.
12538 (hypot_test_data): Likewise.
12539 (j0_test_data): Likewise.
12540 (j1_test_data): Likewise.
12541 (jn_test_data): Likewise.
12542 (lgamma_test_data): Likewise.
12543 (log_test_data): Likewise.
12544 (log10_test_data): Likewise.
12545 (log1p_test_data): Likewise.
12546 (log2_test_data): Likewise.
12547 (pow_test_data): Likewise.
12548 (scalb_test_data): Likewise.
12549 (sin_test_data): Likewise.
12550 (sincos_test_data): Likewise.
12551 (sinh_test_data): Likewise.
12552 (tan_test_data): Likewise.
12553 (tanh_test_data): Likewise.
12554 (tgamma_test_data): Likewise.
12555 (y0_test_data): Likewise.
12556 (y1_test_data): Likewise.
12557 (yn_test_data): Likewise.
12558
12559 [BZ #16167]
12560 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
12561 argument being NaN and avoid computations with second argument in
12562 that case.
12563 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12564 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
12565 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12566
12567 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
12568
12569 * locale/iso-639.def: Add Chitwani Tharu (the).
12570
12571 2013-11-14 Andreas Schwab <schwab@suse.de>
12572
12573 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
12574 word instead of empty string.
12575
12576 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12577
12578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12579 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
12580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12581 (__fe_nomask_env): Likewise.
12582
12583 2013-11-13 Steve Ellcey <sellcey@mips.com>
12584
12585 * benchtests/bench-timing.h: Include time.h.
12586
12587 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
12588
12589 [BZ #15997]
12590 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
12591 to 3.4.0 for x32.
12592 * sysdeps/unix/sysv/linux/configure: Regenerated.
12593
12594 2013-11-13 Joseph Myers <joseph@codesourcery.com>
12595
12596 [BZ #16151]
12597 * stdlib/strtod_l.c (round_and_return): Do not consider
12598 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
12599 exponent one less than half the least subnormal exponent.
12600 * stdlib/test-strtod-round-data: Add more tests.
12601 * stdlib/tst-strtod-round.c (tests): Regenerated.
12602
12603 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12604
12605 [BZ #14143]
12606 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
12607 (__fe_mask_env): Likewise.
12608 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
12609 libm_hidden_proto and add function prototype.
12610 (__fe_mask_env): Add function prototype.
12611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12612 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
12613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
12614 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
12615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12616 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
12617
12618 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12619
12620 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
12621 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
12622
12623 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12624
12625 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
12626 of htab_find_slot().
12627
12628 2013-11-11 David S. Miller <davem@davemloft.net>
12629
12630 [BZ #16150]
12631 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
12632 symbol in the non-vis3 case in static builds.
12633 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
12634 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
12635 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
12636 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
12637
12638 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12639
12640 [BZ #387]
12641 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
12642 it is empty.
12643
12644 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12645
12646 * benchtests/Makefile: Add bench-strtod.
12647 * benchtests/bench-strtod.c: New file: strtod benchtest
12648
12649 2013-11-11 Andreas Schwab <schwab@suse.de>
12650
12651 [BZ #16153]
12652 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
12653 terminating NUL in key length.
12654
12655 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12656
12657 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12658 Add artificial ODP entry for vDSO symbol for PPC64.
12659 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
12660 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
12661
12662 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
12663
12664 [BZ #15374]
12665 * nss/getent.c (services_keys): Recognize services starting with digit.
12666
12667 2013-11-06 David S. Miller <davem@davemloft.net>
12668
12669 [BZ #15985]
12670 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
12671 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
12672
12673 2013-11-06 Will Newton <will.newton@linaro.org>
12674
12675 * manual/memory.texi (Malloc Examples): Remove register
12676 keyword from examples.
12677
12678 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
12679
12680 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
12681
12682 2013-11-04 Joseph Myers <joseph@codesourcery.com>
12683
12684 [BZ #6981]
12685 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
12686 depending on [__GCC_IEC_559 > 0].
12687 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
12688 depending on [__GCC_IEC_559_COMPLEX > 0].
12689
12690 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
12691
12692 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
12693 to iso-639.def.
12694
12695 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
12696
12697 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
12698
12699 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
12700
12701 [BZ #16112]
12702 * malloc/malloc (malloc_info): Do not handle first bin as
12703 special case.
12704
12705 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
12706
12707 * locale/iso-639.def: Add Central Nahuatl (nhn).
12708
12709 2013-11-01 Bruno Haible <bruno@clisp.org>
12710
12711 [BZ #7003]
12712 * manual/math.texi (BSD Random): Specify range upper bound as
12713 in POSIX.
12714
12715 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
12716
12717 * locale/iso-639.def: Add Meadow Mari (mhr).
12718
12719 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
12720
12721 [BZ #14752], [BZ #15763]
12722 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
12723 Validate name.
12724 * rt/tst_shm.c: Add test for escaping directory.
12725
12726 2013-10-31 Andreas Schwab <schwab@suse.de>
12727
12728 [BZ #15917]
12729 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
12730 followed by 'x' as part of digit sequence.
12731 * stdio-common/tst-sscanf.c (double_tests2): New tests.
12732
12733 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
12734
12735 [BZ #16037]
12736 * configure.ac: allow GNU Make 4.0 and greater.
12737 * configure: Regenerated.
12738
12739 2013-10-30 Will Newton <will.newton@linaro.org>
12740
12741 [BZ #16038]
12742 * malloc/hooks.c (memalign_check): Limit alignment to the
12743 maximum representable power of two.
12744 * malloc/malloc.c (__libc_memalign): Likewise.
12745 * malloc/tst-memalign.c (do_test): Add test for very
12746 large alignment values.
12747 * malloc/tst-posix_memalign.c (do_test): Likewise.
12748
12749 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
12750
12751 [BZ #11087]
12752 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
12753 (munmap_chunk): Likewise.
12754 (mremap_chunk): Likewise.
12755
12756 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
12757
12758 [BZ #15799]
12759 * stdlib/div.c (div): Remove obsolete code.
12760 * stdlib/ldiv.c (ldiv): Likewise.
12761 * stdlib/lldiv.c (lldiv): Likewise.
12762
12763 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12764
12765 [BZ #16071]
12766 * nss/nss_files/files-XXX.c (get_contents_ret): New
12767 enumerator.
12768 (get_contents): New function.
12769 (internal_getent): Use it. Expand size of LINEBUFLEN.
12770
12771 2013-10-30 Mike Frysinger <vapier@gentoo.org>
12772
12773 * configure.in: Moved to ...
12774 * configure.ac: ... here. Change reference to configure.in
12775 to configure.ac.
12776 * sysdeps/arm/preconfigure.ac: ... here.
12777 configure.in to configure.ac.
12778 * sysdeps/gnu/configure.in: Moved to ...
12779 * sysdeps/gnu/configure.ac: ... here.
12780 * sysdeps/i386/configure.in: Moved to ...
12781 * sysdeps/i386/configure.ac: ... here.
12782 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
12783 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
12784 * sysdeps/mach/configure.in: Moved to ...
12785 * sysdeps/mach/configure.ac: ... here.
12786 * sysdeps/mach/hurd/configure.in: Moved to ...
12787 * sysdeps/mach/hurd/configure.ac: ... here.
12788 * sysdeps/powerpc/configure.in: Moved to ...
12789 * sysdeps/powerpc/configure.ac: ... here.
12790 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
12791 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
12792 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
12793 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
12794 * sysdeps/s390/s390-32/configure.in: Moved to ...
12795 * sysdeps/s390/s390-32/configure.ac: ... here.
12796 * sysdeps/s390/s390-64/configure.in: Moved to ...
12797 * sysdeps/s390/s390-64/configure.ac: ... here.
12798 * sysdeps/sh/configure.in: Moved to ...
12799 * sysdeps/sh/configure.ac: ... here.
12800 * sysdeps/sparc/configure.in: Moved to ...
12801 * sysdeps/sparc/configure.ac: ... here.
12802 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
12803 * sysdeps/unix/sysv/linux/configure.ac: ... here.
12804 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
12805 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
12806 * sysdeps/x86_64/configure.in: Moved to ...
12807 * sysdeps/x86_64/configure.ac: ... here.
12808 * sysdeps/x86_64/preconfigure.in: Moved to ...
12809 * sysdeps/x86_64/preconfigure.ac: ... here.
12810 * aclocal.m4: Change reference to configure.in to configure.ac.
12811 * config.h.in: Likewise.
12812 * manual/install.texi: Likewise.
12813 * manual/maint.texi: Likewise.
12814 * Makefile: Likewise.
12815 * malloc/Makefile: Likewise.
12816 * nscd/Makefile: Likewise.
12817 * Makeconfig: Change reference to configure.in and
12818 preconfigure.in to configure.ac and preconfigure.ac
12819 respectively.
12820 * INSTALL: Regenerated.
12821 * configure: Likewise.
12822 * sysdeps/gnu/configure: Likewise.
12823 * sysdeps/i386/configure: Likewise.
12824 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
12825 * sysdeps/mach/configure: Likewise.
12826 * sysdeps/mach/hurd/configure: Likewise.
12827 * sysdeps/powerpc/configure: Likewise.
12828 * sysdeps/powerpc/powerpc32/configure: Likewise.
12829 * sysdeps/powerpc/powerpc64/configure: Likewise.
12830 * sysdeps/s390/s390-32/configure: Likewise.
12831 * sysdeps/s390/s390-64/configure: Likewise.
12832 * sysdeps/sh/configure: Likewise.
12833 * sysdeps/sparc/configure: Likewise.
12834 * sysdeps/unix/sysv/linux/configure: Likewise.
12835 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
12836 * sysdeps/x86_64/configure: Likewise.
12837 * sysdeps/x86_64/preconfigure: Likewise.
12838
12839 2013-10-29 Andreas Schwab <schwab@suse.de>
12840
12841 * stdio-common/Makefile (tst-swscanf-ENV): Define.
12842
12843 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12844
12845 * benchtests/pow-inputs: Add new inputs.
12846
12847 * benchtests/exp-inputs: Add new inputs.
12848
12849 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
12850 conditional check for return value.
12851 (__cos32): Likewise.
12852
12853 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12854
12855 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
12856 to provide a boost for large inputs with word alignment.
12857 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
12858 implementation based on optimized PPC64 strcpy.
12859 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
12860 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
12861 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
12862 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
12863
12864 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12865
12866 [BZ #2801]
12867 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
12868
12869 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12870
12871 [BZ #14876]
12872 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
12873 * time/tst-strptime.c (day_tests): Add testcase.
12874
12875 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12876
12877 [BZ #14029]
12878 * manual/pattern.texi: Acknowledge that fnmatch can fail.
12879
12880 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
12881
12882 [BZ #16074]
12883 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
12884 MAP_FAILED on error.
12885
12886 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12887
12888 [BZ #16072]
12889 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
12890 heap for large requests.
12891
12892 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
12893
12894 [BZ #9954]
12895 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
12896 result if the result has no associated interface.
12897 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
12898 interface for all 127.X.Y.Z addresses.
12899
12900 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
12901
12902 * locale/iso-639.def: Add Ligurian (lij)
12903
12904 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
12905
12906 [BZ #15825]
12907 * sunrpc/rpc_main.c: Document rpcgen -5.
12908
12909 2013-10-19 Michael Stahl <mstahl@redhat.com>
12910
12911 * elf/rtld.c (do_preload): Print the reason why preloading failed.
12912
12913 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
12914
12915 [BZ #10278]
12916 * posix/glob.c: Match only directories when trailing slash is present.
12917 * posix/tst-gnuglob.c (my_opendir): Do not open files.
12918 (main): Add testcase.
12919
12920 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
12921
12922 [BZ #15670]
12923 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
12924
12925 2013-10-18 Carlos O'Donell <carlos@redhat.com>
12926
12927 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
12928 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
12929 AUTH_DES and cindex for FIPS 140-2.
12930 (DES Encryption): Add cindex FIPS 46-3.
12931
12932 * locale/locarchive.h (struct locarhandle): Add fname.
12933 * locale/programs/localedef.c (main): Pass ARGV[remaining]
12934 if an optional argument was specified to --list-archive,
12935 otherwise NULL.
12936 * locale/programs/locarchive.c (show_archive_content): Take new
12937 argument fname and pass it via ah.fname to open_archive.
12938 * locale/programs/localedef.h: Update decl.
12939 (open_archive): If AH->fname is non-null, open that file
12940 rather than the default file name, and don't ignore ENOENT.
12941 (create_archive): Set AH.fname to NULL.
12942 (delete_locales_from_archive): Likewise.
12943 (add_locales_to_archive): Likewise.
12944 * locale/programs/locfile.c (write_all_categories): Likewise.
12945
12946 2013-10-18 Joseph Myers <joseph@codesourcery.com>
12947 Aldy Hernandez <aldyh@redhat.com>
12948
12949 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
12950 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
12951 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
12952 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
12953 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
12954 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
12955 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
12956 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
12957 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
12958 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
12959 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
12960 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
12961 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
12962 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
12963 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
12964 Likewise.
12965 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
12966 Likewise.
12967 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
12968 Likewise.
12969 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
12970 Likewise.
12971 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
12972 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
12973 Likewise.
12974 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
12975 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
12976 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
12977 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
12978 Likewise.
12979 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
12980 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
12981 * sysdeps/powerpc/preconfigure: Likewise.
12982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12983 Likewise.
12984 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
12985 Replace contents of file by #include of <fenv_libc.h>.
12986 * sysdeps/powerpc/soft-fp/sfp-machine.h
12987 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
12988 and <sys/prctl.h>.
12989 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
12990 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
12991 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
12992 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
12993 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
12994 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
12995 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
12996 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
12997 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
12998 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
12999 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
13000 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
13001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13002 Allow copysignl PLT reference to be missing.
13003
13004 2013-10-18 Richard Sandiford <richard@codesourcery.com>
13005 Joseph Myers <joseph@codesourcery.com
13006
13007 [BZ #15948]
13008 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
13009 single character.
13010 (add_to_tablewc): Assert sequence of wide characters is nonempty.
13011
13012 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13013
13014 * elf/tst-tls-dlinfo.c: Don't include tls.h.
13015 * elf/tst-tls1.c: Likewise.
13016 * elf/tst-tls10.h: Likewise.
13017 * elf/tst-tls14.c: Likewise.
13018 * elf/tst-tls2.c: Likewise.
13019 * elf/tst-tls3.c: Likewise.
13020 * elf/tst-tls4.c: Likewise.
13021 * elf/tst-tls5.c: Likewise.
13022 * elf/tst-tls6.c: Likewise.
13023 * elf/tst-tls7.c: Likewise.
13024 * elf/tst-tls8.c: Likewise.
13025 * elf/tst-tls9.c: Likewise.
13026 * elf/tst-tlsmod1.c: Likewise.
13027 * elf/tst-tlsmod13.c: Likewise.
13028 * elf/tst-tlsmod13a.c: Likewise.
13029 * elf/tst-tlsmod14a.c: Likewise.
13030 * elf/tst-tlsmod16a.c: Likewise.
13031 * elf/tst-tlsmod16b.c: Likewise.
13032 * elf/tst-tlsmod2.c: Likewise.
13033 * elf/tst-tlsmod3.c: Likewise.
13034 * elf/tst-tlsmod4.c: Likewise.
13035 * elf/tst-tlsmod5.c: Likewise.
13036 * elf/tst-tlsmod6.c: Likewise.
13037
13038 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
13039
13040 [BZ #12486]
13041 * malloc/malloc.c: remove checks for statistics.
13042
13043 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
13044
13045 [BZ #15277]
13046 * inet/inet_net.c (inet_network): Detect additional invalid strings.
13047 * inet/tst-network.c: Add testcase.
13048
13049 2013-10-17 Andreas Schwab <schwab@suse.de>
13050
13051 [BZ #15218]
13052 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
13053 to determine canonical name.
13054
13055 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
13056
13057 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
13058 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
13059 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13060 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13061 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13062 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13063 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13064 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13065 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13066 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13067 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13068 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13069 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13070 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13071 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13072 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13073 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13074 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13075 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13076 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13077 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13078 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13079 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13080 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
13081 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
13082 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13083 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13084 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
13085 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13086 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
13087 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13088 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13089 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13090 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13091 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13092 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13093 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13094 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13095 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13096 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13097 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13098 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13099 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13100 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13101 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13102 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13103 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13104 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13105 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13106 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13107 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13108 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13109 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13110 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13111 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13112 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13113 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13114 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13115
13116 2013-10-17 Joseph Myers <joseph@codesourcery.com>
13117
13118 [BZ #16041]
13119 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
13120 make result into a quiet NaN.
13121
13122 2013-10-16 Joseph Myers <joseph@codesourcery.com>
13123
13124 * soft-fp/adddf3.c: Fix horizontal whitespace.
13125 * soft-fp/addsf3.c: Likewise.
13126 * soft-fp/addtf3.c: Likewise.
13127 * soft-fp/divdf3.c: Likewise.
13128 * soft-fp/divsf3.c: Likewise.
13129 * soft-fp/divtf3.c: Likewise.
13130 * soft-fp/double.h: Likewise.
13131 * soft-fp/eqdf2.c: Likewise.
13132 * soft-fp/eqsf2.c: Likewise.
13133 * soft-fp/eqtf2.c: Likewise.
13134 * soft-fp/extenddftf2.c: Likewise.
13135 * soft-fp/extended.h: Likewise.
13136 * soft-fp/extendsfdf2.c: Likewise.
13137 * soft-fp/extendsftf2.c: Likewise.
13138 * soft-fp/extendxftf2.c: Likewise.
13139 * soft-fp/fixdfdi.c: Likewise.
13140 * soft-fp/fixdfsi.c: Likewise.
13141 * soft-fp/fixdfti.c: Likewise.
13142 * soft-fp/fixsfdi.c: Likewise.
13143 * soft-fp/fixsfsi.c: Likewise.
13144 * soft-fp/fixsfti.c: Likewise.
13145 * soft-fp/fixtfdi.c: Likewise.
13146 * soft-fp/fixtfsi.c: Likewise.
13147 * soft-fp/fixtfti.c: Likewise.
13148 * soft-fp/fixunsdfdi.c: Likewise.
13149 * soft-fp/fixunsdfsi.c: Likewise.
13150 * soft-fp/fixunsdfti.c: Likewise.
13151 * soft-fp/fixunssfdi.c: Likewise.
13152 * soft-fp/fixunssfsi.c: Likewise.
13153 * soft-fp/fixunssfti.c: Likewise.
13154 * soft-fp/fixunstfdi.c: Likewise.
13155 * soft-fp/fixunstfsi.c: Likewise.
13156 * soft-fp/fixunstfti.c: Likewise.
13157 * soft-fp/floatdidf.c: Likewise.
13158 * soft-fp/floatdisf.c: Likewise.
13159 * soft-fp/floatditf.c: Likewise.
13160 * soft-fp/floatsidf.c: Likewise.
13161 * soft-fp/floatsisf.c: Likewise.
13162 * soft-fp/floatsitf.c: Likewise.
13163 * soft-fp/floattidf.c: Likewise.
13164 * soft-fp/floattisf.c: Likewise.
13165 * soft-fp/floattitf.c: Likewise.
13166 * soft-fp/floatundidf.c: Likewise.
13167 * soft-fp/floatundisf.c: Likewise.
13168 * soft-fp/floatunditf.c: Likewise.
13169 * soft-fp/floatunsidf.c: Likewise.
13170 * soft-fp/floatunsisf.c: Likewise.
13171 * soft-fp/floatunsitf.c: Likewise.
13172 * soft-fp/floatuntidf.c: Likewise.
13173 * soft-fp/floatuntisf.c: Likewise.
13174 * soft-fp/floatuntitf.c: Likewise.
13175 * soft-fp/fmadf4.c: Likewise.
13176 * soft-fp/fmasf4.c: Likewise.
13177 * soft-fp/fmatf4.c: Likewise.
13178 * soft-fp/gedf2.c: Likewise.
13179 * soft-fp/gesf2.c: Likewise.
13180 * soft-fp/getf2.c: Likewise.
13181 * soft-fp/ledf2.c: Likewise.
13182 * soft-fp/lesf2.c: Likewise.
13183 * soft-fp/letf2.c: Likewise.
13184 * soft-fp/muldf3.c: Likewise.
13185 * soft-fp/mulsf3.c: Likewise.
13186 * soft-fp/multf3.c: Likewise.
13187 * soft-fp/negdf2.c: Likewise.
13188 * soft-fp/negsf2.c: Likewise.
13189 * soft-fp/negtf2.c: Likewise.
13190 * soft-fp/op-1.h: Likewise.
13191 * soft-fp/op-2.h: Likewise.
13192 * soft-fp/op-4.h: Likewise.
13193 * soft-fp/op-8.h: Likewise.
13194 * soft-fp/op-common.h: Likewise.
13195 * soft-fp/quad.h: Likewise.
13196 * soft-fp/single.h: Likewise.
13197 * soft-fp/soft-fp.h: Likewise.
13198 * soft-fp/sqrtdf2.c: Likewise.
13199 * soft-fp/sqrtsf2.c: Likewise.
13200 * soft-fp/sqrttf2.c: Likewise.
13201 * soft-fp/subdf3.c: Likewise.
13202 * soft-fp/subsf3.c: Likewise.
13203 * soft-fp/subtf3.c: Likewise.
13204 * soft-fp/truncdfsf2.c: Likewise.
13205 * soft-fp/trunctfdf2.c: Likewise.
13206 * soft-fp/trunctfsf2.c: Likewise.
13207 * soft-fp/trunctfxf2.c: Likewise.
13208 * soft-fp/unorddf2.c: Likewise.
13209 * soft-fp/unordsf2.c: Likewise.
13210 * soft-fp/unordtf2.c: Likewise.
13211
13212 2013-10-15 Joseph Myers <joseph@codesourcery.com>
13213
13214 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
13215 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
13216
13217 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
13218
13219 * elf/dl-libc.c: Clear initfini list after freeing.
13220
13221 2013-10-14 Joseph Myers <joseph@codesourcery.com>
13222
13223 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
13224 * soft-fp/addsf3.c: Likewise.
13225 * soft-fp/addtf3.c: Likewise.
13226 * soft-fp/divdf3.c: Likewise.
13227 * soft-fp/divsf3.c: Likewise.
13228 * soft-fp/divtf3.c: Likewise.
13229 * soft-fp/double.h: Likewise.
13230 * soft-fp/eqdf2.c: Likewise.
13231 * soft-fp/eqsf2.c: Likewise.
13232 * soft-fp/eqtf2.c: Likewise.
13233 * soft-fp/extenddftf2.c: Likewise.
13234 * soft-fp/extended.h: Likewise.
13235 * soft-fp/extendsfdf2.c: Likewise.
13236 * soft-fp/extendsftf2.c: Likewise.
13237 * soft-fp/extendxftf2.c: Likewise.
13238 * soft-fp/fixdfdi.c: Likewise.
13239 * soft-fp/fixdfsi.c: Likewise.
13240 * soft-fp/fixdfti.c: Likewise.
13241 * soft-fp/fixsfdi.c: Likewise.
13242 * soft-fp/fixsfsi.c: Likewise.
13243 * soft-fp/fixsfti.c: Likewise.
13244 * soft-fp/fixtfdi.c: Likewise.
13245 * soft-fp/fixtfsi.c: Likewise.
13246 * soft-fp/fixtfti.c: Likewise.
13247 * soft-fp/fixunsdfdi.c: Likewise.
13248 * soft-fp/fixunsdfsi.c: Likewise.
13249 * soft-fp/fixunsdfti.c: Likewise.
13250 * soft-fp/fixunssfdi.c: Likewise.
13251 * soft-fp/fixunssfsi.c: Likewise.
13252 * soft-fp/fixunssfti.c: Likewise.
13253 * soft-fp/fixunstfdi.c: Likewise.
13254 * soft-fp/fixunstfsi.c: Likewise.
13255 * soft-fp/fixunstfti.c: Likewise.
13256 * soft-fp/floatdidf.c: Likewise.
13257 * soft-fp/floatdisf.c: Likewise.
13258 * soft-fp/floatditf.c: Likewise.
13259 * soft-fp/floatsidf.c: Likewise.
13260 * soft-fp/floatsisf.c: Likewise.
13261 * soft-fp/floatsitf.c: Likewise.
13262 * soft-fp/floattidf.c: Likewise.
13263 * soft-fp/floattisf.c: Likewise.
13264 * soft-fp/floattitf.c: Likewise.
13265 * soft-fp/floatundidf.c: Likewise.
13266 * soft-fp/floatundisf.c: Likewise.
13267 * soft-fp/floatunsidf.c: Likewise.
13268 * soft-fp/floatunsisf.c: Likewise.
13269 * soft-fp/floatuntidf.c: Likewise.
13270 * soft-fp/floatuntisf.c: Likewise.
13271 * soft-fp/floatuntitf.c: Likewise.
13272 * soft-fp/fmadf4.c: Likewise.
13273 * soft-fp/fmasf4.c: Likewise.
13274 * soft-fp/fmatf4.c: Likewise.
13275 * soft-fp/gedf2.c: Likewise.
13276 * soft-fp/gesf2.c: Likewise.
13277 * soft-fp/getf2.c: Likewise.
13278 * soft-fp/ledf2.c: Likewise.
13279 * soft-fp/lesf2.c: Likewise.
13280 * soft-fp/letf2.c: Likewise.
13281 * soft-fp/muldf3.c: Likewise.
13282 * soft-fp/mulsf3.c: Likewise.
13283 * soft-fp/multf3.c: Likewise.
13284 * soft-fp/negdf2.c: Likewise.
13285 * soft-fp/negsf2.c: Likewise.
13286 * soft-fp/negtf2.c: Likewise.
13287 * soft-fp/op-1.h: Likewise.
13288 * soft-fp/op-2.h: Likewise.
13289 * soft-fp/op-4.h: Likewise.
13290 * soft-fp/op-8.h: Likewise.
13291 * soft-fp/op-common.h: Likewise.
13292 * soft-fp/quad.h: Likewise.
13293 * soft-fp/single.h: Likewise.
13294 * soft-fp/soft-fp.h: Likewise.
13295 * soft-fp/sqrtdf2.c: Likewise.
13296 * soft-fp/sqrtsf2.c: Likewise.
13297 * soft-fp/sqrttf2.c: Likewise.
13298 * soft-fp/subdf3.c: Likewise.
13299 * soft-fp/subsf3.c: Likewise.
13300 * soft-fp/subtf3.c: Likewise.
13301 * soft-fp/truncdfsf2.c: Likewise.
13302 * soft-fp/trunctfdf2.c: Likewise.
13303 * soft-fp/trunctfsf2.c: Likewise.
13304 * soft-fp/trunctfxf2.c: Likewise.
13305 * soft-fp/unorddf2.c: Likewise.
13306 * soft-fp/unordsf2.c: Likewise.
13307 * soft-fp/unordtf2.c: Likewise.
13308
13309 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
13310
13311 [BZ #15672]
13312 * misc/error.c (error_tail): Fix possible buffer overflow.
13313
13314 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
13315
13316 [BZ #13028]
13317 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
13318 address.
13319
13320 2013-10-14 P. J. McDermott <pj@pehjota.net>
13321
13322 [BZ #832]
13323 * elf/ldd.bash.in (try_trace): New function. Delete previous code
13324 testing pipefail option.
13325
13326 2013-10-12 Joseph Myers <joseph@codesourcery.com>
13327
13328 * soft-fp/double.h: Indent preprocessor directives inside #if.
13329 * soft-fp/extended.h: Likewise.
13330 * soft-fp/op-2.h: Likewise.
13331 * soft-fp/op-4.h: Likewise.
13332 * soft-fp/op-common.h: Likewise.
13333 * soft-fp/quad.h: Likewise.
13334 * soft-fp/single.h: Likewise.
13335 * soft-fp/soft-fp.h: Likewise.
13336
13337 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
13338
13339 * iconv/iconv_prog.c: Fix typos.
13340 * stdio-common/psiginfo-data.h: Likewise.
13341
13342 2013-10-12 Reuben Thomas <rrt@sc3d.org>
13343
13344 [BZ #15764]
13345 * locale/setlocale.c: Fix typo.
13346
13347 2013-10-12 Joseph Myers <joseph@codesourcery.com>
13348
13349 [BZ #16036]
13350 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
13351 signaling NaN arguments.
13352 * soft-fp/unordsf2.c (__unordsf2): Likewise.
13353 * soft-fp/unordtf2.c (__unordtf2): Likewise.
13354
13355 [BZ #14910]
13356 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
13357 unordered operands.
13358 * soft-fp/gesf2.c (__gesf2): Likewise.
13359 * soft-fp/getf2.c (__getf2): Likewise.
13360 * soft-fp/ledf2.c (__ledf2): Likewise.
13361 * soft-fp/lesf2.c (__lesf2): Likewise.
13362 * soft-fp/letf2.c (__letf2): Likewise.
13363
13364 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
13365 * soft-fp/eqsf2.c (__eqsf2): Likewise.
13366 * soft-fp/eqtf2.c (__eqtf2): Likewise.
13367 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
13368 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
13369 * soft-fp/fixdfti.c (__fixdfti): Likewise.
13370 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
13371 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
13372 * soft-fp/fixsfti.c (__fixsfti): Likewise.
13373 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
13374 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
13375 * soft-fp/fixtfti.c (__fixtfti): Likewise.
13376 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
13377 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
13378 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
13379 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
13380 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
13381 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
13382 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
13383 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
13384 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
13385 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
13386 * soft-fp/floatdisf.c (__floatdisf): Likewise.
13387 * soft-fp/floatsisf.c (__floatsisf): Likewise.
13388 * soft-fp/floattidf.c (__floattidf): Likewise.
13389 * soft-fp/floattisf.c (__floattisf): Likewise.
13390 * soft-fp/floattitf.c (__floattitf): Likewise.
13391 * soft-fp/floatundidf.c (__floatundidf): Likewise.
13392 * soft-fp/floatundisf.c (__floatundisf): Likewise.
13393 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
13394 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
13395 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
13396 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
13397 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
13398 * soft-fp/gesf2.c (__gesf2): Likewise.
13399 * soft-fp/getf2.c (__getf2): Likewise.
13400 * soft-fp/ledf2.c (__ledf2): Likewise.
13401 * soft-fp/lesf2.c (__lesf2): Likewise.
13402 * soft-fp/letf2.c (__letf2): Likewise.
13403
13404 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
13405 Undefine and redefine.
13406 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
13407 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
13408 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
13409 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
13410 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13411 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
13412 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13413 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
13414 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13415 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
13416 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13417 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
13418 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13419 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
13420 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13421
13422 [BZ #16032]
13423 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
13424 without decrementing exponent if mantissa >= that for the
13425 denominator, not >.
13426 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
13427 denominator, not >. Decrement exponent in < case instead of
13428 incrementing in >= case.
13429 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
13430 without decrementing exponent if mantissa >= that for the
13431 denominator, not >.
13432
13433 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
13434 computing saturated result for unsigned overflow.
13435
13436 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13437 Jeff Law <law@redhat.com>
13438
13439 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
13440 (atan2Mp): Add systemtap probe marker.
13441 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
13442 (__ieee754_log): Add systemtap probe marker.
13443 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
13444 (atanMp): Add systemtap probe marker.
13445 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
13446 (tanMp): Add systemtap probe marker.
13447 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
13448 (__slowexp): Add systemtap probe marker.
13449 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
13450 (__slowpow): Add systemtap probe marker.
13451 * manual/probes.texi: Document probes.
13452
13453 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
13454
13455 [BZ #15362]
13456 * libio/fileops.c (_IO_new_file_write): Return count of bytes
13457 written.
13458 (_IO_new_file_xsputn): Don't return EOF if nothing has been
13459 written.
13460 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
13461 written to buffer but not flushed.
13462 * libio/iofwrite_u.c: Likewise.
13463 * libio/iopadn.c: Return bytes returned even if EOF was
13464 encountered.
13465 * libio/iowpadn.c: Likewise.
13466 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
13467 if _IO_padn does not write the whole buffer.
13468 [!COMPILE_WPRINTF] (PAD): Likewise.
13469
13470 2013-10-10 David S. Miller <davem@davemloft.net>
13471
13472 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
13473 directory block.
13474
13475 2013-10-10 Joseph Myers <joseph@codesourcery.com>
13476
13477 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
13478 instead of FSF address.
13479 * soft-fp/fixdfti.c: Likewise.
13480 * soft-fp/fixsfti.c: Likewise.
13481 * soft-fp/fixtfti.c: Likewise.
13482 * soft-fp/fixunsdfti.c: Likewise.
13483 * soft-fp/fixunssfti.c: Likewise.
13484 * soft-fp/fixunstfti.c: Likewise.
13485 * soft-fp/floattidf.c: Likewise.
13486 * soft-fp/floattisf.c: Likewise.
13487 * soft-fp/floattitf.c: Likewise.
13488 * soft-fp/floatuntidf.c: Likewise.
13489 * soft-fp/floatuntisf.c: Likewise.
13490 * soft-fp/floatuntitf.c: Likewise.
13491 * soft-fp/trunctfxf2.c: Likewise.
13492
13493 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
13494 * soft-fp/fixdfti.c: Likewise.
13495 * soft-fp/fixsfti.c: Likewise.
13496 * soft-fp/fixtfti.c: Likewise.
13497 * soft-fp/fixunsdfti.c: Likewise.
13498 * soft-fp/fixunssfti.c: Likewise.
13499 * soft-fp/fixunstfti.c: Likewise.
13500 * soft-fp/floattidf.c: Likewise.
13501 * soft-fp/floattisf.c: Likewise.
13502 * soft-fp/floattitf.c: Likewise.
13503 * soft-fp/floatuntidf.c: Likewise.
13504 * soft-fp/floatuntisf.c: Likewise.
13505 * soft-fp/floatuntitf.c: Likewise.
13506 * soft-fp/trunctfxf2.c: Likewise.
13507
13508 2013-10-10 David S. Miller <davem@davemloft.net>
13509
13510 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13511
13512 2013-10-10 Joseph Myers <joseph@codsourcery.com>
13513
13514 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13515 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
13516 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
13517 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
13518 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
13519 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
13520 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
13521
13522 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
13523 for NaNs before doing comparisons on argument.
13524 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
13525 Likewise.
13526
13527 2013-10-10 Will Newton <will.newton@linaro.org>
13528
13529 * malloc/hooks.c (memalign_check): Ensure the value of bytes
13530 passed to _int_memalign does not overflow.
13531
13532 2013-10-10 Torvald Riegel <triegel@redhat.com>
13533
13534 * scripts/bench.pl: Add include-sources directive.
13535 * benchtests/README: Update documentation.
13536
13537 2013-10-10 Joseph Myers <joseph@codesourcery.com>
13538
13539 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
13540 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
13541 instead of FP_INIT_ROUNDMODE.
13542 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
13543 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
13544
13545 [BZ #16034]
13546 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
13547 copy class of input value.
13548 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
13549 not handle exceptions.
13550 * soft-fp/negsf2.c (__negsf2): Likewise.
13551 * soft-fp/negtf2.c (__negtf2): Likewise.
13552 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
13553
13554 2013-10-09 Joseph Myers <joseph@codesourcery.com>
13555
13556 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
13557 semicolon. From Linux kernel.
13558
13559 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
13560
13561 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
13562
13563 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
13564
13565 [BZ #156]
13566 * manual/socket.texi: Added statement about buffer
13567 for gethostbyname2_r.
13568
13569 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
13570
13571 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
13572 Use .p2align directive instead, throughout.
13573 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13574 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
13575 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
13576 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13577 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13578 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
13579 * sysdeps/x86_64/strchr.S: Likewise.
13580 * sysdeps/x86_64/strrchr.S: Likewise.
13581
13582 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13583
13584 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
13585
13586 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
13587
13588 * sysdeps/generic/math_private.h (__mpsin1): Remove
13589 declaration.
13590 (__mpcos1): Likewise.
13591 (__mpsin): New argument __range_reduce.
13592 (__mpcos): Likewise.
13593 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13594 (slow): Use __mpsin and __mpcos.
13595 (slow1): Likewise.
13596 (slow2): Likewise.
13597 (sloww): Likewise.
13598 (sloww1): Likewise.
13599 (sloww2): Likewise.
13600 (bsloww): Likewise.
13601 (bsloww1): Likewise.
13602 (bsloww2): Likewise.
13603 (cslow2): Likewise.
13604 (csloww): Likewise.
13605 (csloww1): Likewise.
13606 (csloww2): Likewise.
13607 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
13608 range_reduce. Merge in __mpsin1.
13609 (__mpcos): Likewise.
13610 (__mpsin1): Remove.
13611 (__mpcos1): Likewise.
13612
13613 2013-10-07 Joseph Myers <joseph@codesourcery.com>
13614
13615 * locale/loadlocale.c (_nl_intern_locale_data): Use
13616 LOCFILE_ALIGNED_P.
13617 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
13618 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
13619 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
13620 obstack data is appropriately aligned.
13621 (obstack_int32_grow_fast): Likewise.
13622 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
13623 * locale/programs/locfile.c (add_locale_uint32): Likewise.
13624 (add_locale_uint32_array): Likewise.
13625
13626 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13627
13628 * benchtests/Makefile: Remove ARGLIST and RET variables.
13629 ($(objpfx)bench-%.c): Pass only function name to the script.
13630 * benchtests/README: Update documentation.
13631 * benchtests/acos-inputs: Add new directives.
13632 * benchtests/acosh-inputs: Likewise.
13633 * benchtests/asin-inputs: Likewise.
13634 * benchtests/asinh-inputs: Likewise.
13635 * benchtests/atan-inputs: Likewise.
13636 * benchtests/atanh-inputs: Likewise.
13637 * benchtests/cos-inputs: Likewise.
13638 * benchtests/cosh-inputs: Likewise.
13639 * benchtests/exp-inputs: Likewise.
13640 * benchtests/log-inputs: Likewise.
13641 * benchtests/pow-inputs: Likewise.
13642 * benchtests/rint-inputs: Likewise.
13643 * benchtests/sin-inputs: Likewise.
13644 * benchtests/sinh-inputs: Likewise.
13645 * benchtests/tan-inputs: Likewise.
13646 * benchtests/tanh-inputs: Likewise.
13647 * scripts/bench.pl: Add support for new directives.
13648
13649 2013-10-07 Alan Modra <amodra@gmail.com>
13650
13651 * README: Fix careless merge.
13652
13653 2013-10-05 Alan Modra <amodra@gmail.com>
13654
13655 * NEWS: Mention powerpc64le support and bugs fixed.
13656 * README: Both big-endian and little-endian powerpc64 supported.
13657
13658 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13659
13660 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
13661 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
13662 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
13663 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
13664
13665 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
13666
13667 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
13668 match prototype.
13669
13670 2013-10-04 Joseph Myers <joseph@codesourcery.com>
13671
13672 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
13673 Move -mhard-float appending from
13674 ports/sysdeps/powerpc/powerpc32/Makefile.
13675 [$(with-fp) = yes] (ASFLAGS): Likewise.
13676 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
13677 * sysdeps/powerpc/nofpu: Move directory from
13678 ports/sysdeps/powerpc/nofpu.
13679 * sysdeps/powerpc/soft-fp: Move directory from
13680 ports/sysdeps/powerpc/soft-fp.
13681 * sysdeps/powerpc/powerpc32/405: Move directory from
13682 ports/sysdeps/powerpc/powerpc32/405.
13683 * sysdeps/powerpc/powerpc32/440: Move directory from
13684 ports/sysdeps/powerpc/powerpc32/440.
13685 * sysdeps/powerpc/powerpc32/464: Move directory from
13686 ports/sysdeps/powerpc/powerpc32/464.
13687 * sysdeps/powerpc/powerpc32/476: Move directory from
13688 ports/sysdeps/powerpc/powerpc32/476.
13689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
13690 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
13691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
13692 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
13693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
13694 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
13695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
13696 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
13697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
13698 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
13699 * README: Update for powerpc-*-linux-gnu software floating point
13700 support in libc.
13701
13702 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
13703 case to powerpc/powerpc32*.
13704 * sysdeps/unix/sysv/linux/configure: Regenerated.
13705
13706 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
13707 (_FPU_MASK_OM): Define as 0x04.
13708 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
13709 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
13710 0x00c10080.
13711 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
13712 0x0000003c.
13713 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
13714
13715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
13716 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13717 getcontext_e500.
13718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
13719 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13720 setcontext_e500.
13721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
13722 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
13723 and setcontext_e500.
13724
13725 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
13726
13727 * locale/iso-3166.def: Update iso-1366.def and related occurrences
13728
13729 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13730
13731 * manual/threads.texi (Default Thread Attributes): Fix typo.
13732
13733 2013-10-04 Will Newton <will.newton@linaro.org>
13734
13735 * malloc/Makefile: Add tst-memalign.
13736 * malloc/tst-memalign.c: New file.
13737
13738 * malloc/tst-posix_memalign.c: Add comments.
13739 (do_test): Add comments and call free on all potentially
13740 allocated pointers. Add space after cast.
13741
13742 * malloc/tst-pvalloc.c: Add comments.
13743 (do_test): Add comments and call free on all potentially
13744 allocated pointers. Remove duplicate check for NULL pointer.
13745 Add space after cast.
13746
13747 * malloc/tst-valloc.c: Add comments.
13748 (do_test): Add comments and call free on all potentially
13749 allocated pointers. Remove duplicate check for NULL pointer.
13750 Add space after cast.
13751
13752 2013-10-04 Alan Modra <amodra@gmail.com>
13753
13754 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13755 Use stdint types in rather than __attribute__((mode())).
13756 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13757
13758 2013-10-04 Alan Modra <amodra@gmail.com>
13759
13760 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13761 Correct handling of unaligned relocs for little-endian.
13762 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13763
13764 2013-10-04 Alan Modra <amodra@gmail.com>
13765
13766 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
13767 * configure: Regenerate.
13768 * nptl/shlib-versions: Powerpc*le starts at 2.18.
13769 * shlib-versions: Likewise.
13770
13771 2013-10-04 Alan Modra <amodra@gmail.com>
13772
13773 * string/tester.c (test_memrchr): Increment reported test cycle.
13774
13775 2013-10-04 Alan Modra <amodra@gmail.com>
13776
13777 * string/test-memcpy.c (do_one_test): When reporting errors, print
13778 string address and don't overrun end of string.
13779
13780 2013-10-04 Alan Modra <amodra@gmail.com>
13781
13782 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
13783 insrdi. Make better use of reg selection to speed exit slightly.
13784 Schedule entry path a little better. Remove useless "are we done"
13785 checks on entry to main loop. Handle wrapping around zero address.
13786 Correct main loop count. Handle single left-over word from main
13787 loop inline rather than by using loop_small. Remove extra word
13788 case in loop_small caused by wrong loop count. Add little-endian
13789 support.
13790 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13791 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
13792 cache hint.
13793 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13794 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
13795 support. Avoid rlwimi.
13796 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
13797
13798 2013-10-04 Alan Modra <amodra@gmail.com>
13799
13800 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
13801 insrdi. Formatting.
13802 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
13803 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13804 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13805 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13806 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13807 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
13808
13809 2013-10-04 Alan Modra <amodra@gmail.com>
13810
13811 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
13812 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13813 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13814 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
13815 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13816 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13817 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13818 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13819 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
13820 use of regs. Use power7 mtocrf. Tidy function tails.
13821
13822 2013-10-04 Alan Modra <amodra@gmail.com>
13823
13824 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
13825 Formatting. Consistently use rXXX register defines or rN defines.
13826 Use early exit labels that avoid restoring unused non-volatile regs.
13827 Make cr field use more consistent with rWORDn compares. Rename
13828 regs used as shift registers for unaligned loop, using rN defines
13829 for short lifetime/multiple use regs.
13830 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13831 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
13832 addi 1,1,64 to pop stack frame. Simplify return value code.
13833 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13834
13835 2013-10-04 Alan Modra <amodra@gmail.com>
13836
13837 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
13838 support. Correct typos, formatting. Optimize tail. Use insrdi
13839 rather than rlwimi.
13840 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
13841 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
13842 little-endian support. Correct typos.
13843 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
13844 rather than rlwimi.
13845 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
13846 in loop and entry code to keep "and." results.
13847 (strchr): Add little-endian support. Comment. Move cntlzd
13848 earlier in tail.
13849 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
13850
13851 2013-10-04 Alan Modra <amodra@gmail.com>
13852
13853 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
13854 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
13855 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
13856 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
13857
13858 2013-10-04 Alan Modra <amodra@gmail.com>
13859
13860 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
13861 (rTMP): Define as r11.
13862 (strcmp): Add little-endian support. Optimise tail.
13863 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
13864 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13865 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13866 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13867 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13868 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13869 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13870
13871 2013-10-04 Alan Modra <amodra@gmail.com>
13872
13873 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
13874 little-endian support. Remove unnecessary "are we done" tests.
13875 Handle "s" wrapping around zero and extremely large "size".
13876 Correct main loop count. Handle single left-over word from main
13877 loop inline rather than by using small_loop. Correct comments.
13878 Delete "zero" tail, use "end_max" instead.
13879 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
13880
13881 2013-10-04 Alan Modra <amodra@gmail.com>
13882
13883 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
13884 support. Don't branch over align.
13885 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
13886 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
13887 support. Rearrange tmp reg use to suit. Comment.
13888 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
13889
13890 2013-10-04 Alan Modra <amodra@gmail.com>
13891
13892 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
13893
13894 2013-10-04 Alan Modra <amodra@gmail.com>
13895
13896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
13897 conditional form of branch and link when obtaining pc.
13898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13899
13900 2013-10-04 Alan Modra <amodra@gmail.com>
13901
13902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
13903 HIWORD/LOWORD.
13904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
13905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
13906
13907 2013-10-04 Alan Modra <amodra@gmail.com>
13908
13909 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
13910 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
13911 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13912 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
13913 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13914 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13915 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
13916 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13917 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
13918 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
13919
13920 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13921 Alistair Popple <alistair@ozlabs.au.ibm.com>
13922 Alan Modra <amodra@gmail.com>
13923
13924 [BZ #15723]
13925 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
13926 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
13927 _dl_hwcap access for little-endian.
13928 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
13929 destroy vmx regs when saving unaligned.
13930 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
13931 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
13932 destroy vmx regs when saving unaligned.
13933
13934 2013-10-04 Alan Modra <amodra@gmail.com>
13935
13936 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
13937 Don't use a union to pack hi/low value.
13938
13939 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13940
13941 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
13942 for little-endian.
13943 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13944 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
13945 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
13946 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13947 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13948
13949 2013-10-04 Alan Modra <amodra@gmail.com>
13950
13951 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
13952 constants to usual value for .cst8 section, and remove redundant
13953 high address load.
13954 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
13955 constant for 0x1p52. Load little-endian words of double from
13956 correct stack offsets.
13957
13958 2013-10-04 Alan Modra <amodra@gmail.com>
13959
13960 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
13961 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
13962 words of double from correct stack offsets.
13963 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13964 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
13965 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13966 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13967 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13968 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13969 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13970 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13971 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13972 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13973 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13974 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13975 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13976 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13977 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13978 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
13979 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13980
13981 2013-10-04 Alan Modra <amodra@gmail.com>
13982
13983 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
13984 64-bit int/double union.
13985 (_FPU_SETCW): Likewise.
13986 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
13987 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
13988
13989 2013-10-04 Alan Modra <amodra@gmail.com>
13990
13991 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
13992 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
13993
13994 2013-10-04 Alan Modra <amodra@gmail.com>
13995
13996 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
13997 use vector int constants.
13998 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
13999
14000 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14001
14002 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
14003 array with long long.
14004 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
14005 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
14006 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
14007 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
14008 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
14009 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
14010 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
14011 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
14012 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
14013 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
14014 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
14015 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
14016 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
14017
14018 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14019
14020 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
14021 (__signbit): Likewise. Correct for little-endian.
14022 (__signbitl): Call __signbit.
14023 (lrint): Correct for little-endian.
14024 (lrintf): Call lrint.
14025
14026 2013-10-04 Alan Modra <amodra@gmail.com>
14027
14028 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
14029 union 32-bit int array member with 64-bit int array.
14030 (t515, tm256): Double rather than long double.
14031 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
14032
14033 2013-10-04 Alan Modra <amodra@gmail.com>
14034
14035 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
14036 Delete.
14037 (IEEE854_LONG_DOUBLE_BIAS): Delete.
14038 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
14039 version of math_ldbl.h.
14040
14041 2013-10-04 Alan Modra <amodra@gmail.com>
14042
14043 [BZ #15734], [BZ #15735]
14044 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
14045 all uses of ieee875 long double macros and unions. Simplify test
14046 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
14047 ldbl_extract_mantissa value for ix,iy exponents. Properly
14048 normalize after ldbl_extract_mantissa, and don't add hidden bit
14049 already handled. Don't treat low word of ieee854 mantissa like
14050 low word of IBM long double and mask off bit when testing for
14051 zero.
14052 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
14053 all uses of ieee875 long double macros and unions. Simplify tests
14054 for 0.0L and inf. Correct double adjustment of k. Delete dead code
14055 adjusting ha,hb. Simplify code setting kld. Delete two600 and
14056 two1022, instead use their values. Recognise that tests for large
14057 "a" and small "b" are mutually exclusive. Rename vars. Comment.
14058 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
14059 Rewrite all uses of ieee875 long double macros and unions. Simplify
14060 test for 0.0L and nan. Correct negation.
14061 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
14062 ieee875 long double macros and unions. Correct output for large
14063 magnitude x. Correct absolute value calculation.
14064 (__erfcl): Likewise.
14065 * math/libm-test.inc: Add tests for errors discovered in IBM long
14066 double versions of fmodl, remainderl, erfl and erfcl.
14067
14068 2013-10-04 Alan Modra <amodra@gmail.com>
14069
14070 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
14071 all uses of ieee854 long double macros and unions. Simplify tests
14072 for long doubles that are fully specified by the high double.
14073 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14074 Likewise.
14075 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
14076 Remove dead code too.
14077 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14078 (__ieee754_ynl): Likewise.
14079 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
14080 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
14081 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14082 Remove dead code too.
14083 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14084 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
14085 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
14086 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
14087 Simplify.
14088 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
14089 Simplify.
14090 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
14091 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
14092 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
14093 Comment on variable precision.
14094 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
14095 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14096 Likewise.
14097 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14098 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14099 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14100 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14101 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
14102
14103 2013-10-04 Alan Modra <amodra@gmail.com>
14104
14105 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
14106 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
14107 all uses of ieee854 long double macros and unions.
14108 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14109 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14110 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
14111 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
14112 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
14113 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14114 Likewise.
14115 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
14116 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14117 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
14118 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14119 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14120 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14121 Simplify sign and nan test too.
14122 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
14123 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
14124 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
14125 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
14126 Likewise.
14127 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14128 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
14129 Likewise.
14130 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14131 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14132 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
14133 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
14134 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
14135 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
14136
14137 2013-10-04 Alan Modra <amodra@gmail.com>
14138
14139 * stdio-common/printf_size.c (__printf_size): Don't use
14140 union ieee854_long_double in fpnum union.
14141 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
14142 signbit macro to retrieve sign from long double.
14143 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
14144 retrieve sign from long double.
14145 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
14146 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
14147 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
14148 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14149 * math/test-misc.c (main): Don't use union ieee854_long_double.
14150
14151 2013-10-04 Alan Modra <amodra@gmail.com>
14152
14153 [BZ #15680]
14154 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
14155 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
14156 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
14157 calculation. Remove unnecessary test for denormal exponent.
14158 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
14159 Correct handling of denormals. Avoid undefined shift behaviour.
14160 Correct normalisation of low mantissa when low double is denormal.
14161 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
14162 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
14163 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
14164 Correct normalisation of low mantissa. Test for overflow of high
14165 mantissa and normalise.
14166 (ldbl_nearbyint): Use more readable constant for two52.
14167 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
14168 (__mpn_construct_long_double): Fix test for overflow of high
14169 mantissa and correct normalisation. Avoid undefined shift.
14170
14171 2013-10-04 Alan Modra <amodra@gmail.com>
14172
14173 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14174 (union ibm_extended_long_double): Define as an array of ieee754_double.
14175 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
14176 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
14177 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
14178 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14179 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14180 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
14181 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14182 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14183 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14184 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
14185 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14186
14187 2013-10-03 Joseph Myers <joseph@codesourcery.com>
14188
14189 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
14190 page size instead of calling getpagesize.
14191
14192 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
14193 (LOCFILE_ALIGN_MASK): Likewise.
14194 (LOCFILE_ALIGN_UP): Likewise.
14195 (LOCFILE_ALIGNED_P): Likewise.
14196 * locale/programs/ld-collate.c (collate_output): Use the new
14197 macros instead of __alignof__ (int32_t).
14198 * locale/weight.h (findidx): Likewise.
14199
14200 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
14201
14202 [BZ #431]
14203 * manual/string.texi: Fix strncat and wcsncat.
14204
14205 2013-10-03 Brooks Moses <bmoses@google.com>
14206
14207 [BZ #15915]
14208 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
14209 * Makerules: ...here, and adjust associated comments.
14210
14211 2013-10-02 Will Newton <will.newton@linaro.org>
14212
14213 * malloc/Makefile: Add tst-pvalloc.
14214 * malloc/tst-pvalloc.c: New file.
14215
14216 2013-10-02 Will Newton <will.newton@linaro.org>
14217
14218 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
14219 improve test coverage.
14220
14221 2013-10-02 Will Newton <will.newton@linaro.org>
14222
14223 * malloc/Makefile: Add tst-posix_memalign.
14224 * malloc/tst-posix_memalign.c: New file.
14225
14226 2013-10-01 Eric Blake <eblake@redhat.com>
14227
14228 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
14229 Use __THROWNL rather than __THROW on static functions.
14230
14231 2013-09-30 Petr Machata <pmachata@redhat.com>
14232
14233 * elf/elf.h (R_AARCH64_ABS16): New macro.
14234 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
14235 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
14236 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
14237 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
14238 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
14239 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
14240 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
14241 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
14242 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
14243 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
14244 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
14245 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
14246 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
14247 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
14248 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
14249 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
14250 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
14251 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
14252 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
14253 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
14254 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
14255 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
14256 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
14257 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
14258 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
14259 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
14260 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
14261 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
14262 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
14263 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
14264 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
14265 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
14266 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
14267 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
14268 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
14269 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
14270 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
14271 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
14272 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
14273 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
14274 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
14275 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
14276 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
14277 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
14278 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
14279 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
14280 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
14281 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
14282 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
14283 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
14284 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
14285 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
14286 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
14287 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
14288 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
14289 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
14290 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
14291 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
14292 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
14293 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
14294 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
14295 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
14296 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
14297 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
14298 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
14299 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
14300 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
14301 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
14302 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
14303 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
14304 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
14305 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
14306 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
14307 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
14308 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
14309 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
14310 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
14311 (R_AARCH64_TLSDESC_LDR): Likewise.
14312 (R_AARCH64_TLSDESC_ADD): Likewise.
14313 (R_AARCH64_TLSDESC_CALL): Likewise.
14314
14315 2013-09-30 Andreas Schwab <schwab@suse.de>
14316
14317 [BZ #15048]
14318 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
14319 the nss database lookup.
14320 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14321 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14322
14323 2013-09-28 Mike Frysinger <vapier@gentoo.org>
14324
14325 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
14326
14327 2013-09-28 P. J. McDermott <pj@pehjota.net>
14328
14329 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
14330 ${Bash-specific parameter/pattern/string} parameter expansion.
14331 * sysdeps/unix/make-syscalls.sh: Likewise.
14332
14333 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14334
14335 * sysdeps/sh/stackguard-macros.h: New file.
14336
14337 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
14338
14339 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14340 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
14341 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
14342 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
14343 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14344 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
14345
14346 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14347
14348 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
14349 Fix thread ID register.
14350
14351 2013-09-25 Joseph Myers <joseph@codesourcery.com>
14352
14353 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
14354 [POSIX || UNIX98]: Require rather than permitting all symbols from
14355 <time.h>.
14356 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
14357 element of struct sched_param.
14358 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
14359 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
14360 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
14361 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
14362 constant.
14363
14364 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
14365
14366 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
14367 argument calculation.
14368
14369 2013-09-24 Joseph Myers <joseph@codesourcery.com>
14370
14371 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
14372 Expect macro.
14373 [POSIX] (pthread_attr_t): Do not require type.
14374 [POSIX] (pthread_cond_t): Likewise.
14375 [POSIX] (pthread_condattr_t): Likewise.
14376 [POSIX] (pthread_key_t): Likewise.
14377 [POSIX] (pthread_mutex_t): Likewise.
14378 [POSIX] (pthread_mutexattr_t): Likewise.
14379 [POSIX] (pthread_once_t): Likewise.
14380 [POSIX] (pthread_t): Likewise.
14381 [POSIX-based standards] (pthread_atfork): Expect function.
14382
14383 2013-09-24 Joseph Myers <joseph@codesourcery.com>
14384 Richard Sandiford <richard@codesourcery.com>
14385
14386 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
14387 (swap_endianness_p): New extern variable.
14388 (set_big_endian): New inline function.
14389 (maybe_swap_uint32): Likewise.
14390 (maybe_swap_uint32_array): Likewise.
14391 (maybe_swap_uint32_obstack): Likewise.
14392 * locale/programs/locfile.c: Include <stdbool.h>.
14393 (swap_endianness_p): New variable.
14394 (add_locale_uint32): Call maybe_swap_uint32.
14395 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
14396 (write_locale_data): Call maybe_swap_uint32_array.
14397 * locale/programs/ld-collate.c (obstack_int32_grow): Call
14398 maybe_swap_uint32.
14399 (obstack_int32_grow_fast): Likewise.
14400 (output_weightwc): Call maybe_swap_uint32_obstack.
14401 (collate_output): Likewise.
14402 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
14403 (OPT_LITTLE_ENDIAN): Likewise.
14404 (options): Add --little-endian and --big-endian options.
14405 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
14406 * locale/programs/locarchive.c: Include "locfile.h".
14407 (GET): New macro.
14408 (SET): Likewise.
14409 (INC): Likewise.
14410 (create_archive): Use the new macros to access fields of
14411 structures directly mapped from or written to locale archives.
14412 (oldlocrecentcmp): Likewise.
14413 (enlarge_archive): Likewise.
14414 (insert_name): Likewise.
14415 (add_alias): Likewise.
14416 (add_locale): Likewise.
14417 (delete_locales_from_archive): Likewise.
14418 (show_archive_content): Likewise.
14419 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
14420 locale data.
14421
14422 2013-09-24 Roland McGrath <roland@hack.frob.com>
14423
14424 * manual/freemanuals.texi: Updated from (newly) canonical copy at
14425 http://www.gnu.org/doc/freemanuals.texi.
14426 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
14427
14428 2013-09-24 Will Newton <will.newton@linaro.org>
14429
14430 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
14431 macro.
14432
14433 2013-09-23 Joseph Myers <joseph@codesourcery.com>
14434
14435 * locale/hashval.h (compute_hashval): Interpret bytes of key as
14436 unsigned char.
14437
14438 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
14439
14440 * manual/threads.texi (POSIX Threads): Fix a typo.
14441
14442 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14443
14444 [BZ #14547]
14445 * string/tst-strcoll-overflow.c: New test case.
14446 * string/Makefile (xtests): Add tst-strcoll-overflow.
14447 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
14448 cache if string sizes may cause integer overflow.
14449
14450 [BZ #14547]
14451 * string/strcoll_l.c (coll_seq): New members rule, idx,
14452 save_idx and back_us.
14453 (get_next_seq_nocache): New function.
14454 (do_compare_nocache): New function.
14455 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
14456 when malloc fails.
14457
14458 2013-09-23 Carlos O'Donell <carlos@redhat.com>
14459
14460 [BZ #15754]
14461 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
14462 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
14463 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
14464
14465 [BZ #15754]
14466 * elf/Makefile (tests): Add tst-ptrguard1.
14467 (tests-static): Add tst-ptrguard1-static.
14468 (tst-ptrguard1-ARGS): Define.
14469 (tst-ptrguard1-static-ARGS): Define.
14470 * elf/tst-ptrguard1.c: New file.
14471 * elf/tst-ptrguard1-static.c: New file.
14472 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
14473 * sysdeps/i386/stackguard-macros.h: Likewise.
14474 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14475 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14476 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14477 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14478 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14479 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14480
14481 2013-09-23 Hector Marco <hecmargi@upv.es>
14482 Ismael Ripoll <iripoll@disca.upv.es>
14483 Carlos O'Donell <carlos@redhat.com>
14484
14485 [BZ #15754]
14486 * sysdeps/generic/stackguard-macros.h: Define
14487 __pointer_chk_guard_local and POINTER_CHK_GUARD.
14488 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
14489 Define __pointer_chk_guard_local.
14490 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
14491 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
14492
14493 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
14494
14495 [BZ #15859]
14496 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
14497
14498 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
14499
14500 * include/string.h (__ffs): Declare as hidden.
14501 * string/ffs.c (__ffs): Define as hidden.
14502 * sysdeps/i386/ffs.c (__ffs): Likewise.
14503 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
14504 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
14505 * sysdeps/s390/ffs.c (__ffs): Likewise.
14506 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
14507
14508 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
14509
14510 * NEWS: Mention malloc probes.
14511
14512 * malloc/arena.c (new_heap): New memory_heap_new probe.
14513 (grow_heap): New memory_heap_more probe.
14514 (shrink_heap): New memory_heap_less probe.
14515 (heap_trim): New memory_heap_free probe.
14516 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
14517 (systrim): New memory_sbrk_less probe.
14518 * manual/probes.texi: Document them.
14519
14520 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
14521 * manual/probes.texi: Document it.
14522
14523 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
14524 (__libc_realloc): Add memory_realloc_retry probe.
14525 (__libc_memalign): Add memory_memalign_retry probe.
14526 (__libc_valloc): Add memory_valloc_retry probe.
14527 (__libc_pvalloc): Add memory_pvalloc_retry probe.
14528 (__libc_calloc): Add memory_calloc_retry probe.
14529 * manual/probes.texi: Document them.
14530
14531 * malloc/arena.c (get_free_list): Add probe
14532 memory_arena_reuse_free_list.
14533 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
14534 and memory_arena_reuse.
14535 (arena_get2) [!PER_THREAD]: Likewise.
14536 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
14537 memory_arena_reuse_realloc.
14538 * manual/probes.texi: Document them.
14539
14540 * malloc/malloc.c (__libc_free): Add
14541 memory_mallopt_free_dyn_thresholds probe.
14542 (__libc_mallopt): Add multiple memory_mallopt probes.
14543 * manual/probes.texi: Document them.
14544
14545 * malloc/malloc.c: Include stap-probe.h.
14546 (__libc_mallopt): Add memory_mallopt probe.
14547 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
14548 * manual/probes.texi: New.
14549 * manual/Makefile (chapters): Add probes.
14550 * manual/threads.texi: Set next node.
14551
14552 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
14553
14554 [BZ #15963, #13985]
14555 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
14556 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
14557 Add `Chinese' to `nan' entry name.
14558
14559 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14560
14561 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
14562 (POLYNOMIAL): Likewise.
14563 (TAYLOR_SINCOS): Likewise.
14564 (TAYLOR_SLOW): Likewise.
14565 (__sin): Use TAYLOR_SINCOS.
14566 (__cos): Likewise.
14567 (slow): Use TAYLOR_SLOW.
14568 (sloww): Likewise.
14569 (bsloww): Likewise.
14570 (csloww): Likewise.
14571
14572 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14573
14574 * stdlib/strtod_l.c: Fix buffer overrun.
14575
14576 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14577
14578 * benchtests/Makefile (bench): Add sincos.
14579 * benchtests/bench-sincos.c: New file.
14580
14581 * math/libm-test.inc (cos_test_data): New test inputs.
14582 (sin_test_data): Likewise.
14583
14584 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
14585 macro.
14586 (__sin): Use it.
14587 (__cos): Likewise.
14588 (slow1): Likewise.
14589 (slow2): Likewise.
14590 (sloww1): Likewise.
14591 (sloww2): Likewise.
14592 (bsloww1): Likewise.
14593 (bsloww2): Likewise.
14594 (cslow2): Likewise.
14595 (csloww1): Likewise.
14596 (csloww2): Likewise.
14597
14598 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
14599 function.
14600 (__sin): Use it.
14601 (__cos): Likewise.
14602
14603 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
14604 gotos.
14605 (__cos): Likewise.
14606
14607 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
14608
14609 * config.h.in (HAVE_MIPS_NAN2008): New macro.
14610 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
14611 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
14612 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
14613 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
14614 * elf/cache.c (print_entry): Handle the new cache flags.
14615
14616 2013-09-18 Joseph Myers <joseph@codesourcery.com>
14617 Aldy Hernandez <aldyh@redhat.com>
14618
14619 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
14620 Change condition to [_SOFT_FLOAT].
14621 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
14622 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
14623 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
14624 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
14625 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
14626 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
14627 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
14628 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
14629 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
14630 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
14631 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
14632 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
14633 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
14634 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
14635 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
14636 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
14637 declaration.
14638
14639 2013-09-18 Joseph Myers <joseph@codesourcery.com>
14640
14641 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
14642 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14643 (__longjmp): Use LOAD_GP to load saved GPRs.
14644 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
14645 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14646 (__sigsetjmp): Use SAVE_GP to save GPRs.
14647
14648 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
14649 Do not append -msoft-float.
14650 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
14651
14652 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14653
14654 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
14655
14656 2013-09-17 Joseph Myers <joseph@codesourcery.com>
14657
14658 [BZ #15966]
14659 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
14660 (_FPU_GETCW): Use initial "__" on variable and field names but not
14661 on macro parameter name.
14662 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
14663 parentheses around reference to macro parameter.
14664
14665 2013-09-13 Richard Sandiford <richard@codesourcery.com>
14666
14667 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
14668 prototype.
14669 (ctype_startup): Use uint32_t in cast and sizeof for
14670 ctype->charnames.
14671
14672 2013-09-11 Jia Liu <proljc@gmail.com>
14673
14674 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
14675 __daddr_t_defined.
14676 [__FreeBSD__]: Likewise.
14677
14678 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
14679
14680 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14681 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
14682 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
14683 (strchr): Remove __strchr_sse42 ifunc selection.
14684 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
14685 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
14686
14687 2013-09-11 Will Newton <will.newton@linaro.org>
14688
14689 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
14690 parameter to RES. Remove hardcoded 1000 value.
14691 * benchtests/bench-skeleton.c (main): Pass RES parameter
14692 to TIMING_INIT and multiply result by 1000.
14693
14694 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14695
14696 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14697
14698 2013-09-11 Andreas Schwab <schwab@suse.de>
14699
14700 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
14701 if not defined.
14702 (O_TMPFILE) [__USE_GNU]: Define.
14703 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
14704 Define.
14705
14706 2013-09-11 Will Newton <will.newton@linaro.org>
14707
14708 [BZ #15857]
14709 * malloc/malloc.c (__libc_memalign): Check the value of bytes
14710 does not overflow.
14711
14712 2013-09-11 Will Newton <will.newton@linaro.org>
14713
14714 [BZ #15856]
14715 * malloc/malloc.c (__libc_valloc): Check the value of bytes
14716 does not overflow.
14717
14718 2013-09-11 Will Newton <will.newton@linaro.org>
14719
14720 [BZ #15855]
14721 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
14722 does not overflow.
14723
14724 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
14725
14726 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
14727 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14728 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14729 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14730 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14731
14732 2013-09-10 Allan McRae <allan@archlinux.org>
14733
14734 [BZ #15748]
14735 * manual/arith.texi (Parsing of Floats): Clarify
14736 cross-reference.
14737
14738 [BZ #15849]
14739 * manual/install.texi (Running make install): Mention
14740 --enable-pt-chown.
14741 * INSTALL: Regenerated.
14742
14743 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14744
14745 * csu/init-first.c (_init): Remove the !SHARED condition around
14746 FPU control word initialization.
14747 * elf/dl-support.c (_dl_fpu_control): New variable.
14748 (_dl_aux_init) <AT_FPUCW>: Initialize it.
14749 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
14750 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
14751 * math/test-fpucw-static.c: New file.
14752 * math/test-fpucw-ieee.c: New file.
14753 * math/test-fpucw-ieee-static.c: New file.
14754 * math/Makefile (tests): Add `test-fpucw-ieee' and
14755 `$(tests-static)'.
14756 (tests-static): New variable.
14757 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
14758 dependency to...
14759 [($(build-shared),yes)]
14760 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
14761 ... this.
14762 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
14763 New dependency.
14764
14765 2013-09-09 Allan McRae <allan@archlinux.org>
14766
14767 [BZ #15939]
14768 * manual/string.texi (Collation Functions): Fix typo in
14769 strcoll example.
14770 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
14771
14772 [BZ #15893]
14773 * stdlib/isomac.c (get_null_defines): Fix memory leak.
14774
14775 [BZ #15892]
14776 * libio/memstream.c (open_memstream): Fix memory leak.
14777 * libio/wmemstream.c (open_wmemstream): Likewise.
14778
14779 [BZ #15895]
14780 * nscd/netgroupcache.c: Fix nesting of ifdefs.
14781
14782 2013-09-09 Will Newton <will.newton@linaro.org>
14783
14784 * malloc/Makefile: Add tst-realloc to tests.
14785 * malloc/tst-realloc.c: New file.
14786
14787 2013-09-09 Allan McRae <allan@archlinux.org>
14788
14789 [BZ #15844]
14790 * COPYING: Update from GNU website to fix FSF address.
14791 * COPYING.LIB: Likewise.
14792
14793 2013-09-06 David S. Miller <davem@davemloft.net>
14794
14795 * po/zh_TW.po: Update Chinese (traditional) translation from
14796 translation project.
14797
14798 2013-09-06 Richard Sandiford <richard@codesourcery.com>
14799 Joseph Myers <joseph@codesourcery.com>
14800
14801 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
14802 "localeinfo.h".
14803 (obstack_chunk_alloc): New macro.
14804 (obstack_chunk_free): Likewise.
14805 (record_offset): New function.
14806 (init_locale_data): Likewise.
14807 (align_locale_data): Likewise.
14808 (add_locale_empty): Likewise.
14809 (add_locale_raw_data): Likewise.
14810 (add_locale_raw_obstack): Likewise.
14811 (add_locale_string): Likewise.
14812 (add_locale_wstring): Likewise.
14813 (add_locale_uint32): Likewise.
14814 (add_locale_uint32_array): Likewise.
14815 (add_locale_char): Likewise.
14816 (start_locale_structure): Likewise.
14817 (end_locale_structure): Likewise.
14818 (start_locale_prelude): Likewise.
14819 (end_locale_prelude): Likewise.
14820 (write_locale_data): Take locale_file structure rather than an
14821 iovec.
14822 * locale/programs/locfile.h: Include "obstack.h".
14823 (struct locale_file): Change to store locale file contents instead
14824 of header.
14825 (init_locale_data): New prototype.
14826 (align_locale_data): Likewise.
14827 (add_locale_empty): Likewise.
14828 (add_locale_raw_data): Likewise.
14829 (add_locale_raw_obstack): Likewise.
14830 (add_locale_string): Likewise.
14831 (add_locale_wstring): Likewise.
14832 (add_locale_uint32): Likewise.
14833 (add_locale_uint32_array): Likewise.
14834 (add_locale_char): Likewise.
14835 (start_locale_structure): Likewise.
14836 (end_locale_structure): Likewise.
14837 (start_locale_prelude): Likewise.
14838 (end_locale_prelude): Likewise.
14839 (write_locale_data): Update prototype.
14840 * locale/programs/3level.h (struct TABLE): Remove result field.
14841 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
14842 Use new locale_file interface.
14843 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
14844 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
14845 * locale/programs/ld-address.c (address_output): Use new
14846 locale_file interface.
14847 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
14848 NO_ADD_LOCALE.
14849 (collate_finish): Don't call collseq_table_finalize.
14850 (collate_output): Use new locale_file interface.
14851 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
14852 in file.
14853 (NO_FINALIZE): Change to NO_ADD_LOCALE.
14854 (TABLE): Move defines earlier in file.
14855 (ELEMENT): Likewise.
14856 (DEFAULT): Likewise.
14857 (wctrans_table_add): Move macro and inline function earlier in
14858 file.
14859 (struct wctype_table): Move type earlier in file.
14860 (add_locale_wctype_table): New static prototype.
14861 (struct locale_ctype_t): Use logical types instead of struct iovec
14862 pointers for members.
14863 (ctype_output): Use new locale_file interface.
14864 (wctype_table_finalize): Change to add_locale_wctype_table. Use
14865 new locale_file interface.
14866 (allocate_arrays): Update for use of new locale_file interface.
14867 * locale/programs/ld-identification.c (identification_output): Use
14868 new locale_file interface.
14869 * locale/programs/ld-measurement.c (measurement_output): Likewise.
14870 * locale/programs/ld-messages.c (messages_output): Likewise.
14871 * locale/programs/ld-monetary.c (monetary_output): Likewise.
14872 * locale/programs/ld-name.c (name_output): Likewise.
14873 * locale/programs/ld-numeric.c (numeric_output): Likewise.
14874 * locale/programs/ld-paper.c (paper_output): Likewise.
14875 * locale/programs/ld-telephone.c (telephone_output): Likewise.
14876 * locale/programs/ld-time.c (time_output): Likewise.
14877
14878 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14879
14880 * benchtests/Makefile: Add memrchr benchmark.
14881 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
14882 benchmark as memrchr.
14883 * benchtests/bench-memrchr-ifunc.c: New file.
14884 * benchtests/bench-memrchr.c: New file.
14885
14886 2013-09-06 Will Newton <will.newton@linaro.org>
14887
14888 * benchtests/Makefile (string-bench): Add memcpy.
14889
14890 2013-09-05 Carlos O'Donell <carlos@redhat.com>
14891 Cong Wang <amwang@redhat.com>
14892
14893 [BZ #15850]
14894 * sysdeps/unix/sysv/linux/bits/in.h
14895 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
14896 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
14897 before __USE_KERNEL_IPV6_DEFS uses.
14898 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
14899 IPPROTO_BEETPH.
14900 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
14901 sockaddr_in6, or ipv6_mreq.
14902
14903 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14904
14905 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
14906 memory access for final bytes in some large inputs.
14907 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
14908
14909 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14910
14911 * string/test-memrchr.c: New file.
14912 * string/test-memrchr-ifunc.c: New file.
14913 * string/Makefile: Add new memrchr testcase.
14914
14915 2013-09-05 Mike Frysinger <vapier@gentoo.org>
14916
14917 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
14918 fanotify_init returns EPERM.
14919
14920 2013-09-04 Joseph Myers <joseph@codesourcery.com>
14921
14922 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
14923 errors.
14924 (top level): Treat second token from macro or constant entries for
14925 allowed headers as allowed.
14926 * include/complex.h: Condition internal declarations on
14927 [!_ISOMAC].
14928 * include/fenv.h: Condition include of <stdbool.h> and internal
14929 declarations on [!_ISOMAC].
14930
14931 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
14932
14933 [BZ #15923]
14934 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
14935
14936 2013-09-04 Joseph Myers <joseph@codesourcery.com>
14937
14938 * configure.in (--enable-versioning): Remove configure option.
14939 (libc_cv_asm_symver_directive): Remove configure test.
14940 (libc_cv_ld_version_script_option): Likewise.
14941 (VERSIONING): Remove variable and AC_SUBST.
14942 (DO_VERSIONING): Remove AC_DEFINE.
14943 * configure: Regenerated.
14944 * config.h.in (DO_VERSIONING): Remove macro.
14945 * Makerules [$(versioning) = yes]: Change conditionals to
14946 [$(build-shared) = yes].
14947 * config.make.in (versioning): Remove variable.
14948 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
14949 [$(build-shared) = yes].
14950 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
14951 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
14952 * elf/Makefile [$(versioning) = yes]: Change conditionals to
14953 [$(build-shared) = yes].
14954 * extra-lib.mk [$(versioning) = yes]: Likewise.
14955 * hurd/Makefile [$(versioning) = yes]: Likewise.
14956 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
14957 [SHARED].
14958 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
14959 [SHARED].
14960 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14961 [SHARED && !NO_HIDDEN].
14962 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
14963 [SHARED].
14964 [SHARED && DO_VERSIONING]: Likewise..
14965 * libio/Makefile [$(versioning) = yes]: Change conditionals to
14966 [$(build-shared) = yes].
14967 * manual/install.texi (--disable-versioning): Remove
14968 documentation.
14969 * INSTALL: Regenerated.
14970 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
14971 to [SHARED].
14972 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
14973 [$(build-shared) = yes].
14974 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
14975 * sysdeps/i386/i686/multiarch/strstr-c.c
14976 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14977 [SHARED && !NO_HIDDEN].
14978 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
14979 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
14980 * sysdeps/powerpc/powerpc32/dl-machine.c
14981 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
14982 * sysdeps/powerpc/powerpc32/sysdep.h
14983 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
14984 to [SHARED && PIC && !NO_HIDDEN].
14985 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
14986 conditional to [SHARED].
14987
14988 2013-09-04 Will Newton <will.newton@linaro.org>
14989
14990 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
14991 * benchtests/bench-string.h: Include bench-timing.h instead
14992 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
14993 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
14994 call to HP_TIMING_DIFF_INIT.
14995 * benchtests/bench-memccpy.c: Use bench-timing.h macros
14996 instead of hp-timing.h macros.
14997 * benchtests/bench-memchr.c: Likewise.
14998 * benchtests/bench-memcmp.c: Likewise.
14999 * benchtests/bench-memcpy.c: Likewise.
15000 * benchtests/bench-memmem.c: Likewise.
15001 * benchtests/bench-memmove.c: Likewise.
15002 * benchtests/bench-memset.c: Likewise.
15003 * benchtests/bench-rawmemchr.c: Likewise.
15004 * benchtests/bench-strcasecmp.c: Likewise.
15005 * benchtests/bench-strcasestr.c: Likewise.
15006 * benchtests/bench-strcat.c: Likewise.
15007 * benchtests/bench-strchr.c: Likewise.
15008 * benchtests/bench-strcmp.c: Likewise.
15009 * benchtests/bench-strcpy.c: Likewise.
15010 * benchtests/bench-strcpy_chk.c: Likewise.
15011 * benchtests/bench-strlen.c: Likewise.
15012 * benchtests/bench-strncasecmp.c: Likewise.
15013 * benchtests/bench-strncat.c: Likewise.
15014 * benchtests/bench-strncmp.c: Likewise.
15015 * benchtests/bench-strncpy.c: Likewise.
15016 * benchtests/bench-strnlen.c: Likewise.
15017 * benchtests/bench-strpbrk.c: Likewise.
15018 * benchtests/bench-strrchr.c: Likewise.
15019 * benchtests/bench-strspn.c: Likewise.
15020 * benchtests/bench-strstr.c: Likewise.
15021
15022 2013-09-04 Will Newton <will.newton@linaro.org>
15023
15024 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
15025
15026 2013-09-03 Joseph Myers <joseph@codesourcery.com>
15027
15028 [BZ #15427]
15029 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
15030 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
15031 * math/libm-test.inc (lgamma_test_data): Add more tests.
15032 * sysdeps/i386/fpu/libm-test-ulps: Update.
15033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15034
15035 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
15036
15037 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
15038 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15039 Add ifunc.
15040 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15041 Add strcmp-sse2-unaligned
15042 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
15043
15044 2013-09-02 Mike Frysinger <vapier@gentoo.org>
15045
15046 * Versions.def (libc): Add GLIBC_2.19.
15047
15048 2013-09-02 Mike Frysinger <vapier@gentoo.org>
15049
15050 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
15051 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
15052
15053 2013-09-02 Joseph Myers <joseph@codesourcery.com>
15054
15055 [BZ #14155]
15056 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
15057 intermediate calculations in recurrence.
15058 (__ieee754_ynf): Likewise.
15059 * math/libm-test.inc (jn_test_data): Do not allow spurious
15060 underflow exception. Add more tests.
15061 (yn_test_data): Add more tests.
15062 * sysdeps/i386/fpu/libm-test-ulps: Update.
15063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15064
15065 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
15066
15067 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
15068
15069 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15070
15071 * csu/init-first.c: Fix then/than typos.
15072 * locale/programs/ld-collate.c: Likewise.
15073 * locale/programs/linereader.h: Likewise.
15074 * manual/charset.texi: Likewise.
15075 * manual/filesys.texi: Likewise.
15076 * manual/stdio.texi: Likewise.
15077 * manual/string.texi: Likewise.
15078 * stdlib/fmtmsg.c: Likewise.
15079 * sysdeps/i386/stpncpy.S: Likewise.
15080 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15081 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15082 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15083 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15084
15085 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15086
15087 * elf/dl-open.c: Fix typos.
15088 * iconvdata/gbbig5.c: Likewise.
15089 * iconvdata/iso-2022-jp.c: Likewise.
15090 * iconv/gconv_int.h: Likewise.
15091 * iconv/loop.c: Likewise.
15092 * nis/rpcsvc/nis.h: Likewise.
15093 * resolv/ns_name.c: Likewise.
15094 * stdio-common/vfscanf.c: Likewise.
15095 * streams/stropts.h: Likewise.
15096 * sunrpc/rpc_thread.c: Likewise.
15097 * sysdeps/i386/strpbrk.S: Likewise.
15098 * sysdeps/ieee754/k_standard.c: Likewise.
15099 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15100 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15101 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
15102 * sysdeps/mach/hurd/profil.c: Likewise.
15103 * sysdeps/s390/dl-procinfo.h: Likewise.
15104 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
15105 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15106 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
15107 * sysdeps/x86_64/dl-trampoline.S: Likewise.
15108 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
15109
15110 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15111
15112 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
15113 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
15114
15115 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
15116
15117 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
15118 aix specific files.
15119 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
15120 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
15121 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
15122 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
15123 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
15124 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
15125 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
15126 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
15127
15128 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
15129 Roland McGrath <roland@hack.frob.com>
15130
15131 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
15132 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15133
15134 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
15135
15136 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
15137 __executable_start symbol instead of _start.
15138
15139 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
15140
15141 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
15142 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
15143 Move macros to...
15144 * sysdeps/gnu/ldsodefs.h: ... this new file.
15145
15146 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
15147 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
15148 instead of ELFOSABI_LINUX.
15149
15150 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
15151 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
15152 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
15153 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
15154 Likewise.
15155 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
15156 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
15157 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
15158 Likewise.
15159 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15160 (ibm_extended_long_double): Add ieee_nan member.
15161 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
15162 (do_test): New function.
15163
15164 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
15165 TEST_TRUNC.
15166 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
15167 functions, renamed from truncdfsf_test, trunctfsf_test,
15168 trunctfdf_test.
15169 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
15170 functions.
15171 (do_test): Run all these.
15172
15173 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
15174
15175 * argp/argp-help.c: Fix typos.
15176 * argp/argp-parse.c: Likewise.
15177 * debug/backtracesyms.c: Likewise.
15178 * elf/elf.h: Likewise.
15179 * malloc/malloc.c: Likewise.
15180 * nis/nis_print.c: Likewise.
15181 * resolv/res_comp.c: Likewise.
15182 * stdlib/stdlib.h: Likewise.
15183 * sunrpc/clnt_tcp.c: Likewise.
15184 * sunrpc/clnt_udp.c: Likewise.
15185 * sunrpc/clnt_unix.c: Likewise.
15186 * sysdeps/unix/bsd/ptsname.c: Likewise.
15187 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15188 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
15189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
15190 Likewise.
15191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
15192 Likewise.
15193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
15194 Likewise.
15195 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15196
15197 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15198
15199 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
15200 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15201
15202 2013-08-27 Mike Frysinger <vapier@gentoo.org>
15203
15204 [BZ #15897]
15205 * dlfcn/Makefile (tests): Add bug-dl-leaf.
15206 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
15207 ($(objpfx)bug-dl-leaf): New rule.
15208 ($(objpfx)bug-dl-leaf.so): Likewise.
15209 ($(objpfx)bug-dl-leaf.out): Likewise.
15210 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
15211 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
15212 * dlfcn/bug-dl-leaf.c: New test.
15213 * dlfcn/bug-dl-leaf-lib.c: Likewise.
15214 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
15215 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
15216 (dlclose): Likewise.
15217 (dlmopen): Likewise.
15218
15219 2013-08-27 Roland McGrath <roland@hack.frob.com>
15220
15221 * include/netdb.h [!_ISOMAC]:
15222 Don't include <tls.h>.
15223 (h_errno, __libc_h_errno): Move declaration and macros out of
15224 [_LIBC_REENTRANT].
15225
15226 * include/resolv.h [_RESOLV_H_]:
15227 Don't include <tls.h>.
15228 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
15229 * resolv/res_libc.c: Don't include <tls.h>.
15230 (_res): Use __attribute__ ((nocommon)) in place of
15231 __attribute__ ((section (".bss"))).
15232
15233 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
15234 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
15235
15236 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
15237
15238 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
15239 only under [SIOCGIFCONF && SIOCGIFNETMASK].
15240
15241 * resolv/res_mkquery.c: Include <sys/time.h>.
15242
15243 * inet/ifreq.c: Moved to ...
15244 * sysdeps/unix/ifreq.c: ... here.
15245 * inet/ifreq.c: New file, true stub version.
15246
15247 * socket/sa_len.c: New file.
15248 * socket/Makefile (aux): Add it.
15249 * sysdeps/unix/sysv/linux/Makefile
15250 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
15251 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
15252 and #include <socket/sa_len.c>.
15253 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
15254 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
15255
15256 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
15257 * bits/socket.h: ... here.
15258
15259 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
15260 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
15261 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
15262
15263 2013-08-27 Andreas Schwab <schwab@suse.de>
15264
15265 [BZ #15736]
15266 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
15267 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
15268 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
15269 * string/test-strcasecmp.c (test_main): Run tests in several
15270 locales.
15271 * string/test-strncasecmp.c (test_main): Likewise.
15272
15273 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
15274 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
15275 to __strcasecmp_nonascii and __strncasecmp_nonascii.
15276 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
15277 (__strncasecmp_ssse3) [PIC]: Likewise.
15278
15279 2013-08-26 Roland McGrath <roland@hack.frob.com>
15280
15281 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
15282
15283 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
15284 instead of explicitly declaring xdecrypt.
15285 * nis/nss_nis/nis-publickey.c: Likewise.
15286
15287 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15288
15289 [BZ #15890]
15290 * nscd/aicache.c: Include res_hconf.h.
15291 (addhstaiX): Initialize res_hconf.
15292
15293 2013-08-26 Andreas Schwab <schwab@suse.de>
15294
15295 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
15296 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
15297
15298 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15299
15300 * nscd/aicache.c (addhstaiX): Fix indentation.
15301
15302 2013-08-25 Mike Frysinger <vapier@gentoo.org>
15303
15304 * configure.ac: Quote $build_pt_chown test.
15305 * configure: Regenerated.
15306
15307 2013-08-23 Joseph Myers <joseph@codesourcery.com>
15308
15309 [BZ #15532]
15310 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
15311 * math/s_cexpf.c (__cexpf): Likewise.
15312 * math/s_cexpl.c (__cexpl): Likewise.
15313 * math/libm-test.inc (cexp_test_data): Correct expected return
15314 value for NaN + i0. Add another test.
15315
15316 2013-08-22 David S. Miller <davem@davemloft.net>
15317
15318 * po/ca.po: Update Catalan translation from translation project.
15319 * po/uk.po: Add Ukrainian translations from translation project.
15320
15321 2013-08-21 Joseph Myers <joseph@codesourcery.com>
15322
15323 [BZ #15797]
15324 * math/s_fdim.c (__fdim): Check for infinite arguments if result
15325 is infinite, not alongside NaN test.
15326 * math/s_fdimf.c (__fdimf): Likewise.
15327 * math/s_fdiml.c (__fdiml): Likewise.
15328 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
15329 errno is unchanged.
15330
15331 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
15332
15333 * argp/argp-help.c: Fix typos.
15334 * crypt/speeds.c: Likewise.
15335 * csu/check_fds.c: Likewise.
15336 * elf/dl-load.c: Likewise.
15337 * elf/dl-open.c: Likewise.
15338 * elf/reldep3.c: Likewise.
15339 * elf/reldep.c: Likewise.
15340 * elf/sprof.c: Likewise.
15341 * iconv/iconv_charmap.c: Likewise.
15342 * iconv/skeleton.c: Likewise.
15343 * iconv/strtab.c: Likewise.
15344 * io/lockf64.c: Likewise.
15345 * libio/libioP.h: Likewise.
15346 * resolv/gai_notify.c: Likewise.
15347 * resolv/ns_name.c: Likewise.
15348 * resolv/ns_samedomain.c: Likewise.
15349 * resolv/res_send.c: Likewise.
15350 * stdlib/random.c: Likewise.
15351 * sunrpc/rpc/xdr.h: Likewise.
15352 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
15353 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15354 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15355 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15356 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15357 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15358 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15359 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15360 * sysdeps/mach/hurd/check_fds.c: Likewise.
15361 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15362 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15363 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15364 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15365 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15366 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15367 * sysdeps/pthread/aio_notify.c: Likewise.
15368 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
15369 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
15370 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
15371 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15372 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15373
15374 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15375
15376 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
15377 version if bit_Slow_SSE4_2 is set.
15378 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15379 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15380
15381 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15382
15383 [BZ #15867]
15384 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
15385 trampoline stack frame information.
15386 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
15387 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
15388 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
15389 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
15390 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
15391 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15392 (_libc_vdso_platform_setup): Initialize the signal trampolines.
15393 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
15394 sa_flags value.
15395 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
15396 interrupting a syscall and set with option SA_SIGINFO.
15397
15398 2013-08-20 Joseph Myers <joseph@codesourcery.com>
15399
15400 [BZ #15531]
15401 * math/s_cproj.c (__cproj): Only return an infinity if one part of
15402 argument is infinite.
15403 * math/s_cprojf.c (__cprojf): Likewise.
15404 * math/s_cprojl.c (__cprojl): Likewise.
15405 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
15406 * math/libm-test.inc (cproj_test_data): Add more tests.
15407
15408 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
15409
15410 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
15411 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
15412 size. Use __ffs to determine corresponding shift.
15413
15414 2013-08-20 Joseph Myers <joseph@codesourcery.com>
15415 Roland McGrath <roland@hack.frob.com>
15416
15417 * Makefile (INSTALL): Remove trailing blank lines from output of
15418 makeinfo.
15419
15420 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15421
15422 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
15423 Align 32 bit compat elf_greg to 8 bytes.
15424
15425 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
15426
15427 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
15428
15429 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15430
15431 * string/strcoll_l.c (coll_seq): New structure.
15432 (get_next_seq_cached): New function.
15433 (get_next_seq): New function.
15434 (do_compare): New function.
15435 (STRCOLL): Use GNU style definition. Simplify implementation
15436 by using get_next_seq, get_next_seq_cached and do_compare.
15437
15438 2013-08-16 Florian Weimer <fweimer@redhat.com>
15439
15440 [BZ #14699]
15441 CVE-2013-4237
15442 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
15443 member.
15444 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
15445 member.
15446 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
15447 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
15448 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
15449 conditional.
15450 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
15451 GETDENTS_64BIT_ALIGNED.
15452 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15453 * manual/filesys.texi (Reading/Closing Directory): Document
15454 ENAMETOOLONG return value of readdir_r. Recommend readdir more
15455 strongly.
15456 * manual/conf.texi (Limits for Files): Add portability note to
15457 NAME_MAX, PATH_MAX.
15458 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
15459
15460 2013-08-13 Andreas Schwab <schwab@suse.de>
15461
15462 [BZ #15749]
15463 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
15464 of fabs.
15465 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
15466 LDBL_MAX_EXP >= 16384]: Add tests for it.
15467
15468 2013-08-12 David S. Miller <davem@davemloft.net>
15469
15470 * version.h (RELEASE): Set to "development".
15471 (VERSION): Set to "2.18.90".
15472 * NEWS: Add 2.19 section.
15473
15474 2013-08-03 David S. Miller <davem@davemloft.net>
15475
15476 * po/ko.po: Update Korean translation from translation project.
15477
15478 2013-08-01 David S. Miller <davem@davemloft.net>
15479
15480 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
15481 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
15482 Bilka.
15483
15484 2013-07-30 David S. Miller <davem@davemloft.net>
15485
15486 * po/fr.po: Update French translation from translation project.
15487
15488 2013-07-28 David S. Miller <davem@davemloft.net>
15489
15490 * po/cs.po: Update Czech translation from translation project.
15491
15492 * po/sv.po: Update Swedish translation from translation project.
15493
15494 2013-07-27 David S. Miller <davem@davemloft.net>
15495
15496 * po/eo.po: Update Esperanto translation from translation project.
15497
15498 * po/vi.po: Update Vietnamese translation from translation project.
15499
15500 * po/de.po: Update German translation from translation project.
15501
15502 2013-07-26 David S. Miller <davem@davemloft.net>
15503
15504 * po/bg.po: Update Bulgarian translation from translation project.
15505
15506 * po/nl.po: Update Dutch translation from translation project.
15507 * po/pl.po: Update Polish translation from translation project.
15508 * po/ru.po: Update Russian translation from translation project.
15509
15510 2013-07-24 David S. Miller <davem@davemloft.net>
15511
15512 * po/libc.pot: Update.
15513
15514 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15515
15516 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
15517 variable page size.
15518 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
15519 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
15520 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
15521
15522 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15523
15524 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
15525
15526 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15527 Andreas Schwab <schwab@suse.de>
15528 Roland McGrath <roland@hack.frob.com>
15529 Joseph Myers <joseph@codesourcery.com>
15530 Carlos O'Donell <carlos@redhat.com>
15531
15532 [BZ #15755]
15533 * config.h.in: Define HAVE_PT_CHOWN.
15534 * config.make.in (build-pt-chown): New variable.
15535 * configure.in (--enable-pt_chown): New configure option.
15536 * configure: Regenerate.
15537 * login/Makefile: Include Makeconfig. Build pt_chown only if
15538 build-pt-chown is enabled.
15539 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
15540 pt_chown to fix pty ownership.
15541 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
15542 CLOSE_ALL_FDS.
15543 * manual/install.texi (Configuring and compiling): Mention
15544 --enable-pt_chown. Add @findex for grantpt.
15545 * INSTALL: Regenerate.
15546
15547 2013-07-20 David S. Miller <davem@davemloft.net>
15548
15549 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
15550 difference between 32-bit and 64-bit.
15551
15552 2013-07-15 Carlos O'Donell <carlos@redhat.com>
15553
15554 [BZ #15711]
15555 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
15556 Avoid system header dependency with -ffreestanding.
15557 ($(objpfx)bits/syscall%d): Likewise.
15558
15559 2013-07-13 David S. Miller <davem@davemloft.net>
15560
15561 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
15562 underflows from atanl/atan2l due to bug 15319.
15563 (casinh_test_data): Likewise.
15564
15565 2013-07-07 David S. Miller <davem@davemloft.net>
15566
15567 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
15568
15569 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
15570
15571 * sysdeps/i386/fpu/libm-test-ulps: Update.
15572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15573
15574 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15575
15576 * configure.in (--enable-lock-elision): Fix message text.
15577 * INSTALL: Regenerate.
15578 * configure: Regenerate.
15579
15580 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15581
15582 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15583
15584 2013-07-03 Andreas Jaeger <aj@suse.de>
15585
15586 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
15587 define.
15588 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
15589 (ptrace_peeksiginfo_args): Add.
15590 (__ptrace_peeksiginfo_flags): Add.
15591 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15592 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15593 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15594
15595 2013-07-03 Allan McRae <allan@archlinux.org>
15596
15597 * sysdeps/i386/fpu/libm-test-ulps: Update.
15598
15599 2013-07-02 David S. Miller <davem@davemloft.net>
15600
15601 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15602
15603 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
15604
15605 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15606
15607 2013-07-02 Joseph Myers <joseph@codesourcery.com>
15608
15609 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15611
15612 2013-07-02 Andi Kleen <ak@linux.intel.com>
15613
15614 * config.h.in (ENABLE_LOCK_ELISION): Add.
15615 * configure.in (--enable-lock-elision): Add option.
15616 * manual/install.texi: Document --enable lock elision.
15617 * configure: Regenerate
15618 * INSTALL: Regenerate.
15619
15620 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
15621
15622 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
15623 SSE4.2 strcasecmp for libc.a.
15624 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
15625
15626 2013-07-02 Joseph Myers <joseph@codesourcery.com>
15627
15628 [BZ #13304]
15629 * soft-fp/op-common.h (_FP_FMA): New macro.
15630 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
15631 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
15632 (_FP_MUL_MEAT_1_imm): ... here.
15633 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
15634 (_FP_MUL_MEAT_1_wide): ... here.
15635 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
15636 (_FP_MUL_MEAT_1_hard): ... here.
15637 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
15638 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
15639 (_FP_MUL_MEAT_2_wide): ... here.
15640 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
15641 (_FP_MUL_MEAT_2_wide_3mul): ... here.
15642 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
15643 (_FP_MUL_MEAT_2_gmp): ... here.
15644 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
15645 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
15646 (_FP_MUL_MEAT_4_wide): ... here.
15647 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
15648 (_FP_MUL_MEAT_4_gmp): ... here.
15649 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
15650 (_FP_WFRACBITS_DW_S): Likewise.
15651 (_FP_WFRACXBITS_DW_S): Likewise.
15652 (_FP_HIGHBIT_DW_S): Likewise.
15653 (FP_FMA_S): Likewise.
15654 (_FP_FRAC_HIGH_DW_S): Likewise.
15655 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
15656 (_FP_WFRACBITS_DW_D): Likewise.
15657 (_FP_WFRACXBITS_DW_D): Likewise.
15658 (_FP_HIGHBIT_DW_D): Likewise.
15659 (FP_FMA_D): Likewise.
15660 (_FP_FRAC_HIGH_DW_D): Likewise.
15661 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
15662 (_FP_WFRACBITS_DW_E): Likewise.
15663 (_FP_WFRACXBITS_DW_E): Likewise.
15664 (_FP_HIGHBIT_DW_E): Likewise.
15665 (FP_FMA_E): Likewise.
15666 (_FP_FRAC_HIGH_DW_E): Likewise.
15667 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
15668 (_FP_WFRACBITS_DW_Q): Likewise.
15669 (_FP_WFRACXBITS_DW_Q): Likewise.
15670 (_FP_HIGHBIT_DW_Q): Likewise.
15671 (FP_FMA_Q): Likewise.
15672 (_FP_FRAC_HIGH_DW_Q): Likewise.
15673 * soft-fp/fmasf4.c: New file.
15674 * soft-fp/fmadf4.c: Likewise.
15675 * soft-fp/fmatf4.c: Likewise.
15676
15677 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15678
15679 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15680 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
15681 Silvermont.
15682 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
15683 macro.
15684 (index_Slow_SSE4_2): Likewise.
15685 (index_Prefer_PMINUB_for_stringop): Likewise.
15686 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
15687 bit_Slow_SSE4_2 is set.
15688 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15689 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15690
15691 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15692
15693 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
15694 rtld_global._dl_hwcap2.
15695 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
15696 POWER8.
15697 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
15698 POWER8 feature descriptions defined in _dl_hwcap2.
15699 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
15700 string handling for POWER8 feature bits.
15701 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
15702 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
15703 _dl_powerpc_cap_flags.
15704 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
15705 * sysdeps/powerpc/rtld-global-offsets.sym
15706 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
15707 _dl_hwcap2 in the rtld_global_ro structure.
15708
15709 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15710
15711 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
15712 hardware capabilities in support of AT_HWCAP2.
15713 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
15714 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
15715 GLRO(dl_hwcap2).
15716 (_dl_show_auxv): Add support for calling _dl_procinfo to display
15717 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
15718 explicitly the unknown a_type display mechanism is used.
15719 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
15720 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
15721 struct member.
15722 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
15723 to macro prototype for AT_HWCAP2 support.
15724 * sysdeps/i386/dl-procinfo.h: Likewise.
15725 * sysdeps/s390/dl-procinfo.h: Likewise.
15726 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
15727 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
15728 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
15729 return -1 for unknown a_type display fallback.
15730 * sysdeps/sparc/dl-procinfo.h: Likewise.
15731 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
15732 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
15733
15734 2013-06-28 Joseph Myers <joseph@codesourcery.com>
15735
15736 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
15737 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
15738
15739 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
15740
15741 [BZ #12492]
15742 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
15743 mprotect making __stack_prot writable.
15744
15745 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
15746 Joseph Myers <joseph@codesourcery.com>
15747
15748 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
15749 as being properly aligned.
15750
15751 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
15752
15753 * dlfcn/modstatic5.c: New file.
15754 * dlfcn/tststatic5.c: New file.
15755 * dlfcn/Makefile (tests): Add tststatic5.
15756 (tests-static): Likewise.
15757 (modules-names): Add modstatic5.
15758 (tststatic5-ENV): New variable.
15759 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
15760
15761 [BZ #15022]
15762 * elf/dl-support.c (_dl_main_map): New variable.
15763 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
15764 (_dl_nns, _dl_load_adds): Set to 1.
15765 (_dl_initial_searchlist): Refer to _dl_main_map.
15766 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
15767 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
15768 call to _dl_get_origin.
15769 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
15770 around call_map.
15771 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
15772 * dlfcn/modstatic3.c: New file.
15773 * dlfcn/tststatic3.c: New file.
15774 * dlfcn/tststatic4.c: New file.
15775 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
15776 (tests-static): Likewise.
15777 (modules-names): Add modstatic3.
15778 (tststatic3-ENV, tststatic4-ENV): New variables.
15779 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
15780 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
15781
15782 2013-06-26 Joseph Myers <joseph@codesourcery.com>
15783
15784 * configure.in (CC): Require GCC version 4.4 or later.
15785 * configure: Regenerated.
15786 * manual/install.texi (Tools for Compilation): Update GCC version
15787 requirement.
15788 * INSTALL: Regenerated.
15789
15790 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15791
15792 [BZ #15674]
15793 * string/test-memcmp.c (check2): New.
15794 (main): Call check2.
15795
15796 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
15797
15798 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
15799
15800 [BZ #15022]
15801 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
15802 over to...
15803 (dl_open_worker) [!SHARED]: ... here.
15804
15805 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15806
15807 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
15808
15809 2013-06-25 Richard Henderson <rth@redhat.com>
15810
15811 * locale/programs/locarchive.c: Include <libc-internal.h>
15812
15813 2013-06-25 Joseph Myers <joseph@codesourcery.com>
15814
15815 * manual/texinfo.tex: Update to version 2013-06-21.17, with
15816 trailing whitespace removed.
15817
15818 2013-06-24 Mike Frysinger <vapier@gentoo.org>
15819
15820 [BZ #10283]
15821 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
15822 * locale/programs/locarchive.c: Include libc-mmap.h.
15823 (prepare_address_space): Take two new outputs (the mmap base and len).
15824 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
15825 values.
15826 (create_archive): Declare new mmap base and len values for
15827 prepare_address_space, and store the result in ah.
15828 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
15829 (enlarge_archive): If ah->mmap_base is not NULL, use that and
15830 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15831 Declare new mmap base and len values for
15832 prepare_address_space, and store the result in new_ah.
15833 (open_archive): Declare new mmap base and len values for
15834 prepare_address_space, and store the result in ah.
15835 (close_archive): If ah->mmap_base is not NULL, use that and
15836 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15837 * sysdeps/generic/libc-mmap.h: New file.
15838
15839 2013-06-24 Mike Frysinger <vapier@gentoo.org>
15840
15841 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
15842 (ALIGN_UP): Likewise.
15843 (PTR_ALIGN_DOWN): Likewise.
15844 (PTR_ALIGN_UP): Likewise.
15845
15846 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15847
15848 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
15849 entry mapped to PPC_PLATFORM_POWER8.
15850 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
15851 POWER8.
15852 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
15853 (_dl_string_platform): Add case for exporting platform position for
15854 POWER8.
15855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
15856 search path to sysdeps/powerpc/powerpc32/power8 directory.
15857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
15858 search path to sysdeps/powerpc/powerpc64/power8 directory.
15859 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
15860 power7 directories.
15861 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
15862 power7 directories.
15863
15864 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15865
15866 * INSTALL: Regenerate.
15867
15868 * nscd/connections.c (nscd_init): Fix comment.
15869
15870 2013-06-22 Joseph Myers <joseph@codesourcery.com>
15871
15872 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
15873
15874 [BZ #15667]
15875 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
15876 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
15877
15878 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15879
15880 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
15881 DL_DST_REQ_STATIC.
15882 (DL_DST_REQ_STATIC): Remove macro.
15883
15884 2013-06-21 Joseph Myers <joseph@codesourcery.com>
15885
15886 [BZ #7006]
15887 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
15888 with a shift of 0 bits.
15889
15890 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15891
15892 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
15893 $(tststatic-ENV).
15894
15895 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15896
15897 [BZ #15655]
15898 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
15899
15900 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15901
15902 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
15903 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
15904 accepts -fno-tree-loop-distribute-patterns.
15905 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
15906 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
15907 recursive call.
15908 * string/memset.c (memset): Likewise.
15909 * string/test-memmove.c (simple_memmove): Disable loop transformation
15910 to library calls.
15911 * string/test-memset.c (simple_memset): Likewise.
15912 * benchtests/bench-memmove.c (simple_memmove): Likewise.
15913 * benchtests/bench-memset.c (simple_memset): Likewise.
15914 * configure: Regenerated.
15915
15916 2013-06-20 Joseph Myers <joseph@codesourcery.com>
15917
15918 * math/test-misc.c (main): Ignore fesetround failure when failures
15919 of subsequent rounding tests would be ignored.
15920
15921 [BZ #15654]
15922 * math/fedisblxcpt.c (fedisableexcept): Return 0.
15923 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
15924 * math/fegetenv.c (__fegetenv): Return 0.
15925 * math/fegetexcept.c (fegetexcept): Return 0.
15926 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
15927 FE_TONEAREST.
15928 * math/feholdexcpt.c (feholdexcept): Return 0.
15929 * math/fesetenv.c (__fesetenv): Return 0.
15930 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
15931 argument FE_TONEAREST.
15932 * math/feupdateenv.c (__feupdateenv): Return 0.
15933 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
15934
15935 2013-06-18 Roland McGrath <roland@hack.frob.com>
15936
15937 * elf/rtld-Rules (rtld-compile-command.S): New variable.
15938 (rtld-compile-command.s, rtld-compile-command.c): New variables.
15939 ($(objpfx)rtld-%.os rules): Use them.
15940
15941 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15942
15943 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
15944 fields.
15945
15946 2013-06-17 Roland McGrath <roland@hack.frob.com>
15947
15948 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
15949 length of target pattern, then descending length of dependency pattern.
15950 * configure.in (AWK): Require gawk 3.1.2 or newer.
15951 * manual/install.texi (Tools for Compilation): Say that we do.
15952 * configure: Regenerated.
15953
15954 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
15955 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
15956 * scripts/sysd-rules.awk: ... this new script.
15957 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
15958 than a glob-style pattern.
15959
15960 2013-06-17 Joseph Myers <joseph@codesourcery.com>
15961
15962 * math/test-misc.c (main): Do not treat incorrectly rounded
15963 conversions as failure unless ROUNDING_TESTS passes.
15964
15965 2013-06-15 Joseph Myers <joseph@codesourcery.com>
15966
15967 [BZ #15631]
15968 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
15969 restore exception state around main square root computation, then
15970 check for inexactness explicitly.
15971
15972 * math/libm-test.inc (fma_test_data): Add another test.
15973
15974 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15975
15976 * manual/threads.texi (Non-POSIX Extensions): New document
15977 node. Document pthread_getattr_default_np and
15978 pthread_setattr_default_np.
15979
15980 * Versions.def (libpthread): Add GLIBC_2.18.
15981 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
15982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15983 Likewise.
15984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15985 Likewise.
15986 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15987 Likewise.
15988 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15989 Likewise.
15990 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
15991 Likewise.
15992 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15993 Likewise.
15994 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15995 Likewise.
15996 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15997 Likewise.
15998 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15999 Likewise.
16000
16001 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16002
16003 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16004 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
16005
16006 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16007 H.J. Lu <hjl.tools@gmail.com>
16008
16009 [BZ #15627]
16010 * sysdeps/x86_64/rtld-memset.c: Remove file.
16011 * sysdeps/x86_64/rtld-memset.S: New file.
16012
16013 2013-06-14 Joseph Myers <joseph@codesourcery.com>
16014
16015 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
16016 (test_in_one_mode): Take arguments for whether the rounding mode
16017 is supported for each floating-point type.
16018 (do_test): Pass new arguments to test_in_one_mode using
16019 ROUNDING_TESTS.
16020
16021 2013-06-13 Roland McGrath <roland@hack.frob.com>
16022
16023 * posix/tst-waitid.c (do_test): Distinguish different instances of
16024 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
16025 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
16026 before entering the kernel for waitpid.
16027
16028 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16029
16030 * NEWS: Fix note on clock function precision. Text by Roland
16031 McGrath.
16032
16033 2013-06-13 Roland McGrath <roland@hack.frob.com>
16034
16035 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
16036 it into place only when and if the sanity check passes.
16037
16038 2013-06-13 Joseph Myers <joseph@codesourcery.com>
16039
16040 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
16041 output for whether conversion result is exact. Take argument
16042 indicating whether type is IBM long double.
16043 (round_for_all): Change need_exact field to ibm_ld.
16044 * stdlib/tst-strtod-round.c (struct exactness): New type.
16045 (struct test): Change bool ld_ok field to struct exactness exact.
16046 (TEST): Update all definitions for change to field.
16047 (tests): Regenerate array contents.
16048 (test_in_one_mode): Take pointer to new field instead of old ld_ok
16049 field value. Check for IBM long double here.
16050 (do_test): Update calls to test_in_one_mode.
16051
16052 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16053
16054 [BZ #12515]
16055 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
16056 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
16057
16058 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16059
16060 [BZ #15605]
16061 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
16062 generated by the compiler on loop optimizations.
16063 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
16064 general definitions.
16065
16066 2013-06-12 Joseph Myers <joseph@codesourcery.com>
16067
16068 * math/bug-nextafter.c: Include <math-tests.h>.
16069 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16070 the relevant type.
16071 * math/bug-nexttoward.c: Include <math-tests.h>.
16072 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16073 the relevant type.
16074 * math/test-misc.c: Include <math-tests.h>.
16075 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16076 the relevant type.
16077
16078 2013-06-12 Andreas Jaeger <aj@suse.de>
16079
16080 * po/ia.po: Update Interlingua translation from translation
16081 project.
16082
16083 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16084
16085 * include/fenv.h: Include stdbool.h.
16086 (struct rm_ctx): New structure.
16087 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
16088 Define macro.
16089 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
16090 (SET_RESTORE_ROUNDF): Likewise.
16091 (SET_RESTORE_ROUNDL): Likewise.
16092 (SET_RESTORE_ROUND_NOEX): Likewise.
16093 (SET_RESTORE_ROUND_NOEXF): Likewise.
16094 (SET_RESTORE_ROUND_NOEXL): Likewise.
16095 (SET_RESTORE_ROUND_53BIT): Likewise.
16096 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
16097 (libc_feresetround_noexf_ctx): Likewise.
16098 (libc_feresetround_noexl_ctx): Likewise.
16099 (libc_feholdsetround_53bit_ctx): Likewise.
16100 (libc_feresetround_53bit_ctx): Likewise.
16101 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
16102 (libc_feholdexcept_setround_sse_ctx): New function.
16103 (libc_fesetenv_sse_ctx): Likewise.
16104 (libc_feupdateenv_sse_ctx): Likewise.
16105 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
16106 (libc_feholdexcept_setround_387_ctx): Likewise.
16107 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
16108 (libc_feholdsetround_387_prec_ctx): Likewise.
16109 (libc_feholdsetround_387_ctx): Likewise.
16110 (libc_feholdsetround_387_53bit_ctx): Likewise.
16111 (libc_feholdsetround_sse_ctx): Likewise.
16112 (libc_feresetround_sse_ctx): Likewise.
16113 (libc_feresetround_387_ctx): Likewise.
16114 (libc_feupdateenv_387_ctx): Likewise.
16115 (libc_feholdexcept_setroundf_ctx): Define macro.
16116 (libc_fesetenvf_ctx): Likewise.
16117 (libc_feupdateenvf_ctx): Likewise.
16118 (libc_feholdsetroundf_ctx): Likewise.
16119 (libc_feresetroundf_ctx): Likewise.
16120 (libc_feholdexcept_setround_ctx): Likewise.
16121 (libc_fesetenv_ctx): Likewise.
16122 (libc_feupdateenv_ctx): Likewise.
16123 (libc_feholdsetround_ctx): Likewise.
16124 (libc_feresetround_ctx): Likewise.
16125 (libc_feholdexcept_setroundl_ctx): Likewise.
16126 (libc_feupdateenvl_ctx): Likewise.
16127 (libc_feholdsetroundl_ctx): Likewise.
16128 (libc_feresetroundl_ctx): Likewise.
16129 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
16130 (libc_feresetround_53bit_ctx): Likewise.
16131
16132 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16133
16134 * locale/iso-639.def: Convert to UTF-8.
16135
16136 2013-06-11 Joseph Myers <joseph@codesourcery.com>
16137
16138 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
16139 (EXCEPTION_TESTS_double): Likewise.
16140 (EXCEPTION_TESTS_long_double): Likewise.
16141 (EXCEPTION_TESTS): Likewise.
16142 * math/libm-test.inc (test_exceptions): Only test exceptions if
16143 EXCEPTION_TESTS (FLOAT).
16144
16145 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16146
16147 * benchtests/Makefile (string-bench): Add strcpy_chk and
16148 stpcpy_chk.
16149 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
16150 * benchtests/bench-stpcpy_chk.c: New file.
16151 * benchtests/bench-strcpy_chk-ifunc.c: New file.
16152 * benchtests/bench-strcpy_chk.c: New file.
16153 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
16154 code.
16155 (do_test): Likewise.
16156
16157 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16158
16159 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
16160 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
16161 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
16162 with tabs where appropriate.
16163 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
16164 dl-procinfo.h.
16165 [PPC_PLATFORM_PPC440]: Likewise.
16166 [PPC_PLATFORM_PPC464]: Likewise.
16167 [PPC_PLATFORM_PPC476]: Likewise.
16168 (_dl_string_platform): Add support for detecting ppc405, ppc440,
16169 ppc464, and ppc476 platform strings merging from ports/
16170 dl-procinfo.h.
16171
16172 2013-06-11 Andreas Schwab <schwab@suse.de>
16173
16174 [BZ #14991]
16175 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
16176 (from_ucs4_idx): Regenerate.
16177 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
16178 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
16179 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
16180 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
16181 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
16182 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
16183 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
16184 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
16185 from FROM_LOOP and TO_LOOP specific macros.
16186 (BODY): Handle combining characters.
16187 * iconvdata/BIG5HKSCS.irreversible: Update.
16188 * iconvdata/BIG5HKSCS.precomposed: New file.
16189 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
16190 characters.
16191 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
16192
16193 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16194
16195 * include/sys/time.h: Fix indentation and add copyright header.
16196
16197 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
16198 (do_test): Likewise.
16199 * string/test-memchr.c (do_one_test): Likewise.
16200 (do_test): Likewise.
16201 * string/test-memcmp.c (do_one_test): Likewise.
16202 (do_test): Likewise.
16203 * string/test-memcpy.c (do_one_test): Likewise.
16204 (do_test): Likewise.
16205 * string/test-memmem.c (do_one_test): Likewise.
16206 (do_test): Likewise.
16207 (do_random_tests): Likewise.
16208 * string/test-memmove.c (do_one_test): Likewise.
16209 (do_test): Likewise.
16210 * string/test-memset.c (do_one_test): Likewise.
16211 (do_test): Likewise.
16212 * string/test-rawmemchr.c (do_one_test): Likewise.
16213 (do_test): Likewise.
16214 * string/test-strcasecmp.c (do_one_test): Likewise.
16215 (do_test): Likewise.
16216 * string/test-strcasestr.c (do_one_test): Likewise.
16217 (do_test): Likewise.
16218 * string/test-strcat.c (do_one_test): Likewise.
16219 (do_test): Likewise.
16220 * string/test-strchr.c (do_one_test): Likewise.
16221 (do_test): Likewise.
16222 * string/test-strcmp.c (do_one_test): Likewise.
16223 (do_test): Likewise.
16224 * string/test-strcpy.c (do_one_test): Likewise.
16225 (do_test): Likewise.
16226 * string/test-string.h: Likewise.
16227 (test_init): Likewise.
16228 * string/test-strlen.c (do_one_test): Likewise.
16229 (do_test): Likewise.
16230 * string/test-strncasecmp.c (do_one_test): Likewise.
16231 (do_test): Likewise.
16232 * string/test-strncat.c (do_one_test): Likewise.
16233 (do_test): Likewise.
16234 * string/test-strncmp.c (do_one_test): Likewise.
16235 (do_test_limit): Likewise.
16236 (do_test): Likewise.
16237 * string/test-strncpy.c (do_one_test): Likewise.
16238 (do_test): Likewise.
16239 * string/test-strnlen.c (do_one_test): Likewise.
16240 (do_test): Likewise.
16241 * string/test-strpbrk.c (do_one_test): Likewise.
16242 (do_test): Likewise.
16243 * string/test-strrchr.c (do_one_test): Likewise.
16244 (do_test): Likewise.
16245 * string/test-strspn.c (do_one_test): Likewise.
16246 (do_test): Likewise.
16247 * string/test-strstr.c (do_one_test): Likewise.
16248 (do_test): Likewise.
16249
16250 * benchtests/Makefile (string-bench): Add string benchmarks.
16251 * benchtests/bench-bcopy-ifunc.c: New file.
16252 * benchtests/bench-bcopy.c: New file.
16253 * benchtests/bench-bzero-ifunc.c: New file.
16254 * benchtests/bench-bzero.c: New file.
16255 * benchtests/bench-memccpy-ifunc.c: New file.
16256 * benchtests/bench-memccpy.c: New file.
16257 * benchtests/bench-memchr-ifunc.c: New file.
16258 * benchtests/bench-memchr.c: New file.
16259 * benchtests/bench-memcmp-ifunc.c: New file.
16260 * benchtests/bench-memcmp.c: New file.
16261 * benchtests/bench-memmem-ifunc.c: New file.
16262 * benchtests/bench-memmem.c: New file.
16263 * benchtests/bench-memmove-ifunc.c: New file.
16264 * benchtests/bench-memmove.c: New file.
16265 * benchtests/bench-mempcpy-ifunc.c: New file.
16266 * benchtests/bench-mempcpy.c: New file.
16267 * benchtests/bench-memset-ifunc.c: New file.
16268 * benchtests/bench-memset.c: New file.
16269 * benchtests/bench-rawmemchr-ifunc.c: New file.
16270 * benchtests/bench-rawmemchr.c: New file.
16271 * benchtests/bench-stpcpy-ifunc.c: New file.
16272 * benchtests/bench-stpcpy.c: New file.
16273 * benchtests/bench-stpncpy-ifunc.c: New file.
16274 * benchtests/bench-stpncpy.c: New file.
16275 * benchtests/bench-strcasecmp-ifunc.c: New file.
16276 * benchtests/bench-strcasecmp.c: New file.
16277 * benchtests/bench-strcasestr-ifunc.c: New file.
16278 * benchtests/bench-strcasestr.c: New file.
16279 * benchtests/bench-strcat-ifunc.c: New file.
16280 * benchtests/bench-strcat.c: New file.
16281 * benchtests/bench-strchr-ifunc.c: New file.
16282 * benchtests/bench-strchr.c: New file.
16283 * benchtests/bench-strchrnul-ifunc.c: New file.
16284 * benchtests/bench-strchrnul.c: New file.
16285 * benchtests/bench-strcmp-ifunc.c: New file.
16286 * benchtests/bench-strcmp.c: New file.
16287 * benchtests/bench-strcpy-ifunc.c: New file.
16288 * benchtests/bench-strcpy.c: New file.
16289 * benchtests/bench-strcspn-ifunc.c: New file.
16290 * benchtests/bench-strcspn.c: New file.
16291 * benchtests/bench-strlen-ifunc.c: New file.
16292 * benchtests/bench-strlen.c: New file.
16293 * benchtests/bench-strncasecmp-ifunc.c: New file.
16294 * benchtests/bench-strncasecmp.c: New file.
16295 * benchtests/bench-strncat-ifunc.c: New file.
16296 * benchtests/bench-strncat.c: New file.
16297 * benchtests/bench-strncmp-ifunc.c: New file.
16298 * benchtests/bench-strncmp.c: New file.
16299 * benchtests/bench-strncpy-ifunc.c: New file.
16300 * benchtests/bench-strncpy.c: New file.
16301 * benchtests/bench-strnlen-ifunc.c: New file.
16302 * benchtests/bench-strnlen.c: New file.
16303 * benchtests/bench-strpbrk-ifunc.c: New file.
16304 * benchtests/bench-strpbrk.c: New file.
16305 * benchtests/bench-strrchr-ifunc.c: New file.
16306 * benchtests/bench-strrchr.c: New file.
16307 * benchtests/bench-strspn-ifunc.c: New file.
16308 * benchtests/bench-strspn.c: New file.
16309 * benchtests/bench-strstr-ifunc.c: New file.
16310 * benchtests/bench-strstr.c: New file.
16311
16312 * benchtests/Makefile: Disable parallel execution of targets.
16313 (string-bench): Add memcpy.
16314 (benchset): New variable to store a list of benchmark sets.
16315 (bench-func): Renamed from bench.
16316 (bench-set): New target.
16317 (bench): Depend on bench-func and bench-set.
16318 * benchtests/README: Add section on benchmark sets.
16319 * benchtests/bench-memcpy-ifunc.c: New file.
16320 * benchtests/bench-memcpy.c: New file.
16321 * benchtests/bench-string.h: New file.
16322
16323 2013-06-11 Andreas Schwab <schwab@suse.de>
16324
16325 [BZ #15577]
16326 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
16327 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
16328 values in the triple.
16329 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
16330 terminator in the group key.
16331
16332 2013-06-11 Andreas Jaeger <aj@suse.de>
16333
16334 * po/zh_TW.po: Update Chinese (traditional) translation from
16335 translation project.
16336
16337 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16338
16339 * include/time.h (__clock_gettime): Add libc_hidden_proto.
16340 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
16341 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
16342 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16343 (clock_getcpuclockid): Likewise.
16344 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
16345 Add weak_alias and libc_hidden_def.
16346 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
16347 * rt/clock_gettime.c (clock_gettime): Rename to
16348 __clock_gettime. Add weak_alias and libc_hidden_def.
16349 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
16350 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
16351 __clock_nanosleep. Add weak_alias and libc_hidden_def.
16352 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
16353 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
16354 Likewise.
16355 * rt/clock_settime.c (clock_settime): Rename to
16356 __clock_settime. Add weak_alias and libc_hidden_def.
16357 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
16358
16359 2013-06-10 Joseph Myers <joseph@codesourcery.com>
16360
16361 * mach/err_boot.sub: Remove trailing whitespace.
16362 * mach/err_ipc.sub: Likewise.
16363 * mach/err_mach.sub: Likewise.
16364
16365 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
16366 (ROUNDING_TESTS_double): Likewise.
16367 (ROUNDING_TESTS_long_double): Likewise.
16368 (ROUNDING_TESTS): Likewise.
16369 * math/libm-test.inc: Include <math-tests.h>.
16370 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
16371 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16372 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16373 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16374
16375 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16376
16377 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
16378 of assigning.
16379
16380 2013-06-08 Joseph Myers <joseph@codesourcery.com>
16381
16382 * sysdeps/gnu/errlist.awk: Do not generate space at end of
16383 otherwise empty TRANS lines.
16384 * sysdeps/gnu/errlist.c: Regenerated.
16385
16386 * catgets/gencat.c (error_print): Use (void) in function
16387 definition.
16388 * crypt/crypt_util.c (__init_des): Likewise.
16389 * crypt/speeds.c (Stop): Likewise.
16390 (main): Likewise.
16391 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
16392 * inet/ruserpass.c (token): Likewise.
16393 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
16394 * intl/localealias.c (extend_alias_table): Likewise.
16395 * intl/plural-exp.c (init_germanic_plural): Likewise.
16396 * libio/fcloseall.c (__fcloseall): Likewise.
16397 * libio/genops.c (_IO_flush_all): Likewise.
16398 (_IO_flush_all_linebuffered): Likewise.
16399 (_IO_cleanup): Likewise.
16400 (_IO_iter_begin): Likewise.
16401 (_IO_iter_end): Likewise.
16402 (_IO_list_lock): Likewise.
16403 (_IO_list_unlock): Likewise.
16404 (_IO_list_resetlock): Likewise.
16405 * libio/getchar.c (getchar): Likewise.
16406 * libio/getchar_u.c (getchar_unlocked): Likewise.
16407 * libio/getwchar.c (getwchar): Likewise.
16408 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
16409 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
16410 * login/getpt.c (__getpt): Likewise.
16411 * login/tst-utmp.c (main): Likewise.
16412 * malloc/hooks.c (__malloc_check_init): Likewise.
16413 * malloc/malloc.c (__malloc_stats): Likewise.
16414 * malloc/mtrace.c (tr_break): Likewise.
16415 (mtrace): Likewise.
16416 (muntrace): Likewise.
16417 * misc/fstab.c (endfsent): Likewise.
16418 * misc/getclktck.c (__getclktck): Likewise.
16419 * misc/getdtsz.c (__getdtablesize): Likewise.
16420 * misc/gethostid.c (gethostid): Likewise.
16421 * misc/getpagesize.c (__getpagesize): Likewise.
16422 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
16423 (__get_nprocs): Likewise.
16424 (__get_phys_pages): Likewise.
16425 (__get_avphys_pages): Likewise.
16426 * misc/getttyent.c (getttyent): Likewise.
16427 (setttyent): Likewise.
16428 (endttyent): Likewise.
16429 * misc/getusershell.c (getusershell): Likewise.
16430 (endusershell): Likewise.
16431 (setusershell): Likewise.
16432 (initshells): Likewise.
16433 * misc/hsearch.c (__hdestroy): Likewise.
16434 * misc/sync.c (sync): Likewise.
16435 * misc/syslog.c (closelog_internal): Likewise.
16436 (closelog): Likewise.
16437 * misc/ttyslot.c (ttyslot): Likewise.
16438 * misc/vhangup.c (vhangup): Likewise.
16439 * posix/fork.c (__fork): Likewise.
16440 * posix/getegid.c (__getegid): Likewise.
16441 * posix/geteuid.c (__geteuid): Likewise.
16442 * posix/getgid.c (__getgid): Likewise.
16443 * posix/getpid.c (__getpid): Likewise.
16444 * posix/getppid.c (__getppid): Likewise.
16445 * posix/getuid.c (__getuid): Likewise.
16446 * posix/pause.c (pause): Likewise.
16447 * posix/setpgrp.c (setpgrp): Likewise.
16448 * posix/setsid.c (__setsid): Likewise.
16449 * posix/test-vfork.c (noop): Likewise.
16450 * resolv/gethnamaddr.c (_endhtent): Likewise.
16451 (_gethtent): Likewise.
16452 (ht_endhostent): Likewise.
16453 (gethostent): Likewise.
16454 (dns_service): Likewise.
16455 * stdlib/drand48.c (drand48): Likewise.
16456 * stdlib/lrand48.c (lrand48): Likewise.
16457 * stdlib/mrand48.c (mrand48): Likewise.
16458 * stdlib/rand.c (rand): Likewise.
16459 * stdlib/random.c (__random): Likewise.
16460 * stdlib/setenv.c (clearenv): Likewise.
16461 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
16462 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
16463 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
16464 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
16465 (__get_nprocs): Likewise.
16466 (__get_phys_pages): Likewise.
16467 (__get_avphys_pages): Likewise.
16468 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
16469 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
16470 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
16471 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
16472 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
16473 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
16474 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
16475 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
16476 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
16477 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
16478 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
16479 * sysdeps/mach/hurd/sync.c (sync): Likewise.
16480 * sysdeps/posix/clock.c (clock): Likewise.
16481 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
16482 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
16483 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
16484 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
16485 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
16486 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
16487 (__get_nprocs_conf): Likewise.
16488 (__get_phys_pages): Likewise.
16489 (__get_avphys_pages): Likewise.
16490 * time/clock.c (clock): Likewise.
16491 * time/tzset.c (__tzname_max): Likewise.
16492
16493 2013-06-07 Joseph Myers <joseph@codesourcery.com>
16494
16495 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
16496 (__bswap_32): Do not use "register".
16497 * crypt/crypt.c (_ufc_doit_r): Likewise.
16498 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16499 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16500 * gmon/gmon.c (__monstartup): Likewise.
16501 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
16502 * hurd/hurdmalloc.c (more_memory): Likewise.
16503 (malloc): Likewise.
16504 (free): Likewise.
16505 (realloc): Likewise.
16506 (malloc_fork_prepare): Likewise.
16507 (malloc_fork_parent): Likewise.
16508 (malloc_fork_child): Likewise.
16509 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
16510 (_svcauth_des): Likewise.
16511 * inet/inet_lnaof.c (inet_lnaof): Likewise.
16512 * inet/inet_net.c (inet_network): Likewise.
16513 * inet/inet_netof.c (inet_netof): Likewise.
16514 * inet/rcmd.c (__validuser2_sa): Likewise.
16515 * io/fts.c (fts_open): Likewise.
16516 (fts_load): Likewise.
16517 (fts_close): Likewise.
16518 (fts_read): Likewise.
16519 (fts_children): Likewise.
16520 (fts_build): Likewise.
16521 (fts_stat): Likewise.
16522 (fts_sort): Likewise.
16523 (fts_alloc): Likewise.
16524 (fts_lfree): Likewise.
16525 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
16526 (_IO_file_xsgetn): Likewise.
16527 (_IO_file_xsgetn_mmap): Likewise.
16528 * libio/iofopncook.c (_IO_cookie_read): Likewise.
16529 (_IO_cookie_write): Likewise.
16530 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
16531 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
16532 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
16533 * malloc/obstack.c (_obstack_begin): Likewise.
16534 (_obstack_begin_1): Likewise.
16535 (_obstack_newchunk): Likewise.
16536 (_obstack_allocated_p): Likewise.
16537 (obstack_free): Likewise.
16538 (_obstack_memory_used): Likewise.
16539 * misc/getttyent.c (getttynam): Likewise.
16540 (getttyent): Likewise.
16541 (skip): Likewise.
16542 (value): Likewise.
16543 * misc/getusershell.c (initshells): Likewise.
16544 * misc/syslog.c (__vsyslog_chk): Likewise.
16545 * misc/ttyslot.c (ttyslot): Likewise.
16546 * nis/nis_hash.c (__nis_hash): Likewise.
16547 * posix/fnmatch_loop.c (FCT): Likewise.
16548 * posix/getconf.c (print_all): Likewise.
16549 (main): Likewise.
16550 * posix/getopt.c (exchange): Likewise.
16551 * posix/glob.c (globfree): Likewise.
16552 (prefix_array): Likewise.
16553 (__glob_pattern_type): Likewise.
16554 * resolv/arpa/nameser.h (NS_GET16): Likewise.
16555 (NS_GET32): Likewise.
16556 (NS_PUT16): Likewise.
16557 (NS_PUT32): Likewise.
16558 * resolv/gethnamaddr.c (getanswer): Likewise.
16559 (gethostbyname2): Likewise.
16560 (gethostbyaddr): Likewise.
16561 (_gethtent): Likewise.
16562 (_gethtbyname2): Likewise.
16563 (_gethtbyaddr): Likewise.
16564 * resolv/ns_print.c (dst_s_get_int16): Likewise.
16565 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
16566 * resolv/res_init.c (__res_vinit): Likewise.
16567 (net_mask): Likewise.
16568 * resolv/res_mkquery.c (outchar): Likewise.
16569 (PRINT): Likewise.
16570 * stdio-common/printf_fp.c (outchar): Likewise.
16571 (PRINT): Likewise.
16572 * stdio-common/printf_fphex.c (outchar): Likewise.
16573 (PRINT): Likewise.
16574 * stdio-common/printf_size.c (outchar): Likewise.
16575 (PRINT): Likewise.
16576 * stdio-common/test_rdwr.c (main): Likewise.
16577 * stdio-common/tfformat.c (matches): Likewise.
16578 * stdio-common/vfprintf.c (outchar): Likewise.
16579 (printf_unknown): Likewise.
16580 (buffered_vfprintf): Likewise.
16581 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16582 * stdio-common/xbug.c (AppendToBuffer): Likewise.
16583 (ReadFile): Likewise.
16584 * stdlib/qsort.c (SWAP): Likewise.
16585 (_quicksort): Likewise.
16586 * stdlib/setenv.c (__add_to_environ): Likewise.
16587 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16588 * stdlib/strtol_l.c (__strtol_l): Likewise.
16589 * stdlib/tst-strtod.c (main): Likewise.
16590 * stdlib/tst-strtol.c (main): Likewise.
16591 * stdlib/tst-strtoll.c (main): Likewise.
16592 * string/bits/string2.h (__strcmp_cc): Likewise.
16593 (__strcmp_cg): Likewise.
16594 (__strcspn_c1): Likewise.
16595 (__strcspn_c2): Likewise.
16596 (__strcspn_c3): Likewise.
16597 (__strspn_c1): Likewise.
16598 (__strspn_c2): Likewise.
16599 (__strspn_c3): Likewise.
16600 (__strsep_1c): Likewise.
16601 (__strsep_2c): Likewise.
16602 (__strsep_3c): Likewise.
16603 * string/memccpy.c (__memccpy): Likewise.
16604 * string/stpcpy.c (__stpcpy): Likewise.
16605 * string/strcmp.c (strcmp): Likewise.
16606 * string/strrchr.c (strrchr): Likewise.
16607 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
16608 Likewise.
16609 * sysdeps/mach/hurd/getcwd.c
16610 (_hurd_canonicalize_directory_name_internal): Likewise.
16611 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
16612 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
16613 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
16614 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
16615 Likewise, in both definitions.
16616 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
16617 definitions.
16618 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
16619 64] (__bswap_64): Likewise.
16620 * time/test_time.c (main): Likewise.
16621 * time/tzfile.c (__tzfile_read): Likewise.
16622 (__tzfile_compute): Likewise.
16623 * time/tzset.c (__tzset_parse_tz): Likewise.
16624 (tzset_internal): Likewise.
16625 (compute_change): Likewise.
16626 * wcsmbs/wcscat.c (__wcscat): Likewise.
16627 * wcsmbs/wcschr.c (wcschr): Likewise.
16628 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
16629 * wcsmbs/wcscspn.c (wcscspn): Likewise.
16630 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
16631 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
16632 * wcsmbs/wcsspn.c (wcsspn): Likewise.
16633 * wcsmbs/wcsstr.c (wcsstr): Likewise.
16634 * wcsmbs/wmemchr.c (wmemchr): Likewise.
16635 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16636 * wcsmbs/wmemset.c (wmemset): Likewise.
16637
16638 2013-06-06 Joseph Myers <joseph@codesourcery.com>
16639
16640 * scripts/config.guess: Update to version 2013-05-16.
16641 * scripts/config.sub: Update to version 2013-04-24.
16642 * scripts/install-sh: Update to version 2011-11-20.07.
16643 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
16644 * scripts/move-if-change: Update to version 2012-01-06 07:23.
16645
16646 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
16647
16648 * debug/fgetws_u_chk.c: Fix leading whitespaces.
16649 * elf/sln.c: Likewise.
16650 * hurd/hurd/ioctl.h: Likewise.
16651 * hurd/hurdmalloc.c: Likewise.
16652 * hurd/xattr.c: Likewise.
16653 * include/shlib-compat.h: Likewise.
16654 * inet/ruserpass.c: Likewise.
16655 * libio/iofgets_u.c: Likewise.
16656 * libio/iofgetws_u.c: Likewise.
16657 * locale/programs/ld-identification.c: Likewise.
16658 * locale/programs/ld-time.c: Likewise.
16659 * mach/msg-destroy.c: Likewise.
16660 * nss/nss_files/files-netgrp.c: Likewise.
16661 * resolv/res_data.c: Likewise.
16662 * soft-fp/op-1.h: Likewise.
16663 * soft-fp/op-2.h: Likewise.
16664 * soft-fp/op-4.h: Likewise.
16665 * soft-fp/op-common.h: Likewise.
16666 * stdio-common/printf_fphex.c: Likewise.
16667 * stdlib/strtod_l.c: Likewise.
16668 * sunrpc/rpc/clnt.h: Likewise.
16669 * sysdeps/generic/framestate.c: Likewise.
16670 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16671 * sysdeps/i386/bsd-setjmp.S: Likewise.
16672 * sysdeps/i386/__longjmp.S: Likewise.
16673 * sysdeps/i386/setjmp.S: Likewise.
16674 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16675 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16676 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16677 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16678 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16679 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16680 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16681 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16682 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16683 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16684 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16685 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16686 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16687 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16688 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16689 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16690 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16691 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
16692 * sysdeps/ieee754/support.c: Likewise.
16693 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16694 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
16695 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
16696 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
16697 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
16698 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
16699 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
16700 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
16701 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
16702 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
16703 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
16704 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
16705 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
16706 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
16707 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
16708 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
16709 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16711
16712 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
16713
16714 * posix/transbug.c: Remove executable mode.
16715
16716 2013-06-05 Joseph Myers <joseph@codesourcery.com>
16717
16718 * crypt/speeds.c: Remove trailing whitespace.
16719 * dlfcn/default.c: Likewise.
16720 * elf/ifuncdep2.c: Likewise.
16721 * elf/ifuncmain1.c: Likewise.
16722 * elf/ifuncmain1vis.c: Likewise.
16723 * elf/testobj.h: Likewise.
16724 * elf/tst-stackguard1.c: Likewise.
16725 * gmon/sys/gmon.h: Likewise.
16726 * hurd/hurdmsg.c: Likewise.
16727 * hurd/new-fd.c: Likewise.
16728 * hurd/ports-get.c: Likewise.
16729 * iconvdata/ibm1008_420.c: Likewise.
16730 * inet/tst-getni1.c: Likewise.
16731 * inet/tst-getni2.c: Likewise.
16732 * libio/ioungetc.c: Likewise.
16733 * libio/wfiledoalloc.c: Likewise.
16734 * manual/libm-err-tab.pl: Likewise.
16735 * math/w_dremf.c: Likewise.
16736 * misc/ftruncate.c: Likewise.
16737 * posix/bug-glob2.c: Likewise.
16738 * posix/tst-pcre.c: Likewise.
16739 * posix/wait4.c: Likewise.
16740 * resolv/README: Likewise.
16741 * resolv/res_debug.h: Likewise.
16742 * resolv/tst-inet_ntop.c: Likewise.
16743 * setjmp/bug269-setjmp.c: Likewise.
16744 * soft-fp/extended.h: Likewise.
16745 * soft-fp/op-1.h: Likewise.
16746 * soft-fp/op-2.h: Likewise.
16747 * soft-fp/op-4.h: Likewise.
16748 * soft-fp/op-8.h: Likewise.
16749 * soft-fp/testit.c: Likewise.
16750 * stdio-common/bug16.c: Likewise.
16751 * stdlib/random.c: Likewise.
16752 * sunrpc/rpcsvc/rquota.x: Likewise.
16753 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
16754 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16755 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16756 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16757 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16758 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16759 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16760 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16761 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16762 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16763 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16764 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16765 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16766 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16767 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16768 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16769 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16770 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16771 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16772 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16773 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16774 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16775 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
16776 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16777 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16778 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16779 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16780 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16781 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16782 * sysdeps/ieee754/s_lib_version.c: Likewise.
16783 * sysdeps/mach/hurd/check_fds.c: Likewise.
16784 * sysdeps/mach/hurd/getsockname.c: Likewise.
16785 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
16786 * sysdeps/mach/hurd/recvfrom.c: Likewise.
16787 * sysdeps/powerpc/bits/link.h: Likewise.
16788 * sysdeps/powerpc/dl-procinfo.c: Likewise.
16789 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
16790 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
16791 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
16792 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16793 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16794 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
16795 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16796 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
16797 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16798 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
16799 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16800 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
16801 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16802 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16803 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16804 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16805 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16806 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16807 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16808 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16809 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
16810 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16811 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16812 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
16813 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16814 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16815 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16816 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16817 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16818 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16819 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16820 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16821 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16822 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
16823 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16824 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
16825 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16826 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
16827 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
16828 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
16829 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
16830 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
16831 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
16832 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16833 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
16834 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
16835 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16836 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
16837 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
16838 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16839 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16840 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16841 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16842 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
16843 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
16844 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
16845 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16846 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
16847 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
16848 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
16849 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
16850 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
16851 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16852 * sysdeps/powerpc/sysdep.h: Likewise.
16853 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16854 * sysdeps/s390/s390-64/sub_n.S: Likewise.
16855 * sysdeps/sh/dl-trampoline.S: Likewise.
16856 * sysdeps/sh/memset.S: Likewise.
16857 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
16858 * sysdeps/sh/strlen.S: Likewise.
16859 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
16860 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
16861 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
16862 * sysdeps/sparc/sparc32/rem.S: Likewise.
16863 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
16864 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
16865 * sysdeps/sparc/sparc32/strchr.S: Likewise.
16866 * sysdeps/sparc/sparc32/udiv.S: Likewise.
16867 * sysdeps/sparc/sparc32/urem.S: Likewise.
16868 * sysdeps/sparc/sparc64/add_n.S: Likewise.
16869 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16870 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
16871 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
16872 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
16873 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
16874 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
16875 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
16876 * sysdeps/unix/bsd/times.c: Likewise.
16877 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
16878 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
16879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16882 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
16883 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16884 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
16885 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
16886 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
16887 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
16888 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16889 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
16890 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16891 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16892 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
16893 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16894 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
16895 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
16896 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
16897 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
16898 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
16899 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16900 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
16901 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
16902 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
16903 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
16904 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16905 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
16906 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
16907 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
16908 * sysdeps/x86_64/strcspn.S: Likewise.
16909
16910 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16911
16912 * locale/C-translit.h: Revert #include <stdint.h> because this is a
16913 generated file. Regenerate properly from gen-translit.pl.
16914 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
16915 locale/C-translit.h.
16916
16917 2013-06-05 Andreas Schwab <schwab@suse.de>
16918
16919 [BZ #15100]
16920 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
16921 week as 6 instead of -1.
16922 * time/tst-strptime.c (day_tests): Add test case.
16923
16924 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16925
16926 * sysdeps/generic/math_private.h
16927 (libc_feholdexcept_setround_53bit): Replace with
16928 libc_feholdsetround_53bit.
16929 (libc_feupdateenv_53bit): Replace with
16930 libc_feresetround_53bit.
16931 (SET_RESTORE_ROUND_53BIT): Adjust.
16932
16933 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16934
16935 * string/test-strchrnul.c: Add copyright header.
16936
16937 * posix/tst-getaddrinfo4.c: Increase test timeout.
16938
16939 2013-06-03 Carlos O'Donell <carlos@redhat.com>
16940
16941 [BZ #15536]
16942 * math/libm-test.inc (MAX_EXP): Remove
16943 (MIN_EXP): Define.
16944 (ulp): Use MIN_EXP - MANT_DIG.
16945 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
16946
16947 2013-05-31 Carlos O'Donell <carlos@redhat.com>
16948
16949 * po/be.po: Revert last change.
16950 * po/zh_CN.po: Likewise.
16951 * po/header.pot: Likewise.
16952
16953 2013-05-31 Joseph Myers <joseph@codesourcery.com>
16954
16955 * Makefile ($(common-objpfx)linkobj/libc.so): Define
16956 link-libc-deps to empty as target-specific variable.
16957 * Makerules (link-libc-args): New variable.
16958 (libc-for-link): Likewise.
16959 (link-libc-deps): Likewise.
16960 (lib%.so): Depend on $(link-libc-deps). Link with
16961 $(link-libc-args).
16962 (build-module): Link with $(link-libc-args).
16963 (build-module-asneeded): Likewise.
16964 (build-module-helper-objlist): Filter out $(link-libc-deps) from
16965 list of objects.
16966 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
16967 target-specific variable.
16968 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
16969 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
16970 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
16971 libc.
16972 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
16973 libc and ld.so.
16974 ($(objpfx)libpcprofile.so): Likewise.
16975 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
16976 libc_nonshared.a.
16977 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
16978 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
16979 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
16980 $(link-libc-deps).
16981 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
16982 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
16983 * login/Makefile ($(objpfx)libutil.so): Likewise.
16984 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
16985 * math/Makefile ($(objpfx)libm.so): Likewise.
16986 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
16987 $(objpfx)libnsl.so): Define libc-for-link as target-specific
16988 variable instead of depending directly on libc.
16989 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
16990 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
16991 $(link-libc-deps).
16992 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
16993 libc.
16994 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
16995 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
16996 ($(objpfx)libanl.so): Likewise.
16997 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
16998 ld.so.
16999 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
17000 $(link-libc-deps).
17001 * sysdeps/i386/fpu/Makefile: Remove file.
17002 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
17003 ($(objpfx)libm.so): Remove dependency on ld.so.
17004
17005 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
17006
17007 [BZ # 15553]
17008 * nis/yp_xdr.c (XDRMAXNAME): Define.
17009 (XDRMAXRECORD): Define.
17010 (xdr_domainname): Use XDRMAXNAME.
17011 (xdr_mapname): Likewise.
17012 (xdr_peername): Likewise.
17013 (xdr_keydat): Use XDRMAXRECORD.
17014 (xdr_valdat): Likewise.
17015
17016 2013-05-30 Jeff Law <law@redhat.com>
17017
17018 [BZ #14256]
17019 * manual/errno.texi (ESTALE): Update to account for more than
17020 just NFS file systems.
17021 * sysdeps/gnu/errlist.c: Regenerated.
17022
17023 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17024
17025 [BZ #15465]
17026 * elf/Makefile (tests): Add tst-null-argv.
17027 (modules-names): Add tst-null-argv-lib.
17028 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
17029 (tst-null-argv-ENV): Set environment for tst-null-argv.
17030 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
17031 (RTLD_PROGNAME): New macro.
17032 * elf/tst-null-argv.c: New test case.
17033 * elf/tst-null-argv-lib.c: Library for test case.
17034 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
17035 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
17036 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
17037 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
17038 * elf/dl-init.c (call_init): Likewise.
17039 (_dl_init): Likewise.
17040 * elf/dl-load.c (print_search_path): Likewise.
17041 (_dl_map_object): Likewise.
17042 * elf/dl-lookup.c (do_lookup_x): Likewise.
17043 (add_dependency): Likewise.
17044 (_dl_lookup_symbol_x): Likewise.
17045 (_dl_debug_bindings): Likewise.
17046 * elf/dl-open.c (_dl_show_scope): Likewise.
17047 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17048 * elf/dl-version.c (match_symbol): Likewise.
17049 (_dl_check_map_versions): Likewise.
17050 * elf/rtld.c (dl_main): Likewise.
17051 (print_unresolved): Use RTLD_PROGNAME.
17052 (print_missing_version): Likewise.
17053 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
17054 (elf_machine_rela): Likewise.
17055 * sysdeps/powerpc/powerpc32/dl-machine.c
17056 (__process_machine_rela): Likewise.
17057 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17058 Likewise.
17059 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17060 Likewise.
17061 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17062 Likewise.
17063 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17064 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
17065 Likewise.
17066 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
17067 Likewise.
17068 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17069
17070 2013-05-28 Carlos O'Donell <carlos@redhat.com>
17071
17072 * po/be.po: Add descriptive title.
17073 * po/zh_CN.po: Likewise.
17074 * po/header.pot: Likewise.
17075
17076 2013-05-28 Mike Frysinger <vapier@gentoo.org>
17077
17078 * locale/programs/locarchive.c (create_archive): Inlucde fname in
17079 error message.
17080 (enlarge_archive): Likewise.
17081
17082 2013-05-28 Ben North <ben@redfrontdoor.org>
17083
17084 * manual/arith.texi (frexp): It is the magnitude of the return
17085 value which lies in [0.5, 1), not the return value itself.
17086
17087 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17088
17089 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17090
17091 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
17092
17093 * stdio-common/bug26.c (main): Correct fscanf template.
17094
17095 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
17096 declare _dl_skip_args.
17097
17098 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
17099 Don't declare.
17100
17101 * manual/platform.texi: Add missing @end deftypefun.
17102
17103 2013-05-24 Joseph Myers <joseph@codesourcery.com>
17104
17105 [BZ #15529]
17106 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
17107 bit of mantissa of 2^16382.
17108 * math/libm-test.inc (hypot_test_data): Add more tests.
17109
17110 * math/libm-test.inc: Add drem and pow10 to list of tested
17111 functions.
17112 (pow10_test): New function.
17113 (drem_test): Likewise.
17114 (drem_test_tonearest): Likewise.
17115 (drem_test_towardzero): Likewise.
17116 (drem_test_downward): Likewise.
17117 (drem_test_upward): Likewise.
17118 (main): Call the new functions.
17119
17120 * math/libm-test.inc (finite_test_data): Remove.
17121 (finite_test): Run tests from isfinite_test_data.
17122 (gamma_test_data): Remove.
17123 (gamma_test): Run tests from lgamma_test_data.
17124 * sysdeps/i386/fpu/libm-test-ulps: Update.
17125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17126
17127 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17128
17129 * manual/platform.texi: Add PowerPC PPR function set documentation.
17130 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
17131 implementation.
17132
17133 2013-05-24 Carlos O'Donell <carlos@redhat.com>
17134
17135 * math/libm-test.inc (MAX_EXP): Define.
17136 (ULPDIFF): Define.
17137 (ulp): New function.
17138 (check_float_internal): Use ULPDIFF.
17139 (cpow_test): Disable failing test.
17140 (check_ulp): Test ulp() implemetnation.
17141 (main): Call check_ulp before starting tests.
17142
17143 2013-05-24 Joseph Myers <joseph@codesourcery.com>
17144
17145 * math/gen-libm-test.pl (generate_testfile): Do not handle
17146 START_DATA and END_DATA.
17147 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
17148 END_DATA.
17149 (acos_tonearest_test_data): Likewise.
17150 (acos_towardzero_test_data): Likewise.
17151 (acos_downward_test_data): Likewise.
17152 (acos_upward_test_data): Likewise.
17153 (acosh_test_data): Likewise.
17154 (asin_test_data): Likewise.
17155 (asin_tonearest_test_data): Likewise.
17156 (asin_towardzero_test_data): Likewise.
17157 (asin_downward_test_data): Likewise.
17158 (asin_upward_test_data): Likewise.
17159 (asinh_test_data): Likewise.
17160 (atan_test_data): Likewise.
17161 (atanh_test_data): Likewise.
17162 (atan2_test_data): Likewise.
17163 (cabs_test_data): Likewise.
17164 (cacos_test_data): Likewise.
17165 (cacosh_test_data): Likewise.
17166 (carg_test_data): Likewise.
17167 (casin_test_data): Likewise.
17168 (casinh_test_data): Likewise.
17169 (catan_test_data): Likewise.
17170 (catanh_test_data): Likewise.
17171 (cbrt_test_data): Likewise.
17172 (ccos_test_data): Likewise.
17173 (ccosh_test_data): Likewise.
17174 (ceil_test_data): Likewise.
17175 (cexp_test_data): Likewise.
17176 (cimag_test_data): Likewise.
17177 (clog_test_data): Likewise.
17178 (clog10_test_data): Likewise.
17179 (conj_test_data): Likewise.
17180 (copysign_test_data): Likewise.
17181 (cos_test_data): Likewise.
17182 (cos_tonearest_test_data): Likewise.
17183 (cos_towardzero_test_data): Likewise.
17184 (cos_downward_test_data): Likewise.
17185 (cos_upward_test_data): Likewise.
17186 (cosh_test_data): Likewise.
17187 (cosh_tonearest_test_data): Likewise.
17188 (cosh_towardzero_test_data): Likewise.
17189 (cosh_downward_test_data): Likewise.
17190 (cosh_upward_test_data): Likewise.
17191 (cpow_test_data): Likewise.
17192 (cproj_test_data): Likewise.
17193 (creal_test_data): Likewise.
17194 (csin_test_data): Likewise.
17195 (csinh_test_data): Likewise.
17196 (csqrt_test_data): Likewise.
17197 (ctan_test_data): Likewise.
17198 (ctan_tonearest_test_data): Likewise.
17199 (ctan_towardzero_test_data): Likewise.
17200 (ctan_downward_test_data): Likewise.
17201 (ctan_upward_test_data): Likewise.
17202 (ctanh_test_data): Likewise.
17203 (ctanh_tonearest_test_data): Likewise.
17204 (ctanh_towardzero_test_data): Likewise.
17205 (ctanh_downward_test_data): Likewise.
17206 (ctanh_upward_test_data): Likewise.
17207 (erf_test_data): Likewise.
17208 (erfc_test_data): Likewise.
17209 (exp_test_data): Likewise.
17210 (exp_tonearest_test_data): Likewise.
17211 (exp_towardzero_test_data): Likewise.
17212 (exp_downward_test_data): Likewise.
17213 (exp_upward_test_data): Likewise.
17214 (exp10_test_data): Likewise.
17215 (exp2_test_data): Likewise.
17216 (expm1_test_data): Likewise.
17217 (fabs_test_data): Likewise.
17218 (fdim_test_data): Likewise.
17219 (finite_test_data): Likewise.
17220 (floor_test_data): Likewise.
17221 (fma_test_data): Likewise.
17222 (fma_towardzero_test_data): Likewise.
17223 (fma_downward_test_data): Likewise.
17224 (fma_upward_test_data): Likewise.
17225 (fmax_test_data): Likewise.
17226 (fmin_test_data): Likewise.
17227 (fmod_test_data): Likewise.
17228 (fpclassify_test_data): Likewise.
17229 (frexp_test_data): Likewise.
17230 (gamma_test_data): Likewise.
17231 (hypot_test_data): Likewise.
17232 (ilogb_test_data): Likewise.
17233 (isfinite_test_data): Likewise.
17234 (isgreater_test_data): Likewise.
17235 (isgreaterequal_test_data): Likewise.
17236 (isinf_test_data): Likewise.
17237 (isless_test_data): Likewise.
17238 (islessequal_test_data): Likewise.
17239 (islessgreater_test_data): Likewise.
17240 (isnan_test_data): Likewise.
17241 (isnormal_test_data): Likewise.
17242 (issignaling_test_data): Likewise.
17243 (isunordered_test_data): Likewise.
17244 (j0_test_data): Likewise.
17245 (j1_test_data): Likewise.
17246 (jn_test_data): Likewise.
17247 (ldexp_test_data): Likewise.
17248 (lgamma_test_data): Likewise.
17249 (lrint_test_data): Likewise.
17250 (lrint_tonearest_test_data): Likewise.
17251 (lrint_towardzero_test_data): Likewise.
17252 (lrint_downward_test_data): Likewise.
17253 (lrint_upward_test_data): Likewise.
17254 (llrint_test_data): Likewise.
17255 (llrint_tonearest_test_data): Likewise.
17256 (llrint_towardzero_test_data): Likewise.
17257 (llrint_downward_test_data): Likewise.
17258 (llrint_upward_test_data): Likewise.
17259 (log_test_data): Likewise.
17260 (log10_test_data): Likewise.
17261 (log1p_test_data): Likewise.
17262 (log2_test_data): Likewise.
17263 (logb_test_data): Likewise.
17264 (logb_downward_test_data): Likewise.
17265 (lround_test_data): Likewise.
17266 (llround_test_data): Likewise.
17267 (modf_test_data): Likewise.
17268 (nearbyint_test_data): Likewise.
17269 (nextafter_test_data): Likewise.
17270 (nexttoward_test_data): Likewise.
17271 (pow_test_data): Likewise.
17272 (pow_tonearest_test_data): Likewise.
17273 (pow_towardzero_test_data): Likewise.
17274 (pow_downward_test_data): Likewise.
17275 (pow_upward_test_data): Likewise.
17276 (remainder_test_data): Likewise.
17277 (remainder_tonearest_test_data): Likewise.
17278 (remainder_towardzero_test_data): Likewise.
17279 (remainder_downward_test_data): Likewise.
17280 (remainder_upward_test_data): Likewise.
17281 (remquo_test_data): Likewise.
17282 (rint_test_data): Likewise.
17283 (rint_tonearest_test_data): Likewise.
17284 (rint_towardzero_test_data): Likewise.
17285 (rint_downward_test_data): Likewise.
17286 (rint_upward_test_data): Likewise.
17287 (round_test_data): Likewise.
17288 (scalb_test_data): Likewise.
17289 (scalbn_test_data): Likewise.
17290 (scalbln_test_data): Likewise.
17291 (signbit_test_data): Likewise.
17292 (sin_test_data): Likewise.
17293 (sin_tonearest_test_data): Likewise.
17294 (sin_towardzero_test_data): Likewise.
17295 (sin_downward_test_data): Likewise.
17296 (sin_upward_test_data): Likewise.
17297 (sincos_test_data): Likewise.
17298 (sinh_test_data): Likewise.
17299 (sinh_tonearest_test_data): Likewise.
17300 (sinh_towardzero_test_data): Likewise.
17301 (sinh_downward_test_data): Likewise.
17302 (sinh_upward_test_data): Likewise.
17303 (sqrt_test_data): Likewise.
17304 (tan_test_data): Likewise.
17305 (tan_tonearest_test_data): Likewise.
17306 (tan_towardzero_test_data): Likewise.
17307 (tan_downward_test_data): Likewise.
17308 (tan_upward_test_data): Likewise.
17309 (tanh_test_data): Likewise.
17310 (tgamma_test_data): Likewise.
17311 (trunc_test_data): Likewise.
17312 (y0_test_data): Likewise.
17313 (y1_test_data): Likewise.
17314 (yn_test_data): Likewise.
17315 (significand_test_data): Likewise.
17316
17317 * math/gen-libm-test.pl (@functions): Remove variable.
17318 (generate_testfile): Don't handle START and END lines.
17319 * math/libm-test.inc (START): New macro.
17320 (END): Likewise.
17321 (END_COMPLEX): Likewise.
17322 (acos_test): Use END macro without arguments.
17323 (acos_test_tonearest): Likewise.
17324 (acos_test_towardzero): Likewise.
17325 (acos_test_downward): Likewise.
17326 (acos_test_upward): Likewise.
17327 (acosh_test): Likewise.
17328 (asin_test): Likewise.
17329 (asin_test_tonearest): Likewise.
17330 (asin_test_towardzero): Likewise.
17331 (asin_test_downward): Likewise.
17332 (asin_test_upward): Likewise.
17333 (asinh_test): Likewise.
17334 (atan_test): Likewise.
17335 (atanh_test): Likewise.
17336 (atan2_test): Likewise.
17337 (cabs_test): Likewise.
17338 (cacos_test): Use END_COMPLEX macro without arguments.
17339 (cacosh_test): Likewise.
17340 (carg_test): Use END macro without arguments.
17341 (casin_test): Use END_COMPLEX macro without arguments.
17342 (casinh_test): Likewise.
17343 (catan_test): Likewise.
17344 (catanh_test): Likewise.
17345 (cbrt_test): Use END macro without arguments.
17346 (ccos_test): Use END_COMPLEX macro without arguments.
17347 (ccosh_test): Likewise.
17348 (ceil_test): Use END macro without arguments.
17349 (cexp_test): Use END_COMPLEX macro without arguments.
17350 (cimag_test): Use END macro without arguments.
17351 (clog_test): Use END_COMPLEX macro without arguments.
17352 (clog10_test): Likewise.
17353 (conj_test): Likewise.
17354 (copysign_test): Use END macro without arguments.
17355 (cos_test): Likewise.
17356 (cos_test_tonearest): Likewise.
17357 (cos_test_towardzero): Likewise.
17358 (cos_test_downward): Likewise.
17359 (cos_test_upward): Likewise.
17360 (cosh_test): Likewise.
17361 (cosh_test_tonearest): Likewise.
17362 (cosh_test_towardzero): Likewise.
17363 (cosh_test_downward): Likewise.
17364 (cosh_test_upward): Likewise.
17365 (cpow_test): Use END_COMPLEX macro without arguments.
17366 (cproj_test): Likewise.
17367 (creal_test): Use END macro without arguments.
17368 (csin_test): Use END_COMPLEX macro without arguments.
17369 (csinh_test): Likewise.
17370 (csqrt_test): Likewise.
17371 (ctan_test): Likewise.
17372 (ctan_test_tonearest): Likewise.
17373 (ctan_test_towardzero): Likewise.
17374 (ctan_test_downward): Likewise.
17375 (ctan_test_upward): Likewise.
17376 (ctanh_test): Likewise.
17377 (ctanh_test_tonearest): Likewise.
17378 (ctanh_test_towardzero): Likewise.
17379 (ctanh_test_downward): Likewise.
17380 (ctanh_test_upward): Likewise.
17381 (erf_test): Use END macro without arguments.
17382 (erfc_test): Likewise.
17383 (exp_test): Likewise.
17384 (exp_test_tonearest): Likewise.
17385 (exp_test_towardzero): Likewise.
17386 (exp_test_downward): Likewise.
17387 (exp_test_upward): Likewise.
17388 (exp10_test): Likewise.
17389 (exp2_test): Likewise.
17390 (expm1_test): Likewise.
17391 (fabs_test): Likewise.
17392 (fdim_test): Likewise.
17393 (finite_test): Likewise.
17394 (floor_test): Likewise.
17395 (fma_test): Likewise.
17396 (fma_test_towardzero): Likewise.
17397 (fma_test_downward): Likewise.
17398 (fma_test_upward): Likewise.
17399 (fmax_test): Likewise.
17400 (fmin_test): Likewise.
17401 (fmod_test): Likewise.
17402 (fpclassify_test): Likewise.
17403 (frexp_test): Likewise.
17404 (gamma_test): Likewise.
17405 (hypot_test): Likewise.
17406 (ilogb_test): Likewise.
17407 (isfinite_test): Likewise.
17408 (isgreater_test): Likewise.
17409 (isgreaterequal_test): Likewise.
17410 (isinf_test): Likewise.
17411 (isless_test): Likewise.
17412 (islessequal_test): Likewise.
17413 (islessgreater_test): Likewise.
17414 (isnan_test): Likewise.
17415 (isnormal_test): Likewise.
17416 (issignaling_test): Likewise.
17417 (isunordered_test): Likewise.
17418 (j0_test): Likewise.
17419 (j1_test): Likewise.
17420 (jn_test): Likewise.
17421 (ldexp_test): Likewise.
17422 (lgamma_test): Likewise.
17423 (lrint_test): Likewise.
17424 (lrint_test_tonearest): Likewise.
17425 (lrint_test_towardzero): Likewise.
17426 (lrint_test_downward): Likewise.
17427 (lrint_test_upward): Likewise.
17428 (llrint_test): Likewise.
17429 (llrint_test_tonearest): Likewise.
17430 (llrint_test_towardzero): Likewise.
17431 (llrint_test_downward): Likewise.
17432 (llrint_test_upward): Likewise.
17433 (log_test): Likewise.
17434 (log10_test): Likewise.
17435 (log1p_test): Likewise.
17436 (log2_test): Likewise.
17437 (logb_test): Likewise.
17438 (logb_test_downward): Likewise.
17439 (lround_test): Likewise.
17440 (llround_test): Likewise.
17441 (modf_test): Likewise.
17442 (nearbyint_test): Likewise.
17443 (nextafter_test): Likewise.
17444 (nexttoward_test): Likewise.
17445 (pow_test): Likewise.
17446 (pow_test_tonearest): Likewise.
17447 (pow_test_towardzero): Likewise.
17448 (pow_test_downward): Likewise.
17449 (pow_test_upward): Likewise.
17450 (remainder_test): Likewise.
17451 (remainder_test_tonearest): Likewise.
17452 (remainder_test_towardzero): Likewise.
17453 (remainder_test_downward): Likewise.
17454 (remainder_test_upward): Likewise.
17455 (remquo_test): Likewise.
17456 (rint_test): Likewise.
17457 (rint_test_tonearest): Likewise.
17458 (rint_test_towardzero): Likewise.
17459 (rint_test_downward): Likewise.
17460 (rint_test_upward): Likewise.
17461 (round_test): Likewise.
17462 (scalb_test): Likewise.
17463 (scalbn_test): Likewise.
17464 (scalbln_test): Likewise.
17465 (signbit_test): Likewise.
17466 (sin_test): Likewise.
17467 (sin_test_tonearest): Likewise.
17468 (sin_test_towardzero): Likewise.
17469 (sin_test_downward): Likewise.
17470 (sin_test_upward): Likewise.
17471 (sincos_test): Likewise.
17472 (sinh_test): Likewise.
17473 (sinh_test_tonearest): Likewise.
17474 (sinh_test_towardzero): Likewise.
17475 (sinh_test_downward): Likewise.
17476 (sinh_test_upward): Likewise.
17477 (sqrt_test): Likewise.
17478 (tan_test): Likewise.
17479 (tan_test_tonearest): Likewise.
17480 (tan_test_towardzero): Likewise.
17481 (tan_test_downward): Likewise.
17482 (tan_test_upward): Likewise.
17483 (tanh_test): Likewise.
17484 (tgamma_test): Likewise.
17485 (trunc_test): Likewise.
17486 (y0_test): Likewise.
17487 (y1_test): Likewise.
17488 (yn_test): Likewise.
17489 (significand_test): Likewise.
17490
17491 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
17492
17493 [BZ #15381]
17494 * libio/genops.c (_IO_no_init): Initialize wide struct info.
17495
17496 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
17497
17498 [BZ #14894]
17499 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
17500 __ppc_mdoio and __ppc_mdoom.
17501 * manual/platform.texi: Document new functions __ppc_yield,
17502 __ppc_mdoio and __ppc_mdoom.
17503
17504 2013-05-22 Carlos O'Donell <carlos@redhat.com>
17505
17506 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
17507 (main): Mention "tls" pseudo-hwcap is legacy.
17508 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
17509
17510 2013-05-22 Joseph Myers <joseph@codesourcery.com>
17511
17512 * math/gen-libm-test.pl (parse_args): Output only string of
17513 arguments as text for test name, not full call or descriptions of
17514 tests for extra outputs.
17515 (generate_testfile): Do not pass function name to parse_args.
17516 Generate this_func variable from START.
17517 * math/libm-test.inc (struct test_f_f_data): Rename test_name
17518 field to arg_str.
17519 (struct test_ff_f_data): Likewise.
17520 (test_ff_f_data_nexttoward): Likewise.
17521 (struct test_fi_f_data): Likewise.
17522 (struct test_fl_f_data): Likewise.
17523 (struct test_if_f_data): Likewise.
17524 (struct test_fff_f_data): Likewise.
17525 (struct test_c_f_data): Likewise.
17526 (struct test_f_f1_data): Likewise. Remove field extra_name.
17527 (struct test_fF_f1_data): Likewise.
17528 (struct test_ffI_f1_data): Likewise.
17529 (struct test_c_c_data): Rename test_name field to arg_str.
17530 (struct test_cc_c_data): Likewise.
17531 (struct test_f_i_data): Likewise.
17532 (struct test_ff_i_data): Likewise.
17533 (struct test_f_l_data): Likewise.
17534 (struct test_f_L_data): Likewise.
17535 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
17536 and extra2_name.
17537 (COMMON_TEST_SETUP): New macro.
17538 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
17539 (COMMON_TEST_CLEANUP): Likewise.
17540 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
17541 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
17542 macros.
17543 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
17544 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
17545 macros.
17546 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
17547 (RUN_TEST_fff_f): Take argument string. Call new setup and
17548 cleanup macros.
17549 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
17550 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
17551 macros.
17552 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
17553 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
17554 macros.
17555 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17556 (RUN_TEST_fF_f1): Take argument string. Call new setup and
17557 cleanup macros.
17558 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17559 (RUN_TEST_fI_f1): Take argument string. Call new setup and
17560 cleanup macros.
17561 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17562 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
17563 cleanup macros.
17564 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17565 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
17566 macros.
17567 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
17568 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
17569 macros.
17570 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
17571 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
17572 macros.
17573 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
17574 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
17575 cleanup macros.
17576 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
17577 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
17578 cleanup macros.
17579 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
17580 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
17581 macros.
17582 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
17583 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
17584 cleanup macros.
17585 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
17586 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
17587 macros.
17588 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
17589 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
17590 macros.
17591 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
17592 (RUN_TEST_fFF_11): Take argument string. Call new setup and
17593 cleanup macros.
17594 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
17595
17596 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17597
17598 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
17599 to _sifields.sigfault.
17600 (si_addr_lsb): Define new macro.
17601 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17602 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17603 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
17604
17605 2013-05-03 Carlos O'Donell <carlos at redhat.com>
17606
17607 [BZ #15441]
17608 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
17609 returns -1.
17610 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
17611 null return -1.
17612 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
17613 loading the domain.
17614
17615 2013-05-22 Joseph Myers <joseph@codesourcery.com>
17616
17617 * math/gen-libm-test.pl (parse_args): Do not include expected
17618 result in test name.
17619 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
17620 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17621 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17622 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17623 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17625
17626 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17627
17628 * benchtests/Makefile: Sort function entries.
17629
17630 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
17631 tanh, asinh, acosh, atanh.
17632 * benchtests/acos-inputs: New file.
17633 * benchtests/acosh-inputs: New file.
17634 * benchtests/asin-inputs: New file.
17635 * benchtests/asinh-inputs: New file.
17636 * benchtests/atanh-inputs: New file.
17637 * benchtests/cosh-inputs: New file.
17638 * benchtests/log-inputs: New file.
17639 * benchtests/sinh-inputs: New file.
17640 * benchtests/tanh-inputs: New file.
17641
17642 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
17643
17644 [BZ #15339]
17645 * posix/tst-getaddrinfo4.c: New test.
17646 * posix/Makefile (tests): Add it.
17647
17648 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17649
17650 [BZ #15339]
17651 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
17652 when no services were used.
17653 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
17654 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
17655
17656 2013-05-21 Andreas Schwab <schwab@suse.de>
17657
17658 [BZ #15014]
17659 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
17660 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
17661 successful.
17662 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
17663 redundant variable declarations and reallocation of buffer when
17664 parsing as IPv6 address. Always set NSS status when called from
17665 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
17666 buffer too small. Correct computation of needed size.
17667 * nss/Makefile (tests): Add test-digits-dots.
17668 * nss/test-digits-dots.c: New test.
17669
17670 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17671
17672 * benchtests/Makefile: Remove instructions for adding
17673 benchmark tests.
17674 * benchtests/README: New file to explain how to execute and
17675 enhance the benchmark tests.
17676
17677 2013-05-21 Andreas Schwab <schwab@suse.de>
17678
17679 [BZ #15493]
17680 * setjmp/Makefile (tests): Add tst-sigsetjmp.
17681 * setjmp/tst-sigsetjmp.c: New test.
17682
17683 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
17684
17685 * sysdeps/x86_64/memset.S (memset): New implementation.
17686 (__bzero): Likewise.
17687 (__memset_tail): New function.
17688
17689 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
17690
17691 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
17692 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
17693 __memcpy_sse2_unaligned ifunc selection.
17694 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17695 Add memcpy-sse2-unaligned.S.
17696 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17697 Add: __memcpy_sse2_unaligned.
17698
17699 2013-05-19 Joseph Myers <joseph@codesourcery.com>
17700
17701 [BZ #15490]
17702 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
17703 math_force_eval before restoring floating-point envrionment.
17704 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
17705 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
17706 Likewise.
17707 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
17708 <math_private.h>.
17709 (__nearbyintl): Use math_force_eval before restoring
17710 floating-point environment.
17711 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
17712
17713 * math/gen-libm-test.pl (special_functions): Remove.
17714 (parse_args): Don't handle TEST_extra. Handle functions with no
17715 return value.
17716 * math/libm-test.inc (struct test_sincos_data): Replace with
17717 struct test_fFF_11_data.
17718 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
17719 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
17720 (sincos_test_data): Change element type to struct
17721 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
17722 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
17723 RUN_TEST_LOOP_sincos.
17724 * math/README.libm-test: Don't mention special handling of
17725 individual functions.
17726 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
17727 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17728 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17729 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17730 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17732
17733 * math/gen-libm-test.pl (get_variable): Remove function.
17734 (parse_args): Don't show pointer parameters to call in test
17735 names. Use "extra output N" in test names for extra outputs
17736 rather than naming variables.
17737
17738 2013-05-18 Joseph Myers <joseph@codesourcery.com>
17739
17740 [BZ #15488]
17741 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
17742 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
17743 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
17744 double tests.
17745 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
17746 disable.
17747 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
17748 check_long_double.
17749
17750 * math/gen-libm-test.pl (@tests): Remove variable.
17751 ($count): Likewise.
17752 (new_test): Remove function.
17753 (show_exceptions): New function.
17754 (special_functions): Use show_exceptions instead of new_test.
17755 (parse_args): Likewise.
17756 (generate_testfile): Pass only function name in generated call to
17757 print_max_error or print_complex_max_error.
17758 (get_ulps): Do not handle complex tests specially.
17759 (output_test): Rename to ...
17760 (get_all_ulps_for_test): ... this. Return a string rather than
17761 printing to a file. Require ulps to be present.
17762 (output_ulps): Generate arrays rather than #defines.
17763 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
17764 (struct ulp_data): New type.
17765 (BUILD_COMPLEX_ULP): Remove macro.
17766 (compare_ulp_data): New function.
17767 (find_ulps): Likewise.
17768 (find_test_ulps): Likewise.
17769 (find_function_ulps): Likewise.
17770 (find_complex_function_ulps): Likewise.
17771 (print_max_error): Determine allowed ulps using
17772 find_function_ulps.
17773 (print_complex_max_error): Determine allowed ulps using
17774 find_complex_function_ulps.
17775 (check_float_internal): Determine max ulps using find_test_ulps.
17776 (check_float): Do not take max_ulp parameter. Update call to
17777 check_float_internal.
17778 (check_complex): Likewise.
17779 (check_int): Do not take max_ulp parameter.
17780 (check_long): Likewise.
17781 (check_bool): Likewise.
17782 (check_longlong): Likewise.
17783 (struct test_f_f_data): Remove max_ulp field.
17784 (struct test_ff_f_data): Likewise.
17785 (struct test_ff_f_data_nexttoward): Likewise.
17786 (struct test_fi_f_data): Likewise.
17787 (struct test_fl_f_data): Likewise.
17788 (struct test_if_f_data): Likewise.
17789 (struct test_fff_f_data): Likewise.
17790 (struct test_c_f_data): Likewise.
17791 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
17792 (struct test_fF_f1_data): Likewise.
17793 (struct test_ffI_f1_data): Likewise.
17794 (struct test_c_c_data): Remove max_ulp field.
17795 (struct test_cc_c_data): Likewise.
17796 (struct test_f_i_data): Likewise.
17797 (struct test_ff_i_data): Likewise.
17798 (struct test_f_l_data): Likewise.
17799 (struct test_f_L_data): Likewise.
17800 (struct test_sincos_data): Likewise.
17801 (RUN_TEST_f_f): Do not handle ulps.
17802 (RUN_TEST_LOOP_f_f): Likewise.
17803 (RUN_TEST_2_f): Likewise.
17804 (RUN_TEST_LOOP_2_f): Likewise.
17805 (RUN_TEST_fff_f): Likewise.
17806 (RUN_TEST_LOOP_fff_f): Likewise.
17807 (RUN_TEST_c_f): Likewise.
17808 (RUN_TEST_LOOP_c_f): Likewise.
17809 (RUN_TEST_f_f1): Likewise.
17810 (RUN_TEST_LOOP_f_f1): Likewise.
17811 (RUN_TEST_fF_f1): Likewise.
17812 (RUN_TEST_LOOP_fF_f1): Likewise.
17813 (RUN_TEST_fI_f1): Likewise.
17814 (RUN_TEST_LOOP_fI_f1): Likewise.
17815 (RUN_TEST_ffI_f1): Likewise.
17816 (RUN_TEST_LOOP_ffI_f1): Likewise.
17817 (RUN_TEST_c_c): Likewise.
17818 (RUN_TEST_LOOP_c_c): Likewise.
17819 (RUN_TEST_cc_c): Likewise.
17820 (RUN_TEST_LOOP_cc_c): Likewise.
17821 (RUN_TEST_f_i): Likewise.
17822 (RUN_TEST_LOOP_f_i): Likewise.
17823 (RUN_TEST_f_i_tg): Likewise.
17824 (RUN_TEST_LOOP_f_i_tg): Likewise.
17825 (RUN_TEST_ff_i_tg): Likewise.
17826 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17827 (RUN_TEST_f_b): Likewise.
17828 (RUN_TEST_LOOP_f_b): Likewise.
17829 (RUN_TEST_f_b_tg): Likewise.
17830 (RUN_TEST_LOOP_f_b_tg): Likewise.
17831 (RUN_TEST_f_l): Likewise.
17832 (RUN_TEST_LOOP_f_l): Likewise.
17833 (RUN_TEST_f_L): Likewise.
17834 (RUN_TEST_LOOP_f_L): Likewise.
17835 (RUN_TEST_sincos): Likewise.
17836 (RUN_TEST_LOOP_sincos): Likewise.
17837
17838 2013-05-17 Joseph Myers <joseph@codesourcery.com>
17839
17840 [BZ #15480]
17841 [BZ #15485]
17842 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
17843 main case of finite arguments, set rounding mode to FE_TONEAREST
17844 and discard exceptions.
17845 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
17846 exceptions.
17847 (remainder_tonearest_test_data): New variable.
17848 (remainder_test_tonearest): New function.
17849 (remainder_towardzero_test_data): New variable.
17850 (remainder_test_towardzero): New function.
17851 (remainder_downward_test_data): New variable.
17852 (remainder_test_downward): New function.
17853 (remainder_upward_test_data): New variable.
17854 (remainder_test_upward): New function.
17855 (main): Call the new test functions.
17856
17857 * math/libm-test.inc (struct test_f_f1_data): Remove field
17858 extra_init.
17859 (struct test_fF_f1_data): Likewise.
17860 (struct test_ffI_f1_data): Likewise.
17861 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
17862 based on value of EXTRA_EXPECTED.
17863 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17864 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
17865 EXTRA_VAR based on value of EXTRA_EXPECTED.
17866 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17867 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
17868 EXTRA_VAR based on value of EXTRA_EXPECTED.
17869 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17870 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
17871 EXTRA_VAR based on value of EXTRA_EXPECTED.
17872 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17873 * math/gen-libm-test.pl (parse_args): Don't output initializers
17874 for extra output values.
17875
17876 * math/libm-test.inc (check_int): Expect result to be exactly
17877 equal to expected value and do not handle ulps.
17878 (check_long): Likewise.
17879 (check_longlong): Likewise.
17880
17881 * math/libm-test.inc (ceil_test_data): Test for "inexact"
17882 exceptions.
17883 (cimag_test_data): Likewise.
17884 (conj_test_data): Likewise.
17885 (copysign_test_data): Likewise.
17886 (cproj_test_data): Likewise.
17887 (creal_test_data): Likewise.
17888 (fabs_test_data): Likewise.
17889 (fdim_test_data): Likewise.
17890 (finite_test_data): Likewise.
17891 (floor_test_data): Likewise.
17892 (fmax_test_data): Likewise.
17893 (fmin_test_data): Likewise.
17894 (fmod_test_data): Likewise.
17895 (fpclassify_test_data): Likewise.
17896 (frexp_test_data): Likewise.
17897 (ilogb_test_data): Likewise.
17898 (isfinite_test_data): Likewise.
17899 (isgreater_test_data): Likewise.
17900 (isgreaterequal_test_data): Likewise.
17901 (isinf_test_data): Likewise.
17902 (isless_test_data): Likewise.
17903 (islessequal_test_data): Likewise.
17904 (islessgreater_test_data): Likewise.
17905 (isnan_test_data): Likewise.
17906 (isnormal_test_data): Likewise.
17907 (issignaling_test_data): Likewise.
17908 (isunordered_test_data): Likewise.
17909 (ldexp_test_data): Likewise.
17910 (lrint_test_data): Likewise.
17911 (lrint_test_data) [TEST_FLOAT]: Disable one test.
17912 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
17913 (lrint_tonearest_test_data): Test for "inexact" exceptions.
17914 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17915 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
17916 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17917 test input.
17918 (lrint_towardzero_test_data): Test for "inexact" exceptions.
17919 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17920 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
17921 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
17922 that test input.
17923 (lrint_downward_test_data): Test for "inexact" exceptions.
17924 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17925 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
17926 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17927 test input.
17928 (lrint_upward_test_data): Test for "inexact" exceptions.
17929 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
17930 test input.
17931 (llrint_test_data): Test for "inexact" exceptions.
17932 (llrint_test_data) [TEST_FLOAT]: Disable one test.
17933 (llrint_tonearest_test_data): Test for "inexact" exceptions.
17934 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17935 (llrint_towardzero_test_data): Test for "inexact" exceptions.
17936 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17937 (llrint_downward_test_data): Test for "inexact" exceptions.
17938 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17939 (llrint_upward_test_data): Test for "inexact" exceptions.
17940 (logb_test_data): Likewise.
17941 (logb_downward_test_data): Likewise.
17942 (nextafter_test_data): Likewise.
17943 (nexttoward_test_data): Likewise.
17944 (remainder_test_data): Likewise.
17945 (remquo_test_data): Likewise.
17946 (scalbn_test_data): Likewise.
17947 (scalbln_test_data): Likewise.
17948 (signbit_test_data): Likewise.
17949 (sqrt_test_data): Likewise.
17950 (significand_test_data): Likewise.
17951
17952 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17953
17954 [BZ #15424]
17955 * benchtests/bench-modf.c (struct args): Mark arg0 as
17956 volatile.
17957 * scripts/bench.pl: Mark members of struct args as volatile.
17958
17959 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17960
17961 [BZ # 15497]
17962 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
17963 negative infinity on POWER6 or lower.
17964 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
17965
17966 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
17967
17968 [BZ #15442]
17969 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
17970 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
17971 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
17972 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
17973 (_FP_SETQNAN): New macro.
17974 (_FP_SETQNAN_SEMIRAW): Likewise.
17975 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
17976 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
17977 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
17978 (FP_EXTEND): Use _FP_FRAC_SNANP.
17979 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
17980 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
17981 into account.
17982 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17983 New macro.
17984 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17985 Likewise.
17986
17987 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17988
17989 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
17990 with DIVIDE_BY_ZERO_EXCEPTION.
17991 (gamma_test_data): Likewise.
17992 (lgamma_test_data): Likewise.
17993 (log_test_data): Likewise.
17994 (log10_test_data): Likewise.
17995 (log2_test_data): Likewise.
17996 (tgamma_test_data): Likewise.
17997
17998 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
17999 (acos_test_tonearest): Likewise.
18000 (acos_test_towardzero): Likewise.
18001 (acos_test_downward): Likewise.
18002 (acos_test_upward): Likewise.
18003 (acosh_test): Likewise.
18004 (asin_test): Likewise.
18005 (asin_test_tonearest): Likewise.
18006 (asin_test_towardzero): Likewise.
18007 (asin_test_downward): Likewise.
18008 (asin_test_upward): Likewise.
18009 (asinh_test): Likewise.
18010 (atan_test): Likewise.
18011 (atanh_test): Likewise.
18012 (atan2_test): Likewise.
18013 (cabs_test): Likewise.
18014 (cacos_test): Likewise.
18015 (cacosh_test): Likewise.
18016 (casin_test): Likewise.
18017 (casinh_test): Likewise.
18018 (catan_test): Likewise.
18019 (catanh_test): Likewise.
18020 (cbrt_test): Likewise.
18021 (ccos_test): Likewise.
18022 (ccosh_test): Likewise.
18023 (cexp_test): Likewise.
18024 (clog_test): Likewise.
18025 (clog10_test): Likewise.
18026 (cos_test): Likewise.
18027 (cos_test_tonearest): Likewise.
18028 (cos_test_towardzero): Likewise.
18029 (cos_test_downward): Likewise.
18030 (cos_test_upward): Likewise.
18031 (cosh_test): Likewise.
18032 (cosh_test_tonearest): Likewise.
18033 (cosh_test_towardzero): Likewise.
18034 (cosh_test_downward): Likewise.
18035 (cosh_test_upward): Likewise.
18036 (cpow_test): Likewise.
18037 (csin_test): Likewise.
18038 (csinh_test): Likewise.
18039 (csqrt_test): Likewise.
18040 (ctan_test): Likewise.
18041 (ctan_test_tonearest): Likewise.
18042 (ctan_test_towardzero): Likewise.
18043 (ctan_test_downward): Likewise.
18044 (ctan_test_upward): Likewise.
18045 (ctanh_test): Likewise.
18046 (ctanh_test_tonearest): Likewise.
18047 (ctanh_test_towardzero): Likewise.
18048 (ctanh_test_downward): Likewise.
18049 (ctanh_test_upward): Likewise.
18050 (erf_test): Likewise.
18051 (erfc_test): Likewise.
18052 (exp_test): Likewise.
18053 (exp_test_tonearest): Likewise.
18054 (exp_test_towardzero): Likewise.
18055 (exp_test_downward): Likewise.
18056 (exp_test_upward): Likewise.
18057 (exp10_test): Likewise.
18058 (exp2_test): Likewise.
18059 (expm1_test): Likewise.
18060 (fmod_test): Likewise.
18061 (gamma_test): Likewise.
18062 (hypot_test): Likewise.
18063 (j0_test): Likewise.
18064 (j1_test): Likewise.
18065 (jn_test): Likewise.
18066 (lgamma_test): Likewise.
18067 (log_test): Likewise.
18068 (log10_test): Likewise.
18069 (log1p_test): Likewise.
18070 (log2_test): Likewise.
18071 (logb_test_downward): Likewise.
18072 (pow_test): Likewise.
18073 (pow_test_tonearest): Likewise.
18074 (pow_test_towardzero): Likewise.
18075 (pow_test_downward): Likewise.
18076 (pow_test_upward): Likewise.
18077 (remainder_test): Likewise.
18078 (remquo_test): Likewise.
18079 (sin_test): Likewise.
18080 (sin_test_tonearest): Likewise.
18081 (sin_test_towardzero): Likewise.
18082 (sin_test_downward): Likewise.
18083 (sin_test_upward): Likewise.
18084 (sincos_test): Likewise.
18085 (sinh_test): Likewise.
18086 (sinh_test_tonearest): Likewise.
18087 (sinh_test_towardzero): Likewise.
18088 (sinh_test_downward): Likewise.
18089 (sinh_test_upward): Likewise.
18090 (sqrt_test): Likewise.
18091 (tan_test): Likewise.
18092 (tan_test_tonearest): Likewise.
18093 (tan_test_towardzero): Likewise.
18094 (tan_test_downward): Likewise.
18095 (tan_test_upward): Likewise.
18096 (tanh_test): Likewise.
18097 (tgamma_test): Likewise.
18098 (y0_test): Likewise.
18099 (y1_test): Likewise.
18100 (yn_test): Likewise.
18101
18102 * math/gen-libm-test.pl (adjust_arg): Remove function.
18103 (special_function): Remove argument $in_func. Only handle
18104 generating output for tables of tests, not inside functions.
18105 (parse_args): Likewise.
18106 (generate_testfile): Remove variable $in_func. Update call to
18107 parse_args.
18108 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
18109 (MINUS_ZERO_INIT): Rename macro to minus_zero.
18110 (PLUS_INFTY_INIT): Rename macro to plus_infty.
18111 (MINUS_INFTY_INIT): Rename macro to minus_infty.
18112 (QNAN_VALUE_INIT): Rename macro to qnan_value.
18113 (MAX_VALUE_INIT): Rename macro to max_value.
18114 (MIN_VALUE_INIT): Rename macro to min_value.
18115 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
18116 (plus_zero): Remove variable.
18117 (minus_zero): Likewise.
18118 (plus_infty): Likewise.
18119 (minus_infty): Likewise.
18120 (qnan_value): Likewise.
18121 (max_value): Likewise.
18122 (min_value): Likewise.
18123 (min_subnorm_value): Likewise.
18124
18125 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18126
18127 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
18128 uint64_t or uint32_t usage.
18129 * crypt/sha256-block.c: Likewise.
18130 * crypt/sha256-crypt.c: Likewise.
18131 * crypt/sha256.c: Likewise.
18132 * crypt/sha512-block.c: Likewise.
18133 * crypt/sha512-crypt.c: Likewise.
18134 * crypt/sha512.c: Likewise.
18135 * debug/backtrace-tst.c: Likewise.
18136 * debug/pcprofiledump.c: Likewise.
18137 * elf/cache.c: Likewise.
18138 * elf/dl-cache.c: Likewise.
18139 * elf/dl-misc.c: Likewise.
18140 * elf/dl-profile.c: Likewise.
18141 * elf/dl-support.c: Likewise.
18142 * elf/ldconfig.c: Likewise.
18143 * elf/sprof.c: Likewise.
18144 * iconv/dummy-repertoire.c: Likewise.
18145 * iconv/iconv_charmap.c: Likewise.
18146 * iconv/skeleton.c: Likewise.
18147 * iconvdata/8bit-generic.c: Likewise.
18148 * iconvdata/cp737.h: Likewise.
18149 * iconvdata/cp775.h: Likewise.
18150 * iconvdata/ibm1008.h: Likewise.
18151 * iconvdata/ibm1025.h: Likewise.
18152 * iconvdata/ibm1046.h: Likewise.
18153 * iconvdata/ibm1097.h: Likewise.
18154 * iconvdata/ibm1112.h: Likewise.
18155 * iconvdata/ibm1122.h: Likewise.
18156 * iconvdata/ibm1123.h: Likewise.
18157 * iconvdata/ibm1124.h: Likewise.
18158 * iconvdata/ibm1129.h: Likewise.
18159 * iconvdata/ibm1130.h: Likewise.
18160 * iconvdata/ibm1132.h: Likewise.
18161 * iconvdata/ibm1133.h: Likewise.
18162 * iconvdata/ibm1137.h: Likewise.
18163 * iconvdata/ibm1140.h: Likewise.
18164 * iconvdata/ibm1141.h: Likewise.
18165 * iconvdata/ibm1142.h: Likewise.
18166 * iconvdata/ibm1143.h: Likewise.
18167 * iconvdata/ibm1144.h: Likewise.
18168 * iconvdata/ibm1145.h: Likewise.
18169 * iconvdata/ibm1146.h: Likewise.
18170 * iconvdata/ibm1147.h: Likewise.
18171 * iconvdata/ibm1148.h: Likewise.
18172 * iconvdata/ibm1149.h: Likewise.
18173 * iconvdata/ibm1153.h: Likewise.
18174 * iconvdata/ibm1154.h: Likewise.
18175 * iconvdata/ibm1155.h: Likewise.
18176 * iconvdata/ibm1156.h: Likewise.
18177 * iconvdata/ibm1157.h: Likewise.
18178 * iconvdata/ibm1158.h: Likewise.
18179 * iconvdata/ibm1160.h: Likewise.
18180 * iconvdata/ibm1161.h: Likewise.
18181 * iconvdata/ibm1162.h: Likewise.
18182 * iconvdata/ibm1163.h: Likewise.
18183 * iconvdata/ibm1164.h: Likewise.
18184 * iconvdata/ibm1166.h: Likewise.
18185 * iconvdata/ibm1167.h: Likewise.
18186 * iconvdata/ibm12712.h: Likewise.
18187 * iconvdata/ibm1390.h: Likewise.
18188 * iconvdata/ibm1399.h: Likewise.
18189 * iconvdata/ibm16804.h: Likewise.
18190 * iconvdata/ibm4517.h: Likewise.
18191 * iconvdata/ibm4899.h: Likewise.
18192 * iconvdata/ibm4909.h: Likewise.
18193 * iconvdata/ibm4971.h: Likewise.
18194 * iconvdata/ibm5347.h: Likewise.
18195 * iconvdata/ibm803.h: Likewise.
18196 * iconvdata/ibm856.h: Likewise.
18197 * iconvdata/ibm901.h: Likewise.
18198 * iconvdata/ibm902.h: Likewise.
18199 * iconvdata/ibm9030.h: Likewise.
18200 * iconvdata/ibm9066.h: Likewise.
18201 * iconvdata/ibm921.h: Likewise.
18202 * iconvdata/ibm922.h: Likewise.
18203 * iconvdata/ibm9448.h: Likewise.
18204 * iconvdata/isiri-3342.h: Likewise.
18205 * iconvdata/jis0201.h: Likewise.
18206 * include/link.h: Likewise.
18207 * include/netdb.h: Likewise.
18208 * inet/check_native.c: Likewise.
18209 * inet/check_pf.c: Likewise.
18210 * inet/getipv4sourcefilter.c: Likewise.
18211 * inet/getnameinfo.c: Likewise.
18212 * inet/getsourcefilter.c: Likewise.
18213 * inet/htonl.c: Likewise.
18214 * inet/setipv4sourcefilter.c: Likewise.
18215 * inet/setsourcefilter.c: Likewise.
18216 * inet/test-inet6_opt.c: Likewise.
18217 * inet/tst-network.c: Likewise.
18218 * locale/C-collate.c: Likewise.
18219 * locale/C-ctype.c: Likewise.
18220 * locale/C-time.c: Likewise.
18221 * locale/C-translit.h: Likewise.
18222 * locale/loadarchive.c: Likewise.
18223 * locale/programs/3level.h: Likewise.
18224 * locale/programs/charmap.c: Likewise.
18225 * locale/programs/charmap.h: Likewise.
18226 * locale/programs/ld-address.c: Likewise.
18227 * locale/programs/ld-collate.c: Likewise.
18228 * locale/programs/ld-ctype.c: Likewise.
18229 * locale/programs/ld-identification.c: Likewise.
18230 * locale/programs/ld-measurement.c: Likewise.
18231 * locale/programs/ld-messages.c: Likewise.
18232 * locale/programs/ld-monetary.c: Likewise.
18233 * locale/programs/ld-name.c: Likewise.
18234 * locale/programs/ld-numeric.c: Likewise.
18235 * locale/programs/ld-paper.c: Likewise.
18236 * locale/programs/ld-telephone.c: Likewise.
18237 * locale/programs/ld-time.c: Likewise.
18238 * locale/programs/linereader.c: Likewise.
18239 * locale/programs/locale.c: Likewise.
18240 * locale/programs/locarchive.c: Likewise.
18241 * locale/programs/locfile.h: Likewise.
18242 * locale/programs/repertoire.c: Likewise.
18243 * locale/programs/simple-hash.c: Likewise.
18244 * locale/programs/simple-hash.h: Likewise.
18245 * malloc/memusage.c: Likewise.
18246 * malloc/memusagestat.c: Likewise.
18247 * nis/nis_defaults.c: Likewise.
18248 * nis/nis_hash.c: Likewise.
18249 * nis/nis_print.c: Likewise.
18250 * nis/nis_xdr.c: Likewise.
18251 * nscd/connections.c: Likewise.
18252 * nscd/hstcache.c: Likewise.
18253 * nscd/nscd_gethst_r.c: Likewise.
18254 * nscd/nscd_getserv_r.c: Likewise.
18255 * nscd/nscd_helper.c: Likewise.
18256 * nscd/servicescache.c: Likewise.
18257 * nss/makedb.c: Likewise.
18258 * nss/nss_db/db-XXX.c: Likewise.
18259 * nss/nss_db/db-initgroups.c: Likewise.
18260 * nss/nss_db/db-netgrp.c: Likewise.
18261 * nss/nss_files/files-network.c: Likewise.
18262 * nss/nss_files/files-parse.c: Likewise.
18263 * posix/bug-regex5.c: Likewise.
18264 * posix/fnmatch_loop.c: Likewise.
18265 * posix/regcomp.c: Likewise.
18266 * posix/regexec.c: Likewise.
18267 * posix/tst-rfc3484-2.c: Likewise.
18268 * posix/tst-rfc3484-3.c: Likewise.
18269 * posix/tst-rfc3484.c: Likewise.
18270 * resolv/nss_dns/dns-canon.c: Likewise.
18271 * resolv/nss_dns/dns-network.c: Likewise.
18272 * resolv/res_init.c: Likewise.
18273 * resolv/res_mkquery.c: Likewise.
18274 * resolv/tst-aton.c: Likewise.
18275 * stdlib/cxa_atexit.c: Likewise.
18276 * stdlib/cxa_finalize.c: Likewise.
18277 * stdlib/gen-fpioconst.c: Likewise.
18278 * stdlib/strtol_l.c: Likewise.
18279 * string/tst-endian.c: Likewise.
18280 * sunrpc/auth_des.c: Likewise.
18281 * sunrpc/clnt_udp.c: Likewise.
18282 * sunrpc/rtime.c: Likewise.
18283 * sunrpc/svcauth_des.c: Likewise.
18284 * sunrpc/xdr.c: Likewise.
18285 * sunrpc/xdr_intXX_t.c: Likewise.
18286 * sunrpc/xdr_rec.c: Likewise.
18287 * sysdeps/generic/ldconfig.h: Likewise.
18288 * sysdeps/generic/ldsodefs.h: Likewise.
18289 * sysdeps/generic/memusage.h: Likewise.
18290 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18291 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
18292 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
18293 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18294 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18295 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18296 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18297 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18298 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18299 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18300 * sysdeps/posix/getaddrinfo.c: Likewise.
18301 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18302 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18303 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18304 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18305 * sysdeps/powerpc/test-gettimebase.c: Likewise.
18306 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18307 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
18308 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
18309 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
18310 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
18311 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18312 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18313 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
18314 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
18315 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
18316 * sysdeps/x86_64/dl-tls.h: Likewise.
18317 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
18318 * time/alt_digit.c: Likewise.
18319 * time/era.c: Likewise.
18320 * wcsmbs/tst-c16c32-1.c: Likewise.
18321
18322 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18323
18324 * math/libm-test.inc (struct test_sincos_data): New type.
18325 (RUN_TEST_LOOP_sincos): New macro.
18326 (sincos_test_data): New variable.
18327 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
18328
18329 2013-05-16 Richard Henderson <rth@redhat.com>
18330
18331 * math/atest-exp2.c (LIMB64): New macro.
18332 (CONSTSZ): New macro.
18333 (mp_exp1, mp_exp_m1, mp_log2): New variables.
18334 (hexdig): Move ...
18335 (print_mpn_fp): ... to function scope.
18336 (read_mpn_hex): Remove.
18337 (get_log2): Remove.
18338 (exp2_mpn): Use mp_log2.
18339 (main): Use mp_exp1.
18340
18341 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18342
18343 * math/libm-test.inc: Remove comment about not testing "inexact"
18344 exceptions.
18345 (INEXACT_EXCEPTION): New macro.
18346 (NO_INEXACT_EXCEPTION): Likewise.
18347 (INVALID_EXCEPTION_OK): Update value.
18348 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18349 (OVERFLOW_EXCEPTION_OK): Likewise.
18350 (UNDERFLOW_EXCEPTION_OK): Likewise.
18351 (IGNORE_ZERO_INF_SIGN): Likewise.
18352 (ERRNO_UNCHANGED): Likewise.
18353 (ERRNO_EDOM): Likewise.
18354 (ERRNO_ERANGE): Likewise.
18355 (test_exceptions): Handle testing "inexact" exceptions.
18356 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
18357 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
18358 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
18359 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
18360 INEXACT_EXCEPTION.
18361 (rint_towardzero_test_data): Likewise.
18362 (rint_downward_test_data): Likewise.
18363 (rint_upward_test_data): Likewise.
18364
18365 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
18366 with OVERFLOW_EXCEPTION.
18367 (exp10_test_data): Likewise.
18368 (exp2_test_data): Likewise.
18369 (expm1_test_data): Likewise.
18370 (lgamma_test_data): Likewise.
18371 (pow_test_data): Likewise.
18372 (tgamma_test_data): Likewise.
18373 (yn_test_data): Remove duplicate test of overflow.
18374
18375 * math/libm-test.inc (struct test_cc_c_data): New type.
18376 (RUN_TEST_LOOP_cc_c): New macro.
18377 (cpow_test_data): New variable.
18378 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
18379
18380 * math/libm-test.inc (struct test_f_L_data): New type.
18381 (RUN_TEST_LOOP_f_L): New macro.
18382 (llrint_test_data): New variable.
18383 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
18384 (llrint_tonearest_test_data): New variable.
18385 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
18386 (llrint_towardzero_test_data): New variable.
18387 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
18388 (llrint_downward_test_data): New variable.
18389 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
18390 (llrint_upward_test_data): New variable.
18391 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
18392 (llround_test_data): New variable.
18393 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
18394
18395 2013-05-13 Peter Collingbourne <pcc@google.com>
18396
18397 * math/atest-exp2.c (get_log2): Remove const attribute.
18398
18399 2013-05-15 Joseph Myers <joseph@codesourcery.com>
18400
18401 * math/libm-test.inc (struct test_f_l_data): New type.
18402 (RUN_TEST_LOOP_f_l): New macro.
18403 (lrint_test_data): New variable.
18404 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
18405 (lrint_tonearest_test_data): New variable.
18406 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
18407 (lrint_towardzero_test_data): New variable.
18408 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
18409 (lrint_downward_test_data): New variable.
18410 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
18411 (lrint_upward_test_data): New variable.
18412 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
18413 (lround_test_data): New variable.
18414 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
18415
18416 2013-05-15 Peter Collingbourne <pcc@google.com>
18417
18418 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
18419 (EXTRACT_WORDS64) Use where appropriate.
18420 (INSERT_WORDS64) Likewise.
18421
18422 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
18423 constraints with x constraints.
18424 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
18425
18426 * malloc/obstack.c (_obstack_compat): Add initializer.
18427
18428 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
18429
18430 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
18431 si_trapno and add si_addr_lsb to _sifields.sigfault.
18432 (si_trapno): Remove macro.
18433 (si_addr_lsb): Define new macro.
18434 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18435
18436 2013-05-15 Joseph Myers <joseph@codesourcery.com>
18437
18438 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
18439 instead of TEST_f_l.
18440 (llrint_test_tonearest): Likewise.
18441 (llrint_test_towardzero): Likewise.
18442 (llrint_test_downward): Likewise.
18443 (llrint_test_upward): Likewise.
18444 (llround_test): Likewise.
18445
18446 * math/libm-test.inc (struct test_f_i_data): Add comment.
18447 (RUN_TEST_LOOP_f_b): New macro.
18448 (RUN_TEST_LOOP_f_b_tg): Likewise.
18449 (finite_test_data): New variable.
18450 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
18451 (isfinite_test_data): New variable.
18452 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18453 (isinf_test_data): New variable.
18454 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18455 (isnan_test_data): New variable.
18456 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18457 (isnormal_test_data): New variable.
18458 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18459 (issignaling_test_data): New variable.
18460 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18461 (signbit_test_data): New variable.
18462 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18463
18464 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
18465 with INVALID_EXCEPTION.
18466 (acosh_test_data): Likewise.
18467 (asin_test_data): Likewise.
18468 (atanh_test_data): Likewise.
18469 (fmod_test_data): Likewise.
18470 (log_test_data): Likewise.
18471 (log10_test_data): Likewise.
18472 (log2_test_data): Likewise.
18473 (pow_test_data): Likewise.
18474 (sqrt_test_data): Likewise.
18475 (y0_test_data): Likewise.
18476 (y1_test_data): Likewise.
18477 (yn_test_data): Likewise.
18478
18479 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
18480 function contents.
18481
18482 * math/libm-test.inc (struct test_ff_i_data): New type.
18483 (RUN_TEST_LOOP_ff_i_tg): New macro.
18484 (isgreater_test_data): New variable.
18485 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18486 (isgreaterequal_test_data): New variable.
18487 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18488 (isless_test_data): New variable.
18489 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18490 (islessequal_test_data): New variable.
18491 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18492 (islessgreater_test_data): New variable.
18493 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18494 (isunordered_test_data): New variable.
18495 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18496
18497 2013-05-14 David S. Miller <davem@davemloft.net>
18498
18499 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18500
18501 2013-05-14 Joseph Myers <joseph@codesourcery.com>
18502
18503 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
18504
18505 * math/libm-test.inc (struct test_fF_f1_data): Change type of
18506 extra_test to int.
18507 (struct test_f_i_data): Change type of max_ulp to int.
18508
18509 * math/libm-test.inc (test_ffI_f1_data): New type.
18510 (RUN_TEST_LOOP_ffI_f1): New macro.
18511 (remquo_test_data): New variable.
18512 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
18513
18514 * setjmp/tst-setjmp-fp.c: New file.
18515 * setjmp/Makefile (tests): Add tst-setjmp-fp.
18516 (link-libm): New variable.
18517 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
18518
18519 * math/libm-test.inc (struct test_f_i_data): New type.
18520 (RUN_TEST_LOOP_f_i): New macro.
18521 (RUN_TEST_LOOP_f_i_tg): Likewise.
18522 (fpclassify_test_data): New variable.
18523 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
18524 (ilogb_test_data): New variable.
18525 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
18526
18527 * math/libm-test.inc (scalbln_test): Correct function name in END
18528 call.
18529
18530 * math/libm-test.inc (struct test_f_f1_data): Add comment.
18531 (RUN_TEST_LOOP_fI_f1): New macro.
18532 (frexp_test_data): New variable.
18533 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
18534
18535 * math/libm-test.inc (struct test_fF_f1_data): New type.
18536 (RUN_TEST_LOOP_fF_f1): New macro.
18537 (modf_test_data): New variable.
18538 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
18539
18540 * math/libm-test.inc (struct test_f_f1_data): New type.
18541 (RUN_TEST_LOOP_f_f1): New macro.
18542 (gamma_test_data): New variable.
18543 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18544 (lgamma_test_data): New variable.
18545 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18546
18547 2013-05-13 Carlos O'Donell <carlos@redhat.com>
18548
18549 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
18550 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
18551 (main): Comment "tls" pseudo-hwcap.
18552
18553 2013-05-13 Joseph Myers <joseph@codesourcery.com>
18554
18555 * math/libm-test.inc (struct test_fl_f_data): New type.
18556 (RUN_TEST_LOOP_fl_f): New variable.
18557 (scalbln_test_data): New variable.
18558 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
18559
18560 * math/libm-test.inc (struct test_fi_f_data): New type.
18561 (RUN_TEST_LOOP_fi_f): New macro.
18562 (ldexp_test_data): New variable.
18563 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
18564 (scalbn_test_data): New variable.
18565 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
18566
18567 * math/libm-test.inc (struct test_c_f_data): New type.
18568 (RUN_TEST_LOOP_c_f): New macro.
18569 (cabs_test_data): New variable.
18570 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
18571 (carg_test_data): New variable.
18572 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
18573 (cimag_test_data): New variable.
18574 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
18575 (creal_test_data): New variable.
18576 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
18577
18578 * math/libm-test.inc (struct test_if_f_data): New type.
18579 (RUN_TEST_LOOP_if_f): New macro.
18580 (jn_test_data): New variable.
18581 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
18582 (yn_test_data): New variable.
18583 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
18584
18585 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
18586
18587 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18588
18589 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
18590 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
18591
18592 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18593
18594 * benchtests/Makefile (CPPFLAGS-nonlib): Add
18595 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
18596 (bench-deps): Add bench-timing.h.
18597 * benchtests-bench-skeleton.c: Include bench-timing.h.
18598 (main): Use TIMING_* macros instead of clock_gettime.
18599 * benchtests/bench-timing.h: New file.
18600
18601 [BZ #14582]
18602 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
18603 Renamed from _LIB_VERSION.
18604 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
18605
18606 2013-05-12 Joseph Myers <joseph@codesourcery.com>
18607
18608 * math/libm-test.inc (struct test_fff_f_data): New type.
18609 (RUN_TEST_LOOP_fff_f): New macro.
18610 (fma_test_data): New variable.
18611 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
18612 (fma_towardzero_test_data): New variable.
18613 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
18614 (fma_downward_test_data): New variable.
18615 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
18616 (fma_upward_test_data): New variable.
18617 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
18618
18619 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
18620 (struct test_c_c_data): New type.
18621 (RUN_TEST_LOOP_c_c): New macro.
18622 (cacos_test_data): New variable.
18623 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
18624 (cacosh_test_data): New variable.
18625 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
18626 (casin_test_data): New variable.
18627 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
18628 (casinh_test_data): New variable.
18629 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
18630 (catan_test_data): New variable.
18631 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
18632 (catanh_test_data): New variable.
18633 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
18634 (ccos_test_data): New variable.
18635 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
18636 (ccosh_test_data): New variable.
18637 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
18638 (cexp_test_data): New variable.
18639 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
18640 (clog_test_data): New variable.
18641 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
18642 (clog10_test_data): New variable.
18643 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
18644 (conj_test_data): New variable.
18645 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
18646 (cproj_test_data): New variable.
18647 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
18648 (csin_test_data): New variable.
18649 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
18650 (csinh_test_data): New variable.
18651 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
18652 (csqrt_test_data): New variable.
18653 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
18654 (ctan_test_data): New variable.
18655 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
18656 (ctan_tonearest_test_data): New variable.
18657 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18658 (ctan_towardzero_test_data): New variable.
18659 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18660 (ctan_downward_test_data): New variable.
18661 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18662 (ctan_upward_test_data): New variable.
18663 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18664 (ctanh_test_data): New variable.
18665 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
18666 (ctanh_tonearest_test_data): New variable.
18667 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18668 (ctanh_towardzero_test_data): New variable.
18669 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18670 (ctanh_downward_test_data): New variable.
18671 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18672 (ctanh_upward_test_data): New variable.
18673 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18674 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
18675 of BUILD_COMPLEX.
18676
18677 * math/libm-test.inc (struct test_ff_f_data): New type.
18678 (struct test_ff_f_data_nexttoward): Likewise.
18679 (RUN_TEST_LOOP_2_f): New macro.
18680 (RUN_TEST_LOOP_ff_f): Likewise.
18681 (atan2_test_data): New variable.
18682 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
18683 (copysign_test_data): New variable.
18684 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
18685 (fdim_test_data): New variable.
18686 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
18687 (fmax_test_data): New variable.
18688 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
18689 (fmin_test_data): New variable.
18690 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
18691 (fmod_test_data): New variable.
18692 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
18693 (hypot_test_data): New variable.
18694 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
18695 (nextafter_test_data): New variable.
18696 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
18697 (nexttoward_test_data): New variable.
18698 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
18699 (pow_test_data): New variable.
18700 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
18701 (pow_tonearest_test_data): New variable.
18702 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
18703 (pow_towardzero_test_data): New variable.
18704 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
18705 (pow_downward_test_data): New variable.
18706 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
18707 (pow_upward_test_data): New variable.
18708 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
18709 (remainder_test_data): New variable.
18710 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
18711 (scalb_test_data): New variable.
18712 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
18713 * sysdeps/i386/fpu/libm-test-ulps: Update.
18714
18715 2013-05-11 Joseph Myers <joseph@codesourcery.com>
18716
18717 * math/libm-test.inc (fma_test): Use max_value instead of local
18718 variable fltmax.
18719 (nextafter_test): Likewise.
18720
18721 * math/libm-test.inc (acos_towardzero_test_data): New variable.
18722 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18723 (acos_downward_test_data): New variable.
18724 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18725 (acos_upward_test_data): New variable.
18726 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18727 (acosh_test_data): New variable.
18728 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
18729 (asin_test_data): New variable.
18730 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
18731 (asin_tonearest_test_data): New variable.
18732 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18733 (asin_towardzero_test_data): New variable.
18734 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18735 (asin_downward_test_data): New variable.
18736 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18737 (asin_upward_test_data): New variable.
18738 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18739 (asinh_test_data): New variable.
18740 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
18741 (atan_test_data): New variable.
18742 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
18743 (atanh_test_data): New variable.
18744 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
18745 (cbrt_test_data): New variable.
18746 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
18747 (ceil_test_data): New variable.
18748 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
18749 (cos_test_data): New variable.
18750 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
18751 (cos_tonearest_test_data): New variable.
18752 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18753 (cos_towardzero_test_data): New variable.
18754 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18755 (cos_downward_test_data): New variable.
18756 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18757 (cos_upward_test_data): New variable.
18758 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18759 (cosh_test_data): New variable.
18760 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
18761 (cosh_tonearest_test_data): New variable.
18762 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18763 (cosh_towardzero_test_data): New variable.
18764 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18765 (cosh_downward_test_data): New variable.
18766 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18767 (cosh_upward_test_data): New variable.
18768 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18769 (erf_test_data): New variable.
18770 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
18771 (erfc_test_data): New variable.
18772 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
18773 (exp_test_data): New variable.
18774 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
18775 (exp_tonearest_test_data): New variable.
18776 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18777 (exp_towardzero_test_data): New variable.
18778 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18779 (exp_downward_test_data): New variable.
18780 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18781 (exp_upward_test_data): New variable.
18782 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18783 (exp10_test_data): New variable.
18784 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
18785 (exp2_test_data): New variable.
18786 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
18787 (expm1_test_data): New variable.
18788 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
18789 (fabs_test_data): New variable.
18790 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
18791 (floor_test_data): New variable.
18792 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
18793 (j0_test_data): New variable.
18794 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
18795 (j1_test_data): New variable.
18796 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
18797 (log_test_data): New variable.
18798 (log_test): Run tests with RUN_TEST_LOOP_f_f.
18799 (log10_test_data): New variable.
18800 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
18801 (log1p_test_data): New variable.
18802 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
18803 (log2_test_data): New variable.
18804 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
18805 (logb_test_data): New variable.
18806 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
18807 (logb_downward_test_data): New variable.
18808 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18809 (nearbyint_test_data): New variable.
18810 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
18811 (rint_test_data): New variable.
18812 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
18813 (rint_tonearest_test_data): New variable.
18814 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18815 (rint_towardzero_test_data): New variable.
18816 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18817 (rint_downward_test_data): New variable.
18818 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18819 (rint_upward_test_data): New variable.
18820 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18821 (round_test_data): New variable.
18822 (round_test): Run tests with RUN_TEST_LOOP_f_f.
18823 (sin_test_data): New variable.
18824 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
18825 (sin_tonearest_test_data): New variable.
18826 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18827 (sin_towardzero_test_data): New variable.
18828 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18829 (sin_downward_test_data): New variable.
18830 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18831 (sin_upward_test_data): New variable.
18832 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18833 (sinh_test_data): New variable.
18834 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
18835 (sinh_tonearest_test_data): New variable.
18836 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18837 (sinh_towardzero_test_data): New variable.
18838 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18839 (sinh_downward_test_data): New variable.
18840 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18841 (sinh_upward_test_data): New variable.
18842 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18843 (sqrt_test_data): New variable.
18844 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
18845 (tan_test_data): New variable.
18846 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
18847 (tan_tonearest_test_data): New variable.
18848 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18849 (tan_towardzero_test_data): New variable.
18850 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18851 (tan_downward_test_data): New variable.
18852 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18853 (tan_upward_test_data): New variable.
18854 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18855 (tanh_test_data): New variable.
18856 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
18857 (tgamma_test_data): New variable.
18858 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
18859 (trunc_test_data): New variable.
18860 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
18861 (y0_test_data): New variable.
18862 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
18863 (y1_test_data): New variable.
18864 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
18865 (significand_test_data): New variable.
18866 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
18867
18868 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
18869
18870 [BZ #12387]
18871 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
18872
18873 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
18874
18875 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
18876
18877 2013-05-10 Andreas Jaeger <aj@suse.de>
18878
18879 [BZ #15448]
18880 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
18881 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
18882
18883 2013-05-10 Joseph Myers <joseph@codesourcery.com>
18884
18885 * math/gen-libm-test.pl (adjust_arg): New function.
18886 (special_functions): Handle generating output in both functions
18887 and arrays.
18888 (parse_args): Likewise.
18889 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
18890 $in_func argument to parse_args.
18891 * math/libm-test.inc (struct test_f_f_data): New type.
18892 (IF_ROUND_INIT_): New macro.
18893 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
18894 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18895 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18896 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18897 (ROUND_RESTORE_): Likewise.
18898 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
18899 (ROUND_RESTORE_FE_TONEAREST): Likewise.
18900 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
18901 (ROUND_RESTORE_FE_UPWARD): Likewise.
18902 (RUN_TEST_LOOP_f_f): New macro.
18903 (acos_test_data): New variable.
18904 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
18905 (acos_tonearest_test_data): New variable.
18906 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18907
18908 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18909
18910 * benchtests/bench-skeleton.c (startup): Fix coding style.
18911
18912 2013-05-10 Joseph Myers <joseph@codesourcery.com>
18913
18914 [BZ #6809]
18915 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
18916 negative infinity argument.
18917 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
18918 negative infinity argument.
18919 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
18920 negative infinity argument.
18921 * math/libm-test.inc (tgamma_test): Expect errno to be set for
18922 domain errors.
18923
18924 2013-05-10 Florian Weimer <fweimer@redhat.com>
18925
18926 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
18927 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
18928 * iconv/iconv_prog.c (main): Likewise.
18929 * locale/programs/charmap-dir.c (charmap_readdir)
18930 (fopen_uncompressed): Likewise.
18931 * locale/programs/locfile.c (siblings_uncached)
18932 (write_locale_data): Use lstat64 instead of lstat.
18933 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
18934 stat.
18935
18936 2013-05-10 Andreas Jaeger <aj@suse.de>
18937
18938 [BZ #15395]
18939 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
18940 localization.
18941 Include <locale.h>.
18942
18943 2013-05-09 Carlos O'Donell <carlos@redhat.com>
18944
18945 * elf/dl-close.c (_dl_close_worker): Add comments.
18946
18947 2013-05-09 Joseph Myers <joseph@codesourcery.com>
18948
18949 [BZ #15359]
18950 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
18951 high part of pi/2.
18952 (__ieee754_rem_pio2l): Update comments.
18953
18954 [BZ #15429]
18955 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
18956 high part of pi/2.
18957 (__ieee754_rem_pio2l): Update comments.
18958
18959 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
18960 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
18961
18962 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
18963 M_PI_4l.
18964
18965 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
18966 (M_PI_34_LOG10El): Likewise.
18967 (M_PI2_LOG10El): Likewise.
18968 (M_PI4_LOG10El): Likewise.
18969 (M_PI_LOG10El): Likewise.
18970
18971 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18972
18973 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18974
18975 2013-05-08 Joseph Myers <joseph@codesourcery.com>
18976
18977 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
18978 (MINUS_ZERO_INIT): Likewise.
18979 (PLUS_INFTY_INIT): Likewise.
18980 (MINUS_INFTY_INIT): Likewise.
18981 (QNAN_VALUE_INIT): Likewise.
18982 (MAX_VALUE_INIT): Likewise.
18983 (MIN_VALUE_INIT): Likewise.
18984 (MIN_SUBNORM_VALUE_INIT): Likewise.
18985 (plus_zero): Initialize with PLUS_ZERO_INIT.
18986 (minus_zero): Initialize with MINUS_ZERO_INIT.
18987 (plus_infty): Initialize with PLUS_INFTY_INIT.
18988 (minus_infty): Initialize with MINUS_INFTY_INIT.
18989 (qnan_value): Initialize with QNAN_VALUE_INIT.
18990 (max_value): Initialize with MAX_VALUE_INIT.
18991 (min_value): Initialize with MIN_VALUE_INIT.
18992 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
18993
18994 * math/libm-test.inc (RUN_TEST_if_f): New macro.
18995 (jn_test): Use TEST_if_f instead of TEST_ff_f.
18996 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
18997 (yn_test): Use TEST_if_f instead of TEST_ff_f.
18998
18999 * math/libm-test.inc (RUN_TEST_f_f): New macro.
19000 (RUN_TEST_2_f): Likewise.
19001 (RUN_TEST_ff_f): Likewise.
19002 (RUN_TEST_fi_f): Likewise.
19003 (RUN_TEST_fl_f): Likewise.
19004 (RUN_TEST_fff_f): Likewise.
19005 (RUN_TEST_c_f): Likewise.
19006 (RUN_TEST_f_f1): Likewise.
19007 (RUN_TEST_fF_f1): Likewise.
19008 (RUN_TEST_fI_f1): Likewise.
19009 (RUN_TEST_ffI_f1): Likewise.
19010 (RUN_TEST_c_c): Likewise.
19011 (RUN_TEST_cc_c): Likewise.
19012 (RUN_TEST_f_i): Likewise.
19013 (RUN_TEST_f_i_tg): Likewise.
19014 (RUN_TEST_ff_i_tg): Likewise.
19015 (RUN_TEST_f_b): Likewise.
19016 (RUN_TEST_f_b_tg): Likewise.
19017 (RUN_TEST_f_l): Likewise.
19018 (RUN_TEST_f_L): Likewise.
19019 (RUN_TEST_sincos): Likewise.
19020 * math/gen-libm-test.pl (new_test): Take new argument to indicate
19021 whether to show exceptions. Do not include ");\n" in return
19022 value.
19023 (special_functions): Output call to RUN_TEST_sincos instead of
19024 check_float calls. Update calls to new_test.
19025 (parse_args): Output call to single RUN_TEST_* macro instead of
19026 check_* calls and other assignments. Update calls to new_test.
19027
19028 [BZ #2546]
19029 [BZ #2560]
19030 [BZ #5159]
19031 [BZ #15426]
19032 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
19033 input to result for tgamma overflow.
19034 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
19035 (gamma_coeff): New variable.
19036 (NCOEFF): New macro.
19037 (gamma_positive): New function.
19038 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
19039 underflow here. Use gamma_positive instead of exp (lgamma) for
19040 other arguments.
19041 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
19042 (gamma_coeff): New variable.
19043 (NCOEFF): New macro.
19044 (gammaf_positive): New function.
19045 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
19046 underflow here. Use gamma_positive instead of exp (lgamma) for
19047 other arguments.
19048 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
19049 (gamma_coeff): New variable.
19050 (NCOEFF): New macro.
19051 (gammal_positive): New function.
19052 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
19053 underflow here. Use gamma_positive instead of exp (lgamma) for
19054 other arguments.
19055 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
19056 (gamma_coeff): New variable.
19057 (NCOEFF): New macro.
19058 (gammal_positive): New function.
19059 (__ieee754_gammal_r): Handle positive infinity, overflow and
19060 underflow here. Handle NaN the same as positive infinity. Remove
19061 check x < 0xffffffff for negative integers. Use gamma_positive
19062 instead of exp (lgamma) for other arguments.
19063 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
19064 (gamma_coeff): New variable.
19065 (NCOEFF): New macro.
19066 (gammal_positive): New function.
19067 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
19068 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
19069 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
19070 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
19071 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
19072 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
19073 * sysdeps/generic/math_private.h (__gamma_productf): New
19074 prototype.
19075 (__gamma_product): Likewise.
19076 (__gamma_productl): Likewise.
19077 * math/Makefile (libm-calls): Add gamma_product.
19078 * math/libm-test.inc (tgamma_test): Add more tests.
19079 * sysdeps/i386/fpu/libm-test-ulps: Update.
19080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19081
19082 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
19083
19084 * benchtests/bench-skeleton.c (main): Preheat CPU.
19085
19086 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
19087
19088 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
19089
19090 2013-05-07 Roland McGrath <roland@hack.frob.com>
19091
19092 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
19093 and _dl_skip_args_internal.
19094
19095 2013-05-07 Carlos O'Donell <carlos@redhat.com>
19096
19097 * manual/message.texi (Message Translation): Talk about users.
19098 Message to key mapping impacts design.
19099
19100 2013-05-06 Roland McGrath <roland@hack.frob.com>
19101
19102 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
19103
19104 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
19105
19106 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
19107 * sysdeps/wordsize-64/glob64.c: ... here.
19108
19109 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
19110 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
19111 New macros.
19112
19113 * debug/getlogin_r_chk.c: Moved to ...
19114 * login/getlogin_r_chk.c: ... here.
19115 * debug/Makefile (routines): Move getlogin_r_chk to ...
19116 * login/Makefile (routines): ... here.
19117 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
19118 * login/Versions (libc: GLIBC_2.4): ... here.
19119
19120 * io/poll.c (__poll): Renamed from poll.
19121 Add libc_hidden_def.
19122 (poll): Define as weak alias.
19123
19124 * debug/ptsname_r_chk.c: Moved to ...
19125 * login/ptsname_r_chk.c: ... here.
19126 * debug/Makefile (routines): Move ptsname_r_chk to ...
19127 * login/Makefile (routines): ... here.
19128 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
19129 * login/Versions (libc: GLIBC_2.4): ... here.
19130
19131 * posix/getlogin.c: Moved to ...
19132 * login/getlogin.c: ... here.
19133 * posix/getlogin_r.c: Moved to ...
19134 * login/getlogin_r.c: ... here.
19135 * posix/getlogin_r.c: Moved to ...
19136 * login/getlogin_r.c: ... here.
19137 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
19138 * login/Makefile (routines): ... here.
19139 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
19140 * login/Versions (libc: GLIBC_2.0): ... here.
19141
19142 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
19143 (setrlimit): Define as weak alias.
19144
19145 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
19146 Call __ names for open, ftruncate, and close.
19147 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
19148 (truncate): Define as weak alias.
19149
19150 2013-05-06 Joseph Myers <joseph@codesourcery.com>
19151
19152 * math/gen-libm-test.pl (parse_args): Initialize x before each
19153 test of frexp, modf and remquo.
19154
19155 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
19156 test signgam value.
19157
19158 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19159
19160 [BZ #15418]
19161 [BZ #15419]
19162 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
19163 internal tests.
19164 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19165
19166 2013-05-06 Roland McGrath <roland@hack.frob.com>
19167
19168 * elf/dl-writev.h: New file.
19169 * elf/dl-misc.c: Include it.
19170 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
19171 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
19172
19173 2013-05-04 Joseph Myers <joseph@codesourcery.com>
19174
19175 * math/libm-test.inc (noXFails): Remove variable.
19176 (noXPasses): Likewise.
19177 (BUILD_COMPLEX_INT): Remove macro.
19178 (print_screen): Remove xfail argument.
19179 (print_screen_max_error): Likewise.
19180 (update_stats): Likewise.
19181 (print_max_error): Likewise. Update calls to other affected
19182 functions.
19183 (print_complex_max_error): Likewise.
19184 (test_single_exception): Update calls to print_screen.
19185 (test_single_errno): Likewise.
19186 (check_float_internal): Remove xfail argument. Update calls to
19187 other affected functions.
19188 (check_float): Likewise.
19189 (check_complex): Likewise.
19190 (check_int): Likewise.
19191 (check_long): Likewise.
19192 (check_bool): Likewise.
19193 (check_longlong): Likewise.
19194 (main): Don't print noXFails and noXPasses.
19195 * math/gen-libm-test.pl (top level): Don't mention expected
19196 failure handling in comment.
19197 (new_test): Don't handle expected failures.
19198 (parse_args): Don't mention expected failure handling in comment.
19199 (generate_testfile): Don't handle expected failures.
19200 (parse_ulps): Likewise.
19201 (print_ulps_file): Likewise.
19202 (get_failure): Remove function.
19203 (output_test): Don't handle expected failures.
19204 * make/README.libm-test: Don't mention expected failure handling.
19205
19206 * math/libm-test.inc (plus_zero): Make const. Add initializer.
19207 (minus_zero): Likewise.
19208 (plus_infty): Likewise.
19209 (minus_infty): Likewise.
19210 (qnan_value): Likewise.
19211 (max_value): Likewise.
19212 (min_value): Likewise.
19213 (min_subnorm_value): Likewise.
19214 (initialize): Do not initialize those variables dynamically.
19215
19216 2013-05-03 Roland McGrath <roland@hack.frob.com>
19217
19218 * io/open.c (__open_2): Moved to ...
19219 * io/open_2.c: ... this new file.
19220 * io/open64.c (__open64_2): Moved to ...
19221 * io/open64_2.c: ... this new file.
19222 * io/openat.c (__openat_2): Moved to ...
19223 * io/openat_2.c: ... this new file.
19224 * io/openat64.c (__openat64_2): Moved to ...
19225 * io/openat64_2.c: ... this new file.
19226 * io/Makefile (routines): Add them.
19227 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
19228 * sysdeps/unix/sysv/linux/open_2.c: File removed.
19229 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
19230 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
19231 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
19232 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
19233 (__openat64): Add hidden_ver.
19234 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
19235 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
19236
19237 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
19238 Separately conditionalize setting of GLRO(dl_sysinfo) so
19239 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
19240 as well, but the actual setting is only under [NEED_DL_SYSINFO].
19241
19242 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19243
19244 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
19245 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
19246 definition.
19247 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
19248 * sysdeps/unix/sysv/linux/powerpc/init-first.c
19249 (_libc_vdso_platform_setup): Add __vdso_time initialization.
19250 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
19251 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
19252
19253 2013-05-03 Joseph Myers <joseph@codesourcery.com>
19254
19255 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
19256 test signgam value.
19257
19258 * math/libm-test.inc (hypot_test): Do not use
19259 IGNORE_ZERO_INF_SIGN.
19260
19261 2013-05-03 Andreas Jaeger <aj@suse.de>
19262
19263 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
19264 Linux 3.9.
19265 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
19266 (PF_MAX): Adjust for VSOCK change.
19267
19268 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19269
19270 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19271
19272 2013-05-02 Carlos O'Donell <carlos@redhat.com>
19273
19274 [BZ #15264]
19275 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
19276 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
19277 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
19278
19279 2013-05-02 David S. Miller <davem@davemloft.net>
19280
19281 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19282
19283 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
19284
19285 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
19286
19287 2013-05-01 Roland McGrath <roland@hack.frob.com>
19288
19289 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
19290
19291 2013-05-01 Richard Smith <richard@metafoo.co.uk>
19292
19293 [BZ #14952]
19294 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
19295 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19296 Use __attribute__ ((__gnu_inline__)).
19297 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19298 Don't use __attribute__ ((__gnu_inline__)).
19299
19300 2013-05-01 Joseph Myers <joseph@codesourcery.com>
19301
19302 [BZ #15423]
19303 * math/s_catan.c (__catan): Handle small real or imaginary part of
19304 input specially to avoid spurious underflow.
19305 * math/s_catanf.c (__catanf): Likewise.
19306 * math/s_catanh.c (__catanh): Likewise.
19307 * math/s_catanhf.c (__catanhf): Likewise.
19308 * math/s_catanhl.c (__catanhl): Likewise.
19309 * math/s_catanl.c (__catanl): Likewise.
19310 * math/libm-test.inc (catan_test): Add more tests.
19311 (catanh_test): Likewise.
19312 * sysdeps/i386/fpu/libm-test-ulps: Update.
19313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19314
19315 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19316
19317 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19318
19319 2013-04-30 Joseph Myers <joseph@codesourcery.com>
19320
19321 [BZ #15416]
19322 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
19323 accurately for denominator in atan2.
19324 * math/s_catanf.c (__catanf): Likewise.
19325 * math/s_catanh.c (__catanh): Likewise.
19326 * math/s_catanhf.c (__catanhf): Likewise.
19327 * math/s_catanhl.c (__catanhl): Likewise.
19328 * math/s_catanl.c (__catanl): Likewise.
19329 * math/libm-test.inc (catan_test): Add more tests.
19330 (catanh_test): Likewise.
19331 * sysdeps/i386/fpu/libm-test-ulps: Update.
19332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19333
19334 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19335
19336 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
19337
19338 * benchtests/Makefile (bench): Remove slow benchmarks.
19339 * benchtests/atan-inputs: Add slow benchmark inputs.
19340 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
19341 (BENCH_FUNC): Accept variant offset.
19342 (VARIANT): Define.
19343 * benchtests/bench-skeleton.c (main): Run benchmark for each
19344 variant.
19345 * benchtests/cos-inputs: Add slow benchmark inputs.
19346 * benchtests/exp-inputs: Likewise.
19347 * benchtests/pow-inputs: Likewise.
19348 * benchtests/sin-inputs: Likewise.
19349 * benchtests/slowatan-inputs: Remove.
19350 * benchtests/slowatan.c: Remove.
19351 * benchtests/slowcos-inputs: Remove.
19352 * benchtests/slowcos.c: Remove.
19353 * benchtests/slowexp-inputs: Remove.
19354 * benchtests/slowexp.c: Remove.
19355 * benchtests/slowpow-inputs: Remove.
19356 * benchtests/slowpow.c: Remove.
19357 * benchtests/slowsin-inputs: Remove.
19358 * benchtests/slowsin.c: Remove.
19359 * benchtests/slowtan-inputs: Remove.
19360 * benchtests/slowtan.c: Remove.
19361 * benchtests/tan-inputs: Add slow benchmark inputs.
19362 * scripts/bench.pl: Parse comments and directives.
19363
19364 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
19365 in CPPFLAGS.
19366 ($(objpfx)bench-%.c): Remove *-ITER.
19367 * benchtests/bench-modf.c: Remove definition of ITER.
19368 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
19369 (main): Loop for DURATION seconds instead of fixed number of
19370 iterations.
19371 * scripts/bench.pl: Don't expect iterations in parameters.
19372
19373 2013-04-29 Roland McGrath <roland@hack.frob.com>
19374
19375 * io/fchdir.c (__fchdir): Renamed from fchdir.
19376 (fchdir): Define as weak alias.
19377
19378 2013-04-29 Joseph Myers <joseph@codesourcery.com>
19379
19380 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
19381 (ERRNO_EDOM): Likewise.
19382 (ERRNO_ERANGE): Likewise.
19383 (noErrnoTests): New variable.
19384 (init_max_error): Set errno to 0.
19385 (test_single_errno): New function.
19386 (test_errno): Likewise.
19387 (check_float_internal): Call test_errno. Set errno to 0.
19388 (check_complex): Refer to errno tests in comment.
19389 (check_int): Call test_errno. Set errno to 0.
19390 (check_long): Likewise.
19391 (check_bool): Likewise.
19392 (check_longlong): Likewise.
19393 (cos_test): Use ERRNO_* flags for errno tests instead of
19394 check_int.
19395 (expm1_test): Likewise.
19396 (fmod_test): Likewise.
19397 (ilogb_test): Likewise.
19398 (lgamma_test): Likewise.
19399 (pow_test): Likewise.
19400 (remainder_test): Likewise.
19401 (sin_test): Likewise.
19402 (tan_test): Likewise.
19403 (yn_test): Likewise.
19404 (initialize): Set errno to 0.
19405 (main): Print number of errno tests.
19406 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
19407
19408 2013-04-29 Andreas Jaeger <aj@suse.de>
19409
19410 [BZ #15084]
19411 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
19412 and RES_USEVC.
19413
19414 [BZ #15085]
19415 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
19416 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
19417 unimplemented.
19418
19419 [BZ #15380]
19420 * stdlib/random.c (__initstate): Return NULL if
19421 __initstate fails.
19422
19423 [BZ #15086]
19424 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
19425 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
19426 RES_SNGLKUPREOP.
19427
19428 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19429
19430 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19431
19432 2013-04-29 Joseph Myers <joseph@codesourcery.com>
19433
19434 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
19435 of individual tests.
19436 (casin_test): Likewise.
19437 (casinh_test): Likewise.
19438
19439 2013-04-27 Joseph Myers <joseph@codesourcery.com>
19440
19441 [BZ #15409]
19442 * math/s_catan.c (__catan): Handle arguments with large real or
19443 imaginary part separately without squaring.
19444 * math/s_catanf.c (__catanf): Likewise.
19445 * math/s_catanh.c (__catanh): Likewise.
19446 * math/s_catanhf.c (__catanhf): Likewise.
19447 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19448 and redefine.
19449 (__catanhl): Handle arguments with large real or imaginary part
19450 separately without squaring.
19451 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19452 and redefine.
19453 (__catanl): Handle arguments with large real or imaginary part
19454 separately without squaring.
19455 * math/libm-test.inc (catan_test): Add more tests.
19456 (catanh_test): Likewise.
19457 * sysdeps/i386/fpu/libm-test-ulps: Update.
19458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19459
19460 2013-04-27 Andreas Jaeger <aj@suse.de>
19461
19462 [BZ #15007]
19463 * stdlib/stdlib.h: Update guards for qecvt.
19464 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
19465 <stdlib.h>.
19466
19467 2013-04-27 Allan McRae <allan@archlinux.org>
19468
19469 * sysdeps/i386/fpu/libm-test-ulps: Update.
19470
19471 2013-04-26 Joseph Myers <joseph@codesourcery.com>
19472
19473 [BZ #15406]
19474 * math/s_catan.c: Include <float.h>.
19475 (__catan): Ensure underflow exception occurs for underflowed
19476 result.
19477 * math/s_catanf.c: Include <float.h>.
19478 (__catanf): Ensure underflow exception occurs for underflowed
19479 result.
19480 * math/s_catanh.c: Include <float.h>.
19481 (__catanh): Ensure underflow exception occurs for underflowed
19482 result.
19483 * math/s_catanhf.c: Include <float.h>.
19484 (__catanhf): Ensure underflow exception occurs for underflowed
19485 result.
19486 * math/s_catanhl.c: Include <float.h>.
19487 (__catanhl): Ensure underflow exception occurs for underflowed
19488 result.
19489 * math/s_catanl.c: Include <float.h>.
19490 (__catanl): Ensure underflow exception occurs for underflowed
19491 result.
19492 * math/libm-test.inc (catan_test): Add more tests.
19493 (catanh_test): Likewise.
19494
19495 [BZ #15405]
19496 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
19497 underflowed result.
19498 * math/s_ccoshf.c (__ccoshf): Likewise.
19499 * math/s_ccoshl.c (__ccoshl): Likewise.
19500 * math/s_csin.c (__csin): Likewise.
19501 * math/s_csinf.c (__csinf): Likewise.
19502 * math/s_csinh.c (__csinh): Likewise.
19503 * math/s_csinhf.c (__csinhf): Likewise.
19504 * math/s_csinhl.c (__csinhl): Likewise.
19505 * math/s_csinl.c (__csinl): Likewise.
19506 * math/libm-test.inc (ccos_test): Add more tests.
19507 (ccosh_test): Likewise.
19508 (csin_test): Likewise.
19509 (csinh_test): Likewise.
19510
19511 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19512
19513 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
19514 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
19515 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
19516 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
19517 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
19518 powerpc/power5+/fpu folders.
19519 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
19520
19521
19522 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
19523
19524 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19525
19526 2013-04-25 Joseph Myers <joseph@codesourcery.com>
19527
19528 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
19529 additions to variable.
19530 [$(config-machine) = x86_64] (modules-names): Likewise.
19531 ($(objpfx)tst-audit3): Remove dependency.
19532 ($(objpfx)tst-audit3.out): Likewise.
19533 ($(objpfx)tst-audit4): Likewise.
19534 ($(objpfx)tst-audit4.out): Likewise.
19535 ($(objpfx)tst-audit5): Likewise.
19536 ($(objpfx)tst-audit5.out): Likewise.
19537 ($(objpfx)tst-audit6): Likewise.
19538 ($(objpfx)tst-audit6.out): Likewise.
19539 ($(objpfx)tst-audit7): Likewise.
19540 ($(objpfx)tst-audit7.out): Likewise.
19541 (tst-audit3-ENV): Remove variable.
19542 (tst-audit4-ENV): Likewise.
19543 (tst-audit5-ENV): Likewise.
19544 (tst-audit6-ENV): Likewise.
19545 (tst-audit7-ENV): Likewise.
19546 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
19547 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
19548 addition to variable.
19549 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
19550 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
19551 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
19552 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
19553 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
19554 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
19555 tst-audit3, tst-audit4 and tst-audit5.
19556 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
19557 tst-audit6 and tst-audit7.
19558 [$(subdir) = elf] (modules-names): Add audit modules for those
19559 tests.
19560 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
19561 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
19562 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
19563 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
19564 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
19565 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
19566 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
19567 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
19568 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
19569 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
19570 [$(subdir) = elf] (tst-audit3-ENV): New variable.
19571 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
19572 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
19573 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
19574 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
19575 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
19576 Likewise.
19577 [$(subdir) = elf && $(config-cflags-avx) = yes]
19578 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
19579 [$(subdir) = elf && $(config-cflags-avx) = yes]
19580 (CFLAGS-tst-auditmod4a.c): Likewise.
19581 [$(subdir) = elf && $(config-cflags-avx) = yes]
19582 (CFLAGS-tst-auditmod4b.c): Likewise.
19583 [$(subdir) = elf && $(config-cflags-avx) = yes]
19584 (CFLAGS-tst-auditmod6b.c): Likewise.
19585 [$(subdir) = elf && $(config-cflags-avx) = yes]
19586 (CFLAGS-tst-auditmod6c.c): Likewise.
19587 [$(subdir) = elf && $(config-cflags-avx) = yes]
19588 (CFLAGS-tst-auditmod7b.c): Likewise.
19589 * elf/tst-audit3.c: Move to ...
19590 * sysdeps/x86_64/tst-audit3.c: ... here.
19591 * elf/tst-audit4.c: Move to ...
19592 * sysdeps/x86_64/tst-audit4.c: ... here.
19593 * elf/tst-audit5.c: Move to ...
19594 * sysdeps/x86_64/tst-audit5.c: ... here.
19595 * elf/tst-audit6.c: Move to ...
19596 * sysdeps/x86_64/tst-audit6.c: ... here.
19597 * elf/tst-audit7.c: Move to ...
19598 * sysdeps/x86_64/tst-audit7.c: ... here.
19599 * elf/tst-auditmod3a.c: Move to ...
19600 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
19601 * elf/tst-auditmod3b.c: Move to ...
19602 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
19603 * elf/tst-auditmod4a.c: Move to ...
19604 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
19605 * elf/tst-auditmod4b.c: Move to ...
19606 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
19607 * elf/tst-auditmod5a.c: Move to ...
19608 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
19609 * elf/tst-auditmod5b.c: Move to ...
19610 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
19611 * elf/tst-auditmod6a.c: Move to ...
19612 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
19613 * elf/tst-auditmod6b.c: Move to ...
19614 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
19615 * elf/tst-auditmod6c.c: Move to ...
19616 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
19617 * elf/tst-auditmod7a.c: Move to ...
19618 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
19619 * elf/tst-auditmod7b.c: Move to ...
19620 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
19621
19622 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
19623
19624 [BZ #15366]
19625 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
19626 define unconditionally.
19627 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
19628 define unconditionally.
19629 (INT8_C, INT16_C, etc.): Likewise.
19630
19631 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
19632
19633 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
19634 __ehdr_start with hidden visibility.
19635
19636 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
19637
19638 2013-04-24 Carlos O'Donell <carlos@redhat.com>
19639
19640 * math/libm-test.inc (cos_test): Use accurate hex constants.
19641 (sincost_test): Likewise.
19642
19643 2013-04-24 Joseph Myers <joseph@codesourcery.com>
19644
19645 * math/libm-test.inc (catan_test): Add more tests.
19646 (catanh_test): Likewise.
19647
19648 * math/s_catanf.c (__catanf): Use suffixed floating-point
19649 constants.
19650 * math/s_catanhf.c (__catanhf): Likewise.
19651 * math/s_catanhl.c (__catanhl): Likewise.
19652 * math/s_catanl.c (__catanl): Likewise.
19653
19654 [BZ #15394]
19655 * math/s_catan.c (__catan): Calculate imaginary part of result
19656 with log1p not log unless computing log of number close to 0.
19657 * math/s_catanf.c (__catanf): Likewise.
19658 * math/s_catanl.c (__catanl): Likewise.
19659 * math/s_catanh.c (__catanh): Calculate real part of result with
19660 log1p not log unless computing log of number close to 0.
19661 * math/s_catanhf.c (__catanhf): Likewise.
19662 * math/s_catanhl.c (__catanhl): Likewise.
19663 * math/libm-test.inc (catan_test): Add more tests.
19664 (catanh_test): Likewise.
19665 * sysdeps/i386/fpu/libm-test-ulps: Update.
19666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19667
19668 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19669
19670 * benchtests/Makefile: Mention files in which fast and slow
19671 paths of math functions are implemented.
19672
19673 2013-04-23 Roland McGrath <roland@hack.frob.com>
19674
19675 * sysdeps/posix/timespec_get.c: New file.
19676
19677 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19678
19679 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
19680 POWER.
19681 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
19682 for POWER.
19683 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
19684 powerpc/power5/fpu folders.
19685 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
19686 * benchtests/Makefile: Add modf testcase.
19687 * benchtests/bench-modf.c: New file: Benchmark test for mo
19688
19689 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
19690
19691 [BZ #14888]
19692 * time/Makefile (tests): Add tst-strptime-whitespace.
19693 * time/strptime_l.c (get_number): Use ISSPACE.
19694 (__strptime_internal): Likewise.
19695 * time/tst-strptime-whitespace.c: New test case.
19696
19697 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
19698
19699 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
19700 member.
19701 (_nss_files_init): Set it here.
19702
19703 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
19704
19705 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
19706 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
19707 unsigned.
19708
19709 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
19710
19711 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
19712
19713 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19714
19715 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
19716 size just once.
19717
19718 2013-04-21 David S. Miller <davem@davemloft.net>
19719
19720 * po/ru.po: Update Russion translation from translation project.
19721
19722 2013-04-17 Adam Conrad <adconrad@0c3.net>
19723
19724 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
19725 and setfsgid.
19726
19727 2013-04-17 Carlos O'Donell <carlos@redhat.com>
19728
19729 * configure.in: Remove i386 configure warning. Remove i386 case.
19730 * configure: Regenerate.
19731 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
19732 Add example to error message.
19733 * sysdeps/i386/configure: Regenerate.
19734
19735 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19736
19737 * benchtests/Makefile (bench): Add cos, tan, slowcos and
19738 slowtan.
19739 * benchtests/cos-inputs: New file.
19740 * benchtests/slowcos-inputs: New file.
19741 * benchtests/slowcos.c: New file.
19742 * benchtests/slowtan-inputs: New file.
19743 * benchtests/slowtan.c: New file.
19744 * benchtests/tan-inputs: New file.
19745
19746 2013-04-16 Roland McGrath <roland@hack.frob.com>
19747
19748 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
19749 considered kosher.
19750
19751 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19752
19753 * benchtests/Makefile: Include cppflags-iterator.mk to add
19754 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
19755
19756 * Makefile.in (bench-clean): New target.
19757 * benchtests/Makefile (bench-clean): Likewise.
19758
19759 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
19760
19761 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
19762
19763 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
19764
19765 * stdio-common/tstdiomisc.c: Fix coding-style violation.
19766
19767 2013-04-15 Andreas Schwab <schwab@suse.de>
19768
19769 * nscd/grpcache.c (cache_addgr): Properly check for short write.
19770 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19771 * nscd/pwdcache.c (cache_addpw): Likewise.
19772 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
19773 more than recsize.
19774
19775 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19776
19777 * benchtests/Makefile (bench): Write all output to
19778 bench-out.tmp together.
19779
19780 2013-04-15 Andreas Schwab <schwab@suse.de>
19781
19782 * nscd/nscd.c (main): Don't fork again after closing files.
19783
19784 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19785
19786 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
19787
19788 * benchtests/Rules (bench-deps): Collect dependencies into a
19789 single variable. Add Makefile to dependencies.
19790 ($(objpfx)bench-%.c): Depend on bench-deps.
19791
19792 2013-04-12 Roland McGrath <roland@hack.frob.com>
19793 Xavier Roche <roche+kml2@exalead.com>
19794
19795 [BZ #15361]
19796 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
19797 just that it's a file descriptor.
19798 * manual/llio.texi (Synchronizing AIO Operations): Update description
19799 for EBADF error from aio_fsync.
19800
19801 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19802
19803 * Rules (bench): Move target definition...
19804 * benchtests/Makefile: ... here.
19805
19806 2013-04-11 Carlos O'Donell <carlos@redhat.com>
19807
19808 * math/libm-test.inc (cos_test): Fix PI/2 test.
19809 (sincos_test): Likewise.
19810 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
19811 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
19812
19813 2013-04-11 Andreas Schwab <schwab@suse.de>
19814
19815 [BZ #13988]
19816 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
19817 accept exponent character only when digits were seen.
19818 * stdio-common/Makefile (tests): Add bug26.
19819 * stdio-common/bug26.c: New file.
19820
19821 [BZ #14293]
19822 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
19823 non-freeable.
19824
19825 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19826
19827 * Makeconfig (rtld-prefix): Define built linker prefix.
19828 * Rules (run-bench): Use it.
19829 * math/Makefile (run-regen-ulps): Likewise.
19830
19831 * Rules (bench): Remove eval.
19832
19833 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19834 Roland McGrath <roland@hack.frob.com>
19835 Ondrej Bilka <neleai@seznam.cz>
19836
19837 [BZ #15346]
19838 * time/getdate.c: Include ctype.h and alloca.h.
19839 (__getdate_r): Trim leading and trailing spaces of input.
19840 * time/tst-getdate.c (tests): Add tests with leading and
19841 trailing spaces.
19842
19843 2013-04-08 Roland McGrath <roland@hack.frob.com>
19844
19845 [BZ #14280]
19846 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
19847 when computing value.
19848
19849 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19850
19851 * math/README.libm-test (How can I generate "libm-test-ulps"?):
19852 Use testrun.sh to run libm tests.
19853
19854 [BZ #15309]
19855 * elf/dl-open.c (dl_open_worker): memset all of seen array.
19856
19857 2013-04-06 Marko Myllynen <myllynen@redhat.com>
19858
19859 [BZ #15264]
19860 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
19861
19862 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19863
19864 * Makefile.in (regen-ulps): New target.
19865 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
19866 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
19867 [ifneq (no,$(PERL)] (regen-ulps): New target.
19868 [ifeq (no,$(PERL)] (regen-ulps): New target.
19869 * math/libm-test.inc (ulps_file_name): Define.
19870 (output_dir): New variable.
19871 (options): Add "output-dir" option.
19872 (parse_opt): Handle 'o' case.
19873 (main): If output_dir is non-NULL use it as a prefix
19874 otherwise use "".
19875 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
19876
19877 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19878
19879 [BZ #10060, #10062]
19880 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
19881 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
19882 fail configure if __sync_val_compare_and_swap is not inlined.
19883 * sysdeps/i386/configure: Regenerate.
19884 * configure.in: Build for i686 when configured for i386.
19885 * configure: Regenerate.
19886 * README: Remove i386 reference.
19887
19888 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19889
19890 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
19891 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19892
19893 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
19894
19895 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
19896 (lmsnanval): New variables.
19897 (F): Add conversion tests.
19898 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
19899 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
19900
19901 * stdio-common/tstdiomisc.c (F): Properly collect individual
19902 tests' results.
19903
19904 [BZ #14686, #15336]
19905 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
19906 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
19907 Instead, use input NaN values or generate a qNaN by arithmetic
19908 operation. Also fix bugs to comply with the standard.
19909 * math/libm-test.inc (remainder_test): Add more tests.
19910
19911 [BZ #15335, #15342]
19912 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
19913 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
19914 input NaN values or generate a qNaN by arithmetic operation.
19915
19916 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
19917 unreachable code.
19918
19919 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
19920 definitions.
19921
19922 2013-04-03 Joseph Myers <joseph@codesourcery.com>
19923
19924 [BZ #14478]
19925 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
19926 underflowed result.
19927 * math/s_cexpf.c (__cexpf): Likewise.
19928 * math/s_cexpl.c (__cexpl): Likewise.
19929 * math/libm-test.inc (cexp_test): Add more tests.
19930
19931 2013-04-03 Andreas Schwab <schwab@suse.de>
19932
19933 [BZ #15330]
19934 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
19935 order arrays from heap if bigger than alloca cutoff.
19936
19937 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
19938
19939 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
19940 (SNAN_TESTS_double): Refer to GCC PR56831.
19941 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
19942 GCC PR56828.
19943
19944 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19945
19946 * Rules (bench): Move bench.out after the run is complete.
19947
19948 * Rules (bench): Echo currently running benchmark.
19949
19950 * benchtests/Makefile (bench): Add atan and slowatan.
19951 * benchtests/atan-inputs: New file.
19952 * benchtests/slowatan-inputs: New file.
19953 * benchtests/slowatan.c: New file.
19954
19955 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
19956 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
19957 its value.
19958
19959 [BZ #15305]
19960 * sysdeps/unix/sysv/linux/kernel-features.h
19961 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
19962 __ASSUME_XFS_RESTRICTED_CHOWN.
19963 * sysdeps/unix/sysv/linux/pathconf.c
19964 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
19965 Save and restore errno.
19966
19967 2013-04-02 Joseph Myers <joseph@codesourcery.com>
19968
19969 [BZ #15327]
19970 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
19971 arguments using __kernel_casinh.
19972 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
19973 arguments using __kernel_casinhf.
19974 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
19975 arguments using __kernel_casinhl.
19976 * math/libm-test.inc (cacosh_test): Add more tests.
19977 * sysdeps/i386/fpu/libm-test-ulps: Update.
19978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19979
19980 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19981
19982 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
19983 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
19984
19985 * bench/Makefile (bench): Add sin and slowsin.
19986 * benchtests/sin-inputs: New file.
19987 * benchtests/slowsin-inputs: New file.
19988 * benchtests/slowsin.c: New file.
19989
19990 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
19991 (bench): Add slowexp and slowpow.
19992 (exp-ITER): Increase iterations.
19993 (pow-ITER): Likewise.
19994 * benchtests/exp-inputs: Change input.
19995 * benchtests/pow-inputs: Likewise.
19996 * benchtests/slowexp-inputs: New file.
19997 * benchtests/slowexp.c: New file.
19998 * benchtests/slowpow-inputs: New file.
19999 * benchtests/slowpow.c: New file.
20000
20001 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20002
20003 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
20004 instructions.
20005 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20006 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
20007 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20008 * benchtests/Makefile: Add rint benchtest.
20009 * benchtests/rint-inputs: Input for rint benchtest.
20010
20011 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
20012
20013 * Versions.def (libm): Add GLIBC_2.18.
20014 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
20015 hidden libm prototypes.
20016 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
20017 * math/Makefile (libm-calls): Add s_issignaling.
20018 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
20019 __issignalingf, __issignalingl. Adjust all libm.abilist files.
20020 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
20021 declaration.
20022 * math/math.h [__USE_GNU] (issignaling): New macro.
20023 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
20024 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
20025 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
20026 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
20027 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
20028 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
20029 * manual/arith.texi (issignaling): New section.
20030 * manual/libm-err-tab.pl (@all_functions): Update comment.
20031 * math/gen-libm-test.pl (parse_args): Apply special handling for
20032 issignaling.
20033 * math/libm-test.inc (print_float, issignaling_test): New
20034 functions.
20035 (check_float_internal): Add issignaling checks.
20036 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
20037 default definition.
20038 * sysdeps/powerpc/math-tests.h: New file.
20039 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
20040 tests.
20041 * math/test-snan.c (TEST_FUNC): Likewise.
20042
20043 2013-03-30 David S. Miller <davem@davemloft.net>
20044
20045 * po/de.po: Update from translation team.
20046
20047 2013-03-30 Joseph Myers <joseph@codesourcery.com>
20048
20049 [BZ #10357]
20050 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20051 imaginary part less than 1.0 and real part less than 0.5
20052 specially.
20053 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20054 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20055 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
20056 (cacos_test): Add more tests.
20057 (casin_test): Likewise.
20058 (casinh_test): Likewise.
20059 * sysdeps/i386/fpu/libm-test-ulps: Update.
20060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20061
20062 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20063
20064 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
20065 ONE with its value.
20066
20067 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
20068 (__pow_mp): Replace ONE and MONE with their values.
20069 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20070 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
20071 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20072 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
20073 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20074 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20075
20076 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
20077
20078 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
20079 (__pow_mp): Replace ZERO and MZERO with their values.
20080 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20081 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20082 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20083 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20084 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20085 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
20086 (__sqr): Likewise.
20087
20088 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
20089
20090 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
20091
20092 2013-03-28 Roland McGrath <roland@hack.frob.com>
20093
20094 * include/stdlib.h [!SHARED] (__call_tls_dtors):
20095 Declare with __attribute__ ((weak)).
20096 * stdlib/exit.c (__libc_atexit) [!SHARED]:
20097 Call __call_tls_dtors only if it's not NULL.
20098
20099 2013-03-28 Roland McGrath <roland@hack.frob.com>
20100
20101 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
20102 didn't do it already, then set _dl_phdr and _dl_phnum based on the
20103 magic __ehdr_start linker symbol if it's defined.
20104 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
20105 them up here if it was already done.
20106
20107 * elf/dl-support.c (_dl_phdr): Make pointer to const.
20108 (_dl_aux_init): Use const in cast when setting it.
20109 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
20110 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
20111 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
20112
20113 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
20114 Declare them here.
20115 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
20116 * csu/libc-tls.c: Nor here.
20117 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
20118
20119 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
20120 (__libc_message): Never call vsyslog.
20121
20122 2013-03-28 Alan Modra <amodra@gmail.com>
20123
20124 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
20125 Define as empty.
20126 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
20127 Likewise.
20128
20129 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20130
20131 [BZ #15214]
20132 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
20133 underflow.
20134 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20135
20136 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20137
20138 [BZ #15304]
20139 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
20140 Don't add gid passed as argument.
20141
20142 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
20143
20144 2013-03-27 Joseph Myers <joseph@codesourcery.com>
20145
20146 [BZ #15307]
20147 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20148 imaginary part between 1.0 and 1.5 and real part less than 0.5
20149 specially.
20150 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20151 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20152 * math/libm-test.inc (cacos_test): Add more tests.
20153 (casin_test): Likewise.
20154 (casinh_test): Likewise.
20155 * sysdeps/i386/fpu/libm-test-ulps: Update.
20156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20157
20158 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20159
20160 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
20161 constants.
20162 (norm): Likewise.
20163 (denorm): Likewise.
20164 (__dbl_mp): Likewise.
20165 (add_magnitudes): Likewise.
20166 (sub_magnitudes): Likewise.
20167 (__add): Likewise.
20168 (__sub): Likewise.
20169 (__mul): Likewise.
20170 (__sqr): Likewise.
20171 (__inv): Likewise.
20172 (__dvd): Likewise.
20173
20174 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
20175 commented code.
20176 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
20177 (__dubcos): Likewise.
20178 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
20179 (__ieee754_acos): Likewise.
20180 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20181 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
20182 (__exp1): Likewise.
20183 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20184 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20185 (log1): Likewise.
20186 (my_log2): Likewise.
20187 (checkint): Likewise.
20188 * sysdeps/ieee754/dbl-64/e_remainder.c
20189 (__ieee754_remainder): Likewise.
20190 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20191 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
20192 (bsloww): Likewise.
20193 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20194
20195 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20196 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
20197 MANTISSA_STORE_T to store computations on mantissa. Use
20198 macros for rounding and division.
20199 (denorm): Likewise.
20200 (__dbl_mp): Likewise.
20201 (add_magnitudes): Likewise.
20202 (sub_magnitudes): Likewise.
20203 (__mul): Likewise.
20204 (__sqr): Likewise.
20205 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
20206 powers of two in terms of TWOPOW macro.
20207 (mp_no): Make type of mantissa as MANTISSA_T.
20208 [!RADIXI]: Define RADIXI.
20209 [!TWO52]: Define TWO52.
20210 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20211
20212 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20213
20214 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
20215 llroundl symbol when building for PPC32.
20216
20217 2013-03-24 Mark H Weaver <mhw@netris.org>
20218
20219 * manual/arith.texi (Normalization Functions): Fix prototypes for
20220 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
20221
20222 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20223
20224 [BZ #13889]
20225 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
20226 high value to check if expl overflow.
20227 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
20228 to check for underflow and overflow.
20229 * math/libm-test.inc: Add exp test.
20230
20231 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
20232
20233 [BZ #11120]
20234 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
20235 with NOT_IN_libc.
20236
20237 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20238
20239 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
20240 symbol.
20241
20242 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
20243
20244 * math/gen-libm-test.pl (parse_args, special_functions): Properly
20245 wrap blocks consisting of several statements.
20246
20247 * sysdeps/generic/math-tests.h: New file.
20248 * sysdeps/i386/fpu/math-tests.h: Likewise.
20249 * math/test-snan.c: Include it.
20250 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
20251
20252 2013-03-21 Joseph Myers <joseph@codesourcery.com>
20253
20254 [BZ #15285]
20255 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
20256 (__ieee754_j0l): Do not improve calculations using cos of twice
20257 input for inputs above LDBL_MAX / 2.0L.
20258 (__ieee754_y0l): Likewise.
20259 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
20260 (__ieee754_j1l): Do not improve calculations using cos of twice
20261 input for inputs above LDBL_MAX / 2.0L.
20262 (__ieee754_y1l): Likewise.
20263 * math/libm-test.inc (j0_test): Add another test.
20264 (j1_test): Likewise.
20265 (y0_test): Likewise.
20266 (y1_test): Likewise.
20267 * sysdeps/i386/fpu/libm-test-ulps: Update.
20268
20269 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20270
20271 * Rules ($(objpfx)bench-%.c): Include code from a C source
20272 file.
20273
20274 2013-03-21 Joseph Myers <joseph@codesourcery.com>
20275
20276 [BZ #15287]
20277 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20278 imaginary part 1.0 and real part less than 0.5 specially.
20279 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20280 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20281 * math/libm-test.inc (cacos_test): Add more tests.
20282 (casin_test): Likewise.
20283 (casinh_test): Likewise.
20284 * sysdeps/i386/fpu/libm-test-ulps: Update.
20285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20286
20287 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20288
20289 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
20290 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
20291
20292 2013-03-20 Joseph Myers <joseph@codesourcery.com>
20293
20294 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
20295 * config.make.in (config-cflags-sse4): Remove variable.
20296 (config-cflags-avx): Likewise.
20297 (config-cflags-sse2avx): Likewise.
20298 (config-cflags-novzeroupper): Likewise.
20299 (config-asflags-i686): Likewise.
20300 (have-mfma4): Likewise.
20301 (have-as-vis3): Likewise.
20302 (MIG): Likewise.
20303 * configure.in (MIG): Do not AC_SUBST.
20304 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
20305 (libc_cv_cc_sse4): Do not AC_SUBST.
20306 (libc_cv_cc_avx): Likewise.
20307 (libc_cv_cc_sse2avx): Likewise.
20308 (libc_cv_cc_novzeroupper): Likewise.
20309 (libc_cv_cc_fma4): Likewise.
20310 (libc_cv_as_i686): Likewise.
20311 (libc_cv_sparc_as_vis3): Likewise.
20312 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
20313 LIBC_CONFIG_VAR.
20314 (config-asflags-i686): Likewise.
20315 (config-cflags-avx): Likewise.
20316 (config-cflags-sse2avx): Likewise.
20317 (have-mfma4): Likewise.
20318 (config-cflags-novzeroupper): Likewise.
20319 * sysdeps/mach/configure.in (MIG): Likewise.
20320 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
20321 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
20322 LIBC_CONFIG_VAR.
20323 (config-cflags-avx): Likewise.
20324 (config-cflags-sse2avx): Likewise.
20325 (have-mfma4): Likewise.
20326 (config-cflags-novzeroupper): Likewise.
20327 * configure: Regenerated.
20328 * sysdeps/i386/configure: Likewise.
20329 * sysdeps/mach/configure: Likewise.
20330 * sysdeps/sparc/configure: Likewise.
20331 * sysdeps/x86_64/configure: Likewise.
20332
20333 2013-03-20 Roland McGrath <roland@hack.frob.com>
20334
20335 [BZ #14812]
20336 * locale/programs/localedef.c (options): Put N_ translation marker
20337 on argument names, not just descriptions.
20338
20339 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20340
20341 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
20342
20343 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
20344
20345 [BZ #14176]
20346 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
20347
20348 2013-03-19 Roland McGrath <roland@hack.frob.com>
20349
20350 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
20351 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
20352 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
20353 [!BEFORE_ABORT] (before_abort): New function.
20354 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
20355 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
20356 (writev_for_fatal): New function.
20357 (WRITEV_FOR_FATAL): New macro; call that.
20358 (backtrace_and_maps): New function.
20359 (BEFORE_ABORT): New macro; call that.
20360 (struct str_list): Type removed.
20361 (__libc_message, __libc_fatal): Functions removed.
20362 Include <sysdeps/posix/libc_fatal.c> instead.
20363
20364 2013-03-19 Joseph Myers <joseph@codesourcery.com>
20365
20366 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
20367 constants.
20368 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
20369 double constants.
20370
20371 2013-03-19 Andreas Schwab <schwab@suse.de>
20372
20373 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
20374 * sysdeps/gnu/configure: Regenerate.
20375
20376 * configure.in: Substitute libc_cv_rtlddir.
20377 * configure: Regenerate.
20378 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
20379 * Makeconfig (rtlddir, inst_rtlddir): New variables.
20380 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
20381 * elf/Makefile (install-others, CFLAGS-interp.c)
20382 (ldso_install, common-ldd-rewrite): Likewise.
20383 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
20384 $(inst_slibdir)/$(rtld-installed-name).
20385 * scripts/rellns-sh: Add -p option.
20386 * Makerules (make-shlib-link): Use rellns-sh to get relative name
20387 for source.
20388
20389 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20390
20391 * manual/nptl.texi: Renamed to ...
20392 * manual/threads.texi: ... this.
20393 * manual/Makefile (chapters): Update.
20394
20395 2013-03-18 Roland McGrath <roland@hack.frob.com>
20396
20397 [BZ #14812]
20398 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
20399 on argument names, not just descriptions.
20400 * malloc/memusagestat.c (options): Likewise.
20401 * nss/getent.c (options): Likewise.
20402
20403 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
20404
20405 [BZ #14812]
20406 * iconv/iconv_prog.c (options): Put N_ translation marker
20407 on argument names, not just descriptions.
20408 * iconv/iconvconfig.c (options): Likewise.
20409
20410 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
20411
20412 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
20413 implementation which is faster on all x86_64 architectures.
20414 Tested on AMD, Intel Nehalem, SNB, IVB.
20415 * sysdeps/x86_64/strnlen.S: Likewise.
20416
20417 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20418 Remove all multiarch strlen and strnlen versions.
20419 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20420 Remove strlen and strnlen related parts.
20421
20422 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
20423 Inline strlen part.
20424 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
20425
20426 * sysdeps/x86_64/multiarch/strlen.S: Remove.
20427 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
20428 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
20429 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
20430 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20431 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
20432
20433 2013-03-17 Carlos O'Donell <carlos@redhat.com>
20434
20435 * manual/memory.texi (Malloc Tunable Parameters):
20436 Sort parameters alphabetically. Add comments for missing entries.
20437
20438 2013-03-17 David S. Miller <davem@davemloft.net>
20439
20440 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20441
20442 2013-03-16 Joseph Myers <joseph@codesourcery.com>
20443
20444 [BZ #15283]
20445 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
20446 for arguments at most half maximum finite value.
20447 * math/libm-test.inc (j0_test): Add more tests.
20448 (j1_test): Likewise.
20449 (y0_test): Likewise.
20450 (y1_test): Likewise.
20451 * sysdeps/i386/fpu/libm-test-ulps: Update.
20452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20453
20454 [BZ #14155]
20455 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
20456 1 / x and functions P and Q for arguments above 0x1p256L.
20457 (__ieee754_y0l): Likewise.
20458 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20459 (__ieee754_y1l): Likewise.
20460 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
20461 (j1_test): Likewise.
20462 (y0_test): Likewise.
20463 (y1_test): Likewise.
20464
20465 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
20466
20467 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
20468 variable.
20469
20470 2013-03-15 Roland McGrath <roland@hack.frob.com>
20471
20472 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
20473 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
20474 zero since it's initialized to EXEC_PAGESIZE.
20475
20476 * sysdeps/unix/sysv/linux/ldsodefs.h
20477 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
20478 * sysdeps/generic/ldsodefs.h: ... here.
20479
20480 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
20481
20482 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
20483
20484 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
20485 math/test-snan.c.
20486 * math/test-snan.c: Renamed from
20487 sysdeps/powerpc/fpu/test-powerpc-snan.c.
20488 * math/Makefile (tests): Add test-snan.
20489 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
20490 test-powerpc-snan.
20491
20492 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
20493 SUFFIX. Initialize qNaN_var with __builtin_nan family of
20494 functions.
20495 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
20496 __builtin_nan family of functions.
20497 * math/libm-test.inc (initialize): Initialize qnan_value with
20498 __builtin_nan family of functions.
20499 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
20500 Remove variables.
20501 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
20502 Remove functions.
20503 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
20504 storage class. Initialize qNaN_var and sNaN_var with
20505 __builtin_nan and __builtin_nans families of functions,
20506 respectively.
20507
20508 * math/libm-test.inc (acosh_test): Also test with qNaN input.
20509 (sqrt_test): Remove duplicate test with qNaN input.
20510 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
20511 (round_test, signbit_test, significand_test): Note missing +/-Inf
20512 as well as qNaN tests.
20513
20514 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
20515 qNaN_var. Fix a few strings, too.
20516 * math/libm-test.inc (nan_value): Rename to qnan_value.
20517 * math/gen-libm-test.pl (%beautify): Adjust to that.
20518 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
20519 * math/test-misc.c (main): Likewise.
20520 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
20521 to __qnan_bytes, and __qnan_union, respectively.
20522 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
20523 Likewise.
20524 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
20525 and lqnanval, respectively.
20526 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
20527 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
20528 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
20529 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
20530
20531 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
20532 * math/test-misc.c (main) [__x86_64__]: Enable test for long
20533 doubles.
20534
20535 * math/test-misc.c (main): Fix copy'n'pastos.
20536 * misc/tst-efgcvt.c (special): Likewise.
20537
20538 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
20539 Remove declarations.
20540
20541 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20542
20543 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
20544 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
20545 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
20546 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
20547
20548 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20549
20550 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
20551 macro to return vdso values correctly in IFUNC implementations.
20552 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
20553 Optimization by using IFUNC.
20554
20555 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20556 Richard Henderson <rth@redhat.com>
20557 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20558
20559 * Makefile.in (bench): New target.
20560 * NEWS: Mention the benchmark framework.
20561 * Rules (bench): Likewise.
20562 (binaries-bench): Generate binaries for functions to
20563 benchmark.
20564 * benchtests/Makefile: New makefile for benchmark tests.
20565 * benchtests/bench-skeleton.c: New skeleton file for benchmark
20566 programs.
20567 * benchtests/exp-inputs: New input file for EXP function.
20568 * benchtests/pow-inputs: New input file for POW function.
20569 * scripts/bench.pl: New script to generate source files for
20570 benchmark programs.
20571
20572 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20573
20574 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20575 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
20576 computations on mantissa. Use macros for rounding and
20577 division.
20578 (denorm): Likewise.
20579 (__dbl_mp): Likewise.
20580 (add_magnitudes): Likewise.
20581 (sub_magnitudes): Likewise.
20582 (__mul): Likewise.
20583 (__sqr): Likewise.
20584 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
20585 powers of two in terms of TWOPOW macro.
20586 (mp_no): Make type of mantissa as MANTISSA_T.
20587 [!RADIXI]: Define RADIXI.
20588 [!TWO52]: Define TWO52.
20589 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20590
20591 * manual/nptl.texi (cindex): Modify threads to pthreads.
20592
20593 2013-03-15 Joseph Myers <joseph@codesourcery.com>
20594
20595 * sysdeps/x86_64/preconfigure: Regenerated.
20596
20597 2013-03-14 Joseph Myers <joseph@codesourcery.com>
20598
20599 [BZ #14155]
20600 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
20601 0x1p28 and above.
20602 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
20603 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
20604 0x1p28 and above.
20605 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
20606 * math/libm-test.inc (j0_test): Do not allow one spurious
20607 underflow exception.
20608 (y1_test): Likewise.
20609
20610 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20611
20612 * manual/Makefile (chapters): Add nptl.
20613 * manual/debug.texi (Debugging Support): Add link to Threads
20614 chapter.
20615 * manual/nptl.texi: New file.
20616
20617 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
20618
20619 2013-03-14 Petr Baudis <pasky@ucw.cz>
20620
20621 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
20622 for non-NULL pointer before the memory validity test. Pointed
20623 out by Holger Brunck <holger.brunck@keymile.com>.
20624
20625 2013-03-13 Andreas Schwab <schwab@suse.de>
20626
20627 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
20628 instead of .os.
20629
20630 2013-03-13 Joseph Myers <joseph@codesourcery.com>
20631
20632 * timezone/zic.c: Update from tzcode 2013b.
20633
20634 2013-03-12 Carlos O'Donell <carlos@redhat.com>
20635
20636 * manual/install.texi (Configuring and compiling):
20637 Mention i686 and i586.
20638 * INSTALL: Regenerate.
20639
20640 2013-03-12 Roland McGrath <roland@hack.frob.com>
20641
20642 * sysdeps/init_array/elf-init.c: New file.
20643 * csu/elf-init.c
20644 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
20645 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
20646
20647 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
20648 __gmon_start__ as global, but as static with a .preinit_array pointer.
20649 * sysdeps/init_array/gmon-start.c: New file. Use that.
20650 * sysdeps/init_array/crti.S: New file, empty except for comments.
20651 * sysdeps/init_array/crtn.S: Likewise.
20652
20653 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
20654
20655 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
20656 definining bcopy.
20657 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20658 Remove Prefer_SSE_for_memop.
20659 * sysdeps/x86_64/multiarch/init-arch.h: Remove
20660 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
20661 HAS_PREFER_SSE_FOR_MEMOP.
20662 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20663 memset-x86-64.
20664 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20665 Remove bzero, memset ifunc support.
20666 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
20667 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
20668 * sysdeps/x86_64/multiarch/memset.S: Likewise.
20669 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20670
20671 2013-03-11 Andreas Schwab <schwab@suse.de>
20672
20673 [BZ #15234]
20674 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
20675 by SHLIB_COMPAT.
20676 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
20677 (GLIBC_2.16): Remove pthread_atfork.
20678
20679 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
20680
20681 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
20682 (ptestcases.h): Likewise.
20683
20684 2013-03-08 Roland McGrath <roland@hack.frob.com>
20685
20686 * Makeconfig ($(common-objpfx)config.status): Depend on
20687 sysdeps/*/preconfigure{,.in} too.
20688
20689 2013-03-08 Joseph Myers <joseph@codesourcery.com>
20690
20691 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
20692 (__free_hook): Use void * instead of __malloc_ptr_t.
20693 (__malloc_hook): Likewise.
20694 (__realloc_hook): Likewise.
20695 (__memalign_hook): Likewise.
20696 (__after_morecore_hook): Likewise.
20697 * malloc/arena.c (save_malloc_hook): Likewise.
20698 (save_free_hook): Likewise.
20699 * malloc/hooks.c (malloc_hook_ini): Likewise.
20700 (realloc_hook_ini): Likewise.
20701 (memalign_hook_ini): Likewise.
20702 * malloc/malloc.c (malloc_hook_ini): Likewise.
20703 (realloc_hook_ini): Likewise.
20704 (memalign_hook_ini): Likewise.
20705 (__free_hook): Likewise.
20706 (__malloc_hook): Likewise.
20707 (__realloc_hook): Likewise.
20708 (__memalign_hook): Likewise.
20709 (__libc_malloc): Likewise.
20710 (__libc_free): Likewise.
20711 (__libc_realloc): Likewise.
20712 (__libc_memalign): Likewise.
20713 (__libc_valloc): Likewise.
20714 (__libc_pvalloc): Likewise.
20715 (__libc_calloc): Likewise.
20716 (__posix_memalign): Likewise.
20717 * malloc/morecore.c (__sbrk): Likewise.
20718 (__default_morecore): Likewise.
20719
20720 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
20721
20722 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
20723 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
20724 __malloc_ptrdiff_t.
20725
20726 * malloc/malloc.h (__malloc_size_t): Remove macro.
20727 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
20728 __malloc_size_t.
20729 (old_memalign_hook): Likewise.
20730 (old_realloc_hook): Likewise.
20731 (struct hdr): Likewise.
20732 (flood): Likewise.
20733 (mallochook): Likewise.
20734 (memalignhook): Likewise.
20735 (reallochook): Likewise.
20736 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
20737 (tr_old_realloc_hook): Likewise.
20738 (tr_old_memalign_hook): Likewise.
20739 (tr_mallochook): Likewise.
20740 (tr_reallochook): Likewise.
20741 (tr_memalignhook): Likewise.
20742
20743 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20744
20745 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
20746 default_ldbl_pack and using as default implementation.
20747 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
20748 implementation.
20749 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
20750 redundant definition.
20751 (ldbl_insert_mantissa): Likewise.
20752 (ldbl_canonicalize): Likewise.
20753 (ldbl_nearbyint): Likewise.
20754 (ldbl_pack): Rename to ldbl_pack_ppc.
20755 (ldbl_unpack): Rename to ldbl_unpack_ppc.
20756 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
20757 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
20758
20759 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20760
20761 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
20762 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
20763 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
20764 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
20765 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
20766 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
20767 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
20768 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
20769
20770 2013-03-07 Andreas Jaeger <aj@suse.de>
20771
20772 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20773 bits/mman-linux.h.
20774
20775 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20776
20777 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
20778 Include mpa.h and declare __MPEXP.
20779 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
20780 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20781 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20782 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
20783 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20784 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20785 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
20786
20787 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
20788 (__slowpow): Use long double EXPL and LOGL functions to
20789 compute POW.
20790 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20791 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20792 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
20793 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20794 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20795 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
20796
20797 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
20798 intermediate variable to calculate exponent.
20799 (__sqr): Likewise.
20800 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20801 Likewise.
20802 (__sqr): Likewise.
20803
20804 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
20805 [!NO__SQR]: Define __sqr.
20806 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
20807 and NO__SQR. Remove all code except __mul and __sqr. Include
20808 sysdeps/ieee754/dbl-64/mpa.c.
20809 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20810
20811 [BZ #12723]
20812 * posix/Makefile (tests): Add tst-pathconf.
20813 * posix/tst-pathconf.c: New test case.
20814 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
20815 _PC_PIPE_BUF.
20816 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
20817
20818 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
20819
20820 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
20821
20822 2013-03-06 Andreas Jaeger <aj@suse.de>
20823
20824 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
20825 definition via __MAP_ANONYMOUS.
20826
20827 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
20828 it's not part of Linux headers.
20829
20830 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
20831 (MAP_HUGE_MASK): Define.
20832
20833 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20834 Define.
20835 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20836 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20837 Define.
20838 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20839 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20840 Define.
20841 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20842 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
20843 Define.
20844 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20845
20846 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
20847 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
20848 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
20849 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
20850 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
20851 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
20852
20853 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20854 Handle f2fs.
20855
20856 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20857 Handle f2fs and efivarfs.
20858
20859 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
20860 f2fs.
20861
20862 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
20863 (EFIVARFS_MAGIC): Add.
20864 (F2FS_LINK_MAX): Add.
20865
20866 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20867
20868 * stdio-common/vfprintf.c: Replace __builtin_expect with
20869 __glibc_unlikely.
20870
20871 2013-03-06 Joseph Myers <joseph@codesourcery.com>
20872
20873 [BZ #13550]
20874 * sysdeps/generic/bp-sym.h: Remove file.
20875 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
20876 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
20877 <bp-sym.h> and <bp-asm.h>.
20878 (__longjmp): Don't use BP_SYM.
20879 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
20880 and <bp-asm.h>.
20881 (memcpy): Don't use BP_SYM.
20882 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
20883 <bp-sym.h> and <bp-asm.h>.
20884 (memcpy): Don't use BP_SYM.
20885 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
20886 <bp-asm.h>.
20887 (memcpy): Don't use BP_SYM.
20888 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
20889 <bp-asm.h>.
20890 (memset): Don't use BP_SYM.
20891 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20892 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20893 (__bzero): Don't use BP_SYM.
20894 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20895 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20896 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
20897 <bp-sym.h> and <bp-asm.h>.
20898 (memcmp): Don't use BP_SYM. Remove comment about bounded
20899 pointers.
20900 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
20901 <bp-sym.h> and <bp-asm.h>.
20902 (memcpy): Don't use BP_SYM.
20903 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
20904 <bp-sym.h> and <bp-asm.h>.
20905 (memset): Don't use BP_SYM.
20906 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20907 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20908 (__bzero): Don't use BP_SYM.
20909 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20910 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20911 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
20912 <bp-sym.h> and <bp-asm.h>.
20913 (strncmp): Don't use BP_SYM. Remove comment about bounded
20914 pointers.
20915 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
20916 <bp-sym.h> and <bp-asm.h>.
20917 (memcpy): Don't use BP_SYM.
20918 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
20919 <bp-sym.h> and <bp-asm.h>.
20920 (memset): Don't use BP_SYM.
20921 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20922 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20923 (__bzero): Don't use BP_SYM.
20924 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20925 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20926 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
20927 <bp-sym.h> and <bp-asm.h>.
20928 (__memchr): Don't use BP_SYM.
20929 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
20930 <bp-sym.h> and <bp-asm.h>.
20931 (memcmp): Don't use BP_SYM. Remove comment about bounded
20932 pointers.
20933 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
20934 <bp-sym.h> and <bp-asm.h>.
20935 (memcpy): Don't use BP_SYM.
20936 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
20937 <bp-sym.h> and <bp-asm.h>.
20938 (__mempcpy): Don't use BP_SYM.
20939 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
20940 <bp-sym.h> and <bp-asm.h>.
20941 (__memrchr): Don't use BP_SYM.
20942 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
20943 <bp-sym.h> and <bp-asm.h>.
20944 (memset): Don't use BP_SYM.
20945 (__bzero): Likewise.
20946 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
20947 <bp-sym.h> and <bp-asm.h>.
20948 (__rawmemchr): Don't use BP_SYM.
20949 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
20950 <bp-sym.h> and <bp-asm.h>.
20951 (__STRCMP): Don't use BP_SYM.
20952 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
20953 <bp-sym.h> and <bp-asm.h>.
20954 (strchr): Don't use BP_SYM.
20955 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
20956 <bp-sym.h> and <bp-asm.h>.
20957 (__strchrnul): Don't use BP_SYM.
20958 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
20959 <bp-sym.h> and <bp-asm.h>.
20960 (strlen): Don't use BP_SYM.
20961 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
20962 <bp-sym.h> and <bp-asm.h>.
20963 (strncmp): Don't use BP_SYM. Remove comment about bounded
20964 pointers.
20965 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
20966 <bp-sym.h> and <bp-asm.h>.
20967 (__strnlen): Don't use BP_SYM.
20968 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
20969 <bp-sym.h> and <bp-asm.h>.
20970 (__GI__setjmp): Don't use BP_SYM.
20971 (_setjmp): Likewise.
20972 (__sigsetjmp): Likewise.
20973 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
20974 (L(start_addresses)): Don't use BP_SYM.
20975 (_start): Likewise.
20976 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
20977 <bp-asm.h>.
20978 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
20979 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
20980 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20981 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20982 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
20983 <bp-asm.h>.
20984 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
20985 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
20986 about bounded pointers.
20987 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20988 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20989 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
20990 <bp-asm.h>.
20991 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20992 about bounded pointers. Remove GKM FIXME comments.
20993 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20994 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
20995 <bp-asm.h>.
20996 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
20997 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
20998 Remove GKM FIXME comments.
20999 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21000 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21001 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
21002 <bp-asm.h>.
21003 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21004 about bounded pointers. Remove GKM FIXME comment.
21005 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
21006 and <bp-asm.h>.
21007 (strncmp): Don't use BP_SYM. Remove comment about bounded
21008 pointers.
21009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
21010 <bp-sym.h> and <bp-asm.h>.
21011 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
21013 <bp-sym.h> and <bp-asm.h>.
21014 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21015 comment.
21016
21017 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21018
21019 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
21020 call free(NULL).
21021
21022 2013-03-05 David S. Miller <davem@davemloft.net>
21023
21024 * po/es.po: Update from translation team.
21025
21026 2013-03-05 Andreas Jaeger <aj@suse.de>
21027
21028 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
21029 <bits/mman-linux.h>.
21030 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21031 is fine.
21032 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
21033 <bits/mman-linux.h> to end of file.
21034 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21035 is fine.
21036 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
21037 <bits/mman-linux.h> to end of file.
21038 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21039 is fine.
21040 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
21041 <bits/mman-linux.h> to end of file.
21042
21043 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
21044 (MCL_CURRENT, MCL_FUTURE): Define here.
21045
21046 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21047
21048 [BZ #15232]
21049 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
21050 attribute_hidden.
21051 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21052
21053 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21054
21055 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
21056 fourth parameter needed for rt_sigprocmask syscall.
21057 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21058 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21059 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
21060 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21061 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21062 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
21063
21064 2013-03-04 Joseph Myers <joseph@codesourcery.com>
21065
21066 [BZ #13550]
21067 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
21068 comment about bounded pointers.
21069 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
21070 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
21071
21072 2013-03-04 Andreas Jaeger <aj@suse.de>
21073
21074 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
21075 common definitions.
21076
21077 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
21078 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
21079 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
21080 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21081 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21082 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21083
21084 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21085
21086 [BZ #15055]
21087 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
21088 __ieee754_sqrl instead of __sqrl.
21089
21090 2013-03-01 Joseph Myers <joseph@codesourcery.com>
21091
21092 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
21093 * sysdeps/powerpc/fpu_control.h: ... here.
21094 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
21095 * sysdeps/powerpc/bits/fenvinline.h: ... here.
21096 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
21097 * sysdeps/powerpc/bits/mathinline.h: ... here.
21098
21099 2013-03-01 Roland McGrath <roland@hack.frob.com>
21100
21101 * elf/dl-hwcaps.c (_dl_important_hwcaps):
21102 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
21103 to just [NEED_DL_SYSINFO_DSO].
21104 * elf/dl-support.c: Likewise.
21105 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21106 * elf/rtld.c (dl_main): Likewise.
21107 * elf/setup-vdso.h (setup_vdso): Likewise.
21108 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
21109 * sysdeps/unix/sysv/linux/dl-sysdep.c
21110 (_dl_discover_osversion): Likewise.
21111
21112 2013-03-01 Carlos O'Donell <carlos@redhat.com>
21113
21114 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
21115 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21116
21117 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
21118
21119 * NEWS: Mention libm performance improvements and non-x86 PI
21120 futex support.
21121
21122 * csu/libc-start.c (__pthread_initialize_minimal): Change
21123 function arguments.
21124 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21125
21126 2013-02-28 Joseph Myers <joseph@codesourcery.com>
21127
21128 [BZ #13550]
21129 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
21130 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
21131 <bp-sym.h> and <bp-asm.h>.
21132 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21133 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
21134 and <bp-asm.h>.
21135 (memcpy): Don't use BP_SYM.
21136 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
21137 <bp-asm.h>.
21138 (__mpn_add_n): Don't use BP_SYM.
21139 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
21140 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
21141 and <bp-asm.h>.
21142 (__mpn_addmul_1): Don't use BP_SYM.
21143 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21144 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
21145 <bp-sym.h>.
21146 (_setjmp): Don't use BP_SYM.
21147 (__novmx_setjmp): Likewise.
21148 (__GI__setjmp): Likewise.
21149 (__vmx_setjmp): Likewise.
21150 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
21151 <bp-sym.h>.
21152 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
21153 (__bzero): Don't use BP_SYM.
21154 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21155 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21156 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
21157 <bp-sym.h> and <bp-asm.h>.
21158 (memcpy): Don't use BP_SYM.
21159 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
21160 <bp-sym.h> and <bp-asm.h>.
21161 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21162 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
21163 <bp-sym.h> and <bp-asm.h>.
21164 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21165 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
21166 <bp-asm.h>.
21167 (__mpn_lshift): Don't use BP_SYM.
21168 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21169 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
21170 <bp-asm.h>.
21171 (memset): Don't use BP_SYM.
21172 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21173 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21174 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
21175 <bp-asm.h>.
21176 (__mpn_mul_1): Don't use BP_SYM.
21177 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21178 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
21179 <bp-sym.h> and <bp-asm.h>.
21180 (memcmp): Don't use BP_SYM.
21181 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
21182 <bp-sym.h> and <bp-asm.h>.
21183 (memcpy): Don't use BP_SYM.
21184 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
21185 <bp-sym.h> and <bp-asm.h>.
21186 (memset): Don't use BP_SYM.
21187 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
21188 <bp-sym.h> and <bp-asm.h>.
21189 (strncmp): Don't use BP_SYM.
21190 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
21191 <bp-sym.h> and <bp-asm.h>.
21192 (memcpy): Don't use BP_SYM.
21193 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
21194 <bp-sym.h> and <bp-asm.h>.
21195 (memset): Don't use BP_SYM.
21196 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
21197 <bp-sym.h> and <bp-asm.h>.
21198 (__memchr): Don't use BP_SYM.
21199 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
21200 <bp-sym.h> and <bp-asm.h>.
21201 (memcmp): Don't use BP_SYM.
21202 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
21203 <bp-sym.h> and <bp-asm.h>.
21204 (memcpy): Don't use BP_SYM.
21205 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
21206 <bp-sym.h> and <bp-asm.h>.
21207 (__mempcpy): Don't use BP_SYM.
21208 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
21209 <bp-sym.h> and <bp-asm.h>.
21210 (__memrchr): Don't use BP_SYM.
21211 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
21212 <bp-sym.h> and <bp-asm.h>.
21213 (memset): Don't use BP_SYM.
21214 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
21215 <bp-sym.h> and <bp-asm.h>.
21216 (__rawmemchr): Don't use BP_SYM.
21217 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
21218 <bp-sym.h> and <bp-asm.h>.
21219 (__STRCMP): Don't use BP_SYM.
21220 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
21221 <bp-sym.h> and <bp-asm.h>.
21222 (strchr): Don't use BP_SYM.
21223 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
21224 <bp-sym.h> and <bp-asm.h>.
21225 (__strchrnul): Don't use BP_SYM.
21226 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
21227 <bp-sym.h> and <bp-asm.h>.
21228 (strlen): Don't use BP_SYM.
21229 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
21230 <bp-sym.h> and <bp-asm.h>.
21231 (strncmp): Don't use BP_SYM.
21232 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
21233 <bp-sym.h> and <bp-asm.h>.
21234 (__strnlen): Don't use BP_SYM.
21235 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
21236 <bp-asm.h>.
21237 (__mpn_rshift): Don't use BP_SYM.
21238 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21239 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
21240 <bp-sym.h> and <bp-asm.h>.
21241 (__sigsetjmp): Don't use BP_SYM.
21242 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
21243 (L(start_addresses)): Don't use BP_SYM.
21244 (_start): Likewise.
21245 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
21246 <bp-asm.h>.
21247 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
21248 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21249 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21250 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
21251 <bp-asm.h>.
21252 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
21253 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21254 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21255 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
21256 <bp-asm.h>.
21257 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
21258 comments.
21259 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21260 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
21261 <bp-asm.h>.
21262 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
21263 FIXME comments.
21264 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21265 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21266 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
21267 <bp-asm.h>.
21268 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
21269 comment.
21270 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
21271 and <bp-asm.h>.
21272 (strncmp): Don't use BP_SYM,
21273 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
21274 <bp-asm.h>.
21275 (__mpn_sub_n): Don't use BP_SYM.
21276 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21277 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
21278 and <bp-asm.h>.
21279 (__mpn_submul_1): Don't use BP_SYM.
21280 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
21282 <bp-sym.h> and <bp-asm.h>.
21283 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
21285 <bp-sym.h> and <bp-asm.h>.
21286 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21287 comment.
21288
21289 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21290
21291 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
21292 Use ZK to minimize writes to Z.
21293 (sub_magnitudes): Simplify code a bit.
21294 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
21295 Use ZK to minimize writes to Z.
21296 (sub_magnitudes): Simplify code a bit.
21297
21298 2013-02-27 Roland McGrath <roland@hack.frob.com>
21299
21300 * csu/gmon-start.c: Add special exception to license text.
21301
21302 2013-02-27 Richard Henderson <rth@redhat.com>
21303
21304 * scripts/config.guess: Update from config.git.
21305 * scripts/config.sub: Likewise.
21306
21307 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21308
21309 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
21310
21311 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
21312
21313 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
21314
21315 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
21316
21317 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
21318
21319 2013-02-26 Roland McGrath <roland@hack.frob.com>
21320
21321 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
21322 [$(build-shared = yes].
21323
21324 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21325
21326 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
21327 (__mul): Reduce iterations for calculating mantissa.
21328
21329 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
21330 MPTWO.
21331 (__mpranred): Likewise.
21332
21333 [BZ #15160]
21334 * malloc/memusagestat.c (main): Draw graphs for heap and stack
21335 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
21336
21337 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
21338
21339 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
21340 Define __attribute__.
21341
21342 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21343
21344 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
21345 unused.
21346 * posix/regex_internal.h (__attribute): Remove.
21347 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
21348 (re_string_context_at): Likewise.
21349 (bitset_not): Use __attribute__ and mark function as possibly
21350 unused.
21351 (bitset_merge): Likewise.
21352 (bitset_mask): Likewise.
21353 (re_string_char_size_at): Likewise.
21354 (re_string_wchar_at): Likewise.
21355 (re_string_elem_size_at): Likewise.
21356
21357 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21358
21359 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
21360 code.
21361 (cc32): Likewise.
21362
21363 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
21364 (__acr): Likewise.
21365 (__cpy): Likewise.
21366 (norm): Likewise.
21367 (denorm): Likewise.
21368 (__dbl_mp): Likewise.
21369 (add_magnitudes): Likewise.
21370 (sub_magnitudes): Likewise.
21371 (__mul): Likewise.
21372 (__inv): Likewise.
21373
21374 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
21375 style.
21376
21377 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
21378 style.
21379
21380 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
21381 code.
21382
21383 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
21384 up changes with default code.
21385 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
21386 Likewise.
21387
21388 2013-02-24 Allan McRae <allan@archlinux.org>
21389
21390 * manual/socket.texi (The Internet Namespace): Order menu items
21391 to match that in the file.
21392
21393 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
21394 node listing of the info page menu.
21395
21396 2013-02-21 Joseph Myers <joseph@codesourcery.com>
21397
21398 [BZ #13550]
21399 * sysdeps/i386/bp-asm.h: Remove file.
21400 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21401 (PARMS): Do not use macros from bp-asm.h.
21402 (S1): Likewise.
21403 (S2): Likewise.
21404 (SIZE): Likewise.
21405 (__mpn_add_n): Do not use BP_SYM
21406 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
21407 "bp-asm.h".
21408 (PARMS): Do not use macros from bp-asm.h.
21409 (S1): Likewise.
21410 (SIZE): Likewise.
21411 (__mpn_addmul_1): Do not use BP_SYM
21412 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
21413 "bp-asm.h".
21414 (PARMS): Do not use macros from bp-asm.h.
21415 (SIGMSK): Likewise.
21416 (_setjmp): Likewise. Do not use BP_SYM.
21417 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
21418 "bp-asm.h".
21419 (PARMS): Do not use macros from bp-asm.h.
21420 (SIGMSK): Likewise.
21421 (setjmp): Likewise. Do not use BP_SYM.
21422 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
21423 "bp-asm.h".
21424 (PARMS): Do not use macros from bp-asm.h.
21425 (__frexp): Do not use BP_SYM.
21426 (frexp): Likewise.
21427 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
21428 "bp-asm.h".
21429 (PARMS): Do not use macros from bp-asm.h.
21430 (__frexpf): Do not use BP_SYM.
21431 (frexpf): Likewise.
21432 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
21433 "bp-asm.h".
21434 (PARMS): Do not use macros from bp-asm.h.
21435 (__frexpl): Do not use BP_SYM.
21436 (frexpl): Likewise.
21437 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
21438 "bp-asm.h".
21439 (PARMS): Do not use macros from bp-asm.h.
21440 (__remquo): Do not use BP_SYM.
21441 (remquo): Likewise.
21442 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
21443 "bp-asm.h".
21444 (PARMS): Do not use macros from bp-asm.h.
21445 (__remquof): Do not use BP_SYM.
21446 (remquof): Likewise.
21447 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
21448 "bp-asm.h".
21449 (PARMS): Do not use macros from bp-asm.h.
21450 (__remquol): Do not use BP_SYM.
21451 (remquol): Likewise.
21452 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
21453 "bp-asm.h".
21454 (PARMS): Do not use macros from bp-asm.h.
21455 (DEST): Likewise.
21456 (SRC): Likewise.
21457 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
21458 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
21459 "bp-asm.h".
21460 (PARMS): Do not use macros from bp-asm.h.
21461 (strlen): Do not use BP_SYM.
21462 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
21463 "bp-asm.h".
21464 (PARMS): Do not use macros from bp-asm.h.
21465 (S1): Likewise.
21466 (S2): Likewise.
21467 (SIZE): Likewise.
21468 (__mpn_add_n): Do not use BP_SYM.
21469 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
21470 "bp-asm.h".
21471 (PARMS): Do not use macros from bp-asm.h.
21472 (S1): Likewise.
21473 (SIZE): Likewise.
21474 (__mpn_addmul_1): Do not use BP_SYM.
21475 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
21476 weak_alias.
21477 (bzero): Likewise.
21478 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
21479 "bp-asm.h".
21480 (PARMS): Do not use macros from bp-asm.h.
21481 (S): Likewise.
21482 (SIZE): Likewise.
21483 (__mpn_lshift): Do not use BP_SYM.
21484 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
21485 "bp-asm.h".
21486 (PARMS): Do not use macros from bp-asm.h.
21487 (DEST): Likewise.
21488 (SRC): Likewise.
21489 (LEN): Likewise.
21490 (memcpy): Likewise. Do not use BP_SYM.
21491 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
21492 libc_hidden_def and weak_alias.
21493 (mempcpy): Do not use BP_SYM in weak_alias.
21494 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
21495 "bp-asm.h".
21496 (PARMS): Do not use macros from bp-asm.h.
21497 (DEST): Likewise.
21498 (LEN): Likewise.
21499 [!BZERO_P] (CHR): Likewise.
21500 (memset): Likewise. Do not use BP_SYM.
21501 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
21502 "bp-asm.h".
21503 (PARMS): Do not use macros from bp-asm.h.
21504 (S1): Likewise.
21505 (SIZE): Likewise.
21506 (__mpn_mul_1): Do not use BP_SYM.
21507 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
21508 "bp-asm.h".
21509 (PARMS): Do not use macros from bp-asm.h.
21510 (S): Likewise.
21511 (SIZE): Likewise.
21512 (__mpn_rshift): Do not use BP_SYM.
21513 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
21514 "bp-asm.h".
21515 (PARMS): Do not use macros from bp-asm.h.
21516 (STR): Likewise.
21517 (CHR): Likewise.
21518 (strchr): Likewise. Do not use BP_SYM.
21519 (index): Do not use BP_SYM in weak_alias.
21520 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
21521 "bp-asm.h".
21522 (PARMS): Do not use macros from bp-asm.h.
21523 (DEST): Likewise.
21524 (SRC): Likewise.
21525 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
21526 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
21527 "bp-asm.h".
21528 (PARMS): Do not use macros from bp-asm.h.
21529 (strlen): Do not use BP_SYM.
21530 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
21531 "bp-asm.h".
21532 (PARMS): Do not use macros from bp-asm.h.
21533 (S1): Likewise.
21534 (S2): Likewise.
21535 (SIZE): Likewise.
21536 (__mpn_sub_n): Do not use BP_SYM.
21537 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
21538 "bp-asm.h".
21539 (PARMS): Do not use macros from bp-asm.h.
21540 (S1): Likewise.
21541 (SIZE): Likewise.
21542 (__mpn_submul_1): Do not use BP_SYM.
21543 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
21544 "bp-asm.h".
21545 (PARMS): Do not use macros from bp-asm.h.
21546 (S1): Likewise.
21547 (S2): Likewise.
21548 (SIZE): Likewise.
21549 (__mpn_add_n): Do not use BP_SYM.
21550 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
21551 weak_alias.
21552 (bzero): Likewise.
21553 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
21554 "bp-asm.h".
21555 (PARMS): Do not use macros from bp-asm.h.
21556 (BLK2): Likewise.
21557 (LEN): Likewise.
21558 (memcmp): Do not use BP_SYM.
21559 (bcmp): Do not use BP_SYM in weak_alias.
21560 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
21561 "bp-asm.h".
21562 (PARMS): Do not use macros from bp-asm.h.
21563 (DEST): Likewise.
21564 (SRC): Likewise.
21565 (LEN): Likewise.
21566 (memcpy): Likewise. Do not use BP_SYM.
21567 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
21568 "bp-asm.h".
21569 (PARMS): Do not use macros from bp-asm.h.
21570 (DEST): Likewise.
21571 (SRC): Likewise.
21572 (LEN): Likewise.
21573 (memmove): Likewise. Do not use BP_SYM.
21574 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
21575 "bp-asm.h".
21576 (PARMS): Do not use macros from bp-asm.h.
21577 (DEST): Likewise.
21578 (SRC): Likewise.
21579 (LEN): Likewise.
21580 (__mempcpy): Likewise. Do not use BP_SYM.
21581 (mempcpy): Do not use BP_SYM in weak_alias.
21582 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
21583 "bp-asm.h".
21584 (PARMS): Do not use macros from bp-asm.h.
21585 (DEST): Likewise.
21586 (LEN): Likewise.
21587 [!BZERO_P] (CHR): Likewise.
21588 (memset): Likewise. Do not use BP_SYM.
21589 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
21590 "bp-asm.h".
21591 (PARMS): Do not use macros from bp-asm.h.
21592 (STR2): Likewise.
21593 (strcmp): Do not use BP_SYM.
21594 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
21595 "bp-asm.h".
21596 (PARMS): Do not use macros from bp-asm.h.
21597 (STR): Likewise.
21598 (DELIM): Likewise.
21599 [USE_AS_STRTOK_R] (SAVE): Likewise.
21600 (FUNCTION): Likewise. Do not use BP_SYM.
21601 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
21602 aliases.
21603 (strtok_r): Likewise.
21604 (__GI___strtok_r): Likewise.
21605 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21606 (PARMS): Do not use macros from bp-asm.h.
21607 (S): Likewise.
21608 (SIZE): Likewise.
21609 (__mpn_lshift): Do not use BP_SYM.
21610 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21611 (PARMS): Do not use macros from bp-asm.h.
21612 (STR): Likewise.
21613 (CHR): Likewise.
21614 (__memchr): Do not use BP_SYM.
21615 (memchr): Do not use BP_SYM in weak_alias.
21616 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21617 (PARMS): Do not use macros from bp-asm.h.
21618 (BLK2): Likewise.
21619 (LEN): Likewise.
21620 (memcmp): Do not use BP_SYM.
21621 (bcmp): Do not use BP_SYM in weak_alias.
21622 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
21623 (PARMS): Do not use macros from bp-asm.h.
21624 (S1): Likewise.
21625 (SIZE): Likewise.
21626 (__mpn_mul_1): Do not use BP_SYM.
21627 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
21628 "bp-asm.h".
21629 (PARMS): Do not use macros from bp-asm.h.
21630 (STR): Likewise.
21631 (CHR): Likewise.
21632 (__rawmemchr): Do not use BP_SYM.
21633 (rawmemchr): Do not use BP_SYM in weak_alias.
21634 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21635 (PARMS): Do not use macros from bp-asm.h.
21636 (S): Likewise.
21637 (SIZE): Likewise.
21638 (__mpn_rshift): Do not use BP_SYM.
21639 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21640 (PARMS): Do not use macros from bp-asm.h.
21641 (SIGMSK): Likewise.
21642 (__sigsetjmp): Likewise. Do not use BP_SYM.
21643 * sysdeps/i386/start.S: Do not include "bp-sym.h".
21644 (_start): Do not use BP_SYM.
21645 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
21646 (PARMS): Do not use macros from bp-asm.h.
21647 (DEST): Likewise.
21648 (SRC): Likewise.
21649 (__stpcpy): Likewise. Do not use BP_SYM.
21650 (stpcpy): Do not use BP_SYM in weak_alias.
21651 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
21652 "bp-asm.h".
21653 (PARMS): Do not use macros from bp-asm.h.
21654 (DEST): Likewise.
21655 (SRC): Likewise.
21656 (LEN): Likewise.
21657 (__stpncpy): Likewise. Do not use BP_SYM.
21658 (stpncpy): Do not use BP_SYM in weak_alias.
21659 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21660 (PARMS): Do not use macros from bp-asm.h.
21661 (STR): Likewise.
21662 (CHR): Likewise.
21663 (strchr): Likewise. Do not use BP_SYM.
21664 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
21665 "bp-asm.h".
21666 (PARMS): Do not use macros from bp-asm.h.
21667 (STR): Likewise.
21668 (CHR): Likewise.
21669 (__strchrnul): Likewise. Do not use BP_SYM.
21670 (strchrnul): Do not use BP_SYM in weak_alias.
21671 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
21672 "bp-asm.h".
21673 (PARMS): Do not use macros from bp-asm.h.
21674 (STOP): Likewise.
21675 (strcspn): Do not use BP_SYM.
21676 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
21677 "bp-asm.h".
21678 (PARMS): Do not use macros from bp-asm.h.
21679 (STR): Likewise.
21680 (STOP): Likewise.
21681 (strpbrk): Likewise. Do not use BP_SYM.
21682 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
21683 "bp-asm.h".
21684 (PARMS): Do not use macros from bp-asm.h.
21685 (STR): Likewise.
21686 (CHR): Likewise.
21687 (strrchr): Likewise. Do not use BP_SYM.
21688 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
21689 (PARMS): Do not use macros from bp-asm.h.
21690 (SKIP): Likewise.
21691 (strspn): Do not use BP_SYM.
21692 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
21693 (PARMS): Do not use macros from bp-asm.h.
21694 (STR): Likewise.
21695 (DELIM): Likewise.
21696 (SAVE): Likewise.
21697 (FUNCTION): Likewise. Do not use BP_SYM.
21698 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
21699 aliases.
21700 (strtok_r): Likewise.
21701 (__GI___strtok_r): Likewise.
21702 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21703 (PARMS): Do not use macros from bp-asm.h.
21704 (S1): Likewise.
21705 (S2): Likewise.
21706 (SIZE): Likewise.
21707 (__mpn_sub_n): Do not use BP_SYM.
21708 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
21709 "bp-asm.h".
21710 (PARMS): Do not use macros from bp-asm.h.
21711 (S1): Likewise.
21712 (SIZE): Likewise.
21713 (__mpn_submul_1): Do not use BP_SYM.
21714 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
21715 <bp-sym.h>.
21716 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
21717 and <bp-asm.h>.
21718 (PARMS): Do not use macros from bp-asm.h.
21719 (FLAGS): Likewise.
21720 (PTID): Likewise.
21721 (TLS): Likewise.
21722 (CTID): Likewise.
21723 (__clone): Do not use BP_SYM.
21724 (clone): Do not use BP_SYM in weak_alias.
21725 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
21726 and <bp-asm.h>.
21727 (PARMS): Do not use macros from bp-asm.h.
21728 (LEN): Likewise.
21729 (__mmap64): Do not use BP_SYM.
21730 (mmap64): Do not use BP_SYM in weak_alias.
21731 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21732 <bp-sym.h> and <bp-asm.h>.
21733 (PARMS): Do not use macros from bp-asm.h.
21734 (__posix_fadvise64_l64): Do not use BP_SYM.
21735 * sysdeps/unix/sysv/linux/i386/semtimedop.S
21736 (PARMS): Do not use macros from bp-asm.h.
21737 (NSOPS): Likewise.
21738 (semtimedop): Do not use BP_SYM.
21739 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
21740 and <bp-asm.h>.
21741
21742 2013-02-21 Allan McRae <allan@archlinux.org>
21743
21744 * manual/message.texi (Charset conversion in gettext):
21745 Move @end statement to beginning of line.
21746
21747 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21748
21749 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
21750 static.
21751 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21752 Likewise.
21753
21754 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
21755 (denorm): Likewise.
21756 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
21757 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
21758
21759 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21760
21761 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
21762 tail-call to the resolved function if pltexit isn't needed.
21763
21764 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21765
21766 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
21767 or Y being zero as being unlikely.
21768 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21769 Likewise.
21770
21771 2013-02-20 Carlos O'Donell <carlos@redhat.com>
21772
21773 * manual/nss.texi (System Databases and Name Service Switch):
21774 Remove frobnicate @pxref.
21775
21776 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21777
21778 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21779 __attribute__ ((unused)) to __attribute__ ((__unused__)).
21780
21781 2013-02-20 Petr Machata <pmachata@redhat.com>
21782
21783 * elf/elf.h (R_ARM_TARGET1): New macro.
21784 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
21785 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
21786 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
21787 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
21788 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
21789 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
21790 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
21791 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
21792 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
21793 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
21794 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
21795 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
21796 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
21797 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
21798 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
21799 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
21800 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
21801 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
21802 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
21803 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
21804 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
21805 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
21806 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
21807 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
21808 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
21809 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
21810 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
21811 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
21812 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
21813 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
21814 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
21815 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
21816 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
21817 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
21818 (R_ARM_THM_GOT_BREL12): Likewise.
21819 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
21820 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
21821 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
21822 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
21823 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
21824 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
21825 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
21826 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
21827 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
21828
21829 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21830
21831 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21832 __attribute_used__ to __attribute__ ((unused)).
21833
21834 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21835
21836 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
21837 powerpc mpa.c.
21838 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
21839 comment formatting.
21840 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
21841
21842 2013-02-19 Joseph Myers <joseph@codesourcery.com>
21843
21844 [BZ #13550]
21845 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
21846 Remove macro.
21847 (ENTER): Remove both macro definitions.
21848 (LEAVE): Likewise.
21849 (CHECK_BOUNDS_LOW): Likewise.
21850 (CHECK_BOUNDS_HIGH): Likewise.
21851 (CHECK_BOUNDS_BOTH): Likewise.
21852 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
21853 (RETURN_BOUNDED_POINTER): Likewise.
21854 (RETURN_NULL_BOUNDED_POINTER): Likewise.
21855 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
21856 (POP_ERRNO_LOCATION_RETURN): Likewise.
21857 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
21858 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21859 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
21860 macros.
21861 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21862 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
21863 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
21864 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
21865 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
21866 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
21867 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
21868 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
21869 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
21870 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
21871 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
21872 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
21873 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21874 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
21875 removed macros.
21876 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21877 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
21878 macros.
21879 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21880 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
21881 * sysdeps/i386/i586/memset.S (memset): Likewise.
21882 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
21883 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21884 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
21885 macros.
21886 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21887 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
21888 Change uses of L(2) to L(out).
21889 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
21890 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
21891 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
21892 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21893 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
21894 removed macros.
21895 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21896 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
21897 macros.
21898 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21899 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
21900 (RETURN): Do not use macro LEAVE.
21901 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
21902 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
21903 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
21904 * sysdeps/i386/i686/memset.S (memset): Likewise.
21905 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
21906 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
21907 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21908 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
21909 Likewise.
21910 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21911 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
21912 L(1_2) and L(1_3) into L(1).
21913 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21914 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
21915 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21916 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
21917 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21918 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
21919 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
21920 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21921 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
21922 macros.
21923 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
21924 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21925 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
21926 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
21927 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
21928 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21929 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
21930 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
21931 * sysdeps/i386/strcspn.S (strcspn): Likewise.
21932 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
21933 * sysdeps/i386/strrchr.S (strrchr): Likewise.
21934 * sysdeps/i386/strspn.S (strspn): Likewise.
21935 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
21936 conditional code.
21937 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21938 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
21939 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21940 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
21941 L(1_3) into L(1_1).
21942 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
21943 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21944 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
21945 macros.
21946 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21947
21948 2013-02-19 Jakub Jelinek <jakub@redhat.com>
21949
21950 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
21951 macro.
21952
21953 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21954
21955 * math/atest-exp.c (exp_mpn): Remove ROUND.
21956 * math/atest-exp2.c (exp_mpn): Likewise.
21957 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
21958
21959 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
21960 * stdlib/tst-tls-atexit-lib.c: Likewise.
21961 * stdlib/tst-tls-atexit.c: Likewise.
21962
21963 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21964
21965 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
21966 and __attribute_alloc_size__.
21967
21968 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21969
21970 * include/programs/xmalloc.h: Change __attribute_alloc_size to
21971 __attribute_alloc_size__.
21972 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
21973 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
21974
21975 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21976
21977 * include/programs/xmalloc.h: New file.
21978 * catgets/gencat.c: Include it.
21979 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
21980 * elf/pldd.c: Likewise.
21981 * iconv/iconv_charmap.c: Likewise.
21982 * iconv/iconvconfig.c: Likewise.
21983 * iconv/strtab.c: Likewise.
21984 * locale/programs/locale.c: Likewise.
21985 * locale/programs/localedef.h: Likewise.
21986 * locale/programs/simple-hash.c: Likewise.
21987 * nscd/nscd.h: Likewise.
21988 * nss/makedb.c: Likewise.
21989 * sysdeps/generic/ldconfig.h: Likewise.
21990
21991 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21992
21993 * Versions.def: Add GLIBC_2.18.
21994 * include/link.h (struct link_map): New member l_tls_dtor_count.
21995 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
21996 (__call_tls_dtors): Likewise.
21997 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
21998 __cxa_thread_atexit_impl.
21999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22000 Likewise.
22001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22002 Likewise.
22003 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22004 Likewise.
22005 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22006 Likewise.
22007 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22008 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
22009 Likewise.
22010 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
22011 Likewise.
22012 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22013 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22014 Likewise.
22015 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
22016 (tests): Add test case tst-tls-atexit.
22017 (modules-names): Add shared library for tst-tls-atexit.
22018 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
22019 (GLIBC_PRIVATE): Add __call_tls_dtors.
22020 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
22021 for libstdc++.
22022 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
22023 * stdlib/tst-tls-atexit.c: New test case.
22024 * stdlib/tst-tls-atexit-lib.c: New test case.
22025
22026 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
22027
22028 * elf/Versions (ld): Add _dl_find_dso_for_object.
22029 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
22030 * elf/dl-open.c (_dl_find_dso_for_object): New function.
22031 (dl_open_worker): Use _dl_find_dso_for_object.
22032 * elf/dl-sym.c (do_sym): Likewise.
22033 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
22034
22035 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22036
22037 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
22038 Syntactic changes only.
22039 (_dl_runtime_profile): Do a tail-call to the resolved function.
22040
22041 2013-02-17 Joseph Myers <joseph@codesourcery.com>
22042
22043 [BZ #13550]
22044 * sysdeps/x86_64/bp-asm.h: Remove file.
22045 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
22046 <bp-sym.h> and <bp-asm.h>.
22047 (__clone): Do not use BP_SYM.
22048 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
22049 <bp-sym.h> and <bp-asm.h>.
22050 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22051 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
22052 "bp-asm.h".
22053 (_setjmp): Do not use BP_SYM.
22054 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
22055 "bp-asm.h".
22056 (setjmp): Do not use BP_SYM.
22057 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
22058 libc_hidden_def.
22059 (mempcpy): Do not use BP_SYM in weak_alias.
22060 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
22061 "bp-asm.h".
22062 (strchr): Do not use BP_SYM.
22063 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
22064 "bp-asm.h".
22065 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
22066 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
22067 (_start): Do not use BP_SYM.
22068 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
22069 "bp-asm.h".
22070 (strcat): Do not use BP_SYM.
22071 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
22072 "bp-asm.h".
22073 (STRCMP): Do not use BP_SYM.
22074 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
22075 "bp-asm.h".
22076 (STRCPY): Do not use BP_SYM.
22077 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
22078 "bp-asm.h".
22079 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
22080 "bp-asm.h".
22081 (FUNCTION): Do not use BP_SYM.
22082 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
22083 weak_alias.
22084 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
22085
22086 2013-02-17 Andreas Jaeger <aj@suse.de>
22087
22088 * time/Versions: Sort entries.
22089 * string/Versions: Likewise.
22090 * resolv/Versions: Likewise.
22091 * posix/Versions: Likewise.
22092 * iconv/Versions: Likewise.
22093 * elf/Versions: Likewise.
22094 * wcsmbs/Versions: Likewise.
22095
22096 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22097
22098 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
22099 loop termination condition.
22100
22101 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
22102 variable to calculate EZ.
22103 (__sqr): Likewise.
22104
22105 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
22106 the lower precision input.
22107
22108 2013-02-15 Joseph Myers <joseph@codesourcery.com>
22109
22110 [BZ #13550]
22111 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
22112 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
22113 (run-via-rtld-prefix): Do not handle %-bp tests.
22114 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
22115 (all-object-suffixes): Remove .ob.
22116 (bppfx): Remove variable.
22117 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
22118 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
22119 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
22120 [$(build-bounded) = yes] (libtype.ob): Likewise.
22121 * Makerules (elide-routines.ob): Remove variable.
22122 (do-tests-clean): Do not handle *-bp.out.
22123 (common-mostlyclean): Do not handle *-bp and *-bp.out.
22124 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
22125 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
22126 (tests): Do not include $(tests-bp.out).
22127 (xtests): Do not include $(xtests-bp.out).
22128 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
22129 [$(build-bounded) = yes] ($(addprefix
22130 $(objpfx),$(binaries-bounded))): Remove rule.
22131 ($(objpfx)%-bp.out): Remove rule.
22132 * config.make.in (build-bounded): Remove variable.
22133 * crypt/Makefile [$(build-bounded) = yes]
22134 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
22135 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
22136 append to variable.
22137 [$(build-bounded) = yes] (install-lib): Likewise.
22138 [$(build-bounded) = yes] (generated): Likewise.
22139 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
22140 Remove rule.
22141 * intl/Makefile [$(build-bounded) = yes]
22142 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
22143 * math/Makefile [$(build-bounded) = yes]
22144 ($(tests:%=$(objpfx)%-bp): Likewise.
22145 * misc/Makefile [$(build-bounded) = yes]
22146 ($(objpfx)tst-tsearch-bp): Likewise.
22147 * nptl/Makeconfig (bounded-thread-library): Remove variable.
22148 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
22149 Remove dependency.
22150 * string/Makefile (o-objects.ob): Remove variable.
22151 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
22152 (CFLAGS-.ob): Remove variable.
22153 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
22154 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
22155 both definitions of variable.
22156 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
22157 (ASFLAGS-.ob): Remove variable.
22158
22159 2013-02-14 Joseph Myers <joseph@codesourcery.com>
22160
22161 [BZ #13550]
22162 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
22163 Remove __BOUNDED_POINTERS__ from condition.
22164 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
22165 * string/bits/string2.h [!__NO_STRING_INLINES &&
22166 !__BOUNDED_POINTERS__]: Likewise.
22167 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
22168 Likewise.
22169 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
22170 Remove conditional code.
22171 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
22172 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
22173 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
22174 condition.
22175
22176 [BZ #13550]
22177 * csu/libc-start.c: Do not include <bp-sym.h>.
22178 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
22179 * elf/dl-open.c: Do not include <bp-sym.h>.
22180 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
22181 * math/fegetenv.c: Do not include <bp-sym.h>.
22182 (fegetenv): Do not use BP_SYM in versioned symbols.
22183 * nptl/sysdeps/pthread/bits/libc-lockP.h
22184 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
22185 <bp-sym.h>.
22186 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22187 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
22188 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22189 (__pthread_mutex_destroy): Likewise.
22190 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22191 (__pthread_mutex_lock): Likewise.
22192 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22193 (__pthread_mutex_trylock): Likewise.
22194 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22195 (__pthread_mutex_unlock): Likewise.
22196 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22197 (__pthread_mutexattr_init): Likewise.
22198 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22199 (__pthread_mutexattr_destroy): Likewise.
22200 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22201 (__pthread_mutexattr_settype): Likewise.
22202 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22203 (__pthread_rwlock_init): Likewise.
22204 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22205 (__pthread_rwlock_destroy): Likewise.
22206 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22207 (__pthread_rwlock_rdlock): Likewise.
22208 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22209 (__pthread_rwlock_tryrdlock): Likewise.
22210 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22211 (__pthread_rwlock_wrlock): Likewise.
22212 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22213 (__pthread_rwlock_trywrlock): Likewise.
22214 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22215 (__pthread_rwlock_unlock): Likewise.
22216 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22217 (__pthread_key_create): Likewise.
22218 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22219 (__pthread_setspecific): Likewise.
22220 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22221 (__pthread_getspecific): Likewise.
22222 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
22223 Likewise.
22224 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22225 (_pthread_cleanup_push_defer): Likewise.
22226 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22227 (_pthread_cleanup_pop_restore): Likewise.
22228 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22229 (pthread_setcancelstate): Likewise.
22230 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
22231 <bp-sym.h>.
22232 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
22233 (memchr): Do not use BP_SYM in weak_alias.
22234 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
22235 (fegetenv): Do not use BP_SYM in versioned symbols.
22236 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
22237 (fesetenv): Do not use BP_SYM in versioned symbols.
22238 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22239 (feupdateenv): Do not use BP_SYM in versioned symbols.
22240 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22241 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22242 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
22243 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
22244 (open64): Do not use BP_SYM in weak_alias.
22245 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
22246 (fegetenv): Do not use BP_SYM in versioned symbols.
22247 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
22248 (fesetenv): Do not use BP_SYM in versioned symbols.
22249 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22250 (feupdateenv): Do not use BP_SYM in versioned symbols.
22251 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
22252 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
22253 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
22254 (feraiseexcept): Do not use BP_SYM in versioned symbols.
22255 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22256 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22257 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
22258 <bp-sym.h>.
22259 (__libc_start_main): Do not use BP_SYM.
22260
22261 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22262
22263 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
22264 redundant return line.
22265 (norm): Likewise.
22266 (denorm): Likewise.
22267 (dbl_mp): Likewise.
22268 (sub_magnitudes): Likewise.
22269 (__add): Likewise.
22270 (__sub): Likewise.
22271 (__mul): Likewise.
22272 (__inv): Likewise.
22273 (__dvd): Likewise.
22274 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
22275 (norm): Likewise.
22276 (denorm): Likewise.
22277 (dbl_mp): Likewise.
22278 (sub_magnitudes): Likewise.
22279 (__add): Likewise.
22280 (__sub): Likewise.
22281 (__mul): Likewise.
22282 (__inv): Likewise.
22283 (__dvd): Likewise.
22284
22285 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
22286 instead of __mul.
22287 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22288 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
22289 (cc32): Likewise.
22290
22291 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
22292 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
22293 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
22294 of __mul for squares.
22295 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
22296 function
22297 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
22298 Likewise.
22299 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
22300 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22301
22302 2013-02-13 Joseph Myers <joseph@codesourcery.com>
22303
22304 [BZ #13550]
22305 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
22306 code.
22307 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
22308 prototype or function definition. Rename ubp_* variables and
22309 parameters. Remove argv definitions conditional on
22310 [__BOUNDED_POINTERS__].
22311 * debug/backtrace.c (__backtrace): Do not use __unbounded.
22312 * elf/dl-runtime.c (_dl_fixup): Likewise.
22313 * include/set-hooks.h (RUN_HOOK): Likewise.
22314 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
22315 definition.
22316 * string/strcpy.c (strcpy): Do not use __unbounded.
22317 * sysdeps/generic/frame.h (struct layout): Likewise.
22318 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
22319 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
22320 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
22321 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
22322 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
22323 (__backtrace): Likewise.
22324 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
22325 use __ptrvalue.
22326 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
22327 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22328 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
22329 Likewise.
22330 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
22331 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
22332 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22333 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22334 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
22335 Do not use __unbounded.
22336 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
22337 Rename __unboundedrlimits parameter to rlimits in prototype.
22338 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
22339 Do not use __unbounded.
22340 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
22341 not use __ptrvalue.
22342 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22343 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
22344 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22345 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
22346 __ptrvalue or __unbounded.
22347 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
22348 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
22349 use __unbounded.
22350 (__new_msgctl): Do not use __ptrvalue.
22351 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
22352 __unbounded.
22353 (__libc_msgrcv): Do not use __ptrvalue.
22354 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
22355 startup_info): Do not use __unbounded.
22356 (__libc_start_main): Likewise. Rename ubp_* variables and
22357 parameters. Remove argv definitions conditional on
22358 [__BOUNDED_POINTERS__].
22359 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
22360 __ptrvalue.
22361 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
22362 use __unbounded.
22363 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
22364 or __ptrvalue.
22365 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
22366 use __unbounded.
22367 (__new_shmctl): Do not use __ptrvalue.
22368 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
22369 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
22370 Likewise.
22371 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
22372 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
22373 (__libc_sigaction): Likewise.
22374 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
22375 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
22376 Likewise.
22377 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22378
22379 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
22380
22381 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
22382
22383 * string/mempcpy.c: Implement by calling memcpy.
22384
22385 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22386
22387 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
22388
22389 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
22390 evaluation.
22391
22392 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
22393 values in the mantissa.
22394
22395 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
22396 minimize writes to Z.
22397 (sub_magnitudes): Simplify code a bit.
22398
22399 2013-02-12 Roland McGrath <roland@hack.frob.com>
22400
22401 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
22402 from the message. The linker prefixes all warnings with that already.
22403
22404 2013-02-12 Andreas Schwab <schwab@suse.de>
22405
22406 [BZ #15078]
22407 * posix/regexec.c (extend_buffers): Add parameter min_len.
22408 (check_matching): Pass minimum needed length.
22409 (clean_state_log_if_needed): Likewise.
22410 (get_subexp): Likewise.
22411 * posix/Makefile (tests): Add bug-regex34.
22412 (bug-regex34-ENV): Define.
22413 * posix/bug-regex34.c: New file.
22414
22415 [BZ #11561]
22416 * posix/regcomp.c (parse_bracket_exp): When looking up collating
22417 elements compare against the byte sequence of it, not its name.
22418 * posix/Makefile (tests): Add bug-regex35.
22419 (bug-regex35-ENV): Define.
22420 * posix/bug-regex35.c: New file.
22421
22422 2013-02-11 Tom de Vries <tom@codesourcery.com>
22423
22424 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
22425 comment.
22426 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
22427 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
22428 (CHECK_EOL): Add undef.
22429
22430 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
22431
22432 * bits/stdlib-bsearch.h: New file.
22433 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
22434 * stdlib/stdlib.h: Likewise.
22435
22436 2013-02-11 Roland McGrath <roland@hack.frob.com>
22437
22438 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
22439 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
22440 declaration.
22441 * manual/search.texi (Array Search Function): Add missing const in
22442 lfind prototype.
22443 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
22444 declaration to use rlim_t.
22445 (Basic Scheduling Functions): Remove erroneous const from
22446 sched_getparam prototype. Remove erroneous * from
22447 sched_get_priority_max and sched_get_priority_min prototypes.
22448 (Resource Usage): Fix summary @comment on vtimes to refer to
22449 sys/vtimes.h rather than vtimes.h.
22450 Add missing *s in vtimes prototype.
22451 (Limits on Resources): Fix ulimit prototype to return long int.
22452 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
22453 prototypes to use long int rather than double.
22454 (BSD Random): Fix initstate and setstate to use char *, not void *.
22455 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
22456 prototype to make second argument 'struct aiocb64 *const[]'.
22457 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
22458 (Status of AIO Operations): Remove erroneous const in aio_return and
22459 aio_return64 prototypes.
22460 (Synchronizing I/O): Fix sync prototype to return void.
22461 * manual/startup.texi (Suboptions): Remove an erroneous const in
22462 getsubopt prototype.
22463 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
22464 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
22465 use size_t rather than int.
22466 (Scanning All Users): Likewise for getpwent_r.
22467 (Setting Groups): Add missing const to setgroups prototype.
22468 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
22469 * manual/socket.texi (Host Names): Fix gethostbyaddr and
22470 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
22471 'const void *' rather than 'const char *'.
22472 (Host Address Functions): Likewise for inet_ntop.
22473 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
22474 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
22475 ssize_t for return value.
22476 (Sending Data): Likewise for send, sendto, sendmsg.
22477 (Socket Option Functions): Add a missing const in setsockopt prototype.
22478 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
22479 use wchar_t for the argument.
22480 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
22481 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
22482 take no arguments.
22483 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
22484 double/float/long double for second argument.
22485 Fix return types of significand, significandf, significandl.
22486 * manual/filesys.texi (Setting Permissions): Use mode_t for second
22487 argument in fchmod prototype.
22488 (File Owner): Use uid_t and gid_t in fchown prototype.
22489 (File Times): Add const to utimes, futimes, and lutimes prototypes.
22490 (Making Special Files): Use mode_t and dev_t in mknod prototype.
22491 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
22492 use 'const struct dirent **' as argument types to CMP function pointer
22493 argument.
22494 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
22495 (File Times): Fix summary magic @comment for struct utimbuf and utime
22496 to refer to utime.h, not time.h.
22497 * manual/string.texi (Argz Functions): Add missing const in
22498 argz_extract and argz_next prototypes.
22499 (Finding Tokens in a String): Likewise for basename.
22500 (String/Array Comparison): Fix typo in wcscasecmp prototype.
22501 (Copying and Concatenation): Fix typo in wmemmove prototype.
22502 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
22503 (Signal Stack): Remove erroneous const in sigstack prototype.
22504 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
22505 prototype.
22506 (Simple Calendar Time): Likewise for stime.
22507 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
22508 prototype.
22509 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
22510 say sys/sysctl.h instead.
22511 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
22512 and vsyslog prototypes.
22513
22514 2013-02-11 Tom de Vries <tom@codesourcery.com>
22515
22516 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
22517 Remove.
22518
22519 2013-02-11 Roland McGrath <roland@hack.frob.com>
22520
22521 * misc/sys/mman.h: Fix typo in mremap comment.
22522
22523 2013-02-08 Roland McGrath <roland@hack.frob.com>
22524
22525 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
22526 the '\0' terminator.
22527
22528 2013-02-08 Joseph Myers <joseph@codesourcery.com>
22529
22530 [BZ #13550]
22531 * debug/segfault.c: Don't include <bp-checks.h>.
22532 * sysdeps/generic/bp-checks.h: Remove file.
22533 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
22534 (__GETDENTS): Don't use CHECK_N.
22535 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
22536 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
22537 (__getgroups): Don't use CHECK_N.
22538 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
22539 (setgroups): Don't use CHECK_N.
22540 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
22541 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
22542 (__libc_msgrcv): Don't use CHECK_N.
22543 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
22544 (__libc_msgsnd): Don't use CHECK_N.
22545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
22546 <bp-checks.h>.
22547 (__libc_pread): Don't use CHECK_N.
22548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
22549 include <bp-checks.h>.
22550 (__libc_pread64): Don't use CHECK_N.
22551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
22552 include <bp-checks.h>.
22553 (__libc_pwrite): Don't use CHECK_N.
22554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
22555 include <bp-checks.h>.
22556 (__libc_pwrite64): Don't use CHECK_N.
22557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
22558 <bp-checks.h>.
22559 (__libc_pread): Don't use CHECK_N.
22560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
22561 include <bp-checks.h>.
22562 (__libc_pread64): Don't use CHECK_N.
22563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
22564 include <bp-checks.h>.
22565 (__libc_pwrite): Don't use CHECK_N.
22566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
22567 include <bp-checks.h>.
22568 (__libc_pwrite64): Don't use CHECK_N.
22569 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
22570 (do_pread): Don't use CHECK_N.
22571 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
22572 (do_pread64): Don't use CHECK_N.
22573 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
22574 (do_pwrite): Don't use CHECK_N.
22575 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
22576 (do_pwrite64): Don't use CHECK_N.
22577 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
22578 (__libc_readv): Don't use CHECK_N.
22579 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
22580 (semop): Don't use CHECK_N.
22581 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
22582 <bp-checks.h>.
22583 (semtimedop): Don't use CHECK_N.
22584 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
22585 (__libc_pread): Don't use CHECK_N.
22586 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
22587 <bp-checks.h>.
22588 (__libc_pread64): Don't use CHECK_N.
22589 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
22590 <bp-checks.h>.
22591 (__libc_pwrite): Don't use CHECK_N.
22592 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
22593 <bp-checks.h>.
22594 (__libc_pwrite64): Don't use CHECK_N.
22595 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
22596 <bp-checks.h>.
22597 (__libc_msgrcv): Don't use CHECK_N.
22598 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
22599 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
22600 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
22601 (__libc_writev): Don't use CHECK_N.
22602
22603 2013-02-08 Roland McGrath <roland@hack.frob.com>
22604
22605 * string/strcpy.c: Removed unused variable.
22606
22607 * Makeconfig (+sysdep-includes): Define with := rather than =.
22608 Use an existing include/ subdir of each sysdeps dir before it.
22609
22610 2013-02-08 Carlos O'Donell <carlos@redhat.com>
22611
22612 * nscd/connection.c (register_traced_file): Comment function.
22613 [HAVE_INOTIFY] (union __inev): Define.
22614 [HAVE_INOTIFY] (inotify_check_files): New function.
22615 [HAVE_INOTIFY] (clear_db_cache): Likewise.
22616 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
22617 clear_db_cache.
22618 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
22619
22620 2013-02-08 Carlos O'Donell <carlos@redhat.com>
22621
22622 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
22623 loaded if not already and that a failure is permanent.
22624
22625 2013-02-08 Carlos O'Donell <carlos@redhat.com>
22626
22627 [BZ #15006]
22628 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
22629 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
22630
22631 2013-02-08 Joseph Myers <joseph@codesourcery.com>
22632
22633 [BZ #13550]
22634 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
22635 (CHECK_1_NULL_OK): Likewise.
22636 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
22637 (__fxstat): Do not use CHECK_1.
22638 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
22639 <bp-checks.h>.
22640 (___fxstat64): Do not use CHECK_1.
22641 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
22642 <bp-checks.h>.
22643 (__fxstatat): Do not use CHECK_1.
22644 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
22645 <bp-checks.h>.
22646 (__fxstatat64): Do not use CHECK_1.
22647 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
22648 <bp-checks.h>.
22649 (__fxstat): Do not use CHECK_1.
22650 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
22651 <bp-checks.h>.
22652 (__fxstatat): Do not use CHECK_1.
22653 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22654 <bp-checks.h>.
22655 (__getresgid): Do not use CHECK_1.
22656 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22657 <bp-checks.h>.
22658 (__getresuid): Do not use CHECK_1.
22659 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
22660 <bp-checks.h>.
22661 (__lxstat): Do not use CHECK_1.
22662 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22663 <bp-checks.h>.
22664 (__old_msgctl): Do not use CHECK_1.
22665 (__new_msgctl): Likewise.
22666 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
22667 <bp-checks.h>.
22668 (__new_setrlimit): Do not use CHECK_1.
22669 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22670 <bp-checks.h>.
22671 (__old_shmctl): Do not use CHECK_1.
22672 (__new_shmctl): Likewise.
22673 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
22674 <bp-checks.h>.
22675 (__xstat): Do not use CHECK_1.
22676 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
22677 (__lxstat): Do not use CHECK_1.
22678 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
22679 <bp-checks.h>.
22680 (___lxstat64): Do not use CHECK_1.
22681 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
22682 (__old_msgctl): Do not use CHECK_1.
22683 (__new_msgctl): Likewise.
22684 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
22685 <bp-checks.h>.
22686 (__gettimeofday): Do not use CHECK_1.
22687 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
22688 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
22689 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
22690 <bp-checks.h>.
22691 (__gettimeofday): Do not use CHECK_1.
22692 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
22693 (__old_shmctl): Do not use CHECK_1_NULL_OK.
22694 (__new_shmctl): Do not use CHECK_1.
22695 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
22696 <bp-checks.h>.
22697 (do_sigtimedwait): Do not use CHECK_1.
22698 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
22699 <bp-checks.h>.
22700 (do_sigwaitinfo): Do not use CHECK_1.
22701 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
22702 <bp-checks.h>.
22703 (msgctl): Do not use CHECK_1.
22704 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
22705 <bp-checks.h>.
22706 (shmctl): Do not use CHECK_1.
22707 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
22708 (ustat): Do not use CHECK_1.
22709 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
22710 <bp-checks.h>.
22711 (__fxstat): Do not use CHECK_1.
22712 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
22713 <bp-checks.h>.
22714 (__fxstatat): Do not use CHECK_1.
22715 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
22716 <bp-checks.h>.
22717 (__lxstat): Do not use CHECK_1.
22718 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
22719 <bp-checks.h>.
22720 (__xstat): Do not use CHECK_1.
22721 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
22722 (__xstat): Do not use CHECK_1.
22723 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
22724 (___xstat64): Do not use CHECK_1.
22725
22726 [BZ #13550]
22727 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
22728 definitions.
22729 (CHECK_BOUNDS_HIGH): Likewise.
22730 * string/strcpy.c: Do not include <bp-checks.h>.
22731 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
22732
22733 2013-02-07 Roland McGrath <roland@hack.frob.com>
22734
22735 * nscd/nscd-client.h (__nscd_drop_map_ref):
22736 Add __attribute__ ((unused)).
22737 * nis/nss-nisplus.h (niserr2nss): Likewise.
22738
22739 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
22740 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
22741
22742 * csu/libc-tls.c (init_static_tls, init_slotinfo):
22743 Remove inline keyword.
22744 * include/rounding-mode.h (round_away): Likewise.
22745 * libio/wfileops.c (adjust_wide_data): Likewise.
22746 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
22747 (__m128i_strloadu_tolower): Likewise.
22748 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
22749 (__m128i_strloadu_tolower): Likewise.
22750 * time/mktime.c (ydhms_diff): Likewise.
22751 * locale/elem-hash.h (elem_hash): Likewise.
22752 * locale/setlocale.c (setdata): Likewise.
22753 * posix/regex_internal.h (re_string_char_size_at): Likewise.
22754 (re_string_wchar_at): Likewise.
22755 (bitset_not, bitset_merge, bitset_mask): Likewise.
22756 [!(__GNUC__ > 3)] (inline): Remove macro.
22757 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
22758 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
22759 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
22760 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
22761 * string/memcmp.c (memcmp_bytes): Likewise.
22762 * locale/programs/locarchive.c (compute_hashval): Likewise.
22763 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
22764 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
22765 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
22766 * nss/getent.c (print_rpc, print_protocols): Likewise.
22767 (print_passwd, print_group, print_aliases): Likewise.
22768 * nis/nss-nisplus.h (niserr2nss): Likewise.
22769 * nscd/connections.c (restart_p): Likewise.
22770 Change return type to bool.
22771
22772 2013-02-05 Roland McGrath <roland@hack.frob.com>
22773
22774 * Makeconfig (all-Depend-files): Add existing
22775 $(sorted-subdirs:=/Depend) files.
22776 (all-subdirs): Remove nss.
22777 * sysdeps/unix/inet/Subdirs: Add it here instead.
22778 * hesiod/Depend: New file.
22779
22780 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
22781 instead of calling alloca.
22782
22783 * io/lseek.c (__lseek): Rename to __libc_lseek.
22784 Define __lseek as an alias.
22785
22786 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
22787
22788 2013-02-04 Carlos O'Donell <carlos@redhat.com>
22789
22790 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
22791 else clause and remove check for non-standard endianness.
22792
22793 2013-02-04 David S. Miller <davem@davemloft.net>
22794
22795 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22796
22797 2013-02-04 Joseph Myers <joseph@codesourcery.com>
22798
22799 [BZ #13550]
22800 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
22801 (__ubp_memchr): Remove prototype.
22802 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
22803 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22804 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
22805 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22806 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
22807 Remove alias.
22808 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
22809 (__ubp_memchr): Likewise.
22810 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
22811 (__ubp_memchr): Likewise.
22812 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
22813 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
22814 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
22815 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
22816 CHECK_STRING.
22817 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22818 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
22819 (__getcwd): Do not use CHECK_STRING.
22820 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22821 <bp-checks.h>.
22822 (__real_chown): Do not use CHECK_STRING.
22823 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
22824 <bp-checks.h>.
22825 (fchownat): Do not use CHECK_STRING.
22826 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
22827 CHECK_STRING.
22828 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22829 <bp-checks.h>.
22830 (__lchown): Do not use CHECK_STRING.
22831 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22832 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22833 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22834 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22836 include <bp-checks.h>.
22837 (truncate64): Do not use CHECK_STRING.
22838 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22839 <bp-checks.h>.
22840 (__real_chown): Do not use CHECK_STRING.
22841 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22842 <bp-checks.h>.
22843 (__lchown): Do not use CHECK_STRING.
22844 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22845 <bp-checks.h>.
22846 (__chown): Do not use CHECK_STRING.
22847 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
22848 <bp-checks.h>.
22849 (truncate64): Do not use CHECK_STRING.
22850 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
22851 Likewise.
22852 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
22853 (__xmknod): Do not use CHECK_STRING.
22854 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
22855 <bp-checks.h>.
22856 (__xmknodat): Do not use CHECK_STRING.
22857 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22858 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
22859
22860 2013-02-04 Andreas Schwab <schwab@suse.de>
22861
22862 [BZ #14142]
22863 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
22864 * include/netdb.h: Likewise for h_errno.
22865 * elf/tst-stackguard1.c: Include <tls.h>.
22866
22867 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
22868
22869 * elf/link.h (struct link_map): Extend the l_addr comment.
22870 * include/link.h (struct link_map): Likewise.
22871
22872 2013-02-01 Joseph Myers <joseph@codesourcery.com>
22873
22874 [BZ #13550]
22875 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
22876 (BOUNDED_1): Remove macro.
22877 * debug/backtrace.c: Don't include <bp-checks.h>.
22878 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
22879 (__backtrace): Likewise.
22880 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
22881 <bp-checks.h>.
22882 (__backtrace): Don't use BOUNDED_1.
22883 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
22884 <bp-checks.h>.
22885 (__backtrace): Don't use BOUNDED_1.
22886 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
22887 (__backtrace): Don't use BOUNDED_1.
22888 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
22889 (shmat): Don't use BOUNDED_N.
22890
22891 2013-01-31 Joseph Myers <joseph@codesourcery.com>
22892
22893 [BZ #13550]
22894 * sysdeps/generic/bp-start.h: Remove file.
22895 * csu/libc-start.c: Don't include <bp-start.h>.
22896 (LIBC_START_MAIN): Set up __environ directly instead of using
22897 INIT_ARGV_and_ENVIRON.
22898 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
22899 <bp-start.h>.
22900
22901 [BZ #13550]
22902 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
22903 definitions.
22904 (CHECK_FCNTL): Likewise.
22905 (CHECK_N_PAGES): Likewise.
22906
22907 [BZ #13550]
22908 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
22909 definitions.
22910 (CHECK_SIGSET_NULL_OK): Likewise.
22911 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
22912 <bp-checks.h>.
22913 (sigpending): Don't use CHECK_SIGSET.
22914 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
22915 <bp-checks.h>.
22916 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22917 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
22918 <bp-checks.h>.
22919 (do_sigsuspend): Don't use CHECK_SIGSET.
22920 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
22921 use CHECK_SIGSET.
22922 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
22923 (do_sigwait): Don't use CHECK_SIGSET.
22924 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
22925 use CHECK_SIGSET.
22926 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
22927 include <bp-checks.h>.
22928 (sigpending): Don't use CHECK_SIGSET.
22929 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
22930 include <bp-checks.h>.
22931 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22932 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
22933 <bp-checks.h>.
22934 (sigpending): Don't use CHECK_SIGSET.
22935 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
22936 <bp-checks.h>.
22937 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22938
22939 [BZ #13550]
22940 * sysdeps/generic/bp-semctl.h: Remove file.
22941 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
22942 <bp-checks.h> and <bp-semctl.h>.
22943 (__old_semctl): Don't use CHECK_SEMCTL.
22944 (__new_semctl): Likewise.
22945 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
22946 and <bp-semctl.h>.
22947 (__old_semctl): Don't use CHECK_SEMCTL.
22948 (__new_semctl): Likewise.
22949 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
22950 <bp-checks.h> and <bp-semctl.h>.
22951 (__old_semctl): Don't use CHECK_SEMCTL.
22952 (__new_semctl): Likewise.
22953 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
22954 <bp-checks.h> and <bp-semctl.h>.
22955 (semctl): Don't use CHECK_SEMCTL.
22956
22957 [BZ #13550]
22958 * Makerules (elide-bp-thunks): Remove variable.
22959 (elide-routines.oS): Don't use $(elide-bp-thunks).
22960 (elide-routines.os): Likewise.
22961 (elide-routines.o): Likewise.
22962 (elide-routines.op): Likewise.
22963 (elide-routines.og): Likewise.
22964 (objects): Don't use $(bp-thunks).
22965 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
22966 include.
22967 (common-generated): Do not add s-proto-bp.d.
22968 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
22969 (int): Likewise.
22970 (typ): Likewise.
22971 Do not generate makefile rules for bounded-pointer thunks.
22972 * sysdeps/generic/bp-thunks.h: Remove file.
22973 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
22974 * sysdeps/unix/s-proto-bp.S: Likewise.
22975
22976 [BZ #15062]
22977 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
22978 parts of result separately when argument is not close to line from
22979 -i to i and one part of argument is small.
22980 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22981 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22982 * math/libm-test.inc (cacos_test): Add more tests.
22983 (casin_test): Likewise.
22984 (casinh_test): Likewise.
22985 * sysdeps/i386/fpu/libm-test-ulps: Update.
22986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22987
22988 2013-01-31 David S. Miller <davem@davemloft.net>
22989
22990 * po/de.po: Update from translation team.
22991
22992 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
22993
22994 * time/tzfile.c: Include stdint.h for SIZE_MAX.
22995
22996 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
22997
22998 * configure.in (_AC_PROG_CC_C89): New definition.
22999 * configure: Regenerate.
23000
23001 * configure.in (AC_PROG_CPP): New definition.
23002 * configure: Regenerate.
23003
23004 2013-01-23 Joseph Myers <joseph@codesourcery.com>
23005
23006 * debug/tst-backtrace.h: New file.
23007 * debug/tst-backtrace2.c: Include tst-backtrace.h.
23008 (ret): Remove variable.
23009 (x): Likewise.
23010 (FAIL): Remove macro.
23011 (NO_INLINE): Likewise.
23012 (fn1): Use match function instead of strstr.
23013 * debug/tst-backtrace3.c: Include tst-backtrace.h.
23014 (ret): Remove variable.
23015 (x): Likewise.
23016 (FAIL): Remove macro.
23017 (NO_INLINE): Likewise.
23018 (fn): Use match function instead of strstr.
23019 * debug/tst-backtrace4.c: Include tst-backtrace.h.
23020 (ret): Remove variable.
23021 (x): Likewise.
23022 (FAIL): Remove macro.
23023 (NO_INLINE): Likewise.
23024 (handle_signal): Use match function instead of strstr.
23025 * debug/tst-backtrace5.c: Include tst-backtrace.h.
23026 (ret): Remove variable.
23027 (x): Likewise.
23028 (FAIL): Remove macro.
23029 (NO_INLINE): Likewise.
23030 (handle_signal): Use match function instead of strstr.
23031
23032 2013-01-23 Roland McGrath <roland@hack.frob.com>
23033
23034 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
23035
23036 2013-01-23 David S. Miller <davem@davemloft.net>
23037
23038 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
23039 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
23040 argument of CAS if possible.
23041 * sysdeps/sparc/sparc64/bits/atomic.h
23042 (__arch_compare_and_exchange_val_32_acq): Likewise.
23043 (__arch_compare_and_exchange_val_64_acq): Likewise.
23044
23045 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
23046
23047 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
23048 * sysdeps/posix/ulimit.c: ... this.
23049 Include <limits.h>.
23050 * sysdeps/unix/bsd/ulimit.c: Remove file.
23051
23052 2013-01-23 Adam Conrad <adconrad@0c3.net>
23053
23054 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
23055 (LDFLAGS-tst-array5): Likewise.
23056
23057 2013-01-23 Joseph Myers <joseph@codesourcery.com>
23058
23059 [BZ #15036]
23060 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
23061 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
23062 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
23063 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
23064
23065 2013-01-21 David S. Miller <davem@davemloft.net>
23066
23067 * sysdeps/sparc/backtrace.c: New file.
23068 * sysdeps/sparc/sparc32/backtrace.h: New file.
23069 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
23070 * sysdeps/sparc/sparc64/backtrace.h: New file.
23071 * sysdeps/sparc/sparc64/backtrace.c: Delete.
23072 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
23073 -funwind-tables.
23074
23075 2013-01-21 Andreas Schwab <schwab@suse.de>
23076
23077 [BZ #15020]
23078 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
23079 closed its stdout.
23080
23081 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
23082
23083 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
23084 "mpa2.h".
23085 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23086
23087 2013-01-18 Joseph Myers <joseph@codesourcery.com>
23088 Mark Mitchell <mark@codesourcery.com>
23089 Tom de Vries <tom@codesourcery.com>
23090 Paul Pluzhnikov <ppluzhnikov@google.com>
23091
23092 * debug/tst-backtrace2.c: New file.
23093 * debug/tst-backtrace3.c: Likewise.
23094 * debug/tst-backtrace4.c: Likewise.
23095 * debug/tst-backtrace5.c: Likewise.
23096 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
23097 (CFLAGS-tst-backtrace3.c): Likewise.
23098 (CFLAGS-tst-backtrace4.c): Likewise.
23099 (CFLAGS-tst-backtrace5.c): Likewise.
23100 (LDFLAGS-tst-backtrace2): Likewise.
23101 (LDFLAGS-tst-backtrace3): Likewise.
23102 (LDFLAGS-tst-backtrace4): Likewise.
23103 (LDFLAGS-tst-backtrace5): Likewise.
23104 (tests): Add new tests tst-backtrace2, tst-backtrace3,
23105 tst-backtrace4 and tst-backtrace5.
23106
23107 2013-01-18 Anton Blanchard <anton@samba.org>
23108 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23109
23110 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
23111 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
23112 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
23113 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
23114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23115 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
23116 "+r" and remove output regs list as redundant. Add explicit inline
23117 asm to specify register of return val to work around compiler codegen
23118 bug. Remove (int) cast on return value. Add return type parameter to
23119 use in macro so that this macro does not truncate return value for
23120 64-bit values.
23121 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
23122 pass to INTERNAL_VSYSCALL_NCS.
23123 (INLINE_VSYSCALL): Add 'long int' as return type to
23124 INTERNAL_VSYSCALL_NCS macro invocation.
23125 (INTERNAL_VSYSCALL): Add 'long int' as return type to
23126 INTERNAL_VSYSCALL_NCS macro invocation.
23127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23128
23129 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23130
23131 [BZ #14496]
23132 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
23133 Fix application of SIMD FP exception mask.
23134
23135 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
23136 mp_no from a power of two.
23137 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
23138 __mpexp_twomm1. Use __pow_mp.
23139
23140 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
23141 multiplication.
23142
23143 2013-01-17 David S. Miller <davem@davemloft.net>
23144
23145 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23146
23147 2013-01-17 Joseph Myers <joseph@codesourcery.com>
23148
23149 [BZ #15023]
23150 * include/complex.h: Condition contents on [!_COMPLEX_H].
23151 (__kernel_casinhf): New prototype.
23152 (__kernel_casinh): Likewise.
23153 (__kernel_casinhl): Likewise.
23154 * math/Makefile (libm_calls): Add k_casinh.
23155 * math/k_casinh.c: New file.
23156 * math/k_casinhf.c: Likewise.
23157 * math/k_casinhl.c: Likewise.
23158 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
23159 finite nonzero arguments.
23160 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
23161 finite nonzero arguments.
23162 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
23163 finite nonzero arguments.
23164 * math/s_casinh.c: Do not include <float.h>.
23165 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
23166 * math/s_casinhf.c: Do not include <float.h>.
23167 (__casinhf): Move code for finite nonzero arguments to
23168 k_casinhf.c.
23169 * math/s_casinhl.c: Do not include <float.h>.
23170 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
23171 redefine.
23172 (__casinhl): Move code for finite nonzero arguments to
23173 k_casinhl.c.
23174 * math/libm-test.inc (cacos_test): Add more tests.
23175 * sysdeps/i386/fpu/libm-test-ulps: Update.
23176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23177
23178 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
23179
23180 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
23181 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
23182 [!HAVE_MREMAP]: Remove [defined linux] case.
23183 * malloc/arena.c: Do not include <malloc-sysdep.h>.
23184
23185 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23186
23187 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
23188
23189 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
23190
23191 * elf/elf.h (R_386_SIZE32): New relocation.
23192 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
23193 R_386_SIZE32.
23194 (elf_machine_rela): Likewise.
23195 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23196 R_X86_64_SIZE64 and R_X86_64_SIZE32.
23197
23198 2013-01-17 Joseph Myers <joseph@codesourcery.com>
23199
23200 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
23201 (FP_FAST_FMA): Do not define.
23202 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
23203 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
23204 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
23205 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
23206 !_SOFT_FLOAT]: Likewise.
23207 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
23208 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
23209 value.
23210 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
23211 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
23212 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
23213 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
23214 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
23215 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
23216 file.
23217
23218 2013-01-16 Andreas Schwab <schwab@suse.de>
23219
23220 [BZ #14327]
23221 * include/stdlib.h (__mktemp): Add declaration.
23222 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
23223 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
23224
23225 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23226
23227 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
23228 definitions.
23229 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23230 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
23231 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
23232 definitions here.
23233 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
23234 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
23235 definitions.
23236 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
23237 and ONE.
23238 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
23239 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
23240 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
23241 definitions.
23242 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
23243 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
23244 definitions.
23245 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23246
23247 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
23248
23249 2013-01-15 David S. Miller <davem@davemloft.net>
23250
23251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23252 trunc{,f} to libm-sysdep_routes.
23253 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
23255 file.
23256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
23257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
23258 file.
23259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
23260 file.
23261 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
23262 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
23263 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
23264 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
23265 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
23266 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
23267 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
23268 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
23269
23270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23271 nearbyint{,f} to libm-sysdep_routes.
23272 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
23274 New file.
23275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
23276 file.
23277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
23278 New file.
23279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
23280 file.
23281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
23282 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
23283 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
23284 file.
23285 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
23286 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
23287 file.
23288 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
23289 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
23290 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
23291
23292 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23293 libc_feholdexcept and libc_fesetenv.
23294
23295 2013-01-15 Mike Frysinger <vapier@gentoo.org>
23296
23297 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
23298
23299 2013-01-14 David S. Miller <davem@davemloft.net>
23300
23301 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
23302 (SPARC_ASM_VIS2_IFUNC): Likewise.
23303 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
23304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
23305 use of 'siam' instruction.
23306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
23307 Likewise.
23308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
23309 Likewise.
23310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
23311 Likewise.
23312 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
23313 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
23314 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
23315 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
23316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
23317 file.
23318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
23319 file.
23320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
23321 file.
23322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
23323 file.
23324 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
23325 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
23326 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
23327 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
23328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
23329 new VIS2 routines.
23330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23333 Likewise.
23334 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23335 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23336 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23337 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
23339 routines to libm-sysdep_routines.
23340 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23341
23342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23343 fdim/fdimf to libm-sysdep_routines.
23344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
23345 file.
23346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
23347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
23348 file.
23349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
23350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
23351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
23352 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
23353 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
23354 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
23355 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
23356
23357 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23358
23359 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
23360 to optimize copies.
23361
23362 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
23363 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23364 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23365
23366 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
23367 local variable MPTWO.
23368 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23369 Likewise.
23370
23371 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23372
23373 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
23374 GLOB_NOESCAPE.
23375
23376 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23377
23378 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
23379
23380 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23381
23382 * manual/pattern.texi (glob_t): Document gl_flags.
23383 (glob64_t): Likewise.
23384
23385 2013-01-11 David S. Miller <davem@davemloft.net>
23386
23387 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
23388 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
23389 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
23390 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
23391 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
23392 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
23393 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
23394 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
23395 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
23396 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
23397 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
23398 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
23399 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
23400
23401 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23402 sparc V9 rather than using V8 code.
23403 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23404 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23405
23406 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23407 Move to...
23408 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
23409 Here.
23410
23411 2013-01-11 Roland McGrath <roland@hack.frob.com>
23412
23413 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
23414 not in the main loop.
23415 * configure: Regenerated.
23416
23417 2013-01-11 Joseph Myers <joseph@codesourcery.com>
23418
23419 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
23420 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
23421 to just #else.
23422 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
23423 [!__GLIBC_HAVE_LONG_LONG] case.
23424 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
23425 condition to just #else.
23426 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
23427 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
23428 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
23429 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
23430 unconditional.
23431 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
23432 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23433 #elif condition to just #else.
23434 * sysdeps/unix/sysv/linux/sys/sysmacros.h
23435 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
23436 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23437 #elif condition to just #else.
23438
23439 2013-01-11 Steve Ellcey <sellcey@mips.com>
23440
23441 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
23442 (EF_MIPS_ARCH_64): Fix value.
23443 (EF_MIPS_ARCH_32R2): New.
23444 (EF_MIPS_ARCH_64R2): New.
23445
23446 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
23447
23448 * Makeconfig (+link-pie-before-libc): New.
23449 (+link-pie-after-libc): Likewise.
23450 (+link-pie-tests): Likewise.
23451 (+link-pie): Rewritten.
23452 (link-before-libc): Remove $(config-LDFLAGS).
23453 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
23454 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
23455 (config-LDFLAGS): Renamed to ...
23456 (rtld-LDFLAGS): This.
23457 (rtld-tests-LDFLAGS): New macro.
23458 (link-libc-rpath-link): Likewise.
23459 (link-libc-tests-rpath-link): Likewise.
23460 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
23461 (link-libc): Prepand $(link-libc-rpath-link).
23462 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
23463 (test-program-prefix): New macro.
23464 (test-via-rtld-prefix): Likewise.
23465 (test-program-cmd): Likewise.
23466 (host-test-program-cmd): Likewise.
23467 * Makefile ($(common-objpfx)testrun.sh): Replace
23468 $(run-program-prefix) with $(test-program-prefix).
23469 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
23470 $(rtld-LDFLAGS).
23471 ($(common-objpfx)shlib.lds): Likewise.
23472 (build-module-helper): Likewise.
23473 ($(common-objpfx)format.lds): Likewise.
23474 * Rules (binaries-pie-tests): New.
23475 (binaries-pie-notests): Likewise.
23476 (binaries-pie): Rewritten.
23477 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
23478 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
23479 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
23480 (make-test-out): Replace $(host-built-program-cmd) with
23481 $(host-test-program-cmd).
23482 * config.make.in (build-hardcoded-path-in-tests): New variable.
23483 * configure.in (--enable-hardcoded-path-in-tests): New configure
23484 option.
23485 (hardcoded_path_in_tests): New AC_SUBST.
23486 * configure: Regenerated.
23487 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
23488 $(built-program-cmd) with $(test-program-cmd).
23489 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
23490 (test_program_cmd): This.
23491 * elf/Makefile ($(objpfx)order.out): Run test with
23492 $(test-program-prefix).
23493 ($(objpfx)order2.out): Likewise.
23494 ($(objpfx)tst-initorder.out): Likewise.
23495 ($(objpfx)tst-initorder2.out): Likewise.
23496 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
23497 $(test-program-cmd).
23498 ($(objpfx)tst-array1-static.out): Likewise.
23499 ($(objpfx)tst-array2.out): Likewise.
23500 ($(objpfx)tst-array3.out): Likewise.
23501 ($(objpfx)tst-array4.out): Likewise.
23502 ($(objpfx)tst-array5.out): Likewise.
23503 ($(objpfx)tst-array5-static.out): Likewise.
23504 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
23505 $(test-program-cmd).
23506 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
23507 $(run-program-prefix) with $(test-program-prefix).
23508 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
23509 (test_program_prefix): This.
23510 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
23511 $(run-program-prefix) with $(test-program-prefix).
23512 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
23513 (test_program_prefix): This.
23514 * iconvdata/tst-tables.sh: Likewise.
23515 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
23516 $(run-program-prefix) with $(test-program-prefix).
23517 ($(objpfx)tst-translit.out): Likewise.
23518 ($(objpfx)tst-gettext2.out): Likewise.
23519 ($(objpfx)tst-gettext4.out): Likewise.
23520 ($(objpfx)tst-gettext6.out): Likewise.
23521 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
23522 (test_program_prefix): This.
23523 * intl/tst-gettext2.sh: Likewise.
23524 * intl/tst-gettext4.sh Likewise.
23525 * intl/tst-gettext6.sh: Likewise.
23526 * intl/tst-translit.sh: Likewise.
23527 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
23528 with $(test-program-cmd).
23529 * libio/Makefile ($(objpfx)test-freopen.out): Replace
23530 $(run-program-prefix) with $(test-program-prefix).
23531 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
23532 (test_program_prefix): This.
23533 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
23534 $(run-program-prefix) with $(test-program-prefix).
23535 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
23536 (test_program_prefix): This.
23537 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
23538 * posix/Makefile ($(objpfx)globtest.out): Replace
23539 $(run-via-rtld-prefix) and $(test-wrapper) with
23540 $(test-program-prefix) and $(test-via-rtld-prefix).
23541 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
23542 $(test-program-prefix).
23543 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
23544 $(host-test-program-cmd).
23545 (tst-spawn-ARGS): Likewise.
23546 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
23547 $(test-program-prefix).
23548 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
23549 (test_via_rtld_prefix): This.
23550 (test_wrapper): Renamed to ...
23551 (test_program_prefix): This.
23552 (run_program_prefix): Replaced by test_program_prefix.
23553 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
23554 (test_program_prefix): This.
23555 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
23556 with $(host-test-program-cmd).
23557 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
23558 $(run-program-prefix) with $(test-program-prefix).
23559 ($(objpfx)tst-printf.out): Likewise.
23560 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
23561 $(test-program-cmd).
23562 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
23563 (test_program_prefix): This.
23564 * stdio-common/tst-unbputc.sh: Likewise.
23565 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
23566 $(run-program-prefix) with $(test-program-prefix).
23567 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
23568 (test_program_prefix): This.
23569 * string/Makefile ($(objpfx)tst-svc.out): Replace
23570 $(built-program-cmd) with $(test-program-cmd).
23571
23572 2013-01-11 Andreas Jaeger <aj@suse.de>
23573
23574 [BZ #15003]
23575 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
23576 value. Sync with Linux 3.7.
23577
23578 2013-01-10 David S. Miller <davem@davemloft.net>
23579
23580 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
23581 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23582 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23583
23584 2013-01-10 Roland McGrath <roland@hack.frob.com>
23585
23586 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
23587 never set.
23588 * configure: Regenerated.
23589
23590 2013-01-10 David S. Miller <davem@davemloft.net>
23591
23592 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23593 sparc V9 rather than using V8 code.
23594 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23595 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23596
23597 2013-01-10 Roland McGrath <roland@hack.frob.com>
23598
23599 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
23600 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
23601 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
23602 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
23603 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
23604 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
23605 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
23606 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
23607 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
23608 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
23609 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
23610 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
23611 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
23612 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
23613 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
23614 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
23615 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
23616 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
23617 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
23618 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
23619 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
23620 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
23621 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
23622 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
23623 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
23624 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
23625 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
23626
23627 2013-01-10 David S. Miller <davem@davemloft.net>
23628
23629 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23630
23631 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
23632
23633 * posix/Makefile (tests-static): New variable.
23634 (tests): Add $(tests-static).
23635 (tst-exec-static-ARGS): New variable.
23636 (tst-spawn-static-ARGS): Likewise.
23637 * posix/tst-exec-static.c: New file.
23638 * posix/tst-spawn-static.c: Likewise.
23639 * posix/tst-exec.c: Support run directly.
23640 * posix/tst-spawn.c: Likewise.
23641
23642 2013-01-10 Joseph Myers <joseph@codesourcery.com>
23643
23644 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
23645 long.
23646 * math/bits/mathcalls.h (llrint): Likewise.
23647 (llround): Likewise.
23648 * stdlib/stdlib.h (struct drand48_data): Likewise.
23649 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
23650 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
23651 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
23652 Likewise.
23653 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
23654 Likewise.
23655 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
23656 (elf_greg_t): Likewise.
23657 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
23658 (__jmp_buf): Likewise.
23659 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
23660 definitions.
23661 (llrint): Likewise, for all definitions.
23662 (llrintl): Likewise.
23663
23664 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
23665 Remove [__GNUC__] condition.
23666 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
23667 condition to just [__USE_ISOC99].
23668 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
23669
23670 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
23671
23672 [BZ #14200]
23673 * sysdeps/unix/sysv/linux/x86/bits/environments.h
23674 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
23675 defined.
23676 (_POSIX_V6_ILP32_OFF32): Likewise.
23677 (_XBS5_ILP32_OFF32): Likewise.
23678 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
23679 (__ILP32_OFFBIG_LDFLAGS): Likewise.
23680
23681 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23682
23683 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
23684
23685 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
23686 doubles __mpexp_twomm1. Adjust usage.
23687 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
23688 Remove.
23689
23690 2013-01-10 Andreas Schwab <schwab@suse.de>
23691
23692 [BZ #14964]
23693 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
23694 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
23695
23696 2013-01-09 David S. Miller <davem@davemloft.net>
23697
23698 [BZ #15003]
23699 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
23700 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
23701 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
23702 (TCP_FASTOPEN): Define.
23703 (tcp_repair_opt): New structure.
23704 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
23705 enum values.
23706 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
23707 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
23708 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
23709 (tcp_cookie_transactions): New structure.
23710
23711 2013-01-09 Anton Blanchard <anton@samba.org>
23712
23713 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
23714 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
23715 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
23716 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
23717
23718 2013-01-09 Joseph Myers <joseph@codesourcery.com>
23719
23720 * include/features.h (__USE_ANSI): Remove.
23721
23722 2013-01-09 Roland McGrath <roland@hack.frob.com>
23723
23724 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
23725
23726 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
23727
23728 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
23729
23730 * sysdeps/s390/fpu/libm-test-ulps: Update.
23731
23732 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23733
23734 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
23735 (__acr): Likewise.
23736 (__cpy): Likewise.
23737 (norm): Likewise.
23738 (denorm): Likewise.
23739 (__mp_dbl): Likewise.
23740 (__dbl_mp): Likewise.
23741 (add_magnitudes): Likewise.
23742 (sub_magnitudes): Likewise.
23743 (__add): Likewise.
23744 (__sub): Likewise.
23745 (__mul): Likewise.
23746 (__inv): Likewise.
23747 (__dvd): Likewise.
23748 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
23749 (__acr): Likewise.
23750 (__cpy): Likewise.
23751 (norm): Likewise.
23752 (denorm): Likewise.
23753 (__mp_dbl): Likewise.
23754 (__dbl_mp): Likewise.
23755 (add_magnitudes): Likewise.
23756 (sub_magnitudes): Likewise.
23757 (__add): Likewise.
23758 (__sub): Likewise.
23759 (__mul): Likewise.
23760 (__inv): Likewise.
23761 (__dvd): Likewise.
23762 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
23763 (__acr): Likewise.
23764 (__cpy): Likewise.
23765 (norm): Likewise.
23766 (denorm): Likewise.
23767 (__mp_dbl): Likewise.
23768 (__dbl_mp): Likewise.
23769 (add_magnitudes): Likewise.
23770 (sub_magnitudes): Likewise.
23771 (__add): Likewise.
23772 (__sub): Likewise.
23773 (__mul): Likewise.
23774 (__inv): Likewise.
23775 (__dvd): Likewise.
23776
23777 2013-01-08 Joseph Myers <joseph@codesourcery.com>
23778
23779 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
23780 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
23781 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
23782 2 && __USE_EXTERN_INLINES]: Likewise.
23783
23784 2013-01-08 Andreas Jaeger <aj@suse.de>
23785
23786 [BZ# 14985]
23787 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
23788 Remove.
23789 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23790 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23791
23792 2013-01-07 Anton Blanchard <anton@samba.org>
23793
23794 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
23795 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23796 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
23797 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23798 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23799 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23800 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
23801 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23802 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23803 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23804 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23805 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23806 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23807 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23808 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23809 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23810 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23811 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23812 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23813 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23814 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23815 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
23816 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23817 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23818 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
23819 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23820 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23821 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23822 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
23823 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23824 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23825 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23826 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23827 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23828 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23829 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23830 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23831 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23832 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
23833 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23834 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
23835 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23836 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23837
23838 2013-01-07 Joseph Myers <joseph@codesourcery.com>
23839
23840 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
23841 (__MALLOC_PMT): Likewise.
23842 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
23843 [__GNUC__], only on [_LIBC].
23844 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23845 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
23846 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23847 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
23848 forward declaration.
23849 (realloc_hook_ini): Likewise.
23850 (memalign_hook_ini): Likewise.
23851 (__libc_memalign): Do not use __MALLOC_PMT in variable
23852 declaration.
23853 (__libc_valloc): Likewise.
23854 (__libc_pvalloc): Likewise.
23855 (__libc_calloc): Likewise.
23856 (__posix_memalign): Likewise.
23857
23858 [BZ #14996]
23859 * math/s_casinh.c: Include <float.h>.
23860 (__casinh): Do not do computation with squaring and square root
23861 for large arguments.
23862 * math/s_casinhf.c: Include <float.h>.
23863 (__casinhf): Do not do computation with squaring and square root
23864 for large arguments.
23865 * math/s_casinhl.c: Include <float.h>.
23866 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
23867 (__casinhl): Do not do computation with squaring and square root
23868 for large arguments.
23869 * math/libm-test.inc (casin_test): Add more tests.
23870 (casinh_test): Likewise.
23871 * sysdeps/i386/fpu/libm-test-ulps: Update.
23872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23873
23874 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
23875
23876 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
23877 (__x86_64_raw_data_cache_size): Likewise.
23878 (__x86_64_data_cache_size_half): Likewise.
23879 (__x86_64_raw_data_cache_size_half): Likewise.
23880 (__x86_64_shared_cache_size): Likewise.
23881 (__x86_64_raw_shared_cache_size): Likewise.
23882 (__x86_64_shared_cache_size_half): Likewise.
23883 (__x86_64_raw_shared_cache_size_half): Likewise.
23884 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
23885 to ...
23886 (__x86_data_cache_size): This.
23887 (__x86_64_raw_data_cache_size): Renamed to ...
23888 (__x86_raw_data_cache_size): This.
23889 (__x86_64_data_cache_size_half): Renamed to ...
23890 (__x86_data_cache_size_half): This.
23891 (__x86_64_raw_data_cache_size_half): Renamed to ...
23892 (__x86_raw_data_cache_size_half): This.
23893 (__x86_64_shared_cache_size): Renamed to ...
23894 (__x86_shared_cache_size): This.
23895 (__x86_64_raw_shared_cache_size): Renamed to ...
23896 (__x86_raw_shared_cache_size): This.
23897 (__x86_64_shared_cache_size_half): Renamed to ...
23898 (__x86_shared_cache_size_half): This.
23899 (__x86_64_raw_shared_cache_size_half): Renamed to ...
23900 (__x86_raw_shared_cache_size_half): This.
23901 * sysdeps/x86_64/memcpy.S: Updated.
23902 * sysdeps/x86_64/memset.S: Likewise.
23903 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23904 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23905 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23906
23907 2013-01-04 David S. Miller <davem@davemloft.net>
23908
23909 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23910
23911 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
23912
23913 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
23914 1 to avoid redefinition warning.
23915 (__USE_GNU): Don't define.
23916 (init_signaling_nan): Protoize.
23917
23918 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23919
23920 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23921
23922 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
23923 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
23924 (__cpymn): Likewise.
23925 (norm): Remove commented code.
23926 (denorm): Likewise.
23927 (__mp_dbl): Likewise.
23928 (__inv): Likewise.
23929 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
23930 (__cpymn): Likewise.
23931 (norm): Remove commented code.
23932 (denorm): Likewise.
23933 (__mp_dbl): Likewise.
23934 (__inv): Likewise.
23935
23936 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
23937 mp_no value for 1.0 and 2.0.
23938 (norm): Use RADIXI instead of radixi.d.
23939 (denorm): Likewise.
23940 (__mul): Use 0.0 instead of zero.d.
23941 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
23942 mp_no value for 1.0 and 2.0.
23943 (norm): Use RADIXI instead of radixi.d.
23944 (denorm): Likewise.
23945 (__mul): Use 0.0 instead of zero.d.
23946
23947 2013-01-04 Joseph Myers <joseph@codesourcery.com>
23948
23949 [BZ #14994]
23950 * math/s_casinh.c (__casinh): Reduce finite argument to first
23951 quadrant then set signs of results at the end.
23952 * math/s_casinhf.c (__casinhf): Likewise.
23953 * math/s_casinhl.c (__casinhl): Likewise.
23954 * math/libm-test.inc (casin_test): Add more tests.
23955 (casinh_test): Likewise.
23956 * sysdeps/i386/fpu/libm-test-ulps: Update.
23957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23958
23959 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23960
23961 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
23962
23963 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
23964
23965 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
23966 declarations.
23967 (denorm): Likewise.
23968 (__mp_dbl): Likewise.
23969 (__inv): Likewise.
23970
23971 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
23972 and adjust the header comment.
23973
23974 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
23975 variable name from declaration.
23976
23977 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
23978
23979 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23980 Initialize COMMON_CPUID_INDEX_7 element.
23981 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
23982 (CPUID_RTM): Likewise.
23983 (HAS_RTM): Likewise.
23984 (COMMON_CPUID_INDEX_7): New enum.
23985
23986 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
23987
23988 [BZ #14981]
23989 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
23990 size is zero, record memory as freed.
23991
23992 2013-01-03 Andreas Jaeger <aj@suse.de>
23993
23994 * po/ia.po: Add new Interlingua translation.
23995
23996 2012-01-03 Allan McRae <allan@archlinux.org>
23997
23998 * locale/programs/localedef.c: Fix description of '--posix' flag.
23999
24000 2013-01-02 Joseph Myers <joseph@codesourcery.com>
24001
24002 * NEWS: Update dates in second copyright notice.
24003 * README: Update copyright dates in example.
24004 * manual/libc.texinfo: Update copyright dates.
24005 * scripts/test-installation.pl: Update copyright date in --version
24006 output.
24007
24008 * hurd/ctty-input.c: Fix copyright notice formatting.
24009 * hurd/ctty-output.c: Likewise.
24010 * hurd/dtable.c: Likewise.
24011 * hurd/hurd-raise.c: Likewise.
24012 * hurd/hurdprio.c: Likewise.
24013 * hurd/msgportdemux.c: Likewise.
24014 * misc/sys/file.h: Likewise.
24015 * misc/sys/ioctl.h: Likewise.
24016 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24017 * sysdeps/mach/hurd/chdir.c: Likewise.
24018 * sysdeps/mach/hurd/fchdir.c: Likewise.
24019 * sysdeps/mach/hurd/rename.c: Likewise.
24020 * sysdeps/mach/hurd/rmdir.c: Likewise.
24021 * sysdeps/mach/hurd/seekdir.c: Likewise.
24022 * sysdeps/mach/hurd/setsid.c: Likewise.
24023 * sysdeps/posix/wait3.c: Likewise.
24024
24025 * All files with FSF copyright notices: Update copyright dates
24026 using scripts/update-copyrights.
24027 * intl/plural.c: Regenerated.
24028 * locale/programs/charmap-kw.h: Likewise.
24029 * locale/programs/locfile-kw.h: Likewise.
24030
24031 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24032
24033 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
24034 four values.
24035
24036 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
24037 calculation loop and add branch prediction.
24038
24039 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
24040 check access beyond bounds of m1np.
24041
24042 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24043 MPTWO.
24044 (__inv): Remove local variable MPTWO to use the global
24045 constant.
24046 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
24047 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24048 variable MPTWO.
24049 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
24050 MP3HALFS static const.
24051
24052 2013-01-01 David S. Miller <davem@davemloft.net>
24053
24054 * po/ca.po: Update from translation team.
24055
24056 2013-01-01 Joseph Myers <joseph@codesourcery.com>
24057
24058 * scripts/update-copyrights: New file.
24059 * Makeconfig: Reformat copyright notice.
24060 * ctype/ctype.h: Likewise.
24061 * debug/swprintf_chk.c: Likewise.
24062 * elf/dl-cache.c: Likewise.
24063 * elf/dl-debug.c: Likewise.
24064 * elf/dl-object.c: Likewise.
24065 * grp/initgroups.c: Likewise.
24066 * hurd/Makefile: Likewise.
24067 * hurd/hurd/signal.h: Likewise.
24068 * hurd/hurdfault.c: Likewise.
24069 * hurd/hurdioctl.c: Likewise.
24070 * hurd/hurdlookup.c: Likewise.
24071 * hurd/intr-msg.c: Likewise.
24072 * iconv/gconv_open.c: Likewise.
24073 * libio/swprintf.c: Likewise.
24074 * locale/lc-ctype.c: Likewise.
24075 * locale/nl_langinfo.c: Likewise.
24076 * mach/Machrules: Likewise.
24077 * mach/Makefile: Likewise.
24078 * malloc/obstack.h: Likewise.
24079 * manual/Makefile: Likewise.
24080 * manual/tsort.awk: Likewise.
24081 * misc/bits/stab.def: Likewise.
24082 * nis/nis_print_group_entry.c: Likewise.
24083 * nis/nis_table.c: Likewise.
24084 * nis/nss_compat/compat-pwd.c: Likewise.
24085 * nis/nss_compat/compat-spwd.c: Likewise.
24086 * po/Makefile: Likewise.
24087 * posix/fnmatch.c: Likewise.
24088 * posix/regex.h: Likewise.
24089 * resolv/Makefile: Likewise.
24090 * resolv/nss_dns/dns-network.c: Likewise.
24091 * resolv/res_hconf.c: Likewise.
24092 * scripts/gen-sorted.awk: Likewise.
24093 * soft-fp/soft-fp.h: Likewise.
24094 * stdio-common/printf.h: Likewise.
24095 * stdlib/monetary.h: Likewise.
24096 * stdlib/random.c: Likewise.
24097 * stdlib/random_r.c: Likewise.
24098 * sysdeps/generic/Makefile: Likewise.
24099 * sysdeps/gnu/Makefile: Likewise.
24100 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24101 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24102 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24103 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24104 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24105 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24106 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24107 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24108 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24109 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24110 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24111 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24112 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24113 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24114 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
24115 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24116 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24117 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24118 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24119 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24120 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24121 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24122 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24123 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24124 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
24125 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24126 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24127 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
24128 * sysdeps/mach/hurd/errnos.awk: Likewise.
24129 * sysdeps/mach/hurd/fork.c: Likewise.
24130 * sysdeps/mach/hurd/getcwd.c: Likewise.
24131 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
24132 * sysdeps/mach/hurd/mmap.c: Likewise.
24133 * sysdeps/mach/hurd/utimes.c: Likewise.
24134 * sysdeps/mach/hurd/xmknod.c: Likewise.
24135 * sysdeps/posix/profil.c: Likewise.
24136 * sysdeps/posix/readdir_r.c: Likewise.
24137 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24138 * sysdeps/powerpc/bits/setjmp.h: Likewise.
24139 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
24140 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24141 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24142 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24143 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24144 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24145 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24146 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24147 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24148 * sysdeps/pthread/lio_listio.c: Likewise.
24149 * sysdeps/sparc/dl-procinfo.h: Likewise.
24150 * sysdeps/unix/i386/sysdep.S: Likewise.
24151 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
24152 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
24153 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
24154 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
24155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24156 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
24157 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
24158 * sysdeps/unix/sysv/linux/speed.c: Likewise.
24159 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
24160 * sysdeps/wordsize-32/divdi3.c: Likewise.
24161 * time/sys/time.h: Likewise.
24162 * wcsmbs/Makefile: Likewise.
24163
24164 2013-01-01 David S. Miller <davem@davemloft.net>
24165
24166 * po/fr.po: Update from translation team.
24167
24168 * catgets/gencat.c: Update copyright year.
24169 * csu/version.c: Likewise.
24170 * debug/catchsegv.sh: Likewise.
24171 * debug/pcprofiledump.c: Likewise.
24172 * debug/xtrace.sh: Likewise.
24173 * elf/ldconfig.c: Likewise.
24174 * elf/ldd.bash.in: Likewise.
24175 * elf/pldd.c: Likewise.
24176 * elf/sotruss.ksh: Likewise.
24177 * elf/sprof.c: Likewise.
24178 * iconv/iconv_prog.c: Likewise.
24179 * iconv/iconvconfig.c: Likewise.
24180 * locale/programs/locale.c: Likewise.
24181 * locale/programs/localedef.c: Likewise.
24182 * login/programs/pt_chown.c: Likewise.
24183 * malloc/memusage.sh: Likewise.
24184 * malloc/memusagestat.c: Likewise.
24185 * malloc/mtrace.pl: Likewise.
24186 * nscd/nscd.c: Likewise.
24187 * nss/getent.c: Likewise.
24188 * nss/makedb.c: Likewise.
24189 * posix/getconf.c: Likewise.
24190
24191 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24192
24193 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
24194 numbers.
24195
24196 2012-12-30 Mike Frysinger <vapier@gentoo.org>
24197
24198 * math/bits/mathcalls.h (modf): Use __nonnull.
24199
24200 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24201
24202 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
24203 (split): Use macro CN instead of the bare value.
24204 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
24205 could be used.
24206 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
24207 instead of the bare value.
24208 (power1): Likewise.
24209
24210 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24211
24212 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
24213 __ATAN_TWOM.
24214 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24215
24216 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
24217 their values.
24218 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24219 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24220 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
24221 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24222
24223 2012-12-28 Andreas Jaeger <aj@suse.de>
24224
24225 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
24226 values are from Linux 3.7.
24227
24228 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
24229 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
24230
24231 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24232
24233 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
24234 TRUE case.
24235
24236 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
24237 (norm): Likewise.
24238 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
24239 variables with preprocessor constants.
24240 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24241 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24242 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24243
24244 2012-12-27 Bruno Haible <bruno@clisp.org>
24245
24246 [BZ #14317]
24247 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
24248 only if needed.
24249
24250 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24251
24252 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
24253 and use variable directly.
24254 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
24255
24256 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24257 MPONE.
24258 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
24259 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24260 variable MPONE.
24261 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24262 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24263 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
24264 include directive. Remove local variable MPONE.
24265 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
24266 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
24267 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24268
24269 2012-12-25 David S. Miller <davem@davemloft.net>
24270
24271 * version.h (RELEASE): Set to "development".
24272 (VERSION): Set to "2.17.90".
24273 * NEWS: Add 2.18 section.
24274
24275 2012-12-21 David S. Miller <davem@davemloft.net>
24276
24277 * po/hr.po: Update from translation team.
24278
24279 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24280
24281 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
24282
24283 2012-12-19 Steve Ellcey <sellcey@mips.com>
24284
24285 * NEWS: Mention new memcpy for MIPS.
24286
24287 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24288
24289 * manual/contrib.texi (Contributors): Spelling correction.
24290
24291 2012-12-15 David S. Miller <davem@davemloft.net>
24292
24293 * po/ru.po: Update from translation team.
24294
24295 2012-12-13 David S. Miller <davem@davemloft.net>
24296
24297 * NEWS: Mention IFUNC testsuite enhancements.
24298
24299 * po/pl.po: Update from translation team.
24300 * po/bg.po: Likewise.
24301
24302 * manual/contrib.texi (Contributors): Update entries for Hongjiu
24303 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
24304
24305 2012-12-11 David S. Miller <davem@davemloft.net>
24306
24307 * po/sv.po: Update from translation team.
24308
24309 * po/vi.po: Update from translation team.
24310
24311 * po/cs.po: Update from translation team.
24312
24313 * po/de.po: Update from translation team.
24314 * po/eo.po: Likewise.
24315 * po/nl.po: Likewise.
24316
24317 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24318
24319 [BZ #14246]
24320 * manual/argp.texi (Argp Helper Functions): Move node to follow
24321 Argp Parsing State.
24322
24323 [BZ #14872]
24324 * manual/conf.texi (Limits on File System Capacity): Mention if
24325 terminating null is included in the max size.
24326
24327 2012-12-10 Andreas Jaeger <aj@suse.de>
24328
24329 * po/cs.po: Update from translation team.
24330
24331 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24332
24333 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
24334 void pointer and cast to uintptr_t.
24335 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
24336 path.
24337 * sysdeps/s390/s390-64/memcpy.S: Likewise.
24338 * sysdeps/s390/s390-64/memset.S: Likewise.
24339
24340 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
24341
24342 [BZ #14833]
24343 * menual/message.texi (Message Translation): Fix typos.
24344 (Helper programs for gettext): Likewise.
24345
24346 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
24347
24348 [BZ #14898]
24349 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
24350 Change to -1.
24351
24352 2012-12-07 David S. Miller <davem@davemloft.net>
24353
24354 * po/libc.pot: Update.
24355
24356 2012-12-07 Richard Henderson <rth@redhat.com>
24357
24358 [BZ #10114]
24359 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
24360 normal/normal case to before the switch.
24361 (_FP_DIV): Likewise.
24362
24363 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
24364 Mike Frysinger <vapier@gentoo.org>
24365
24366 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
24367 check for __NR_fadvise64_64.
24368
24369 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
24370
24371 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
24372 0, not just to plain "0" as a statement.
24373 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
24374 with cw.
24375
24376 2012-12-06 Joseph Myers <joseph@codesourcery.com>
24377
24378 * NEWS: Use sourceware.org in Bugzilla URL.
24379
24380 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
24381
24382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24383 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24384
24385 * stdio-common/tst-put-error.c (do_test): Add newline to the
24386 padded test to ensure flush.
24387
24388 2012-12-05 Jeff Law <law@redhat.com>
24389
24390 * sunrpc/etc.rpc (fedfs_admin): Add entry.
24391
24392 2012-12-05 Joseph Myers <joseph@codesourcery.com>
24393
24394 * README: Don't refer to ports add-on as distributed separately.
24395 Mention AArch64 in list of systems supported in the ports add-on.
24396
24397 * LICENSES: Add more non-FSF copyright and license notices.
24398
24399 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
24400 ((unused)).
24401
24402 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
24403
24404 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
24405 10000 as width of padded output.
24406
24407 2012-12-04 Joseph Myers <joseph@codesourcery.com>
24408
24409 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
24410
24411 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
24412 variable LX with __attribute__ ((unused)).
24413 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24414 Likewise.
24415 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24416 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24417 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
24418 with __attribute__ ((unused)).
24419
24420 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
24421
24422 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
24423
24424 2012-12-04 Joseph Myers <joseph@codesourcery.com>
24425
24426 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
24427 (CFLAGS-nldbl-acos.c): New variable.
24428 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
24429 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
24430 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
24431 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
24432 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
24433 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
24434 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
24435 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
24436 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
24437 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
24438 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
24439 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
24440 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
24441 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
24442 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
24443 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
24444 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
24445 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
24446 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
24447 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
24448 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
24449 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
24450 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
24451 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
24452 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
24453 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
24454 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
24455 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
24456 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
24457 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
24458 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
24459 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
24460 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
24461 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
24462 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
24463 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
24464 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
24465 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
24466 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
24467 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
24468 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
24469 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
24470 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
24471 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
24472 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
24473 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
24474 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
24475 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
24476 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
24477 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
24478 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
24479 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
24480 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
24481 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
24482 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
24483 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
24484 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
24485 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
24486 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
24487 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
24488 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
24489 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
24490 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
24491 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
24492 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
24493 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
24494 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
24495 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
24496 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
24497 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
24498 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
24499 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
24500 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
24501 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
24502 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
24503 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
24504 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
24505 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
24506 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
24507 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
24508 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
24509 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
24510 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
24511 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
24512 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
24513 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
24514 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
24515 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
24516 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
24517 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
24518 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
24519 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
24520 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
24521 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
24522 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
24523 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
24524 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
24525
24526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24527 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24528
24529 [BZ #14914]
24530 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
24531 whole low double instead of just low 47 bits when splitting values
24532 into two parts.
24533
24534 2012-12-03 Allan McRae <allan@archlinux.org>
24535
24536 * manual/stdio.texi (Predefined Printf Handlers): Remove
24537 @hsep and @vsep usage.
24538
24539 2012-12-03 Mike Frysinger <vapier@gentoo.org>
24540
24541 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
24542 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
24543
24544 2012-12-03 Jeff Law <law@redhat.com>
24545
24546 * time/sys/time.h (settimeofday): Do not mark TV argument
24547 as __nonnull.
24548
24549 2012-12-01 Mike Frysinger <vapier@gentoo.org>
24550
24551 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
24552 when currently writing and seek to current position when not.
24553 * libio/Makefile (tests): Remove bug-fclose1.
24554 * libio/bug-fclose1.c: Delete.
24555
24556 2012-12-01 Joseph Myers <joseph@codesourcery.com>
24557
24558 * manual/arith.texi (feenableexcept): Fix typo.
24559 (fedisableexcept): Likewise.
24560
24561 2012-11-30 Roland McGrath <roland@hack.frob.com>
24562
24563 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
24564 second, differently-typed declaration, rather than a cast.
24565
24566 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24567
24568 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
24569 * include/rpc/svc.h: ... here.
24570
24571 2012-11-30 Aurelien Jarno <aurel32@debian.org>
24572
24573 [BZ #13013]
24574 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
24575 depending n and resplen2 to catch cases where answer
24576 equals answerp2.
24577
24578 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
24579
24580 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
24581 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
24582
24583 2012-11-29 Mike Frysinger <vapier@gentoo.org>
24584
24585 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
24586
24587 2012-11-29 Roland McGrath <roland@hack.frob.com>
24588
24589 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
24590
24591 2012-11-28 Jeff Law <law@redhat.com>
24592
24593 [BZ #13761]
24594 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
24595 dataset_temporary. Track alloca usage into alloca_used.
24596 If dataset is large allocate and release it via malloc/free.
24597
24598 2012-06-04 Florian Weimer <fweimer@redhat.com>
24599
24600 [BZ #14197]
24601 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
24602
24603 2012-11-28 David S. Miller <davem@davemloft.net>
24604
24605 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24606
24607 2012-11-28 Joseph Myers <joseph@codesourcery.com>
24608
24609 [BZ #14803]
24610 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
24611 of pi/2 rounded to nearest to 64 bits.
24612 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
24613 nearest to 64 bits.
24614 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
24615 bits.
24616
24617 2012-11-28 Jeff Law <law@redhat.com>
24618 Martin Osvald <mosvald@redhat.com>
24619
24620 [BZ #14889]
24621 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
24622 * sunrpc/svc.c: Include time.h.
24623 (__svc_accept_failed): New function.
24624 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
24625 any reason other than EINTR, call __svc_accept_failed.
24626 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
24627 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
24628
24629 2012-11-28 Andreas Schwab <schwab@suse.de>
24630
24631 * scripts/abilist.awk: Also handle indirect functions in .opd
24632 section.
24633
24634 2012-11-28 Joseph Myers <joseph@codesourcery.com>
24635
24636 [BZ #13881]
24637 * sysdeps/x86/fpu/powl_helper.c: New file.
24638 * sysdeps/x86/fpu/Makefile: Likewise.
24639 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
24640 (p3): New object.
24641 (__ieee754_powl): Use __powl_helper for finite arguments except
24642 integer exponents below 8.
24643 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
24644 (p3): New object.
24645 (__ieee754_powl): Use __powl_helper for finite arguments except
24646 integer exponents below 8.
24647 * math/libm-test.inc (pow_test): Add more tests and enable some
24648 previously disabled tests.
24649 * sysdeps/i386/fpu/libm-test-ulps: Update.
24650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24651
24652 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24653 Carlos O'Donell <carlos_odonell@mentor.com>
24654
24655 * nss/makedb.c (is_prime): Assert that input is odd and greater
24656 than 4. Note that fact in a comment too.
24657 (next_prime): Add 4 to input.
24658
24659 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24660
24661 [BZ #11741]
24662 * libio/Makefile (tests): Add test case tst-fwrite-error.
24663 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
24664 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
24665 * libio/tst-fwrite-error.c: New test case.
24666
24667 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
24668
24669 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
24670 before casting to void *.
24671 * include/libc-internal.h (__pointer_type): New macro.
24672 (__integer_if_pointer_type_sub): Likewise.
24673 (__integer_if_pointer_type): Likewise.
24674 (cast_to_integer): Likewise.
24675 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
24676 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
24677 before casting to atomic64_t.
24678 (atomic_exchange_acq): Likewise.
24679 (__arch_exchange_and_add_body): Likewise.
24680 (__arch_add_body): Likewise.
24681 (atomic_add_negative): Likewise.
24682 (atomic_add_zero): Likewise.
24683
24684 2012-11-26 Joseph Myers <joseph@codesourcery.com>
24685
24686 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
24687 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
24688 (add_fdes): Likewise.
24689 (linear_search_fdes): Likewise.
24690 (binary_search_unencoded_fdes): Likewise.
24691
24692 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
24693
24694 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
24695
24696 2012-11-24 Adam Conrad <adconrad@0c3.net>
24697
24698 * configure.in: Autodetect C++ header directories.
24699 * configure: Regenerated.
24700
24701 2012-11-23 Mike Frysinger <vapier@gentoo.org>
24702
24703 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
24704
24705 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
24706
24707 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24708
24709 2012-11-22 Joseph Myers <joseph@codesourcery.com>
24710
24711 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
24712 LDBL_MANT_DIG == 106]: Disable some tests.
24713 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24714 Likewise.
24715 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24716 Likewise.
24717
24718 [BZ #14871]
24719 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
24720 input for small inputs. Return +/- pi/2 for large inputs.
24721 * math/libm-test.inc (atan_test): Add more tests.
24722
24723 * sysdeps/generic/unwind-dw2-fde-glibc.c
24724 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
24725 __attribute__ ((unused)).
24726
24727 [BZ #14645]
24728 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
24729 x * y if x and y are nonzero and z is zero.
24730
24731 [BZ #14811]
24732 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
24733 nonzero exponents with absolute value below 0x1p-117 to +/-
24734 0x1p-117.
24735
24736 [BZ #14869]
24737 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
24738 up arguments below 2**-450, not just those below 2**-500.
24739 * math/libm-test.inc (hypot_test): Add another test.
24740
24741 [BZ #14868]
24742 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
24743 Return a+b for ratio over 2**120, not 2**60.
24744 * math/libm-test.inc (hypot_test): Add another test.
24745
24746 * math/libm-test.inc (clog_test): Use
24747 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
24748 (clog10_test): Likewise.
24749
24750 [BZ #6778]
24751 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
24752
24753 2012-11-22 Andreas Schwab <schwab@suse.de>
24754
24755 * sysdeps/i386/fpu/libm-test-ulps: Update.
24756
24757 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
24758
24759 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
24760 printf output with newline.
24761
24762 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
24763
24764 [BZ #14865]
24765 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
24766 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
24767 -z nodlopen, -z initfirst and -z execstack support.
24768 * configure: Regenerated.
24769
24770 * elf/elf.h (DF_1_NODIRECT): New macro.
24771 (DF_1_IGNMULDEF): Likewise.
24772 (DF_1_NOKSYMS): Likewise.
24773 (DF_1_NOHDR): Likewise.
24774 (DF_1_EDITED): Likewise.
24775 (DF_1_NORELOC): Likewise.
24776 (DF_1_SYMINTPOSE): Likewise.
24777 (DF_1_GLOBAUDIT): Likewise.
24778 (DF_1_SINGLETON): Likewise.
24779 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
24780 DT_1_SUPPORTED_MASK bits.
24781 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
24782
24783 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
24784
24785 * sysdeps/unix/make-syscalls.sh: Document prefixes.
24786
24787 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
24788
24789 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
24790 macro.
24791
24792 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
24793 (sendmmsg): Move declarations...
24794 * socket/sys/socket.h: ... here.
24795 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
24796 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
24797 include it from...
24798 * socket/recvmmsg.c: ... this new file.
24799 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
24800 (sendmmsg): Rename to __sendmmsg, create weak alias and make
24801 definition of __sendmmsg hidden.
24802 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
24803 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
24804 Move ENOSYS stub into and include it from...
24805 * socket/sendmmsg.c: ... this new file.
24806 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
24807 (sysdep_routines): Move recvmmsg and sendmmsg...
24808 * socket/Makefile (routines): ... here.
24809 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
24810 (GLIBC_PRIVATE): Add __sendmmsg.
24811 * include/sys/socket.h (__sendmmsg): Add declarations.
24812 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
24813 sendmmsg.
24814
24815 2012-11-20 Joseph Myers <joseph@codesourcery.com>
24816
24817 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
24818 variable I1 with __attribute__ ((unused)).
24819 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24820
24821 2012-11-19 Joseph Myers <joseph@codesourcery.com>
24822
24823 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
24824 DUMMY variables with __attribute__ ((unused)).
24825
24826 * bits/byteswap.h: Include <bits/types.h>.
24827 (__bswap_64): Use __uint64_t instead of unsigned long long int.
24828
24829 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24830
24831 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
24832 string_t. Do not manually set errno.
24833 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
24834 length with __strnlen. Make sure to both set errno and return it on
24835 failure.
24836
24837 2012-11-19 David S. Miller <davem@davemloft.net>
24838
24839 With help from Joseph Myers.
24840 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
24841 very large arguments properly.
24842 * math/libm-test.inc (atan_test): New tests.
24843 (atan2_test): New tests.
24844 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24845 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24846
24847 2012-11-19 Joseph Myers <joseph@codesourcery.com>
24848
24849 [BZ #14856]
24850 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
24851 Define to 3.
24852
24853 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
24854 [POSIX] (EADDRNOTAVAIL): Likewise.
24855 [POSIX] (EAFNOSUPPORT): Likewise.
24856 [POSIX] (EALREADY): Likewise.
24857 [POSIX] (ECONNABORTED): Likewise.
24858 [POSIX] (ECONNREFUSED): Likewise.
24859 [POSIX] (ECONNRESET): Likewise.
24860 [POSIX] (EDESTADDRREQ): Likewise.
24861 [POSIX] (EDQUOT): Likewise.
24862 [POSIX] (EHOSTUNREACH): Likewise.
24863 [POSIX] (EIDRM): Likewise.
24864 [POSIX] (EISCONN): Likewise.
24865 [POSIX] (ELOOP): Likewise.
24866 [POSIX] (EMULTIHOP): Likewise.
24867 [POSIX] (ENETDOWN): Likewise.
24868 [POSIX] (ENETUNREACH): Likewise.
24869 [POSIX] (ENOBUFS): Likewise.
24870 [POSIX] (ENODATA): Likewise.
24871 [POSIX] (ENOLINK): Likewise.
24872 [POSIX] (ENOMSG): Likewise.
24873 [POSIX] (ENOPROTOOPT): Likewise.
24874 [POSIX] (ENOSR): Likewise.
24875 [POSIX] (ENOSTR): Likewise.
24876 [POSIX] (ENOTCONN): Likewise.
24877 [POSIX] (ENOTSOCK): Likewise.
24878 [POSIX] (EOPNOTSUPP): Likewise.
24879 [POSIX] (EOVERFLOW): Likewise.
24880 [POSIX] (EPROTO): Likewise.
24881 [POSIX] (EPROTONOSUPPORT): Likewise.
24882 [POSIX] (EPROTOTYPE): Likewise.
24883 [POSIX] (ESTALE): Likewise.
24884 [POSIX] (ETIME): Likewise.
24885 [POSIX] (ETXTBSY): Likewise.
24886 [POSIX] (EWOULDBLOCK): Likewise.
24887 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
24888 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
24889 [POSIX] (SEEK_CUR): Likewise.
24890 [POSIX] (SEEK_END): Likewise.
24891 [POSIX || UNIX98] (mode_t): Do not require.
24892 [POSIX] (off_t): Likewise.
24893 [POSIX] (pid_t): Likewise.
24894 [POSIX] (sys/stat.h): Do not allow header.
24895 [POSIX] (unistd.h): Likewise.
24896 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
24897 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
24898 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
24899 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
24900 require.
24901 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
24902 sigevent): Specify elements.
24903 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
24904 entry.
24905 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
24906 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
24907
24908 * conform/data/cpio.h-data [POSIX]: Disable whole file.
24909 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
24910 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
24911 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
24912 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
24913 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
24914 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
24915 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
24916 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
24917 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
24918 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
24919 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
24920 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
24921 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
24922 Likewise.
24923 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
24924 Likewise.
24925 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
24926 Likewise.
24927 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
24928 Likewise.
24929 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
24930 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
24931 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
24932 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
24933 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
24934 Specify lower bound on value.
24935 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
24936 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
24937 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
24938 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
24939 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
24940 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
24941 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
24942 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
24943 value.
24944 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
24945 as optional.
24946 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
24947 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
24948 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
24949 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
24950 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
24951 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
24952 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
24953 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
24954 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
24955 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
24956 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
24957 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
24958 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
24959 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
24960 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
24961 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
24962 entry.
24963 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
24964 optional.
24965 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
24966 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
24967 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
24968 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
24969 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
24970 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
24971 Likewise.
24972 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
24973 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
24974 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
24975 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
24976 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
24977 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
24978 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
24979 as optional.
24980 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
24981 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
24982 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
24983 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
24984 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
24985 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
24986 specify as optional.
24987 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
24988 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
24989 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
24990 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
24991 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
24992 [XPG3] (NL_LANGMAX): Likewise.
24993 [POSIX || XPG3] (NL_MSGMAX): Likewise.
24994 [POSIX || XPG3] (NL_NMAX): Likewise.
24995 [POSIX || XPG3] (NL_SETMAX): Likewise.
24996 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
24997 [XPG3] (NZERO): Likewise.
24998 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
24999 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
25000 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
25001 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
25002 (REG_ERANGE): Expect.
25003 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
25004 optional-constant.
25005 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
25006 Use (void) in prototype.
25007 [POSIX] (*_t): Allow.
25008 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
25009 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
25010 (WRDE_BADVAL): Expect.
25011
25012 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
25013 expect.
25014 [XPG3 || XPG4] (O_RSYNC): Likewise.
25015 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
25016 Likewise.
25017 [XPG3 || XPG4] (pthread_sigmask): Likewise.
25018 [XPG3 || XPG4] (sigqueue): Likewise.
25019 [XPG3 || XPG4] (sigtimedwait): Likewise.
25020 [XPG3 || XPG4] (sigwaitinfo): Likewise.
25021 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
25022 [XPG3 || XPG4] (vsnprintf): Likewise.
25023 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
25024 Likewise.
25025 [XPG3 || XPG4] (blksize_t): Likewise.
25026 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
25027 Likewise.
25028 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
25029 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25030 [XPG3 || XPG4] (struct itimerspec): Likewise.
25031 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
25032 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
25033 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
25034 [XPG3 || XPG4] (clockid_t): Likewise.
25035 [XPG3 || XPG4] (timer_t): Likewise.
25036 [XPG3 || XPG4] (clock_getres): Likewise.
25037 [XPG3 || XPG4] (clock_gettime): Likewise.
25038 [XPG3 || XPG4] (clock_settime): Likewise.
25039 [XPG3 || XPG4] (nanosleep): Likewise.
25040 [XPG3 || XPG4] (timer_create): Likewise.
25041 [XPG3 || XPG4] (timer_delete): Likewise.
25042 [XPG3 || XPG4] (timer_gettime): Likewise.
25043 [XPG3 || XPG4] (timer_getoverrun): Likewise.
25044 [XPG3 || XPG4] (timer_settime): Likewise.
25045 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
25046 [XPG3 || XPG4] (getlogin_r): Likewise.
25047 [XPG3 || XPG4] (pread): Likewise.
25048 [XPG3 || XPG4] (pthread_atfork): Likewise.
25049 [XPG3 || XPG4] (pwrite): Likewise.
25050
25051 [BZ #14835]
25052 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
25053 <bits/siginfo.h>.
25054
25055 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25056
25057 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
25058 finalizing MALLSTREAM.
25059
25060 * sysdeps/mach/hurd/syncfs.c: New file.
25061
25062 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25063
25064 [BZ #14719]
25065 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
25066 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
25067 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
25068 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
25069 (_nss_dns_gethostbyname4_r): Likewise.
25070 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
25071 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
25072
25073 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
25074
25075 [BZ #13763]
25076 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
25077
25078 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
25079
25080 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
25081 * elf/cache.c (print_entry): Print ",AArch64" for
25082 FLAG_AARCH64_LIB64
25083
25084 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
25085 * elf/cache.c (print_entry): Print ",hard-float" for
25086 FLAG_ARM_LIBHF.
25087
25088 2012-11-18 David S. Miller <davem@davemloft.net>
25089
25090 With help from Joseph Myers.
25091 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
25092 cutoff to 2**-13.
25093 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
25094 cutoff to 2**-25.
25095 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
25096 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
25097 small.
25098 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
25099 * math/libm-test.inc (y0_test): New tests.
25100 (y1_test): New tests.
25101 * sysdeps/i386/fpu/libm-test-ulps: Update.
25102 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25103 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25104
25105 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
25106
25107 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
25108 64-bit targets.
25109 * configure: Regenerated.
25110
25111 2012-11-17 David S. Miller <davem@davemloft.net>
25112
25113 [BZ #14811]
25114 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
25115 nonzero exponents with absolute value below 0x1p-128 to +/-
25116 0x1p-128.
25117
25118 2012-11-17 Joseph Myers <joseph@codesourcery.com>
25119
25120 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
25121
25122 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
25123
25124 * posix/getconf-speclist.c: New file.
25125 * posix/posix-envs.def: Likewise.
25126 * posix/confstr.c (START_ENV_GROUP): New macro.
25127 (END_ENV_GROUP): Likewise.
25128 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25129 (KNOWN_PRESENT_ENV_STRING): Likewise.
25130 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25131 (UNKNOWN_ENVIRONMENT): Likewise.
25132 (confstr): Include posix-envs.def instead of handling
25133 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
25134 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
25135 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
25136 (END_ENV_GROUP): Likewise.
25137 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25138 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25139 (UNKNOWN_ENVIRONMENT): Likewise.
25140 (__sysconf): Include posix-envs.def instead of handling associated
25141 cases directly here.
25142 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
25143 preprocessing getconf-speclist.c rather than running getconf or
25144 generating empty file.
25145
25146 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
25147
25148 * scripts/check-local-headers.sh: Ignore 'mach' headers.
25149
25150 2012-11-16 Andrej Lajovic <natrij@gmail.com>
25151
25152 [BZ #14672]
25153 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
25154
25155 2012-11-16 David S. Miller <davem@davemloft.net>
25156
25157 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
25158 smaller than LDBL_EPSILON/2.0L, just return xm1.
25159
25160 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
25161
25162 * elf/tst-array1.c (init): Set constructor priority to 1000.
25163 (fini): Set destructor priority to 1000.
25164 * elf/tst-array2dep.c: Likewise.
25165
25166 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25167
25168 [BZ #11741]
25169 * libio/fileops.c (_IO_new_file_write): Correctly return error.
25170 (_IO_new_file_xsputn): Also return EOF if none of the input
25171 data was written when overflow failed.
25172 * libio/iopadn.c (_IO_padn): Likewise.
25173 * libio/iowpadn.c (_IO_wpadn): Likewise.
25174 * stdio-common/tst-put-error.c: Add copyright notice.
25175 (do_test): Add case for printing padded string.
25176 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
25177 _IO_padn returned error.
25178 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
25179 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
25180 return EOF.
25181
25182 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25183
25184 * libio/libioP.h: Add comment note that the references to C++
25185 bits are now obsolete.
25186
25187 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25188
25189 * math/libm-test.inc (check_complex): Use asprintf.
25190
25191 2012-11-14 Joseph Myers <joseph@codesourcery.com>
25192
25193 * debug/pcprofiledump.c (print_version): Update copyright year.
25194 * malloc/memusagestat.c (print_version): Likewise.
25195
25196 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
25197
25198 [BZ #14831]
25199 * elf/Makefile (tests): Add tst-audit8.
25200 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
25201 ($(objpfx)tst-audit8.out): New target.
25202 (tst-audit8-ENV): New variable.
25203 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
25204 audit if l_reloc_result is NULL.
25205 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
25206 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
25207 * elf/tst-audit8.c: New file.
25208
25209 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25210
25211 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
25212 * misc/Makefile (CFLAGS-select.c): Define.
25213 * posix/Makefile (CFLAGS-pause.c): Define.
25214
25215 2012-11-13 David S. Miller <davem@davemloft.net>
25216
25217 * crypt/Makefile: Move test targets after toplevel Rules
25218 inclusion. Grab any necessary sysdep routines when linking.
25219 * crypt/md5.c (md5_process_block): Remove define, we will always
25220 name it __md5_process_block.
25221 (md5_finish_ctx): Update md5_process_block call.
25222 (md5_stream): Likewise.
25223 (md5_process_bytes): Likewise.
25224 (md5_process_block): Rename to __md5_process_block and move to ...
25225 * crypt/md5-block.c: ... here.
25226 * crypt/sha256.c (sha256_process_block): Move to ...
25227 * crypt/sha256-block.c: ... here.
25228 * crypt/sha512.c (sha512_process_block): Move to ...
25229 * crypt/sha512-block.c: ... here.
25230 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
25231 path.
25232 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
25233 * sysdeps/sparc/sparc64/multiarch/Makefile
25234 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
25235 crypt subdir.
25236 (localedef-aux): Add md5 crypto assembler when in locale subdir.
25237 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
25238 multiarch changes.
25239 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
25240 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
25241 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
25242 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
25243 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
25244 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
25245 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
25246 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
25247 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
25248 file.
25249 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
25250 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
25251 file.
25252 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
25253
25254 2012-11-13 Joseph Myers <joseph@codesourcery.com>
25255
25256 * timezone/tzselect.ksh: Update from tzcode git revision
25257 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
25258 * timezone/zdump.c: Likewise.
25259 * timezone/zic.c: Likewise.
25260 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
25261 in TZVERSION setting, not $(PKGVERSION).
25262 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
25263 REPORT_BUGS_TO settings.
25264
25265 [BZ #14838]
25266 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
25267 macro.
25268
25269 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25270
25271 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
25272 detection to immediately after _FP_ROUND().
25273 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
25274 bits are 0.
25275
25276 2012-11-11 David S. Miller <davem@davemloft.net>
25277
25278 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
25279 inttypes.h
25280 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
25281 __close rather than their public counterparts.
25282
25283 2012-11-10 Joseph Myers <joseph@codesourcery.com>
25284
25285 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
25286 file.
25287 [UNIX98] (sem_timedwait): Do not expect.
25288 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
25289 [XPG4 || UNIX98] (sockatmark): Do not expect.
25290 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
25291 (clock_getcpuclockid): Do not expect.
25292 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
25293 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
25294 Do not expect.
25295 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
25296 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
25297 [UNIX98] (vwscanf): Likewise.
25298 [UNIX98] (vswscanf): Likewise.
25299
25300 2012-11-09 Joseph Myers <joseph@codesourcery.com>
25301
25302 * timezone/version.h: Remove file.
25303 * timezone/README: Do not refer to version.h.
25304 * timezone/Makefile ($(objpfx)zic.o): New dependency on
25305 $(objpfx)version.h.
25306 ($(objpfx)zdump.o): Likewise.
25307 ($(objpfx)version.h): New target.
25308
25309 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
25310 2012i.
25311 * timezone/README: Don't mention modification to tzselect.ksh.
25312 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
25313 work on unmodified tzselect.ksh. Substitute version numbers in
25314 tzselect.ksh.
25315
25316 * Makefile (format-me): Remove.
25317 (INSTALL): Adjust indentation. Use commands directly instead of
25318 using $(format-me).
25319
25320 * aclocal.m4 (ACX_PKGVERSION): New macro.
25321 (ACX_BUGURL): Likewise.
25322 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
25323 (PKGVERSION): New AC_DEFINE_UNQUOTED.
25324 (REPORT_BUGS_TO): Likewise.
25325 * configure: Regenerated.
25326 * config.h.in (PKGVERSION): New macro.
25327 (REPORT_BUGS_TO): Likewise.
25328 * config.make.in (PKGVERSION): New variable.
25329 (PKGVERSION_TEXI): Likewise.
25330 (REPORT_BUGS_TO): Likewise.
25331 (REPORT_BUGS_TEXI): Likewise.
25332 * Makefile (format-me): Use -I$(common-objpfx)manual.
25333 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
25334 ($(common-objpfx)manual/%): New target.
25335 (manual/%): Remove target.
25336 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
25337 (print_version): Use PKGVERSION.
25338 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
25339 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
25340 and REPORT_BUGS_TO.
25341 ($(objpfx)xtrace): Likewise.
25342 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
25343 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
25344 (print_version): Use PKGVERSION.
25345 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
25346 (do_version): Use PKGVERSION.
25347 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
25348 REPORT_BUGS_TO.
25349 (common-ldd-rewrite): Likewise.
25350 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
25351 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
25352 (print_version): Use PKGVERSION.
25353 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
25354 * elf/pldd.c (argp_program_bug_address): Remove variable.
25355 (more_help): New function.
25356 (argp): Use more_help.
25357 (print_version): Use PKGVERSION.
25358 * elf/sln.c (main): Use PKGVERSION.
25359 (usage): Use REPORT_BUGS_TO.
25360 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
25361 (top level): Use PKGVERSION.
25362 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
25363 (print_version): Use PKGVERSION.
25364 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
25365 (print_version): Use PKGVERSION.
25366 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
25367 (print_version): Use PKGVERSION.
25368 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
25369 (print_version): Use PKGVERSION.
25370 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
25371 (print_version): Use PKGVERSION.
25372 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
25373 (print_version): Use PKGVERSION.
25374 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
25375 and BUGURL.
25376 ($(objpfx)memusage): Likewise.
25377 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
25378 (do_version): Use PKGVERSION.
25379 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
25380 (print_version): Use PKGVERSION.
25381 * malloc/mtrace.pl ($PACKAGE): Remove variable.
25382 ($PKGVERSION): New variable.
25383 ($REPORT_BUGS_TO): Likewise.
25384 (usage): Use $REPORT_BUGS_TO.
25385 (top level): Use $PKGVERSION.
25386 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
25387 ($(objpfx)pkgvers.texi): New rule.
25388 ($(objpfx)stamp-pkgvers): Likewise.
25389 * manual/install.texi: Include pkgvers.texi.
25390 (--with-pkgversion): Document new configure option.
25391 (--with-bugurl): Likewise.
25392 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
25393 than necessarily for this particular distribution. Use
25394 REPORT_BUGS_TO for where to report bugs.
25395 * INSTALL: Regenerated.
25396 * manual/libc.texinfo: Include pkgvers.texi.
25397 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
25398 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
25399 (print_version): Use PKGVERSION.
25400 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
25401 (print_version): Use PKGVERSION.
25402 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
25403 (print_version): Use PKGVERSION.
25404 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
25405 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
25406 macro.
25407 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
25408 (print_version): Use PKGVERSION.
25409 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
25410 (print_version): Use PKGVERSION.
25411 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
25412 and PKGVERSION.
25413
25414 * timezone/checktab.awk: Update from tzcode 2012i.
25415 * timezone/ialloc.c: Likewise.
25416 * timezone/private.h: Likewise.
25417 * timezone/scheck.c: Likewise.
25418 * timezone/tzfile.h: Likewise.
25419 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
25420 (TZVERSION): Hardcode tzcode version number.
25421 * timezone/zdump.c: Update from tzcode 2012i.
25422 * timezone/zic.c: Likewise.
25423 * timezone/version.h: New file.
25424 * timezone/README: Describe version.h. Update upstream location.
25425
25426 [BZ #14824]
25427 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
25428 (mktemp): Enable declaration.
25429 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
25430 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
25431 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
25432 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
25433 Likewise.
25434 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
25435 Likewise.
25436 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
25437 Likewise.
25438 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
25439 Likewise.
25440 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
25441 Likewise.
25442 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
25443 Likewise.
25444
25445 [BZ #14821]
25446 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
25447 offset in buffer as u_int32_t not u_long. Consistently use memcpy
25448 for copies of such integer values.
25449 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25450 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25451
25452 2012-11-09 Andreas Jaeger <aj@suse.de>
25453
25454 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
25455 definitions and declarations that are provided by
25456 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25457
25458 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25459
25460 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
25461 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
25462 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
25463 definition.
25464
25465 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25466
25467 * elf/elf.h: Update comment before AArch64 relocations.
25468
25469 2012-11-07 David S. Miller <davem@davemloft.net>
25470
25471 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
25472 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25473 (__start_context): Declare.
25474 (__makecontext_ret): Delete.
25475 (__makecontext): Hook up __start_context instead of
25476 __makecontext_ret.
25477 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
25478 (sysdep_routines): Add __start_context when in stdlib.
25479
25480 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25481
25482 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
25483 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
25484 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
25485 hardcoded "nm".
25486 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
25487 (READELF): New variable. Use it instead of hardcoded "readelf".
25488
25489 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
25490
25491 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
25492 * sysdeps/x86/Makefile: Here.
25493 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
25494 * sysdeps/x86/tst-xmmymm.sh: This.
25495
25496 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25497
25498 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
25499 expectations.
25500 [UNIX98] (pthread_barrier_t): Do not expect.
25501 [UNIX98] (pthread_barrierattr_t): Likewise.
25502 [UNIX98] (pthread_spinlock_t): Likewise.
25503 [UNIX98] (pthread_barrier_destroy): Likewise.
25504 [UNIX98] (pthread_barrier_init): Likewise.
25505 [UNIX98] (pthread_barrier_wait): Likewise.
25506 [UNIX98] (pthread_barrierattr_destroy): Likewise.
25507 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
25508 [UNIX98] (pthread_barrierattr_init): Likewise.
25509 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
25510 [UNIX98] (pthread_getcpuclockid): Likewise.
25511 [UNIX98] (pthread_mutex_timedlock): Likewise.
25512 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
25513 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
25514 [UNIX98] (pthread_sigmask): Likewise.
25515 [UNIX98] (pthread_spin_destroy): Likewise.
25516 [UNIX98] (pthread_spin_init): Likewise.
25517 [UNIX98] (pthread_spin_lock): Likewise.
25518 [UNIX98] (pthread_spin_trylock): Likewise.
25519 [UNIX98] (pthread_spin_unlock): Likewise.
25520 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
25521 Do not expect.
25522 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
25523 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
25524 [XPG3 || XPG4] (pthread_cond_t): Likewise.
25525 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
25526 [XPG3 || XPG4] (pthread_key_t): Likewise.
25527 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
25528 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
25529 [XPG3 || XPG4] (pthread_once_t): Likewise.
25530 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
25531 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
25532 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
25533 [XPG3 || XPG4] (pthread_t): Likewise.
25534
25535 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
25536 not expect.
25537 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
25538
25539 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
25540 Change function return type to int.
25541
25542 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
25543 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
25544 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
25545 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
25546 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
25547 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
25548 [!POSIX] (posix_madvise): Likewise.
25549 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
25550 && !UNIX98].
25551 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
25552 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
25553 (mode_t): Likewise.
25554 (posix_mem_offset): Likewise.
25555 (posix_typed_mem_get_info): Likewise.
25556 (posix_typed_mem_open): Likewise.
25557
25558 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
25559 Change condition to [XOPEN2K8].
25560
25561 * conform/conformtest.pl: Preprocess allow-header data with -x c
25562 instead of from stdin.
25563 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
25564 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
25565 [C99-based standards] (cerfc): Likewise.
25566 [C99-based standards] (cexp2): Likewise.
25567 [C99-based standards] (cexpm1): Likewise.
25568 [C99-based standards] (clog10): Likewise.
25569 [C99-based standards] (clog1p): Likewise.
25570 [C99-based standards] (clog2): Likewise.
25571 [C99-based standards] (clgamma): Likewise.
25572 [C99-based standards] (ctgamma): Likewise.
25573 [C99-based standards] (cerff): Likewise.
25574 [C99-based standards] (cerfcf): Likewise.
25575 [C99-based standards] (cexp2f): Likewise.
25576 [C99-based standards] (cexpm1f): Likewise.
25577 [C99-based standards] (clog10f): Likewise.
25578 [C99-based standards] (clog1pf): Likewise.
25579 [C99-based standards] (clog2f): Likewise.
25580 [C99-based standards] (clgammaf): Likewise.
25581 [C99-based standards] (ctgammaf): Likewise.
25582 [C99-based standards] (cerfl): Likewise.
25583 [C99-based standards] (cerfcl): Likewise.
25584 [C99-based standards] (cexp2l): Likewise.
25585 [C99-based standards] (cexpm1l): Likewise.
25586 [C99-based standards] (clog10l): Likewise.
25587 [C99-based standards] (clog1pl): Likewise.
25588 [C99-based standards] (clog2l): Likewise.
25589 [C99-based standards] (clgammal): Likewise.
25590 [C99-based standards] (ctgammal): Likewise.
25591 * conform/data/inttypes.h-data [C99-based standards]: Include
25592 stdint.h-data. Remove all expectations for stdint.h contents.
25593 [C99-based standards] (PRI*): Do not allow.
25594 [C99-based standards] (SCN*): Likewise.
25595 [C99-based standards] (*_t): Likewise.
25596 [C99-based-standards] (PRId8): Expect macro.
25597 [C99-based-standards] (PRIi8): Likewise.
25598 [C99-based-standards] (PRIo8): Likewise.
25599 [C99-based-standards] (PRIu8): Likewise.
25600 [C99-based-standards] (PRIx8): Likewise.
25601 [C99-based-standards] (PRIX8): Likewise.
25602 [C99-based-standards] (SCNd8): Likewise.
25603 [C99-based-standards] (SCNi8): Likewise.
25604 [C99-based-standards] (SCNo8): Likewise.
25605 [C99-based-standards] (SCNu8): Likewise.
25606 [C99-based-standards] (SCNx8): Likewise.
25607 [C99-based-standards] (PRIdLEAST8): Likewise.
25608 [C99-based-standards] (PRIiLEAST8): Likewise.
25609 [C99-based-standards] (PRIoLEAST8): Likewise.
25610 [C99-based-standards] (PRIuLEAST8): Likewise.
25611 [C99-based-standards] (PRIxLEAST8): Likewise.
25612 [C99-based-standards] (PRIXLEAST8): Likewise.
25613 [C99-based-standards] (SCNdLEAST8): Likewise.
25614 [C99-based-standards] (SCNiLEAST8): Likewise.
25615 [C99-based-standards] (SCNoLEAST8): Likewise.
25616 [C99-based-standards] (SCNuLEAST8): Likewise.
25617 [C99-based-standards] (SCNxLEAST8): Likewise.
25618 [C99-based-standards] (PRIdFAST8): Likewise.
25619 [C99-based-standards] (PRIiFAST8): Likewise.
25620 [C99-based-standards] (PRIoFAST8): Likewise.
25621 [C99-based-standards] (PRIuFAST8): Likewise.
25622 [C99-based-standards] (PRIxFAST8): Likewise.
25623 [C99-based-standards] (PRIXFAST8): Likewise.
25624 [C99-based-standards] (SCNdFAST8): Likewise.
25625 [C99-based-standards] (SCNiFAST8): Likewise.
25626 [C99-based-standards] (SCNoFAST8): Likewise.
25627 [C99-based-standards] (SCNuFAST8): Likewise.
25628 [C99-based-standards] (SCNxFAST8): Likewise.
25629 [C99-based-standards] (PRId16): Likewise.
25630 [C99-based-standards] (PRIi16): Likewise.
25631 [C99-based-standards] (PRIo16): Likewise.
25632 [C99-based-standards] (PRIu16): Likewise.
25633 [C99-based-standards] (PRIx16): Likewise.
25634 [C99-based-standards] (PRIX16): Likewise.
25635 [C99-based-standards] (SCNd16): Likewise.
25636 [C99-based-standards] (SCNi16): Likewise.
25637 [C99-based-standards] (SCNo16): Likewise.
25638 [C99-based-standards] (SCNu16): Likewise.
25639 [C99-based-standards] (SCNx16): Likewise.
25640 [C99-based-standards] (PRIdLEAST16): Likewise.
25641 [C99-based-standards] (PRIiLEAST16): Likewise.
25642 [C99-based-standards] (PRIoLEAST16): Likewise.
25643 [C99-based-standards] (PRIuLEAST16): Likewise.
25644 [C99-based-standards] (PRIxLEAST16): Likewise.
25645 [C99-based-standards] (PRIXLEAST16): Likewise.
25646 [C99-based-standards] (SCNdLEAST16): Likewise.
25647 [C99-based-standards] (SCNiLEAST16): Likewise.
25648 [C99-based-standards] (SCNoLEAST16): Likewise.
25649 [C99-based-standards] (SCNuLEAST16): Likewise.
25650 [C99-based-standards] (SCNxLEAST16): Likewise.
25651 [C99-based-standards] (PRIdFAST16): Likewise.
25652 [C99-based-standards] (PRIiFAST16): Likewise.
25653 [C99-based-standards] (PRIoFAST16): Likewise.
25654 [C99-based-standards] (PRIuFAST16): Likewise.
25655 [C99-based-standards] (PRIxFAST16): Likewise.
25656 [C99-based-standards] (PRIXFAST16): Likewise.
25657 [C99-based-standards] (SCNdFAST16): Likewise.
25658 [C99-based-standards] (SCNiFAST16): Likewise.
25659 [C99-based-standards] (SCNoFAST16): Likewise.
25660 [C99-based-standards] (SCNuFAST16): Likewise.
25661 [C99-based-standards] (SCNxFAST16): Likewise.
25662 [C99-based-standards] (PRId32): Likewise.
25663 [C99-based-standards] (PRIi32): Likewise.
25664 [C99-based-standards] (PRIo32): Likewise.
25665 [C99-based-standards] (PRIu32): Likewise.
25666 [C99-based-standards] (PRIx32): Likewise.
25667 [C99-based-standards] (PRIX32): Likewise.
25668 [C99-based-standards] (SCNd32): Likewise.
25669 [C99-based-standards] (SCNi32): Likewise.
25670 [C99-based-standards] (SCNo32): Likewise.
25671 [C99-based-standards] (SCNu32): Likewise.
25672 [C99-based-standards] (SCNx32): Likewise.
25673 [C99-based-standards] (PRIdLEAST32): Likewise.
25674 [C99-based-standards] (PRIiLEAST32): Likewise.
25675 [C99-based-standards] (PRIoLEAST32): Likewise.
25676 [C99-based-standards] (PRIuLEAST32): Likewise.
25677 [C99-based-standards] (PRIxLEAST32): Likewise.
25678 [C99-based-standards] (PRIXLEAST32): Likewise.
25679 [C99-based-standards] (SCNdLEAST32): Likewise.
25680 [C99-based-standards] (SCNiLEAST32): Likewise.
25681 [C99-based-standards] (SCNoLEAST32): Likewise.
25682 [C99-based-standards] (SCNuLEAST32): Likewise.
25683 [C99-based-standards] (SCNxLEAST32): Likewise.
25684 [C99-based-standards] (PRIdFAST32): Likewise.
25685 [C99-based-standards] (PRIiFAST32): Likewise.
25686 [C99-based-standards] (PRIoFAST32): Likewise.
25687 [C99-based-standards] (PRIuFAST32): Likewise.
25688 [C99-based-standards] (PRIxFAST32): Likewise.
25689 [C99-based-standards] (PRIXFAST32): Likewise.
25690 [C99-based-standards] (SCNdFAST32): Likewise.
25691 [C99-based-standards] (SCNiFAST32): Likewise.
25692 [C99-based-standards] (SCNoFAST32): Likewise.
25693 [C99-based-standards] (SCNuFAST32): Likewise.
25694 [C99-based-standards] (SCNxFAST32): Likewise.
25695 [C99-based-standards] (PRId64): Likewise.
25696 [C99-based-standards] (PRIi64): Likewise.
25697 [C99-based-standards] (PRIo64): Likewise.
25698 [C99-based-standards] (PRIu64): Likewise.
25699 [C99-based-standards] (PRIx64): Likewise.
25700 [C99-based-standards] (PRIX64): Likewise.
25701 [C99-based-standards] (SCNd64): Likewise.
25702 [C99-based-standards] (SCNi64): Likewise.
25703 [C99-based-standards] (SCNo64): Likewise.
25704 [C99-based-standards] (SCNu64): Likewise.
25705 [C99-based-standards] (SCNx64): Likewise.
25706 [C99-based-standards] (PRIdLEAST64): Likewise.
25707 [C99-based-standards] (PRIiLEAST64): Likewise.
25708 [C99-based-standards] (PRIoLEAST64): Likewise.
25709 [C99-based-standards] (PRIuLEAST64): Likewise.
25710 [C99-based-standards] (PRIxLEAST64): Likewise.
25711 [C99-based-standards] (PRIXLEAST64): Likewise.
25712 [C99-based-standards] (SCNdLEAST64): Likewise.
25713 [C99-based-standards] (SCNiLEAST64): Likewise.
25714 [C99-based-standards] (SCNoLEAST64): Likewise.
25715 [C99-based-standards] (SCNuLEAST64): Likewise.
25716 [C99-based-standards] (SCNxLEAST64): Likewise.
25717 [C99-based-standards] (PRIdFAST64): Likewise.
25718 [C99-based-standards] (PRIiFAST64): Likewise.
25719 [C99-based-standards] (PRIoFAST64): Likewise.
25720 [C99-based-standards] (PRIuFAST64): Likewise.
25721 [C99-based-standards] (PRIxFAST64): Likewise.
25722 [C99-based-standards] (PRIXFAST64): Likewise.
25723 [C99-based-standards] (SCNdFAST64): Likewise.
25724 [C99-based-standards] (SCNiFAST64): Likewise.
25725 [C99-based-standards] (SCNoFAST64): Likewise.
25726 [C99-based-standards] (SCNuFAST64): Likewise.
25727 [C99-based-standards] (SCNxFAST64): Likewise.
25728 [C99-based-standards] (PRIdMAX): Likewise.
25729 [C99-based-standards] (PRIiMAX): Likewise.
25730 [C99-based-standards] (PRIoMAX): Likewise.
25731 [C99-based-standards] (PRIuMAX): Likewise.
25732 [C99-based-standards] (PRIxMAX): Likewise.
25733 [C99-based-standards] (PRIXMAX): Likewise.
25734 [C99-based-standards] (SCNdMAX): Likewise.
25735 [C99-based-standards] (SCNiMAX): Likewise.
25736 [C99-based-standards] (SCNoMAX): Likewise.
25737 [C99-based-standards] (SCNuMAX): Likewise.
25738 [C99-based-standards] (SCNxMAX): Likewise.
25739 [C99-based-standards] (PRIdPTR): Likewise.
25740 [C99-based-standards] (PRIiPTR): Likewise.
25741 [C99-based-standards] (PRIoPTR): Likewise.
25742 [C99-based-standards] (PRIuPTR): Likewise.
25743 [C99-based-standards] (PRIxPTR): Likewise.
25744 [C99-based-standards] (PRIXPTR): Likewise.
25745 [C99-based-standards] (SCNdPTR): Likewise.
25746 [C99-based-standards] (SCNiPTR): Likewise.
25747 [C99-based-standards] (SCNoPTR): Likewise.
25748 [C99-based-standards] (SCNuPTR): Likewise.
25749 [C99-based-standards] (SCNxPTR): Likewise.
25750 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
25751 allow.
25752 * conform/data/stdint.h-data: Update comments to clarify
25753 requirements.
25754 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
25755 type.
25756 [C99-based standards] (INT8_MAX): Likewise.
25757 [C99-based standards] (INT16_MIN): Likewise.
25758 [C99-based standards] (INT16_MAX): Likewise.
25759 [C99-based standards] (INT32_MIN): Likewise.
25760 [C99-based standards] (INT32_MAX): Likewise.
25761 [C99-based standards] (INT64_MIN): Likewise.
25762 [C99-based standards] (INT64_MAX): Likewise.
25763 [C99-based standards] (UINT8_MAX): Likewise.
25764 [C99-based standards] (UINT16_MAX): Likewise.
25765 [C99-based standards] (UINT32_MAX): Likewise.
25766 [C99-based standards] (UINT64_MAX): Likewise.
25767 [C99-based standards] (INT_LEAST8_MIN): Likewise.
25768 [C99-based standards] (INT_LEAST8_MAX): Likewise.
25769 [C99-based standards] (INT_LEAST16_MIN): Likewise.
25770 [C99-based standards] (INT_LEAST16_MAX): Likewise.
25771 [C99-based standards] (INT_LEAST32_MIN): Likewise.
25772 [C99-based standards] (INT_LEAST32_MAX): Likewise.
25773 [C99-based standards] (INT_LEAST64_MIN): Likewise.
25774 [C99-based standards] (INT_LEAST64_MAX): Likewise.
25775 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
25776 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
25777 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
25778 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
25779 [C99-based standards] (INT_FAST8_MIN): Likewise.
25780 [C99-based standards] (INT_FAST8_MAX): Likewise.
25781 [C99-based standards] (INT_FAST16_MIN): Likewise.
25782 [C99-based standards] (INT_FAST16_MAX): Likewise.
25783 [C99-based standards] (INT_FAST32_MIN): Likewise.
25784 [C99-based standards] (INT_FAST32_MAX): Likewise.
25785 [C99-based standards] (INT_FAST64_MIN): Likewise.
25786 [C99-based standards] (INT_FAST64_MAX): Likewise.
25787 [C99-based standards] (UINT_FAST8_MAX): Likewise.
25788 [C99-based standards] (UINT_FAST16_MAX): Likewise.
25789 [C99-based standards] (UINT_FAST32_MAX): Likewise.
25790 [C99-based standards] (UINT_FAST64_MAX): Likewise.
25791 [C99-based standards] (INTPTR_MIN): Likewise.
25792 [C99-based standards] (INTPTR_MAX): Likewise.
25793 [C99-based standards] (UINTPTR_MAX): Likewise.
25794 [C99-based standards] (INTMAX_MIN): Likewise.
25795 [C99-based standards] (INTMAX_MAX): Likewise.
25796 [C99-based standards] (UINTMAX_MAX): Likewise.
25797 [C99-based standards] (PTRDIFF_MIN): Likewise.
25798 [C99-based standards] (PTRDIFF_MAX): Likewise.
25799 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
25800 [C99-based standards] (SIZE_MAX): Likewise.
25801 [C99-based standards] (WCHAR_MAX): Likewise.
25802 [C99-based standards] (WINT_MAX): Likewise.
25803 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
25804 constraint on value.
25805 [C99-based standards] (WCHAR_MIN): Likewise.
25806 [C99-based standards] (WINT_MIN): Likewise.
25807 [C99-based standards] (*_t): Allow.
25808 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
25809 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
25810 Include math.h-data and complex.h-data. Remove all expectations
25811 of math.h and complex.h contents.
25812 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
25813 at end of line.
25814 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
25815 (struct tm): Expect tag.
25816 [C99-based-standards] (wcstof): Expect function.
25817 [C99-based-standards] (wcstold): Likewise.
25818 [C99-based-standards] (wcstoll): Likewise.
25819 [C99-based-standards] (wcstoull): Likewise.
25820 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
25821 macro-int-constant. Specify type.
25822 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
25823 constraint on value.
25824 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25825 Specify type.
25826 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
25827 Specify value.
25828 [ISO C standards]: Do not allow headers.
25829 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
25830 wcs[abcdefghijklmnopqrstuvwxyz]*.
25831 [ISO C standards] (*_t): Do not allow.
25832 * conform/data/wctype.h-data [C99-based standards] (iswblank):
25833 Expect function.
25834 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
25835 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25836 Specify type.
25837 [ISO C standards]: Do not allow headers.
25838 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
25839 is[abcdefghijklmnopqrstuvwxyz]*.
25840 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
25841 to[abcdefghijklmnopqrstuvwxyz]*.
25842 [ISO C standards] (*_t): Do not allow.
25843 * conform/data/stdalign.h-data: New file.
25844 * conform/data/stdbool.h-data: Likewise.
25845 * conform/data/stdnoreturn.h-data: Likewise.
25846
25847 2012-11-07 Roland McGrath <roland@hack.frob.com>
25848
25849 [BZ #14815]
25850 * manual/filesys.texi (Directory Entries): Typo fix.
25851 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
25852
25853 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25854
25855 * elf/elf.h (EM_AARCH64): New macro.
25856 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
25857 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
25858 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
25859 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
25860 (R_AARCH64_TLSDESC): Likewise.
25861 (NT_ARM_TLS): Likewise.
25862 (NT_ARM_HW_BREAK): Likewise.
25863 (NT_ARM_HW_WATCH): Likewise.
25864
25865 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25866
25867 [BZ #14811]
25868 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
25869 (__ieee754_powl): Saturate nonzero exponents with absolute value
25870 below 0x1p-79 to +/- 0x1p-79.
25871 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
25872 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
25873 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
25874 nonzero exponents with absolute value below 0x1p-32 to +/-
25875 0x1p-32.
25876 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
25877 (__ieee754_powl): Saturate nonzero exponents with absolute value
25878 below 0x1p-79 to +/- 0x1p-79.
25879 * math/libm-test.inc (pow_test): Add more tests.
25880
25881 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25882
25883 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
25884 _dl_s390_cap_flags with kernel. Increase string length.
25885 (_dl_s390_platforms): Add z196 and zEC12.
25886
25887 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25888
25889 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
25890 Change XOPEN21K to XOPEN2K.
25891
25892 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
25893
25894 * string/memmove.c: Use memcpy when possible.
25895
25896 2012-11-06 Andreas Jaeger <aj@suse.de>
25897
25898 * po/eo.po: Update from translation team.
25899
25900 2012-11-06 Joseph Myers <joseph@codesourcery.com>
25901
25902 [BZ #14793]
25903 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
25904 exponent and small x and y exponents, scale x or y up. Increase
25905 by 2 the exponent used in scaling up.
25906 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25907 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25908 * math/libm-test.inc (fma_test): Add more tests.
25909 (fma_test_towardzero): Likewise.
25910 (fma_test_downward): Likewise.
25911 (fma_test_upward): Likewise.
25912
25913 2012-11-05 Joseph Myers <joseph@codesourcery.com>
25914
25915 [BZ #14805]
25916 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
25917 fenv_t *.
25918
25919 [BZ #14801]
25920 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
25921 namespace for names of struct fields.
25922 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
25923 fenv_t fields.
25924 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25925 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
25926
25927 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
25928
25929 [BZ #3665]
25930 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
25931
25932 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25933
25934 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
25935 PTR_DEMANGLE.
25936
25937 [BZ #5246]
25938 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
25939 PTR_DEMANGLE.
25940
25941 2012-11-04 Joseph Myers <joseph@codesourcery.com>
25942
25943 [BZ #14797]
25944 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
25945 definitely overflow as x * y not x * y + z.
25946 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25947 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25948 * math/libm-test.inc (fma_test): Add more tests.
25949 (fma_test_towardzero): Likewise.
25950 (fma_test_downward): Likewise.
25951 (fma_test_upward): Likewise.
25952
25953 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25954
25955 [BZ #157]
25956
25957 * include/stub-tag.h: Remove file.
25958 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
25959 '#include' of it.
25960 * manual/maint.texi (Porting): Don't reference it.
25961 * Makerules ($(objpfx)stubs): Likewise.
25962 * dirent/closedir.c: Don't include <stub-tag.h>.
25963 * dirent/dirfd.c: Likewise.
25964 * dirent/fdopendir.c: Likewise.
25965 * dirent/getdents.c: Likewise.
25966 * dirent/getdents64.c: Likewise.
25967 * dirent/opendir.c: Likewise.
25968 * dirent/readdir.c: Likewise.
25969 * dirent/readdir64.c: Likewise.
25970 * dirent/readdir64_r.c: Likewise.
25971 * dirent/readdir_r.c: Likewise.
25972 * dirent/rewinddir.c: Likewise.
25973 * dirent/seekdir.c: Likewise.
25974 * dirent/telldir.c: Likewise.
25975 * gmon/profil.c: Likewise.
25976 * grp/setgroups.c: Likewise.
25977 * inet/if_index.c: Likewise.
25978 * io/access.c: Likewise.
25979 * io/chdir.c: Likewise.
25980 * io/chmod.c: Likewise.
25981 * io/chown.c: Likewise.
25982 * io/close.c: Likewise.
25983 * io/dup.c: Likewise.
25984 * io/dup2.c: Likewise.
25985 * io/dup3.c: Likewise.
25986 * io/euidaccess.c: Likewise.
25987 * io/faccessat.c: Likewise.
25988 * io/fchdir.c: Likewise.
25989 * io/fchmod.c: Likewise.
25990 * io/fchmodat.c: Likewise.
25991 * io/fchown.c: Likewise.
25992 * io/fchownat.c: Likewise.
25993 * io/fcntl.c: Likewise.
25994 * io/flock.c: Likewise.
25995 * io/fstatfs.c: Likewise.
25996 * io/fstatfs64.c: Likewise.
25997 * io/fstatvfs.c: Likewise.
25998 * io/fstatvfs64.c: Likewise.
25999 * io/futimens.c: Likewise.
26000 * io/fxstat.c: Likewise.
26001 * io/fxstat64.c: Likewise.
26002 * io/fxstatat.c: Likewise.
26003 * io/fxstatat64.c: Likewise.
26004 * io/getcwd.c: Likewise.
26005 * io/isatty.c: Likewise.
26006 * io/lchmod.c: Likewise.
26007 * io/lchown.c: Likewise.
26008 * io/link.c: Likewise.
26009 * io/linkat.c: Likewise.
26010 * io/lseek.c: Likewise.
26011 * io/lseek64.c: Likewise.
26012 * io/lxstat64.c: Likewise.
26013 * io/mkdir.c: Likewise.
26014 * io/mkdirat.c: Likewise.
26015 * io/mkfifo.c: Likewise.
26016 * io/mkfifoat.c: Likewise.
26017 * io/open.c: Likewise.
26018 * io/open64.c: Likewise.
26019 * io/openat.c: Likewise.
26020 * io/openat64.c: Likewise.
26021 * io/pipe.c: Likewise.
26022 * io/pipe2.c: Likewise.
26023 * io/poll.c: Likewise.
26024 * io/posix_fadvise.c: Likewise.
26025 * io/posix_fadvise64.c: Likewise.
26026 * io/posix_fallocate.c: Likewise.
26027 * io/posix_fallocate64.c: Likewise.
26028 * io/read.c: Likewise.
26029 * io/readlink.c: Likewise.
26030 * io/readlinkat.c: Likewise.
26031 * io/rmdir.c: Likewise.
26032 * io/sendfile.c: Likewise.
26033 * io/sendfile64.c: Likewise.
26034 * io/statfs.c: Likewise.
26035 * io/statfs64.c: Likewise.
26036 * io/statvfs.c: Likewise.
26037 * io/statvfs64.c: Likewise.
26038 * io/symlink.c: Likewise.
26039 * io/symlinkat.c: Likewise.
26040 * io/ttyname.c: Likewise.
26041 * io/ttyname_r.c: Likewise.
26042 * io/umask.c: Likewise.
26043 * io/unlink.c: Likewise.
26044 * io/unlinkat.c: Likewise.
26045 * io/utime.c: Likewise.
26046 * io/utimensat.c: Likewise.
26047 * io/write.c: Likewise.
26048 * io/xmknod.c: Likewise.
26049 * io/xmknodat.c: Likewise.
26050 * io/xstat.c: Likewise.
26051 * io/xstat64.c: Likewise.
26052 * login/getpt.c: Likewise.
26053 * login/grantpt.c: Likewise.
26054 * login/unlockpt.c: Likewise.
26055 * math/e_acoshl.c: Likewise.
26056 * math/e_acosl.c: Likewise.
26057 * math/e_asinl.c: Likewise.
26058 * math/e_atan2l.c: Likewise.
26059 * math/e_atanhl.c: Likewise.
26060 * math/e_coshl.c: Likewise.
26061 * math/e_expl.c: Likewise.
26062 * math/e_fmodl.c: Likewise.
26063 * math/e_gammal_r.c: Likewise.
26064 * math/e_hypotl.c: Likewise.
26065 * math/e_j0l.c: Likewise.
26066 * math/e_j1l.c: Likewise.
26067 * math/e_jnl.c: Likewise.
26068 * math/e_lgammal_r.c: Likewise.
26069 * math/e_log10l.c: Likewise.
26070 * math/e_log2l.c: Likewise.
26071 * math/e_logl.c: Likewise.
26072 * math/e_powl.c: Likewise.
26073 * math/e_rem_pio2l.c: Likewise.
26074 * math/e_sinhl.c: Likewise.
26075 * math/e_sqrtl.c: Likewise.
26076 * math/fclrexcpt.c: Likewise.
26077 * math/fedisblxcpt.c: Likewise.
26078 * math/feenablxcpt.c: Likewise.
26079 * math/fegetenv.c: Likewise.
26080 * math/fegetexcept.c: Likewise.
26081 * math/fegetround.c: Likewise.
26082 * math/feholdexcpt.c: Likewise.
26083 * math/fesetenv.c: Likewise.
26084 * math/fesetround.c: Likewise.
26085 * math/feupdateenv.c: Likewise.
26086 * math/fgetexcptflg.c: Likewise.
26087 * math/fraiseexcpt.c: Likewise.
26088 * math/fsetexcptflg.c: Likewise.
26089 * math/ftestexcept.c: Likewise.
26090 * math/k_cosl.c: Likewise.
26091 * math/k_rem_pio2l.c: Likewise.
26092 * math/k_sinl.c: Likewise.
26093 * math/k_tanl.c: Likewise.
26094 * math/s_asinhl.c: Likewise.
26095 * math/s_atanl.c: Likewise.
26096 * math/s_cbrtl.c: Likewise.
26097 * math/s_erfl.c: Likewise.
26098 * math/s_expm1l.c: Likewise.
26099 * math/s_log1pl.c: Likewise.
26100 * math/s_tanhl.c: Likewise.
26101 * misc/acct.c: Likewise.
26102 * misc/brk.c: Likewise.
26103 * misc/chflags.c: Likewise.
26104 * misc/chroot.c: Likewise.
26105 * misc/fchflags.c: Likewise.
26106 * misc/fgetxattr.c: Likewise.
26107 * misc/flistxattr.c: Likewise.
26108 * misc/fremovexattr.c: Likewise.
26109 * misc/fsetxattr.c: Likewise.
26110 * misc/fsync.c: Likewise.
26111 * misc/ftruncate.c: Likewise.
26112 * misc/futimes.c: Likewise.
26113 * misc/futimesat.c: Likewise.
26114 * misc/getdomain.c: Likewise.
26115 * misc/getdtsz.c: Likewise.
26116 * misc/gethostid.c: Likewise.
26117 * misc/gethostname.c: Likewise.
26118 * misc/getloadavg.c: Likewise.
26119 * misc/getpagesize.c: Likewise.
26120 * misc/getsysstats.c: Likewise.
26121 * misc/getxattr.c: Likewise.
26122 * misc/gtty.c: Likewise.
26123 * misc/ioctl.c: Likewise.
26124 * misc/lgetxattr.c: Likewise.
26125 * misc/listxattr.c: Likewise.
26126 * misc/llistxattr.c: Likewise.
26127 * misc/lremovexattr.c: Likewise.
26128 * misc/lsetxattr.c: Likewise.
26129 * misc/lutimes.c: Likewise.
26130 * misc/madvise.c: Likewise.
26131 * misc/mincore.c: Likewise.
26132 * misc/mlock.c: Likewise.
26133 * misc/mlockall.c: Likewise.
26134 * misc/mmap.c: Likewise.
26135 * misc/mprotect.c: Likewise.
26136 * misc/msync.c: Likewise.
26137 * misc/munlock.c: Likewise.
26138 * misc/munlockall.c: Likewise.
26139 * misc/munmap.c: Likewise.
26140 * misc/preadv.c: Likewise.
26141 * misc/preadv64.c: Likewise.
26142 * misc/ptrace.c: Likewise.
26143 * misc/pwritev.c: Likewise.
26144 * misc/pwritev64.c: Likewise.
26145 * misc/readv.c: Likewise.
26146 * misc/reboot.c: Likewise.
26147 * misc/remap_file_pages.c: Likewise.
26148 * misc/removexattr.c: Likewise.
26149 * misc/revoke.c: Likewise.
26150 * misc/select.c: Likewise.
26151 * misc/setdomain.c: Likewise.
26152 * misc/setegid.c: Likewise.
26153 * misc/seteuid.c: Likewise.
26154 * misc/sethostid.c: Likewise.
26155 * misc/sethostname.c: Likewise.
26156 * misc/setregid.c: Likewise.
26157 * misc/setreuid.c: Likewise.
26158 * misc/setxattr.c: Likewise.
26159 * misc/sstk.c: Likewise.
26160 * misc/stty.c: Likewise.
26161 * misc/swapoff.c: Likewise.
26162 * misc/swapon.c: Likewise.
26163 * misc/sync.c: Likewise.
26164 * misc/syncfs.c: Likewise.
26165 * misc/syscall.c: Likewise.
26166 * misc/truncate.c: Likewise.
26167 * misc/ualarm.c: Likewise.
26168 * misc/usleep.c: Likewise.
26169 * misc/ustat.c: Likewise.
26170 * misc/utimes.c: Likewise.
26171 * misc/vhangup.c: Likewise.
26172 * misc/writev.c: Likewise.
26173 * posix/_exit.c: Likewise.
26174 * posix/alarm.c: Likewise.
26175 * posix/execve.c: Likewise.
26176 * posix/fexecve.c: Likewise.
26177 * posix/fork.c: Likewise.
26178 * posix/fpathconf.c: Likewise.
26179 * posix/getaddrinfo.c: Likewise.
26180 * posix/getegid.c: Likewise.
26181 * posix/geteuid.c: Likewise.
26182 * posix/getgid.c: Likewise.
26183 * posix/getgroups.c: Likewise.
26184 * posix/getlogin.c: Likewise.
26185 * posix/getlogin_r.c: Likewise.
26186 * posix/getpgid.c: Likewise.
26187 * posix/getpid.c: Likewise.
26188 * posix/getppid.c: Likewise.
26189 * posix/getresgid.c: Likewise.
26190 * posix/getresuid.c: Likewise.
26191 * posix/getsid.c: Likewise.
26192 * posix/getuid.c: Likewise.
26193 * posix/glob64.c: Likewise.
26194 * posix/nanosleep.c: Likewise.
26195 * posix/pathconf.c: Likewise.
26196 * posix/pause.c: Likewise.
26197 * posix/posix_madvise.c: Likewise.
26198 * posix/pread.c: Likewise.
26199 * posix/pread64.c: Likewise.
26200 * posix/pwrite.c: Likewise.
26201 * posix/pwrite64.c: Likewise.
26202 * posix/sched_getaffinity.c: Likewise.
26203 * posix/sched_getp.c: Likewise.
26204 * posix/sched_gets.c: Likewise.
26205 * posix/sched_primax.c: Likewise.
26206 * posix/sched_primin.c: Likewise.
26207 * posix/sched_rr_gi.c: Likewise.
26208 * posix/sched_setaffinity.c: Likewise.
26209 * posix/sched_setp.c: Likewise.
26210 * posix/sched_sets.c: Likewise.
26211 * posix/sched_yield.c: Likewise.
26212 * posix/setgid.c: Likewise.
26213 * posix/setlogin.c: Likewise.
26214 * posix/setpgid.c: Likewise.
26215 * posix/setresgid.c: Likewise.
26216 * posix/setresuid.c: Likewise.
26217 * posix/setsid.c: Likewise.
26218 * posix/setuid.c: Likewise.
26219 * posix/sleep.c: Likewise.
26220 * posix/spawni.c: Likewise.
26221 * posix/sysconf.c: Likewise.
26222 * posix/times.c: Likewise.
26223 * posix/wait.c: Likewise.
26224 * posix/wait3.c: Likewise.
26225 * posix/wait4.c: Likewise.
26226 * posix/waitpid.c: Likewise.
26227 * resolv/gai_sigqueue.c: Likewise.
26228 * resource/getpriority.c: Likewise.
26229 * resource/getrlimit.c: Likewise.
26230 * resource/getrusage.c: Likewise.
26231 * resource/nice.c: Likewise.
26232 * resource/setpriority.c: Likewise.
26233 * resource/setrlimit.c: Likewise.
26234 * resource/ulimit.c: Likewise.
26235 * rt/aio_cancel.c: Likewise.
26236 * rt/aio_fsync.c: Likewise.
26237 * rt/aio_read.c: Likewise.
26238 * rt/aio_sigqueue.c: Likewise.
26239 * rt/aio_suspend.c: Likewise.
26240 * rt/aio_write.c: Likewise.
26241 * rt/clock_getres.c: Likewise.
26242 * rt/clock_gettime.c: Likewise.
26243 * rt/clock_nanosleep.c: Likewise.
26244 * rt/clock_settime.c: Likewise.
26245 * rt/lio_listio.c: Likewise.
26246 * rt/mq_close.c: Likewise.
26247 * rt/mq_getattr.c: Likewise.
26248 * rt/mq_notify.c: Likewise.
26249 * rt/mq_open.c: Likewise.
26250 * rt/mq_receive.c: Likewise.
26251 * rt/mq_send.c: Likewise.
26252 * rt/mq_setattr.c: Likewise.
26253 * rt/mq_timedreceive.c: Likewise.
26254 * rt/mq_timedsend.c: Likewise.
26255 * rt/mq_unlink.c: Likewise.
26256 * rt/shm_open.c: Likewise.
26257 * rt/shm_unlink.c: Likewise.
26258 * rt/timer_create.c: Likewise.
26259 * rt/timer_delete.c: Likewise.
26260 * rt/timer_getoverr.c: Likewise.
26261 * rt/timer_gettime.c: Likewise.
26262 * rt/timer_settime.c: Likewise.
26263 * setjmp/__longjmp.c: Likewise.
26264 * setjmp/setjmp.c: Likewise.
26265 * signal/kill.c: Likewise.
26266 * signal/killpg.c: Likewise.
26267 * signal/raise.c: Likewise.
26268 * signal/sigaction.c: Likewise.
26269 * signal/sigaltstack.c: Likewise.
26270 * signal/sigblock.c: Likewise.
26271 * signal/sigignore.c: Likewise.
26272 * signal/sigintr.c: Likewise.
26273 * signal/signal.c: Likewise.
26274 * signal/sigpause.c: Likewise.
26275 * signal/sigpending.c: Likewise.
26276 * signal/sigqueue.c: Likewise.
26277 * signal/sigreturn.c: Likewise.
26278 * signal/sigset.c: Likewise.
26279 * signal/sigsetmask.c: Likewise.
26280 * signal/sigstack.c: Likewise.
26281 * signal/sigsuspend.c: Likewise.
26282 * signal/sigtimedwait.c: Likewise.
26283 * signal/sigvec.c: Likewise.
26284 * signal/sigwait.c: Likewise.
26285 * signal/sigwaitinfo.c: Likewise.
26286 * signal/sysv_signal.c: Likewise.
26287 * socket/accept.c: Likewise.
26288 * socket/accept4.c: Likewise.
26289 * socket/bind.c: Likewise.
26290 * socket/connect.c: Likewise.
26291 * socket/getpeername.c: Likewise.
26292 * socket/getsockname.c: Likewise.
26293 * socket/getsockopt.c: Likewise.
26294 * socket/isfdtype.c: Likewise.
26295 * socket/listen.c: Likewise.
26296 * socket/recv.c: Likewise.
26297 * socket/recvfrom.c: Likewise.
26298 * socket/recvmsg.c: Likewise.
26299 * socket/send.c: Likewise.
26300 * socket/sendmsg.c: Likewise.
26301 * socket/sendto.c: Likewise.
26302 * socket/setsockopt.c: Likewise.
26303 * socket/shutdown.c: Likewise.
26304 * socket/sockatmark.c: Likewise.
26305 * socket/socket.c: Likewise.
26306 * socket/socketpair.c: Likewise.
26307 * stdio-common/ctermid.c: Likewise.
26308 * stdio-common/cuserid.c: Likewise.
26309 * stdio-common/remove.c: Likewise.
26310 * stdio-common/rename.c: Likewise.
26311 * stdio-common/renameat.c: Likewise.
26312 * stdio-common/tempname.c: Likewise.
26313 * stdlib/getcontext.c: Likewise.
26314 * stdlib/makecontext.c: Likewise.
26315 * stdlib/setcontext.c: Likewise.
26316 * stdlib/swapcontext.c: Likewise.
26317 * stdlib/system.c: Likewise.
26318 * streams/fattach.c: Likewise.
26319 * streams/fdetach.c: Likewise.
26320 * streams/getmsg.c: Likewise.
26321 * streams/getpmsg.c: Likewise.
26322 * streams/putmsg.c: Likewise.
26323 * streams/putpmsg.c: Likewise.
26324 * sysdeps/unix/bsd/getpt.c: Likewise.
26325 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
26326 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
26327 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26329 Likewise.
26330 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
26331 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26332 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
26333 * sysvipc/msgctl.c: Likewise.
26334 * sysvipc/msgget.c: Likewise.
26335 * sysvipc/msgrcv.c: Likewise.
26336 * sysvipc/msgsnd.c: Likewise.
26337 * sysvipc/semctl.c: Likewise.
26338 * sysvipc/semget.c: Likewise.
26339 * sysvipc/semop.c: Likewise.
26340 * sysvipc/semtimedop.c: Likewise.
26341 * sysvipc/shmat.c: Likewise.
26342 * sysvipc/shmctl.c: Likewise.
26343 * sysvipc/shmdt.c: Likewise.
26344 * sysvipc/shmget.c: Likewise.
26345 * termios/tcdrain.c: Likewise.
26346 * termios/tcflow.c: Likewise.
26347 * termios/tcflush.c: Likewise.
26348 * termios/tcgetattr.c: Likewise.
26349 * termios/tcgetpgrp.c: Likewise.
26350 * termios/tcsendbrk.c: Likewise.
26351 * termios/tcsetattr.c: Likewise.
26352 * termios/tcsetpgrp.c: Likewise.
26353 * time/adjtime.c: Likewise.
26354 * time/clock.c: Likewise.
26355 * time/getitimer.c: Likewise.
26356 * time/gettimeofday.c: Likewise.
26357 * time/setitimer.c: Likewise.
26358 * time/settimeofday.c: Likewise.
26359 * time/stime.c: Likewise.
26360 * time/time.c: Likewise.
26361
26362 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
26363
26364 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
26365 /usr/old/bin.
26366
26367 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
26368 instead of spaces.
26369 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
26370
26371 2012-11-03 Joseph Myers <joseph@codesourcery.com>
26372
26373 [BZ #14796]
26374 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
26375 FE_TONEAREST before applying Dekker multiplication and Knuth
26376 addition. Clear inexact exceptions and check for exact zero
26377 results afterwards.
26378 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26379 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26380 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26381 * math/libm-test.inc (fma_test): Add more tests.
26382 (fma_test_towardzero): Likewise.
26383 (fma_test_downward): Likewise.
26384 (fma_test_upward): Likewise.
26385 * sysdeps/generic/math_private.h (default_libc_fesetround): New
26386 function.
26387 (libc_fesetround): New macro.
26388 (libc_fesetroundf): Likewise.
26389 (libc_fesetroundl): Likewise.
26390 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
26391 function.
26392 (libc_fesetround_387): Likewise.
26393 (libc_fesetroundf): New macro.
26394 (libc_fesetround): Likewise.
26395 (libc_fesetroundl): Likewise.
26396 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
26397 function.
26398 (libc_fesetroundf): New macro.
26399 (libc_fesetround): Likewise.
26400 (libc_fesetroundl): Likewise.
26401 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
26402 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
26403 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
26404 libm_hidden_ver.
26405 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
26406 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
26407 libm_hidden_def.
26408 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
26409 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
26410 libm_hidden_ver.
26411 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
26412 libm_hidden_def.
26413
26414 [BZ #3439]
26415 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
26416 integer constant usable in #if and use that to give value to enum
26417 constant.
26418 (FE_DIVBYZERO): Likewise.
26419 (FE_UNDERFLOW): Likewise.
26420 (FE_OVERFLOW): Likewise.
26421 (FE_INVALID): Likewise.
26422 (FE_INVALID_SNAN): Likewise.
26423 (FE_INVALID_ISI): Likewise.
26424 (FE_INVALID_IDI): Likewise.
26425 (FE_INVALID_ZDZ): Likewise.
26426 (FE_INVALID_IMZ): Likewise.
26427 (FE_INVALID_COMPARE): Likewise.
26428 (FE_INVALID_SOFTWARE): Likewise.
26429 (FE_INVALID_SQRT): Likewise.
26430 (FE_INVALID_INTEGER_CONVERSION): Likewise.
26431 (FE_TONEAREST): Likewise.
26432 (FE_TOWARDZERO): Likewise.
26433 (FE_UPWARD): Likewise.
26434 (FE_DOWNWARD): Likewise.
26435 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
26436 (FE_DIVBYZERO): Likewise.
26437 (FE_OVERFLOW): Likewise.
26438 (FE_UNDERFLOW): Likewise.
26439 (FE_INEXACT): Likewise.
26440 (FE_TONEAREST): Likewise.
26441 (FE_DOWNWARD): Likewise.
26442 (FE_UPWARD): Likewise.
26443 (FE_TOWARDZERO): Likewise.
26444 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
26445 (FE_UNDERFLOW): Likewise.
26446 (FE_OVERFLOW): Likewise.
26447 (FE_DIVBYZERO): Likewise.
26448 (FE_INVALID): Likewise.
26449 (FE_TONEAREST): Likewise.
26450 (FE_TOWARDZERO): Likewise.
26451 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
26452 (FE_OVERFLOW): Likewise.
26453 (FE_UNDERFLOW): Likewise.
26454 (FE_DIVBYZERO): Likewise.
26455 (FE_INEXACT): Likewise.
26456 (FE_TONEAREST): Likewise.
26457 (FE_TOWARDZERO): Likewise.
26458 (FE_UPWARD): Likewise.
26459 (FE_DOWNWARD): Likewise.
26460 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
26461 (FE_DIVBYZERO): Likewise.
26462 (FE_OVERFLOW): Likewise.
26463 (FE_UNDERFLOW): Likewise.
26464 (FE_INEXACT): Likewise.
26465 (FE_TONEAREST): Likewise.
26466 (FE_DOWNWARD): Likewise.
26467 (FE_UPWARD): Likewise.
26468 (FE_TOWARDZERO): Likewise.
26469
26470 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
26471
26472 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
26473
26474 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
26475
26476 * scripts/cross-test-ssh.sh (command): Use newlines to separate
26477 commands. Quote $PWD.
26478 (blacklist_exports): Don't use remove_newlines. Replace "declare
26479 -x" by "export".
26480 (remove_newlines): Remove.
26481
26482 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
26483
26484 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
26485 * stdlib/stdlib.h (atof): Moved to ...
26486 * include/bits/stdlib-float.h: Here. New file.
26487 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
26488 * stdlib/bits/stdlib-float.h: New file.
26489 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
26490 -mno-sse -mno-mmx.
26491 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
26492 <xmmintrin.h>.
26493
26494 2012-11-02 Joseph Myers <joseph@codesourcery.com>
26495
26496 * conform/conformtest.pl (@headers): Add fenv.h.
26497 * conform/data/fenv.h-data: New file.
26498 * include/fenv.h [_ISOMAC]: Disable all contents of file except
26499 include of <math/fenv.h>.
26500
26501 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
26502 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
26503 && !UNIX98]. Enables tests for XOPEN2K8.
26504 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
26505 POSIX2008]: Likewise.
26506
26507 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
26508 (struct rusage): Do not expect type or its members.
26509
26510 [BZ #3439]
26511 * math/math.h (FP_NAN): Define macro to integer constant usable in
26512 #if and use that to give value to enum constant.
26513 (FP_INFINITE): Likewise.
26514 (FP_ZERO): Likewise.
26515 (FP_SUBNORMAL): Likewise.
26516 (FP_NORMAL): Likewise.
26517
26518 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
26519
26520 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
26521 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
26522 arguments.
26523
26524 2012-11-02 Roland McGrath <roland@hack.frob.com>
26525
26526 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
26527 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
26528 autoconf-time if not.
26529 * configure.in: Remove AC_PREREQ.
26530
26531 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26532
26533 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
26534 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
26535 of the internal implementation.
26536
26537 2012-11-02 Joseph Myers <joseph@codesourcery.com>
26538
26539 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
26540 except include of <misc/sys/syslog.h>.
26541
26542 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
26543
26544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
26545 function returns with a NULL context exit with zero.
26546
26547 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26548
26549 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
26550
26551 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
26552
26553 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
26554 (run_program_cmd): This.
26555 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
26556 (tst_langinfo): New variable. Use it.
26557
26558 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
26559
26560 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
26561 floating point opcodes.
26562
26563 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26564
26565 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
26566 variable.
26567
26568 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
26569
26570 * sysdeps/mach/hurd/powerpc: Remove directory.
26571 * sysdeps/mach/powerpc: Likewise.
26572
26573 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
26574
26575 * scripts/check-local-headers.sh: Ignore c++ headers.
26576
26577 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26578
26579 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
26580 __libc_cleanup_region_start argument.
26581
26582 2012-11-01 Joseph Myers <joseph@codesourcery.com>
26583
26584 [BZ #14784]
26585 [BZ #14785]
26586 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
26587 x * y using scaling, not as x * y + z.
26588 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26589 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26590 * math/libm-test.inc (fma_test): Add more tests.
26591 (fma_test_towardzero): Likewise.
26592 (fma_test_downward): Likewise.
26593 (fma_test_upward): Likewise.
26594
26595 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26596
26597 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
26598
26599 2012-10-31 Joseph Myers <joseph@codesourcery.com>
26600
26601 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
26602 New variable.
26603
26604 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
26605
26606 * rt/tst-shm.c (worker): Correct checking for mmap failure.
26607
26608 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
26609
26610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26611 Fix sort order.
26612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26613 Likewise.
26614
26615 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26616
26617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26618 Fix the order of the list for glibc 2.17.
26619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26620 Likewise.
26621
26622 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
26623
26624 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26625
26626 2012-10-31 Joseph Myers <joseph@codesourcery.com>
26627
26628 [BZ #14610]
26629 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
26630 for low part of x being zero before using __atanl (y).
26631 * math/libm-test.inc (atan2_test): Add another test.
26632
26633 * manual/install.texi (Configuring and compiling): Document
26634 general use of test-wrapper and test-wrapper-env.
26635 * INSTALL: Regenerated.
26636
26637 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
26638 (__fma): Do not extract and scale down low bits on after-rounding
26639 systems when result rounded to normal precision would have normal
26640 exponent.
26641 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
26642 (__fmal): Do not extract and scale down low bits on after-rounding
26643 systems when result rounded to normal precision would have normal
26644 exponent.
26645 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
26646 (__fmal): Do not extract and scale down low bits on after-rounding
26647 systems when result rounded to normal precision would have normal
26648 exponent.
26649 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
26650 macro.
26651 (fma_test): Add more tests.
26652 (fma_test_towardzero): Likewise.
26653 (fma_test_downward): Likewise.
26654 (fma_test_upward): Likewise.
26655
26656 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
26657
26658 * sysdeps/i386/tininess.h: Renamed to ...
26659 * sysdeps/x86/tininess.h: This.
26660 * sysdeps/x86_64/tininess.h: Removed.
26661
26662 2012-10-30 Joseph Myers <joseph@codesourcery.com>
26663
26664 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
26665 input. Use $(build-program-cmd).
26666 ($(objpfx)tst-array1-static.out): Likewise.
26667 ($(objpfx)tst-array2.out): Likewise.
26668 ($(objpfx)tst-array3.out): Likewise.
26669 ($(objpfx)tst-array4.out): Likewise.
26670 ($(objpfx)tst-array5.out): Likewise.
26671 ($(objpfx)tst-array5-static.out): Likewise.
26672
26673 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
26674
26675 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
26676 if defined.
26677
26678 * nss/nsswitch.h (nss_interface_function): Provide new
26679 macro for use with NSS functions.
26680 * grp/initgroups.c: Use new macro.
26681 * nss/getXXbyYY.c: Likewise.
26682 * nss/getXXbyYY_r.c: Likewise.
26683 * nss/getXXent.c: Likewise.
26684 * nss/getXXent_r.c: Likewise.
26685 * sysdeps/posix/getaddrinfo.c: Likewise.
26686
26687 2012-10-30 Andreas Jaeger <aj@suse.de>
26688
26689 * po/ru.po: Update Russion translation from translation project.
26690
26691 2012-10-30 Joseph Myers <joseph@codesourcery.com>
26692
26693 [BZ #14152]
26694 [BZ #14783]
26695 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
26696 result and shift together with sticky bit instead of replicating
26697 round-to-nearest rounding.
26698 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26699 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26700 * math/libm-test.inc (fma_test): Add more tests. Do not permit
26701 missing underflow exceptions.
26702 (fma_test_towardzero): Add more tests.
26703 (fma_test_downward): Likewise.
26704 (fma_test_upward): Likewise.
26705
26706 [BZ #14047]
26707 * sysdeps/generic/tininess.h: New file.
26708 * sysdeps/i386/tininess.h: Likewise.
26709 * sysdeps/sh/tininess.h: Likewise.
26710 * sysdeps/x86_64/tininess.h: Likewise.
26711 * stdlib/tst-strtod-underflow.c: Likewise.
26712 * stdlib/tst-tininess.c: Likewise.
26713 * stdlib/strtod_l.c: Include <tininess.h>.
26714 (round_and_return): Do not set errno for exact underflow cases.
26715 Force an underflow exception when setting errno for underflow.
26716 Determine underflow based on rounding to normal precision if
26717 TININESS_AFTER_ROUNDING.
26718 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
26719 ERANGE for exact underflow cases.
26720 * stdlib/Makefile (tests): Add tst-tininess and
26721 tst-strtod-underflow.
26722 ($(objpfx)tst-tininess): Use $(link-libm).
26723 ($(objpfx)tst-strtod-underflow): Likewise.
26724
26725 2012-10-30 Andreas Jaeger <aj@suse.de>
26726
26727 [BZ#14767]
26728 * elf/Makefile (tests): Remove conditional for have-initfini-array
26729 since this is now always required and the variable does not exist
26730 anymore.
26731 (tests-static): Likewise.
26732 (modules-names): Likewise.
26733
26734 * po/eo.po: Add Esperanto translation from translation project.
26735
26736 * elf/tst-array1.c (fini_array): Make writeable so that it can be
26737 merged with constructor/destructor.
26738 (init_array): Likewise.
26739 * elf/tst-array2dep.c (fini_array): Likewise.
26740 (init_array): Likewise.
26741
26742 2012-10-29 Mike Frysinger <vapier@gentoo.org>
26743
26744 * manual/message.texi: Delete @cartouche tags.
26745
26746 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
26747
26748 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
26749 EOPNOTSUPP.
26750 * sysdeps/mach/hurd/fsync.c: Likewise.
26751
26752 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
26753 [_POSIX_REALTIME_SIGNALS]: Change condition to
26754 [_POSIX_REALTIME_SIGNALS > 0].
26755
26756 2012-10-27 Andreas Jaeger <aj@suse.de>
26757
26758 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
26759 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
26760 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
26761 [__WORDSIZE != 64]: Likewise.
26762
26763 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
26764
26765 * iconvdata/tst-table.sh: Remove ${SHELL}.
26766 * iconvdata/tst-tables.sh: Likewise.
26767
26768 2012-10-25 David S. Miller <davem@davemloft.net>
26769
26770 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26771 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
26772 of strtoull.
26773
26774 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
26775 ifunc-impl-list.c
26776 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26777 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
26778 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
26779 file.
26780
26781 2012-10-25 Roland McGrath <roland@hack.frob.com>
26782
26783 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26784 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
26785 __getdirentries.
26786
26787 2012-10-25 Joseph Myers <joseph@codesourcery.com>
26788 Jim Blandy <jimb@codesourcery.com>
26789
26790 * scripts/cross-test-ssh.sh: New file.
26791 * manual/install.texi (Configuring and compiling): Document use of
26792 cross-test-ssh.sh.
26793 * INSTALL: Regenerated.
26794
26795 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
26796
26797 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
26798 EOPNOTSUPP.
26799
26800 2012-10-25 Joseph Myers <joseph@codesourcery.com>
26801
26802 * Makeconfig (run-program-prefix): Fix comment.
26803
26804 2012-10-24 Joseph Myers <joseph@codesourcery.com>
26805 Jim Blandy <jimb@codesourcery.com>
26806
26807 * Makeconfig (test-wrapper): New variable,
26808 (test-wrapper-env): Likewise.
26809 [$(cross-compiling) = yes && $(test-wrapper) != ""]
26810 (run-built-tests): Define to yes.
26811 (run-program-prefix): Use $(test-wrapper).
26812 (built-program-cmd): Likewise.
26813 * Rules (make-test-out): Use $(test-wrapper-env) and
26814 $(host-built-program-cmd).
26815 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
26816 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
26817 tst-pathopt.sh.
26818 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
26819 $(test-wrapper-env) to tst-rtld-load-self.sh.
26820 ($(objpfx)order2.out): Use $(test-wrapper).
26821 ($(objpfx)tst-initorder.out): Likewise.
26822 ($(objpfx)tst-initorder2.out): Likewise.
26823 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
26824 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
26825 (test_wrapper_env): New variable. Use it to run ld.so.
26826 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
26827 Use it to run ld.so.
26828 (test_wrapper_env): Likewise.
26829 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
26830 $(test-wrapper) to run-iconv-test.sh.
26831 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
26832 (ICONV): Use $test_wrapper.
26833 * posix/Makefile ($(objpfx)globtest.out): Pass
26834 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
26835 globtest.sh, not $(run-program-prefix).
26836 * posix/globtest.sh (run_via_rtld_prefix): New variable.
26837 (test_wrapper): Likewise.
26838 (test_wrapper_env): Likewise. Use it to run globtest with HOME
26839 set together with run_via_rtld_prefix.
26840 (run_program_prefix): Define in terms of test_wrapper and
26841 run_via_rtld_prefix.
26842
26843 2012-10-24 Roland McGrath <roland@hack.frob.com>
26844
26845 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
26846 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
26847 Targets removed.
26848
26849 [BZ #14743]
26850 * include/time.h: Remove librt_hidden_proto (clock_gettime).
26851 Declare __clock_getres, __clock_gettime, __clock_settime,
26852 __clock_nanosleep, and __clock_getcpuclockid.
26853 * rt/clock_gettime.c: Define __clock_gettime as an alias.
26854 Remove librt_hidden_def (clock_gettime).
26855 * sysdeps/unix/clock_gettime.c: Likewise.
26856 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
26857 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
26858 * rt/clock_getres.c: Define __clock_getres as an alias.
26859 * sysdeps/posix/clock_getres.c: Likewise.
26860 * rt/clock_settime.c: Define __clock_settime as an alias.
26861 * sysdeps/unix/clock_settime.c: Likewise.
26862 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
26863 * sysdeps/unix/clock_nanosleep.c: Likewise.
26864 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
26865 * rt/clock-compat.c: New file.
26866 * rt/Makefile (librt-routines): Add clock-compat and move
26867 $(clock-routines) to ...
26868 (routines): ... here, new variable.
26869 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
26870 Don't add get_clockfreq here.
26871 * rt/Versions (libc: GLIBC_2.17): New version set.
26872 Add clock_* symbols here.
26873 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
26874 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
26875 (GLIBC_2.17): Add clock_* symbols.
26876 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26877 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26878 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26880 Likewise.
26881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26882 Likewise.
26883 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26884 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26885 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26886 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26887 * NEWS: Mention the move.
26888
26889 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26890 Use __open, __read, __close rather than their public counterparts.
26891 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26892 (__get_clockfreq_via_cpuinfo): Likewise.
26893 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
26894 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
26895
26896 * config.h.in (HAVE_IFUNC): New #undef.
26897 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
26898 was successful.
26899 * configure: Regenerated.
26900
26901 2012-10-24 Mike Frysinger <vapier@gentoo.org>
26902
26903 * configure.in: Move READELF check to start of file.
26904 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
26905 libc_cv_asm_gnu_indirect_function in the process.
26906 * configure: Regenerated.
26907
26908 2012-10-24 Mike Frysinger <vapier@gentoo.org>
26909
26910 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
26911 send the output to /dev/null.
26912 (libc_cv_cc_with_libunwind): Likewise.
26913 (libc_cv_as_noexecstack): Likewise.
26914 * configure: Regenerate.
26915
26916 2012-10-24 Joseph Myers <joseph@codesourcery.com>
26917
26918 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
26919
26920 * posix/globtest.sh (TMPDIR): Do not set.
26921 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
26922 (testout): Likewise.
26923
26924 2012-10-24 Andreas Jaeger <aj@suse.de>
26925
26926 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
26927 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
26928 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
26929 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
26930 posix_fadvise64, posix_fallocate64.
26931
26932 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
26933 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
26934 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
26935 Likewise.
26936 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
26937 Likewise.
26938 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
26939
26940 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
26941 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
26942 <bits/fcntl-linux.h>.
26943 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
26944
26945 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
26946 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
26947 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
26948 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
26949 [__WORDSIZE != 64]: Likewise.
26950
26951 2012-10-23 Joseph Myers <joseph@codesourcery.com>
26952
26953 * Makeconfig (run-built-tests): New variable.
26954 * Rules [$(cross-compiling) = yes]: Change condition to
26955 [$(run-built-tests) = no].
26956 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
26957 to [$(run-built-tests) = yes].
26958 * elf/Makefile [$(cross-compiling) = no]: Likewise
26959 * grp/Makefile [$(cross-compiling) = no]: Likewise.
26960 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
26961 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
26962 * intl/Makefile [$(cross-compiling) = no]: Likewise.
26963 * io/Makefile [$(cross-compiling) = no]: Likewise.
26964 * libio/Makefile [$(cross-compiling) = no]: Likewise.
26965 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
26966 * misc/Makefile [$(cross-compiling) = no]: Likewise.
26967 * posix/Makefile [$(cross-compiling) = no]: Likewise.
26968 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
26969 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
26970 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
26971 * string/Makefile [$(cross-compiling) = no]: Likewise.
26972
26973 * posix/Makefile ($(objpfx)globtest.out): Pass
26974 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
26975 $(rtld-installed-name).
26976 * posix/globtest.sh (elf_objpfx): Remove variable.
26977 (rtld_installed_name): Likewise.
26978 (library_path): Likewise.
26979 (run_program_prefix): New variable. Use for running globtest
26980 binary.
26981
26982 2012-10-23 Jim Blandy <jimb@codesourcery.com>
26983 Joseph Myers <joseph@codesourcery.com>
26984
26985 * Makeconfig (host-built-program-cmd): New variable.
26986 * elf/Makefile (tst-stackguard1-ARGS): Use
26987 $(host-built-program-cmd).
26988 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
26989 (tst-spawn-ARGS): Likewise.
26990 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
26991
26992 2012-10-23 Joseph Myers <joseph@codesourcery.com>
26993 Jim Blandy <jimb@codesourcery.com>
26994
26995 * Makeconfig (run-via-rtld-prefix): New variable.
26996 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
26997 (built-program-cmd): Likewise.
26998
26999 2012-10-22 Andreas Jaeger <aj@suse.de>
27000
27001 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
27002 __O_RSYNC if it exists, otherwise to O_SYNC.
27003
27004 2012-10-22 Jim Blandy <jimb@codesourcery.com>
27005 Joseph Myers <joseph@codesourcery.com>
27006
27007 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
27008 /dev/null.
27009 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
27010 from /dev/null
27011 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
27012 /dev/null.
27013
27014 2012-10-22 Andreas Jaeger <aj@suse.de>
27015
27016 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
27017 Define always.
27018 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
27019
27020 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27021 bits/fcntl-linux.h.
27022
27023 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
27024 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
27025
27026 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
27027 to __O_LARGEFILE.
27028 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
27029 to __O_LARGEFILE.
27030
27031 2012-10-21 Jim Blandy <jimb@codesourcery.com>
27032 Joseph Myers <joseph@codesourcery.com>
27033
27034 * config.make.in (NM): New variable.
27035
27036 2012-10-21 Andreas Jaeger <aj@suse.de>
27037
27038 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
27039 definitions and declarations that are provided by
27040 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27041
27042 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27043
27044 [BZ #14683]
27045 * elf/Makefile (tests-static): Add tst-leaks1-static.
27046 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
27047 ($(objpfx)tst-leaks1-static): New rule.
27048 ($(objpfx)tst-leaks1-static-mem): Likewise.
27049 (tst-leaks1-static-ENV): New macro.
27050 * elf/dl-open.c (dl_open_worker): Check the main application
27051 only if SHARED is defined.
27052 * elf/tst-leaks1-static.c: New file.
27053
27054 2012-10-20 Andreas Jaeger <aj@suse.de>
27055
27056 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
27057 generic values for Linux.
27058 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
27059 and declarations that are provided by <bits/fcntl-linux.h> and
27060 include <bits/fcntl-linux.h>.
27061 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27062 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27063
27064 2012-10-20 Roland McGrath <roland@hack.frob.com>
27065
27066 * io/fcntl.h: Move include of <bits/types.h> to the top and
27067 include it unconditionally.
27068
27069 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27070
27071 * wcsmbs/Makefile (tests-ifunc): New variable.
27072 (tests): Add $(tests-ifunc).
27073 * wcsmbs/test-wcschr-ifunc.c: New file.
27074 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27075 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27076 * wcsmbs/test-wcslen-ifunc.c: Likewise.
27077 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27078 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27079
27080 * string/Makefile (tests-ifunc): New variable.
27081 (tests): Add $(tests-ifunc).
27082 * string/test-memccpy.c (TEST_NAME): New macro.
27083 * string/test-memchr.c (TEST_NAME): Likewise.
27084 * string/test-memcmp.c (TEST_NAME): Likewise.
27085 * string/test-memcpy.c (TEST_NAME): Likewise.
27086 * string/test-memmem.c (TEST_NAME): Likewise.
27087 * string/test-memmove.c (TEST_NAME): Likewise.
27088 * string/test-memset.c (TEST_NAME): Likewise.
27089 * string/test-rawmemchr.c (TEST_NAME): Likewise.
27090 * string/test-stpcpy.c (TEST_NAME): Likewise.
27091 * string/test-stpncpy.c (TEST_NAME): Likewise.
27092 * string/test-strcasecmp.c (TEST_NAME): Likewise.
27093 * string/test-strcasestr.c (TEST_NAME): Likewise.
27094 * string/test-strcat.c (TEST_NAME): Likewise.
27095 * string/test-strchr.c (TEST_NAME): Likewise.
27096 * string/test-strcmp.c(TEST_NAME): Likewise.
27097 * string/test-strcpy.c (TEST_NAME): Likewise.
27098 * string/test-strcspn.c (TEST_NAME): Likewise.
27099 * string/test-strlen.c (TEST_NAME): Likewise.
27100 * string/test-strncasecmp.c (TEST_NAME): Likewise.
27101 * string/test-strncmp.c (TEST_NAME): Likewise.
27102 * string/test-strncpy.c (TEST_NAME): Likewise.
27103 * string/test-strnlen.c (TEST_NAME): Likewise.
27104 * string/test-strpbrk.c (TEST_NAME): Likewise.
27105 * string/test-strrchr.c (TEST_NAME): Likewise.
27106 * string/test-strspn.c (TEST_NAME): Likewise.
27107 * string/test-strstr.c (TEST_NAME): Likewise.
27108 * string/test-bcopy-ifunc.c: New file.
27109 * string/test-bzero-ifunc.c: Likewise.
27110 * string/test-memccpy-ifunc.c: Likewise.
27111 * string/test-memchr-ifunc.c: Likewise.
27112 * string/test-memcmp-ifunc.c: Likewise.
27113 * string/test-memcpy-ifunc.c: Likewise.
27114 * string/test-memmem-ifunc.c: Likewise.
27115 * string/test-memmove-ifunc.c: Likewise.
27116 * string/test-mempcpy-ifunc.c: Likewise.
27117 * string/test-memset-ifunc.c: Likewise.
27118 * string/test-rawmemchr-ifunc.c: Likewise.
27119 * string/test-stpcpy-ifunc.c: Likewise.
27120 * string/test-stpncpy-ifunc.c: Likewise.
27121 * string/test-strcasecmp-ifunc.c: Likewise.
27122 * string/test-strcasestr-ifunc.c: Likewise.
27123 * string/test-strcat-ifunc.c: Likewise.
27124 * string/test-strchr-ifunc.c: Likewise.
27125 * string/test-strchrnul-ifunc.c: Likewise.
27126 * string/test-strcmp-ifunc.c: Likewise.
27127 * string/test-strcpy-ifunc.c: Likewise.
27128 * string/test-strcspn-ifunc.c: Likewise.
27129 * string/test-strlen-ifunc.c: Likewise.
27130 * string/test-strncasecmp-ifunc.c: Likewise.
27131 * string/test-strncat-ifunc.c: Likewise.
27132 * string/test-strncmp-ifunc.c: Likewise.
27133 * string/test-strncpy-ifunc.c: Likewise.
27134 * string/test-strnlen-ifunc.c: Likewise.
27135 * string/test-strpbrk-ifunc.c: Likewise.
27136 * string/test-strrchr-ifunc.c: Likewise.
27137 * string/test-strspn-ifunc.c: Likewise.
27138 * string/test-strstr-ifunc.c: Likewise.
27139
27140 * debug/Makefile (tests-ifunc): New variable.
27141 (tests): Add $(tests-ifunc).
27142 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
27143 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
27144 * debug/test-stpcpy_chk-ifunc.c: New file.
27145 * debug/test-strcpy_chk-ifunc.c: Likewise.
27146
27147 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27148
27149 [BZ #13601]
27150 * elf/dl-load.c (open_verify): Retry read if the entire ELF
27151 header is not read in.
27152
27153 2012-10-19 Joseph Myers <joseph@codesourcery.com>
27154
27155 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
27156 script to $(SHELL) as $<. Pass $(common-objpfx) to script
27157 directly. Pass built executable to script as
27158 $(built-program-cmd).
27159 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
27160 $testprogram without using LD_LIBRARY_PATH and $ldso.
27161
27162 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
27163 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
27164 $(rtld-installed-name).
27165 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
27166 (rtld_installed_name): Likewise.
27167 (library_path): Likewise.
27168 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
27169 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
27170 $(run-program-prefix) to tst-tables.sh.
27171 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
27172 it to run tst-table-from and tst-table-to.
27173 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
27174 Pass it to tst-table.sh.
27175 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
27176 $(run-program-prefix) to tst-gettext.sh.
27177 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
27178 tst-translit.sh.
27179 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
27180 tst-gettext2.sh.
27181 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
27182 to run tst-gettext.
27183 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
27184 to run tst-gettext2.
27185 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
27186 to run tst-translit.
27187 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
27188 $(run-program-prefix) to tst-mtrace.sh.
27189 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
27190 to run tst-mtrace.
27191 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
27192 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
27193 $(rtld-installed-name).
27194 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
27195 (rtld_installed_name): Likewise.
27196 (run_program_prefix): New variable. Use it to run wordexp-test.
27197
27198 * Makeconfig (ARCH): Remove all definitions.
27199 (machine): Likewise.
27200 [ARCH]: Remove conditional code.
27201 [!objdir]: Give error.
27202 [!objdir] (objpfx): Remove.
27203 [!objdir] (common-objpfx): Likewise.
27204 [!objdir] (common-objdir): Likewise.
27205 * configure.in (config_makefile): Remove. Hardcode Makefile in
27206 AC_CONFIG_FILES call.
27207 * configure: Regenerated.
27208
27209 [BZ #13888]
27210 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
27211 or TMPDIR.
27212 (testout): Likewise.
27213
27214 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
27215 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
27216 $(rtld-installed-name).
27217 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
27218 (rtld_installed_name): Likwise.
27219 (runit): Remove function.
27220 (run_getconf): New variable, Use it for running getconf binary.
27221
27222 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
27223
27224 [BZ #14716]
27225 * string/test-memmem.c (check_result): New function.
27226 (do_one_test): Use it.
27227 (check1): New function.
27228 (test_main): Use it.
27229
27230 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
27231
27232 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
27233
27234 2012-10-18 Joseph Myers <joseph@codesourcery.com>
27235
27236 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
27237 (_G_LSEEK64): Likewise.
27238 (_G_MMAP64): Likewise.
27239 (_G_FSTAT64): Likewise.
27240 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
27241 (_G_LSEEK64): Likewise.
27242 (_G_MMAP64): Likewise.
27243 (_G_FSTAT64): Likewise.
27244 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
27245 unconditional. Call __mmap64 directly.
27246 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
27247 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
27248 __lseek64 directly.
27249 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
27250 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
27251 __mmap64 directly.
27252 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
27253 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
27254 __lseek64 directly.
27255 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
27256 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
27257 __lseek64 directly.
27258 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
27259 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
27260 __lseek64 directly.
27261 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
27262 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
27263 __fxstat64 directly.
27264 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
27265 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
27266 unconditional.
27267 (freopen64) [!_G_OPEN64]: Remove conditional code.
27268 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
27269 unconditional.
27270 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
27271 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
27272 unconditional.
27273 (ftello64) [!_G_LSEEK64]: Remove conditional code.
27274 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
27275 unconditional.
27276 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27277 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
27278 unconditional.
27279 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
27280 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
27281 unconditional.
27282 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27283 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
27284 unconditional.
27285 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27286 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
27287 unconditional.
27288 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27289
27290 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27291
27292 [BZ #12140]
27293 * manual/memory.texi (Malloc Tunable Parameters): Add note
27294 about free list pointers overwriting some perturb bytes.
27295 Wording suggested by Roland McGrath.
27296
27297 2012-10-17 Joseph Myers <joseph@codesourcery.com>
27298
27299 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
27300 (lgamma_test): Likewise.
27301 (tgamma_test): Likewise.
27302
27303 2012-10-16 Florian Weimer <fweimer@redhat.com>
27304
27305 [BZ #14700]
27306 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
27307 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
27308
27309 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
27310
27311 * NEWS: Mention BZ #14716.
27312 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
27313 when removing AVAILABLE1_USES_J macro.
27314
27315 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
27316
27317 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
27318 (__bswap_64): __uint64_t for unsigned 64-bit int.
27319
27320 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
27321
27322 * include/string.h (memmem): Declare libc hidden alias.
27323 * string/memmem.c (memmem): Define libc hidden alias.
27324 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
27325 __read, __close instead of open, read, close.
27326
27327 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
27328
27329 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
27330 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
27331 global and hidden.
27332 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
27333 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
27334 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
27335 Likewise.
27336 (__rawmemchr_sse2): Likewise.
27337 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
27338 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
27339 (__strchr_sse2): Likewise.
27340 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
27341 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
27342 (__strcasecmp_sse2): Likewise.
27343 (__strncasecmp_sse2): Likewise.
27344 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
27345 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
27346 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
27347 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
27348 (__strrchr_sse2): Likewise.
27349 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
27350 ifunc-impl-list.c.
27351 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27352 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27353 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27354 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27355 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27356 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27357 * sysdeps/x86_64/multiarch/memset.S: Likewise.
27358 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27359 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
27360 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
27361 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
27362 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
27363 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
27364 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27365 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27366 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27367 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27368 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27369 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
27370 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
27371 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
27372 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
27373 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
27374 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27375 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
27376 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27377 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27378 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27379 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27380 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27381
27382 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
27383 global and hidden.
27384 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
27385 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
27386 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
27387 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
27388 Likewise.
27389 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
27390 Likewise.
27391 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
27392 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
27393 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
27394 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
27395 ifunc-impl-list.c.
27396 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27397 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27398 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27399 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27400 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27401 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27402 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27403 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27404 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27405 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27406 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27407 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27408 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27409 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
27410 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
27411 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27412 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
27413 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
27414 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27415 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27416 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27417 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27418 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27419 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27420 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27421 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
27422 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
27423 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
27424 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
27425 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27426 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
27427 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27428 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27429 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
27430 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27431 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27432 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27433 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27434 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27435 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27436 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
27437
27438 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
27439 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
27440 * include/ifunc-impl-list.h: New file.
27441 * misc/ifunc-impl-list.c: Likewise.
27442 * misc/Makefile (routines): Add ifunc-impl-list.
27443 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
27444 * string/test-string.h: Include <ifunc-impl-list.h>.
27445 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
27446 TEST_NAME]: New variables.
27447 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
27448 are defined.
27449 (test_init): Call __libc_ifunc_impl_list to initialize
27450 func_list if TEST_IFUNC and TEST_NAME are defined.
27451
27452 * string/Makefile (strop-tests): Add bcopy and bzero.
27453 * string/test-bcopy.c: New file.
27454 * string/test-bzero.c: Likewise.
27455 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
27456 defined.
27457 * string/test-memset.c: Support bzero test if TEST_BZERO is
27458 defined.
27459 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
27460 __libc_memmove.
27461 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
27462 __libc_memset.
27463 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
27464 of memset.
27465
27466 2012-10-10 Joseph Myers <joseph@codesourcery.com>
27467
27468 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
27469 * configure: Regenerated.
27470
27471 * Makeconfig (+link-static-before-libc): Don't include
27472 $(link-static-libc).
27473
27474 * libio/libio.h (_IO_pos_t): Remove.
27475
27476 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27477
27478 * NEWS: Add note about FIPS mode. Wording suggested by Roland
27479 McGrath.
27480
27481 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27482
27483 * crypt/crypt-entry.c: Include fips-private.h.
27484 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
27485 * crypt/md5c-test.c (main): Tolerate disabled MD5.
27486 * sysdeps/unix/sysv/linux/fips-private.h: New file.
27487 * sysdeps/generic/fips-private.h: New file, dummy fallback.
27488
27489 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27490
27491 * crypt/crypt-private.h: Include stdbool.h.
27492 (_ufc_setup_salt_r): Return bool.
27493 * crypt/crypt-entry.c: Include errno.h.
27494 (__crypt_r): Return NULL with EINVAL for bad salt.
27495 * crypt/crypt_util.c (bad_for_salt): New.
27496 (_ufc_setup_salt_r): Check that salt is long enough and within
27497 the specified alphabet.
27498 * crypt/badsalttest.c: New file.
27499 * crypt/Makefile (tests): Add it.
27500 ($(objpfx)badsalttest): New.
27501
27502 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
27503
27504 * NEWS: Add entry for BZ #14602.
27505
27506 2012-10-09 Joseph Myers <joseph@codesourcery.com>
27507
27508 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
27509 type-generic.
27510 * math/libm-test.inc: Update comment listing what functions and
27511 macros are tested.
27512 (isgreater_test): New function.
27513 (isgreaterequal_test): Likewise.
27514 (isless_test): Likewise.
27515 (islessequal_test): Likewise.
27516 (islessgreater_test): Likewise.
27517 (isunordered_test): Likewise.
27518 (main): Call the new functions.
27519
27520 2012-10-09 Roland McGrath <roland@hack.frob.com>
27521
27522 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
27523 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
27524 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
27525 * sysdeps/i386/configure: Regenerated.
27526 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
27527 * sysdeps/mach/configure: Regenerated.
27528 * sysdeps/mach/hurd/configure: Regenerated.
27529 * sysdeps/powerpc/configure: Regenerated.
27530 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27531 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27532 * sysdeps/s390/s390-32/configure: Regenerated.
27533 * sysdeps/s390/s390-64/configure: Regenerated.
27534 * sysdeps/sh/configure: Regenerated.
27535 * sysdeps/sparc/configure: Regenerated.
27536 * sysdeps/unix/sysv/linux/configure: Regenerated.
27537 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
27538 * sysdeps/x86_64/configure: Regenerated.
27539
27540 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
27541 defined. Don't check if MAP is NULL.
27542
27543 2012-10-09 Joseph Myers <joseph@codesourcery.com>
27544
27545 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
27546 (_G_stat64): Likewise.
27547 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
27548 (_G_stat64): Likewise.
27549 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
27550 instead of struct _G_stat64.
27551 * libio/fileops.c (mmap_remap_check): Likewise.
27552 (decide_maybe_mmap): Likewise.
27553 (_IO_new_file_seekoff): Likewise.
27554 (_IO_file_stat): Likewise.
27555 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
27556 _G_off64_t.
27557 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
27558 instead of struct _G_stat64.
27559 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27560
27561 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
27562
27563 [BZ #14602]
27564 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27565 Replace with ...
27566 (CHECK_EOL): New macro.
27567 (two_way_short_needle): Check beginning of haystack for EOL. Use
27568 CHECK_EOL.
27569 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27570 Replace with CHECK_EOL.
27571 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27572 Replace with CHECK_EOL.
27573
27574 2012-10-08 Joseph Myers <joseph@codesourcery.com>
27575
27576 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
27577 type-generic.
27578 * math/libm-test.inc: Update comment listing what functions and
27579 macros are tested.
27580 (finite_test): New function.
27581 (isinf_test): Likewise.
27582 (isnan_test): Likewise.
27583 (fpclassify_test): Test subnormal input.
27584 (isfinite_test): Likewise.
27585 (isnormal_test): Likewise.
27586 (main): Call the new functions.
27587
27588 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
27589
27590 [BZ #14660]
27591 * Makerules (%.dynsym): Force C locale when running
27592 $(OBJDUMP) --dynamic-syms.
27593
27594 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
27595
27596 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
27597 <stdint.h>.
27598
27599 2012-10-06 David S. Miller <davem@davemloft.net>
27600
27601 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
27602 upper 32-bits of the length value in %o2 since we use branch-on-register
27603 tests which consider the entire 64-bit register.
27604
27605 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
27606
27607 * string/test-strstr.c (check2): Add a test for page boundary.
27608
27609 2012-10-05 David S. Miller <davem@davemloft.net>
27610
27611 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
27612 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
27613 file.
27614 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27615 sysdep_routines.
27616 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27617 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
27618 and bzero when HWCAP_SPARC_CRYPTO is present.
27619
27620 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
27621
27622 [BZ #14602]
27623 * string/test-strstr.c (check2): New function.
27624 (test_main): Call check2.
27625
27626 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
27627 and bug-strchr1.
27628 * string/bug-strcasestr1.c (do_test): Moved to ...
27629 * string/test-strcasestr.c (check1): Here. New function.
27630 (do_one_test): Break out result checking code into ...
27631 (check_result): This. New function.
27632 (do_one_test): Call check_result.
27633 (test_main): Call check1.
27634 * string/bug-strchr1.c (do_test): Moved to ...
27635 * string/test-strchr.c (check1): Here. New function.
27636 (do_one_test): Break out result checking code into ...
27637 (check_result): This. New function.
27638 (do_one_test): Call check_result.
27639 (test_main): Call check1.
27640 * string/bug-strstr1.c (main): Moved to ...
27641 * string/test-strstr.c (check1): Here. New function.
27642 (do_one_test): Break out result checking code into ...
27643 (check_result): This. New function.
27644 (do_one_test): Call check_result.
27645 (test_main): Call check1.
27646 * string/bug-strcasestr1.c: Removed.
27647 * string/bug-strchr1.c: Likewise.
27648 * string/bug-strstr1.c: Likewise.
27649
27650 * elf/Makefile (dl-routines): Add hwcaps.
27651 * elf/dl-support.c (_dl_important_hwcaps): Removed.
27652 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
27653 (_dl_important_hwcaps): Moved to ...
27654 * elf/dl-hwcaps.c: Here. New file.
27655 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
27656
27657 [BZ #14557]
27658 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
27659 if IS_IN_rtld isn't defined.
27660
27661 * elf/dl-support.c (_dl_sysinfo_map): New.
27662 Include "get-dynamic-info.h" and "setup-vdso.h".
27663 (_dl_non_dynamic_init): Call setup_vdso.
27664 * elf/dynamic-link.h: Don't include <assert.h>.
27665 (elf_get_dynamic_info): Moved to ...
27666 * elf/get-dynamic-info.h: Here. New file.
27667 * elf/dynamic-link.h: Include "get-dynamic-info.h".
27668 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
27669 * elf/setup-vdso.h: Here. New file.
27670 * elf/rtld.c: Include "setup-vdso.h".
27671 (dl_main): Call setup_vdso.
27672
27673 2012-10-05 Joseph Myers <joseph@codesourcery.com>
27674
27675 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
27676 creal in comment listing functions tested. List finite, isinf,
27677 isnan, isless, islessequal, isgreater, isgreaterequal,
27678 islessgreater, isunordered, lgamma_r and pow10 as functions and
27679 macros not tested. Mention which functions not tested are aliases
27680 for other functions. Fix typo. Note that signs of NaNs are not
27681 tested.
27682
27683 * scripts/config.guess: Update from config.git.
27684 * scripts/config.sub: Likewise.
27685
27686 2012-10-04 Roland McGrath <roland@hack.frob.com>
27687
27688 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
27689 * misc/madvise.c (madvise): Renamed to __madvise.
27690 Make madvise a weak alias.
27691 * include/sys/mman.h: Declare __madvise.
27692 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
27693 * sysdeps/unix/syscalls.list
27694 (madvise): Make __madvise the strong name, and madvise a weak alias.
27695 * sysdeps/unix/sysv/linux/syscalls.list
27696 (madvise, mmap): Remove redundant entries.
27697 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
27698 * malloc/malloc.c (mtrim): Likewise.
27699 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
27700
27701 2012-10-03 Roland McGrath <roland@hack.frob.com>
27702
27703 * sysdeps/mach/hurd/dl-cache.c: File removed.
27704 * config.h.in (USE_LDCONFIG): New #undef.
27705 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
27706 * configure: Regenerated.
27707 * elf/Makefile (dl-routines): Add dl-cache only under
27708 [$(use-ldconfig) = yes].
27709 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
27710 cache on [USE_LDCONFIG].
27711 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
27712 [USE_LDCONFIG].
27713 * elf/rtld.c (dl_main): Likewise.
27714
27715 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
27716
27717 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
27718 _SC_LEVEL4_CACHE_LINESIZE.
27719
27720 2012-10-03 Roland McGrath <roland@hack.frob.com>
27721
27722 * sysdeps/unix/bsd/confstr.h: File removed.
27723
27724 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
27725
27726 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
27727 sys/sdt-config.h.
27728
27729 2012-10-02 Roland McGrath <roland@hack.frob.com>
27730
27731 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
27732 Make 'mapoff' field ElfW(Off) rather than off_t.
27733
27734 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
27735
27736 * nscd/Makefile: Remove nscd-cflags and all its users.
27737 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
27738 (CFLAGS-nonlib): Add compiler flags for nscd modules.
27739
27740 [BZ #10631]
27741 * malloc.c (malloc_printerr): Clarify error message.
27742
27743 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
27744
27745 [BZ #14648]
27746 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27747 Set bit_FMA_Usable if FMA is supported.
27748 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
27749 macro.
27750 (bit_FMA4_Usable): Updated.
27751 (index_FMA_Usable): New macro.
27752 (CPUID_FMA): Likewise
27753 (HAS_FMA): Defined with bit_FMA_Usable.
27754
27755 2012-10-01 Roland McGrath <roland@hack.frob.com>
27756
27757 * bits/types.h (__swblk_t): Type removed.
27758 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
27759 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
27760 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27761 (__SWBLK_T_TYPE): Likewise.
27762 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27763 (__SWBLK_T_TYPE): Likewise.
27764 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27765 (__SWBLK_T_TYPE): Likewise.
27766 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27767 (__SWBLK_T_TYPE): Likewise.
27768
27769 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
27770 Honza Horak <hhorak@redhat.com>
27771
27772 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
27773 (xdr_mapname): Use YPMAXMAP as maxsize.
27774 (xdr_peername): Use YPMAXPEER as maxsize.
27775 (xdr_keydat): Use YPAXRECORD as maxsize.
27776 (xdr_valdat): Use YPMAXRECORD as maxsize.
27777
27778 2012-10-01 Roland McGrath <roland@hack.frob.com>
27779
27780 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
27781
27782 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
27783 * csu/init-first.c: ... here.
27784 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
27785 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
27786 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
27787 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
27788 * sysdeps/i386/init-first.c: File removed.
27789 * sysdeps/sh/init-first.c: File removed.
27790
27791 2012-10-01 Joseph Myers <joseph@codesourcery.com>
27792
27793 [BZ #14645]
27794 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
27795 if x * y might underflow to zero and z is zero.
27796 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27797 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27798 * math/libm-test.inc (min_subnorm_value): New variable.
27799 (fma_test): Add more tests.
27800 (fma_test_towardzero): Likewise.
27801 (fma_test_downward): Likewise
27802 (fma_test_upward): Likewise.
27803 (initialize): Set min_subnorm_value.
27804
27805 2012-09-29 Joseph Myers <joseph@codesourcery.com>
27806
27807 [BZ #14638]
27808 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
27809 0 + 0.
27810 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
27811 mode for addition resulting in exact zero.
27812 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
27813 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
27814 exact 0 + 0.
27815 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27816 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27817 * math/libm-test.inc (fma_test): Add more tests.
27818 (fma_test_towardzero): New function.
27819 (fma_test_downward): Likewise.
27820 (fma_test_upward): Likewise.
27821 (main): Call the new functions.
27822
27823 2012-09-28 David S. Miller <davem@davemloft.net>
27824
27825 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
27826
27827 2012-09-28 Roland McGrath <roland@hack.frob.com>
27828
27829 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
27830 instead of SIGALRM.
27831
27832 * sysdeps/gnu/_G_config.h: Moved to ...
27833 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
27834 * sysdeps/mach/hurd/_G_config.h: Moved to ...
27835 * sysdeps/generic/_G_config.h: ... here.
27836
27837 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
27838
27839 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
27840
27841 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
27842 Conditionalize target on [libnss_test1.so-version].
27843
27844 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
27845
27846 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
27847 (elfobjdir): Move out of conditionals.
27848
27849 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
27850 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
27851 (__nss_lookup_function): Conditionalize label remove_from_tree on
27852 [!DO_STATIC_NSS || SHARED], matching its only use.
27853
27854 2012-09-28 David S. Miller <davem@davemloft.net>
27855
27856 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
27857 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
27858 file.
27859 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27860 sysdep_routines.
27861 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27862 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
27863 when HWCAP_SPARC_CRYPTO is present.
27864
27865 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27866
27867 * io/tst-mknodat.c: Create a FIFO instead of a socket.
27868
27869 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
27870
27871 [BZ #6530]
27872 * stdio-common/vfprintf.c (process_string_arg): Revert
27873 2000-07-22 change.
27874
27875 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
27876
27877 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
27878 for testcase.
27879 * stdio-common/tst-sprintf.c: Include <locale.h>
27880 (main): Test sprintf's handling of incomplete multibyte
27881 characters.
27882
27883 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
27884
27885 * elf/dl-runtime.c (VERSYMIDX): Removed.
27886 * elf/dl-version.c (VERSYMIDX): Likewise.
27887 * elf/do-rel.h (VERSYMIDX): Likewise.
27888 (VALIDX): Likewise.
27889 * elf/dynamic-link.h (VERSYMIDX): Likewise.
27890 * elf/rtld.c (VALIDX): Likewise.
27891 (ADDRIDX): Likewise.
27892 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
27893 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
27894 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
27895 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
27896 (VALIDX): Likewise.
27897 (ADDRIDX): Likewise.
27898
27899 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27900
27901 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
27902
27903 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
27904
27905 [BZ #11438]
27906 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
27907 to global scope.
27908 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
27909 addresses are in the same scope as 192.0.2/24.
27910 * posix/gai.conf: Document new scope table defaults.
27911
27912 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27913
27914 [BZ #5298]
27915 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
27916 for ftell. Compute offsets from write pointers instead.
27917 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27918
27919 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27920
27921 [BZ #14543]
27922 * libio/Makefile (tests): New test case tst-fseek.
27923 * libio/tst-fseek.c: New test case to verify that fseek/ftell
27924 combination works in wide mode.
27925 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
27926 state when the external buffer state changes.
27927
27928 2012-09-27 David S. Miller <davem@davemloft.net>
27929
27930 [BZ #14376]
27931 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
27932 pass reloc->r_addend in as the 'high' argument to
27933 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
27934
27935 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27936
27937 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27938
27939 * rt/tst-aio2.c: Include <pthread.h>.
27940 * rt/tst-aio3.c: Likewise.
27941
27942 2012-09-27 Steve Ellcey <sellcey@mips.com>
27943
27944 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
27945
27946 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
27947
27948 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
27949 contents on [SHARED].
27950
27951 2012-09-26 Marek Polacek <polacek@redhat.com>
27952
27953 [BZ #14530]
27954 [BZ #13741]
27955 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
27956 for C++ and GCC <4.3 as well as for non GCC compilers.
27957
27958 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
27959
27960 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27961
27962 2012-09-25 Roland McGrath <roland@hack.frob.com>
27963
27964 * Makefile.in (all, install): Declare with .PHONY.
27965 Reported by Michael Hope <michael.hope@linaro.org>.
27966
27967 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27968
27969 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
27970 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
27971 system header.
27972 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
27973 Likewise.
27974 (sydep_routines): Add the new and the internal functions.
27975 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
27976 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
27977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
27978 (GLIBC_2.17): Add the new function.
27979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27980 (GLIBC_2.17): Likewise.
27981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
27982 (GLIBC_2.17): Likewise.
27983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
27984 (GLIBC_2.17): Likewise.
27985 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
27986
27987 2012-09-25 Alan Modra <amodra@gmail.com>
27988
27989 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
27990 Add release barrier before setting once_control to say
27991 initialisation is done. Add hints on lwarx. Use macro in
27992 place of isync.
27993 (clear_once_control): Add release barrier.
27994
27995 2012-09-25 Joseph Myers <joseph@codesourcery.com>
27996
27997 [BZ #13629]
27998 * math/s_clog.c (__clog): Handle more values close to |z| = 1
27999 specially.
28000 * math/s_clog10.c (__clog10): Likewise.
28001 * math/s_clog10f.c (__clog10f): Likewise.
28002 * math/s_clog10l.c (__clog10l): Likewise.
28003 * math/s_clogf.c (__clogf): Likewise.
28004 * math/s_clogl.c (__clogl): Likewise.
28005 * math/Makefile (libm-calls): Add x2y2m1.
28006 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
28007 (__x2y2m1): Likewise.
28008 (__x2y2m1l): Likewise.
28009 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
28010 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
28011 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
28012 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28013 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
28014 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
28015 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
28016 * sysdeps/i386/fpu/libm-test-ulps: Update.
28017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28018
28019 [BZ #14621]
28020 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
28021 int as type of variable DEPTH.
28022 (glob): Use size_t instead of int as type of variables NEWCOUNT
28023 and OLD_PATHC.
28024
28025 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28026
28027 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28028 Add s_sincosf-sse2.
28029 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
28030 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
28031 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
28032 macros for using routine as __sincosf_ia32.
28033 Use macro for function declaration and weak_alias.
28034 * sysdeps/i386/fpu/libm-test-ulps: Update.
28035
28036 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
28037 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28038
28039 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
28040 subnormal argument.
28041 * math/s_cexpf.c (__cexpf): Likewise.
28042 * math/s_csinf.c (__csinf): Likewise.
28043 * math/s_csinhf.c (__csinhf): Likewise.
28044 * math/s_ctanf.c (__ctanf): Likewise.
28045 * math/s_ctanhf.c (__ctanhf): Likewise.
28046 * math/s_ccosh.c (__ccoshf): Likewise.
28047 * math/s_cexp.c (__cexpl): Likewise.
28048 * math/s_csin.c (__csin): Likewise.
28049 * math/s_csinh.c (__csinh): Likewise.
28050 * math/s_ctan.c (__ctan): Likewise.
28051 * math/s_ctanh.c (ctanh): Likewise.
28052 * math/s_ccoshl.c (__ccoshl): Likewise.
28053 * math/s_cexpl.c (__cexpl): Likewise.
28054 * math/s_csinl.c (__csinl): Likewise.
28055 * math/s_csinhl.c (__csinhl): Likewise.
28056 * math/s_ctanl.c (__ctanl): Likewise.
28057 * math/s_ctanhl.c (__ctanhl): Likewise.
28058
28059 2012-09-25 Joseph Myers <joseph@codesourcery.com>
28060
28061 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
28062 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
28063 (_IO_off_t): Define to __off_t, not _G_off_t.
28064 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
28065 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
28066 (_IO_wint_t): Define to wint_t, not _G_wint_t.
28067 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
28068 type of __dummy and __dummy2 fields.
28069 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
28070 (_G_ssize_t): Likewise.
28071 (_G_off_t): Likewise.
28072 (_G_pid_t): Likewise.
28073 (_G_uid_t): Likewise.
28074 (_G_wchar_t): Likewise.
28075 (_G_wint_t): Likewise.
28076 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
28077 (_G_ssize_t): Likewise.
28078 (_G_off_t): Likewise.
28079 (_G_pid_t): Likewise.
28080 (_G_uid_t): Likewise.
28081 (_G_wchar_t): Likewise.
28082 (_G_wint_t): Likewise.
28083 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
28084 (_G_ssize_t): Likewise.
28085 (_G_off_t): Likewise.
28086 (_G_pid_t): Likewise.
28087 (_G_uid_t): Likewise.
28088 (_G_wchar_t): Likewise.
28089 (_G_wint_t): Likewise.
28090
28091 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28092
28093 * malloc/arena.c: Include malloc-sysdep.h.
28094 (shrink_heap): Use check_may_shrink_heap to decide if madvise
28095 is sufficient to shrink the heap or an unmap is needed.
28096 * sysdeps/generic/malloc-sysdep.h: New file. Define
28097 new function check_may_shrink_heap.
28098 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
28099 new function check_may_shrink_heap.
28100
28101 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28102
28103 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
28104 comments.
28105
28106 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
28107
28108 * catgets/test-gencat.sh: Add "set -e".
28109 * elf/tst-pathopt.sh: Likewise.
28110 * grp/tst_fgetgrent.sh: Likewise.
28111 * iconvdata/run-iconv-test.sh: Likewise.
28112 * intl/tst-gettext.sh: Likewise.
28113 * intl/tst-gettext2.sh: Likewise.
28114 * intl/tst-gettext4.sh: Likewise.
28115 * intl/tst-gettext6.sh: Likewise.
28116 * intl/tst-translit.sh: Likewise.
28117 * io/ftwtest-sh: Likewise.
28118 * libio/test-freopen.sh: Likewise.
28119 * malloc/tst-mtrace.sh: Likewise.
28120 * posix/globtest.sh: Likewise.
28121 * posix/tst-getconf.sh: Likewise.
28122 * posix/wordexp-tst.sh: Likewise.
28123 * stdio-common/tst-printf.sh: Likewise.
28124 * stdio-common/tst-unbputc.sh: Likewise.
28125 * stdlib/tst-fmtmsg.sh: Likewise.
28126 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28127 * catgets/Makefile: Do not specify -e option when running
28128 testsuite shell scripts.
28129 * elf/Makefile: Likewise.
28130 * grp/Makefile: Likewise.
28131 * iconvdata/Makefile: Likewise.
28132 * intl/Makefile: Likewise.
28133 * io/Makefile: Likewise.
28134 * libio/Makefile: Likewise.
28135 * malloc/Makefile: Likewise.
28136 * posix/Makefile: Likewise.
28137 * stdio-common/Makefile: Likewise.
28138 * stdlib/Makefile: Likewise.
28139 * sysdeps/x86_64/Makefile: Likewise.
28140
28141 * io/ftwtest-sh: Add copyright header.
28142 * posix/globtest.sh: Likewise.
28143 * posix/tst-getconf.sh: Likewise.
28144 * posix/wordexp-tst.sh: Likewise.
28145 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28146
28147 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
28148
28149 [BZ #13679]
28150 * Makeconfig (+link): Defined as $(+link-static) if
28151 $(build-shared) isn't yes.
28152 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
28153 isn't yes.
28154 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
28155
28156 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
28157
28158 [BZ #14562]
28159 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
28160 new chunk size with MALLOC_ALIGN_MASK.
28161
28162 2012-09-24 Joseph Myers <joseph@codesourcery.com>
28163
28164 [BZ #5044]
28165 * stdio-common/printf_fphex.c: Include <stdbool.h> and
28166 <rounding-mode.h>.
28167 (__printf_fphex): Determine rounding using get_rounding_mode and
28168 round_away.
28169 * stdio-common/tst-printf-round.c (struct hex_test): New
28170 structure.
28171 (hex_tests): New variable.
28172 (test_hex_in_one_mode): New function.
28173 (do_test): Also run tests for hex float output.
28174
28175 2012-09-21 Joseph Myers <joseph@codesourcery.com>
28176
28177 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28178 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28179 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
28180 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28181 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28182 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
28183 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28184 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28185
28186 2012-09-20 Joseph Myers <joseph@codesourcery.com>
28187
28188 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
28189 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
28190 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
28191 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
28192
28193 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
28194
28195 [BZ #14579]
28196 * elf/rtld.c (dl_main): Limit the check for self loading to normal
28197 mode only.
28198 * elf/tst-rtld-load-self.sh: New test.
28199 * elf/Makefile: Run it.
28200
28201 2012-09-18 Joseph Myers <joseph@codesourcery.com>
28202
28203 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
28204 (tst-writev-ENV): Remove.
28205 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
28206
28207 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
28208
28209 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
28210
28211 2012-09-17 Joseph Myers <joseph@codesourcery.com>
28212
28213 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
28214 unconditional.
28215 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
28216 Likewise.
28217 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
28218 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
28219 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
28220 Likewise.
28221
28222 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
28223
28224 [BZ #14587]
28225 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
28226 * config.make.in (have-cpp-asm-debuginfo): Removed.
28227 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
28228 * configure: Regenerated.
28229
28230 2012-09-14 Joseph Myers <joseph@codesourcery.com>
28231
28232 [BZ #5044]
28233 * stdio-common/printf_fp.c: Include <stdbool.h> and
28234 <rounding-mode.h>.
28235 (___printf_fp): Determine rounding using get_rounding_mode and
28236 round_away.
28237 * stdio-common/tst-printf-round.c: New file.
28238 * stdio-common/Makefile (tests): Add tst-printf-round.
28239 (link-libm): New variable.
28240 ($(objpfx)tst-printf-round): Depend in $(link-libm).
28241
28242 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
28243
28244 [BZ #14576]
28245 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
28246 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
28247 Likewise.
28248 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
28249 Likewise.
28250
28251 2012-09-13 Joseph Myers <joseph@codesourcery.com>
28252
28253 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
28254 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28255 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28256 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28257
28258 2012-09-12 Joseph Myers <joseph@codesourcery.com>
28259
28260 [BZ #14518]
28261 * include/rounding-mode.h: New file.
28262 * sysdeps/generic/get-rounding-mode.h: Likewise.
28263 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
28264 * stdlib/strtod_l.c: Include <rounding-mode.h>.
28265 (MAX_VALUE): New macro.
28266 (MIN_VALUE): Likewise.
28267 (overflow_value): New function.
28268 (underflow_value): Likewise.
28269 (round_and_return): Use overflow_value and underflow_value to
28270 determine return values in overflow and underflow cases. Use
28271 round_away to determine rounding depending on rounding mode.
28272 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
28273 determine return values in overflow and underflow cases.
28274 * stdlib/tst-strtod-round.c: Include <fenv.h>.
28275 (struct test_results): New structure.
28276 (struct test): Use struct test_results to store expected results
28277 for all rounding modes.
28278 (TEST): Include expected results for all rounding modes.
28279 (test_in_one_mode): New function.
28280 (do_test): Use test_in_one_mode to compute and check results.
28281 Check results for all rounding modes.
28282 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
28283 $(link-libm).
28284
28285 2012-12-09 Allan McRae <allan@archlinux.org>
28286
28287 * sysdeps/i386/fpu/libm-test-ulps: Update
28288
28289 2012-09-11 Joseph Myers <joseph@codesourcery.com>
28290
28291 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
28292 (_G_int32_t): Likewise.
28293 (_G_uint16_t): Likewise.
28294 (_G_uint32_t): Likewise.
28295 (_G_HAVE_BOOL): Likewise.
28296 (_G_HAVE_ATEXIT): Likewise.
28297 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28298 (_G_HAVE_IO_FILE_OPEN): Likewise.
28299 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
28300 (_G_int32_t): Likewise.
28301 (_G_uint16_t): Likewise.
28302 (_G_uint32_t): Likewise.
28303 (_G_HAVE_BOOL): Likewise.
28304 (_G_HAVE_ATEXIT): Likewise.
28305 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28306 (_G_HAVE_IO_FILE_OPEN): Likewise.
28307 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
28308 (_G_int32_t): Likewise.
28309 (_G_uint16_t): Likewise.
28310 (_G_uint32_t): Likewise.
28311 (_G_HAVE_BOOL): Likewise.
28312 (_G_HAVE_ATEXIT): Likewise.
28313 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28314 (_G_HAVE_IO_FILE_OPEN): Likewise.
28315
28316 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
28317
28318 * csu/libc-tls.c: Update copyright years.
28319
28320 2012-09-10 Joseph Myers <joseph@codesourcery.com>
28321
28322 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
28323 [!_G_USING_THUNKS]: Remove conditional code.
28324 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
28325 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
28326
28327 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
28328 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
28329 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28330 (_G_VTABLE_LABEL_PREFIX): Likewise.
28331 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28332 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28333 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28334 (_G_VTABLE_LABEL_PREFIX): Likewise.
28335 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28336 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28337 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28338 (_G_VTABLE_LABEL_PREFIX): Likewise.
28339 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28340
28341 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
28342
28343 * libio/Makefile: Include ../Makeconfig before tests.
28344 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
28345 only if $(build-shared) is yes.
28346
28347 * iconv/gconv_db.c: Update copyright years.
28348
28349 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28350
28351 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
28352 unwind info if defined PIC. Fix special cases description.
28353 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
28354
28355 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
28356 DP_HI_MASK entry.
28357 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
28358
28359 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
28360
28361 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
28362
28363 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
28364 is NULL.
28365
28366 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
28367 (LDLIBS-tst-chk4): This.
28368 (LDFLAGS-tst-chk5): Renamed to ...
28369 (LDLIBS-tst-chk5): This.
28370 (LDFLAGS-tst-chk6): Renamed to ...
28371 (LDLIBS-tst-chk6): This.
28372 (LDFLAGS-tst-lfschk4): Renamed to ...
28373 (LDLIBS-tst-lfschk4): This.
28374 (LDFLAGS-tst-lfschk5): Renamed to ...
28375 (LDLIBS-tst-lfschk5): This.
28376 (LDFLAGS-tst-lfschk6): Renamed to ...
28377 (LDLIBS-tst-lfschk6): This.
28378
28379 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
28380 on $(common-objpfx)soversions.mk.
28381
28382 2012-09-07 Joseph Myers <joseph@codesourcery.com>
28383
28384 [BZ #10014]
28385 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
28386 example host name.
28387
28388 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28389
28390 * malloc/arena.c (arena_get_retry): New function that gets
28391 another arena for the caller to try its request on.
28392 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
28393 current arena cannot fulfill the request.
28394 (__libc_memalign): Likewise.
28395 (__libc_memalign): Likewise.
28396 (__libc_pvalloc): Likewise.
28397 (__libc_calloc): Likewise.
28398
28399 2012-09-05 John Tobey <john.tobey@gmail.com>
28400
28401 [BZ #13542]
28402 * manual/arith.texi (Operations on Complex): Fix description
28403 of carg branch cut.
28404
28405 2012-09-06 Joseph Myers <joseph@codesourcery.com>
28406
28407 [BZ #10014]
28408 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
28409 host name.
28410
28411 [BZ #10038]
28412 * manual/memory.texi (Memory): Make order of menu items match
28413 order of sections.
28414
28415 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28416
28417 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
28418 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
28419 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
28420
28421 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28422
28423 * csu/libc-tls.c (static_dtv): Renamed to ...
28424 (_dl_static_dtv): This. Make it global.
28425 (_dl_initial_dtv): Removed.
28426 (__libc_setup_tls): Updated.
28427 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
28428 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
28429 DL_INITIAL_DTV.
28430
28431 2012-09-06 Petr Machata <pmachata@redhat.com>
28432
28433 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
28434 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
28435 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
28436 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
28437
28438 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28439
28440 [BZ #14545]
28441 * csu/libc-tls.c (_dl_initial_dtv): New variable.
28442 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
28443 freeing dtv[-1].
28444
28445 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28446
28447 [BZ #14544]
28448 * Makeconfig (link-static-before-libc): Replace $(+prector)
28449 with $(+prectorT).
28450 (link-static-after-libc): Replace $(+postctor) with
28451 $(+postctorT).
28452 (link-bounded): Replace $(+prector)/$(+postctor) with
28453 $(+prectorT)/$(+postctorT).
28454 (+prectorT): New macro.
28455 (+postctorT): Likewise.
28456
28457 2012-09-06 Joseph Myers <joseph@codesourcery.com>
28458
28459 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
28460 (round_str): Handle values above the maximum for IBM long double
28461 as inexact.
28462 * stdlib/tst-strtod-round.c (tests): Regenerated.
28463
28464 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28465
28466 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
28467 assembler flag.
28468 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
28469 zarch_nohighgprs around the zarch optimized routines.
28470 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28471 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28472 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
28473 for zarch.
28474
28475 2012-09-05 David S. Miller <davem@davemloft.net>
28476
28477 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28478
28479 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
28480 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
28481 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
28482 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28483 entries.
28484
28485 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28486
28487 * malloc/arena.c: Fold copyright years.
28488 * malloc/mcheck.c, malloc/memusage.c: Likewise.
28489
28490 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28491
28492 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
28493
28494 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28495
28496 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
28497
28498 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28499
28500 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
28501 change internal state upon failure.
28502
28503 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28504
28505 * malloc/mcheck.c (mcheck_check_all): Fix typo.
28506 * malloc/memusage.c (mmap): Likewise.
28507 (mmap64, mremap): Likewise. Adjust name in comment.
28508
28509 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28510
28511 * libio/fileops.c: Fix typos in comments.
28512 * libio/oldfileops.c: Likewise.
28513 * libio/wfileops.c: Likewise.
28514
28515 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28516
28517 [BZ #1349]
28518 * malloc/Makefile (tests): Add tst-malloc-usable test case.
28519 (tst-malloc-usable-ENV): Set environment for test case.
28520 * malloc/hooks.c (malloc_check_get_size): New function to get
28521 requested size.
28522 * malloc/malloc.c (musable): Use malloc_check_get_size.
28523 * malloc/tst-malloc-usable.c: New test case.
28524
28525 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
28526
28527 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
28528
28529 2012-09-05 Allan McRae <allan@archlinux.org>
28530
28531 [BZ #13966]
28532 * configure.in (CXX_SYSINCLUDES): Use compiler output to
28533 determine header location.
28534 * configure: Regenerated.
28535
28536 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
28537
28538 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
28539 float format.
28540 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
28541 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
28542 format.
28543 (test): Regenerate.
28544
28545 2012-09-04 David S. Miller <davem@davemloft.net>
28546
28547 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
28548 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
28549 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
28550
28551 2012-09-04 Florian Weimer <fweimer@redhat.com>
28552
28553 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
28554 failures.
28555
28556 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
28557
28558 2012-09-04 Joseph Myers <joseph@codesourcery.com>
28559
28560 [BZ #9914]
28561 * libio/iogetdelim.c: Include <limits.h>.
28562 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
28563 + len + 1 would overflow.
28564
28565 2012-09-03 Andreas Jaeger <aj@suse.de>
28566
28567 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28568 * sysdeps/i386/fpu/libm-test-ulps: Update.
28569
28570 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28571
28572 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28573 Add s_sinf-sse2, s_conf-sse2.
28574
28575 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
28576 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
28577 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
28578 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
28579
28580 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
28581 for using routine as __sinf_ia32.
28582 Use macro for function declaration and weak_alias.
28583 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
28584 for using routine as __cosf_ia32.
28585 Use macro for function declaration and weak_alias.
28586
28587 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
28588 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
28589
28590 * sysdeps/x86_64/fpu/s_sinf.S: New file.
28591 * sysdeps/x86_64/fpu/s_cosf.S: New file.
28592 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28593
28594 * math/libm-test.inc (cos_test): Add more test cases.
28595 (sin_test): Likewise.
28596 (sincos_test): Likewise.
28597
28598 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28599
28600 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
28601 (IFUNC_RESOLVE): Make pointers to the specialized implementations
28602 hidden.
28603 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28604
28605 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
28606
28607 [BZ #14538]
28608 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
28609 first element of the GOT.
28610 (elf_machine_load_address): Return the difference between
28611 the runtime address of _DYNAMIC and elf_machine_dynamic ().
28612
28613 2012-09-01 Allan McRae <allan@archlinux.org>
28614
28615 [BZ #13412]
28616 * configure.in (AWK): Require gawk version 3.0 or later.
28617 * configure: Regenerated.
28618
28619 2012-09-01 Joseph Myers <joseph@codesourcery.com>
28620
28621 * sysdeps/unix/sysv/linux/kernel-features.h
28622 (__ASSUME_POSIX_CPU_TIMERS): Remove.
28623 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28624 [__NR_clock_getres]: Make code unconditional.
28625 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
28626 (clock_getcpuclockid): Remove code left unreachable by removal of
28627 conditionals.
28628 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
28629 code unconditional.
28630 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28631 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28632 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
28633 Make code unconditional.
28634 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28635 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28636 * sysdeps/unix/sysv/linux/clock_settime.c
28637 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
28638 conditional code.
28639 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
28640 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28641
28642 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
28643
28644 [BZ #14476]
28645 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
28646 scripts/test-installation.pl.
28647
28648 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
28649 and $ld_so_version if it is set.
28650
28651 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28652
28653 [BZ #14516]
28654 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
28655 failure if reading from procfs failed.
28656 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
28657
28658 2012-08-27 Joseph Myers <joseph@codesourcery.com>
28659
28660 * sysdeps/unix/sysv/linux/kernel-features.h
28661 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
28662 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28663 Remove conditional code.
28664 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28665 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
28666 Remove conditional code.
28667 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28668 * sysdeps/unix/sysv/linux/i386/fxstat.c
28669 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28670 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28671 * sysdeps/unix/sysv/linux/i386/fxstatat.c
28672 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28673 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28674 * sysdeps/unix/sysv/linux/i386/lxstat.c
28675 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28676 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28677 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
28678 Remove conditional code.
28679 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28680 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28681 Remove conditional code.
28682 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28683 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
28684 <kernel-features.h>.
28685 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
28686 Remove.
28687 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
28688 Remove conditional code.
28689 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28690 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
28691 Remove conditional.
28692
28693 2012-08-27 Mike Frysinger <vapier@gentoo.org>
28694
28695 [BZ #5400]
28696 * NEWS: Add fixed bug number.
28697
28698 2012-08-27 Joseph Myers <joseph@codesourcery.com>
28699
28700 [BZ #14519]
28701 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
28702 underflowing exponent in case of negative sign.
28703 * stdlib/tst-strtod-round-data: Add more tests.
28704 * stdlib/tst-strtod-round.c (tests): Regenerated.
28705
28706 [BZ #3479]
28707 * stdlib/strtod_l.c (NDIG): Remove.
28708 (HEXNDIG): Likewise.
28709 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
28710 smallest representable value.
28711 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
28712 lie within an exact representation of 1/2 ulp of the result.
28713 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
28714 unconditionally.
28715 (TENS_P9_IDX): Define unconditionally.
28716 (TENS_P9_SIZE): Likewise.
28717 (TENS_P10_IDX): Likewise.
28718 (TENS_P10_SIZE): Likewise.
28719 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
28720 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
28721 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
28722 entries for 10^2^13 and 10^2^14.
28723 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
28724 (TENS_P13_IDX): Define.
28725 (TENS_P13_SIZE): Likewise.
28726 (TENS_P14_IDX): Likewise.
28727 (TENS_P14_SIZE): Likewise.
28728 (_fpioconst_pow10): Change array size to
28729 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
28730 unconditional.
28731 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
28732 1024]: Add entries for 10^2^13 and 10^2^14.
28733 [LAST_POW10 > _LAST_POW10]: Remove #error.
28734 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
28735 (_fpioconst_pow10): Change array size to
28736 FPIOCONST_POW10_ARRAY_SIZE.
28737 * stdlib/gen-fpioconst.c: New file.
28738 * stdlib/gen-tst-strtod-round.c: Likewise.
28739 * stdlib/tst-strtod-round-data: Likewise.
28740 * stdlib/tst-strtod-round.c: Likewise.
28741 * stdlib/Makefile (tests): Add tst-strtod-round.
28742
28743 [BZ #14459]
28744 * stdlib/strtod_l.c: Include <stdint.h>.
28745 (NDEBUG): Do not define.
28746 (round_and_return): Change EXPONENT parameter to type intmax_t.
28747 Rearrange calculations to avoid internal overflow possibilities.
28748 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
28749 Rearrange calculations to avoid internal overflow possibilities.
28750 Assert that number fits inside MPNSIZE limbs.
28751 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
28752 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
28753 calculations and add assertions to avoid internal overflow
28754 possibilities. Add casts to avoid signed/unsigned operations.
28755 * stdlib/tst-strtod-overflow.c: New file.
28756 * stdlib/Makefile (tests): Add tst-strtod-overflow.
28757
28758 2012-08-25 Marek Polacek <polacek@redhat.com>
28759
28760 * time/time.h: Fix some typos in comments.
28761
28762 2012-08-23 Roland McGrath <roland@hack.frob.com>
28763
28764 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
28765 * posix/tst-rfc3484-2.c: Likewise.
28766 * posix/tst-rfc3484-3.c: Likewise.
28767
28768 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
28769
28770 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
28771 (EF_ARM_ABI_FLOAT_HARD): Likewise.
28772
28773 2012-08-23 Joseph Myers <joseph@codesourcery.com>
28774
28775 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
28776 #include of fxstatat64.c.
28777
28778 2012-08-22 Roland McGrath <roland@hack.frob.com>
28779
28780 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
28781 * shadow/getspent_r.c: Likewise.
28782 * shadow/getspnam.c: Likewise.
28783 * shadow/getspnam_r.c: Likewise.
28784 * gshadow/getsgent.c: Likewise.
28785 * gshadow/getsgent_r.c: Likewise.
28786 * gshadow/getsgnam.c: Likewise.
28787 * gshadow/getsgnam_r.c: Likewise.
28788 * inet/getnetbyad.c: Likewise.
28789 * inet/getnetbyad_r.c: Likewise.
28790 * inet/getnetbynm.c: Likewise.
28791 * inet/getnetbynm_r.c: Likewise.
28792 * inet/getnetent.c: Likewise.
28793 * inet/getnetent_r.c: Likewise.
28794 * inet/getproto.c: Likewise.
28795 * inet/getproto_r.c: Likewise.
28796 * inet/getprtent.c: Likewise.
28797 * inet/getprtent_r.c: Likewise.
28798 * inet/getprtname.c: Likewise.
28799 * inet/getprtname_r.c: Likewise.
28800 * inet/getrpcbyname.c: Likewise.
28801 * inet/getrpcbyname_r.c: Likewise.
28802 * inet/getrpcbynumber.c: Likewise.
28803 * inet/getrpcbynumber_r.c: Likewise.
28804 * inet/getrpcent.c: Likewise.
28805 * inet/getrpcent_r.c: Likewise.
28806 * inet/getaliasent.c: Likewise.
28807 * inet/getaliasent_r.c: Likewise.
28808 * inet/getaliasname.c: Likewise.
28809 * inet/getaliasname_r.c: Likewise.
28810 * nscd/getgrgid_r.c: Likewise.
28811 * nscd/getgrnam_r.c: Likewise.
28812 * nscd/gethstbyad_r.c: Likewise.
28813 * nscd/gethstbynm3_r.c: Likewise.
28814 * nscd/getpwnam_r.c: Likewise.
28815 * nscd/getpwuid_r.c: Likewise.
28816 * nscd/getsrvbynm_r.c: Likewise.
28817 * nscd/getsrvbypt_r.c: Likewise.
28818 * nscd/gai.c: Likewise.
28819
28820 * configure.in (build_nscd): New substituted variable, set
28821 by --disable-build-nscd and defaults to $use_nscd.
28822 * configure: Regenerated.
28823 * config.make.in (build-nscd): New substituted variable.
28824 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
28825 Change conditional to require [$(build-nscd) = yes] as well.
28826 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
28827
28828 [BZ# 13696]
28829 * configure.in (use_nscd): New substituted variable, set by
28830 --disable-nscd. If enabled, define USE_NSCD.
28831 * configure: Regenerated.
28832 * config.h.in: Add USE_NSCD.
28833 * config.make.in (use-nscd): New substituted variable.
28834 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
28835 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
28836 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
28837 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
28838 (CFLAGS-getgrnam_r.c): Likewise.
28839 (CFLAGS-initgroups.c): Likewise.
28840 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
28841 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
28842 Variables removed.
28843 * inet/getnetgrent_r.c
28844 (nscd_setnetgrent): New function, broken out of ...
28845 (setnetgrent): ... here. Call it.
28846 (innetgr): Conditionalize nscd bits on [USE_NSCD].
28847 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
28848 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
28849 * nscd/Makefile (routines, aux): Move definitions after include of
28850 Makeconfig. Conditionalize on [$(use-nscd) != no].
28851 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
28852 Conditionalize on [USE_NSCD].
28853 (is_nscd, nscd_init_cb): Likewise.
28854 (nss_load_library): Conditionalize init callback on [USE_NSCD].
28855 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
28856 * nss/nss_db/db-init.c: Likewise.
28857 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
28858 [USE_NSCD].
28859 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
28860 (make_request): Use it.
28861 (cache_valid_p): New function.
28862 (__check_pf): Use it.
28863 * NEWS: Add item for --disable-nscd.
28864
28865 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
28866
28867 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
28868 to support sed >= 4.2.1-20-ga9bf076.
28869 * configure: Regenerated.
28870
28871 2012-08-22 Roland McGrath <roland@hack.frob.com>
28872
28873 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
28874 Conditionalize whole body on [IREL].
28875
28876 2012-08-22 Jeff Law <law@redhat.com>
28877
28878 [BZ #14505]
28879 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
28880 if the family is PF_UNSPEC.
28881
28882 2012-08-22 Mike Frysinger <vapier@gentoo.org>
28883
28884 * Makerules (lib-version): Rename from V.
28885 (install-lib-nosubdir): Change V to lib-version.
28886
28887 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
28888
28889 [BZ #14252]
28890 * powerpc32/power6/wcschr.c: New file.
28891 * powerpc32/power6/wcscpy.c: New file.
28892 * powerpc32/power6/wcsrchr.c: New file.
28893 * powerpc64/power6/wcschr.c: New file.
28894 * powerpc64/power6/wcscpy.c: New file.
28895 * powerpc64/power6/wcsrchr.c: New file.
28896
28897 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28898
28899 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
28900 (two_way_short_needle): Use it.
28901 * string/strstr.c (AVAILABLE1_USES_J): Define.
28902 * string/strcasestr.c: Likewise.
28903
28904 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
28905 array references.
28906 * string/strcasestr.c (TOLOWER): Make side-effect safe.
28907
28908 [BZ #11607]
28909 * NEWS: Add an entry.
28910 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
28911 define their defaults.
28912 (two_way_short_needle): Detect end-of-string on-the-fly.
28913 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
28914 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
28915 * string/bug-strcasestr1.c: New test.
28916 * string/Makefile: Run it.
28917
28918 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28919
28920 [BZ #11607]
28921 * string/str-two-way.h (two_way_short_needle): Optimize matching of
28922 the first character.
28923
28924 2012-08-21 Roland McGrath <roland@hack.frob.com>
28925
28926 * csu/elf-init.c (__libc_csu_irel): Function removed.
28927 * csu/libc-start.c (apply_irel): New function.
28928 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
28929
28930 2012-08-21 Joseph Myers <joseph@codesourcery.com>
28931
28932 * sysdeps/unix/sysv/linux/kernel-features.h
28933 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
28934 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28935 <kernel-features.h>.
28936 [__NR_fadvise64_64]: Make code unconditional.
28937 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
28938 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28939 !__NR_fadvise64_64)]: Likewise.
28940 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28941 !__NR_fadvise64_64))]: Likewise.
28942 [__NR_fadvise64]: Make code unconditional.
28943 [!__NR_fadvise64]: Remove conditional code.
28944 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
28945 <kernel-features.h>.
28946 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28947 unconditional.
28948 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28949 conditional code.
28950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
28951 not include <kernel-features.h>.
28952 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28953 unconditional.
28954 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28955 conditional code.
28956 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
28957 include <kernel-features.h>.
28958 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28959 unconditional.
28960 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28961 conditional code.
28962
28963 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28964
28965 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
28966 slight instruction rearrangements per scrollpipe analysis.
28967 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28968
28969 2012-08-20 Roland McGrath <roland@hack.frob.com>
28970
28971 * manual/syslog.texi (syslog; vsyslog, closelog):
28972 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
28973 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
28974
28975 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
28976 DSOCAPS to match condition on defining it.
28977
28978 2012-08-20 Joseph Myers <joseph@codesourcery.com>
28979
28980 * sysdeps/unix/sysv/linux/kernel-features.h
28981 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
28982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
28983 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28984 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
28986 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28987 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
28989 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28990 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28991
28992 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
28993 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
28994
28995 * sysdeps/unix/sysv/linux/kernel-features.h
28996 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
28997 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
28998 unconditional.
28999 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29000 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
29001 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29002 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29003 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
29004 Make code unconditional.
29005 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29006 (__mmap64) [!__NR_mmap2]: Likewise.
29007 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
29008 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29009 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29010 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
29011 [__NR_mmap2]: Make code unconditional.
29012 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29013 (__mmap64) [!__NR_mmap2]: Likewise.
29014
29015 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29016
29017 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
29018
29019 2012-08-18 Andreas Jaeger <aj@suse.de>
29020
29021 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
29022
29023 2012-08-18 Mike Frysinger <vapier@gentoo.org>
29024
29025 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
29026 * include/unistd.h (__have_sock_cloexec): Likewise.
29027 (__have_pipe2): Likewise.
29028 (__have_dup3): Likewise.
29029
29030 2012-08-18 Mike Frysinger <vapier@gentoo.org>
29031
29032 [BZ #9685]
29033 * include/unistd.h (__have_pipe2): Change define into an extern int.
29034 (__have_dup3): Likewise.
29035 * socket/have_sock_cloexec.c: Include fcntl.h.
29036 (__have_pipe2): New variable.
29037 (__have_dup3): Likewise.
29038
29039 2012-08-17 Mike Frysinger <vapier@gentoo.org>
29040
29041 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
29042
29043 2012-08-17 Marek Polacek <polacek@redhat.com>
29044
29045 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
29046 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
29047
29048 2012-08-17 Roland McGrath <roland@hack.frob.com>
29049
29050 * configure.in: Add AC_SUBST for sysheaders.
29051 * configure: Regenerated.
29052 * config.make.in (sysheaders): New substituted variable.
29053
29054 * sysdeps/unix/mkfifo.c: Moved ...
29055 * sysdeps/posix/mkfifo.c: ... here.
29056 * sysdeps/unix/mkfifoat.c: Moved ...
29057 * sysdeps/posix/mkfifoat.c: ... here.
29058
29059 * sysdeps/unix/utime.c: Moved ...
29060 * sysdeps/posix/utime.c: ... here.
29061
29062 * sysdeps/unix/time.c: Moved ...
29063 * sysdeps/posix/time.c: ... here.
29064 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
29065 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
29066
29067 * sysdeps/unix/nice.c: Moved ...
29068 * sysdeps/posix/nice.c: ... here.
29069
29070 * sysdeps/unix/alarm.c: Moved ...
29071 * sysdeps/posix/alarm.c: ... here.
29072
29073 * intl/Makefile ($(codeset_mo)): Depend on the input file.
29074
29075 2012-08-17 Jeff Law <law@redhat.com>
29076
29077 * intl/Makefile (codeset_mo): New variable.
29078 ($(codeset_mo)): New target.
29079 (tst-codeset.out): Depend on that. Remove explicit rule.
29080 (tst-gettext3.out, tst-gettext5.out): Likewise.
29081 (LOCPATH-ENV, tst-codeset-ENV): New variables.
29082 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
29083 * intl/tst-codeset.sh: Remove.
29084 * intl/tst-gettext3.sh: Likewise.
29085 * intl/tst-gettext5.sh: Likewise.
29086
29087 2012-08-17 Roland McGrath <roland@hack.frob.com>
29088
29089 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
29090 * sysdeps/unix/syscalls.list: ... here.
29091
29092 * sysdeps/posix/getaddrinfo.c
29093 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
29094 (gaiconf_init, gaiconf_reload): Use them.
29095 [!_STATBUF_ST_NSEC]
29096 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
29097 Define using time_t rather than struct timespec.
29098
29099 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
29100 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
29101 Macros removed.
29102 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
29103 [!NO_THREADS].
29104 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
29105 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
29106 Likewise.
29107
29108 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
29109 __libc_cleanup_push argument.
29110
29111 * bits/param.h: New file.
29112 * misc/sys/param.h: New file.
29113 * include/sys/param.h: New file.
29114 * misc/Makefile (headers): Add bits/param.h.
29115 * sysdeps/generic/sys/param.h: File removed.
29116 * sysdeps/unix/sysv/linux/bits/param.h: New file.
29117 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
29118 * sysdeps/mach/hurd/bits/param.h: New file.
29119 * sysdeps/mach/hurd/sys/param.h: File removed.
29120
29121 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
29122 last change.
29123
29124 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
29125 [_IO_MTSAFE_IO].
29126 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
29127 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
29128 New macros.
29129
29130 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
29131 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
29132 rather than -D_IO_MTSAFE_IO conditionally.
29133 * stdio-common/Makefile (CPPFLAGS): Likewise.
29134 * wcsmbs/Makefile (CPPFLAGS): Likewise.
29135 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
29136 Use $(libio-mtsafe).
29137 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
29138 of -D_IO_MTSAFE_IO.
29139 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
29140 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
29141 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
29142 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
29143 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
29144 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
29145 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
29146 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
29147 (CFLAGS-fread_u_chk.c): Likewise.
29148 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
29149 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
29150 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
29151 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
29152 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
29153 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
29154 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
29155 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
29156 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
29157
29158 * libio/Makefile: Test [$(libc-reentrant) = yes]
29159 instead of [$(filter %REENTRANT, $(defines)) nonempty].
29160
29161 * Makeconfig
29162 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
29163 * sysdeps/pthread/configure: File removed.
29164 * sysdeps/pthread/Makeconfig: New file.
29165 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
29166 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
29167
29168 2012-08-16 Gary Benson <gbenson@redhat.com>
29169
29170 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
29171 unmapping the first object in a namespace.
29172
29173 2012-08-16 Roland McGrath <roland@hack.frob.com>
29174
29175 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
29176 (__internal_setnetgrent): ... this. Add internal_function to
29177 definition. Add libc_hidden_def.
29178 (setnetgrent): Update caller.
29179 (internal_endnetgrent): Renamed to ...
29180 (__internal_endnetgrent): ... this. Add internal_function to
29181 definition. Add libc_hidden_def.
29182 (endnetgrent): Update caller.
29183 (internal_getnetgrent_r): Renamed to ...
29184 (__internal_getnetgrent_r): ... this. Add internal_function to
29185 definition. Add libc_hidden_def.
29186 (__getnetgrent_r): Update caller.
29187 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
29188
29189 2012-08-16 Joseph Myers <joseph@codesourcery.com>
29190
29191 * stdlib/longlong.h: Update from GCC.
29192
29193 2012-08-16 Roland McGrath <roland@hack.frob.com>
29194
29195 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
29196 on _QL, which is set by umul_ppmm but never used.
29197 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
29198 variables, which are set by GMP macros but never used.
29199 * stdio-common/_itowa.c (_itowa): Likewise.
29200 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
29201 * stdlib/mod_1.c (mpn_mod_1): Likewise.
29202
29203 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
29204
29205 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
29206 struct La_sh_regs is not constant.
29207 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
29208 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
29209 and struct La_sparc64_regs are not constant.
29210
29211 2012-08-16 Joseph Myers <joseph@codesourcery.com>
29212
29213 * sysdeps/unix/sysv/linux/kernel-features.h
29214 (__ASSUME_POSIX_TIMERS): Remove.
29215 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29216 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29217 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
29218 Make code unconditional.
29219 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29220 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
29221 Make code unconditional.
29222 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29223 * sysdeps/unix/sysv/linux/clock_nanosleep.c
29224 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
29225 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29226 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
29227 Make code unconditional.
29228 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29229 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
29230 (__libc_missing_posix_timers): Remove.
29231
29232 2012-08-15 Roland McGrath <roland@hack.frob.com>
29233
29234 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
29235 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
29236
29237 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
29238
29239 * elf/dl-sym.c: Include <stdlib.h>.
29240
29241 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
29242 constants, which avoids warnings in 32-bit builds.
29243
29244 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
29245 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
29246
29247 * misc/lseek.c: File moved to ...
29248 * io/lseek.c: ... here.
29249
29250 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
29251
29252 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
29253 shifting LEN more than 31 bits at once.
29254
29255 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29256
29257 [BZ #14195]
29258 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
29259 segmentation fault for a case of two empty input strings.
29260 * string/test-strncasecmp.c (check1): Renamed to...
29261 (bz12205): ...this.
29262 (bz14195): Add new testcase for two empty input strings and N > 0.
29263 (test_main): Call new testcase, adapt for renamed function.
29264
29265 2012-08-15 Andreas Jaeger <aj@suse.de>
29266
29267 [BZ #14090]
29268 * crypt/md5test2.c: New test, based on test supplied by Serge
29269 Belyshev <belyshev@depni.sinp.msu.ru>.
29270 * crypt/Makefile (xtests): Add md5test-giant..
29271 * crypt/Makefile ($(objpfx)md5test-giant): Add.
29272
29273 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
29274
29275 [BZ #14090]
29276 * crypt/md5.c (md5_process_block): Don't assume the buffer
29277 length is less than 2**32.
29278 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
29279 length is less than 2**64.
29280
29281 2012-08-15 Roland McGrath <roland@hack.frob.com>
29282
29283 * string/str-two-way.h: Include <sys/param.h>.
29284 (MAX): Macro removed.
29285
29286 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
29287 Move #define and #undef of memmove to just before and after
29288 including <string.h>.
29289
29290 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
29291 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
29292 and after including <string.h>. Move declarations of
29293 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
29294 to before #include "string/memmove.c".
29295
29296 * include/dirent.h: Declare __getdirentries.
29297
29298 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
29299 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
29300
29301 2012-08-14 Mike Frysinger <vapier@gentoo.org>
29302
29303 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
29304 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
29305 * sysdeps/i386/configure: Regenerated.
29306 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
29307 STABS_CURRENT_FILE, and STABS_FUN.
29308 (END): Remove call to STABS_FUN_END.
29309 (STABS_CURRENT_FILE1): Delete.
29310 (STABS_CURRENT_FILE): Likewise.
29311 (STABS_FUN): Likewise.
29312 (STABS_FUN_END): Likewise.
29313 (STABS_FUN2): Likewise.
29314 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
29315 * sysdeps/x86_64/configure: Regenerated.
29316
29317 2012-08-14 Roland McGrath <roland@hack.frob.com>
29318
29319 * elf/dl-open.c: Include <atomic.h>.
29320 * elf/dl-lookup.c: Likewise.
29321
29322 2012-08-14 Joseph Myers <joseph@codesourcery.com>
29323
29324 * sysdeps/unix/sysv/linux/kernel-features.h
29325 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
29326 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
29327 unconditionally.
29328 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
29329 unconditionally.
29330 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
29331 condition on __ASSUME_CLONE_THREAD_FLAGS.
29332
29333 2012-08-14 Andreas Jaeger <aj@suse.de>
29334
29335 * sysdeps/i386/fpu/libm-test-ulps: Update.
29336
29337 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
29338
29339 * include/atomic.h (atomic_exchange_and_add): Split into ...
29340 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
29341 New atomic macros.
29342
29343 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
29344
29345 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29346
29347 2012-08-13 Jeff Law <law@redhat.com>
29348
29349 * manual/stdio.texi (snprintf): Clarify handling of the trailing
29350 null byte in the output string.
29351
29352 2012-08-10 Joseph Myers <joseph@codesourcery.com>
29353
29354 * sysdeps/unix/sysv/linux/kernel-features.h
29355 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
29356 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
29357 (__ASSUME_ARG_MAX_STACK_BASED): Define.
29358 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
29359 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
29360 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
29361 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
29362
29363 2012-08-09 Jeff Law <law@redhat.com>
29364
29365 [BZ #13939]
29366 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
29367 When avoid_arena is set, don't retry in the that arena. Pick the
29368 next one, whatever it might be.
29369 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
29370 (arena_lock): Pass in new parameter to arena_get2.
29371 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
29372 arena_get2.
29373 (__libc_malloc): Unify retrying after main arena failure with
29374 __libc_memalign version.
29375 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
29376
29377 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
29378
29379 [BZ #14166]
29380 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
29381 to __redirect_strstr.
29382 (__strstr_sse42): Use typeof __redirect_strstr.
29383 (__strstr_ia32): Likewise.
29384 (__libc_strstr): New prototype.
29385 (strstr): Renamed to ...
29386 (__libc_strstr): This.
29387 (strstr): New strong alias of __libc_strstr.
29388 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29389 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
29390 __redirect_time.
29391 Include <time.h>.
29392 (__libc_time): New prototype.
29393 (time_ifunc): Replace time with __libc_time.
29394 (time): New strong alias and hidden definition of __libc_time.
29395 (__GI_time): Remove strong alias.
29396 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
29397 Include <stddef.h>.
29398 (memmove): Redefined to __redirect_memmove.
29399 (__memmove_sse2): Use typeof __redirect_memmove.
29400 (__memmove_ssse3): Likewise.
29401 (__memmove_ssse3_back): Likewise.
29402 (__libc_memmove): New prototype.
29403 (memmove): Renamed to ...
29404 (__libc_memmove): This.
29405 (memmove): New strong alias of __libc_memmove.
29406
29407 2012-08-08 Mark Salter <msalter@redhat.com>
29408
29409 * elf/elf.h
29410 (R_MN10300_TLS_GD): Define.
29411 (R_MN10300_TLS_LD): Likewise.
29412 (R_MN10300_TLS_LDO): Likewise.
29413 (R_MN10300_TLS_GOTIE): Likewise.
29414 (R_MN10300_TLS_IE): Likewise.
29415 (R_MN10300_TLS_LE): Likewise.
29416 (R_MN10300_TLS_DTPMOD): Likewise.
29417 (R_MN10300_TLS_DTPOFF): Likewise.
29418 (R_MN10300_TLS_TPOFF): Likewise.
29419 (R_MN10300_SYM_DIFF): Likewise.
29420 (R_MN10300_ALIGN): Likewise.
29421 (R_MN10300_NUM): Update.
29422
29423 2012-08-08 Joseph Myers <joseph@codesourcery.com>
29424
29425 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
29426 Remove.
29427
29428 2012-08-08 Roland McGrath <roland@hack.frob.com>
29429
29430 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
29431
29432 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
29433 sysdeps/unix -> sysdeps/posix move.
29434 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29435
29436 2012-08-07 Allan McRae <allan@archlinux.org>
29437
29438 [BZ #14303]
29439 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
29440 (SUNOS_CPP): Likewise.
29441 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
29442 not found.
29443 (open_input): Call CPP using execvp.
29444
29445 2012-08-07 Joseph Myers <joseph@codesourcery.com>
29446
29447 * sysdeps/unix/sysv/linux/kernel-features.h
29448 (__ASSUME_PROT_GROWSUPDOWN): Remove.
29449 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29450 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29451 (__ASSUME_WAITID_SYSCALL): Likewise.
29452 * sysdeps/unix/sysv/linux/dl-execstack.c
29453 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
29454 code unconditional.
29455 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
29456 conditional code.
29457 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
29458 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
29459 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
29460 code.
29461 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
29462 unconditional.
29463 [__ASSUME_WAITID_SYSCALL]: Likewise.
29464 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
29465
29466 2012-08-07 Roland McGrath <roland@hack.frob.com>
29467
29468 * sysdeps/unix/closedir.c: Renamed to ...
29469 * sysdeps/posix/closedir.c: ... here.
29470 * sysdeps/unix/dirfd.c: Renamed to ...
29471 * sysdeps/posix/dirfd.c: ... here.
29472 * sysdeps/unix/dirstream.h: Renamed to ...
29473 * sysdeps/posix/dirstream.h: ... here.
29474 * sysdeps/unix/fdopendir.c: Renamed to ...
29475 * sysdeps/posix/fdopendir.c: ... here.
29476 * sysdeps/unix/opendir.c: Renamed to ...
29477 * sysdeps/posix/opendir.c: ... here.
29478 * sysdeps/unix/readdir.c: Renamed to ...
29479 * sysdeps/posix/readdir.c: ... here.
29480 * sysdeps/unix/readdir_r.c: Renamed to ...
29481 * sysdeps/posix/readdir_r.c: ... here.
29482 * sysdeps/unix/rewinddir.c: Renamed to ...
29483 * sysdeps/posix/rewinddir.c: ... here.
29484 * sysdeps/unix/seekdir.c: Renamed to ...
29485 * sysdeps/posix/seekdir.c: ... here.
29486 * sysdeps/unix/telldir.c: Renamed to ...
29487 * sysdeps/posix/telldir.c: ... here.
29488 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
29489 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
29490 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29491 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
29492
29493 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
29494 * bits/fcntl.h: ... here.
29495
29496 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
29497 not 0.
29498 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
29499 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
29500 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
29501 (struct flock): Move l_start, l_len to the beginning.
29502 Use __pid_t for l_pid.
29503 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
29504 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
29505 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
29506 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
29507 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
29508 [__USE_LARGEFILE64] (struct flock64): New type.
29509 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
29510
29511 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
29512 * bits/dirent.h: ... here.
29513
29514 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
29515 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
29516
29517 2012-08-07 Joseph Myers <joseph@codesourcery.com>
29518
29519 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29520 Change from 2.6.0 to 2.6.16.
29521 * sysdeps/unix/sysv/linux/configure: Regenerated.
29522 * sysdeps/unix/sysv/linux/kernel-features.h
29523 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
29524 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
29525 version.
29526 (__ASSUME_UTIMES): Likewise.
29527 (__ASSUME_CLONE_STOPPED): Remove.
29528 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
29529 architectures, not kernel version.
29530 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
29531 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29532 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29533 (__ASSUME_WAITID_SYSCALL): Likewise.
29534 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
29535 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
29536 * README: State 2.6.16 as minimum Linux kernel version. Do not
29537 refer to older versions.
29538
29539 2012-08-06 Roland McGrath <roland@hack.frob.com>
29540
29541 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
29542 Define alphasort64 as an alias.
29543 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
29544 Define versionsort64 as an alias.
29545 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
29546 Define scandir64 as an alias.
29547 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
29548 Define scandirat64 as an alias.
29549 * dirent/alphasort64.c (alphasort64):
29550 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
29551 * dirent/versionsort64.c: Likewise.
29552 * dirent/scandir64.c: Likewise.
29553 * dirent/scandirat64.c: Likewise.
29554 * sysdeps/wordsize-64/alphasort.c: File removed.
29555 * sysdeps/wordsize-64/alphasort64.c: File removed.
29556 * sysdeps/wordsize-64/scandir.c: File removed.
29557 * sysdeps/wordsize-64/scandir64.c: File removed.
29558 * sysdeps/wordsize-64/scandirat.c: File removed.
29559 * sysdeps/wordsize-64/scandirat64.c: File removed.
29560 * sysdeps/wordsize-64/versionsort.c: File removed.
29561 * sysdeps/wordsize-64/versionsort64.c: File removed.
29562 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
29563 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
29564 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
29565 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
29566 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
29567 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
29568 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
29569 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
29570
29571 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
29572 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29573 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
29574 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29575 [defined __arch64__ || defined __sparcv9]
29576 (__INO_T_MATCHES_INO64_T): New macro.
29577 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29578 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
29579 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
29580 * sysdeps/unix/sysv/linux/bits/dirent.h
29581 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
29582 (_DIRENT_MATCHES_DIRENT64): New macro.
29583
29584 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
29585 Define lockf64 as an alias.
29586 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
29587 Define fseeko64 as an alias.
29588 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
29589 Define ftello64 as an alias.
29590 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
29591 Define _IO_fgetpos64 and fgetpos64 as aliases.
29592 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
29593 Define _IO_fsetpos64 and fsetpos64 as aliases.
29594 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
29595 Conditionalize body on this.
29596 * libio/fseeko64.c: Likewise.
29597 * libio/ftello64.c: Likewise.
29598 * libio/iofgetpos64.c: Likewise.
29599 * libio/iofsetpos64.c: Likewise.
29600 * sysdeps/wordsize-64/lockf.c: File removed.
29601 * sysdeps/wordsize-64/lockf64.c: File removed.
29602 * sysdeps/wordsize-64/fseeko.c: File removed.
29603 * sysdeps/wordsize-64/fseeko64.c: File removed.
29604 * sysdeps/wordsize-64/ftello.c: File removed.
29605 * sysdeps/wordsize-64/ftello64.c: File removed.
29606 * sysdeps/wordsize-64/iofgetpos.c: File removed.
29607 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
29608 * sysdeps/wordsize-64/iofsetpos.c: File removed.
29609 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
29610 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
29611 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
29612 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
29613 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
29614 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
29615 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
29616 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
29617 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
29618 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
29619 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
29620
29621 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29622 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29623 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
29624 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29625 [defined __arch64__ || defined __sparcv9]
29626 (__OFF_T_MATCHES_OFF64_T): New macro.
29627 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29628 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29629 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29630 (__OFF_T_MATCHES_OFF64_T): New macro.
29631
29632 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
29633
29634 * stdlib/secure-getenv.c (__secure_getenv): Replace
29635 GLIBC_2_16 with GLIBC_2_17.
29636
29637 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
29638
29639 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
29640 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29641
29642 2012-08-03 David S. Miller <davem@davemloft.net>
29643
29644 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29645
29646 2012-08-03 Joseph Myers <joseph@codesourcery.com>
29647
29648 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
29649 Remove.
29650 (__ASSUME_CORRECT_SI_PID): Likewise.
29651 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
29652 (__ASSUME_TMPFS_NAME): Likewise.
29653 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
29654 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
29655 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
29656 (HAVE_AUX_SECURE): Make definition unconditional.
29657 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
29658 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
29659
29660 2012-08-03 Roland McGrath <roland@hack.frob.com>
29661
29662 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
29663 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
29664 * sysdeps/mach/hurd/eloop-threshold.h: New file.
29665 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29666 __eloop_threshold instead of SYMLOOP_MAX.
29667
29668 * sysdeps/generic/eloop-threshold.h: New file.
29669 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
29670 of MAXSYMLINKS.
29671 * elf/chroot_canon.c (chroot_canon): Likewise.
29672
29673 2012-08-03 Joseph Myers <joseph@codesourcery.com>
29674
29675 [BZ #13717]
29676 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29677 Change to 2.6.0 everywhere.
29678 * sysdeps/unix/sysv/linux/configure: Regenerated.
29679 * sysdeps/unix/sysv/linux/kernel-features.h
29680 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
29681 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
29682 kernel versions.
29683 (__ASSUME_POSIX_TIMERS): Define unconditionally.
29684 (__ASSUME_FUTEX_REQUEUE): Remove.
29685 (__ASSUME_STATFS64): Define unconditionally.
29686 (__ASSUME_AT_SECURE): Likewise.
29687 (__ASSUME_CORRECT_SI_PID): Likewise.
29688 (__ASSUME_TGKILL): Define without depending on kernel version for
29689 i386.
29690 (__ASSUME_UTIMES): Likewise.
29691 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
29692 kernel version.
29693 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
29694 (__ASSUME_TMPFS_NAME): Likewise.
29695 * README: Update reference to Linux kernel versions.
29696
29697 2012-08-02 Marek Polacek <polacek@redhat.com>
29698
29699 [BZ# 14150]
29700 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
29701 libc_cv_asm_type_prefix with %.
29702 * configure: Regenerated.
29703 * include/libc-symbols.h: Remove comment about
29704 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29705 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
29706 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
29707 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
29708 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
29709 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29710 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
29711 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
29712 * elf/tst-unique2mod1.c: Likewise.
29713 * elf/tst-unique1mod2.c: Likewise.
29714 * elf/tst-unique1mod1.c: Likewise.
29715 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
29716 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
29717 Replace ASM_TYPE_DIRECTIVE with .type.
29718 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29719 * sysdeps/i386/sysdep.h: Likewise.
29720 * sysdeps/x86_64/sysdep.h: Likewise.
29721 * sysdeps/sh/sysdep.h: Likewise.
29722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29723 Do not define ASM_TYPE_DIRECTIVE.
29724 * sysdeps/powerpc/sysdep.h: Likewise.
29725 * sysdeps/powerpc/powerpc32/sysdep.h:
29726 Replace ASM_TYPE_DIRECTIVE with .type.
29727 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29728 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29729 * sysdeps/i386/fpu/e_powf.S: Likewise.
29730 * sysdeps/i386/fpu/e_expl.S: Likewise.
29731 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29732 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29733 * sysdeps/i386/fpu/e_pow.S: Likewise.
29734 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29735 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29736 * sysdeps/i386/fpu/s_expm1.S: Likewise.
29737 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29738 * sysdeps/i386/fpu/e_log2.S: Likewise.
29739 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29740 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29741 * sysdeps/i386/fpu/e_powl.S: Likewise.
29742 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29743 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29744 * sysdeps/i386/fpu/e_logl.S: Likewise.
29745 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29746 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29747 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29748 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29749 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29750 * sysdeps/i386/fpu/e_log.S: Likewise.
29751 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29752 * sysdeps/i386/fpu/e_logf.S: Likewise.
29753 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29754 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29755 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29756 * sysdeps/i386/fpu/e_log10.S: Likewise.
29757 * sysdeps/i386/fpu/s_frexp.S: Likewise.
29758 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29759 * sysdeps/i386/fpu/s_asinh.S: Likewise.
29760 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29761 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29762 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
29763 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29764 * sysdeps/i386/i686/strtok.S: Likewise.
29765 * sysdeps/i386/i386-mcount.S: Likewise.
29766 * sysdeps/i386/strtok.S: Likewise.
29767 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
29768 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29769 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29770 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29771 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29772 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29773 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29774 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29775 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29776 * sysdeps/x86_64/_mcount.S: Likewise.
29777 * sysdeps/x86_64/strtok.S: Likewise.
29778 * sysdeps/sh/_mcount.S: Likewise.
29779
29780 2012-08-01 Roland McGrath <roland@hack.frob.com>
29781
29782 * libio/iofopen.c: Include <fcntl.h>.
29783 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
29784 (_IO_fopen64, fopen64): Define as aliases.
29785 * libio/iofopen64.c: Include <fcntl.h>.
29786 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
29787 Conditionalize body on this.
29788 * sysdeps/wordsize-64/iofopen.c: File removed.
29789 * sysdeps/wordsize-64/iofopen64.c: File removed.
29790
29791 2012-08-01 Marek Polacek <polacek@redhat.com>
29792
29793 * libc/Makeconfig: Use elf in place of binfmt-subdir.
29794 Use dlfcn directly instead of a variable.
29795 (binfmt-subdir): Do not define.
29796 (dlfcn): Likewise.
29797
29798 2012-08-01 Joseph Myers <joseph@codesourcery.com>
29799
29800 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
29801 Remove all definitions.
29802 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
29803 <kernel-features.h>.
29804 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29805 (miss_F_GETOWN_EX): Remove all definitions.
29806 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
29807 macro definition.
29808 [!__ASSUME_FCNTL64]: Remove conditional code.
29809 [__ASSUME_FCNTL64]: Make code unconditional.
29810 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
29811 <kernel-features.h>.
29812 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29813 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
29814 (lockf64) [__NR_fcntl64]: Make code unconditional.
29815 (lockf64) [__ASSUME_FCNTL64]: Likewise.
29816
29817 * sysdeps/unix/sysv/linux/kernel-features.h
29818 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
29819 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
29820 Make code unconditional.
29821 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29822 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
29824 [__NR_vfork]: Make code unconditional.
29825 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29826 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
29828 [__NR_vfork]: Make code unconditional.
29829 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29830 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29831
29832 2012-08-01 Roland McGrath <roland@hack.frob.com>
29833
29834 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
29835 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
29836
29837 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29838 Define mkstemp64 as an alias.
29839 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29840 Define mkstemps64 as an alias.
29841 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29842 Define mkostemp64 as an alias.
29843 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29844 Define mkostemps64 as an alias.
29845 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
29846 Conditionalize body on this.
29847 * misc/mkostemp64.c: Likewise.
29848 * misc/mkostemps64.c: Likewise.
29849 * misc/mkstemps64.c: Likewise.
29850 * sysdeps/wordsize-64/mkstemp64.c: File removed.
29851 * sysdeps/wordsize-64/mkostemp64.c: File removed.
29852 * sysdeps/wordsize-64/mkostemp.c: File removed.
29853 * sysdeps/wordsize-64/mkstemp.c: File removed.
29854 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
29855 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
29856 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
29857 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
29858
29859 [BZ #14138]
29860 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
29861 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
29862 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
29863 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
29864
29865 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
29866 compat_symbol macros from <shlib-compat.h> rather than the underlying
29867 default_symbol_version and symbol_version macros, so that DEFAULT
29868 lines in shlib-versions are respected.
29869 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
29870
29871 2012-08-01 Florian Weimer <fweimer@redhat.com>
29872
29873 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
29874 Declare with warn_unused_result.
29875 (setgid, setregid, setegid, setresgid): Likewise.
29876 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
29877 Likewise.
29878 * WUR-REPORT: Remove set*id functions.
29879
29880 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
29881
29882 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
29883
29884 2012-07-31 Roland McGrath <roland@hack.frob.com>
29885
29886 [BZ #10191]
29887 * include/sys/socket.h (__libc_accept, __libc_accept4):
29888 Add attribute_hidden.
29889 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
29890
29891 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
29892 use of PTR_MANGLE.
29893 * inet/getnetgrent_r.c (setup): Likewise.
29894
29895 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
29896
29897 2012-07-31 David S. Miller <davem@davemloft.net>
29898
29899 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29900
29901 2012-07-31 Joseph Myers <joseph@codesourcery.com>
29902
29903 [BZ #13629]
29904 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
29905 value between 1.0 and 2.0 and smaller part has absolute value less
29906 than 1.0.
29907 * math/s_clog10.c (__clog10): Likewise.
29908 * math/s_clog10f.c (__clog10f): Likewise.
29909 * math/s_clog10l.c (__clog10l): Likewise.
29910 * math/s_clogf.c (__clogf): Likewise.
29911 * math/s_clogl.c (__clogl): Likewise.
29912 * math/libm-test.inc (clog_test): Add more tests.
29913 (clog10_test): Likewise.
29914 * sysdeps/i386/fpu/libm-test-ulps: Update.
29915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29916
29917 2012-07-31 Florian Weimer <fweimer@redhat.com>
29918
29919 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
29920 Exit with zero in case no suitable GID is found, and write a
29921 message to standard error.
29922
29923 2012-07-30 Roland McGrath <roland@hack.frob.com>
29924
29925 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
29926 rather than to 1.
29927 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
29928 (MAXPATHLEN): Removed.
29929 (NOGROUP, NODEV): New macros.
29930 (setbit, clrbit, isset, isclr): New macros.
29931 (howmany, roundup, powerof2): New macros.
29932 (DEV_BSIZE): New macro.
29933
29934 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
29935 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
29936
29937 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
29938 definition on [!__NO_LONG_DOUBLE_MATH].
29939
29940 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
29941 PTR_MANGLE and PTR_DEMANGLE.
29942
29943 * socket/accept4.c (accept4): Rename to __libc_accept4.
29944 Define accept4 as a weak alias.
29945
29946 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
29947 on [_DIRENT_HAVE_D_TYPE].
29948 * io/ftw.c (ftw_dir): Likewise.
29949
29950 * io/xmknod.c (__xmknod): Don't check PATH for being null.
29951
29952 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
29953
29954 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
29955 Use the BSD numbers rather than the arbitrary ones we had.
29956 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
29957 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
29958 (SIGXCPU, SIGXFSZ): New macros.
29959 (_NSIG): Now 32.
29960
29961 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
29962 initializer on [_LIBC_REENTRANT].
29963
29964 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
29965 definitions inside [_POSIX_MAPPED_FILES].
29966
29967 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
29968
29969 * dirent/opendir.c: Include <fcntl.h>.
29970
29971 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
29972 (__libc_getspecific): Likewise.
29973 (__libc_key_create): Likewise.
29974
29975 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
29976 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
29977 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
29978 (tmpfile64): Define as alias.
29979 * sysdeps/wordsize-64/tmpfile.c: File removed.
29980 * sysdeps/wordsize-64/tmpfile64.c: File removed.
29981 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
29982 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
29983
29984 * stdio-common/vfscanf.c: Include <stdbool.h>.
29985 * nss/makedb.c: Likewise.
29986 * stdio-common/_i18n_number.h: Likewise.
29987 * argp/argp-help.c: Likewise.
29988 * posix/wordexp.c: Likewise.
29989 * sysdeps/posix/spawni.c: Likewise.
29990 * nss/nss_files/files-initgroups.c: Likewise.
29991 * stdio-common/reg-modifier.c: Include <stdlib.h>.
29992 * nss/nss_files/files-initgroups.c: Likewise.
29993 * nss/nss_db/db-netgrp.c: Likewise.
29994 * nss/nss_db/db-initgroups.c: Likewise.
29995 * io/fchmodat.c: Include <sys/stat.h>.
29996
29997 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
29998 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
29999
30000 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
30001 [HAVE_MMAP].
30002
30003 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
30004 Add multiple inclusion protection.
30005
30006 2012-07-27 David S. Miller <davem@davemloft.net>
30007
30008 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30009
30010 2012-07-27 Gary Benson <gbenson@redhat.com>
30011
30012 [BZ #14298]
30013 * elf/rtld.c: Include <stap-probe.h>.
30014 (dl_main): Added static probes "init_start" and "init_complete".
30015 * elf/dl-load.c: Include <stap-probe.h>.
30016 (lose): Take new parameter "nsid".
30017 Added static probe "map_failed".
30018 (_dl_map_object_from_fd): Pass namespace id to lose.
30019 Added static probe "map_start".
30020 (open_verify): Pass namespace id to lose.
30021 * elf/dl-open.c: Include <stap-probe.h>.
30022 (dl_open_worker) Added static probes "map_complete", "reloc_start"
30023 and "reloc_complete".
30024 * elf/dl-close.c: Include <stap-probe.h>.
30025 (_dl_close_worker): Added static probes "unmap_start" and
30026 "unmap_complete".
30027 * elf/rtld-debugger-interface.txt: New file documenting the above.
30028
30029 2012-07-26 Roland McGrath <roland@hack.frob.com>
30030
30031 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
30032 rather than a string variable.
30033 * sunrpc/rpc_main.c (h_output): Likewise.
30034 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
30035
30036 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
30037
30038 * inet/check_native.c: New file.
30039
30040 2012-07-26 Joseph Myers <joseph@codesourcery.com>
30041
30042 [BZ #13629]
30043 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
30044 if larger part has absolute value 1.0.
30045 * math/s_clog10.c (__clog10): Likewise.
30046 * math/s_clog10f.c (__clog10f): Likewise.
30047 * math/s_clog10l.c (__clog10l): Likewise.
30048 * math/s_clogf.c (__clogf): Likewise.
30049 * math/s_clogl.c (__clogl): Likewise.
30050 * math/libm-test.inc (clog_test): Add more tests.
30051 (clog10_test): Likewise.
30052 * sysdeps/i386/fpu/libm-test-ulps: Update.
30053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30054
30055 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
30056 (pltexit): Likewise.
30057 (La_regs): Likewise.
30058 (La_retval): Likewise.
30059 (int_retval): Likewise.
30060 Update #error for removed macros to refer only to definitions in
30061 tst-audit.h.
30062 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
30063 macro.
30064 (pltexit): Likewise.
30065 (La_regs): Likewise.
30066 (La_retval): Likewise.
30067 (int_retval): Likewise.
30068 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
30069 macro.
30070 (pltexit): Likewise.
30071 (La_regs): Likewise.
30072 (La_retval): Likewise.
30073 (int_retval): Likewise.
30074 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
30075 macro.
30076 (pltexit): Likewise.
30077 (La_regs): Likewise.
30078 (La_retval): Likewise.
30079 (int_retval): Likewise.
30080 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
30081 macro.
30082 (pltexit): Likewise.
30083 (La_regs): Likewise.
30084 (La_retval): Likewise.
30085 (int_retval): Likewise.
30086 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
30087 macro.
30088 (pltexit): Likewise.
30089 (La_regs): Likewise.
30090 (La_retval): Likewise.
30091 (int_retval): Likewise.
30092 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
30093 macro.
30094 (pltexit): Likewise.
30095 (La_regs): Likewise.
30096 (La_retval): Likewise.
30097 (int_retval): Likewise.
30098 * sysdeps/generic/tst-audit.h: Update comment to refer only to
30099 macro definitions in tst-audit.h.
30100 * sysdeps/i386/tst-audit.h: New file.
30101 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
30102 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
30103 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
30104 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
30105 * sysdeps/sh/tst-audit.h: Likewise.
30106 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
30107 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
30108 * sysdeps/x86_64/tst-audit.h: Likewise.
30109
30110 2012-07-26 Andreas Jaeger <aj@suse.de>
30111
30112 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
30113 ptrace.
30114
30115 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
30116 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
30117 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
30118 PTRACE_O_MASK.
30119 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
30120 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
30121 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
30122
30123 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
30124 value.
30125
30126 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
30127 _sigsys.
30128 (si_call_addr, si_syscall, si_arch): Define new macro.
30129 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
30130 _sigsys.
30131 (si_call_addr, si_syscall, si_arch): Define new marcro.
30132 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
30133 _sigsys.
30134 (si_call_addr, si_syscall, si_arch): Define new macro.
30135 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
30136 _sigsys.
30137 (si_call_addr, si_syscall, si_arch): Define new macro.
30138
30139 2012-07-25 Joseph Myers <joseph@codesourcery.com>
30140
30141 [BZ #13717]
30142 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30143 Change to 2.4.21 where previously 2.4.1.
30144 * sysdeps/unix/sysv/linux/configure: Regenerated.
30145 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
30146 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
30147 Linux kernel version.
30148 (__ASSUME_STD_AUXV): Remove.
30149 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
30150 kernel version.
30151 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
30152 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
30153 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
30154 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
30155 (__ASSUME_NETLINK_SUPPORT): Likewise.
30156 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
30157 (__no_netlink_support): Remove conditional definition.
30158 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
30159 Remove.
30160 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30161 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
30162 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
30163 (if_nameindex_ioctl): Remove.
30164 (if_nameindex_netlink): Do not handle __no_netlink_support.
30165 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30166 code.
30167 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
30168 Remove conditional code.
30169 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30170 code.
30171 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
30172 unconditional.
30173 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30174 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
30175 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
30176 Remove.
30177 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
30178 [!__ASSUME_STD_AUXV]: Remove conditional code.
30179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
30180 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
30181 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
30182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
30183 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
30184 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30185 code.
30186 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30188 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
30189 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30190 conditional code.
30191 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30193 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30194 code.
30195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30196 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30197 conditional code.
30198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
30199 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30200 code unconditional.
30201 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30202 conditional code.
30203 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30204 unconditional.
30205 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30206 conditional code.
30207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30208 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30209 unconditional.
30210 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30211 conditional code.
30212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
30213 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30214 code unconditional.
30215 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30216 conditional code.
30217 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30218 unconditional.
30219 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30220 conditional code.
30221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
30222 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30223 code unconditional.
30224 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30225 conditional code.
30226 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30227 unconditional.
30228 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30229 conditional code.
30230
30231 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
30232
30233 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
30234 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
30235 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
30236 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
30237 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
30238 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
30239 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
30240 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
30241 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
30242 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
30243 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
30244 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
30245 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
30246 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
30247 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
30248 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
30249 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
30250 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
30251 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
30252 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
30253 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
30254 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
30255 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30256
30257 2012-07-25 Florian Weimer <fweimer@redhat.com>
30258
30259 * Versions.def: Add GLIBC_2.17.
30260 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
30261 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
30262 Introduce __libc_secure_getenv.
30263 * stdlib/Versions (2.17): Add secure_getenv
30264 (GLIBC_PRIVATE): Add __libc_secure_getenv.
30265 * stdlib/secure-getenv.c: Rename __secure_getenv to
30266 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
30267 symbol __secure_getenv for GLIBC_2.0.
30268 * stdlib/tst-secure-getenv.c: New.
30269 * stdlib/Makefile (tests): Add testcase.
30270 * manual/startup.texi (Environment Access): Document
30271 secure_getenv.
30272 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
30273 __libc_secure_getenv.
30274 * inet/ruserpass.c (ruserpass): Likewise.
30275 * malloc/mtrace.c (mtrace): Likewise.
30276 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
30277 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
30278 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
30279 * sysdeps/posix/tempname.c: Likewise. Evaluate
30280 HAVE_SECURE_GETENV.
30281 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
30282 __secure_getenv to __libc_secure_getenv.
30283 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
30284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30285 Likewise.
30286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30287 Likewise.
30288 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30289 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30290 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30291 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30292 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30293 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30294 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30295
30296 2012-07-25 Joseph Myers <joseph@codesourcery.com>
30297
30298 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
30299 (struct La_i86_retval): Likewise.
30300 (struct La_x86_64_regs): Likewise.
30301 (struct La_x86_64_retval): Likewise.
30302 (struct La_x32_regs): Likewise.
30303 (struct La_x32_retval): Likewise.
30304 (struct La_ppc32_regs): Likewise.
30305 (struct La_ppc32_retval): Likewise.
30306 (struct La_ppc64_regs): Likewise.
30307 (struct La_ppc64_retval): Likewise.
30308 (struct La_sh_regs): Likewise.
30309 (struct La_sh_retval): Likewise.
30310 (struct La_s390_32_regs): Likewise.
30311 (struct La_s390_32_retval): Likewise.
30312 (struct La_s390_64_regs): Likewise.
30313 (struct La_s390_64_retval): Likewise.
30314 (struct La_sparc32_regs): Likewise.
30315 (struct La_sparc32_retval): Likewise.
30316 (struct La_sparc64_regs): Likewise.
30317 (struct La_sparc64_retval): Likewise.
30318 (struct audit_ifaces): Remove architecture-specific pltenter and
30319 pltexit members.
30320 * sysdeps/i386/ldsodefs.h: New file.
30321 * sysdeps/powerpc/ldsodefs.h: Likewise.
30322 * sysdeps/s390/ldsodefs.h: Likewise.
30323 * sysdeps/sh/ldsodefs.h: Likewise.
30324 * sysdeps/sparc/ldsodefs.h: Likewise.
30325 * sysdeps/x86_64/ldsodefs.h: Likewise.
30326
30327 2012-07-25 Marek Polacek <polacek@redhat.com>
30328
30329 [BZ #6808]
30330 * math/libm-test.inc (yn_test): Add another test.
30331 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
30332 to ERANGE when the result is +-Inf.
30333 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
30334 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
30335 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
30336 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
30337
30338 2012-07-24 Joseph Myers <joseph@codesourcery.com>
30339
30340 * conform/data/time.h-data (NULL): Use macro-constant. Require
30341 equal to 0.
30342 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
30343 clock_t.
30344 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
30345
30346 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
30347
30348 * configure.in <sysdeps resolving>: Correct printing
30349 Implies_before.
30350 * configure: Regenerate.
30351
30352 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
30353
30354 * math/w_ilogb.c: Include <limits.h>.
30355 * math/w_ilogbl.c: Likewise.
30356
30357 2012-07-20 Joseph Myers <joseph@codesourcery.com>
30358
30359 * manual/lang.texi (__va_copy): Document primarily as ISO C99
30360 va_copy. Document allowing for unavailable va_copy only as
30361 pre-C99 compatibility.
30362 * manual/string.texi (Copying and Concatenation): Use va_copy
30363 instead of __va_copy in concat example.
30364
30365 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
30366
30367 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
30368 (__sendto): Use create_address_port. Initialize APORT and deallocate
30369 it if not null.
30370
30371 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
30372 with O_NOLINK passed to __file_name_lookup.
30373
30374 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
30375 with O_NOLINK passed to __file_name_lookup.
30376
30377 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
30378 negative N or less than NGIDS.
30379
30380 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
30381 type to string_t. Set ERANGE as errno and return it if NAME is not big
30382 enough. Use memcpy instead of strncpy.
30383
30384 2012-07-20 Joseph Myers <joseph@codesourcery.com>
30385
30386 * elf/Makefile (check-data): Remove.
30387 (localplt.data): New vpath directive.
30388 ($(objpfx)check-localplt.out): Use localplt.data from vpath
30389 instead of $(check-data).
30390 * scripts/data/localplt-generic.data: Move to ...
30391 * sysdeps/generic/localplt.data: ... here.
30392 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
30393 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
30394 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
30395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30396 ... here.
30397 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
30398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30399 ... here.
30400 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
30401 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
30402 ... here.
30403 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
30404 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
30405 ... here.
30406 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
30407 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
30408 ... here.
30409 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
30410 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
30411 ... here.
30412
30413 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30414
30415 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
30416 PPC32 and PPC64 files.
30417 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
30418 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
30419
30420 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30421
30422 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
30423 __makecontext_ret to ...
30424 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
30425 ... here and call exit if uc_link is NULL. New file.
30426 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
30427 __makecontext_ret.S.
30428 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
30429 __makecontext_ret to ...
30430 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
30431 ... here and call exit if uc_link is NULL. New file.
30432 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
30433 __makecontext_ret.S.
30434
30435 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30436
30437 * elf/elf.h (R_390_IRELATIVE): New definition.
30438 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
30439 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
30440 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
30441 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30442 (elf_machine_lazy_rel): Likewise.
30443 * sysdeps/s390/dl-irel.h: New file.
30444 * sysdeps/s390/s390-64/memcpy.S: New asm code.
30445 * sysdeps/s390/s390-64/memset.S: New asm code.
30446 * sysdeps/s390/s390-64/memcmp.S: New asm code.
30447 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
30448 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
30449 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
30450 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
30451 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
30452 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
30453 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
30454 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
30455 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
30456 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
30457 * sysdeps/s390/s390-32/memcpy.S: New asm code.
30458 * sysdeps/s390/s390-32/memset.S: New asm code.
30459 * sysdeps/s390/s390-32/memcmp.S: New asm code.
30460
30461 2012-07-17 Marek Polacek <polacek@redhat.com>
30462
30463 [BZ #14349]
30464 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
30465 * sysdeps/s390/s390-64/configure.in: Likewise.
30466 * sysdeps/sparc/configure.in: Likewise.
30467 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
30468 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
30469 * sysdeps/i386/configure.in: Likewise.
30470 * sysdeps/x86_64/configure.in: Likewise.
30471 * sysdeps/sh/configure.in: Likewise.
30472 * sysdeps/s390/s390-32/configure: Regenerated.
30473 * sysdeps/s390/s390-64/configure: Likewise.
30474 * sysdeps/x86_64/configure: Likewise.
30475 * sysdeps/sh/configure: Likewise.
30476 * sysdeps/powerpc/powerpc64/configure: Likewise.
30477 * sysdeps/powerpc/powerpc32/configure: Likewise.
30478 * sysdeps/sparc/configure: Likwise.
30479 * sysdeps/i386/configure: Likewise.
30480
30481 * elf/dl-open.c: Comment fixes.
30482
30483 2012-07-17 Joseph Myers <joseph@codesourcery.com>
30484
30485 * Makefile [CXX] (check-data): Remove.
30486 [CXX] (c++-types.data): New vpath directive.
30487 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
30488 vpath. Do not allow for C++ type data being missing.
30489 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
30490 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
30491 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
30492 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
30493 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
30494 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
30495 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
30496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30497 ... here.
30498 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
30499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30500 ... here.
30501 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
30502 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
30503 ... here.
30504 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
30505 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
30506 ... here.
30507 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
30508 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
30509 ... here.
30510 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
30511 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
30512 ... here.
30513 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
30514 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
30515 ... here.
30516 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
30517 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
30518
30519 * elf/tls-macros.h (TLS_LE): Move architecture-specific
30520 definitions to architecture-specific files.
30521 (TLS_IE): Likewise.
30522 (TLS_LD): Likewise.
30523 (TLS_GD): Likewise.
30524 * sysdeps/i386/tls-macros.h: New file.
30525 * sysdeps/powerpc/tls-macros.h: Likewise.
30526 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
30527 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
30528 * sysdeps/sh/tls-macros.h: Likewise.
30529 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
30530 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
30531 * sysdeps/x86_64/tls-macros.h: Likewise.
30532
30533 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
30534
30535 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
30536 zero value for regular exit case.
30537
30538 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
30539 (__start_context): Preserve zero value for regular exit case.
30540
30541 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
30542 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30543
30544 * manual/setjmp.texi (setcontext): Clarify normal process
30545 termination when uc_link is the null pointer.
30546 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
30547 exit call.
30548
30549 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
30550
30551 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
30552 preprocessor. Test for each exception mask separately.
30553
30554 2012-07-16 Andreas Jaeger <aj@suse.de>
30555
30556 * po/ru.po: Update from translation team.
30557
30558 2012-07-15 Joseph Myers <joseph@codesourcery.com>
30559
30560 * conform/data/string.h-data (NULL): Use macro-constant. Require
30561 equal to 0.
30562 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30563 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30564 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
30565 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
30566 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30567
30568 2012-07-13 Andreas Jaeger <aj@suse.de>
30569
30570 * po/fr.po: Update from translation team.
30571
30572 2012-07-12 Marek Polacek <polacek@redhat.com>
30573
30574 [BZ #14173]
30575 * math/libm-test.inc (yn_test): Add test for BZ #14173.
30576 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
30577 loop condition.
30578
30579 2012-07-12 Joseph Myers <joseph@codesourcery.com>
30580
30581 [BZ #13717]
30582 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30583 Change to 2.4.1 where previously 2.4.0.
30584 * sysdeps/unix/sysv/linux/configure: Regenerated.
30585 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
30586 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
30587 version.
30588 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
30589 (__ASSUME_AT_CLKTCK): Remove.
30590 (__ASSUME_AT_PAGESIZE): Likewise.
30591 (__ASSUME_AT_XID): Likewise.
30592 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
30593 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
30594 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
30595 unconditionally.
30596 (HAVE_AUX_PAGESIZE): Likewise.
30597 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
30598 [__ASSUME_AT_CLKTCK]: Make code unconditional.
30599 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
30600
30601 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
30602
30603 [BZ #14307]
30604 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
30605 the temporary buffer used to invoke __gethostbyname2_r,
30606 __gethostbyaddr_r and gethostbyname4_r to make room for struct
30607 host_data / struct gaih_addrtuple.
30608 * resolv/nss_dns/dns-host.c (global scope): Move definition of
30609 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
30610 header file nss/nsswitch.h.
30611 * nss/nsswitch.h (global scope): Add definition of implementation
30612 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
30613 resolv/nss_dns/dns-host.c).
30614
30615 2012-07-11 Andreas Jaeger <aj@suse.de>
30616
30617 * po/fr.po: Update from translation team.
30618
30619 * po/sv.po: Update from translation team
30620 * po/fr.po: Another update from translation team.
30621
30622 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30623
30624 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
30625 for subnormals or multiply small sinh result by itself.
30626 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30627 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30628
30629 2012-07-11 David S. Miller <davem@davemloft.net>
30630
30631 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30632
30633 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
30634
30635 [BZ #14347]
30636 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
30637 (INTERNAL_MARK): Shift it here.
30638
30639 2012-07-10 Marek Polacek <polacek@redhat.com>
30640
30641 [BZ #14151]
30642 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
30643 libc_cv_asm_global_directive with .globl.
30644 * configure: Regenerated.
30645 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
30646 with .globl.
30647 * sysdeps/i386/configure: Regenerated.
30648 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
30649 with .globl.
30650 * sysdeps/x86_64/configure: Regenerated.
30651 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
30652 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
30653 * elf/tst-unique2mod2.c: Likewise.
30654 * elf/tst-unique2mod1.c: Likewise.
30655 * elf/tst-unique1mod2.c: Likewise.
30656 * elf/tst-unique1mod1.c: Likewise.
30657 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30658 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30659 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30660 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30661 * sysdeps/mach/sysdep.h: Likewise.
30662 * sysdeps/i386/sysdep.h: Likewise.
30663 * sysdeps/i386/i386-mcount.S: Likewise.
30664 * sysdeps/x86_64/_mcount.S: Likewise.
30665 * sysdeps/x86_64/sysdep.h: Likewise.
30666 * sysdeps/sh/_mcount.S: Likewise.
30667 * sysdeps/sh/sysdep.h: Likewise.
30668 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
30669 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
30670 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
30671 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30672 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
30673 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
30674 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
30675 * locale/localeinfo.h: Likewise.
30676 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
30677 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
30678
30679 2012-07-09 Roland McGrath <roland@hack.frob.com>
30680
30681 [BZ #14336]
30682 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
30683 system".
30684 * manual/message.texi (The Uniforum approach): Likewise.
30685 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
30686 (glibc iconv Implementation): Likewise.
30687
30688 2012-07-09 Joseph Myers <joseph@codesourcery.com>
30689
30690 [BZ #14337]
30691 * math/s_clog.c (__clog): Avoid scaling a value down where that
30692 could result in underflow.
30693 * math/s_clog10.c (__clog10): Likewise.
30694 * math/s_clog10f.c (__clog10f): Likewise.
30695 * math/s_clog10l.c (__clog10l): Likewise.
30696 * math/s_clogf.c (__clogf): Likewise.
30697 * math/s_clogl.c (__clogl): Likewise.
30698 * math/libm-test.inc (clog_test): Add more tests.
30699 (clog10_test): Likewise.
30700 * sysdeps/i386/fpu/libm-test-ulps: Update.
30701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30702
30703 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
30704
30705 [BZ #14283]
30706 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
30707 by 7 not 8 to examine high bit of fractional part.
30708
30709 [BZ #14042]
30710 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
30711 for call to __mcount_internal.
30712 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
30713 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
30714 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
30715
30716 2012-07-06 Joseph Myers <joseph@codesourcery.com>
30717
30718 [BZ #14154]
30719 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
30720 approximation for values within 0x1p-13f of an odd multiple of
30721 pi/4.
30722 * math/libm-test.inc (tan_test): Do not allow spurious underflow
30723 exception. Add more tests.
30724 * sysdeps/i386/fpu/libm-test-ulps: Update.
30725
30726 [BZ #6778]
30727 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
30728 inputs and return -1 for them. Do not check for +Inf in case not
30729 reachable for +Inf.
30730 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
30731 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
30732 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30733 and return -1 for them. Do not check for +Inf in case not
30734 reachable for +Inf.
30735 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
30736 define.
30737 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30738 and return -1 for them. Do not check for +Inf in case not
30739 reachable for +Inf.
30740 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
30741 spurious underflow.
30742 * sysdeps/i386/fpu/libm-test-ulps: Update.
30743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30744
30745 2012-07-06 Mike Frysinger <vapier@gentoo.org>
30746
30747 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
30748
30749 2012-07-05 Joseph Myers <joseph@codesourcery.com>
30750
30751 [BZ #14157]
30752 [BZ #14331]
30753 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
30754 could result in spurious underflow. Scale down values above
30755 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
30756 * math/s_csqrtf.c (__csqrtf): Likewise.
30757 * math/s_csqrtl.c (__csqrtl): Likewise.
30758 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
30759 spurious underflow.
30760 * sysdeps/i386/fpu/libm-test-ulps: Update.
30761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30762
30763 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
30764
30765 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
30766 xopen-msg.sed.
30767 * catgets/xopen-msg.awk: New file.
30768 * catgets/xopen-msg.sed: Removed.
30769
30770 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
30771 po2text.sed.
30772 * intl/po2test.awk: New file.
30773 * intl/po2test.sed: Removed.
30774
30775 2012-07-04 Joseph Myers <joseph@codesourcery.com>
30776
30777 [BZ #14328]
30778 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
30779 or multiply small sinh result by itself.
30780 * math/s_ctanf.c (__ctanf): Likewise.
30781 * math/s_ctanh.c (__ctanh): Likewise.
30782 * math/s_ctanhf.c (__ctanhf): Likewise.
30783 * math/s_ctanhl.c (__ctanhl): Likewise.
30784 * math/s_ctanl.c (__ctanl): Likewise.
30785 * math/libm-test.inc (ctan_test_tonearest): New function.
30786 (ctan_test_towardzero): Likewise.
30787 (ctan_test_downward): Likewise.
30788 (ctan_test_upward): Likewise.
30789 (ctanh_test_tonearest): Likewise.
30790 (ctanh_test_towardzero): Likewise.
30791 (ctanh_test_downward): Likewise.
30792 (ctanh_test_upward): Likewise.
30793 (main): Call these new functions.
30794 * sysdeps/i386/fpu/libm-test-ulps: Update.
30795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30796
30797 2012-07-03 Mike Frysinger <vapier@gentoo.org>
30798
30799 * .gitignore: Delete /ports entry.
30800
30801 2012-07-03 Andreas Jaeger <aj@suse.de>
30802
30803 * po/bg.po: Update from translation team.
30804 * po/cs.po: Likewise.
30805 * po/de.po: Likewise.
30806 * po/hr.po: Likewise.
30807 * po/nl.pl: Likewise.
30808 * po/pl.po: Likewise.
30809 * po/vi.po: Likewise.
30810
30811 2012-07-03 Joseph Myers <joseph@codesourcery.com>
30812
30813 * Makeconfig [!+link] (+link-before-libc): New variable.
30814 [!+link] (+link-after-libc): Likewise.
30815 [!+link] (+link-tests): Likewise.
30816 [!+link] (+link): Define in terms of $(+link-before-libc) and
30817 $(+link-after-libc).
30818 [!+link-static] (+link-static-before-libc): New variable.
30819 [!+link-static] (+link-static-after-libc): Likewise.
30820 [!+link-static] (+link-static-tests): Likewise.
30821 [!+link-static] (+link-static): Define in terms of
30822 $(+link-static-before-libc) and $(+link-static-after-libc).
30823 [build-shared] (link-libc-before-gnulib): New variable.
30824 [build-shared] (link-libc-tests): Likewise.
30825 [build-shared] (link-libc): Define in terms of
30826 $(link-libc-before-gnulib).
30827 [!build-shared] (link-libc-tests): New variable.
30828 (link-libc-static-tests): New variable.
30829 [!gnulib] (gnulib-arch): New variable.
30830 [!gnulib] (gnulib-tests): Likewise.
30831 [!gnulib] (static-gnulib-arch): Likewise.
30832 [!gnulib] (static-gnulib-tests): Likewise.
30833 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
30834 Define with "=" instead of ":=".
30835 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
30836 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
30837 * Rules (binaries-all-notests): New variable.
30838 (binaries-all-tests): Likewise.
30839 (binaries-static-notests): Likewise.
30840 (binaries-static-tests): Likewise.
30841 (binaries-all): Define using $(binaries-all-notests) and
30842 $(binaries-all-tests).
30843 (binaries-static): Define using $(binaries-static-notests) and
30844 $(binaries-static-tests).
30845 (binaries-shared-tests): New variable.
30846 (binaries-shared-notests): Likewise.
30847 (binaries-shared): Remove variable.
30848 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
30849 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
30850 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
30851 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
30852 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
30853 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
30854 * elf/Makefile (sln-modules): New variable.
30855 (extra-objs): Add $(sln-modules:=.o).
30856 (ldconfig-modules): Add static-stubs.
30857 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
30858 * elf/static-stubs.c: New file.
30859
30860 [BZ #14283]
30861 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
30862 by 7 not 8 to examine high bit of fractional part. Use volatile
30863 variables when splitting into final array of floats if
30864 __FLT_EVAL_METHOD__ != 0.
30865 * math/libm-test.inc (cos_test): Add another test.
30866 (sin_test): Likewise.
30867 * sysdeps/i386/fpu/libm-test-ulps: Update.
30868
30869 [BZ #14273]
30870 * math/libm-test.inc (cosh_test): Add more tests.
30871
30872 * version.h (RELEASE): Set to "development".
30873 (VERSION): Set to "2.16.90".
30874
30875 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
30876
30877 * NEWS: Update copyright. Remove last-updated date.
30878 Mention math library bug fixes and timezone data changes.
30879 * README: Mention GNU/Hurd, x32, and HPPA support status.
30880
30881 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
30882
30883 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
30884
30885 2012-06-27 Andreas Jaeger <aj@suse.de>
30886
30887 * manual/contrib.texi (Contributors): Add Samuel Thibault.
30888
30889 2012-06-25 Andreas Jaeger <aj@suse.de>
30890
30891 * sysdeps/s390/fpu/libm-test-ulps: Update.
30892
30893 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
30894 Thomas Schwinge <thomas@codesourcery.com>
30895
30896 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
30897 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
30898 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
30899 fanotify_mark.
30900
30901 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
30902
30903 * sysdeps/mach/start.c: Remove file.
30904 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
30905 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
30906 * sysdeps/sh/init-first.c: Likewise.
30907
30908 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
30909 registers for frame unwinding purposes, add CFI directives.
30910 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30911 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
30912 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
30913 Likewise.
30914
30915 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
30916 __fortify_fail returning.
30917 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30918
30919 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
30920 sysdeps/sh/____longjmp_chk.S.
30921 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
30922 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
30923 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
30924 (gen-as-const-headers): Append sigaltstack-offsets.sym.
30925
30926 * sysdeps/sh/abort-instr.h: New file.
30927 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
30928 process in case exit returns.
30929
30930 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
30931 initialize the GOT register before use.
30932
30933 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
30934 calculation of ARGC > 4.
30935
30936 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
30937 meaningful names to some local labels.
30938
30939 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30940 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30941
30942 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
30943 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
30944 (__arch_compare_and_exchange_val_16_acq): Likewise.
30945 (__arch_compare_and_exchange_val_32_acq): Likewise.
30946 (atomic_exchange_and_add): Fix gUSA sequence.
30947 (atomic_add): Likewise.
30948 (atomic_add_negative): Likewise.
30949 (atomic_add_zero): Likewise.
30950 (atomic_bit_test_set): Likewise.
30951
30952 2012-06-22 Andreas Schwab <schwab@redhat.com>
30953
30954 [BZ #13579]
30955 * include/link.h (struct link_map): Add l_free_initfini.
30956 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
30957 l_initfini.
30958 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
30959 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
30960 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
30961 set.
30962
30963 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
30964
30965 * configure.in: Use AC_LANG_SOURCE.
30966 * configure: Regenerate.
30967
30968 2012-06-22 Roland McGrath <roland@hack.frob.com>
30969
30970 * configure.in (libc_cv_localstatedir): New substituted variable.
30971 * configure: Regenerated.
30972 * config.make.in (localstatedir): New variable, substituted from
30973 libc_cv_localstatedir.
30974 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
30975 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
30976 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
30977 * sysdeps/gnu/configure: Regenerated.
30978
30979 2012-06-21 Jeff Law <law@redhat.com>
30980
30981 [BZ #14277]
30982 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
30983 free. Simplify list management for _LIBC case.
30984
30985 2012-06-21 Joseph Myers <joseph@codesourcery.com>
30986
30987 [BZ #14273]
30988 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
30989 Clear sign bit of 64-bit integer value before comparing against
30990 overflow value.
30991
30992 * sysdeps/mach/configure: Regenerated.
30993
30994 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
30995
30996 [BZ #14278]
30997 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
30998
30999 2012-06-21 Jeff Law <law@redhat.com>
31000
31001 [BZ #13882]
31002 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
31003 uint16_t for elements in the "seen" array to avoid char overflows.
31004 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31005 * elf/dl-open.c (dl_open_worker): Likewise.
31006
31007 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
31008
31009 * scripts/list-sources.sh: Scan PORTS for translations.
31010 * po/libc.pot: Regenerated.
31011
31012 2012-06-21 Andreas Jaeger <aj@suse.de>
31013
31014 [BZ #12194]
31015 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
31016 warning.
31017 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
31018 * bits/byteswap-16.h (__bswap_16): Likewise.
31019 * bits/byteswap.h (__bswap_constant_16): Likewise.
31020
31021 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
31022
31023 [BZ #14117]
31024 * sysdeps/i386/fpu_control.h: Removed.
31025 * sysdeps/x86_64/fpu_control.h: Moved to ...
31026 * sysdeps/x86/fpu_control.h: Here.
31027
31028 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
31029 (_FPU_SETCW): Likewise.
31030
31031 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
31032
31033 [BZ #14117]
31034 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
31035 * sysdeps/x86/fpu/bits/mathinline.h: This.
31036 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
31037
31038 [BZ #14050]
31039 [BZ #14117]
31040 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
31041 functions if __x86_64__ is defined.
31042
31043 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
31044
31045 * string/endian.h: Add !__ASSEMBLER__ condition for including
31046 conversion interfaces.
31047
31048 2012-06-15 Joseph Myers <joseph@codesourcery.com>
31049
31050 [BZ #14241]
31051 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
31052 of ABS(x) in calculating zero to negative powers other than odd
31053 integers.
31054 * math/libm-test.inc (pow_test): Add more tests.
31055
31056 2012-06-15 Andreas Jaeger <aj@suse.de>
31057
31058 * manual/contrib.texi (Contributors): Update entry of Liubov
31059 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
31060 Machado Filho.
31061
31062 2012-06-15 Cyril Hrubis <metan@ucw.cz>
31063
31064 * string/string.h: Add __wur to GNU version of strerror_r.
31065
31066 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
31067
31068 [BZ #14229]
31069 * string/Makefile (tests): Add tst-strtok_r.
31070 * string/tst-strtok_r.c: New file.
31071 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
31072 RAX_LP/RDX_LP on SAVE_PTR.
31073
31074 2012-06-14 Roland McGrath <roland@hack.frob.com>
31075
31076 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
31077
31078 2012-06-14 Joseph Myers <joseph@codesourcery.com>
31079
31080 * libm_test.inc (csqrt_test): Allow more spurious underflow
31081 exceptions.
31082 (j0_test): Likewise.
31083 (j1_test): Likewise.
31084 (y0_test): Likewise.
31085 (y1_test): Likewise.
31086
31087 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
31088
31089 * po/Makefile (libc.pot): Use UTF-8 charset.
31090
31091 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
31092
31093 [BZ #14210]
31094 Suppress sign-conversion warning from FD_SET.
31095 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
31096 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
31097 not unsigned long int.
31098 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
31099
31100 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
31101
31102 [BZ #14050]
31103 [BZ #14117]
31104 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
31105 __extern_always_inline instead of __extern_inline.
31106 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
31107 (__signbit): Likewise.
31108 (__signbitl): Support C++ namespace.
31109 (lrintf): New inline function.
31110 (lrint): Likewise.
31111 (llrintf): Likewise.
31112 (llrint): Likewise.
31113 (fmaxf): Likewise.
31114 (fmax): Likewise.
31115 (fminf): Likewise.
31116 (fmin): Likewise.
31117 (rint): Likewise.
31118 (rintf): Likewise.
31119 (ceil): Likewise.
31120 (ceilf): Likewise.
31121 (floor): Likewise.
31122 (floorf): Likewise.
31123 (nearbyint): Likewise.
31124 (nearbyintf): Likewise.
31125
31126 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
31127
31128 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
31129 non-default versions.
31130
31131 2012-06-11 Roland McGrath <roland@hack.frob.com>
31132
31133 [BZ #14218]
31134 * manual/argp.texi (Argp): Reword argp_parse description slightly.
31135
31136 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
31137
31138 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
31139 (FE_UPWARD, FE_DOWNWARD): Don't define.
31140 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
31141 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31142
31143 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
31144 reading it.
31145 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31146 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31147
31148 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31149
31150 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31151 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
31152 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
31153 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
31154
31155 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
31156
31157 [BZ #14117]
31158 * sysdeps/i386/fpu/bits/fenv.h: Removed.
31159 * sysdeps/i386/fpu/Implies: New file.
31160 * sysdeps/x86_64/fpu/Implies: Likewise.
31161 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
31162 * sysdeps/x86/fpu/bits/fenv.h: This.
31163
31164 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
31165 __SSE_MATH__.
31166
31167 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
31168
31169 [BZ #14134]
31170 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
31171 character 0xffff that matches the last element of the
31172 conversion table.
31173
31174 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31175
31176 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
31177 fmodl commit.
31178
31179 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31180
31181 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
31182 values higher than 25.6283.
31183
31184 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31185
31186 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
31187 subnormal exponent extraction and add some __builtin_expect.
31188 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
31189 Fix for subnormal mantissa calculation.
31190
31191 2012-06-04 Mike Frysinger <vapier@gentoo.org>
31192
31193 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
31194 cpu2 is -1 and errno is not ENOSYS.
31195
31196 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
31197
31198 [BZ #14117]
31199 * sysdeps/i386/i486/bits/string.h: Renamed to ...
31200 * sysdeps/x86/bits/string.h: This.
31201 * sysdeps/x86_64/bits/string.h: Removed.
31202
31203 * sysdeps/i386/i486/bits/string.h: Define inline functions only
31204 if not compiling for x86-64, but compiling for >= i486.
31205
31206 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
31207 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
31208
31209 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
31210 New macro from Linux kernel 3.4.0.
31211 (FP_XSTATE_MAGIC2): Likewise.
31212 (FP_XSTATE_MAGIC2_SIZE): Likewise.
31213 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
31214 (struct _fpx_sw_bytes): New struct.
31215 (struct _xsave_hdr): Likewise.
31216 (struct _ymmh_state): Likewise.
31217 (struct _xstate): Likewise.
31218
31219 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
31220 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
31221 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
31222 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
31223 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
31224 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
31225
31226 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
31227 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
31228 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
31229 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
31230 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
31231 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
31232
31233 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31234
31235 [BZ #13743]
31236 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
31237 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
31238 (sysdep_headers): Include sys/platform/ppc.h.
31239 * sysdeps/powerpc/test-gettimebase.c: Test for
31240 __ppc_get_timebase() to catch future ISA opcode/insn changes.
31241 * manual/Makefile (appendices): Include platform.texi.
31242 * manual/contrib.texi (Contributors): Update @node pointers.
31243 * manual/maint.texi (Maintenance): Likewise.
31244 (Platform): New node.
31245 * manual/platform.texi: New file. Document the new features.
31246
31247 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31248 Jakub Jelinek <jakub@redhat.com>
31249
31250 [BZ #14188]
31251 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
31252 where __builtin_expect is unavailable.
31253
31254 2012-06-03 David S. Miller <davem@davemloft.net>
31255
31256 * stdlib/longlong.h: Updated from GCC.
31257
31258 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
31259
31260 [BZ #14042]
31261 * sysdeps/powerpc/powerpc32/mcount.c: New file.
31262 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
31263 __mcount_internal.
31264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31265 (GLIBC_2.16): Likewise.
31266
31267 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31268
31269 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
31270
31271 2012-06-01 Joseph Myers <joseph@codesourcery.com>
31272
31273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
31274 (default-abi): New variable.
31275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
31276 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
31277 variable.
31278 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
31279 Likewise.
31280 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
31281 Likewise.
31282 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
31283 Likewise.
31284
31285 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
31286 definition. Document in comment.
31287
31288 2012-06-01 David S. Miller <davem@davemloft.net>
31289
31290 * stdlib/longlong.h: Updated from GCC.
31291
31292 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31293
31294 [BZ #14117]
31295 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
31296 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
31297 sys/debugreg.h sys/io.h here.
31298 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
31299 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
31300 sys/io.h.
31301 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
31302 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
31303 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
31304 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
31305 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
31306 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
31307
31308 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
31309 Define only if __x86_64__ is defined.
31310
31311 2012-06-01 Joseph Myers <joseph@codesourcery.com>
31312
31313 [BZ #14048]
31314 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
31315 Use int64_t for variable i.
31316 * math/libm-test.inc (fmod_test): Add more tests.
31317
31318 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
31319 z computation is not scheduled after fetestexcept.
31320 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
31321 Use math_force_eval instead of asm to ensure calculation scheduled
31322 before exception test.
31323 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
31324 Ensure a1 + u.d computation is not scheduled after fetestexcept.
31325
31326 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
31327
31328 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
31329 computation is not scheduled after fetestexcept.
31330
31331 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31332
31333 [BZ #14117]
31334 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
31335 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
31336
31337 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31338
31339 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
31340 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
31341
31342 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
31343
31344 [BZ #14117]
31345 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
31346 <bits/wordsize.h>.
31347 (__WCHAR_MIN): Support __WORDSIZE == 64.
31348 (__WCHAR_MAX): Likewise.
31349
31350 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
31351 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
31352
31353 [BZ #14183]
31354 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
31355 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
31356
31357 [BZ #14117]
31358 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
31359 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
31360
31361 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
31362 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
31363
31364 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
31365 Defined to 1 if __x86_64__ isn't defined.
31366 (_STAT_VER_LINUX_OLD): New.
31367 (st_atime): Remove duplicate.
31368 (st_mtime): Likewise.
31369 (st_ctime): Likewise.
31370
31371 2012-05-31 David S. Miller <davem@davemloft.net>
31372
31373 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
31374 entries.
31375
31376 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
31377
31378 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
31379 gen-libm-test.pl.
31380
31381 [BZ #14132]
31382 * elf/dl-reloc.c: Include <_itoa.h>.
31383 (_dl_reloc_bad_type): Remove use of INTUSE.
31384 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
31385 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
31386 * stdio-common/psiginfo.c (psiginfo): Likewise.
31387 * stdio-common/psignal.c (psignal): Likewise.
31388 * string/strsignal.c (strsignal): Likewise.
31389 * include/signal.h (_sys_siglist): Declare hidden proto.
31390 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
31391 INTVARDEF with libc_hidden_data_def.
31392 * stdio-common/itoa-udigits.c: Likewise.
31393 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
31394 (_itoa_lower_digits_internal): Remove declaration.
31395 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
31396 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
31397 (_sys_sigabbrev_internal): Remove aliases.
31398 (_sys_siglist): Define hidden alias.
31399
31400 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
31401
31402 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31403 bits/sysctl.h.
31404
31405 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
31406
31407 [BZ #14117]
31408 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
31409 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
31410
31411 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
31412 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
31413 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
31414 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
31415 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
31416 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
31417
31418 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
31419 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
31420 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
31421
31422 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
31423 with __addr.
31424 (insw): Likewise.
31425 (insl): Likewise.
31426 (outsb): Likewise.
31427 (outsw): Likewise.
31428 (outsl): Likewise.
31429
31430 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
31431 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
31432 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
31433
31434 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
31435 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
31436 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
31437 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
31438 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
31439 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
31440
31441 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
31442 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
31443
31444 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
31445 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
31446
31447 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
31448 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
31449 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
31450
31451 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
31452 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
31453 to ...
31454 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
31455
31456 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
31457 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
31458 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
31459
31460 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
31461 for x86-64.
31462 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
31463
31464 2012-05-31 Joseph Myers <joseph@codesourcery.com>
31465
31466 * math/math.h (M_El): Use two more decimal places.
31467 (M_LOG2El): Likewise.
31468 (M_LOG10El): Likewise.
31469 (M_LN2l): Likewise.
31470 (M_LN10l): Likewise.
31471 (M_PIl): Likewise.
31472 (M_PI_2l): Likewise.
31473 (M_PI_4l): Likewise.
31474 (M_1_PIl): Likewise.
31475 (M_2_PIl): Likewise.
31476 (M_2_SQRTPIl): Likewise.
31477 (M_SQRT2l): Likewise.
31478 (M_SQRT1_2l): Likewise.
31479
31480 2012-05-31 David S. Miller <davem@davemloft.net>
31481
31482 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
31483 values between float registers.
31484 * sysdeps/sparc/sparc64/memset.S: Likewise.
31485 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31486
31487 2012-05-31 Mike Frysinger <vapier@gentoo.org>
31488
31489 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
31490 -D_FORTIFY_SOURCE=1.
31491 (CPPFLAGS-tst-longjmp_chk.c): Define.
31492 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
31493 (CPPFLAGS-tst-longjmp_chk2.c): Define.
31494 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
31495 CFLAGS-tst-wchar-h.c.
31496
31497 2012-05-31 Marek Polacek <polacek@redhat.com>
31498
31499 [BZ #14132]
31500 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
31501 __endmntent_internal): Remove declaration.
31502 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
31503 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
31504 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
31505
31506 2012-05-30 David S. Miller <davem@davemloft.net>
31507
31508 * sysdeps/sparc/sparc32/soft-fp/q_util.c
31509 (___Q_simulate_exceptions): Use real FP ops rather than writing
31510 into the %fsr.
31511 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
31512 Likewise.
31513
31514 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31515
31516 [BZ #14117]
31517 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
31518 * sysdeps/x86/bits/xtitypes.h: This.
31519
31520 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
31521 * sysdeps/x86/bits/wordsize.h: This.
31522
31523 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
31524 * sysdeps/x86/bits/huge_vall.h: This.
31525
31526 * sysdeps/i386/bits/select.h: Removed.
31527 * sysdeps/x86_64/bits/select.h: Renamed to ...
31528 * sysdeps/x86/bits/select.h: This.
31529
31530 * sysdeps/i386/bits/setjmp.h: Removed.
31531 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
31532 * sysdeps/x86/bits/setjmp.h: This.
31533
31534 * sysdeps/i386/bits/mathdef.h: Removed.
31535 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
31536 * sysdeps/x86/bits/mathdef.h: This.
31537
31538 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
31539
31540 [BZ #14132]
31541 * include/sys/socket.h (__connect_internal)
31542 (__libc_sa_len_internal): Remove declaration.
31543 (__connect, __libc_sa_len): Declare hidden_proto.
31544 (SA_LEN): Remove use of INTUSE.
31545 * socket/connect.c: Add libc_hidden_def.
31546 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
31547 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
31548 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
31549 alias.
31550 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
31551 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
31552 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
31553 of adding _internal alias.
31554
31555 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31556
31557 [BZ #14117]
31558 * sysdeps/i386/bits/link.h: Removed.
31559 * sysdeps/i386/bits/linkmap.h: Likewise.
31560 * sysdeps/x86_64/bits/link.h: Renamed to ...
31561 * sysdeps/x86/bits/link.h: This.
31562 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
31563 * sysdeps/x86/bits/linkmap.h: This.
31564
31565 * sysdeps/i386/bits/endian.h: Removed.
31566 * sysdeps/x86_64/bits/endian.h: Renamed to ...
31567 * sysdeps/x86/bits/endian.h: This.
31568
31569 * sysdeps/i386/bits/byteswap.h: Removed.
31570 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31571 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
31572 * sysdeps/x86/bits/byteswap.h: This.
31573 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
31574 * sysdeps/x86/bits/byteswap-16.h: This.
31575 * sysdeps/i386/Implies: Add x86.
31576 * sysdeps/x86_64/Implies: Likewise.
31577
31578 2012-05-30 David S. Miller <davem@davemloft.net>
31579
31580 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
31581 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
31582 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
31583 (FP_TRAPPING_EXCEPTIONS): Define.
31584 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
31585 (FP_TRAPPING_EXCEPTIONS): Define.
31586 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
31587 subnormals only when inexact has been signalled or underflow
31588 exceptions are enabled.
31589 (_FP_PACK_CANONICAL): Likewise.
31590
31591 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31592
31593 [BZ #14183]
31594 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
31595 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
31596
31597 2012-05-30 Richard Henderson <rth@twiddle.net>
31598
31599 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
31600 with #ifndef NOT_IN_libc.
31601
31602 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
31603 marked to avoid plt entry.
31604
31605 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31606
31607 [BZ #14112]
31608 * Makeconfig (default-abi): New macro.
31609 (abi-includes): Likewise.
31610 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
31611 $(abi-$(default-abi)-lib-soname) for soname if defined.
31612 ($(common-objpfx)gnu/lib-names.stmp): Generate from
31613 abi-variants.
31614 * Makefile (installed-stubs): Likewise.
31615 * include/stubs-biarch.h: Removed.
31616 * scripts/lib-names.awk: Only handle one library at a time.
31617 * scripts/soversions.awk: Remove WORDSIZE support.
31618 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
31619 entries.
31620 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
31621 Removed.
31622 (syscall-list-default-condition): Likewise.
31623 (syscall-list-default-condition): Likewise.
31624 (syscall-list-includes): Likewise.
31625 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
31626 syscall-list-* with abi-*. Handle undefined abi-variants.
31627 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
31628 * sysdeps/unix/sysv/linux/i386/Implies: New file.
31629 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
31630 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
31631 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
31632 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
31633 Removed.
31634 (syscall-list-32-options): Likewise.
31635 (syscall-list-32-condition): Likewise.
31636 (syscall-list-64-options): Likewise.
31637 (syscall-list-64-condition): Likewise.
31638 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
31639 macro.
31640 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
31641 Renamed to ...
31642 (abi-*): This.
31643 (abi-64-ld-soname): New macro.
31644 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
31645 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
31646 Renamed to ...
31647 (abi-*): This.
31648 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
31649 * sysdeps/x86_64/x32/shlib-versions: Likewise.
31650
31651 2012-05-30 Joseph Myers <joseph@codesourcery.com>
31652
31653 * sysdeps/unix/sysv/linux/kernel-features.h
31654 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
31655 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
31656 include <kernel-features.h>.
31657 [!__NR_ftruncate64]: Remove conditional code.
31658 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31659 [__NR_ftruncate64]: Make code unconditional.
31660 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31661 * sysdeps/unix/sysv/linux/truncate64.c: Do not
31662 include <kernel-features.h>.
31663 [!__NR_ftruncate64]: Remove conditional code.
31664 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31665 [__NR_ftruncate64]: Make code unconditional.
31666 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
31668 include <kernel-features.h>.
31669 [!__NR_ftruncate64]: Remove conditional code.
31670 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31671 [__NR_ftruncate64]: Make code unconditional.
31672 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31674 include <kernel-features.h>.
31675 [!__NR_ftruncate64]: Remove conditional code.
31676 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31677 [__NR_ftruncate64]: Make code unconditional.
31678 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31679
31680 * configure.in (libc_cv_fpie): Weaken to a compile test using
31681 LIBC_TRY_CC_OPTION.
31682 * configure: Regenerated.
31683
31684 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31685
31686 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
31687 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
31688 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
31689 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31690 Refreshed.
31691 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
31692 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
31693 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
31694 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
31695 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
31696 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31697 Refreshed.
31698
31699 2012-05-27 David S. Miller <davem@davemloft.net>
31700
31701 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
31702 (___Q_zero): New.
31703 (__Q_simulate_exceptions): Return void. Change to simulate
31704 exceptions by writing into the %fsr.
31705 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
31706 (__Qp_handle_exceptions): Likewise.
31707 (numbers): Delete.
31708 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
31709 __Qp_handle_exceptions.
31710 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
31711 __Qp_handle_exceptions.
31712 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31713 as unused and give dummy FP_RND_NEAREST initializer.
31714 (FP_INHIBIT_RESULTS): Define.
31715 (___Q_simulate_exceptions): Update declaration.
31716 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
31717 formatting.
31718 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31719 as unused and give dummy FP_RND_NEAREST initializer.
31720 (__Qp_handle_exceptions): Update declaration.
31721 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
31722 formatting.
31723
31724 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
31725
31726 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
31727 the temporary FPU control word.
31728 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
31729 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
31730 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
31731 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31732 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
31733 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
31734 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
31735 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31736 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
31737 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
31738 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31739
31740 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31741
31742 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
31743 fields.
31744
31745 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
31746
31747 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
31748 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
31749 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
31750 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
31751 Likewise.
31752 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
31753 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
31754 Likewise.
31755
31756 2012-05-27 Ulrich Drepper <drepper@gmail.com>
31757
31758 * po/h.po: Update from translation team.
31759
31760 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
31761
31762 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
31763
31764 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
31765 handling of denormals.
31766 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31767 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
31768 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31769 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31770 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31771 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
31772 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
31773 Likewise.
31774
31775 2012-05-26 Marek Polacek <polacek@redhat.com>
31776
31777 [BZ #14152]
31778 * math/libm-test.inc (fma_test): Don't always expect underflow
31779 exception.
31780
31781 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31782
31783 [BZ #12416]
31784 * elf/tst-execstack.c: Include stackinfo.h.
31785 (do_test): Adjust test case to ensure that pthread_getattr_np
31786 behaviour remains the same after marking stack executable.
31787
31788 2012-05-25 Joseph Myers <joseph@codesourcery.com>
31789
31790 * sysdeps/unix/sysv/linux/kernel-features.h
31791 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
31792 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
31793 kernel-features.h.
31794 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31795 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31796 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
31797 kernel-features.h.
31798 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31799 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31800
31801 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
31802
31803 * configure.in: Define the default includes to being none.
31804 * configure: Regenerated.
31805
31806 2012-05-25 Roland McGrath <roland@hack.frob.com>
31807
31808 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
31809 * sysdeps/x86_64/setjmp.S: Likewise.
31810 * sysdeps/i386/bsd-setjmp.S: Likewise.
31811 * sysdeps/i386/bsd-_setjmp.S: Likewise.
31812 * sysdeps/i386/setjmp.S: Likewise.
31813 * sysdeps/i386/__longjmp.S: Likewise.
31814 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31815 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
31816
31817 * include/stap-probe.h: New file.
31818 * configure.in: Handle --enable-systemtap.
31819 * configure: Regenerated.
31820 * config.h.in (USE_STAP_PROBE): New #undef.
31821 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
31822 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
31823 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
31824
31825 2012-05-25 Joseph Myers <joseph@codesourcery.com>
31826
31827 [BZ #13717]
31828 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31829 to 2.4.0 where earlier.
31830 * sysdeps/unix/sysv/linux/configure: Regenerated.
31831 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31832 <kernel-features.h>.
31833 [__ASSUME_32BITUIDS]: Make code unconditional.
31834 [!__ASSUME_32BITUIDS]: Remove conditional code.
31835 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
31836 <kernel-features.h>.
31837 [__ASSUME_32BITUIDS]: Make code unconditional.
31838 [!__ASSUME_32BITUIDS]: Remove conditional code.
31839 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
31840 [__ASSUME_32BITUIDS]: Make code unconditional.
31841 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
31842 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
31843 <kernel-features.h>.
31844 [__ASSUME_32BITUIDS]: Make code unconditional.
31845 [!__ASSUME_32BITUIDS]: Remove conditional code.
31846 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
31847 <kernel-features.h>.
31848 [__ASSUME_32BITUIDS]: Make code unconditional.
31849 [!__ASSUME_32BITUIDS]: Remove conditional code.
31850 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
31851 <kernel-features.h>.
31852 [__ASSUME_32BITUIDS]: Make code unconditional.
31853 [!__ASSUME_32BITUIDS]: Remove conditional code.
31854 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
31855 <kernel-features.h>.
31856 [__ASSUME_32BITUIDS]: Make code unconditional.
31857 [!__ASSUME_32BITUIDS]: Remove conditional code.
31858 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31859 <kernel-features.h>.
31860 [__ASSUME_32BITUIDS]: Make code unconditional.
31861 [!__ASSUME_32BITUIDS]: Remove conditional code.
31862 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31863 <kernel-features.h>.
31864 [__ASSUME_32BITUIDS]: Make code unconditional.
31865 [!__ASSUME_32BITUIDS]: Remove conditional code.
31866 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
31867 <kernel-features.h>.
31868 [__ASSUME_32BITUIDS]: Make code unconditional.
31869 [!__ASSUME_32BITUIDS]: Remove conditional code.
31870 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31871 <kernel-features.h>.
31872 [__ASSUME_32BITUIDS]: Make code unconditional.
31873 [!__ASSUME_32BITUIDS]: Remove conditional code.
31874 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31875 <kernel-features.h>.
31876 [__ASSUME_32BITUIDS]: Make code unconditional.
31877 [!__ASSUME_32BITUIDS]: Remove conditional code.
31878 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
31879 <kernel-features.h>.
31880 [__ASSUME_32BITUIDS]: Make code unconditional.
31881 [!__ASSUME_32BITUIDS]: Remove conditional code.
31882 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
31883 <kernel-features.h>.
31884 [__NR_setresgid] (__setresgid): Do not declare.
31885 [__ASSUME_32BITUIDS]: Make code unconditional.
31886 [!__ASSUME_32BITUIDS]: Remove conditional code.
31887 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
31888 <kernel-features.h>.
31889 [__NR_setresuid] (__setresuid): Do not declare.
31890 [__ASSUME_32BITUIDS]: Make code unconditional.
31891 [!__ASSUME_32BITUIDS]: Remove conditional code.
31892 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
31893 <kernel-features.h>.
31894 [__ASSUME_32BITUIDS]: Make code unconditional.
31895 [!__ASSUME_32BITUIDS]: Remove conditional code.
31896 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
31897 <kernel-features.h>.
31898 [__ASSUME_32BITUIDS]: Make code unconditional.
31899 [!__ASSUME_32BITUIDS]: Remove conditional code.
31900 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
31901 <kernel-features.h>.
31902 [__ASSUME_32BITUIDS]: Make code unconditional.
31903 [!__ASSUME_32BITUIDS]: Remove conditional code.
31904 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
31905 <kernel-features.h>.
31906 [__ASSUME_32BITUIDS]: Make code unconditional.
31907 [!__ASSUME_32BITUIDS]: Remove conditional code.
31908 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
31909 <kernel-features.h>.
31910 [__ASSUME_32BITUIDS]: Make code unconditional.
31911 [!__ASSUME_32BITUIDS]: Remove conditional code.
31912 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
31913 <kernel-features.h>.
31914 [__ASSUME_32BITUIDS]: Make code unconditional.
31915 [!__ASSUME_32BITUIDS]: Remove conditional code.
31916 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
31917 <kernel-features.h>.
31918 [__ASSUME_32BITUIDS]: Make code unconditional.
31919 [!__ASSUME_32BITUIDS]: Remove conditional code.
31920 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
31921 <kernel-features.h>.
31922 [__ASSUME_32BITUIDS]: Make code unconditional.
31923 [!__ASSUME_32BITUIDS]: Remove conditional code.
31924 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
31925 <kernel-features.h>.
31926 [__ASSUME_32BITUIDS]: Make code unconditional.
31927 [!__ASSUME_32BITUIDS]: Remove conditional code.
31928 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31929 <kernel-features.h>.
31930 [__ASSUME_32BITUIDS]: Make code unconditional.
31931 [!__ASSUME_32BITUIDS]: Remove conditional code.
31932 * sysdeps/unix/sysv/linux/kernel-features.h
31933 (__ASSUME_SETRESUID_SYSCALL): Remove.
31934 (__ASSUME_SETRESGID_SYSCALL): Likewise.
31935 (__ASSUME_32BITUIDS): Likewise.
31936 (__ASSUME_LDT_WORKS): Likewise.
31937 (__ASSUME_O_DIRECTORY): Likewise.
31938 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
31939 architecture but not kernel version.
31940 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
31941 (__ASSUME_MMAP2_SYSCALL): Likewise.
31942 (__ASSUME_STAT64_SYSCALL): Likewise.
31943 (__ASSUME_IPC64): Likewise.
31944 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
31945 <kernel-features.h>.
31946 [__ASSUME_32BITUIDS]: Make code unconditional.
31947 [!__ASSUME_32BITUIDS]: Remove conditional code.
31948 * sysdeps/unix/sysv/linux/opendir.c: Do not include
31949 <kernel-features.h>.
31950 [__ASSUME_O_DIRECTORY]: Make code unconditional.
31951 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
31952 132096]: Remove conditional code.
31953 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
31954 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31955 <kernel-features.h>.
31956 [__ASSUME_32BITUIDS]: Make code unconditional.
31957 [!__ASSUME_32BITUIDS]: Remove conditional code.
31958 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31959 <kernel-features.h>.
31960 [__ASSUME_32BITUIDS]: Make code unconditional.
31961 [!__ASSUME_32BITUIDS]: Remove conditional code.
31962 * sysdeps/unix/sysv/linux/setegid.c: Do not include
31963 <kernel-features.h>.
31964 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
31965 unconditional.
31966 (__setresgid): Do not declare.
31967 [__ASSUME_32BITUIDS]: Make code unconditional.
31968 [!__ASSUME_32BITUIDS]: Remove conditional code.
31969 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
31970 <kernel-features.h>.
31971 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
31972 unconditional.
31973 (__setresuid): Do not declare.
31974 [__ASSUME_32BITUIDS]: Make code unconditional.
31975 [!__ASSUME_32BITUIDS]: Remove conditional code.
31976 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31977 <kernel-features.h>.
31978 [__ASSUME_32BITUIDS]: Make code unconditional.
31979 [!__ASSUME_32BITUIDS]: Remove conditional code.
31980 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
31981 <kernel-features.h>.
31982 [__ASSUME_32BITUIDS]: Make code unconditional.
31983 [!__ASSUME_32BITUIDS]: Remove conditional code.
31984
31985 2012-05-25 Richard Henderson <rth@twiddle.net>
31986
31987 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
31988 dl_hwcap to ifunc resolver.
31989 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
31990 elf_ifunc_invoke.
31991 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
31992 dl_hwcap to ifunc resolver.
31993 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
31994
31995 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31996
31997 [BZ #14153]
31998 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
31999 for |x| <= 2**-26, not 2**-57.
32000 * math/libm-test.inc (acos_test): Do not allow spurious underflow
32001 exception.
32002
32003 2012-05-24 Jeff Law <law@redhat.com>
32004
32005 * stdio-common/Makefile (tests): Add bug25.
32006 * stdio-common/bug25.c: New test.
32007
32008 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32009
32010 [BZ #13576]
32011 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
32012 multiple of MALLOC_ALIGNMENT in size.
32013 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
32014
32015 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32016
32017 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
32018 Require >= 256.
32019 (FILENAME_MAX): Use macro-int-constant.
32020 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
32021 (_IOFBF): Use macro-int-constant.
32022 (_IOLBF): Likewise.
32023 (_IONBF): Likewise.
32024 (SEEK_CUR): Likewise.
32025 (SEEK_END): Likewise.
32026 (SEEK_SET): Likewise.
32027 (TMP_MAX): Likewise.
32028 (EOF): Use macro-int-constant. Require < 0.
32029 (NULL): Use macro-constant. Require == 0.
32030 (stdin): Require type to be FILE *.
32031 (stdout): Likewise.
32032 (stderr): Likewise.
32033 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
32034 macro-int-constant.
32035 (EXIT_SUCCESS): Likewise.
32036 (NULL): Use macro-constant. Require == 0.
32037 (RAND_MAX): Use macro-int-constant.
32038 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
32039 [C99-based standards] (strtof): Require function.
32040 [C99-based standards] (strtold): Likewise.
32041 [C99-based standards] (strtoll): Likewise.
32042 [C99-based standards] (strtoull): Likewise.
32043 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32044 [ISO || ISO99 || ISO11] (limits.h): Likewise.
32045 [ISO || ISO99 || ISO11] (math.h): Likewise.
32046 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
32047 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32048 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32049
32050 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
32051
32052 [BZ #14132]
32053 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
32054 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
32055 * intl/dgettext.c (DCGETTEXT): Likewise.
32056 * intl/gettext.c (DCGETTEXT): Likewise.
32057 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
32058 * posix/regex_internal.h (gettext): Likewise.
32059 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
32060 Remove declaration.
32061 * include/argz.h (__argz_count_internal)
32062 (__argz_stringify_internal): Remove declaration.
32063 (__argz_count, __argz_stringify): Declare hidden proto.
32064 * intl/dcgettext.c: Remove use of INTDEF.
32065 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
32066 * string/argz-stringify.c: Likewise.
32067 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32068 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32069 Declare hidden proto.
32070 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32071 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32072 Declare hidden proto.
32073 * include/stdio.h (__asprintf_internal): Don't declare.
32074 (__asprintf): Don't define as macro. Declare hidden proto.
32075 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
32076 (__fsetlocking): Declare hidden proto.
32077 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
32078 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
32079 hidden proto.
32080 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
32081 (_IO_setlinebuf): Remove use of INTUSE.
32082 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
32083 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
32084 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
32085 Remove declaration.
32086 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
32087 (_IO_do_flush): Remove use of INTUSE.
32088 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
32089 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
32090 (_IO_adjust_column, _IO_least_wmarker)
32091 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
32092 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
32093 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
32094 (_IO_default_doallocate, _IO_wdefault_doallocate)
32095 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
32096 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
32097 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
32098 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
32099 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
32100 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
32101 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
32102 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
32103 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
32104 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
32105 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
32106 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
32107 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
32108 proto.
32109 (_IO_flush_all_internal, _IO_adjust_column_internal)
32110 (_IO_default_uflow_internal, _IO_default_finish_internal)
32111 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
32112 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
32113 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
32114 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
32115 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
32116 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
32117 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
32118 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
32119 (_IO_file_close_internal, _IO_file_close_it_internal)
32120 (_IO_file_underflow_internal, _IO_file_overflow_internal)
32121 (_IO_file_init_internal, _IO_file_attach_internal)
32122 (_IO_file_fopen_internal, _IO_file_read_internal)
32123 (_IO_file_sync_internal, _IO_file_seek_internal)
32124 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
32125 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
32126 (_IO_str_underflow_internal, _IO_str_overflow_internal)
32127 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
32128 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
32129 (_IO_list_all_internal, _IO_link_in_internal)
32130 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
32131 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
32132 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
32133 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
32134 (_IO_do_write_internal, _IO_padn_internal)
32135 (_IO_getline_info_internal, _IO_getline_internal)
32136 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
32137 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
32138 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
32139 (_IO_vfscanf_internal, _IO_vfprintf_internal)
32140 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
32141 (_IO_init_internal, _IO_un_link_internal): Don't declare.
32142 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
32143 with libc_hidden_ver, remove use of INTUSE.
32144 * libio/genops.c: Likewise.
32145 * libio/freopen.c: Likewise.
32146 * libio/freopen64.c: Likewise.
32147 * libio/iofclose.c: Likewise.
32148 * libio/iofdopen.c: Likewise.
32149 * libio/iofflush.c: Likewise.
32150 * libio/iofflush_u.c: Likewise.
32151 * libio/iofgets.c: Likewise.
32152 * libio/iofgets_u.c: Likewise.
32153 * libio/iofopen.c: Likewise.
32154 * libio/iofopncook.c: Likewise.
32155 * libio/iofread.c: Likewise.
32156 * libio/iofread_u.c: Likewise.
32157 * libio/ioftell.c: Likewise.
32158 * libio/iofwrite.c: Likewise.
32159 * libio/iogetline.c: Likewise.
32160 * libio/iogets.c: Likewise.
32161 * libio/iogetwline.c: Likewise.
32162 * libio/iopadn.c: Likewise.
32163 * libio/iopopen.c: Likewise.
32164 * libio/ioseekoff.c: Likewise.
32165 * libio/ioseekpos.c: Likewise.
32166 * libio/iosetbuffer.c: Likewise.
32167 * libio/iosetvbuf.c: Likewise.
32168 * libio/ioungetc.c: Likewise.
32169 * libio/ioungetwc.c: Likewise.
32170 * libio/iovdprintf.c: Likewise.
32171 * libio/iovsprintf.c: Likewise.
32172 * libio/iovsscanf.c: Likewise.
32173 * libio/memstream.c: Likewise.
32174 * libio/obprintf.c: Likewise.
32175 * libio/oldfileops.c: Likewise.
32176 * libio/oldiofclose.c: Likewise.
32177 * libio/oldiofdopen.c: Likewise.
32178 * libio/oldiofopen.c: Likewise.
32179 * libio/oldiopopen.c: Likewise.
32180 * libio/oldstdfiles.c: Likewise.
32181 * libio/putc.c: Likewise.
32182 * libio/setbuf.c: Likewise.
32183 * libio/setlinebuf.c: Likewise.
32184 * libio/stdfiles.c: Likewise.
32185 * libio/strops.c: Likewise.
32186 * libio/vasprintf.c: Likewise.
32187 * libio/vscanf.c: Likewise.
32188 * libio/vsnprintf.c: Likewise.
32189 * libio/vswprintf.c: Likewise.
32190 * libio/wfiledoalloc.c: Likewise.
32191 * libio/wfileops.c: Likewise.
32192 * libio/wgenops.c: Likewise.
32193 * libio/wmemstream.c: Likewise.
32194 * libio/wstrops.c: Likewise.
32195 * libio/__fpurge.c: Likewise.
32196 * libio/__fsetlocking.c: Likewise.
32197 * assert/assert.c: Likewise.
32198 * debug/fgets_chk.c: Likewise.
32199 * debug/fgets_u_chk.c: Likewise.
32200 * debug/fread_chk.c: Likewise.
32201 * debug/fread_u_chk.c: Likewise.
32202 * debug/gets_chk.c: Likewise.
32203 * debug/obprintf_chk.c: Likewise.
32204 * debug/vasprintf_chk.c: Likewise.
32205 * debug/vdprintf_chk.c: Likewise.
32206 * debug/vsnprintf_chk.c: Likewise.
32207 * debug/vsprintf_chk.c: Likewise.
32208 * malloc/mtrace.c: Likewise.
32209 * misc/error.c: Likewise.
32210 * misc/syslog.c: Likewise.
32211 * stdio-common/asprintf.c: Likewise.
32212 * stdio-common/fxprintf.c: Likewise.
32213 * stdio-common/getw.c: Likewise.
32214 * stdio-common/isoc99_fscanf.c: Likewise.
32215 * stdio-common/isoc99_scanf.c: Likewise.
32216 * stdio-common/isoc99_vfscanf.c: Likewise.
32217 * stdio-common/isoc99_vscanf.c: Likewise.
32218 * stdio-common/isoc99_vsscanf.c: Likewise.
32219 * stdio-common/printf-prs.c: Likewise.
32220 * stdio-common/printf_fp.c: Likewise.
32221 * stdio-common/printf_fphex.c: Likewise.
32222 * stdio-common/printf_size.c: Likewise.
32223 * stdio-common/putw.c: Likewise.
32224 * stdio-common/scanf.c: Likewise.
32225 * stdio-common/sprintf.c: Likewise.
32226 * stdio-common/tmpfile.c: Likewise.
32227 * stdio-common/vfprintf.c: Likewise.
32228 * stdio-common/vfscanf.c: Likewise.
32229 * stdlib/strfmon_l.c: Likewise.
32230 * sunrpc/openchild.c: Likewise.
32231 * sunrpc/xdr_stdio.c: Likewise.
32232 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
32233 * sysdeps/mach/hurd/tmpfile.c: Likewise.
32234
32235 2012-05-24 Roland McGrath <roland@hack.frob.com>
32236
32237 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32238
32239 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
32240 in the third column, to generate for the shared library an IFUNC
32241 that uses _dl_vdso_vsym.
32242 * Makerules (COMPILE.c, compile-stdin.c): New variables.
32243 * Makeconfig (object-suffixes-noshared): New variable.
32244
32245 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
32246 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
32247 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
32248 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
32249
32250 [BZ #14132]
32251 * include/sys/time.h (__gettimeofday): Remove macro.
32252 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
32253 * time/gettimeofday.c (__gettimeofday): Remove #undef.
32254 Remove INTDEF.
32255 (__gettimeofday): Add libc_hidden_def.
32256 (gettimeofday): Add libc_hidden_weak.
32257 * sysdeps/mach/gettimeofday.c: Likewise.
32258 * sysdeps/posix/gettimeofday.c: Likewise.
32259 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
32260 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
32261 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
32262 (__gettimeofday_internal): Remove strong_alias.
32263 (__gettimeofday): Add libc_hidden_def.
32264 (gettimeofday): Add libc_hidden_weak.
32265 * sysdeps/unix/syscalls.list (gettimeofday):
32266 Remove __gettimeofday_internal alias.
32267
32268 2012-05-24 Daniel Jacobowitz <drow@false.org>
32269 H.J. Lu <hongjiu.lu@intel.com>
32270
32271 [BZ #12495]
32272 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
32273 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
32274 (largebin_index_32_big): New.
32275 (largebin_index): Use it for 16-byte alignment.
32276 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
32277 correction with front_misalign.
32278
32279 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32280
32281 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
32282 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
32283 Likewise.
32284 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
32285 Likewise.
32286 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32287 Likewise.
32288 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
32289 Likewise.
32290 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
32291 Likewise.
32292 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
32293 Likewise.
32294 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
32295 Likewise.
32296 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32297 Likewise.
32298 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
32299 Likewise.
32300 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
32301 Likewise.
32302 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
32303 Likewise.
32304 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
32305 Likewise.
32306
32307 * scripts/data/c++-types-x32-linux-gnu.data: New file.
32308 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
32309
32310 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32311
32312 [BZ #10846]
32313 [BZ #14036]
32314 * math/libm-test.inc (exp_test): Add test from bug 14036.
32315 (pow_test): Add test from bug 10846.
32316
32317 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
32318 and other flags.
32319 (special_function): Do not include flags in test name.
32320 (parse_args): Likewise.
32321 * sysdeps/i386/fpu/libm-test-ulps: Update.
32322 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32323 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32324 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32326
32327 * math/gen-libm-test.pl (%beautify): Add entries for underflow
32328 exceptions.
32329 * math/libm-test.inc ("Philosophy"): Update comment about
32330 exception testing.
32331 (UNDERFLOW_EXCEPTION): New macro.
32332 (UNDERFLOW_EXCEPTION_OK): Likewise.
32333 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
32334 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
32335 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
32336 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
32337 (INVALID_EXCEPTION_OK): Update value.
32338 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32339 (OVERFLOW_EXCEPTION_OK): Likewise.
32340 (IGNORE_ZERO_INF_SIGN): Likewise.
32341 (test_exceptions): Handle underflow exceptions.
32342 (acos_test): Update for underflow exception expectations.
32343 (cexp_test): Likewise.
32344 (clog_test): Likewise.
32345 (clog10_test): Likewise.
32346 (csqrt_test): Likewise.
32347 (ctan_test): Likewise.
32348 (ctanh_test): Likewise.
32349 (exp_test): Likewise.
32350 (exp10_test): Likewise.
32351 (exp2_test): Likewise.
32352 (expm1_test): Likewise.
32353 (fma_test): Likewise.
32354 (j0_test): Likewise.
32355 (jn_test): Likewise.
32356 (nexttoward_test): Likewise.
32357 (pow_test): Likewise.
32358 (scalbn_test): Likewise.
32359 (scalbln_test): Likewise.
32360 (tan_test): Likewise.
32361 (y1_test): Likewise.
32362 * sysdeps/i386/fpu/libm-test-ulps: Update.
32363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32364
32365 2012-05-23 David S. Miller <davem@davemloft.net>
32366
32367 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32368 (__libc_sigaction): Remove unused local variables.
32369
32370 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32371
32372 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
32373
32374 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
32375
32376 mktime: avoid signed integer overflow
32377 * time/mktime.c (__mktime_internal): Do not mishandle the case
32378 where diff == INT_MIN.
32379
32380 mktime: simplify computation of average
32381 * time/mktime.c (ranged_convert): Use new time_t_avg function
32382 instead of rolling our own (probably-slower) code.
32383
32384 mktime: do not assume signed right shift propagates sign bit
32385 * time/mktime.c (isdst_differ): New static function.
32386 (__mktime_internal): No need to normalize tm_isdst now.
32387 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
32388 tm_isdst values.
32389
32390 mktime: merge another wrapv change from gnulib
32391 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
32392 from some compilers.
32393
32394 mktime: remove incorrect attempt at unusual arithmetics
32395 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
32396 The code didn't really work on such machines anyway.
32397 (TYPE_MINIMUM): Assume two's complement.
32398 (twos_complement_arithmetic): Verify that long_int and time_t
32399 are two's complement (or unsigned, in the latter case).
32400
32401 mktime: check signed shifts on long_int and time_t, too
32402 * time/mktime.c (SHR): Check that shifts work as desired
32403 on the types long_int and time_t too, as SHR is used on
32404 such types.
32405
32406 mktime: do not assume 'long' is wide enough
32407 * time/mktime.c (verify): Move decl up.
32408 (long_int): New type.
32409 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
32410 to remove assumption in the code that 'long' is wide enough to
32411 store year values. This assumption is not true on x32 and on
32412 some non-glibc platforms.
32413
32414 mktime: merge wrapv change from gnulib
32415 * time/mktime.c (WRAPV): New macro.
32416 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
32417 (guess_time_tm, __mktime_internal): Do not assume that signed
32418 integer overflow wraps around; modern compilers generate code
32419 where this assumption is no longer valid.
32420
32421 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32422
32423 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32424 Replace "jmp L(pseudo_end)" with "ret".
32425 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
32426 Likewise.
32427
32428 2012-05-23 Andreas Jaeger <aj@suse.de>
32429
32430 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
32431 * sysdeps/unix/sysv/linux/poll.c: Remove file.
32432
32433 2012-05-23 Andreas Jaeger <aj@suse.de>
32434 Maximilian Attems <max@stro.at>
32435
32436 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
32437 New macros.
32438
32439 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32440
32441 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
32442 code so that pseudo_end is just ret and the stack pointer is
32443 correct also for static library in error case.
32444
32445 2012-05-23 Joseph Myers <joseph@codesourcery.com>
32446
32447 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
32448 move to syscalls.list.
32449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32453
32454 * manual/install.texi (Running make install): Do not mention Linux
32455 kernel version for which pt_chown is not needed.
32456 (Linux): Do not mention problems with nscd with 2.0 kernels.
32457 * INSTALL: Regenerated.
32458
32459 2012-05-23 Andreas Jaeger <aj@suse.de>
32460
32461 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
32462 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
32463 macro.
32464 * sysdeps/unix/sysv/linux/s390/bits/mman.h
32465 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32466 * sysdeps/unix/sysv/linux/sh/bits/mman.h
32467 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32468 * sysdeps/unix/sysv/linux/i386/bits/mman.h
32469 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32470 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
32471 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32472 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
32473 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32474 * sysdeps/unix/sysv/linux/bits/in.h
32475 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
32476
32477 2012-05-22 Roland McGrath <roland@hack.frob.com>
32478
32479 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
32480 (PREPARE_VERSION): Just use assert instead, it will be elided
32481 under [NDEBUG] anyway.
32482
32483 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32484
32485 * sysdeps/unix/sysv/linux/Makefile: Include
32486 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
32487 (sysdep_routines): Remove sysctl.
32488 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
32489 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
32490 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
32491 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
32492 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
32493
32494 2012-05-22 Andreas Jaeger <aj@suse.de>
32495
32496 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
32497 that pseudo_end is just ret and the stack pointer is correct also
32498 for static library in error case.
32499
32500 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
32501
32502 [BZ #14122]
32503 * nss/nsswitch.c (defconfig_entries): New variable.
32504 (__nss_database_lookup): Don't leak defconfig entries.
32505 (nss_parse_service_list): Don't leak on error paths.
32506 (free_database_entries): New function.
32507 (free_defconfig): New function.
32508 (free_mem): Move common code to free_database_entries.
32509
32510 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32511
32512 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
32513 Add arch_prctl.
32514 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
32515
32516 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32517 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
32518 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
32519 New macro.
32520 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
32521 (INTERNAL_SYSCALL_TYPES): Likewise.
32522 (LOAD_ARGS_TYPES_[1-6]): Likewise.
32523 (LOAD_REGS_TYPES_[1-6]): Likewise.
32524 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
32525 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
32526
32527 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32528
32529 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
32530 copysignl for GLIBC_2_0.
32531 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
32532 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
32533 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
32534 logbl for GLIBC_2_0.
32535 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
32536 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
32537
32538 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32539
32540 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
32541 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32542
32543 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32544 Use "neg %eax".
32545
32546 * time/mktime.c: Update copyright years.
32547
32548 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
32549
32550 mktime: merge comment-quoting-style change from gnulib
32551 * time/mktime.c: Quote 'like this' in comments.
32552 The GNU coding standards suggest that we no longer quote `like this',
32553 as "`" and "'" are typically rendered asymmetrically nowadays.
32554 The typical gnulib style is to quote 'like this' when quoting
32555 code, and "like this" when quoting English.
32556
32557 * time/mktime.c (compile-command): Add "-I.".
32558
32559 mktime: merge mktime-internal.h change from gnulib
32560 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
32561
32562 mktime: merge time_r change from gnulib
32563 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
32564
32565 mktime: merge DEBUG change from gnulib
32566 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
32567 case system <time.h> has a #define.
32568
32569 mktime: merge <sys/types.h> change from gnulib
32570 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
32571 since <time.t> is now guaranteed to define time_t.
32572
32573 mktime: merge HAVE_CONFIG_H change from gnulib
32574 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
32575
32576 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32577
32578 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32579 Use "neg %eax".
32580
32581 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
32582 __rlim_t cast.
32583 (struct rusage): Use anonymous union to pad each field to
32584 __syscall_slong_t.
32585
32586 2012-05-21 David S. Miller <davem@davemloft.net>
32587
32588 * Makefules (o-iterator): Remove .s cases.
32589 (compile-command.s): Delete.
32590 (COMPILE.s): Delete.
32591 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
32592
32593 2012-05-21 Joseph Myers <joseph@codesourcery.com>
32594
32595 * configure.in (libc_cv_predef_stack_protector): Only consider
32596 "foobar" and "__stack_chk_fail" lines in libc_undefs.
32597 * configure: Regenerated.
32598
32599 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32600
32601 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32602 New macro. Use R*LP on int and pointer.
32603 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
32604 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
32605 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
32606 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
32607
32608 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
32609 [__WORDSIZE_TIME64_COMPAT32] instead of
32610 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
32611 (struct utmp): Likewise.
32612 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
32613 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
32614 Renamed to ...
32615 (__WORDSIZE_TIME64_COMPAT32): This.
32616 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
32617 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
32618 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
32619 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
32620 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
32621 (__WORDSIZE_TIME64_COMPAT32): New macro.
32622
32623 2012-05-21 Andreas Jaeger <aj@suse.de>
32624
32625 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
32626 only if [SHARED]. Add prototype for __wcschr_ia32.
32627
32628 2012-05-21 Roland McGrath <roland@hack.frob.com>
32629
32630 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
32631 of %rbp unmolested in the jmp_buf while mangling the low bits.
32632 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
32633 unmolested high bits of %rbp while demangling the low bits.
32634 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32635
32636 2012-05-21 Andreas Jaeger <aj@suse.de>
32637
32638 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
32639 * sunrpc/svc_simple.c: Use it for registerrpc.
32640 * sunrpc/xcrypt.c: Use it for passwd2des.
32641
32642 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
32643
32644 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32645
32646 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
32647 Don't define if [__SYSCALL_WORDSIZE != 32].
32648 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
32649 New macro.
32650
32651 2012-05-21 Bruno Haible <bruno@clisp.org>
32652 Andreas Jaeger <aj@suse.de>
32653
32654 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
32655 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
32656 inptr and inend for must_buffer_ch.
32657 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
32658 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
32659 * stdio-common/Makefile (tests): Remove bug15.
32660 (bug15-ENV): Remove macro.
32661 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
32662 anymore.
32663
32664 2012-05-19 Andreas Jaeger <aj@suse.de>
32665 Roland McGrath <roland@hack.frob.com>
32666
32667 * manual/contrib.texi: Completely rewritten. It contains now an
32668 alphabetical list of contributors and their contributions.
32669
32670 2012-05-21 Richard Henderson <rth@twiddle.net>
32671
32672 * misc/getauxval.c (__getauxval): Use unsigned long int.
32673 * misc/sys/auxv.h: Include <sys/cdefs.h>.
32674 (getauxval): Use unsigned long int.
32675
32676 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32677
32678 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32679
32680 2012-05-21 Roland McGrath <roland@hack.frob.com>
32681
32682 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
32683 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
32684 __alignof__ (long double).
32685
32686 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32687
32688 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32689
32690 2012-05-20 Richard Henderson <rth@twiddle.net>
32691
32692 * misc/getauxval.c: New file.
32693 * misc/sys/auxv.h: New file.
32694 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
32695 (routines): Add getauxval.
32696 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
32697 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
32698 * elf/dl-sysdep.c (_dl_auxv): Remove.
32699 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
32700 * elf/dl-support.c (_dl_auxv): New variable.
32701 (_dl_aux_init): Initialize it.
32702 * manual/startup.texi (Auxiliary Vector): New node.
32703 * sysdeps/generic/bits/hwcap.h: New file.
32704 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
32705 * sysdeps/powerpc/sysdep.h: ... here. Include it.
32706 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
32707 * sysdeps/sparc/sysdep.h: ... here. Include it.
32708 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
32709 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
32710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32711 Update.
32712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
32713 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
32714 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
32715 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
32716 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32717 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32718 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
32719 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
32720
32721 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32722
32723 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32724
32725 2012-05-19 David S. Miller <davem@davemloft.net>
32726
32727 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32728
32729 2012-05-19 Joseph Myers <joseph@codesourcery.com>
32730
32731 [BZ #14123]
32732 * math/s_ccosh.c: Include <float.h>
32733 (__ccosh): Avoid internal overflow calculating sinh and cosh
32734 values before multiplying by sin and cos values.
32735 * math/s_ccoshf.c: Likewise.
32736 * math/s_ccoshl.c: Likewise.
32737 * math/s_csin.c: Likewise.
32738 * math/s_csinf.c: Likewise.
32739 * math/s_csinl.c: Likewise.
32740 * math/s_csinh.c: Likewise.
32741 * math/s_csinhf.c: Likewise.
32742 * math/s_csinhl.c: Likewise.
32743 * math/libm-test.inc (ccos_test): Add more tests.
32744 (ccosh_test): Likewise.
32745 (csin_test): Likewise.
32746 (csinh_test): Likewise.
32747 * sysdeps/i386/fpu/libm-test-ulps: Update.
32748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32749
32750 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
32751
32752 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
32753 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
32754
32755 * sysdeps/x86_64/x32/_itoa.h: Add comment.
32756
32757 2012-05-19 Joseph Myers <joseph@codesourcery.com>
32758
32759 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
32760 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
32761 * sysdeps/powerpc/soft-fp/Versions: Likewise.
32762 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
32763 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
32764 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
32765 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
32766 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
32767 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
32768 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
32769 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
32770 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
32771 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
32772 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
32773 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
32774 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
32775 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
32776 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
32777 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
32778 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
32779 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
32780 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
32781 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
32782 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
32783 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
32784 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
32785 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
32786 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
32787 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
32788 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
32789 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
32790
32791 2012-05-18 Andreas Jaeger <aj@suse.de>
32792
32793 * csu/.gitignore: Delete.
32794
32795 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32796
32797 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
32798 (timex): Use __syscall_slong_t.
32799
32800 2012-05-18 Andreas Jaeger <aj@suse.de>
32801 Carlos O'Donell <carlos_odonell@mentor.com>
32802
32803 * manual/install.texi (Configuring and compiling): Update
32804 description about files modified in the source directory.
32805 * INSTALL: Regenerated.
32806
32807 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32808
32809 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
32810 value. Use "or" to set return value to -1.
32811 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
32812 negate return value.
32813
32814 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32815
32816 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
32817 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
32818 failure if the compiler has Graphite support disabled.
32819 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
32820 Likewise.
32821 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
32822 (CFLAGS-memmove.c): Likewise.
32823 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
32824 Likewise.
32825
32826 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32827
32828 * sysdeps/x86_64/x32/_itoa.h: New file.
32829
32830 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
32831 getdents system call only if kernel and user dirents have the
32832 same d_ino and d_off.
32833
32834 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32835 LLONG_MAX != LONG_MAX.
32836 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32837 (_fitoa_word): Likewise.
32838
32839 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
32840 years.
32841 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
32842 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
32843 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
32844
32845 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
32846 include <bits/wordsize.h>. Check __x86_64__ instead of
32847 __WORDSIZE.
32848 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
32849 if __x86_64__ is defined. Use anonymous union on fpstate.
32850
32851 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
32852 anonymous union.
32853
32854 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
32855
32856 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
32857 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
32858 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
32859 Refer to _rtld_local_ro instead of _rtld_global_ro.
32860 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
32861 Likewise.
32862 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
32863 Likewise.
32864 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
32865 Likewise.
32866 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
32867 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
32868 of _rtld_global, and rtld_progname instead of _dl_argv[0].
32869
32870 * sysdeps/powerpc/powerpc32/dl-machine.c
32871 (__elf_machine_runtime_setup) [PROF]: Don't reference
32872 _dl_prof_resolve.
32873
32874 2012-05-18 Andreas Jaeger <aj@suse.de>
32875
32876 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
32877 function only available for GCCs before 3.4 since GCC 3.4
32878 introduced a builtin.
32879 (lrint): Likewise.
32880 (llrintf): Likewise.
32881 (llrint): Likewise.
32882 (fmaxf): Likewise.
32883 (fmax): Likewise.
32884 (fminf): Likewise.
32885 (fmin): Likewise.
32886 (rint): Likewise.
32887 (rintf): Likewise.
32888 (nearbyint): Likewise.
32889 (nearbyintf): Likewise.
32890 (ceil): Likewise.
32891 (ceilf): Likewise.
32892 (floor): Likewise.
32893 (floorf): Likewise.
32894
32895 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32896
32897 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
32898 on both fields and cast pointer to __syscall_ulong_t.
32899
32900 * bits/types.h (__fsword_t): New type.
32901 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
32902 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
32903 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32904 (__FSWORD_T_TYPE): Likewise.
32905 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32906 (__FSWORD_T_TYPE): Likewise.
32907 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32908 (__FSWORD_T_TYPE): Likewise.
32909 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
32910 (__FSWORD_T_TYPE): Likewise.
32911 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
32912 __SWORD_TYPE with __fsword_t.
32913 (statfs64): Likewise.
32914
32915 2012-05-17 David S. Miller <davem@davemloft.net>
32916
32917 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
32918
32919 2012-05-17 Andreas Jaeger <aj@suse.de>
32920
32921 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
32922 warning.
32923
32924 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32925
32926 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
32927
32928 2012-05-17 Andreas Jaeger <aj@suse.de>
32929
32930 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
32931 when it is used.
32932
32933 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32934
32935 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
32936
32937 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32938
32939 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
32940 * sysdeps/x86_64/tst-mallocalign1.c: New file.
32941
32942 2012-05-17 Andreas Jaeger <aj@suse.de>
32943 Carlos O'Donell <carlos_odonell@mentor.com>
32944
32945 [BZ #14059]
32946 * sysdeps/x86_64/multiarch/init-arch.h
32947 (bit_YMM_Usable): Rename to...
32948 (bit_AVX_Usable): ... this.
32949 (bit_FMA4_Usable): New macro.
32950 (bit_XMM_state): New macro.
32951 (bit_YMM_state): New macro.
32952 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
32953 [__ASSEMBLER__] (index_AVX_Usable): ... this.
32954 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
32955 (CPUID_OSXSAVE): New macro.
32956 (CPUID_AVX): New macro.
32957 (CPUID_FMA4): New macro.
32958 (index_YMM_Usable): Rename to...
32959 (index_AVX_Usable): ... this.
32960 (HAS_AVX): Use HAS_ARCH_FEATURE.
32961 (HAS_FMA4): Likewise.
32962 (HAS_YMM_USABLE): Remove.
32963 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32964 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
32965 are present.
32966 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
32967 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
32968 * sysdeps/x86_64/multiarch/Makefile: Likewise.
32969 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
32970 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
32971
32972 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32973
32974 * math/libm-test.c: Support platforms without multiple rounding modes.
32975 * math/bug-nextafter.c: Support platforms without FP exceptions.
32976 * math/bug-nexttoward.c: Likewise.
32977 * math/test-fenv.c: Likewise.
32978 * math/test-misc.c: Likewise.
32979 * stdlib/bug-getcontext.c: Likewise.
32980
32981 2012-05-17 Andreas Jaeger <aj@suse.de>
32982
32983 * manual/examples/search.c (critter_cmp): Change signature to
32984 avoid warnings.
32985 * manual/string.texi (Collation Functions): Likewise.
32986
32987 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32988
32989 * bits/types.h: Fold copyright years.
32990 * bits/typesizes.h: Likewise.
32991 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
32992 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
32993 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
32994 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
32995 * time/time.h: Likewise.
32996
32997 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
32998
32999 [BZ #208]
33000 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
33001 in instead of returning them. Return void.
33002 (__libc_mallinfo): Accumulate over all arenas.
33003 (__malloc_stats): Adjust for change in int_mallinfo interface.
33004
33005 2012-05-16 Roland McGrath <roland@hack.frob.com>
33006
33007 [BZ #10375]
33008 * configure.in (NM): Add AC_CHECK_TOOL for it.
33009 (libc_extra_cflags): New substituted variable.
33010 Check for -fstack-protector being used implicitly.
33011 * configure: Regenerated.
33012 * config.make.in (config-extra-cflags): New variable,
33013 gets @libc_extra_cflags@.
33014 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
33015
33016 [BZ #10375]
33017 * configure.in: Check for _FORTIFY_SOURCE being predefined.
33018 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
33019 * configure: Regenerated.
33020 * config.make.in (CPPUNDEFS): New substituted variable.
33021 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
33022 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
33023 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
33024
33025 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33026
33027 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
33028 (mq_attr): Use __syscall_slong_t.
33029
33030 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33031
33032 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
33033 Check __x86_64__ instead of __WORDSIZE.
33034 (_STAT_VER_LINUX): Likewise.
33035 (stat): Check __x86_64__ instead of __WORDSIZE. Use
33036 __syscall_ulong_t and __syscall_slong_t.
33037 (stat64): Likewise.
33038
33039 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33040
33041 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
33042
33043 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33044
33045 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
33046
33047 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33048
33049 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
33050 __syscall_ulong_t.
33051
33052 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
33053 include <bits/wordsize.h>. Check __x86_64__ instead of
33054 __WORDSIZE.
33055 (greg_t): Use "__extension__ long long int" if __x86_64__ is
33056 defined.
33057 (mcontext_t): Replace "unsigned long" with "unsigned long long".
33058
33059 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
33060 include <bits/wordsize.h>. Check __x86_64__ instead of
33061 __WORDSIZE.
33062 (user_regs_struct): Use "__extension__ unsigned long long"
33063 instead of "unsigned long" if __x86_64__ is defined.
33064 (user): Likewise. Pad after pointer field if __ILP32__ is
33065 defined.
33066
33067 2012-05-16 Joseph Myers <joseph@codesourcery.com>
33068
33069 * configure.in (makeinfo): Require version 4.5 or later. Allow
33070 versions 5 to 9.
33071 * configure: Regenerated.
33072 * manual/install.texi (texinfo): Increase version requirement to
33073 4.5 or later.
33074 * INSTALL: Regenerated.
33075
33076 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
33077
33078 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33079
33080 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
33081
33082 * sysdeps/x86_64/x32/ffs.c: New file.
33083
33084 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
33085 __syscall_ulong_t.
33086 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
33087 defined. Use __syscall_ulong_t.
33088 (shminfo): Use __syscall_ulong_t.
33089 (shm_info): Likewise.
33090
33091 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
33092 __syscall_ulong_t.
33093
33094 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
33095 <bits/wordsize.h>.
33096 (msgqnum_t): Use __syscall_ulong_t.
33097 (msglen_t): Likewise.
33098 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
33099 __syscall_ulong_t.
33100
33101 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
33102 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33103
33104 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
33105
33106 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
33107 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
33108
33109 * sysvipc/sys/msg.h (msgbuf): Replace long int with
33110 __syscall_slong_t.
33111
33112 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
33113 include <bits/wordsize.h>. Check __x86_64__ instead of
33114 __WORDSIZE.
33115
33116 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
33117 "unsigned long long int" if __x86_64__ is defined.
33118 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
33119
33120 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
33121 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33122 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
33123
33124 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
33125 <stdint.h>.
33126 (GET_PC): Cast to uintptr_t first.
33127 (GET_FRAME): Likewise.
33128 (GET_STACK): Likewise.
33129
33130 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
33131 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
33132 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
33133 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
33134 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
33135 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
33136 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
33137 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
33138 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
33139 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
33140 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
33141 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
33142 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33143 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
33144 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
33145 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
33146 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
33147 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
33148 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
33149 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
33150 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
33151 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
33152 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
33153 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
33154 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
33155 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
33156 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
33157 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
33158 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
33159
33160 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
33161
33162 * Makerules (+depfiles): Also collect depfiles from .oS in
33163 $(extra-objs).
33164 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
33165 .oS, $(libnldbl-routines)).
33166
33167 * Makerules (native-compile-mkdep-flags): Define.
33168 * sunrpc/Makefile (extra-objs): Add $(addprefix
33169 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
33170 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
33171 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
33172 calling $(make-target-directory).
33173
33174 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33175
33176 * bits/types.h (__snseconds_t): Removed.
33177 * time/time.h (struct timespec): Replace __snseconds_t with
33178 __syscall_slong_t.
33179 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
33180 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
33181 Likewise.
33182 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33183 (__SNSECONDS_T_TYPE): Likewise.
33184 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33185 (__SNSECONDS_T_TYPE): Likewise.
33186 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33187 (__SNSECONDS_T_TYPE): Likewise.
33188
33189 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33190
33191 * sysdeps/mach/hurd/bits/typesizes.h
33192 (__SYSCALL_SLONG_TYPE): New macro.
33193 (__SYSCALL_ULONG_TYPE): Likewise.
33194
33195 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33196
33197 * bits/types.h (__syscall_slong_t): New type.
33198 (__syscall_ulong_t): Likewise.
33199
33200 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
33201 (__SYSCALL_ULONG_TYPE): Likewise.
33202 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33203 (__SYSCALL_SLONG_TYPE): Likewise.
33204 (__SYSCALL_ULONG_TYPE): Likewise.
33205 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33206 (__SYSCALL_SLONG_TYPE): Likewise.
33207 (__SYSCALL_ULONG_TYPE): Likewise.
33208 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33209 (__SYSCALL_SLONG_TYPE): Likewise.
33210 (__SYSCALL_ULONG_TYPE): Likewise.
33211
33212 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33213
33214 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
33215 Add sigaltstack-offsets.sym.
33216 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
33217 <sigaltstack-offsets.h>.
33218 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
33219 longjmp_msg pointer.
33220 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
33221 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
33222 signal stack.
33223 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
33224
33225 2012-05-15 Joseph Myers <joseph@codesourcery.com>
33226
33227 * elf/stackguard-macros.h: Remove file.
33228 * sysdeps/generic/stackguard-macros.h: New file.
33229 * sysdeps/i386/stackguard-macros.h: Likewise.
33230 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
33231 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
33232 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
33233 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
33234 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
33235 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
33236 * sysdeps/x86_64/stackguard-macros.h: Likewise.
33237 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
33238 <elf/stackguard-macros.h>.
33239
33240 [BZ #14109]
33241 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
33242 __aligned__ in attribute.
33243 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
33244 (gregset_t): Likewise.
33245
33246 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33247
33248 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
33249 * sysdeps/x86_64/64/Implies-after: Here. New file.
33250 * sysdeps/x86_64/x32/Implies-after: New file.
33251
33252 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33253
33254 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
33255 and access return value for _dl_profile_fixup. Use R10_LP to
33256 load frame size.
33257
33258 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33259
33260 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
33261
33262 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33263
33264 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
33265 * sysdeps/x86_64/x32/sysdep.h: New file.
33266
33267 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33268
33269 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
33270 * sysdeps/x86_64/setjmp.S: Likewise.
33271
33272 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33273
33274 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
33275 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
33276 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
33277 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
33278 remove unused global constant.
33279
33280 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
33281
33282 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
33283 include of <not-cancel.h>.
33284
33285 2012-05-15 Roland McGrath <roland@hack.frob.com>
33286
33287 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
33288
33289 2012-05-15 Jeff Law <law@redhat.com>
33290 Andreas Jaeger <aj@suse.de>
33291
33292 [BZ #13594]
33293 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
33294 out from...
33295 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
33296 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
33297 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
33298 code changing __hst_map_handle.map.
33299
33300 2012-05-15 Roland McGrath <roland@hack.frob.com>
33301
33302 * configure.in (sysnames): Look for Implies-before and Implies-after
33303 files.
33304 * configure: Regenerated.
33305
33306 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33307
33308 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
33309 8-byte data alignment with LP_SIZE alignment.
33310
33311 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33312
33313 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
33314 into R10_LP.
33315
33316 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33317
33318 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
33319
33320 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33321
33322 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
33323 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
33324 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
33325 Likewise.
33326 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33327
33328 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33329
33330 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
33331 (stackinfo_sub_sp): Likewise.
33332
33333 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33334
33335 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
33336 RAX_LP.
33337
33338 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33339
33340 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
33341 into R*_LP.
33342
33343 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33344
33345 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
33346 sizes into R*_LP.
33347
33348 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33349
33350 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
33351
33352 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33353
33354 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
33355 into R11_LP and load __x86_64_shared_cache_size_half into
33356 R8_LP.
33357
33358 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33359
33360 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
33361 R8_LP.
33362
33363 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33364
33365 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
33366 logb for POWER7.
33367 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
33368 logbf for POWER7.
33369 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
33370 logbl for POWER7.
33371 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
33372 powerpc32/power7/fpu/s_logb.c via #include.
33373 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
33374 powerpc32/power7/fpu/s_logbf.c via #include.
33375 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
33376 powerpc32/power7/fpu/s_logbl.c via #include.
33377
33378 2012-05-15 Joseph Myers <joseph@codesourcery.com>
33379
33380 * README.libm: Remove file.
33381
33382 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33383
33384 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
33385 count for x32. Use R*_LP and omit operand-size suffix.
33386
33387 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33388
33389 * shlib-versions: Move x86_64-.*-linux.* entries to ...
33390 * sysdeps/x86_64/64/shlib-versions: Here. New file.
33391 * sysdeps/x86_64/x32/shlib-versions: New file.
33392
33393 2012-05-14 Roland McGrath <roland@hack.frob.com>
33394
33395 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
33396 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
33397 Use _dl_fatal_printf instead.
33398
33399 2012-05-14 Joseph Myers <joseph@codesourcery.com>
33400
33401 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
33402 set if not set by the user. Do not allow for being unset.
33403 * sysdeps/unix/sysv/linux/configure: Regenerated.
33404
33405 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33406
33407 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
33408 the `q' suffix from lea and replace .quad with ASM_ADDR.
33409
33410 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33411
33412 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
33413 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
33414 instead of $17.
33415 (PTR_DEMANGLE): Likewise.
33416
33417 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33418
33419 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
33420 (LP_OP): Likewise.
33421 (ASM_ADDR): Likewise.
33422 (RAX_LP): Likewise.
33423 (RBP_LP): Likewise.
33424 (RBX_LP): Likewise.
33425 (RCX_LP): Likewise.
33426 (RDI_LP): Likewise.
33427 (RSI_LP): Likewise.
33428 (RSP_LP): Likewise.
33429 (R8_LP): Likewise.
33430 (R9_LP): Likewise.
33431 (R10_LP): Likewise.
33432 (R10_LP): Likewise.
33433 (R11_LP): Likewise.
33434 (R12_LP): Likewise.
33435 (R13_LP): Likewise.
33436 (R14_LP): Likewise.
33437 (R15_LP): Likewise.
33438
33439 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33440
33441 * sysdeps/x86_64/x32/dl-machine.h: New file.
33442
33443 2012-05-14 Andreas Jaeger <aj@suse.de>
33444
33445 * manual/Makefile (subdir): Remove export of subdir.
33446 (all): Remove target.
33447 (.PHONY): Remove all from list.
33448 (mkinstalldirs): Remove.
33449 (.PHONY): Remove installdirs from list.
33450 ($(inst_infodir)/libc.info): Use make-target-directory.
33451 (installdirs): Remove.
33452 (subdir_%): Remove.
33453 (glibc-targets): Remove.
33454 (lib): Remove.
33455 (stubs): Remove.
33456 ($(objpfx)stubs ../po/manual.pot): Remove.
33457 ($(objpfx)stamp%): Remove.
33458 (make-target-directory): Remove.
33459 (subdir_install): Remove.
33460 (routines): Remove.
33461 (aux): Remove.
33462 (sources): Remove.
33463 (objects): Remove.
33464 (headers): Remove.
33465
33466 [BZ #13750]
33467 * manual/.gitignore: Remove, it's not needed anymore.
33468 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
33469 all files in it.
33470 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
33471 directory.
33472 (texis): Renamed to $(objpfx)texis.
33473 (texis-path): New, contains path to generated files.
33474 (chapters.%): Use texis-path for complete path, add extra argument
33475 libc-texinfo.sh.
33476 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
33477 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
33478 (summary,texi, stamp-summary): Use complete path of
33479 files. Generate files in build dir.
33480 (dir-add.texi): Build in build dir.
33481 (libm-err.texi,stamp-libm-err): Likewise.
33482 (version.texi, stamp-version): Likewise.
33483 (.%c.texi): Likewise.
33484 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
33485 (mostlyclean): Remove target.
33486 (realclean): Remove target.
33487 (generated): Add new variable with contents from mostlyclean and
33488 realclean, remove entries duplicated in common-mostlyclean, add
33489 stamp-libm-err and stamp-version.
33490 (generated-dirs): Add libc directory.
33491 ($(inst_infodir)/libc.info): Install files from build dir.
33492
33493 * manual/install.texi (Configuring and compiling): Adjust since
33494 the info files are not part of the tar ball anymore.
33495
33496 2012-05-14 Andreas Jaeger <aj@suse.de>
33497
33498 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
33499 variable.
33500
33501 2012-05-14 Joseph Myers <joseph@codesourcery.com>
33502
33503 [BZ #13717]
33504 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33505 to 2.2.0 where earlier.
33506 * sysdeps/unix/sysv/linux/configure: Regenerated.
33507 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
33508 Remove conditional code.
33509 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
33510 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
33511 Remove conditional code.
33512 [!__NR_lchown]: Likewise.
33513 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33514 [__NR_lchown]: Likewise.
33515 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
33516 comment referencing __ASSUME_LCHOWN_SYSCALL.
33517 * sysdeps/unix/sysv/linux/i386/sigaction.c
33518 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33519 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33520 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
33521 Remove conditional code.
33522 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
33523 (__protocol_available): Remove #if 0 code.
33524 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
33525 conditional code.
33526 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
33527 * sysdeps/unix/sysv/linux/kernel-features.h
33528 (__ASSUME_GETCWD_SYSCALL): Don't define.
33529 (__ASSUME_REALTIME_SIGNALS): Likewise.
33530 (__ASSUME_PREAD_SYSCALL): Likewise.
33531 (__ASSUME_PWRITE_SYSCALL): Likewise.
33532 (__ASSUME_POLL_SYSCALL): Likewise.
33533 (__ASSUME_LCHOWN_SYSCALL): Likewise.
33534 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
33535 non-SPARC.
33536 (__ASSUME_SIOCGIFNAME): Don't define.
33537 (__ASSUME_MSG_NOSIGNAL): Likewise.
33538 (__ASSUME_SENDFILE): Define unconditionally.
33539 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
33540 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
33541 conditional code.
33542 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
33543 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
33544 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33545 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33546 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
33547 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33548 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
33550 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33551 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
33553 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33554 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
33556 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33557 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
33559 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33560 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
33562 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33563 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
33565 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33566 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
33568 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33569 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
33571 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33572 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33573 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
33574 Remove conditional code.
33575 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33576 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33577 Remove conditional code.
33578 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33579 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
33580 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
33581 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33582 Remove conditional code.
33583 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33584 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
33585 Remove conditional code.
33586 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33587 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
33588 Remove conditional code.
33589 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33590 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33591 Remove conditional code.
33592 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33593 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33594 Remove conditional code.
33595 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33596 * sysdeps/unix/sysv/linux/sh/pwrite64.c
33597 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33598 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33599 * sysdeps/unix/sysv/linux/sigaction.c
33600 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33601 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33602 * sysdeps/unix/sysv/linux/sigpending.c
33603 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33604 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33605 * sysdeps/unix/sysv/linux/sigprocmask.c
33606 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33607 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33608 * sysdeps/unix/sysv/linux/sigsuspend.c
33609 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33610 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33611 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33612 (__libc_missing_rt_sigs): Remove.
33613 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
33614 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
33615 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
33616 Remove conditional code.
33617 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
33618 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
33619 return 1.
33620 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
33621 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
33622 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
33623 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
33624
33625 2012-05-14 Andreas Jaeger <aj@suse.de>
33626
33627 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
33628 it's not used in glibc.
33629 (__coshm1): Likewise.
33630 (__acosh1p): Likewise.
33631 (__sgn): Likewise.
33632
33633 * manual/string.texi (Copying and Concatenation): Add missing
33634 variable in concat example.
33635 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
33636
33637 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33638
33639 [BZ #14103]
33640 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
33641 __builtin_clzl with __builtin_clzll.
33642
33643 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33644
33645 [BZ #14104]
33646 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
33647 libc_freeres_ptr.
33648
33649 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33650
33651 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
33652 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
33653 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
33654 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
33655
33656 2012-05-14 Mike Frysinger <vapier@gentoo.org>
33657
33658 * NEWS: Update ia64 info.
33659
33660 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
33661
33662 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
33663 used as bcopy.
33664
33665 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
33666
33667 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
33668 * sysdeps/unix/syscalls.list (dup3): Likewise.
33669 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
33670 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
33671
33672 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
33673
33674 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
33675 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
33676
33677 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
33678
33679 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
33680 thread pointer.
33681 (TLS_IE): Use mov/add instead of movq/addq to load thread
33682 pointer.
33683 (TLS_GD_PREFIX): New.
33684 (TLS_GD): Use it.
33685
33686 2012-05-11 David S. Miller <davem@davemloft.net>
33687
33688 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
33689 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
33690 (_FPU_SETCW): Likewise.
33691
33692 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33693
33694 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
33695 is 32-byte aligned.
33696
33697 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
33698
33699 [BZ #11837]
33700 * iconvdata/gb18030.c: Update tables.
33701 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
33702 characters specially.
33703 (BODY for TO_LOOP): Add encoding of missing ranges.
33704
33705 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
33706
33707 [BZ #13673]
33708 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
33709 * sysdeps/mach/hurd/dup3.c: Likewise.
33710 * sysdeps/mach/hurd/readlinkat.c: Likewise.
33711 * sysdeps/powerpc/memmove.c:: Likewise.
33712
33713 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33714
33715 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
33716 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
33717
33718 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33719
33720 * elf/elf.h (R_X86_64_RELATIVE64): New.
33721 (R_X86_64_NUM): Updated.
33722 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33723 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
33724 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
33725 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
33726 tst-quad1pie tst-quad2pie
33727 (modules-names): Add tst-quadmod1 tst-quadmod2.
33728 ($(objpfx)tst-quad1): New dependency.
33729 ($(objpfx)tst-quad2): Likewise.
33730 ($(objpfx)tst-quad1pie): Likewise.
33731 ($(objpfx)tst-quad2pie): Likewise.
33732 * sysdeps/x86_64/tst-quad1.c: New file.
33733 * sysdeps/x86_64/tst-quad1pie.c: New file.
33734 * sysdeps/x86_64/tst-quad2.c: Likewise.
33735 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
33736 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
33737 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
33738 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
33739 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
33740
33741 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33742
33743 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
33744 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
33745 * streams/stropts.h (t_scalar_t): Define type.
33746
33747 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
33748 (_PATH_PRESERVE): Set to "/var/lib".
33749 (_PATH_RWHODIR): Set to "/var/spool/rwho".
33750
33751 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
33752 instead of int.
33753
33754 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
33755 if __dir_mkfile succeeded.
33756
33757 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
33758 checking for _hurd_dtablesize. Unlock it right after having
33759 finished _hurd_dtable allocation.
33760
33761 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33762
33763 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
33764 * sysdeps/mach/hurd/configure: Regenerated.
33765 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
33766 special-casing to...
33767 * sysdeps/gnu/configure.in: ... this new file.
33768 * sysdeps/unix/sysv/linux/configure: Regenerated.
33769 * sysdeps/gnu/configure: New generated file.
33770
33771 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
33772 for Linux: use nsec instead of usec, as well as:
33773 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
33774 members of type struct timespec.
33775 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
33776 New macros.
33777 (struct stat64): Likewise.
33778 (_STATBUF_ST_NSEC): New macro.
33779 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
33780
33781 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33782 __strtoul_internal rather than strtoul.
33783
33784 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33785
33786 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
33787 and reject them.
33788
33789 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33790
33791 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
33792 which preserves existing values.
33793 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
33794
33795 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33796
33797 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
33798 TIMEOUT values. Return EINVAL for NFDS values either negative or
33799 greater than FD_SETSIZE.
33800
33801 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33802
33803 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
33804 allocated, call __vm_protect to finish enabling the existing space, and
33805 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
33806 allocate the remainder.
33807
33808 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33809
33810 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
33811 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
33812
33813 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33814
33815 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
33816 sysdeps/mach/hurd/readlink.c.
33817
33818 * posix/tst-sysconf.c (posix_options): Only use
33819 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
33820 _POSIX_SYNCHRONIZED_IO when they are defined
33821 * sysdeps/mach/hurd/bits/posix_opt.h:
33822 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
33823 (_XOPEN_REALTIME): Undefine macro.
33824 (_XOPEN_REALTIME_THREADS): Undefine macro.
33825 (_XOPEN_SHM): Undefine macro.
33826 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
33827 macro to -1.
33828 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
33829 macro to -1.
33830 (_POSIX_ASYNC_IO): Undefine macro.
33831 (_POSIX_PRIORITIZED_IO): Undefine macro.
33832 (_POSIX_SPIN_LOCKS): Define macro to -1.
33833
33834 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
33835 SA_NODEFER, SA_RESETHAND.
33836 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
33837 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
33838 F_DUPFD_CLOEXEC.
33839
33840 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33841
33842 * elf/Makefile (pldd-modules): Define unconditionally.
33843
33844 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33845
33846 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
33847
33848 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33849
33850 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
33851 Return ENOENT when name is empty.
33852 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
33853
33854 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33855
33856 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
33857
33858 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
33859
33860 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33861
33862 Fix mlock in all cases except non-readable pages.
33863 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
33864 instead of VM_PROT_ALL as parameter to __vm_wire function.
33865
33866 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
33867 (__mkdir): When path is `/', just fail with EEXIST.
33868 * sysdeps/mach/hurd/mkdirat.c: Likewise.
33869
33870 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33871
33872 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
33873 <sys/uio.h> (for writev).
33874 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
33875 and <sys/param.h> (for MIN).
33876
33877 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33878
33879 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
33880 REQUESTED_TIME. Properly set the remaining time and return EINTR
33881 if interrupted.
33882
33883 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33884
33885 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
33886 Depend on against $(link-rpcuserlibs).
33887
33888 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33889
33890 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
33891 (__libc_stack_end): Do not use attribute_relro.
33892 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
33893 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
33894 to libthread-provided value.
33895 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
33896 attribute_relro.
33897
33898 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33899
33900 [BZ #3748]
33901 * bits/libc-lock.h (__libc_once_get): New macro.
33902 * sysdeps/mach/bits/libc-lock.h: Likewise.
33903 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
33904 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
33905 instead of using implementation details.
33906
33907 * libio/fileops.c: Unconditionally include <kernel-features.h>.
33908 * libio/freopen.c: Likewise.
33909 * libio/freopen64.c: Likewise.
33910 * misc/syslog.c: Likewise.
33911 * nscd/connections.c: Likewise.
33912 * nscd/netgroupcache.c: Likewise.
33913 * sysdeps/posix/getcwd.c: Likewise.
33914
33915 2012-05-10 Roland McGrath <roland@hack.frob.com>
33916
33917 * math/w_ilogbf.c: Add #include <limits.h>.
33918
33919 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33920
33921 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
33922 path instead of returning without unlocking.
33923
33924 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
33925 immediate-write ioctls.
33926 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
33927
33928 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33929
33930 * sysdeps/mach/hurd/i386/init-first.c (init): Use
33931 __builtin_frame_address instead of making assumptions about the
33932 location of the return address relative to DATA. Force early load of
33933 the return address.
33934 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
33935 __builtin_frame_address.
33936
33937 dup3 for GNU Hurd.
33938 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
33939 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
33940 implement dup3 and do some further code clean-ups.
33941 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
33942 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
33943
33944 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33945
33946 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
33947
33948 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
33949 HURD_CRITICAL_END around holding _hurd_dtable_lock.
33950 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
33951 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
33952 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
33953 d->port.lock.
33954
33955 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
33956 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
33957 when handler == SIG_ERR, not when handler != SIG_ERR.
33958
33959 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33960
33961 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
33962 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
33963 definitions.
33964
33965 accept4 for GNU Hurd.
33966 * include/sys/socket.h (__libc_accept4): New prototype.
33967 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
33968 to implement __libc_accept4.
33969 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
33970 __libc_accept4.
33971 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
33972
33973 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
33974 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
33975 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
33976 signal-defines.sym.
33977
33978 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33979
33980 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
33981
33982 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33983
33984 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
33985 assertion on O_CLOEXEC flag.
33986 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
33987 * hurd/intern-fd.c: Likewise.
33988 * hurd/port2fd.c: Likewise.
33989
33990 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33991
33992 [BZ #3906]
33993 * bits/in.h (IPV6_PKTINFO): Define new macro.
33994 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
33995
33996 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33997
33998 [BZ #13954]
33999 [BZ #13955]
34000 [BZ #13956]
34001 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
34002 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34003 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
34004 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34005 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34006 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34007 * math/libm-test.inc (logb_test) : Additional logb tests.
34008
34009 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
34010 Andreas Jaeger <aj@suse.de>
34011
34012 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
34013 * configure: Regenerated.
34014 * config.h.in (LINK_OBSOLETE_RPC): New macro.
34015 * config.make.in (link-obsolete-rpc): New substituted variable.
34016 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
34017 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
34018 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34019 (shared-only-routines): Don't set it under [link-obsolete-rpc],
34020 so that libc.a contains the symbols.
34021 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34022 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
34023 * sunrpc/auth_none.c: Likewise.
34024 * sunrpc/auth_unix.c: Likewise.
34025 * sunrpc/authdes_prot.c: Likewise.
34026 * sunrpc/authuxprot.c: Likewise.
34027 * sunrpc/clnt_gen.c: Likewise.
34028 * sunrpc/clnt_perr.c: Likewise.
34029 * sunrpc/clnt_raw.c: Likewise.
34030 * sunrpc/clnt_simp.c: Likewise.
34031 * sunrpc/clnt_tcp.c: Likewise.
34032 * sunrpc/clnt_udp.c: Likewise.
34033 * sunrpc/clnt_unix.c: Likewise.
34034 * sunrpc/des_crypt.c: Likewise.
34035 * sunrpc/des_soft.c: Likewise.
34036 * sunrpc/get_myaddr.c: Likewise.
34037 * sunrpc/key_call.c: Likewise.
34038 * sunrpc/key_prot.c: Likewise.
34039 * sunrpc/netname.c: Likewise.
34040 * sunrpc/pm_getmaps.c: Likewise.
34041 * sunrpc/pm_getport.c: Likewise.
34042 * sunrpc/pmap_clnt.c: Likewise.
34043 * sunrpc/pmap_prot.c: Likewise.
34044 * sunrpc/pmap_prot2.c: Likewise.
34045 * sunrpc/pmap_rmt.c: Likewise.
34046 * sunrpc/publickey.c: Likewise.
34047 * sunrpc/rpc_cmsg.c: Likewise.
34048 * sunrpc/rpc_common.c: Likewise.
34049 * sunrpc/rpc_dtable.c: Likewise.
34050 * sunrpc/rpc_prot.c: Likewise.
34051 * sunrpc/rpc_thread.c: Likewise.
34052 * sunrpc/rtime.c: Likewise.
34053 * sunrpc/svc.c: Likewise.
34054 * sunrpc/svc_auth.c: Likewise.
34055 * sunrpc/svc_raw.c: Likewise.
34056 * sunrpc/svc_run.c: Likewise.
34057 * sunrpc/svc_tcp.c: Likewise.
34058 * sunrpc/svc_udp.c: Likewise.
34059 * sunrpc/svc_unix.c: Likewise.
34060 * sunrpc/svcauth_des.c: Likewise.
34061 * sunrpc/xcrypt.c: Likewise.
34062 * sunrpc/xdr.c: Likewise.
34063 * sunrpc/xdr_array.c: Likewise.
34064 * sunrpc/xdr_float.c: Likewise.
34065 * sunrpc/xdr_intXX_t.c: Likewise.
34066 * sunrpc/xdr_mem.c: Likewise.
34067 * sunrpc/xdr_rec.c: Likewise.
34068 * sunrpc/xdr_ref.c: Likewise.
34069 * sunrpc/xdr_sizeof.c: Likewise.
34070 * sunrpc/xdr_stdio.c: Likewise.
34071
34072 2012-05-10 Roland McGrath <roland@hack.frob.com>
34073
34074 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
34075 change. Update copyright years.
34076
34077 2012-05-10 Joseph Myers <joseph@codesourcery.com>
34078
34079 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
34080
34081 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
34082 Joseph Myers <joseph@codesourcery.com>
34083 Paul Pluzhnikov <ppluzhnikov@google.com>
34084
34085 [BZ #14012]
34086 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
34087 requiring rpcgen.
34088 [cross-compiling] (extra-libs): Likewise.
34089 [cross-compiling] (extra-libs-others): Likewise.
34090 [cross-compiling] (librpcsvc-routines): Likewise.
34091 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
34092 [cross-compiling] (omit-deps): Likewise.
34093 (sunrpc-CPPFLAGS): New variable.
34094 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
34095 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
34096 (cross-rpcgen-objs): New variable.
34097 (extra-objs): Append $(cross-rpcgen-objs).
34098 ($(cross-rpcgen-objs)): New rule.
34099 ($(objpfx)cross-rpcgen): Likewise.
34100 (rpcgen-cmd): Define to use $(built-program-file). Expand
34101 comment.
34102 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
34103 ($(objpfx)x%.stmp): Likewise.
34104 * sunrpc/proto.h [IS_IN_build] (_): Define.
34105 [IS_IN_build] (_libc_intl_domainname): Likewise.
34106
34107 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34108
34109 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
34110 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
34111 and R_X86_64_TPOFF64.
34112
34113 2012-05-10 Joseph Myers <joseph@codesourcery.com>
34114
34115 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
34116 sysdeps/unix/sysv/syscalls.list.
34117 (stime): Likewise.
34118 (utime): Likewise.
34119 * sysdeps/unix/sysv/syscalls.list: Remove file.
34120
34121 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
34122
34123 [BZ #3440]
34124 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
34125 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
34126 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
34127 (__LC_IDENTIFICATION): Make these macros useful in #if
34128 expressions, as required by C99.
34129
34130 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
34131
34132 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
34133 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
34134 after this.
34135
34136 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
34137
34138 * stdlib/longlong.h: Updated from GCC.
34139
34140 2012-05-09 Andreas Jaeger <aj@suse.de>
34141
34142 * nscd/nscd.c (run_modes): Make named enum, reorder so that
34143 default is first entry.
34144 (run_mode): Set type.
34145 (main): Remove informal message about syslog.
34146 (options): Fix typo.
34147
34148 [BZ #14053]
34149 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
34150 to asm.
34151 (lrint): Likewise.
34152 (llrintf): Likewise.
34153 (llrint): Likewise.
34154 (rint): Likewise.
34155 (rintf): Likewise.
34156 (nearbyint): Likewise.
34157 (nearbyintf): Likewise.
34158
34159 2012-05-09 Andreas Jaeger <aj@suse.de>
34160 Pedro Alves <palves@redhat.com>
34161
34162 * nscd/nscd.c (run_mode): Use enum.
34163 (main): Cleanup coding style issue.
34164
34165 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
34166 Andreas Jaeger <aj@suse.de>
34167
34168 * nscd/nscd.c (go_background): Replaced with...
34169 (run_mode): ... this.
34170 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
34171 (options): Add -F --foreground.
34172 (main): Implement it.
34173 (parse_opt): Parse it.
34174
34175 2012-05-09 Andreas Jaeger <aj@suse.de>
34176
34177 [BZ #14083]
34178 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
34179 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
34180 -Wconversion warning.
34181 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
34182 Likewise.
34183
34184 2012-05-09 Joseph Myers <joseph@codesourcery.com>
34185
34186 * conform/data/locale.h-data (NULL): Use macro-constant. Require
34187 == 0.
34188 (LC_ALL): Use macro-int-constant.
34189 (LC_COLLATE): Likewise.
34190 (LC_CTYPE): Likewise.
34191 (LC_MESSAGES): Likewise.
34192 (LC_MONETARY): Likewise.
34193 (LC_NUMERIC): Likewise.
34194 (LC_TIME): Likewise.
34195 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
34196 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34197 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34198 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
34199 Specify type.
34200 [C99-based standards] (float_t): Expect type.
34201 [C99-based standards] (double_t): Expect type.
34202 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
34203 type.
34204 [C99-based standards] (HUGE_VALL): Likewise.
34205 [C99-based standards] (INFINITY): Likewise.
34206 [C99-based standards] (NAN): Likewise.
34207 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
34208 [C99-based standards] (FP_NAN): Likewise.
34209 [C99-based standards] (FP_NORMAL): Likewise.
34210 [C99-based standards] (FP_SUBNORMAL): Likewise.
34211 [C99-based standards] (FP_ZERO): Likewise.
34212 [C99-based standards] (FP_FAST_FMA): Use
34213 optional-macro-int-constant. Specify type. Require == 1.
34214 [C99-based standards] (FP_FAST_FMAF): Likewise.
34215 [C99-based standards] (FP_FAST_FMAL): Likewise.
34216 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
34217 [C99-based standards] (FP_ILOGBNAN): Likewise.
34218 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
34219 Specify type.
34220 [C99-based standards] (MATH_ERREXCEPT): Likewise.
34221 [C99-based standards] (math_errhandling): Specify type.
34222 [ISO99 || ISO11] (signgam): Do not allow.
34223 [non-C99-based standards] (copysignf): Do not allow.
34224 [non-C99-based standards] (exp2f): Likewise.
34225 [non-C99-based standards] (log2f): Likewise.
34226 [non-C99-based standards] (modff): Allow.
34227 [non-C99-based standards] (erff): Do not allow.
34228 [non-C99-based standards] (erfcf): Likewise.
34229 [non-C99-based standards] (gammaf): Likewise.
34230 [non-C99-based standards] (hypotf): Likewise.
34231 [non-C99-based standards] (j0f): Likewise.
34232 [non-C99-based standards] (j1f): Likewise.
34233 [non-C99-based standards] (jnf): Likewise.
34234 [non-C99-based standards] (lgammaf): Likewise.
34235 [non-C99-based standards] (tgammaf): Likewise.
34236 [non-C99-based standards] (y0f): Likewise.
34237 [non-C99-based standards] (y1f): Likewise.
34238 [non-C99-based standards] (ynf): Likewise.
34239 [non-C99-based standards] (isnanf): Likewise.
34240 [non-C99-based standards] (acoshf): Likewise.
34241 [non-C99-based standards] (asinhf): Likewise.
34242 [non-C99-based standards] (atanhf): Likewise.
34243 [non-C99-based standards] (cbrtf): Likewise.
34244 [non-C99-based standards] (expm1f): Likewise.
34245 [non-C99-based standards] (ilogbf): Likewise.
34246 [non-C99-based standards] (log1pf): Likewise.
34247 [non-C99-based standards] (logbf): Likewise.
34248 [non-C99-based standards] (nextafterf): Likewise.
34249 [non-C99-based standards] (remainderf): Likewise.
34250 [non-C99-based standards] (rintf): Likewise.
34251 [non-C99-based standards] (scalbf): Likewise.
34252 [non-C99-based standards] (copysignl): Likewise.
34253 [non-C99-based standards] (exp2l): Likewise.
34254 [non-C99-based standards] (log2l): Likewise.
34255 [non-C99-based standards] (modfl): Allow.
34256 [non-C99-based standards] (erfl): Do not allow.
34257 [non-C99-based standards] (erfcl): Likewise.
34258 [non-C99-based standards] (gammal): Likewise.
34259 [non-C99-based standards] (hypotl): Likewise.
34260 [non-C99-based standards] (j0l): Likewise.
34261 [non-C99-based standards] (j1l): Likewise.
34262 [non-C99-based standards] (jnl): Likewise.
34263 [non-C99-based standards] (lgammal): Likewise.
34264 [non-C99-based standards] (tgammal): Likewise.
34265 [non-C99-based standards] (y0l): Likewise.
34266 [non-C99-based standards] (y1l): Likewise.
34267 [non-C99-based standards] (ynl): Likewise.
34268 [non-C99-based standards] (isnanl): Likewise.
34269 [non-C99-based standards] (acoshl): Likewise.
34270 [non-C99-based standards] (asinhl): Likewise.
34271 [non-C99-based standards] (atanhl): Likewise.
34272 [non-C99-based standards] (cbrtl): Likewise.
34273 [non-C99-based standards] (expm1l): Likewise.
34274 [non-C99-based standards] (ilogbl): Likewise.
34275 [non-C99-based standards] (log1pl): Likewise.
34276 [non-C99-based standards] (logbl): Likewise.
34277 [non-C99-based standards] (nextafterl): Likewise.
34278 [non-C99-based standards] (remainderl): Likewise.
34279 [non-C99-based standards] (rintl): Likewise.
34280 [non-C99-based standards] (scalbl): Likewise.
34281 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34282 [non-C99-based standards] (FP_*): Do not allow.
34283 [C99-based standards] (FP_*): Change to
34284 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34285 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34286 allow.
34287 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
34288 (SIG_ERR): Likewise.
34289 [X/Open-based standards] (SIG_HOLD): Likewise.
34290 (SIG_IGN): Likewise.
34291 (SIGABRT): Use macro-int-constant. Specify type. Require
34292 positive value.
34293 (SIGFPE): Likewise.
34294 (SIGILL): Likewise.
34295 (SIGINT): Likewise.
34296 (SIGSEGV): Likewise.
34297 (SIGTER): Likewise.
34298 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
34299 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
34300 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
34301 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
34302 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
34303 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
34304 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
34305 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
34306 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
34307 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
34308 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
34309 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
34310 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
34311 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
34312 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
34313 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
34314 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
34315 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
34316 [X/Open-based standards] (SIGTRAP): Likewise.
34317 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
34318 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
34319 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
34320 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
34321 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34322 allow.
34323
34324 2012-05-08 Ian Wienand <ianw@vmware.com>
34325
34326 [BZ #14080]
34327 * time/tzset.c (__tzset_parse_tz): Update default rules for
34328 daylight time changes in the Energy Policy Act of 2005.
34329
34330 2012-05-09 Andreas Jaeger <aj@suse.de>
34331
34332 [BZ #13983]
34333 * elf/ldconfig.c (parse_conf): Change string to make clear that
34334 ldconfig only issued a warning if ld.so.conf does not exist.
34335
34336 2012-05-08 David S. Miller <davem@davemloft.net>
34337
34338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
34339 movxtod instead of popping the value on the stack.
34340
34341 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34342
34343 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
34344
34345 * config.h.in: Add HAVE_ARM_PCS_VFP.
34346
34347 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
34348
34349 [BZ #13979]
34350 * include/features.h: Warn if user requests __FORTIFY_SOURCE
34351 checking but the checks are disabled for any reason.
34352
34353 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
34354
34355 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
34356 and ELF64_R_TYPE with ELFW(R_TYPE).
34357
34358 2012-05-08 Joseph Myers <joseph@codesourcery.com>
34359
34360 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
34361 (ulimit): Likewise.
34362
34363 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
34364 (settimeofday): Likewise.
34365
34366 2012-05-08 Mike Frysinger <vapier@gentoo.org>
34367
34368 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
34369 a struct th_u2 inside the union, and move tu_block/tu_code into
34370 a new th_u3 union of tu_block/tu_code inside of that. Move
34371 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
34372 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
34373 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
34374 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
34375 (th_stuff): Change to th_u1.tu_stuff.
34376 (th_data): Define.
34377 (th_msg): Change to th_u1.th_u2.tu_data.
34378
34379 2012-05-07 David S. Miller <davem@davemloft.net>
34380
34381 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34382
34383 [BZ #14074]
34384 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
34385 (SETUP_PIC_REG): Use it.
34386 (SETUP_PIC_REG_LEAF): Use it.
34387
34388 2012-05-07 Joseph Myers <joseph@codesourcery.com>
34389
34390 [BZ #13885]
34391 [BZ #13923]
34392 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34393 USE_AS_EXPM1L.
34394 (EXPL_FINITE): Likewise.
34395 (FLDLOG): Likewise.
34396 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34397 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34398 e_expl.S.
34399 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34400 USE_AS_EXPM1L.
34401 (EXPL_FINITE): Likewise.
34402 (FLDLOG): Likewise.
34403 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34404 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34405 e_expl.S.
34406 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
34407 test of -max_value argument for long double.
34408 * sysdeps/i386/fpu/libm-test-ulps: Update.
34409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34410
34411 2012-05-06 David S. Miller <davem@davemloft.net>
34412
34413 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
34414 quad soft-float symbols whose references which are compiler
34415 generated.
34416 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34417
34418 2012-05-06 Joseph Myers <joseph@codesourcery.com>
34419
34420 [BZ #13884]
34421 [BZ #13914]
34422 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34423 USE_AS_EXP10L.
34424 (EXPL_FINITE): Likewise.
34425 (FLDLOG): Likewise.
34426 (c0): Likewise.
34427 (c1): Likewise.
34428 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34429 Adjust comments for base varying.
34430 (__expl_finite): Change alias to EXPL_FINITE.
34431 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
34432 e_expl.S.
34433 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
34434 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
34435 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
34436 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
34437 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34438 USE_AS_EXP10L.
34439 (EXPL_FINITE): Likewise.
34440 (FLDLOG): Likewise.
34441 (c0): Likewise.
34442 (c1): Likewise.
34443 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34444 Adjust comments for base varying.
34445 (__expl_finite): Change alias to EXPL_FINITE.
34446 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
34447 tests for bugs.
34448 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34449
34450 [BZ #14064]
34451 * math/libm-test.inc (check_float_internal): Correct ulp
34452 calculation for subnormal expected results.
34453
34454 2012-05-06 Andreas Jaeger <aj@suse.de>
34455
34456 * Makeconfig (+math-flags): New, set to -frounding-math.
34457 (+cflags): Add +math-flags so that all of glibc gets compiled with
34458 it.
34459
34460 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
34461
34462 2012-05-05 Joseph Myers <joseph@codesourcery.com>
34463
34464 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
34465 Disable one test.
34466
34467 [BZ #13787]
34468 [BZ #13922]
34469 [BZ #14036]
34470 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
34471 (__ieee754_expl): Allow for and saturate large arguments.
34472 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
34473 (u_threshold): Likewise.
34474 (__exp): Call __ieee754_exp before checking for overflow and
34475 underflow.
34476 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
34477 (u_threshold): Likewise.
34478 (__expf): Call __ieee754_expf before checking for overflow and
34479 underflow.
34480 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
34481 (u_threshold): Likewise.
34482 (__expl): Call __ieee754_expl before checking for overflow and
34483 underflow.
34484 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
34485 (__ieee754_expl): Allow for and saturate large arguments.
34486 * math/libm-test.inc (exp_test): Add another test. Do not allow
34487 missing overflow exception on overflow.
34488 (expm1_test): Do not allow missing overflow exception on overflow.
34489
34490 * sysdeps/i386/fpu/e_expl.c: Move to ...
34491 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
34492 rather than using inline asm.
34493 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
34494 * sysdeps/x86_64/fpu/e_expl.S: Copy from
34495 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
34496
34497 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
34498 (nice): Likewise.
34499 (poll): Likewise.
34500 (signal): Likewise.
34501 (time): Likewise.
34502 (times): Likewise.
34503
34504 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34505
34506 * sysdeps/unix/syscalls.list (adjtime): Add entry from
34507 sysdeps/unix/common/syscalls.list.
34508 (fchmod): Likewise.
34509 (fchown): Likewise.
34510 (ftruncate): Likewise.
34511 (getrusage): Likewise.
34512 (gettimeofday): Likewise.
34513 (setpgid): Likewise.
34514 (setregid): Likewise.
34515 (setreuid): Likewise.
34516 (sigaction): Likewise.
34517 (truncate): Likewise.
34518 (vhangup): Likewise.
34519 * sysdeps/unix/common/syscalls.list: Remove file.
34520 * sysdeps/unix/bsd/Implies: Don't include unix/common.
34521 * sysdeps/unix/sysv/linux/Implies: Likewise.
34522
34523 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
34524
34525 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
34526 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
34527 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
34528 Moved to ...
34529 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
34530 Here.
34531 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
34532 to ...
34533 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
34534 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
34535 to ...
34536 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
34537 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
34538 to ...
34539 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
34540 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
34541 to ...
34542 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
34543 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
34544 to ...
34545 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
34546 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
34547 to ...
34548 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
34549 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
34550 to ...
34551 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
34552 Here.
34553 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
34554 to ...
34555 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
34556 Here.
34557 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
34558 to ...
34559 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
34560 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
34561 Moved to ...
34562 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
34563 Here.
34564 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
34565 to ...
34566 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
34567
34568 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34569
34570 * sysdeps/unix/common/bits/dirent.h: Remove file.
34571 * sysdeps/unix/common/bits/fcntl.h: Likewise.
34572
34573 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
34574 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
34575 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
34576 * sysdeps/unix/bsd/isatty.c: Likewise.
34577 * sysdeps/unix/bsd/tcdrain.c: Likewise.
34578 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
34579 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
34580
34581 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34582
34583 [BZ #13563]
34584 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
34585 long double comparison inaccuracies.
34586 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
34587 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34588
34589 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
34590
34591 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
34592 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
34593
34594 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34595
34596 [BZ #14049]
34597 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
34598 nonzero digits before rounding a hex value.
34599 * stdlib/tst-strtod.c (tests): Add another test.
34600
34601 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34602
34603 * sysdeps/s390/fpu/libm-test-ulps: Update.
34604
34605 2012-05-03 Andreas Jaeger <aj@suse.de>
34606
34607 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
34608 does not get optimized out.
34609 (malloc_opt_barrier): New.
34610
34611 2012-05-03 Andreas Jaeger <aj@suse.de>
34612 Roland McGrath <roland@hack.frob.com>
34613
34614 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
34615 intermediate file deletion.
34616 (generated): Add .symlist files.
34617
34618 2012-05-03 Joseph Myers <joseph@codesourcery.com>
34619
34620 [BZ #13775]
34621 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
34622 Redirect under this condition.
34623 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34624 [__USE_GNU] (__dprintf_chk): Not under this condition.
34625 [__USE_GNU] (__vdprintf_chk): Likewise.
34626 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
34627 under this condition.
34628 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34629 [__USE_XOPEN2K8] (dprintf): Define under this condition.
34630 [__USE_XOPEN2K8] (vdprintf): Likewise.
34631 [__USE_GNU] (__dprintf_chk): Not under this condition.
34632 [__USE_GNU] (__vdprintf_chk): Likewise.
34633 [__USE_GNU] (dprintf): Likewise.
34634 [__USE_GNU] (vdprintf): Likewise.
34635
34636 2012-05-03 Roland McGrath <roland@hack.frob.com>
34637
34638 * elf/Makefile (common-generated): Set this instead of generated for
34639 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
34640 $(all-built-dso)-derived lists.
34641
34642 2012-05-03 Andreas Jaeger <aj@suse.de>
34643
34644 * sysdeps/i386/fpu/libm-test-ulps: Update.
34645
34646 * FAQ: Removed.
34647 * FAQ.in: Likewise.
34648 * scripts/gen-FAQ.pl: Likewise.
34649 * manual/install.texi (Installation): Point to online location of
34650 FAQ.
34651 * Makefile (files-for-dist): Remove FAQ.
34652 (FAQ): Remove.
34653
34654 2012-05-02 Allan McRae <allan@archlinux.org>
34655
34656 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
34657 (LDFLAGS-reldepmod5.so): Likewise.
34658 (LDFLAGS-reldep6mod1.so): Likewise.
34659 (LDFLAGS-reldep6mod4.so): Likewise.
34660 (LDFLAGS-reldep8mod3.so): Likewise.
34661 (LDFLAGS-unload4mod1.so): Likewise.
34662 (LDFLAGS-unload4mod2.so): Likewise.
34663 (LDFLAGS-tst-initorder): Likewise.
34664 (LDFLAGS-tst-initordera2.so): Likewise.
34665 (LDFLAGS-tst-initordera3.so): Likewise.
34666 (LDFLAGS-tst-initordera4.so): Likewise.
34667 (LDFLAGS-tst-initorderb2.so): Likewise.
34668 (LDFLAGS-noload): Likewise.
34669 (LDFLAGS-next): Likewise.
34670 (LDFLAGS-order2mod1.so): Likewise.
34671 (LDFLAGS-order2mod2.so): Likewise.
34672 (LDFLAGS-tst-initorder2): Likewise.
34673 (LDFLAGS-tst-initorder2a.so): Likewise.
34674 (LDFLAGS-tst-initorder2b.so): Likewise.
34675 (LDFLAGS-tst-initorder2c.so): Likewise.
34676 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
34677
34678 2012-05-02 David S. Miller <davem@davemloft.net>
34679
34680 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34681
34682 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
34683
34684 [BZ #14055]
34685 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
34686
34687 2012-05-02 Andreas Jaeger <aj@suse.de>
34688
34689 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
34690 since we manipulate rounding mode.
34691 (CPPFLAGS-test-idouble.c): Likewise.
34692 (CPPFLAGS-test-ifloat.c): Likewise.
34693 (CFLAGS-test-ldouble.c): Likewise.
34694 (CFLAGS-test-double.c): Likewise.
34695 (CFLAGS-test-float.c): Likewise.
34696 (CFLAGS-test-misc.c): Likewise.
34697 (CFLAGS-test-test-fenv.c): Likewise.
34698
34699 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34700
34701 [BZ #2550]
34702 [BZ #2570]
34703 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
34704 comparisons to determine direction to adjust input.
34705
34706 2012-05-01 Roland McGrath <roland@hack.frob.com>
34707
34708 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
34709 output to the target.
34710
34711 * scripts/localplt.awk: New file.
34712 * elf/Makefile ($(objpfx)check-localplt): Target removed.
34713 (check-localplt-CFLAGS): Variable removed.
34714 ($(all-built-dso:=.jmprel)): New static pattern rule.
34715 (generated): Add those targets.
34716 (localplt-built-dso): New variable.
34717 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
34718
34719 * elf/check-localplt.c: File removed.
34720
34721 * scripts/check-execstack.awk: New file.
34722 * elf/Makefile ($(objpfx)check-execstack): Target removed.
34723 (check-execstack-CFLAGS): Variable removed.
34724 ($(objpfx)check-execstack.h): Target removed.
34725 ($(objpfx)execstack-default): New target.
34726 (generated): Add that instead of check-execstack.h.
34727 ($(all-built-dso:=.phdr)): New static pattern rule.
34728 (generated): Add those targets.
34729 * elf/check-execstack.c: File removed.
34730
34731 * scripts/check-textrel.awk: New file.
34732 * elf/Makefile ($(objpfx)check-textrel): Target removed.
34733 (check-textrel-CFLAGS): Variable removed.
34734 (all-built-dso): Use := to define.o
34735 ($(all-built-dso:=.dyn)): New static pattern rule.
34736 (generated): Add those targets.
34737 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
34738 * config.make.in (READELF): New substituted variable.
34739 * elf/check-textrel.c: File removed.
34740
34741 2012-05-01 Joseph Myers <joseph@codesourcery.com>
34742
34743 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34744 allow.
34745 * conform/data/ctype.h-data [C99-based standards] (isblank):
34746 Expect function.
34747 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
34748 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
34749 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34750 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
34751 Specify type. Require positive value.
34752 (EILSEQ): Likewise.
34753 (ERANGE): Likewise.
34754 [ISO || POSIX] (EILSEQ): Do not expect.
34755 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
34756 Specify type. Require positive value.
34757 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
34758 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
34759 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
34760 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
34761 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
34762 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
34763 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
34764 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
34765 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
34766 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
34767 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
34768 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
34769 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
34770 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
34771 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
34772 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
34773 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
34774 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
34775 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
34776 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
34777 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
34778 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
34779 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
34780 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
34781 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
34782 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
34783 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
34784 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
34785 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
34786 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
34787 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
34788 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
34789 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
34790 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
34791 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
34792 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
34793 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
34794 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
34795 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
34796 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
34797 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
34798 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
34799 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
34800 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
34801 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
34802 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
34803 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
34804 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
34805 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
34806 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
34807 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
34808 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
34809 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
34810 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
34811 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
34812 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
34813 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
34814 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
34815 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
34816 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
34817 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
34818 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
34819 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
34820 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
34821 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
34822 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
34823 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
34824 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
34825 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
34826 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
34827 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
34828 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
34829 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
34830 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
34831 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
34832 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
34833 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
34834 Require >= 2.
34835 (FLT_ROUNDS): Expect as macro, not constant.
34836 (FLT_MANT_DIG): Use macro-int-constant.
34837 (DBL_MANT_DIG): Likewise.
34838 (LDBL_MANT_DIG): Likewise.
34839 (FLT_DIG): Likewise.
34840 (DBL_DIG): Likewise.
34841 (LDBL_DIG): Likewise.
34842 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
34843 (DBL_MIN_EXP): Likewise.
34844 (LDBL_MIN_EXP): Likewise.
34845 (FLT_MAX_EXP): Use macro-int-constant.
34846 (DBL_MAX_EXP): Likewise.
34847 (LDBL_MAX_EXP): Likewise.
34848 (FLT_MAX_10_EXP): Likewise.
34849 (DBL_MAX_10_EXP): Likewise.
34850 (LDBL_MAX_10_EXP): Likewise.
34851 (FLT_MAX): Use macro-constant.
34852 (DBL_MAX): Likewise.
34853 (LDBL_MAX): Likewise.
34854 (FLT_EPSILON): Use macro-constant. Give upper bound.
34855 (DBL_EPSILON): Likewise.
34856 (LDBL_EPSILON): Likewise.
34857 (FLT_MIN): Likewise.
34858 (DBL_MIN): Likewise.
34859 (LDBL_MIN): Likewise.
34860 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
34861 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
34862 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
34863 [ISO11] (FLT_HAS_SUBNORM): Likewise.
34864 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
34865 [ISO11] (DBL_DECIMAL_DIG): Likewise.
34866 [ISO11] (FLT_DECIMAL_DIG): Likewise.
34867 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
34868 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
34869 [ISO11] (FLT_TRUE_MIN): Likewise.
34870 [ISO11] (LDBL_TRUE_MIN): Likewise.
34871 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34872 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
34873 (SCHAR_MIN): Use macro-int-constant. Specify type.
34874 (SCHAR_MAX): Likewise.
34875 (UCHAR_MAX): Likewise.
34876 (CHAR_MIN): Likewise.
34877 (CHAR_MAX): Likewise.
34878 (MB_LEN_MAX): Use macro-int-constant.
34879 (SHRT_MIN): Use macro-int-constant. Specify type.
34880 (SHRT_MAX): Likewise.
34881 (USHRT_MAX): Likewise.
34882 (INT_MAX): Likewise.
34883 (INT_MIN): Use macro-int-constant. Specify type. Make upper
34884 bound negative.
34885 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
34886 bound with "U".
34887 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34888 bound with "L".
34889 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
34890 bound negative. Suffix upper bound with "L".
34891 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34892 bound with "UL".
34893 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
34894 Specify type.
34895 [C99-based standards] (LLONG_MAX): Likewise.
34896 [C99-based standards] (ULLONG_MAX): Likewise.
34897 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
34898 == 0.
34899 [ISO11] (max_align_t): Require type.
34900 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34901
34902 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
34903 from $CFLAGS, without defining away __attribute__ calls.
34904 (checknamespace): Use $CFLAGS_namespace.
34905
34906 * conform/conformtest.pl (@keywords): Only include C99 keywords
34907 for standards based on C99 or C11.
34908
34909 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
34910 Disable tests.
34911 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
34912 UNIX98]: Likewise.
34913
34914 * conform/conformtest.pl: Handle "macro-int-constant" and test for
34915 usability of symbols in #if.
34916
34917 * conform/conformtest.pl: If macro or constant types start
34918 "promoted:", expect the symbol to be of the following type
34919 promoted by the integer promotions.
34920
34921 * conform/conformtest.pl: Parse all "constant" and "macro" lines
34922 in one place. Also handle "macro-constant".
34923
34924 * conform/conformtest.pl: Only accept expected macro values with
34925 "==". Parse all "macro" lines in one place.
34926 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
34927
34928 * conform/conformtest.pl: Handle braced types on "constant" lines
34929 instead of handling "typed-constant".
34930 * conform/data/signal.h-data: Use "constant" instead of
34931 "typed-constant".
34932
34933 * conform/conformtest.pl: Handle "optional-" at start of lines in
34934 one place rather than duplicating several cases. Handle each
34935 format of "macro" line with initial "optional-".
34936
34937 * conform/conformtest.pl: Only accept expected constant or
34938 optional-constant values with "==". Parse all "constant" lines in
34939 one place. Parse all "optional-constant" lines in one place.
34940 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
34941 * conform/data/fmtmsg.h-data: Likewise.
34942 * conform/data/netinet/in.h-data: Likewise.
34943 * conform/data/tar.h-data: Likewise.
34944 * conform/data/limits.h-data: Use "==" form on "constant" and
34945 "optional-constant" lines.
34946
34947 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
34948 Use -std=c99 for XOPEN2K.
34949 (@knownproblems): Remove.
34950 (newtoken): Don't check %isknown.
34951
34952 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
34953 Do not expect macro.
34954 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
34955 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
34956 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
34957 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
34958 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
34959 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
34960 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
34961 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
34962 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
34963 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
34964 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
34965 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
34966 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
34967 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
34968 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
34969 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
34970 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
34971 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
34972 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
34973 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
34974 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
34975 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
34976 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
34977 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
34978 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
34979 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
34980 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
34981 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
34982 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
34983 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
34984 [XPG3] (acosh): Likewise.
34985 [XPG3] (asinh): Likewise.
34986 [XPG3] (atanh): Likewise.
34987 [XPG3] (cbrt): Likewise.
34988 [XPG3] (expm1): Likewise.
34989 [XPG3] (ilogb): Likewise.
34990 [XPG3] (log1p): Likewise.
34991 [XPG3] (logb): Likewise.
34992 [XPG3] (nextafter): Likewise.
34993 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
34994 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
34995 [XPG3] (remainder): Likewise.
34996 [XPG3] (rint): Likewise.
34997 [XPG3 || XPG4 || UNIX98] (round): Likewise.
34998 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
34999 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
35000 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
35001 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
35002 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
35003 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
35004 [UNIX98 || XOPEN2K] (scalb): Expect.
35005 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
35006 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
35007 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
35008 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
35009 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
35010 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
35011 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
35012 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
35013 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
35014 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
35015 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
35016 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
35017 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
35018 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
35019 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
35020 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
35021 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
35022 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
35023 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
35024 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
35025 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
35026 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
35027 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
35028 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
35029 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
35030 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
35031 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
35032 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
35033 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
35034 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
35035 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
35036 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
35037 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
35038 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
35039 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
35040 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
35041 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
35042 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
35043 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
35044 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
35045 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
35046 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
35047 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
35048 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
35049 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
35050 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
35051 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
35052 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
35053 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
35054 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
35055 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
35056 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
35057 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
35058 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
35059 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
35060 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
35061 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
35062 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
35063 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
35064 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
35065 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
35066 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
35067 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
35068 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
35069 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
35070 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
35071 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
35072 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
35073 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
35074 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
35075 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
35076 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
35077 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
35078 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
35079 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
35080 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
35081 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
35082 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
35083 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
35084 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
35085 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
35086 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
35087 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
35088 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
35089 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
35090 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
35091 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
35092 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
35093 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
35094 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
35095 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
35096 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
35097 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
35098 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
35099 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
35100 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
35101 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
35102 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
35103 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
35104 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
35105 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
35106 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
35107 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
35108 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
35109 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
35110 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
35111 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
35112 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
35113 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
35114 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
35115 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
35116 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
35117 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
35118 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
35119 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
35120 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
35121 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
35122 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
35123 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
35124 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
35125 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
35126 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
35127 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
35128 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
35129 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
35130 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
35131 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
35132 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
35133 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
35134 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
35135 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
35136 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
35137 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
35138 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
35139 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
35140 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
35141 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
35142
35143 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
35144 _XOPEN_SOURCE_EXTENDED for XPG4.
35145
35146 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
35147
35148 * Makeconfig (localtime): Remove variable.
35149 (inst_localtime-file): Likewise.
35150
35151 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
35152
35153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
35154 Update.
35155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35156 Update.
35157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
35158 Update.
35159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
35160 Update.
35161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
35162 Update.
35163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
35164 Update.
35165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35166 Update.
35167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
35168 Update.
35169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35170 Update.
35171
35172 2012-05-01 Joseph Myers <joseph@codesourcery.com>
35173
35174 [BZ #2550]
35175 [BZ #2570]
35176 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
35177 comparisons to determine direction to adjust input.
35178 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
35179 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
35180 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35181 Likewise.
35182 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35183 Likewise.
35184 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35185 Likewise.
35186 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35187 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35188 Likewise.
35189 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35190 Likewise.
35191 * math/libm-test.inc (nexttoward_test): Add more tests.
35192
35193 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
35194
35195 [BZ #14040]
35196 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
35197 in version GLIBC_2.1, not GLIBC_2.0.
35198 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
35199 Likewise.
35200
35201 2012-04-30 Joseph Myers <joseph@codesourcery.com>
35202
35203 [BZ #13942]
35204 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
35205 (1 - x) * (1 + x).
35206 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35207 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
35208 * math/libm-test.inc (acos_test): Add more tests.
35209 (asin_test): Likewise.
35210 * sysdeps/i386/fpu/libm-test-ulps: Update.
35211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35212
35213 [BZ #14034]
35214 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
35215 of square root.
35216 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
35217 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35218 * math/libm-test.inc (acos_test_tonearest): New function.
35219 (acos_test_towardzero): Likewise.
35220 (acos_test_downward): Likewise.
35221 (acos_test_upward): Likewise.
35222 (asin_test_tonearest): Likewise.
35223 (asin_test_towardzero): Likewise.
35224 (asin_test_downward): Likewise.
35225 (asin_test_upward): Likewise.
35226 (main): Call the new functions.
35227 * sysdeps/i386/fpu/libm-test-ulps: Update.
35228 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35229
35230 [BZ #13884]
35231 [BZ #13924]
35232 * math/e_exp10.c: Include <float.h>.
35233 (__ieee754_exp10): Handle underflow here rather than multiplying
35234 large negative argument by M_LN10.
35235 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
35236 of __ieee754_expf.
35237 * math/e_exp10l.c: Include <float.h>.
35238 (__ieee754_exp10l): Handle underflow here rather than multiplying
35239 large negative argument by M_LN10l.
35240 * math/libm-test.inc (exp10_test): Add another test. Do not allow
35241 spurious overflow exception on underflow.
35242
35243 2012-04-29 Marek Polacek <polacek@redhat.com>
35244
35245 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
35246 (__fortify_function): New macro.
35247 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
35248 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
35249 __extern_always_inline.
35250 * libio/bits/stdio2.h: Likewise.
35251 * libio/bits/stdio.h: Likewise.
35252 * string/string.h: Likewise.
35253 * string/bits/string3.h: Likewise.
35254 * include/stdio.h: Likewise.
35255 * stdlib/bits/stdlib.h: Likewise.
35256 * stdlib/stdlib.h: Likewise.
35257 * rt/bits/mqueue2.h: Likewise.
35258 * rt/mqueue.h: Likewise.
35259 * posix/bits/unistd.h: Likewise.
35260 * posix/unistd.h: Likewise.
35261 * io/bits/poll2.h: Likewise.
35262 * io/bits/fcntl2.h: Likewise.
35263 * io/fcntl.h: Likewise.
35264 * io/sys/poll.h: Likewise.
35265 * misc/bits/syslog.h: Likewise.
35266 * misc/bits/syslog-ldbl.h: Likewise.
35267 * misc/sys/syslog.h: Likewise.
35268 * socket/bits/socket2.h: Likewise.
35269 * socket/sys/socket.h: Likewise.
35270 * debug/tst-chk1.c: Likewise.
35271 * wcsmbs/bits/wchar2.h: Likewise.
35272 * wcsmbs/bits/wchar-ldbl.h: Likewise.
35273 * wcsmbs/wchar.h: Likewise.
35274
35275 2012-04-29 Andreas Jaeger <aj@suse.de>
35276
35277 * Makerules (tests): Remove enable-check-abi protection.
35278 (check-abi-warn): Remove.
35279 (check-abi-%): Remove check-abi-warn usage.
35280
35281 * configure.in: Remove check-abi configure option.
35282 * configure: Regenerated.
35283 * config.make.in (enable-check-abi): Remove.
35284
35285 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
35286
35287 [BZ #14033]
35288 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
35289 double functions to double *_finite functions.
35290
35291 [BZ #13941]
35292 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
35293 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
35294 LDBL_MIN_EXP.
35295 * stdio-common/Makefile (tests): Add tst-sprintf3.
35296 * stdio-common/tst-sprintf3.c: New file.
35297
35298 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
35299 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
35300
35301 2012-04-28 Joseph Myers <joseph@codesourcery.com>
35302
35303 * conform/conformtest.pl: Remove duplicate typed-constant
35304 handling.
35305
35306 2012-04-28 David S. Miller <davem@davemloft.net>
35307
35308 * Makerules (%.abilist): Add vpath on sysdep_dirs.
35309 (check-abi-%): Remove AWK script prerequisite and explicit
35310 abilist directory.
35311 (check-abi): Rewrite to just diff the symlist with the abilist.
35312 (config-tls, config-abi-config): Delete, no longer used.
35313 (update-abi-%): Remove AWK script and explicit abilist directory.
35314 (update-abi): Rewrite to simply compare and conditionally copy the
35315 symlist and the sysdep abilist file. Remove update-abi-config
35316 checks.
35317 * abilist/ld.abilist: Remove.
35318 * abilist/libBrokenLocale.abilist: Remove.
35319 * abilist/libanl.abilist: Remove.
35320 * abilist/libcrypt.abilist: Remove.
35321 * abilist/libdl.abilist: Remove.
35322 * abilist/librt.abilist: Remove.
35323 * abilist/libthread_db.abilist: Remove.
35324 * abilist/libutil.abilist: Remove.
35325 * scripts/extract-abilist.awk: Remove.
35326 * scripts/merge-abilist.awk: Remove.
35327 * sysdeps/generic/libcidn.abilist: New file.
35328 * sysdeps/generic/libnss_compat.abilist: New file.
35329 * sysdeps/generic/libnss_db.abilist: New file.
35330 * sysdeps/generic/libnss_dns.abilist: New file.
35331 * sysdeps/generic/libnss_files.abilist: New file.
35332 * sysdeps/generic/libnss_hesiod.abilist: New file.
35333 * sysdeps/generic/libnss_nis.abilist: New file.
35334 * sysdeps/generic/libnss_nisplus.abilist: New file.
35335 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
35336 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
35337 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
35338 file.
35339 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
35340 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
35341 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
35342 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
35343 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
35344 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
35345 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
35346 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
35347 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
35348 file.
35349 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
35350 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
35351 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
35352 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
35353 file.
35354 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
35355 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
35356 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
35357 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
35358 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
35359 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
35360 file.
35361 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
35362 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
35363 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
35364 file.
35365 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
35366 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
35367 New file.
35368 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
35369 New file.
35370 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
35371 New file.
35372 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
35373 New file.
35374 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
35375 New file.
35376 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
35377 New file.
35378 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
35379 New file.
35380 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
35381 New file.
35382 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
35383 New file.
35384 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
35385 New file.
35386 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
35387 New file.
35388 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
35389 New file.
35390 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
35391 New file.
35392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
35393 file.
35394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
35395 New file.
35396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
35397 New file.
35398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
35399 file.
35400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
35401 New file.
35402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
35403 New file.
35404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
35405 file.
35406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
35407 New file.
35408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35409 New file.
35410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
35411 New file.
35412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
35413 New file.
35414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
35415 New file.
35416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
35417 New file.
35418 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
35419 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
35420 file.
35421 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
35422 New file.
35423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
35424 file.
35425 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
35426 file.
35427 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
35428 file.
35429 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
35430 file.
35431 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
35432 file.
35433 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35434 New file.
35435 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
35436 file.
35437 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
35438 file.
35439 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
35440 New file.
35441 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
35442 file.
35443 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
35444 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
35445 file.
35446 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
35447 New file.
35448 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
35449 file.
35450 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
35451 file.
35452 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
35453 file.
35454 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
35455 file.
35456 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
35457 file.
35458 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35459 New file.
35460 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
35461 file.
35462 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
35463 file.
35464 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35465 New file.
35466 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
35467 file.
35468 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35469 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
35470 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
35471 file.
35472 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
35473 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
35474 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
35475 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
35476 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
35477 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
35478 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
35479 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
35480 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
35481 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
35482 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
35483 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
35484 file.
35485 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
35486 New file.
35487 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
35488 file.
35489 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
35490 file.
35491 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
35492 file.
35493 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
35494 file.
35495 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
35496 file.
35497 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35498 New file.
35499 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
35500 New file.
35501 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
35502 file.
35503 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
35504 New file.
35505 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
35506 file.
35507 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
35508 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
35509 file.
35510 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
35511 New file.
35512 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
35513 file.
35514 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
35515 file.
35516 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
35517 file.
35518 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
35519 file.
35520 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
35521 file.
35522 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35523 New file.
35524 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
35525 New file.
35526 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
35527 file.
35528 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
35529 New file.
35530 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
35531 file.
35532
35533 2012-04-28 Joseph Myers <joseph@codesourcery.com>
35534
35535 * conform/conformtest.pl: Fix typo in handling typed-constant from
35536 allow-header.
35537
35538 2012-04-27 Joseph Myers <joseph@codesourcery.com>
35539
35540 * README: Cut down references to pre-2.6 Linux kernels and
35541 Linuxthreads. Update lists of configurations in libc and ports
35542 and sort alphabetically. Say "or newer" with Linux kernel version
35543 requirements.
35544
35545 * config.h.in [IS_IN_build]: Allow compiling without optimization.
35546
35547 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35548
35549 [BZ #887]
35550 * math/libm-test.inc (logb_test_downward): New test to expose
35551 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
35552 rounding mode.
35553
35554 2012-04-27 Joseph Myers <joseph@codesourcery.com>
35555
35556 [BZ #14027]
35557 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
35558 to be done.
35559 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
35560 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
35561
35562 2012-04-26 Joseph Myers <joseph@codesourcery.com>
35563
35564 * sysdeps/unix/i386/brk.S: Remove file.
35565 * sysdeps/unix/i386/dl-brk.S: Likewise.
35566 * sysdeps/unix/i386/pipe.S: Likewise.
35567 * sysdeps/unix/i386/sigreturn.S: Likewise.
35568 * sysdeps/unix/i386/syscall.S: Likewise.
35569 * sysdeps/unix/i386/vfork.S: Likewise.
35570 * sysdeps/unix/i386/wait.S: Likewise.
35571
35572 * sysdeps/unix/common/tcsendbrk.c: Move to ...
35573 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
35574
35575 * configure.in (arm*-none*): Do not allow without
35576 --enable-hacker-mode.
35577 (netbsd*): Remove case setting base_os.
35578 (386bsd*): Likewise.
35579 (freebsd*): Likewise.
35580 (bsdi*): Likewise.
35581 (osf*): Likewise.
35582 (sunos*): Likewise.
35583 (ultrix*): Likewise.
35584 (newsos*): Likewise.
35585 (dynix*): Likewise.
35586 (*bsd*): Likewise.
35587 (sysv*): Likewise.
35588 (isc*): Likewise.
35589 (esix*): Likewise.
35590 (sco*): Likewise.
35591 (minix*): Likewise.
35592 (irix4*): Likewise.
35593 (irix6*): Likewise.
35594 (solaris[2-9]*): Likewise.
35595 (none): Likewise.
35596 * configure: Regenerated.
35597
35598 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35599
35600 [BZ #11521]
35601 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
35602 overflow or cancellation in calculating denominator.
35603 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
35604 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
35605 down expression to avoid unexpected rounding in newer GCCs.
35606 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
35607
35608 2012-04-26 David S. Miller <davem@davemloft.net>
35609
35610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
35611 long-double compat symbols.
35612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
35616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35617 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
35618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
35619 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
35620 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
35621 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
35622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
35623 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
35624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35625
35626 2012-04-25 David S. Miller <davem@davemloft.net>
35627
35628 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
35629 HWCAP_* values only after the memory barriers have been defined.
35630 (atomic_full_barrier): Define.
35631 (atomic_read_barrier): Define.
35632 (atomic_write_barrier): Define.
35633
35634 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35635
35636 * shlib-versions: Add libgcc_s version information.
35637 * sysdeps/generic/libgcc_s.h: Remove.
35638 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
35639 libgcc_s.h.
35640 * sysdeps/gnu/unwind-resume.c: Likewise.
35641 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
35642
35643 2012-04-25 David S. Miller <davem@davemloft.net>
35644
35645 * sysdeps/unix/sparc/brk.S: Delete.
35646 * sysdeps/unix/sparc/dl-brk.S: Delete.
35647 * sysdeps/unix/sparc/pipe.S: Delete.
35648 * sysdeps/unix/sparc/sysdep.S: Delete.
35649 * sysdeps/unix/sparc/sysdep.h: Delete.
35650 * sysdeps/unix/sparc/vfork.S: Delete.
35651 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
35652 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
35653 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
35654 (ret_ERRVAL, r0, r1, MOVE): Define.
35655 (JUMPTARGET): Remove.
35656 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
35657 sysdeps/unix/sparc/sysdep.h
35658 (ENTRY, END): Remove.
35659 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35660
35661 2012-04-25 Joseph Myers <joseph@codesourcery.com>
35662
35663 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
35664 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
35665 -DIS_IN_build.
35666
35667 * timezone/README: Update upstream location and email address for
35668 tzcode and tzdata.
35669 * timezone/zdump.c: Update from tzcode 2012b.
35670 * timezone/zic.c: Likewise.
35671
35672 * configure.in (libc_cv_as_needed): Remove test.
35673 * configure: Regenerated.
35674 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
35675 conditional definition.
35676 [$(have-as-needed) != yes] (no-as-needed): Likewise.
35677 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
35678 * config.make.in (have-as-needed): Remove variable.
35679
35680 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35681 Paul Pluzhnikov <ppluzhnikov@google.com>
35682
35683 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
35684 strings correctly.
35685
35686 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
35687
35688 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
35689 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
35690 * sysdeps/sh/strlen.S: Likewise.
35691
35692 2012-04-24 Joseph Myers <joseph@codesourcery.com>
35693
35694 * sysdeps/unix/fork.S: Remove file.
35695 * sysdeps/unix/i386/fork.S: Likewise.
35696 * sysdeps/unix/sparc/fork.S: Likewise.
35697
35698 * sysdeps/unix/system.c: Remove file.
35699 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
35700
35701 * sysdeps/unix/getegid.S: Remove file.
35702 * sysdeps/unix/geteuid.S: Likewise.
35703
35704 2012-04-24 Roland McGrath <roland@hack.frob.com>
35705
35706 * scripts/check-localplt.awk: New file.
35707 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
35708 of diff.
35709 * scripts/data/localplt-generic.data: Add a comment.
35710
35711 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
35712 NODE when __dir_mkfile failed.
35713 * sysdeps/mach/hurd/symlinkat.c: Likewise.
35714 Reported by Ludovic Courtès <ludo@gnu.org>.
35715
35716 2012-04-24 Andreas Jaeger <aj@suse.de>
35717
35718 * Makerules (common-clean): Also remove gen-as-const-headers
35719 files.
35720
35721 2012-04-24 Joseph Myers <joseph@codesourcery.com>
35722
35723 * Makerules (native-compile): Do not change working directory for
35724 build. Use $(OUTPUT_OPTION) in command.
35725 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
35726
35727 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35728
35729 [BZ #13886]
35730 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
35731 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
35732 * math/libm-test.inc (floor_test): Add more tests.
35733 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
35734
35735 2012-04-24 Joseph Myers <joseph@codesourcery.com>
35736
35737 * sysdeps/unix/getdents.c: Remove file.
35738 * sysdeps/unix/sysv/getdents.c: Likewise.
35739 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
35740
35741 * sysdeps/unix/syscalls.list (madvise): Add syscall from
35742 sysdeps/unix/mman/syscalls.list.
35743 (mmap): Likewise.
35744 (mprotect): Likewise.
35745 (msync): Likewise.
35746 (munmap): Likewise.
35747 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
35748 * sysdeps/unix/mman/syscalls.list: Remove.
35749 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
35750
35751 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
35752 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
35753 * configure: Regenerated.
35754 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
35755 $(libgcc_s_suffix).
35756 * config.make.in (libgcc_s_suffix): Remove variable.
35757
35758 2012-04-23 Joseph Myers <joseph@codesourcery.com>
35759
35760 * sysdeps/unix/sysv/gethostname.c: Move to ...
35761 * sysdeps/posix/gethostname.c: ... here.
35762
35763 * sysdeps/unix/execve.S: Remove file.
35764
35765 * sysdeps/unix/_exit.S: Remove file.
35766
35767 2012-04-23 Andreas Jaeger <aj@suse.de>
35768
35769 [BZ #13739]
35770 * manual/Makefile: Remove make dist support, there's no
35771 need for a stand-alone documentation tar ball.
35772 (TEXI2DVI): Define always, it's not in Makeconfig.
35773 (dist): Removed.
35774 (tar-it): Removed.
35775 (edition): Removed.
35776 (glibc-doc-$(edition).tar): Removed
35777 (%.Z): Removed.
35778 (%.gz): Removed.
35779 (%.uu): Removed.
35780 (ETAGS): Remove, it's in Makeconfig.
35781 (move-if-change): Remove, it's in Makeconfig.
35782
35783 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
35784
35785 [BZ #13970]
35786 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
35787 (strtod, strtof, strtold, strtol, strtoul, strtoq)
35788 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
35789 (strtod_l, strtof_l, strtold_l): Remove __wur.
35790 It is not necessarily an error to ignore strtol's return value.
35791 One can reliably look at the stored endptr to decide whether
35792 the number had valid syntax.
35793
35794 2012-04-21 Andreas Jaeger <aj@suse.de>
35795
35796 [BZ #13739]
35797 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
35798
35799 2012-04-21 Joseph Myers <joseph@codesourcery.com>
35800
35801 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
35802 * sysdeps/unix/sysv/Versions: Remove file.
35803
35804 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
35805
35806 [BZ #13927]
35807 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35808
35809 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
35810
35811 [BZ #7064]
35812 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
35813 version from __vm86.
35814
35815 2012-04-20 Joseph Myers <joseph@codesourcery.com>
35816
35817 * sysdeps/unix/common/lxstat.c: Remove file.
35818 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
35819
35820 * sysdeps/unix/sysv/Makefile: Remove file.
35821
35822 * sysdeps/unix/sysv/direct.h: Remove file.
35823
35824 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
35825 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
35826 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
35827 * sysdeps/unix/sysv/bits/signum.h: Likewise.
35828 * sysdeps/unix/sysv/bits/stat.h: Likewise.
35829 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
35830 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
35831
35832 * sysdeps/unix/sysv/setrlimit.c: Remove file.
35833
35834 * sysdeps/unix/xmknod.c: Remove file.
35835 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
35836
35837 * sysdeps/unix/sysv/settimeofday.c: Remove file.
35838
35839 * sysdeps/unix/sysv/i386/time.S: Remove file.
35840
35841 * sysdeps/unix/fxstat.c: Remove file.
35842 * sysdeps/unix/xstat.c: Likewise.
35843 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
35844
35845 * sysdeps/unix/sysv/sigaction.c: Remove file.
35846
35847 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
35848 (sysdep_headers): Remove variable.
35849 [termio.h not in sysdep_headers] (generated): Likewise.
35850 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
35851 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
35852 * sysdeps/unix/sysv/tcdrain.c: Likewise.
35853 * sysdeps/unix/sysv/tcflow.c: Likewise.
35854 * sysdeps/unix/sysv/tcflush.c: Likewise.
35855 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
35856 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
35857 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
35858 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
35859 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
35860
35861 * sysdeps/unix/siglist.c: Remove file.
35862
35863 * sysdeps/unix/getppid.S: Remove file.
35864
35865 * sysdeps/unix/mkdir.c: Remove file.
35866 * sysdeps/unix/rmdir.c: Likewise.
35867
35868 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
35869
35870 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
35871 ERR_MAX value.
35872 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
35873 errlist-compat value.
35874
35875 2012-04-18 David S. Miller <davem@davemloft.net>
35876
35877 * sysdeps/generic/memcopy.h (reg_char): Delete.
35878 * debug/strcat_chk.c: Use char, not reg_char.
35879 * debug/strcpy_chk.c: Likewise.
35880 * debug/strncat_chk.c: Likewise.
35881 * debug/strncpy_chk.c: Likewise.
35882 * string/memchr.c: Likewise.
35883 * string/memrchr.c: Likewise.
35884 * string/rawmemchr.c: Likewise.
35885 * string/strcat.c: Likewise.
35886 * string/strchr.c: Likewise.
35887 * string/strchrnul.c: Likewise.
35888 * string/strcmp.c: Likewise.
35889 * string/strcpy.c: Likewise.
35890 * string/strncat.c: Likewise.
35891 * string/strncmp.c: Likewise.
35892 * string/strncpy.c: Likewise.
35893
35894 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35895
35896 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
35897 __builtin_memcopy is called when src and dest ranges are known to not
35898 overlap.
35899
35900 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35901
35902 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
35903 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
35904 fwd_align_merge macro call.
35905 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
35906 bwd_align_merge macro call.
35907 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35908
35909 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35910
35911 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
35912 bwd_align_merge macros.
35913 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
35914 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
35915 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35916
35917 2012-04-18 David S. Miller <davem@davemloft.net>
35918
35919 * sysdeps/sparc/sparc64/memcopy.h: Delete.
35920
35921 2012-04-18 Andreas Jaeger <aj@suse.de>
35922
35923 [BZ# 6794]
35924 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
35925 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
35926 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35927
35928 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
35929 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
35930 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35931
35932 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
35933 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
35934 Adjust for changed ldbl-128 files.
35935
35936 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
35937 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
35938 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35939
35940 2012-04-17 David S. Miller <davem@davemloft.net>
35941
35942 * sysdeps/sparc/sparc32/memcopy.h: Delete.
35943
35944 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
35945
35946 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
35947 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
35948 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
35949 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
35950 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
35951 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
35952
35953 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35954
35955 [BZ #6794]
35956 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
35957 * math/libm-test.inc: Add ilogb errno and exception tests.
35958 * math/w_ilogb.c: New file: ilogb wrapper.
35959 * math/w_ilogbf.c: New file: ilogbf wrapper.
35960 * math/w_ilogbl.c: New file: ilogbl wrapper.
35961 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
35962 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
35963 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
35964 exception being thrown with 0.0 as argument.
35965 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
35966 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
35967 exception being thrown with 0.0 as argument.
35968 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
35969 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35970 exception being thrown with 0.0 as argument.
35971 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
35972 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35973 exception being thrown with 0.0 as argument.
35974 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
35975 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
35976 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
35977 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
35978 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
35979 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
35980 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
35981 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
35982 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
35983
35984 2012-04-17 Petr Baudis <pasky@ucw.cz>
35985
35986 * include/sys/uio.h: Change __vector to __iovec to avoid clash
35987 with altivec.
35988
35989 2012-04-16 Marek Polacek <polacek@redhat.com>
35990
35991 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
35992
35993 2012-04-16 Marek Polacek <polacek@redhat.com>
35994
35995 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
35996 operands of fdivp instruction.
35997
35998 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35999
36000 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
36001 * elf/tst-auditmod3b.c: Likewise.
36002 * elf/tst-auditmod4b.c: Likewise.
36003 * elf/tst-auditmod5b.c: Likewise.
36004 * elf/tst-auditmod6b.c: Likewise.
36005 * elf/tst-auditmod6c.c: Likewise.
36006 * elf/tst-auditmod7b.c: Likewise.
36007 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
36008 * sysdeps/x86_64/preconfigure.in: Likewise.
36009 * sysdeps/x86_64/preconfigure: Regenerated.
36010
36011 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36012
36013 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
36014 __ILP32__.
36015
36016 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
36017
36018 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36019 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
36020
36021 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
36022
36023 [BZ #13973]
36024 * locale/iso-639.def: Fix gl language name. Spotted by
36025 Yaron Shahrabani.
36026
36027 2012-04-12 Roland McGrath <roland@hack.frob.com>
36028
36029 [BZ #2074]
36030 * libio/libio.h (__io_write_fn): Update comment.
36031
36032 2012-04-12 Petr Baudis <pasky@ucw.cz>
36033
36034 [BZ #2074]
36035 * stdio.texi (Hook Functions): The user provided writer function
36036 is not allowed to return -1.
36037
36038 2012-04-11 David S. Miller <davem@davemloft.net>
36039
36040 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36041
36042 2012-04-11 Mike Frysinger <vapier@gentoo.org>
36043
36044 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
36045 Add a leading slash to rtkaio.
36046
36047 2012-04-11 Jim Meyering <meyering@redhat.com>
36048
36049 [BZ #11959]
36050 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
36051 It is not necessarily an error to ignore fwrite's return
36052 value. One can reliably use ferror to test for errors after
36053 the fact.
36054
36055 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36056
36057 * bits/types.h (__snseconds_t): New type.
36058 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
36059
36060 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
36061 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36062 (__SNSECONDS_T_TYPE): Likewise.
36063 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36064 (__SNSECONDS_T_TYPE): Likewise.
36065 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36066 (__SNSECONDS_T_TYPE): Likewise.
36067
36068 2012-04-10 Andreas Jaeger <aj@suse.de>
36069
36070 [BZ #2636]
36071 * manual/time.texi (Processor Time): Return type of times is
36072 elapsed real time since an arbitrary point in the past.
36073 (CPU Time): Move CLK_TCK from here...
36074 (Processor Time): ...to here. Correct description.
36075 * manual/conf.texi (Constants for Sysconf): Correct description of
36076 _SC_CLK_TCK.
36077
36078 2012-04-10 David S. Miller <davem@davemloft.net>
36079
36080 [BZ #13967]
36081 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
36082 where the is a gap between DT_REL(A) and DT_JMPREL.
36083
36084 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36085
36086 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
36087 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36088 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36089
36090 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36091
36092 * elf/dl-support.c (_dl_inhibit_cache): New variable.
36093 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
36094 (dl_main): Handle --inhibit-cache.
36095 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
36096 _dl_inhibit_cache.
36097 * elf/dl-load.c (_dl_map_object): Use it.
36098 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
36099
36100 2012-04-09 Joseph Myers <joseph@codesourcery.com>
36101
36102 [BZ #13872]
36103 * sysdeps/i386/fpu/e_powl.S (p78): New object.
36104 (__ieee754_powl): Saturate large exponents rather than testing for
36105 overflow of y*log2(x).
36106 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36107 * math/libm-test.inc (pow_test): Do not permit spurious overflow
36108 exceptions.
36109
36110 [BZ #11521]
36111 * math/s_ctan.c: Include <float.h>.
36112 (__ctan): Avoid internal overflow or cancellation in calculating
36113 denominator.
36114 * math/s_ctanf.c: Likewise.
36115 * math/s_ctanl.c: Likewise.
36116 * math/s_ctanh.c: Likewise.
36117 * math/s_ctanhf.c: Likewise.
36118 * math/s_ctanhl.c: Likewise.
36119 * math/libm-test.inc (ctan_test): Add more tests.
36120 (ctanh_test): Likewise.
36121 * sysdeps/i386/fpu/libm-test-ulps: Update.
36122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36123
36124 2012-04-09 Andreas Jaeger <aj@suse.de>
36125
36126 [BZ #6894]
36127 * manual/filesys.texi (Directory Entries): Mention that d_namlen
36128 is an optional BSD extension.
36129
36130 [BZ #10254]
36131 * manual/stdio.texi (Opening Streams): Document additional fopen
36132 parameters.
36133
36134 2012-04-09 Roland McGrath <roland@hack.frob.com>
36135
36136 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
36137 %eax without telling the compiler.
36138
36139 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
36140
36141 [BZ # 13963]
36142 * manual/install.texi: Use sourceware.org.
36143
36144 2012-04-09 Joseph Myers <joseph@codesourcery.com>
36145
36146 [BZ #13873]
36147 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
36148 (__ieee754_pow): Generate overflow and underflow using huge*huge
36149 and tiny*tiny rather than just returning constant infinity or zero
36150 for large exponents.
36151 * math/libm-test.inc (pow_test): Require overflow exceptions for
36152 applicable cases of large exponents.
36153
36154 [BZ #706]
36155 * sysdeps/i386/fpu/e_pow.S (p10): New object.
36156 (__ieee754_pow): Use iterative multiplication algorithm only for
36157 integer exponents with absolute value below 1024. Check for odd
36158 integer exponents when using algorithm for real exponents.
36159 * math/libm-test.inc (pow_test): Add more tests.
36160 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36161
36162 2012-04-08 Joseph Myers <joseph@codesourcery.com>
36163
36164 [BZ #13705]
36165 * math/libm-test.inc (exp_test): Do not allow overflow exception
36166 on underflow test.
36167
36168 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
36169
36170 [BZ #13705]
36171 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
36172 instead of __kernel_standard_f.
36173
36174 2012-04-08 Mike Frysinger <vapier@gentoo.org>
36175
36176 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
36177 * sysdeps/x86_64/memset_chk.S: Likewise.
36178
36179 2012-04-08 Andreas Jaeger <aj@suse.de>
36180
36181 [BZ #10153]
36182 * manual/startup.texi (Environment Access): Describe return value
36183 for putenv and setenv.
36184
36185 [BZ #6895]
36186 * manual/filesys.texi (Directory Entries): Add description for
36187 DT_LNK.
36188
36189 [BZ #6890]
36190 * manual/filesys.texi (Directory Entries): Clarify that it's file
36191 system not operating system in the description of DT_UNKNOWN.
36192
36193 [BZ #6578]
36194 * manual/syslog.texi (closelog): Fix reference, it's openlog.
36195
36196 2012-04-08 Stephen Compall <s11@member.fsf.org>
36197
36198 [BZ #6649]
36199 * manual/llio.texi (Opening and Closing Files): Add cross
36200 reference to explain mode argument.
36201
36202 2012-04-07 Mike Frysinger <vapier@gentoo.org>
36203
36204 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
36205 * sysdeps/x86_64/memset_chk.S: Likewise.
36206
36207 2012-04-07 David S. Miller <davem@davemloft.net>
36208
36209 * elf/elf.h (R_SPARC_WDISP10): Define.
36210 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
36211 R_SPARC_SIZE32.
36212 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
36213 R_SPARC_SIZE64 and R_SPARC_H34.
36214
36215 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
36216
36217 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
36218 conditions and remove no longer applicable assertion.
36219
36220 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
36221
36222 * bits/byteswap.h: Include <features.h>.
36223 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36224 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36225
36226 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
36227
36228 * bits/byteswap.h (__bswap_16): Removed.
36229 Include <bits/byteswap-16.h> to get __bswap_16.
36230 * sysdeps/i386/bits/byteswap.h: Likewise.
36231 * sysdeps/s390/bits/byteswap.h: Likewise.
36232 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36233 * bits/byteswap-16.h: New file.
36234 * sysdeps/i386/bits/byteswap-16.h: Likewise.
36235 * sysdeps/s390/bits/byteswap-16.h: Likewise.
36236 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
36237 * string/Makefile (headers): Add bits/byteswap-16.h.
36238
36239 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36240
36241 [BZ #13895]
36242 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
36243 extra indirection.
36244 * nss/Makefile (tests-static, tests): Add tst-nss-static.
36245 * nss/tst-nss-static.c: New.
36246
36247 2012-04-06 Robert Millan <rmh@gnu.org>
36248
36249 [BZ #6486]
36250 * manual/llio.texi (File Position Primitive): lseek
36251 refers to WHENCE when it really means OFFSET.
36252
36253 2012-04-06 Andreas Jaeger <aj@suse.de>
36254
36255 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
36256 strncmp declarations.
36257
36258 * abilist/libc.abilist: Add __poll and __ppoll.
36259
36260 2012-04-05 David S. Miller <davem@davemloft.net>
36261
36262 * scripts/check-local-headers.sh: Accept a host triplet in the
36263 path matched by the exclude regexp.
36264
36265 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
36266 definition.
36267 * sysdeps/powerpc/powerpc32/dl-machine.h
36268 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
36269 * sysdeps/s390/s390-32/dl-machine.h
36270 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36271 * sysdeps/sparc/sparc32/dl-machine.h
36272 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36273 * sysdeps/sparc/sparc64/dl-machine.h
36274 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36275
36276 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
36277 lazy binding.
36278 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
36279 undefined symbol errors.
36280
36281 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
36282 DT_NEEDED entries.
36283
36284 2012-04-05 Michael Matz <matz@suse.de>
36285
36286 [BZ #13592]
36287 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
36288
36289 2012-04-05 Andreas Jaeger <aj@suse.de>
36290
36291 [BZ #13908]
36292 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
36293 comment.
36294
36295 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36296
36297 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
36298 which ROUND is no valid rounding mode.
36299
36300 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36301
36302 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
36303 read again.
36304 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
36305
36306 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36307
36308 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
36309 an exception using FPU order intentionally.
36310
36311 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36312
36313 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
36314 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
36315 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
36316 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
36317
36318 2012-04-05 Simon Josefsson <simon@josefsson.org>
36319
36320 [BZ #12340]
36321 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
36322 EINVAL when BUFLEN is too smal.
36323
36324 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
36325
36326 [BZ #13553]
36327 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
36328 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
36329
36330 2012-04-03 Andreas Jaeger <aj@suse.de>
36331
36332 [BZ #13938]
36333 * manual/setjmp.texi (System V contexts): Fix sentence.
36334
36335 [BZ #13926]
36336 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
36337 New macro for this case.
36338 [!__GNUC__] (__bswap_64): New inline function for this case.
36339 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36340 * bits/byteswap.h: Likewise.
36341 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
36342 ull, guard with __GLIBC_HAVE_LONG_LONG.
36343
36344 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
36345 __GLIBC_HAVE_LONG_LONG.
36346
36347 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
36348 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
36349
36350 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36351
36352 [BZ #13691]
36353 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
36354 inptr and inend, rather than using last_ch.
36355
36356 2012-04-02 David S. Miller <davem@davemloft.net>
36357
36358 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
36359 * stdio-common/printf-parse.h (read_int): Change return type to
36360 'int', return -1 on INT_MAX overflow.
36361 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
36362 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
36363 overflows INT_MAX. Check for overflow of in-format-string precision
36364 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
36365 SIZE_MAX not INT_MAX for integer overflow test.
36366 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
36367 skip the construct in the format string but do not record anything.
36368 * stdio-common/bug22.c: Adjust to test both width/prevision
36369 INT_MAX overflow as well as total length INT_MAX overflow. Check
36370 explicitly for proper errno values.
36371
36372 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
36373
36374 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
36375 CHAR_MAX.
36376 * string/test-strcmp.c [! WIDE]: Likewise.
36377 * time/tst-mktime2.c: Likewise for INT_MAX.
36378 * string/test-string.h: #include <sys/param.h> for MIN.
36379
36380 * csu/init-first.c (__libc_init_first): Call __ctype_init.
36381 * sysdeps/i386/init-first.c (init): Likewise.
36382 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
36383 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
36384 * sysdeps/sh/init-first.c (init): Likewise.
36385
36386 2012-04-01 Ulrich Drepper <drepper@gmail.com>
36387
36388 * po/ru.po: Update from translation team.
36389 * po/vi.po: Likewise.
36390
36391 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
36392
36393 * resolv/nss_dns/dns-host.c: Merge copyright years.
36394
36395 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36396
36397 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36398 Optimize memcpy with prefetch if
36399 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
36400 src, dst pointers have unequal 16 byte alignments.
36401
36402 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
36403
36404 [BZ #13928]
36405 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
36406 from a CNAME entry and return the minimum ttl for the query.
36407 (gaih_getanswer_slice): Likewise.
36408
36409 2012-03-30 Jeff Law <law@redhat.com>
36410
36411 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
36412 due to long keys.
36413 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
36414 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
36415
36416 * resolv/nss_dns/dns-host.c: Update copyright year.
36417
36418 2012-03-30 Ulrich Drepper <drepper@gmail.com>
36419
36420 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
36421 requests to save a system call. Fix check that all bytes are sent.
36422
36423 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
36424 comments for sendmmsg.
36425
36426 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36427
36428 [BZ #13691]
36429 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
36430 with only 1 character between 0x0041 and 0x01b0.
36431 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
36432 * wcsmbs/tst-mbsnrtowcs.c: New file.
36433
36434 2012-03-29 David S. Miller <davem@davemloft.net>
36435
36436 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
36437 small copies by hand.
36438
36439 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36440
36441 [BZ #13761]
36442 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
36443 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
36444 group memberships.
36445
36446 2012-03-28 David S. Miller <davem@davemloft.net>
36447
36448 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
36449 that branches into memcpy.
36450 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
36451 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
36452 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36453 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
36454 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
36455 bits.
36456 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
36457 implementation too.
36458 * sysdeps/sparc/mempcpy.S: New file.
36459
36460 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
36461 the IFUNC routine in the libc case.
36462 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36463
36464 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
36465 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
36466 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
36467 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
36468 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
36469 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
36470 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
36471 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
36472
36473 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
36474 loop to 256 bytes instead of 64 bytes and fix test signedness.
36475
36476 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
36477 * sysdeps/sparc/sparc32/Makefile: rather than here...
36478 * sysdeps/sparc/sparc64/Makefile: and here.
36479
36480 2012-03-28 Ulrich Drepper <drepper@gmail.com>
36481
36482 * malloc/mallocbug.c: Avoid warnings about unused variables.
36483
36484 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
36485
36486 [BZ #13760]
36487 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
36488 in the right place. Discard and retry query if response is
36489 larger than input buffer size.
36490
36491 2012-03-28 Joseph Myers <joseph@codesourcery.com>
36492
36493 [BZ #369]
36494 [BZ #2678]
36495 [BZ #3866]
36496 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
36497 x for large integer exponent.
36498 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36499 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
36500 sign of result as needed afterwards.
36501 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
36502 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
36503 result for underflowing pow the same as for overflow.
36504 (__kernel_standard_l): Handle powl overflow and underflow here
36505 rather than calling __kernel_standard.
36506 * math/libm-test.inc (pow_test): Add more tests.
36507
36508 [BZ #3868]
36509 [BZ #13879]
36510 [BZ #13910]
36511 [BZ #13911]
36512 [BZ #13912]
36513 [BZ #13913]
36514 [BZ #13915]
36515 [BZ #13916]
36516 [BZ #13917]
36517 [BZ #13918]
36518 [BZ #13919]
36519 [BZ #13920]
36520 [BZ #13921]
36521 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
36522 * sysdeps/ieee754/k_standard.c: Include <float.h>.
36523 (__kernel_standard_l): New function.
36524 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
36525 __kernel_standard.
36526 * math/w_acosl.c (__acosl): Likewise.
36527 * math/w_asinl.c (__asinl): Likewise.
36528 * math/w_atan2l.c (__atan2l): Likewise.
36529 * math/w_atanhl.c (__atanhl): Likewise.
36530 * math/w_coshl.c (__coshl): Likewise.
36531 * math/w_exp10l.c (__exp10l): Likewise.
36532 * math/w_exp2l.c (__exp2l): Likewise.
36533 * math/w_fmodl.c (__fmodl): Likewise.
36534 * math/w_hypotl.c (__hypotl): Likewise.
36535 * math/w_j0l.c (__j0l, __y0l): Likewise.
36536 * math/w_j1l.c (__j1l, __y1l): Likewise.
36537 * math/w_jnl.c (__jnl, __ynl): Likewise.
36538 * math/w_lgammal.c (__lgammal): Likewise.
36539 * math/w_log10l.c (__log10l): Likewise.
36540 * math/w_log2l.c (__log2l): Likewise.
36541 * math/w_logl.c (__logl): Likewise.
36542 * math/w_powl.c (__powl): Likewise.
36543 * math/w_remainderl.c (__remainderl): Likewise.
36544 * math/w_scalbl.c (sysv_scalbl): Likewise.
36545 * math/w_sinhl.c (__sinhl): Likewise.
36546 * math/w_sqrtl.c (__sqrtl): Likewise.
36547 * math/w_tgammal.c (__tgammal): Likewise.
36548 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
36549 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
36550 * math/libm-test.inc (acos_test): Add more tests.
36551 (acosh_test): Likewise.
36552 (asin_test): Likewise.
36553 (atanh_test): Likewise.
36554 (exp_test): Likewise.
36555 (exp10_test): Likewise.
36556 (exp2_test): Likewise.
36557 (expm1_test): Likewise.
36558 (lgamma_test): Likewise.
36559 (log_test): Likewise.
36560 (log10_test): Likewise.
36561 (log1p_test): Likewise.
36562 (log2_test): Likewise.
36563 (pow_test): Do not allow some spurious overflow exceptions.
36564 (sqrt_test): Add more tests.
36565 (tgamma_test): Likewise.
36566 (y0_test): Likewise.
36567 (y1_test): Likewise.
36568 (yn_test): Likewise.
36569
36570 2012-03-27 Anton Blanchard <anton@samba.org>
36571
36572 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
36573 MAP_HUGETLB.
36574 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36575 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36576 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36577
36578 2012-03-27 David S. Miller <davem@davemloft.net>
36579
36580 * conform/Makefile: Run run-conformtest.sh using $(BASH).
36581
36582 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
36583 have-as-vis3 check.
36584
36585 2012-03-27 Andreas Jaeger <aj@suse.de>
36586
36587 * sysdeps/x86_64/elf/configure.in: Moved to ...
36588 * sysdeps/x86_64/configure.in: ... here.
36589 * sysdeps/x86_64/elf/start.S: Moved to ...
36590 * sysdeps/x86_64/start.S: ... here.
36591 * sysdeps/x86_64/elf/configure: Delete.
36592
36593 * sysdeps/x86_64/configure.in: Merge contents from
36594 sysdeps/i386/configure.in (without i686 check).
36595
36596 * sysdeps/i386/elf/Versions: Merge into ...
36597 * sysdeps/i386/Versions: ... this.
36598 * sysdeps/i386/elf/Versions: Delete file.
36599 * sysdeps/i386/elf/start.S: Moved to ...
36600 * sysdeps/i386/start.S: ...here.
36601 * sysdeps/i386/elf/configure.in: Merge into...
36602 * sysdeps/i386/configure.in: ...here.
36603 * sysdeps/i386/elf/configure.in: Delete file.
36604 * sysdeps/i386/elf/configure: Delete file.
36605
36606 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
36607 * debug/backtracesyms.c: ... here.
36608 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
36609 * debug/backtracesymsfd.c: ... here.
36610 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
36611 * sysdeps/generic/ifunc-sel.h: ... here.
36612
36613 * sysdeps/unix/i386/start.c: Delete file.
36614 * sysdeps/unix/sparc/start.c: Delete file.
36615 * sysdeps/unix/start.c: Delete file.
36616
36617 * sysdeps/sh/elf/configure.in: Moved to ...
36618 * sysdeps/sh/configure.in: ... here.
36619 * sysdeps/sh/elf/start.S: Moved to ...
36620 * sysdeps/sh/start.S: ... here.
36621 * sysdeps/sh/elf/configure: Delete file.
36622
36623 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
36624 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
36625 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
36626 * sysdeps/powerpc/powerpc64/entry.h: ... here.
36627 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
36628 * sysdeps/powerpc/powerpc64/start.S: here.
36629 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
36630 * sysdeps/powerpc/powerpc64/Makefile: ... this.
36631 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
36632 * sysdeps/powerpc/powerpc64/configure.in: ... this.
36633 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
36634
36635 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
36636 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
36637 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
36638 * sysdeps/powerpc/powerpc32/start.S: ... here.
36639 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
36640 * sysdeps/powerpc/powerpc32/configure.in: ... this.
36641 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
36642
36643 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
36644 * sysdeps/powerpc/ifunc-sel.h: ... here.
36645 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
36646 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
36647
36648 * sysdeps/sparc/elf/configure.in: Moved to ...
36649 * sysdeps/sparc/configure.in: ... here.
36650 * sysdeps/sparc/elf/configure: Delete file.
36651 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
36652 * sysdeps/sparc/sparc32/start.S: ... here.
36653 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
36654 * sysdeps/sparc/sparc64/start.S: ... here.
36655 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
36656 * sysdeps/sparc/sparc32/Makefile: ... this.
36657 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
36658 * sysdeps/sparc/sparc64/Makefile: ... this.
36659
36660 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
36661 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
36662 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
36663 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
36664 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
36665 * sysdeps/s390/s390-32/setjmp.S: ... here.
36666 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
36667 * sysdeps/s390/s390-32/configure.in: ... here.
36668 * sysdeps/s390/s390-32/elf/configure: Delete file.
36669 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
36670 * sysdeps/s390/s390-32/start.S: ... here.
36671
36672 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
36673 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
36674 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
36675 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
36676 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
36677 * sysdeps/s390/s390-64/setjmp.S: ... here.
36678 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
36679 * sysdeps/s390/s390-64/configure.in: ... here
36680 * sysdeps/s390/s390-64/elf/configure: Delete file.
36681 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
36682 * sysdeps/s390/s390-64/start.S: ... here.
36683 * sysdeps/s390/s390-64/elf/configure: Delete.
36684
36685 * configure.in: Remove support for elf directories in sysdeps.
36686
36687 * configure: Regenerated.
36688 * sysdeps/i386/configure: Regenerated.
36689 * sysdeps/powerpc/powerpc32/configure: Regenerated.
36690 * sysdeps/powerpc/powerpc64/configure: Regenerated.
36691 * sysdeps/s390/s390-32/configure: Regenerated.
36692 * sysdeps/s390/s390-64/configure: Regenerated.
36693 * sysdeps/sh/configure: Regenerated.
36694 * sysdeps/sparc/configure: Regenerated.
36695 * sysdeps/x86_64/configure: Regenerated.
36696
36697 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
36698
36699 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36700
36701 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
36702 denormal result into account.
36703
36704 2012-03-25 Roland McGrath <roland@hack.frob.com>
36705
36706 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
36707 Reported by Allan McRae <allan@archlinux.org>.
36708
36709 2012-03-23 Jeff Law <law@redhat.com>
36710
36711 * nss/getnssent.c (__nss_getent): Fix typo.
36712
36713 2012-03-23 David S. Miller <davem@davemloft.net>
36714
36715 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36716
36717 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
36718
36719 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
36720 to pad to uint64_t for each field.
36721 (dl_tls_index): Replace unsigned long with uint64_t.
36722
36723 2012-03-23 Daniel Jacobowitz <dmj@google.com>
36724 Paul Pluzhnikov <ppluzhnikov@google.com>
36725
36726 [BZ #6528]
36727 * grp/Makefile (otherlibs): Don't set it.
36728 * inet/Makefile (otherlibs): Likewise.
36729 * login/Makefile (otherlibs): Likewise.
36730 * nscd/Makefile (otherlibs): Likewise.
36731 * posix/Makefile (otherlibs): Likewise.
36732 * pwd/Makefile (otherlibs): Likewise.
36733 * rt/Makefile (otherlibs): Likewise.
36734 * sunrpc/Makefile (otherlibs): Likewise.
36735 * nss/Makefile (otherlibs): Likewise.
36736 Add libnss_files to routines and static-only-routines.
36737 ($(objpfx)getent): Remove rule.
36738 * resolv/Makefile: Add libnss_dns and libresolv to routines and
36739 static-only-routines.
36740
36741 2012-03-22 Joseph Myers <joseph@codesourcery.com>
36742
36743 [BZ #13892]
36744 * math/s_cexp.c: Include <float.h>.
36745 (__cexp): Handle exp result overflowing not necessarily
36746 overflowing both real and imaginary parts of result.
36747 * math/s_cexpf.c: Likewise.
36748 * math/s_cexpl.c: Likewise.
36749 * math/libm-test.inc (cexp_test): Add more tests.
36750 * sysdeps/i386/fpu/libm-test-ulps: Update.
36751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36752
36753 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36754
36755 * include/link.h (ELFW): New macro.
36756 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
36757 Replace ELF64_R_TYPE with ELFW(R_TYPE).
36758
36759 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36760
36761 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
36762 with uint64_t.
36763
36764 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36765
36766 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
36767 declaration.
36768 (struct La_x32_retval): Likewise.
36769
36770 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36771
36772 * sysdeps/x86_64/preconfigure.in: New file.
36773 * sysdeps/x86_64/preconfigure: New generated file.
36774
36775 2012-03-22 Joseph Myers <joseph@codesourcery.com>
36776
36777 [BZ #13824]
36778 * math/e_exp2l.c: Include <float.h>.
36779 (__ieee754_exp2l): Handle overflow and underflow cases
36780 separately. Only pass fractional part of argument to
36781 __ieee754_expl.
36782 * math/libm-test.inc (exp2_test): Add more tests.
36783
36784 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
36785 negating x to take absolute value.
36786 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
36787 Likewise.
36788 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
36789 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
36790 Likewise.
36791 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
36792 computing low part if x was negated.
36793 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
36794
36795 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36796
36797 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
36798 la_x32_gnu_pltexit.
36799 (pltexit): Cast int_retval to ptrdiff_t.
36800 * elf/tst-auditmod3b.c: Likewise.
36801 * elf/tst-auditmod4b.c: Likewise.
36802 * elf/tst-auditmod5b.c: Likewise.
36803 * elf/tst-auditmod6b.c: Likewise.
36804 * elf/tst-auditmod6c.c: Likewise.
36805 * elf/tst-auditmod7b.c: Likewise.
36806
36807 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
36808 and x32_gnu_pltexit.
36809
36810 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
36811 __ELF_NATIVE_CLASS.
36812 (La_x32_regs): New macro.
36813 (La_x32_retval): Likewise.
36814 (la_x32_gnu_pltenter): New function prototype.
36815 (la_x32_gnu_pltexit): Likewise.
36816
36817 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
36818
36819 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
36820 exponent.
36821
36822 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36823
36824 * configure.in (libc_cv_cc_nofma): Check for option to disable
36825 generation of FMA instructions.
36826 * configure: Regenerate.
36827 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
36828 * sysdeps/ieee754/dbl-64/Makefile: New file.
36829 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36830 Remove brandred-fma4.
36831 (CFLAGS-brandred-fma4.c): Remove.
36832 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
36833 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
36834 define.
36835 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
36836 define.
36837
36838 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36839
36840 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36841 LLONG_MAX != LONG_MAX.
36842 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36843 (_fitoa_word): Likewise.
36844 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
36845 LLONG_MAX != LONG_MAX.
36846 * stdio-common/_itowa.h: Include <_itoa.h>.
36847 (_itowa_word): Use _ITOA_WORD_TYPE on value.
36848 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
36849 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
36850 only if not defined.
36851 (_ITOA_WORD_TYPE): Likewise.
36852 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36853 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
36854
36855 2012-03-21 David S. Miller <davem@davemloft.net>
36856
36857 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36858
36859 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36860
36861 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
36862 of x86_64 when setting libc_cv_slibdir, libdir and
36863 libc_cv_localedir.
36864 * sysdeps/unix/sysv/linux/configure: Regenerated.
36865
36866 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36867
36868 * manual/lang.texi (Old Varargs): Remove section.
36869 (How Variadic): Update menu.
36870 (va_start): Do not mention varargs.h.
36871
36872 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36873 Joseph Myers <joseph@codesourcery.com>
36874
36875 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
36876 link test.
36877 * configure: Regenerated.
36878
36879 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36880
36881 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
36882 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
36883 conformtest.pl
36884
36885 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36886
36887 * NOTES: Remove.
36888 * Makefile (files-for-dist): Remove NOTES.
36889 (NOTES): Remove rule.
36890 * README: Don't refer to NOTES.
36891 * manual/creature.texi: Don't include macros.texi.
36892 * manual/intro.texi (creature.texi): Remove comment referring to
36893 NOTES.
36894
36895 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
36896 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
36897 * configure: Regenerated.
36898 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
36899 LIBC_TRY_CC_OPTION.
36900 (libc_cv_as_i686): Likewise.
36901 (libc_cv_cc_avx): Likewise.
36902 (libc_cv_cc_sse2avx): Likewise.
36903 (libc_cv_cc_fma4): Likewise.
36904 (libc_cv_cc_novzeroupper): Likewise.
36905 * sysdeps/i386/configure: Regenerated.
36906
36907 [BZ #13883]
36908 * sysdeps/i386/fpu/s_cexp.S: Remove.
36909 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36910 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36911 * math/libm-test.inc (cexp_test): Add more tests.
36912 * sysdeps/i386/fpu/libm-test-ulps: Update.
36913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36914
36915 2012-03-21 Allan McRae <allan@archlinux.org>
36916
36917 * timezone/Makefile: Do not install iso3166.tab and zone.tab
36918
36919 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36920
36921 [BZ #13871]
36922 * math/w_exp2.c: Do not include <float.h>.
36923 (o_threshold, u_threshold): Remove.
36924 (__exp2): Calculate result before checking finiteness and calling
36925 __kernel_standard.
36926 * math/w_exp2f.c: Likewise.
36927 * math/w_exp2l.c: Likewise.
36928 * math/libm-test.inc (exp2_test): Require overflow exception for
36929 1e6 input.
36930
36931 [BZ #3866]
36932 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
36933 range of signed 64-bit integers before using fistpll. Remove
36934 checks for whether integers fit in mantissa bits.
36935 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
36936 the range of signed 32-bit integers before using fistpl. Remove
36937 checks for whether integers fit in mantissa bits.
36938 * sysdeps/i386/fpu/e_powl.S (p64): New object.
36939 (__ieee754_powl): Test for y outside the range of signed 64-bit
36940 integers before using fistpll. Reduce 64-bit values to 63-bit
36941 ones as needed.
36942 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
36943 divide-by-zero is raised for zero to large negative powers.
36944 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
36945 (__ieee754_powl): Test for y outside the range of signed 64-bit
36946 integers before using fistpll. Reduce 64-bit values to 63-bit
36947 ones as needed.
36948 * math/libm-test.inc (pow_test): Add more tests.
36949
36950 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36951
36952 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
36953 <stdio-common/_itoa.h>.
36954 * debug/segfault.c: Likewise.
36955 * elf/dl-cache.c: Likewise.
36956 * elf/dl-minimal.c: Likewise.
36957 * elf/dl-misc.c: Likewise.
36958 * elf/dl-sysdep.c: Likewise.
36959 * elf/dl-version.c: Likewise.
36960 * elf/rtld.c: Likewise.
36961 * hurd/hurdsock.c: Likewise.
36962 * hurd/lookup-retry.c: Likewise.
36963 * malloc/malloc.c: Likewise.
36964 * malloc/mtrace.c: Likewise.
36965 * nscd/nscd_getgr_r.c: Likewise.
36966 * nscd/nscd_getpw_r.c: Likewise.
36967 * nscd/nscd_getserv_r.c: Likewise.
36968 * posix/getopt_init.c: Likewise.
36969 * posix/wordexp.c: Likewise.
36970 * stdio-common/_itoa.c: Likewise.
36971 * stdio-common/printf_fphex.c: Likewise.
36972 * stdio-common/vfprintf.c: Likewise.
36973 * string/_strerror.c: Likewise.
36974 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
36975 * sysdeps/i386/i686/hp-timing.h: Likewise.
36976 * sysdeps/mach/_strerror.c: Likewise.
36977 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
36978 * sysdeps/mach/hurd/sethostid.c: Likewise.
36979 * sysdeps/mach/hurd/xmknodat.c: Likewise.
36980 * sysdeps/mach/xpg-strerror.c: Likewise.
36981 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36982 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36983 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
36984 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
36985 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36986 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
36987 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
36988 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
36989 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
36990 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
36991 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
36992 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
36993 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
36994 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
36995 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
36996 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
36997 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
36998 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
36999 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37000 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37001 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
37002
37003 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
37004
37005 * stdio-common/_itoa.h: Moved to ...
37006 * sysdeps/generic/_itoa.h: Here.
37007
37008 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
37009
37010 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
37011 instead of "_itoa.h" and "_itowa.h".
37012 * stdio-common/vfprintf.: Likewise.
37013
37014 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37015
37016 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
37017 <bits/wordsize.h>.
37018 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
37019 (__signbit): Likwise.
37020 (llrintf): Likwise.
37021 (llrint): Likwise.
37022
37023 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37024
37025 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
37026 __WORDSIZE != 64.
37027
37028 2012-03-20 Joseph Myers <joseph@codesourcery.com>
37029
37030 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
37031 OVERFLOW_EXCEPTION_OK.
37032 * math/libm-test.inc ("Philosophy"): Update comment about
37033 exception testing.
37034 (OVERFLOW_EXCEPTION): Define.
37035 (OVERFLOW_EXCEPTION_OK): Likewise.
37036 (INVALID_EXCEPTION_OK): Renumber.
37037 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37038 (IGNORE_ZERO_INF_SIGN): Likewise.
37039 (test_exceptions): Handle FE_OVERFLOW.
37040 (exp10_test): Expect overflow exceptions.
37041 (exp2_test): Likewise.
37042 (expm1_test): Likewise.
37043 (nextafter_test): Likewise.
37044 (pow_test): Likewise.
37045 (scalbn_test): Likewise.
37046 (scalbln_test): Likewise.
37047
37048 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37049
37050 * sysdeps/x86_64/bits/atomic.h
37051 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
37052 64bit integer.
37053 (atomic_exchange_acq): Likewise.
37054 (__arch_exchange_and_add_body): Likewise.
37055 (__arch_add_body): Likewise.
37056 (atomic_add_negative): Likewise.
37057 (atomic_add_zero): Likewise.
37058
37059 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37060
37061 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
37062 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
37063
37064 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37065
37066 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
37067 Check __x86_64__ instead of __WORDSIZE.
37068
37069 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37070
37071 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
37072
37073 2012-03-19 David S. Miller <davem@davemloft.net>
37074
37075 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37076
37077 * sysdeps/sparc/fpu/fenv_private.h: New file.
37078 * sysdeps/sparc/fpu/math_private.h: Use it.
37079 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
37080 Remove.
37081 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
37082 (libc_feholdexcept_setroundl): Remove.
37083 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
37084 Remove.
37085 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
37086 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
37087
37088 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37089
37090 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
37091 int64_t instead of long int.
37092 (INSERT_WORDS64): Likwise.
37093
37094 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37095
37096 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
37097 _Unwind_GetCFA return to _Unwind_Ptr first.
37098
37099 2012-03-19 Joseph Myers <joseph@codesourcery.com>
37100
37101 [BZ #13629]
37102 * math/s_clog.c: Include <float.h>.
37103 (__clog): Scale large or subnormal inputs.
37104 * math/s_clogf.c: Likewise.
37105 * math/s_clogl.c: Likewise.
37106 * math/s_clog10.c: Include <float.h>.
37107 (M_LOG10_2): Define.
37108 (__clog10): Scale large or subnormal inputs.
37109 * math/s_clog10f.c: Likewise.
37110 * math/s_clog10l.c: Likewise.
37111 * math/libm-test.inc (clog_test): Add more tests.
37112 (clog10_test): Likewise.
37113 * sysdeps/i386/fpu/libm-test-ulps: Update.
37114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37115
37116 [BZ #11451]
37117 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
37118 x and y.
37119 * math/libm-test.inc (atan2_test): Add another test.
37120
37121 * Makerules (common-objdir-compile): Remove.
37122 * sysdeps/unix/Makefile (config-generated): Do not add
37123 $(unix-generated) to variable.
37124 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
37125 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
37126 Remove rule.
37127 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
37128 Likewise.
37129 [generic bits/local_lim.h] (before-compile): Do not append to
37130 variable.
37131 [generic bits/local_lim.h] (common-generated): Likewise.
37132 [generic sys/param.h] (before-compile): Do not append to variable.
37133 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
37134 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
37135 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
37136 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
37137 include.
37138 [generic sys/param.h] (sys/param.h-includes): Remove variable.
37139 [generic sys/param.h] (sys/param.h-includes): Remove rule.
37140 [generic sys/param.h] ($(addprefix
37141 $(common-objpfx),$(sys/param.h-includes))): Likewise.
37142 [generic sys/param.h] (common-generated): Do not append to
37143 variable.
37144 [generic sys/param.h] (sysdep_headers): Likewise.
37145 [generic bits/errno.h] (before-compile): Do not append to
37146 variable.
37147 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
37148 rule.
37149 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
37150 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
37151 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
37152 [generic bits/errno.h] (common-generated): Do not append to
37153 variable.
37154 [generic bits/ioctls.h] (before-compile): Do not append to
37155 variable.
37156 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
37157 rule.
37158 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
37159 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
37160 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
37161 rule.
37162 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
37163 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
37164 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
37165 [generic bits/ioctls.h] (common-generated): Do not append to
37166 variable.
37167 [generic sys/syscall.h] (syscall.h): Remove variable.
37168 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
37169 rule.
37170 [generic sys/syscall.h] (before-compile): Do not append to
37171 variable.
37172 [generic sys/syscall.h] (common-generated): Likewise.
37173 * sysdeps/unix/errnos-tmpl.c: Remove file.
37174 * sysdeps/unix/errnos.awk: Likewise.
37175 * sysdeps/unix/ioctls-tmpl.c: Likewise.
37176 * sysdeps/unix/ioctls.awk: Likewise.
37177 * sysdeps/unix/mk-local_lim.c: Likewise.
37178 * sysdeps/unix/snarf-ioctls: Likewise.
37179
37180 2012-03-19 Richard Henderson <rth@twiddle.net>
37181
37182 * sysdeps/i386/fpu/fenv_private.h: New file.
37183 * sysdeps/i386/fpu/math_private.h: Use it.
37184 (math_opt_barrier, math_force_eval): Remove.
37185 (libc_feholdexcept_setround_53bit): Remove.
37186 (libc_feupdateenv_53bit): Remove.
37187 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37188 (math_opt_barrier, math_force_eval): Remove.
37189 (libc_feholdexcept): Remove.
37190 (libc_feholdexcept_setround): Remove.
37191 (libc_fetestexcept, libc_fesetenv): Remove.
37192 (libc_feupdateenv_test): Remove.
37193 (libc_feupdateenv, libc_feholdsetround): Remove.
37194 (libc_feresetround): Remove.
37195
37196 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
37197 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37198
37199 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
37200 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
37201 (libc_feupdateenv_testl): New.
37202 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
37203 (libc_feupdateenv_testf): New.
37204 (libc_feupdateenv): Use libc_feupdateenv_test.
37205 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
37206 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
37207
37208 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
37209 (libc_feholdsetroundf, libc_feholdsetroundl): New.
37210 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
37211 (libc_feresetround_noex): New.
37212 (libc_feresetround_noexf): New.
37213 (libc_feresetround_noexl): New.
37214 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
37215 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
37216 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
37217 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
37218 SET_RESTORE_ROUND.
37219 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37220 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
37221 (__cos): Likewise.
37222 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
37223 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
37224 SET_RESTORE_ROUND_NOEX.
37225 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
37226 SET_RESTORE_ROUND_NOEXF.
37227 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
37228 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
37229 (libc_feholdsetroundf): New.
37230 (libc_feresetround, libc_feresetroundf): New.
37231
37232 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
37233 (libc_feholdexcept_setround_53bit): Convert from macro to function.
37234 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
37235
37236 * sysdeps/generic/math_private.h: Include <fenv.h>.
37237 (default_libc_feholdexcept): New.
37238 (default_libc_feholdexcept_setround): New.
37239 (default_libc_fesetenv, default_libc_feupdateenv): New.
37240 (libc_feholdexcept): Only define if undefined.
37241 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
37242 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
37243 (libc_feholdexcept_setroundl): Likewise.
37244 (libc_feholdexcept_setround_53bit): Likewise.
37245 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
37246 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
37247 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
37248 (libc_feupdateenv_53bit): Likewise.
37249 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
37250 (libc_feholdexcept): Convert from macro to inline function.
37251 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
37252 (libc_fesetenv, libc_feupdateenv): Likewise.
37253
37254 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
37255 not previously defined.
37256 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
37257 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
37258 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
37259 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
37260 * sysdeps/ieee754/flt-32/math_private.h: New file.
37261 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
37262 math_private.h below SET_FLOAT_WORD.
37263 (__isnan, __isinf_ns, __finite): Remove.
37264 (__isnanf, __isinf_nsf, __finitef): Remove.
37265
37266 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
37267
37268 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37269
37270 2012-03-17 David S. Miller <davem@davemloft.net>
37271
37272 [BZ #6471]
37273 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
37274 for 2.16.
37275
37276 2012-03-16 David S. Miller <davem@davemloft.net>
37277
37278 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
37279 warnings.
37280
37281 [BZ #6471]
37282 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
37283 properly.
37284 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
37285 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
37286 sysdep_routines when subdir is sysvipc.
37287 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
37288 __getshmlba helper.
37289
37290 * sysdeps/sparc/fpu/libm-test/ulps: Update.
37291
37292 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37293
37294 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
37295 [__LP64__].
37296
37297 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37298
37299 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
37300 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
37301 (__lround): Renamed to ...
37302 (__llround): This. Replace long int with long long int.
37303 Define lround functions as aliases of llround functions.
37304 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
37305
37306 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37307
37308 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
37309 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
37310 adresses to uintptr_t. Replace "long int" and "unsigned long
37311 int" with "greg_t" on va_arg.
37312
37313 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37314
37315 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
37316 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
37317
37318 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
37319 Move e_machine check before EI_CLASS check. Handle x32
37320 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
37321 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
37322 SKIP_EM_IA_64 and include
37323 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
37324
37325 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
37326 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
37327 (add_system_dir): New macro.
37328
37329 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
37330 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
37331
37332 2012-03-16 Joseph Myers <joseph@codesourcery.com>
37333
37334 [BZ #2551]
37335 [BZ #2552]
37336 [BZ #2553]
37337 [BZ #2554]
37338 [BZ #2562]
37339 [BZ #2563]
37340 [BZ #2565]
37341 [BZ #2566]
37342 [BZ #2576]
37343 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
37344 (y0): Likewise.
37345 * math/w_j0f.c (j0f): Likewise.
37346 (y0f): Likewise.
37347 * math/w_j0l.c (__j0l): Likewise.
37348 (__y0l): Likewise.
37349 * math/w_j1.c (j1): Likewise.
37350 (y1): Likewise.
37351 * math/w_j1f.c (j1f): Likewise.
37352 (y1f): Likewise.
37353 * math/w_j1l.c (__j1l): Likewise.
37354 (__y1l): Likewise.
37355 * math/w_jn.c (jn): Likewise.
37356 (yn): Likewise.
37357 * math/w_jnf.c (jnf): Likewise.
37358 (ynf): Likewise.
37359 * math/w_jnl.c (__jnl): Likewise.
37360 (__ynl): Likewise.
37361 * math/libm-test.inc (j0_test): Add more tests.
37362 (j1_test): Likewise.
37363 (jn_test): Likewise. Add trailing semicolon to existing test.
37364 (y0_test): Likewise.
37365 (y1_test): Likewise.
37366 * sysdeps/i386/fpu/libm-test-ulps: Update.
37367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37368
37369 [BZ #13851]
37370 [BZ #13854]
37371 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
37372 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
37373 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
37374 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
37375 (__tanl): Set errno for infinite argument.
37376 * sysdeps/i386/fpu/mptan.c: Remove.
37377 * sysdeps/i386/fpu/s_tan.S: Likewise.
37378 * sysdeps/i386/fpu/s_tanl.S: Likewise.
37379 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
37380 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
37381 * math/libm-test.inc (tan_test): Add more tests and enable more
37382 tests for double and long double.
37383 * sysdeps/i386/fpu/libm-test-ulps: Update.
37384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37385
37386 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
37387
37388 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
37389 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
37390
37391 2012-03-16 Roland McGrath <roland@hack.frob.com>
37392
37393 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
37394 * configure.in: Use it for both main tree and add-ons.
37395 * configure: Regenerated.
37396
37397 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37398
37399 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
37400
37401 2012-03-16 Joseph Myers <joseph@codesourcery.com>
37402
37403 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
37404 in comment.
37405
37406 [BZ #13851]
37407 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
37408 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
37409 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
37410 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
37411 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
37412 infinite argument.
37413 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
37414 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
37415 != 0 for prec == 2.
37416 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
37417 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
37418 * sysdeps/i386/fpu/s_cosl.S: Likewise.
37419 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
37420 * sysdeps/i386/fpu/s_sinl.S: Likewise.
37421 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
37422 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
37423 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
37424 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
37425 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
37426 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
37427 * math/libm-test.inc (cos_test): Add more tests and enable more
37428 tests for long double.
37429 (sin_test): Likewise.
37430 (sincos_test): Likewise.
37431 * sysdeps/i386/fpu/libm-test-ulps: Update.
37432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37433
37434 2012-03-16 David S. Miller <davem@davemloft.net>
37435
37436 * sysdeps/sparc/fpu/math_private.h: New file.
37437
37438 2012-03-15 David S. Miller <davem@davemloft.net>
37439
37440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
37441 file.
37442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
37443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
37444 file.
37445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
37446 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
37447 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
37448 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
37449 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
37450 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
37451 sysdep routines.
37452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37453
37454 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
37455 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
37456
37457 * sysdeps/sparc/sparc-ifunc.h: New file.
37458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
37459 sparc-ifunc.h
37460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
37462 Likewise.
37463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
37464 Likewise.
37465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
37466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
37467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37469 Likewise.
37470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
37472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
37474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
37475 Likewise.
37476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
37477 Likewise.
37478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
37480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
37481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
37482 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37483 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37484 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
37485 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
37486 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37487 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37488 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
37489 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
37490 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
37491 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
37492 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
37493 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
37494 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
37495 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
37496 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
37497 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
37498 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
37499 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
37500 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
37501 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
37502
37503 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
37504
37505 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
37506 scaling.
37507 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37508
37509 2012-03-15 Andreas Jaeger <aj@suse.de>
37510
37511 [BZ #13852]
37512 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
37513 ieee754/flt-32 implementation for sin, cos and sincos.
37514 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
37515 * sysdeps/i386/fpu/s_cosf.S: Likewise.
37516 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
37517 * sysdeps/i386/fpu/s_sinf.S: Likewise.
37518 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
37519 ieee754/flt-32 implementation for tan.
37520
37521 * math/libm-test.inc (cos_test): Enable some large input tests for
37522 float as well
37523 (sin_test): Likewise.
37524 (sincos_test): Likewise.
37525 (tan_test): Add tests for large input.
37526
37527 * sysdeps/i386/fpu/libm-test-ulps: Update.
37528
37529 2012-03-15 Andreas Jaeger <aj@suse.de>
37530
37531 [BZ #13658]
37532 * math/libm-test.inc (cos_test): Add more test cases.
37533 (sin_test): Likewise.
37534 (sincos_test): Likewise.
37535
37536 2012-03-15 Andreas Jaeger <aj@suse.de>
37537
37538 [BZ #13837]
37539 * math/libm-test.inc (cos_test): Add a test case for large input
37540 value.
37541 (sin_test): Likewise.
37542 (sincos_test): Likewise.
37543
37544 2012-03-15 Andreas Jaeger <aj@suse.de>
37545 Joseph Myers <joseph@codesourcery.com>
37546
37547 [BZ #13658]
37548 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
37549 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
37550 * sysdeps/i386/fpu/branred.c: Likewise.
37551 * sysdeps/i386/fpu/dosincos.c: Likewise.
37552 * sysdeps/i386/fpu/mpa.c: Likewise.
37553 * sysdeps/i386/fpu/s_cos.S: Likewise.
37554 * sysdeps/i386/fpu/s_sin.S: Likewise.
37555 * sysdeps/i386/fpu/s_sincos.S: Likewise.
37556 * sysdeps/i386/fpu/sincos32.c: Likewise.
37557
37558 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
37559 Define.
37560 (libc_feupdateenv_53bit): Define.
37561 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
37562 Define.
37563 (libc_feupdateenv_53bit): Define.
37564
37565 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
37566 53 bit (without extend i386 double precision).
37567
37568 * math/libm-test.inc (sincos_test): Add tests for large input.
37569 (sin): Likewise.
37570 (cos): Likewise.
37571
37572 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
37573
37574 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
37575
37576 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37577
37578 2012-03-15 David S. Miller <davem@davemloft.net>
37579
37580 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
37581 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
37582 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
37583 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
37584 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
37585 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
37586 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
37587 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
37588 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
37589 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
37590 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
37591 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
37592 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
37593 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
37594 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
37595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
37596 file.
37597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
37598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
37599 file.
37600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
37601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
37602 file.
37603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
37604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
37605 file.
37606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
37607 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
37608 fmin/fmax sysdep routines.
37609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37610
37611 2012-03-14 David S. Miller <davem@davemloft.net>
37612
37613 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
37614 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
37615 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
37616 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
37617 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
37618 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
37619 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
37620 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
37621 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
37622 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
37623 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
37624 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
37625 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
37626 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
37627 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
37628 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
37629 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
37630 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
37631 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
37632 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
37633 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
37634 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
37635 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
37636 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
37637 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
37638 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
37639 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
37640 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
37641 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
37642 routines.
37643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
37644 file.
37645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
37646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
37647 file.
37648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
37649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
37650 file.
37651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
37652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
37653 file.
37654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
37655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
37656 file.
37657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
37658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
37659 file.
37660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
37661 file.
37662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
37663 file.
37664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
37665 file.
37666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
37667 New file.
37668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
37669 file.
37670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
37671 file.
37672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
37673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
37674 file.
37675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
37676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
37677 file.
37678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
37679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
37680 file.
37681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
37682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
37683 VIS3 routines.
37684
37685 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
37686 New file.
37687
37688 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37689
37690 * sysdeps/sparc/configure.in: New file.
37691 * sysdeps/sparc/configure: Generate.
37692 * configure.in (libc_cv_sparc_as_vis3): Substitute.
37693 * configure: Regenerate.
37694 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
37695 * config.make.in (have-as-vis3): New.
37696 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
37697 available use -Av9d instead of -Av9a.
37698 * sysdeps/sparc/sparc64/Makefile: Likewise.
37699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
37700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
37701 New file.
37702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
37703 file.
37704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
37705 New file.
37706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
37707 file.
37708 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
37709 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
37710 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
37711 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
37712 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
37713
37714 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
37715 fzeros/fnegs to load 0x80000000 into a float register instead of
37716 using the stack.
37717 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
37718
37719 2012-03-14 Joseph Myers <joseph@codesourcery.com>
37720
37721 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37722 bits/syscall.h.
37723 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
37724 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
37725 ($(inst_includedir)/bits/syscall.h): Remove rule.
37726 ($(objpfx)bits/syscall.d): Include instead of
37727 $(objpfx)syscall-list.d.
37728 (generated): Change syscall-list.h and syscall-list.d to
37729 bits/syscall.h and bits/syscall.d.
37730
37731 2012-03-14 Roland McGrath <roland@hack.frob.com>
37732
37733 [BZ #13846]
37734 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
37735
37736 2012-03-14 Joseph Myers <joseph@codesourcery.com>
37737
37738 [BZ #13841]
37739 * math/s_csqrt.c: Include <float.h>.
37740 (__csqrt): Scale large or subnormal inputs.
37741 * math/s_csqrtf.c: Likewise.
37742 * math/s_csqrtl.c: Likewise.
37743 * math/libm-test.inc (csqrt_test): Add more tests.
37744 * sysdeps/i386/fpu/libm-test-ulps: Update.
37745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37746
37747 [BZ #13840]
37748 * math/libm-test.inc (hypot_test): Add more tests.
37749
37750 2012-03-13 David S. Miller <davem@davemloft.net>
37751
37752 [BZ #13840]
37753 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
37754 double-precision for the calculation instead of scaling.
37755
37756 2012-03-13 Joseph Myers <joseph@codesourcery.com>
37757
37758 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
37759 manipulate bits before adding and subtracting TWO52[sx].
37760 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
37761 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
37762 Likewise.
37763 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
37764
37765 2012-03-13 David S. Miller <davem@davemloft.net>
37766
37767 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
37768 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
37769 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
37770 rtld-global-offsets.h
37771 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37772
37773 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
37774 large parameters.
37775
37776 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
37777
37778 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
37779 'err' in the ifdef scope in which it is actually used.
37780
37781 * nss/nss_db/db-init.c: Include string.h
37782
37783 2012-03-12 David S. Miller <davem@davemloft.net>
37784
37785 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37786 masking out of the most significant byte of random value used.
37787 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37788 Fix coding style in previous change.
37789
37790 * sysdeps/unix/sysv/linux/kernel-features.h
37791 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
37792 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
37793 expression.
37794 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
37795 later.
37796
37797 2012-03-11 David S. Miller <davem@davemloft.net>
37798
37799 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
37800 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
37801 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
37802 for 'resultvar' otherwise things get truncated on 64-bit.
37803
37804 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37805 Fix masking out of the most significant byte of random value used.
37806
37807 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37808
37809 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
37810
37811 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37812
37813 2012-03-09 David S. Miller <davem@davemloft.net>
37814
37815 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
37816 variables with appropriate CPP guards.
37817 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
37818 from the frame pointer, not the stack pointer. Correct layout
37819 comments. Fix test on resulting framesize and the management of
37820 the outregs buffer for pltexit. Preserve floating point return
37821 values across _dl_call_pltexit call.
37822 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
37823 framesize and the management of the outregs buffer for pltexit.
37824 Preserve floating point return values across _dl_call_pltexit
37825 call.
37826 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
37827 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
37828 (la_sparc64_gnu_pltexit): New functions.
37829 (print_exit): Fix format string for return register value.
37830
37831 2012-03-10 Joseph Myers <joseph@codesourcery.com>
37832
37833 * sunrpc/Makefile (others): Add rpcgen.
37834 ($(objpfx)rpcgen): Remove special build rule and dependency on
37835 libc.
37836 * sunrpc/rpcgen.c: New file.
37837
37838 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
37839
37840 [BZ #13673]
37841 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
37842 * stdio-common/bug-vfprintf-nargs.c: Likewise.
37843 * sysdeps/i386/crti.S: Likewise.
37844 * sysdeps/i386/crtn.S: Likewise.
37845 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
37846 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
37847 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
37848 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
37849 * sysdeps/sh/crti.S: Likewise.
37850 * sysdeps/sh/crtn.S: Likewise.
37851 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37852
37853 [BZ #13673]
37854 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
37855 with URL.
37856 * locale/programs/locfile-kw.gperf: Likewise.
37857 * locale/programs/charmap-kw.h: Regenerated.
37858 * locale/programs/locfile-kw.h: Likewise.
37859
37860 [BZ #13673]
37861 * intl/plural.y: Replace FSF snail mail address with URL.
37862 * intl/plural.c: Regenerated.
37863
37864 2012-03-09 Richard Henderson <rth@twiddle.net>
37865
37866 * include/math_private.h: Remove file.
37867 * math/math_private.h: Move file ...
37868 * sysdeps/generic/math_private.h: ... here.
37869
37870 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
37871 * sysdeps/powerpc/fpu/math_private.h: Likewise.
37872 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37873
37874 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
37875 and <math_private.h>.
37876 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37877 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37878 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37879 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37880 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37881 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
37882 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37883 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37884 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37885 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37886 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37887 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37888 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37889 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37890 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37891 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37892 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37893 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37894 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37895 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37896 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37897 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37898 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37899 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37900 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
37901 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37902 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37903 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37904 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37905 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37906 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37907 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37908 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37909 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37910 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37911 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37912 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37913 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37914 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37915 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37916 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
37917 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37918 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37919 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37920 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37921 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37922 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
37923 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37924 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37925 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37926 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37927 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
37928 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37929 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37930 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37931 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37932 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37933 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37934 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37935 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
37936 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37937 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37938 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37939 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37940 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
37941 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37942 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37943 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37944 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
37945 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
37946 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
37947 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37948 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
37949 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37950 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
37951 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
37952 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
37953 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37954 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
37955 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
37956 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
37957 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
37958 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
37959 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37960 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37961 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
37962 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
37963 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
37964 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37965 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37966 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37967 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37968 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37969 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37970 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37971 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37972 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37973 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37974 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37975 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37976 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37977 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37978 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37979 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37980 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37981 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37982 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37983 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37984 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37985 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37986 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37987 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37988 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37989 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37990 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
37991 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37992 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37993 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37994 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37995 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37996 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37997 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37998 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37999 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
38000 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38001 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38002 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38003 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
38004 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38005 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
38006 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
38007 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38008 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38009 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
38010 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
38011 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38012 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38013 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38014 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
38015 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38016 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38017 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38018 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38019 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
38020 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
38021 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38022 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38023 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38024 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
38025 * sysdeps/ieee754/k_standard.c: Likewise.
38026 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38027 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38028 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38029 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38030 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38031 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38032 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38033 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38034 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38035 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38036 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38037 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38038 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38039 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38040 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38041 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38042 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
38043 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38044 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38045 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
38046 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
38047 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
38048 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38049 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38050 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
38051 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
38052 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38053 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38054 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38055 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38056 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
38057 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38058 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38059 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38060 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
38061 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38062 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38063 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
38064 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
38065 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38066 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
38067 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
38068 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
38069 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38070 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
38071 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
38072 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38073 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38074 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38075 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38076 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38077 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
38078 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38079 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
38080 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38081 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38082 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
38083 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
38084 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38085 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38086 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38087 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
38088 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38089 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38090 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38091 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38092 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38093 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38094 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38095 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38096 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38097 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38098 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38099 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38100 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38101 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38102 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
38103 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38104 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38105 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
38106 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
38107 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
38108 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38109 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38110 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
38111 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38112 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38113 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
38114 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38115 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38116 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
38117 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38118 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
38119 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
38120 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38121 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38122 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
38123 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
38124 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
38125 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
38126 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38127 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38128 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38129 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38130 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
38131 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38132 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38133 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
38134 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
38135 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38136 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38137 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38138 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38139 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38140 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38141 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38142 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38143 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38144 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38145 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38146 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38147 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38148 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38149 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38150 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38151 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
38152 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38153 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38154 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38155 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38156 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38157 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38158 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38159 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
38160 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38161 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38162 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
38163 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
38164 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38165 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
38166 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
38167 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38168 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
38169 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
38170 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38171 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38172 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38173 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38174 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38175 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
38176 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38177 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38178 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38179 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38180 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
38181 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
38182 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38183 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38184 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38185 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
38186 * sysdeps/ieee754/s_lib_version.c: Likewise.
38187 * sysdeps/ieee754/s_matherr.c: Likewise.
38188 * sysdeps/ieee754/s_signgam.c: Likewise.
38189 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38190 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38191 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
38192 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
38193 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
38194 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38195 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
38196 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
38197 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
38198 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
38199 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
38200 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
38201 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38202 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38203 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
38204 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38205 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38206 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38207 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38208 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38209 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38210
38211 2012-03-09 Joseph Myers <joseph@codesourcery.com>
38212
38213 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
38214 * sunrpc/rpc_main.c: Likewise.
38215 * sunrpc/rpc_svcout.c: Likewise.
38216
38217 2012-03-09 David S. Miller <davem@davemloft.net>
38218
38219 * include/math_private.h: New file.
38220
38221 2012-03-09 Joseph Myers <joseph@codesourcery.com>
38222
38223 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
38224 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
38225 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
38226 from <bits/socket_type.h>.
38227 (enum __socket_type): Don't define here.
38228 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
38229 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38230 bits/socket_type.h.
38231
38232 [BZ #13566]
38233 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
38234 checking __USE_GNU.
38235
38236 * Makerules ($(inst_includedir)/%.h): New rule.
38237 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
38238 (install-others): Remove variable setting.
38239 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
38240
38241 2012-03-08 Richard Henderson <rth@twiddle.net>
38242
38243 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
38244 from macro to inline function; merge with the
38245 !__LIBC_INTERNAL_MATH_INLINES version.
38246 (__ieee754_sqrtf): Likewise.
38247
38248 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
38249 to inline function.
38250 (__rintf, __floor, __floorf): Likewise.
38251
38252 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
38253 macro to inline function.
38254 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
38255
38256 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
38257 not <math/math_private.h>.
38258
38259 2012-03-08 David S. Miller <davem@davemloft.net>
38260
38261 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
38262 copyright year.
38263 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
38264
38265 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
38266
38267 * resolv/gai_misc.c (handle_requests): Fix struct timespec
38268 normalization.
38269 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
38270 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
38271
38272 2012-03-08 Ulrich Drepper <drepper@gmail.com>
38273
38274 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
38275 be defined individually, they must be defined as a block. Define
38276 S for printing a string instead of hidint the different by using a
38277 macro for adding the 'l'.
38278 * stdio-common/tst-fphex-wide.c: Adjust.
38279
38280 2012-03-07 Marek Polacek <polacek@redhat.com>
38281
38282 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
38283
38284 2012-03-08 Marek Polacek <polacek@redhat.com>
38285
38286 [BZ #13806]
38287 * stdio-common/Makefile (tests): Add tst-fphex-wide.
38288 * stdio-common/tst-fphex.c: Define a few macros to make the
38289 test reusable. Use them.
38290 * stdio-common/tst-fphex-wide.c: New file.
38291
38292 2012-03-08 Joseph Myers <joseph@codesourcery.com>
38293
38294 [BZ #6911]
38295 * manual/macros.texi (gnusystems): New macro.
38296 (nongnusystems): Likewise.
38297 (gnulinuxhurdsystems): Likewise.
38298 (gnuhurdsystems): Likewise..
38299 (gnulinuxsystems): Likewise.
38300 * manual/charset.texi: Use new macros or @theglibc{} to refer to
38301 variants of the GNU system, not "GNU system".
38302 * manual/conf.texi: Likewise.
38303 * manual/errno.texi: Likewise. Update example of errno macro
38304 expansion.
38305 * manual/filesys.texi: Likewise.
38306 (getumask): Document as specific to GNU/Hurd.
38307 * manual/install.texi: Likewise. Reword some references to
38308 GNU/Linux.
38309 * manual/intro.texi: Likewise.
38310 * manual/io.texi: Likewise.
38311 (File Name Portability): Detail which constraints are inapplicable
38312 to all GNU systems and which are only inapplicable to GNU/Hurd.
38313 * manual/job.texi: Likewise.
38314 * manual/llio.texi: Likewise.
38315 (O_NOCTTY): Document as present on GNU/Linux.
38316 * manual/maint.texi: Likewise.
38317 * manual/memory.texi: Likewise.
38318 * manual/pattern.texi: Likewise.
38319 * manual/pipe.texi: Likewise.
38320 * manual/process.texi: Likewise.
38321 * manual/resource.texi: Likewise.
38322 (RUSAGE_CHILDREN): Remove statement about specifying a particular
38323 child on GNU/Hurd.
38324 * manual/setjmp.texi: Likewise.
38325 * manual/signal.texi: Likewise.
38326 * manual/startup.texi: Likewise.
38327 * manual/stdio.texi: Likewise.
38328 * manual/terminal.texi: Likewise.
38329 (ONLCR): Document as POSIX.
38330 (OXTABS): Document availability on GNU/Linux as XTABS.
38331 (ONOEOT): Document availability separately from other bits.
38332 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
38333 * manual/time.texi: Likewise.
38334 * manual/users.texi: Likewise.
38335 * INSTALL: Regenerated.
38336 * sysdeps/gnu/errlist.c: Regenerated.
38337
38338 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
38339 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
38340 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
38341 puts.
38342 * configure: Regenerated.
38343
38344 2012-03-07 Joseph Myers <joseph@codesourcery.com>
38345
38346 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
38347 default includes instead of AC_HEADER_CHECK.
38348 * sysdeps/i386/configure: Regenerated.
38349
38350 [BZ #10716]
38351 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
38352 * math/s_cacoshf.c (__cacoshf): Likewise.
38353 * math/s_cacoshl.c (__cacoshl): Likewise.
38354 * math/s_casinh.c (__casinh): Set signs of result from argument.
38355 * math/s_casinhf.c (__casinhf): Likewise.
38356 * math/s_casinhl.c (__casinhl): Likewise.
38357 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
38358 (casinh_test): Add more tests.
38359 * sysdeps/i386/fpu/libm-test-ulps: Update.
38360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38361
38362 2012-03-07 Ulrich Drepper <drepper@gmail.com>
38363
38364 * po/zh_TW.po: Update from translation team.
38365
38366 * login/Makefile (distribute): Remove variable.
38367 * catgets/Makefile: Likewise.
38368 * mach/Makefile: Likewise.
38369 * malloc/Makefile: Likewise.
38370 * misc/Makefile: Likewise.
38371 * iconv/Makefile: Likewise.
38372 * nscd/Makefile: Likewise.
38373 * hurd/Makefile: Likewise.
38374 * manual/Makefile: Likewise.
38375 * locale/Makefile: Likewise.
38376 * intl/Makefile: Likewise.
38377 * conform/Makefile: Likewise.
38378 * nss/Makefile: Likewise.
38379 * time/Makefile: Likewise.
38380 * soft-fp/Makefile: Likewise.
38381 * dirent/Makefile: Likewise.
38382 * gmon/Makefile: Likewise.
38383 * po/Makefile: Likewise.
38384 * rt/Makefile: Likewise.
38385 * socket/Makefile: Likewise.
38386 * math/Makefile: Likewise.
38387 * signal/Makefile: Likewise.
38388 * debug/Makefile: Likewise.
38389 * elf/Makefile: Likewise.
38390 * timezone/Makefile: Likewise.
38391 * stdlib/Makefile: Likewise.
38392 * iconvdata/Makefile: Likewise.
38393 * sunrpc/Makefile: Likewise.
38394 * io/Makefile: Likewise.
38395 * argp/Makefile: Likewise.
38396 * inet/Makefile: Likewise.
38397 * hesiod/Makefile: Likewise.
38398 * grp/Makefile: Likewise.
38399 * csu/Makefile: Likewise.
38400 * wctype/Makefile: Likewise.
38401 * crypt/Makefile: Likewise.
38402 * libio/Makefile: Likewise.
38403 * string/Makefile: Likewise.
38404 * nis/Makefile: Likewise.
38405 * resolv/Makefile: Likewise.
38406 * stdio-common/Makefile: Likewise.
38407 * wcsmbs/Makefile: Likewise.
38408 * dlfcn/Makefile: Likewise.
38409 * posix/Makefile: Likewise.
38410
38411 [BZ #6959]
38412 * timezone/Makefile: Don't install timezone files, just the programs
38413 and scripts.
38414
38415 2012-03-06 Ulrich Drepper <drepper@gmail.com>
38416
38417 * nss/databases.def: Add missing gshadow entry.
38418
38419 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
38420
38421 2012-03-06 Marek Polacek <polacek@redhat.com>
38422
38423 [BZ #13726]
38424 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
38425 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38426 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
38427 * stdio-common/tst-long-dbl-fphex.c: New file.
38428
38429 2012-03-06 David S. Miller <davem@davemloft.net>
38430
38431 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38432 (set_obp_int): New function.
38433 (get_obp_int): New function.
38434 (__get_clockfreq_via_dev_openprom): Likewise.
38435 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
38436 Avoid unused variable warnings on 'val' and use builtin_expect.
38437 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
38438 __builtin_expect.
38439 (INLINE_CLONE_SYSCALL): Likewise.
38440
38441 2012-03-05 David S. Miller <davem@davemloft.net>
38442
38443 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38444
38445 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
38446
38447 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38448
38449 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
38450 only for |x| >= 40.
38451 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38452
38453 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
38454
38455 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
38456 Replace gettimeofday with __vdso_gettimeofday.
38457
38458 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38459 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
38460 __vdso_clock_gettime and __vdso_getcpu.
38461
38462 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
38463 time with __vdso_time.
38464
38465 2012-03-05 Joseph Myers <joseph@codesourcery.com>
38466
38467 * manual/lang.texi (size_t): Note types to which size_t may be
38468 equivalent with the GNU C Library, but do not describe when
38469 differences between them are significant.
38470
38471 2012-03-05 Andreas Jaeger <aj@suse.de>
38472
38473 * sysdeps/i386/fpu/libm-test-ulps: Update.
38474
38475 2012-03-05 Joseph Myers <joseph@codesourcery.com>
38476
38477 [BZ #3976]
38478 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
38479 (__ieee754_pow): Save and restore rounding mode and use
38480 round-to-nearest for main computations.
38481 * math/libm-test.inc (pow_test_tonearest): New function.
38482 (pow_test_towardzero): Likewise.
38483 (pow_test_downward): Likewise.
38484 (pow_test_upward): Likewise.
38485 (main): Call the new functions.
38486 * sysdeps/i386/fpu/libm-test-ulps: Update.
38487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38488
38489 [BZ #3976]
38490 * math/libm-test.inc (cosh_test_tonearest): New function.
38491 (cosh_test_towardzero): Likewise.
38492 (cosh_test_downward): Likewise.
38493 (cosh_test_upward): Likewise.
38494 (sinh_test_tonearest): Likewise.
38495 (sinh_test_towardzero): Likewise.
38496 (sinh_test_downward): Likewise.
38497 (sinh_test_upward): Likewise.
38498 (main): Call the new functions.
38499 * sysdeps/i386/fpu/libm-test-ulps: Update.
38500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38501
38502 2012-03-05 Tom de Vries <tom@codesourcery.com>
38503
38504 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
38505 default stack guard is set in last bytes.
38506 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
38507
38508 2012-03-05 Kees Cook <keescook@chromium.org>
38509
38510 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
38511
38512 [BZ #13656]
38513 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
38514 possibly allocate from heap instead of stack.
38515 * stdio-common/bug-vfprintf-nargs.c: New file.
38516 * stdio-common/Makefile (tests): Add nargs overflow test.
38517
38518 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
38519
38520 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38521
38522 2012-03-03 Marek Polacek <polacek@redhat.com>
38523
38524 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
38525 * math/math_private.h: Likewise.
38526 * stdlib/tst-strtod.c: Likewise.
38527 * sysdeps/i386/i486/bits/atomic.h: Likewise.
38528 * sysdeps/x86_64/bits/atomic.h: Likewise.
38529
38530 2012-03-02 David S. Miller <davem@davemloft.net>
38531
38532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
38533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
38534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
38535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
38536 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
38537 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
38538 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
38539 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
38540
38541 2012-03-02 Roland McGrath <roland@hack.frob.com>
38542
38543 [BZ #13792]
38544 * manual/examples/README: New file, says the example source files
38545 can be used under GPL>=2.
38546 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
38547 line containing just "*/".
38548 * manual/examples/add.c: Add copyright header (GPL>=2).
38549 * manual/examples/argp-ex1.c: Likewise.
38550 * manual/examples/argp-ex2.c: Likewise.
38551 * manual/examples/argp-ex3.c: Likewise.
38552 * manual/examples/argp-ex4.c: Likewise.
38553 * manual/examples/atexit.c: Likewise.
38554 * manual/examples/db.c: Likewise.
38555 * manual/examples/dir.c: Likewise.
38556 * manual/examples/dir2.c: Likewise.
38557 * manual/examples/execinfo.c: Likewise.
38558 * manual/examples/filecli.c: Likewise.
38559 * manual/examples/filesrv.c: Likewise.
38560 * manual/examples/fmtmsgexpl.c: Likewise.
38561 * manual/examples/genpass.c: Likewise.
38562 * manual/examples/inetcli.c: Likewise.
38563 * manual/examples/inetsrv.c: Likewise.
38564 * manual/examples/isockad.c: Likewise.
38565 * manual/examples/longopt.c: Likewise.
38566 * manual/examples/memopen.c: Likewise.
38567 * manual/examples/memstrm.c: Likewise.
38568 * manual/examples/mkfsock.c: Likewise.
38569 * manual/examples/mkisock.c: Likewise.
38570 * manual/examples/mygetpass.c: Likewise.
38571 * manual/examples/pipe.c: Likewise.
38572 * manual/examples/popen.c: Likewise.
38573 * manual/examples/rprintf.c: Likewise.
38574 * manual/examples/search.c: Likewise.
38575 * manual/examples/select.c: Likewise.
38576 * manual/examples/setjmp.c: Likewise.
38577 * manual/examples/sigh1.c: Likewise.
38578 * manual/examples/sigusr.c: Likewise.
38579 * manual/examples/stpcpy.c: Likewise.
38580 * manual/examples/strdupa.c: Likewise.
38581 * manual/examples/strftim.c: Likewise.
38582 * manual/examples/strncat.c: Likewise.
38583 * manual/examples/subopt.c: Likewise.
38584 * manual/examples/swapcontext.c: Likewise.
38585 * manual/examples/termios.c: Likewise.
38586 * manual/examples/testopt.c: Likewise.
38587 * manual/examples/testpass.c: Likewise.
38588 * manual/examples/timeval_subtract.c: Likewise.
38589
38590 [BZ #13792]
38591 * manual/time.texi (Elapsed Time): Move timeval_subtract example
38592 function to ...
38593 * manual/timeval_subtract.c.texi: ... here, new file.
38594
38595 2012-03-02 David S. Miller <davem@davemloft.net>
38596
38597 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
38598
38599 2012-03-02 Joseph Myers <joseph@codesourcery.com>
38600
38601 [BZ #3976]
38602 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
38603 (__sin): Save and restore rounding mode and use round-to-nearest
38604 for all computations.
38605 (__cos): Save and restore rounding mode and use round-to-nearest
38606 for all computations.
38607 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
38608 <fenv.h>.
38609 (tan): Save and restore rounding mode and use round-to-nearest for
38610 all computations.
38611 * math/libm-test.inc (cos_test_tonearest): New function.
38612 (cos_test_towardzero): Likewise.
38613 (cos_test_downward): Likewise.
38614 (cos_test_upward): Likewise.
38615 (sin_test_tonearest): Likewise.
38616 (sin_test_towardzero): Likewise.
38617 (sin_test_downward): Likewise.
38618 (sin_test_upward): Likewise.
38619 (tan_test_tonearest): Likewise.
38620 (tan_test_towardzero): Likewise.
38621 (tan_test_downward): Likewise.
38622 (tan_test_upward): Likewise.
38623 (main): Call the new functions.
38624 * sysdeps/i386/fpu/libm-test-ulps: Update.
38625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38626
38627 [BZ #10135]
38628 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
38629 small n, then large n, before computing and testing k+n.
38630 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
38631 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
38632 Likewise.
38633 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
38634 Likewise.
38635 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
38636 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
38637 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
38638 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
38639 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
38640 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
38641 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
38642 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
38643 * math/libm-test.inc (scalbn_test): Add more tests.
38644 (scalbln_test): Likewise.
38645
38646 * manual/filesys.texi (mode_t): Describe constraints on size and
38647 signedness, not exact equivalence to a particular type.
38648 (ino_t): Likewise.
38649 (ino64_t): Likewise.
38650 (dev_t): Likewise.
38651 (nlink_t): Likewise.
38652 (blkcnt_t): Likewise.
38653 (blkcnt64_t): Likewise.
38654 * manual/llio.texi (off_t): Likewise.
38655
38656 [BZ #3976]
38657 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
38658 (__ieee754_exp): Save and restore rounding mode and use
38659 round-to-nearest for all computations.
38660 * math/libm-test.inc (exp_test_tonearest): New function.
38661 (exp_test_towardzero): Likewise.
38662 (exp_test_downward): Likewise.
38663 (exp_test_upward): Likewise.
38664 (main): Call the new functions.
38665 * sysdeps/i386/fpu/libm-test-ulps: Update.
38666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38667
38668 2012-03-01 Chris Demetriou <cgd@google.com>
38669
38670 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
38671 have predictable order.
38672
38673 2012-03-01 David S. Miller <davem@davemloft.net>
38674
38675 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
38676
38677 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
38678 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
38679 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
38680 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
38681
38682 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
38683 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
38684 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
38685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
38686 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
38687 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
38688 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
38689 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
38690 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
38691
38692 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38693
38694 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
38695 * sysdeps/sparc/fpu/libm-test-ulps: to here.
38696 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
38697
38698 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
38699 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38700 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38701 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
38702 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
38703 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
38704 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
38705 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38706 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38707 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
38708 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
38709 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38710 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38711 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38712 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38713 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38714 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
38715 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
38716 * sysdeps/sparc/elf/configure: Regenerated.
38717
38718 2012-03-01 Joseph Myers <joseph@codesourcery.com>
38719
38720 * configure.in (AS, LD): Require binutils 2.20 or later.
38721 * configure: Regenerated.
38722 * manual/install.texi (Tools for Compilation): Give binutils 2.20
38723 as required minimum version.
38724 * INSTALL: Regenerated.
38725
38726 [BZ #2541]
38727 [BZ #4108]
38728 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
38729 before squaring exponent.
38730 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
38731 bottom long double and 27 bits of top long double before squaring
38732 exponent.
38733 * math/libm-test.inc (erfc_test): Add more tests.
38734 * sysdeps/i386/fpu/libm-test-ulps: Update.
38735 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38737
38738 2012-03-01 Kai Tietz <ktietz@redhat.com>
38739
38740 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
38741 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
38742 containing bit-fields.
38743 * soft-fp/extended.h (_FP_UNION_E): Likewise.
38744 * soft-fp/single.h (_FP_UNION_S): Likewise.
38745 * soft-fp/double.h (_FP_UNION_D): Likewise.
38746
38747 2012-02-29 Joseph Myers <joseph@codesourcery.com>
38748
38749 [BZ #13786]
38750 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
38751 not include ../strcmp.S.
38752 [USE_AS_STRNCASECMP_L]: Likewise.
38753 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
38754 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
38755 * sysdeps/i386/i686/multiarch/strncase_l-c.c
38756 (__strncasecmp_l_ia32): Define as alias to
38757 __strncasecmp_l_nonascii.
38758
38759 [BZ #5794]
38760 * math/libm-test.inc (expm1_test): Add test for bug 5794.
38761 * sysdeps/i386/fpu/libm-test-ulps: Update.
38762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38763
38764 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
38765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38766
38767 2012-02-29 Jeff Law <law@redhat.com>
38768
38769 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
38770 out of bounds read.
38771
38772 2012-02-29 Marek Polacek <polacek@redhat.com>
38773
38774 [BZ #13706]
38775 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
38776 * elf/Makefile: Add rules to run tst-unused-dep.out.
38777
38778 2012-02-28 David S. Miller <davem@davemloft.net>
38779
38780 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
38781 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
38782 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
38783 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
38784 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
38785 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
38786
38787 2012-02-29 Joseph Myers <joseph@codesourcery.com>
38788
38789 * math/libm-test.inc (llround_test): Move one test from
38790 lround_test. Use TEST_f_L in moved test.
38791 (lround_test): Move misplaced test to llround_test. Add testcase
38792 from bug 2561.
38793
38794 2012-02-28 Ulrich Drepper <drepper@gmail.com>
38795
38796 * sysdeps/x86_64/fpu/e_expf.S: New file.
38797 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
38798
38799 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
38800
38801 [BZ #13637]
38802 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
38803 of remain_len that may cause incomplete multi-byte character and
38804 false match.
38805 * posix/bug-regex33.c: New file.
38806 * posix/Makefile (tests): Add bug-regex33.
38807
38808 2012-02-28 Joseph Myers <joseph@codesourcery.com>
38809
38810 * manual/macros.texi: New file.
38811 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
38812 * manual/libc.texinfo: Include macros.texi.
38813 * manual/creatute.texi: Likewise.
38814 * manual/install.texi: Likewise.
38815 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
38816 @glibcadj{} in references to the GNU C Library.
38817 * manual/charset.texi: Likewise.
38818 * manual/conf.texi: Likewise.
38819 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
38820 when not using those macros.
38821 * manual/creature.texi: Likewise.
38822 * manual/crypt.texi: Likewise.
38823 * manual/errno.texi: Likewise.
38824 * manual/filesys.texi: Likewise.
38825 * manual/header.texi: Likewise.
38826 * manual/install.texi: Likewise.
38827 * manual/intro.texi: Likewise.
38828 * manual/io.texi: Likewise.
38829 * manual/job.texi: Likewise.
38830 * manual/lang.texi: Likewise.
38831 * manual/libc.texiinfo: Likewise.
38832 * manual/llio.texi: Likewise.
38833 * manual/locale.texi: Likewise.
38834 * manual/maint.texi: Likewise.
38835 * manual/math.texi: Likewise.
38836 * manual/memory.texi: Likewise.
38837 * manual/message.texi: Likewise.
38838 * manual/nss.texi: Likewise.
38839 * manual/pattern.texi: Likewise.
38840 * manual/process.texi: Likewise.
38841 * manual/resource.texi: Likewise.
38842 * manual/search.texi: Likewise.
38843 * manual/setjmp.texi: Likewise.
38844 * manual/signal.texi: Likewise.
38845 * manual/socket.texi: Likewise.
38846 * manual/startup.texi: Likewise.
38847 * manual/stdio.texi: Likewise.
38848 * manual/string.texi: Likewise.
38849 * manual/sysinfo.texi: Likewise.
38850 * manual/syslog.texi: Likewise.
38851 * manual/terminal.texi: Likewise.
38852 * manual/time.texi: Likewise.
38853 * manual/users.texi: Likewise.
38854 * INSTALL: Regenerated.
38855 * NOTES: Regenerated.
38856 * sysdeps/gnu/errlist.c: Regenerated.
38857
38858 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
38859
38860 * include/dirent.h: Include <dirstream.h> before
38861 <dirent/dirent.h>.
38862
38863 2012-02-28 David S. Miller <davem@davemloft.net>
38864
38865 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
38866 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
38867 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
38868 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
38869
38870 2012-02-27 David S. Miller <davem@davemloft.net>
38871
38872 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
38873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
38874 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
38875 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
38876
38877 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
38878 frame pointer instead of stack pointer relative arg slot.
38879 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38880 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38881 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38882
38883 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
38884
38885 [BZ #3992]
38886 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
38887
38888 2012-02-27 David S. Miller <davem@davemloft.net>
38889
38890 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
38891 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38892 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38893 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
38894 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38895 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38896 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
38897 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
38898
38899 2012-02-27 Joseph Myers <joseph@codesourcery.com>
38900
38901 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
38902 later. Allow versions 5-9.
38903 * configure: Regenerated.
38904 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
38905 required minimum version and 4.6 as recommended version. Do not
38906 mention bugs in GCC 2.7 and 2.8.
38907 * INSTALL: Regenerated.
38908
38909 2012-02-27 David S. Miller <davem@davemloft.net>
38910
38911 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
38912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
38913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
38914 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
38915 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
38916 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
38917 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
38918 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
38919
38920 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
38921 manipulate bits before adding and subtracting TWO112[sx].
38922 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38923
38924 2012-02-27 Roland McGrath <roland@hack.frob.com>
38925
38926 [BZ #13775]
38927 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
38928 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
38929 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
38930 being in POSIX, because they are in 1003.1-2008.
38931
38932 * rt/tst-aio.c: Include <fcntl.h>.
38933 * rt/tst-aio7.c: Likewise.
38934 * rt/tst-aio64.c: Likewise.
38935
38936 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
38937
38938 2012-02-27 Joseph Myers <joseph@codesourcery.com>
38939
38940 * manual/install.texi (--with-headers): Describe headers as
38941 interface headers, not private headers.
38942 (Specific advice for GNU/Linux systems): Describe use of headers
38943 from "make headers_install", not private headers from older
38944 kernels.
38945 * INSTALL: Regenerated.
38946 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
38947 Change to 2.6.19.
38948 * sysdeps/unix/sysv/linux/configure: Regenerated.
38949
38950 * manual/llio.texi (fclean): Remove documentation.
38951
38952 * manual/Makefile (libc-texi-generated): New variable. Include
38953 version.texi.
38954 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
38955 $(libc-texi-generated), not duplicated list of files.
38956 (version.texi, stamp-version): New rules.
38957 (realclean): Remove $(libc-texi-generated), not individual files
38958 from that list. Do not remove dir-add.texinfo.
38959 * manual/libc.texinfo: Comment out uses of edition numbers and
38960 references to printed manual. Remove last-updated dates.
38961 (EDITION): Comment out.
38962 (ISBN): Likewise.
38963 (VERSION, UPDATED): Remove.
38964 (version.texi): Include.
38965
38966 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
38967
38968 * sysdeps/posix/spawni.c: Include <signal.h>.
38969 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
38970 * sysdeps/pthread/aio_fsync.c: Likewise.
38971
38972 2012-02-26 Ulrich Drepper <drepper@gmail.com>
38973
38974 * conform/Makefile (tests): Run only when not cross-compiling and
38975 when fast-check is not defined.
38976
38977 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
38978 * conform/data/limits.h-data: Fixes for POSIX2008.
38979 * conform/run-conformtest.sh: Run all tests.
38980 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
38981 headers.
38982 * include/bits/dlfcn.h: Likewise.
38983 * include/langinfo.h: Likewise.
38984 * include/monetary.h: Likewise.
38985 * include/sys/poll.h: Likewise.
38986
38987 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
38988 for __USE_GNU.
38989 * posix/spawn.h: Define __need_sigset_t.
38990 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
38991 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
38992 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
38993 to get sigevent_t only.
38994 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
38995 only for __USE_GNU.
38996 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38997 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38998 process_vm_writev only for __USE_GNU.
38999 * termios/termios.h: Declare tcgetsid also for POSIX2008.
39000
39001 * conform/Makefile: For now ignore errors from run-conformtest.
39002 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
39003 POSIX to avoid namespace pollution. Don't prepend headers.
39004 * conform/data/aio.h-data: Fixes for POSIX testing.
39005 * conform/data/fcntl.h-data: Likewise.
39006 * conform/data/glob.h-data: Likewise.
39007 * conform/data/grp.h-data: Likewise.
39008 * conform/data/pthread.h-data: Likewise.
39009 * conform/data/pwd.h-data: Likewise.
39010 * conform/data/signal.h-data: Likewise.
39011 * conform/data/spawn.h-data: Likewise.
39012 * conform/data/stdio.h-data: Likewise.
39013 * conform/data/stdlib.h-data: Likewise.
39014 * conform/data/stropts.h-data: Likewise.
39015 * conform/data/sys/mman.h-data: Likewise.
39016 * conform/data/sys/stat.h-data: Likewise.
39017 * conform/data/sys/types.h-data: Likewise.
39018 * conform/data/sys/wait.h-data: Likewise.
39019 * conform/data/time.h-data: Likewise.
39020 * conform/data/unistd.h-data: Likewise.
39021 * conform/data/utime.h-data: Likewise.
39022
39023 * io/sys/stat.h: fchmod was always in POSIX.
39024 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
39025 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
39026 * rt/aio.h: Define __need_timespec before including <time.h>.
39027 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
39028 struct. Add forward declaration of pthread_attr_t and use it in
39029 sigevent.
39030 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39031 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39032 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
39033 always remove CLK_TCK definition.
39034
39035 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
39036
39037 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
39038
39039 2012-02-25 Ulrich Drepper <drepper@gmail.com>
39040
39041 * conform/run-conformtest.sh: New file.
39042 * conform/Makefile: Run run-conformtest for tests.
39043 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
39044 support.
39045
39046 * conform/data/uchar.h-data: New file.
39047 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
39048 * conform/data/arpa/inet.h-data: Likewise.
39049 * conform/data/assert.h-data: Likewise.
39050 * conform/data/complex.h-data: Likewise.
39051 * conform/data/cpio.h-data: Likewise.
39052 * conform/data/ctype.h-data: Likewise.
39053 * conform/data/dirent.h-data: Likewise.
39054 * conform/data/dlfcn.h-data: Likewise.
39055 * conform/data/errno.h-data: Likewise.
39056 * conform/data/fcntl.h-data: Likewise.
39057 * conform/data/float.h-data: Likewise.
39058 * conform/data/fmtmsg.h-data: Likewise.
39059 * conform/data/fnmatch.h-data: Likewise.
39060 * conform/data/ftw.h-data: Likewise.
39061 * conform/data/glob.h-data: Likewise.
39062 * conform/data/grp.h-data: Likewise.
39063 * conform/data/iconv.h-data: Likewise.
39064 * conform/data/inttypes.h-data: Likewise.
39065 * conform/data/langinfo.h-data: Likewise.
39066 * conform/data/libgen.h-data: Likewise.
39067 * conform/data/limits.h-data: Likewise.
39068 * conform/data/locale.h-data: Likewise.
39069 * conform/data/math.h-data: Likewise.
39070 * conform/data/monetary.h-data: Likewise.
39071 * conform/data/mqueue.h-data: Likewise.
39072 * conform/data/ndbm.h-data: Likewise.
39073 * conform/data/net/if.h-data: Likewise.
39074 * conform/data/netdb.h-data: Likewise.
39075 * conform/data/netinet/in.h-data: Likewise.
39076 * conform/data/nl_types.h-data: Likewise.
39077 * conform/data/poll.h-data: Likewise.
39078 * conform/data/pthread.h-data: Likewise.
39079 * conform/data/pwd.h-data: Likewise.
39080 * conform/data/regex.h-data: Likewise.
39081 * conform/data/sched.h-data: Likewise.
39082 * conform/data/search.h-data: Likewise.
39083 * conform/data/semaphore.h-data: Likewise.
39084 * conform/data/setjmp.h-data: Likewise.
39085 * conform/data/signal.h-data: Likewise.
39086 * conform/data/spawn.h-data: Likewise.
39087 * conform/data/stdarg.h-data: Likewise.
39088 * conform/data/stdio.h-data: Likewise.
39089 * conform/data/stdlib.h-data: Likewise.
39090 * conform/data/string.h-data: Likewise.
39091 * conform/data/strings.h-data: Likewise.
39092 * conform/data/stropts.h-data: Likewise.
39093 * conform/data/sys/ipc.h-data: Likewise.
39094 * conform/data/sys/mman.h-data: Likewise.
39095 * conform/data/sys/msg.h-data: Likewise.
39096 * conform/data/sys/resource.h-data: Likewise.
39097 * conform/data/sys/select.h-data: Likewise.
39098 * conform/data/sys/sem.h-data: Likewise.
39099 * conform/data/sys/shm.h-data: Likewise.
39100 * conform/data/sys/socket.h-data: Likewise.
39101 * conform/data/sys/stat.h-data: Likewise.
39102 * conform/data/sys/statvfs.h-data: Likewise.
39103 * conform/data/sys/time.h-data: Likewise.
39104 * conform/data/sys/timeb.h-data: Likewise.
39105 * conform/data/sys/times.h-data: Likewise.
39106 * conform/data/sys/types.h-data: Likewise.
39107 * conform/data/sys/uio.h-data: Likewise.
39108 * conform/data/sys/un.h-data: Likewise.
39109 * conform/data/sys/utsname.h-data: Likewise.
39110 * conform/data/sys/wait.h-data: Likewise.
39111 * conform/data/syslog.h-data: Likewise.
39112 * conform/data/tar.h-data: Likewise.
39113 * conform/data/termios.h-data: Likewise.
39114 * conform/data/utime.h-data: Likewise.
39115 * conform/data/utmpx.h-data: Likewise.
39116 * conform/data/varargs.h-data: Likewise.
39117 * conform/data/wchar.h-data: Likewise.
39118 * conform/data/wctype.h-data: Likewise.
39119 * conform/data/wordexp.h-data: Likewise.
39120
39121 * include/stropts.h: New file.
39122 * include/uchar.h: New file.
39123 * include/aio.h: Changes to allow conformtest.pl to use the headers.
39124 * include/assert.h: Likewise.
39125 * include/ctype.h: Likewise.
39126 * include/dirent.h: Likewise.
39127 * include/dlfcn.h: Likewise.
39128 * include/fcntl.h: Likewise.
39129 * include/fnmatch.h: Likewise.
39130 * include/glob.h: Likewise.
39131 * include/grp.h: Likewise.
39132 * include/libio.h: Likewise.
39133 * include/locale.h: Likewise.
39134 * include/math.h: Likewise.
39135 * include/net/if.h: Likewise.
39136 * include/netdb.h: Likewise.
39137 * include/netinet/in.h: Likewise.
39138 * include/pthread.h: Likewise.
39139 * include/pwd.h: Likewise.
39140 * include/regex.h: Likewise.
39141 * include/sched.h: Likewise.
39142 * include/search.h: Likewise.
39143 * include/setjmp.h: Likewise.
39144 * include/signal.h: Likewise.
39145 * include/stdio.h: Likewise.
39146 * include/stdlib.h: Likewise.
39147 * include/string.h: Likewise.
39148 * include/sys/cdefs.h: Likewise.
39149 * include/sys/mman.h: Likewise.
39150 * include/sys/msg.h: Likewise.
39151 * include/sys/resource.h: Likewise.
39152 * include/sys/select.h: Likewise.
39153 * include/sys/socket.h: Likewise.
39154 * include/sys/stat.h: Likewise.
39155 * include/sys/statvfs.h: Likewise.
39156 * include/sys/time.h: Likewise.
39157 * include/sys/times.h: Likewise.
39158 * include/sys/uio.h: Likewise.
39159 * include/sys/utsname.h: Likewise.
39160 * include/sys/wait.h: Likewise.
39161 * include/termios.h: Likewise.
39162 * include/time.h: Likewise.
39163 * include/ulimit.h: Likewise.
39164 * include/unistd.h: Likewise.
39165 * include/utime.h: Likewise.
39166 * include/wchar.h: Likewise.
39167 * include/wctype.h: Likewise.
39168 * include/wordexp.h: Likewise.
39169
39170 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
39171
39172 * time/time.h: TIME_UTC must be a macro.
39173 Make timespec_get available for ISO C11 only as well.
39174
39175 2012-02-24 Ulrich Drepper <drepper@gmail.com>
39176
39177 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
39178 Reported by Peng Haitao <penght@cn.fujitsu.com>.
39179
39180 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39181
39182 * configure.in: Use -o not -a in test for unsupported multi-arch.
39183
39184 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39185
39186 * manual/texinfo.tex: Update to version 2012-01-19.16.
39187
39188 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39189
39190 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
39191
39192 2012-02-24 Roland McGrath <roland@hack.frob.com>
39193
39194 [BZ #13738]
39195 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
39196 * manual/fdl-1.3.texi: New file.
39197 * manual/fdl-1.1.texi: File removed.
39198
39199 [BZ #13738]
39200 * manual/libc.texinfo (FDL_VERSION): New @set.
39201 Use it for mention of FDL in cover text.
39202 (Documentation License): Use it in @include file name.
39203
39204 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39205 Roland McGrath <roland@hack.frob.com>
39206
39207 [BZ #5461]
39208 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
39209 (not LONG_LONG_MAX and LONG_LONG_MIN.
39210 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
39211 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
39212 name.
39213 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
39214
39215 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39216
39217 [BZ #2547]
39218 [BZ #11365]
39219 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
39220 manipulate bits before adding and subtracting TWO23[sx].
39221 * math/libm-test.inc (nearbyint_test): Add more tests.
39222
39223 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39224
39225 [BZ #2548]
39226 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
39227 bits before adding and subtracting TWO23[sx].
39228 * math/libm-test.inc (rint_test): Add more tests.
39229 (rint_test_tonearest): Likewise.
39230 (rint_test_towardzero): Likewise.
39231 (rint_test_downward): Likewise.
39232 (rint_test_upward: Likewise.
39233
39234 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39235
39236 [BZ #10110]
39237 * include/stdc-predef.h: New file. Extracted from features.h.
39238 * include/features.h: Include stdc-predef.h.
39239 * Makefile (headers): Add stdc-predef.h.
39240 * CONFORMANCE (Compiler limitations): Update.
39241
39242 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39243
39244 * manual/libc.texinfo (VERSION, UPDATED): Revert.
39245
39246 2012-02-21 David S. Miller <davem@davemloft.net>
39247
39248 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
39249 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39250
39251 2012-02-20 David S. Miller <davem@davemloft.net>
39252
39253 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
39254 using a normal save/restore sequence, rather than allocating a
39255 dummy stack frame just to store a frame pointer and restore.
39256 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39257
39258 2012-02-21 Joseph Myers <joseph@codesourcery.com>
39259
39260 * manual/install.texi: Fix stray word in line-wrapped comment.
39261
39262 2012-02-20 David S. Miller <davem@davemloft.net>
39263
39264 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
39265 both binutils and gcc support GOTDATA.
39266
39267 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
39268 "rd %pc" in the PIC register setup sequences.
39269
39270 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
39271 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
39272 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39273 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
39274 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39275 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39276 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39277 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39278 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
39279 (SYSCALL_ERROR_HANDLER): Likewise.
39280 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39281 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39282 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
39283 (SYSCALL_ERROR_HANDLER): Likewise.
39284
39285 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
39286 (HAVE_GCC_GOTDATA): New.
39287 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
39288 relocation support in both binutils and gcc.
39289 * sysdeps/sparc/elf/configure: Regenerate.
39290
39291 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
39292 * sysdeps/sparc/sparc32/elf/configure: Delete.
39293 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
39294 * sysdeps/sparc/sparc64/elf/configure: Delete.
39295 * sysdeps/sparc/elf/configure.in: New file.
39296 * sysdeps/sparc/elf/configure: Generate.
39297
39298 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
39299 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
39300 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39301 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
39302 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
39303
39304 2012-02-21 Joseph Myers <joseph@codesourcery.com>
39305
39306 * manual/install.texi: Do not mention specific glibc version
39307 numbers.
39308 * manual/libc.texinfo (VERSION, UPDATED): Update.
39309 (@copying): Use @copyright{} and range of years.
39310
39311 2012-02-21 Joseph Myers <joseph@codesourcery.com>
39312
39313 [BZ #13695]
39314 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
39315 [crti.S not in sysdirs] (generated): Do not append.
39316 [crti.S not in sysdirs] (omit-deps): Likewise.
39317 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
39318 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
39319 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
39320 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
39321 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
39322 Likewise.
39323 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
39324 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
39325 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
39326 * csu/defs.awk: Remove file.
39327 * sysdeps/generic/initfini.c: Likewise.
39328 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
39329 variable.
39330 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
39331 Likewise.
39332
39333 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39334
39335 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
39336 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
39337 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
39338 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
39339 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39340 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
39341 <bits/epoll.h>.
39342 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
39343 (__EPOLL_PACKED): Define to empty if not defined by
39344 <bits/epoll.h>.
39345 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
39346 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39347 bits/epoll.h.
39348
39349 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39350
39351 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
39352 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
39353 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
39354 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
39355 <bits/timerfd.h>.
39356 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
39357 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39358 bits/timerfd.h.
39359
39360 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39361
39362 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
39363 in C locale.
39364 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39365 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
39366 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
39367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39368
39369 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
39370
39371 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39372 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39373
39374 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
39375
39376 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
39377 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
39378 defined.
39379 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
39380 Likewise.
39381 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
39382 entry for 2.16.
39383
39384 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
39385
39386 * math/w_acos.c: Use non-signaling floating-point comparisons.
39387 * math/w_acosf.c: Likewise.
39388 * math/w_acosh.c: Likewise.
39389 * math/w_acoshf.c: Likewise.
39390 * math/w_acoshl.c: Likewise.
39391 * math/w_acosl.c: Likewise.
39392 * math/w_asin.c: Likewise.
39393 * math/w_asinf.c: Likewise.
39394 * math/w_asinl.c: Likewise.
39395 * math/w_atanh.c: Likewise.
39396 * math/w_atanhf.c: Likewise.
39397 * math/w_atanhl.c: Likewise.
39398 * math/w_exp2.c: Likewise.
39399 * math/w_exp2f.c: Likewise.
39400 * math/w_exp2l.c: Likewise.
39401 * math/w_j0.c: Likewise.
39402 * math/w_j0f.c: Likewise.
39403 * math/w_j0l.c: Likewise.
39404 * math/w_j1.c: Likewise.
39405 * math/w_j1f.c: Likewise.
39406 * math/w_j1l.c: Likewise.
39407 * math/w_jn.c: Likewise.
39408 * math/w_jnf.c: Likewise.
39409 * math/w_log.c: Likewise.
39410 * math/w_log10.c: Likewise.
39411 * math/w_log10f.c: Likewise.
39412 * math/w_log10l.c: Likewise.
39413 * math/w_log2.c: Likewise.
39414 * math/w_log2f.c: Likewise.
39415 * math/w_log2l.c: Likewise.
39416 * math/w_logf.c: Likewise.
39417 * math/w_logl.c: Likewise.
39418 * math/w_sqrt.c: Likewise.
39419 * math/w_sqrtf.c: Likewise.
39420 * math/w_sqrtl.c: Likewise.
39421 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39422 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
39423 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39424 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39425 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39426
39427 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39428
39429 [BZ #9739]
39430 * manual/string.texi (strnlen): Use correct parameter name in
39431 equivalent expression.
39432
39433 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39434
39435 [BZ #11174]
39436 * manual/users.texi (seteuid): Consistently use neweuid for
39437 argument name.
39438
39439 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39440
39441 [BZ #13704]
39442 * manual/nss.texi (Services in the NSS configuration): Correct
39443 list of services in example configuration file.
39444
39445 2012-02-19 Nick Bowler <nbowler@draconx.ca>
39446
39447 [BZ #11322]
39448 * manual/arith.texi: Remove statements about negative zero
39449 behaving identically to zero.
39450
39451 2012-02-18 Joseph Myers <joseph@codesourcery.com>
39452
39453 [BZ #5993]
39454 * manual/install.texi: Do not document upgrading from libc5.
39455
39456 2012-02-18 Joseph Myers <joseph@codesourcery.com>
39457
39458 [BZ #4596]
39459 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
39460
39461 2012-02-18 David S. Miller <davem@davemloft.net>
39462
39463 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
39464 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
39465 %o7 across the call.
39466 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
39467 instead.
39468 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
39469 SETUP_PIC_REG_LEAF.
39470 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39471 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
39472 * sysdeps/sparc/crtn.S: Likewise.
39473
39474 2012-02-17 Ulrich Drepper <drepper@gmail.com>
39475
39476 * aout/Makefile: Remove.
39477
39478 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
39479
39480 [BZ #13058]
39481 * manual/examples/argp-ex1.c (main): Format definition in GNU
39482 style.
39483 * manual/examples/argp-ex2.c (main): Likewise.
39484 * manual/examples/argp-ex3.c (main): Likewise.
39485 * manual/examples/argp-ex4.c (main): Likewise.
39486 * manual/examples/longopt.c (main): Use new-style prototype
39487 definition.
39488 * manual/examples/strncat.c (main): Specify return type and use
39489 (void) for arguments.
39490 * manual/examples/subopt.c (main): Use char **argv argument.
39491
39492 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39493
39494 [BZ #5077]
39495 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
39496 rounding modes.
39497
39498 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
39499
39500 [BZ #6907]
39501 * manual/string.texi (strchr): Change when strchrnul is
39502 recommended.
39503
39504 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
39505
39506 [BZ #174]
39507 * manual/locale.texi (setlocale): Document LOCPATH.
39508
39509 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39510
39511 [BZ #10210]
39512 * manual/process.texi (execle): Move @dots{} before last argument.
39513
39514 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
39515
39516 [BZ #12047]
39517 * manual/charset.texi (Generic Charset Conversion): Fix typo
39518 (LC_TYPE -> LC_CTYPE).
39519
39520 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
39521
39522 [BZ #5805]
39523 * manual/arith.texi (scalbn): Use @var{} on parameter names.
39524 (scalbnf): Likewise.
39525 (scalbnl): Likewise.
39526 (scalbln): Likewise.
39527 (scalblnf): Likewise.
39528 (scalblnl): Likewise.
39529 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
39530 (vwarnx): Likewise.
39531 (verr): Likewise.
39532 (verrx): Likewise.
39533 * manual/filesys.texi (telldir): Use braces around return type.
39534 * manual/llio.texi (mmap): Add space after comma.
39535 (mmap64): Likewise.
39536 * manual/math.texi (jn): Use @var{} on parameter names.
39537 (jnf): Likewise.
39538 (jnl): Likewise.
39539 (yn): Likewise.
39540 (ynf): Likewise.
39541 (ynl): Likewise.
39542 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
39543 line.
39544 * manual/resource.texi (ulimit): Use @dots{} instead of literal
39545 "...".
39546 (sched_get_priority_min): Remove semicolon on @deftypefun line.
39547 (sched_get_priority_max): Likewise.
39548 * manual/signal.texi (sigvec): Add space after comma.
39549 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
39550 names.
39551 (if_indextoname): Likewise.
39552 (if_freenameindex): Likewise.
39553 (sendto): Use ',' instead of '.' in prototype.
39554 * manual/startup.texi (syscall): Use @dots{} instead of literal
39555 "...".
39556 * manual/stdio.texi (__fpending): Separate initial words of
39557 paragraph from @deftypefun line.
39558 * manual/syslog.texi (syslog): Use @dots{} instead of literal
39559 "...".
39560 (vsyslog): Use @var{} on parameter names.
39561 * manual/terminal.texi (stty): Use @var{} on parameter names.
39562 * manual/users.texi (getutmp): Use @var{} on parameter names.
39563 (getutmpx): Likewise.
39564
39565 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39566
39567 [BZ #6884]
39568 * manual/stdio.texi (fopen): Fix typos in description of
39569 ",ccs=STRING".
39570
39571 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
39572
39573 [BZ #4026]
39574 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
39575 get clock_id definition.
39576
39577 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
39578
39579 [BZ #4822]
39580 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
39581 (madvise): Cast every argument to void on its own.
39582
39583 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39584
39585 [BZ #9902]
39586 * manual/startup.texi (Exit Status): Fix typo.
39587
39588 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39589
39590 [BZ #10140]
39591 * manual/examples/argp-ex1.c: Include <stdlib.h>.
39592 * manual/examples/argp-ex2.c: Likewise.
39593 * manual/examples/argp-ex3.c: Likewise.
39594
39595 2012-02-16 Richard Henderson <rth@redhat.com>
39596
39597 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
39598 * sysdeps/s390/s390-32/initfini.c: Remove.
39599 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
39600 * sysdeps/s390/s390-64/initfini.c: Remove.
39601
39602 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39603
39604 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
39605 compiler output for sysdeps/generic/initfini.c.
39606 * sysdeps/sh/elf/initfini.c: Remove file.
39607
39608 2012-02-16 David S. Miller <davem@davemloft.net>
39609
39610 [BZ #11494]
39611 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
39612
39613 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
39614 * sysdeps/sparc/crti.S: New file.
39615 * sysdeps/sparc/crtn.S: New file.
39616 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
39617 * sysdeps/sparc/sparc64/Makefile: Likewise.
39618
39619 2012-02-15 Mike Frysinger <vapier@gentoo.org>
39620
39621 [BZ #3335]
39622 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
39623
39624 2012-02-15 Roland McGrath <roland@hack.frob.com>
39625
39626 [BZ #4822]
39627 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
39628
39629 * mach/devstream.c (cookie_io_functions_t): Macro removed.
39630 (write, read, close): Likewise.
39631 Patch by Aurelien Jarno <aurelien@aurel32.net>.
39632
39633 2012-02-15 Joseph Myers <joseph@codesourcery.com>
39634
39635 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
39636 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
39637 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
39638 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
39639 <bits/signalfd.h>.
39640 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
39641 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39642 bits/signalfd.h.
39643
39644 2012-02-14 Marek Polacek <polacek@redhat.com>
39645
39646 * sysdeps/x86_64/crti.S: New file.
39647 * sysdeps/x86_64/crtn.S: New file.
39648 * sysdeps/x86_64/elf/initfini.c: Remove file.
39649
39650 2012-02-13 Joseph Myers <joseph@codesourcery.com>
39651
39652 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
39653 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
39654 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
39655 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
39656 <bits/inotify.h>.
39657 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
39658 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39659 bits/inotify.h.
39660
39661 2012-02-13 Joseph Myers <joseph@codesourcery.com>
39662
39663 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
39664 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
39665 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
39666 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
39667 <bits/eventfd.h>.
39668 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
39669 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39670 bits/eventfd.h.
39671
39672 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
39673
39674 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
39675 __feraiseexcept instead of feraiseexcept.
39676
39677 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
39678 nanosleep invocations.
39679 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
39680 strings, and add error checking for a nanosleep invocations.
39681
39682 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
39683
39684 Replace FSF snail mail address with URLs, as per GNU coding standards.
39685 Most of the snail mail addresses were wrong anyway, and omitting
39686 them makes the source code easier to maintain. Almost all of the
39687 changes are to license notices and to locale LC_IDENTIFICATION
39688 addresses, except for this one:
39689 * manual/libc.texinfo: In "Published by", give the FSF's URL,
39690 not its snail mail address.
39691
39692 2012-02-09 Richard Henderson <rth@twiddle.net>
39693
39694 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
39695 of kernel-features.h.
39696
39697 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
39698
39699 2012-02-08 Marek Polacek <polacek@redhat.com>
39700
39701 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
39702 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
39703 * sysdeps/gnu/_G_config.h: Likewise.
39704 * sysdeps/generic/_G_config.h: Likewise.
39705
39706 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
39707
39708 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
39709 tests.
39710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39711
39712 * sysdeps/powerpc/powerpc32/crti.S: New file.
39713 * sysdeps/powerpc/powerpc32/crtn.S: New file.
39714 * sysdeps/powerpc/powerpc64/crti.S: New file.
39715 * sysdeps/powerpc/powerpc64/crtn.S: New file.
39716
39717 * Makeconfig (have-initfini): Don't set.
39718 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
39719 * configure.in (nopic_initfini): Don't substitute.
39720 * config.h.in (HAVE_INITFINI): Don't #undef.
39721 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
39722 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
39723
39724 2012-02-08 Joseph Myers <joseph@codesourcery.com>
39725
39726 Support crti.S and crtn.S provided directly by architectures.
39727 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
39728 [crti.S in sysdirs] (omit-deps): Likewise.
39729 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
39730 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
39731 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
39732 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
39733 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
39734 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
39735 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
39736 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
39737 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
39738 compiler output for sysdeps/generic/initfini.c.
39739 * sysdeps/i386/elf/Makefile: Remove file.
39740 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
39741
39742 2012-02-07 Marek Polacek <polacek@redhat.com>
39743
39744 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
39745 * sysdeps/gnu/_G_config.h: Likewise.
39746 * sysdeps/mach/hurd/_G_config.h: Likewise.
39747
39748 2012-02-07 Marek Polacek <polacek@redhat.com>
39749
39750 * math/Makefile (tests): Add tst-CMPLX2.
39751 * math/tst-CMPLX2.c: New file.
39752
39753 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
39754
39755 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39756
39757 * math/libm-test.inc (jn_test): Add missing L suffix.
39758
39759 2012-02-06 Marek Polacek <polacek@redhat.com>
39760
39761 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
39762 * sysdeps/i386/fpu/e_powf.S: Likewise.
39763 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39764 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39765 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39766 * sysdeps/i386/fpu/e_pow.S: Likewise.
39767 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39768 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39769 * sysdeps/i386/fpu/s_expm1.S: Likewise.
39770 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39771 * sysdeps/i386/fpu/e_log2.S: Likewise.
39772 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39773 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39774 * sysdeps/i386/fpu/e_powl.S: Likewise.
39775 * sysdeps/i386/fpu/s_log1p.S: Likewise.
39776 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39777 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39778 * sysdeps/i386/fpu/e_logl.S: Likewise.
39779 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39780 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
39781 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39782 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39783 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39784 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39785 * sysdeps/i386/fpu/e_log.S: Likewise.
39786 * sysdeps/i386/fpu/s_cexp.S: Likewise.
39787 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39788 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
39789 * sysdeps/i386/fpu/e_logf.S: Likewise.
39790 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39791 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39792 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
39793 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39794 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39795 * sysdeps/i386/fpu/e_log10.S: Likewise.
39796 * sysdeps/i386/fpu/s_frexp.S: Likewise.
39797 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39798 * sysdeps/i386/fpu/s_asinh.S: Likewise.
39799 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39800 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39801 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39802 * sysdeps/i386/asm-syntax.h: Likewise.
39803 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39804 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39805 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39806 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
39807 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
39808 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39809 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39810 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39811 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39812 * sysdeps/powerpc/sysdep.h: Likewise.
39813 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
39814 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39815
39816 2012-02-06 Joseph Myers <joseph@codesourcery.com>
39817
39818 [BZ #411]
39819 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
39820
39821 2012-02-06 Joseph Myers <joseph@codesourcery.com>
39822
39823 * sysdeps/i386/sysdep.h: Include <features.h>.
39824 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
39825 version.
39826
39827 2012-02-05 Joseph Myers <joseph@codesourcery.com>
39828
39829 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
39830 Define.
39831 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
39832 LOAD_PIC_REG_STR.
39833
39834 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39835
39836 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
39837 (SETUP_PIC_REG): Use GET_PC_THUNK.
39838 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
39839 macro.
39840
39841 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39842
39843 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
39844 for non-PIC compilation.
39845 (SETUP_PIC_REG): Add .p2align directive.
39846 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
39847 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
39848 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39849 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39850 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39851 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39852 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39853 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39854 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39855 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39856 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39857 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39858 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39859 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39860 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39861 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39862 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39863 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39864 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39865 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39866 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39867 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39868 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39869 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39870 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39871 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39872 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39873 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39874 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39875 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39876 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39877 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39878 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39879 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39880 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39881 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39882 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39883 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39884 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39885 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39886 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39887
39888 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39889
39890 * math/tst-CMPLX.c: Include <stdio.h>.
39891
39892 2012-01-31 Joseph Myers <joseph@codesourcery.com>
39893
39894 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
39895 float.
39896 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39897 * sysdeps/sparc/bits/mathdef.h: Likewise.
39898
39899 2012-01-31 Marek Polacek <polacek@redhat.com>
39900
39901 * libio/libio.h: Don't define _PARAMS.
39902 * locale/programs/config.h: Don't define PARAMS.
39903 * stdlib/strtol_l.c: Likewise.
39904 (__strtol_l): Remove PARAMS from the prototype.
39905
39906 2012-01-31 Ulrich Drepper <drepper@gmail.com>
39907
39908 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
39909 names. Just use the correct names. Remove unnecessary wrapper
39910 functions.
39911 * malloc/arena.c: Likewise.
39912 * malloc/hooks.c: Likewise.
39913
39914 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
39915 ARENA_TEST says not to. Simplify test for creation of a new arena.
39916 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
39917
39918 2012-01-30 Ulrich Drepper <drepper@gmail.com>
39919
39920 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
39921 into tail calls.
39922 (update_get_addr): New function.
39923 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
39924 GET_ADDR_MODULE parameter.
39925
39926 2012-01-30 Joseph Myers <joseph@codesourcery.com>
39927
39928 * crypt/cert.c: Remove __STDC__ conditionals.
39929 * crypt/crypt-entry.c: Likewise.
39930 * crypt/crypt_util.c: Likewise.
39931 * libio/filedoalloc.c: Likewise.
39932 * libio/fileops.c: Likewise.
39933 * libio/genops.c: Likewise.
39934 * libio/iofclose.c: Likewise.
39935 * libio/iofdopen.c: Likewise.
39936 * libio/iofopen.c: Likewise.
39937 * libio/iofopen64.c: Likewise.
39938 * libio/iogetdelim.c: Likewise.
39939 * libio/iopopen.c: Likewise.
39940 * libio/obprintf.c: Likewise.
39941 * libio/oldfileops.c: Likewise.
39942 * libio/oldiofclose.c: Likewise.
39943 * libio/oldiofdopen.c: Likewise.
39944 * libio/oldiofopen.c: Likewise.
39945 * libio/oldiopopen.c: Likewise.
39946 * libio/wfiledoalloc.c: Likewise.
39947 * libio/wgenops.c: Likewise.
39948 * locale/programs/xmalloc.c: Likewise.
39949 * misc/syslog.c: Likewise.
39950 * stdio-common/xbug.c: Likewise.
39951 * string/memchr.c: Likewise.
39952 * string/memcmp.c: Likewise.
39953 * string/memrchr.c: Likewise.
39954 * string/rawmemchr.c: Likewise.
39955 * sysdeps/posix/getcwd.c: Likewise.
39956 * time/strftime_l.c: Likewise.
39957
39958 2012-01-30 Joseph Myers <joseph@codesourcery.com>
39959
39960 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
39961 * config.make.in (config-cflags-sse2avx): Define.
39962 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
39963 Fix typo.
39964
39965 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
39966
39967 * scripts/config.guess: Update from upstream config git repository.
39968 * scripts/config.sub: Likewise.
39969
39970 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
39971
39972 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
39973 (EM_NUM): Update.
39974 (R_TILEPRO_*, R_TILEGX_*): New macros.
39975
39976 * scripts/firstversions.awk: Fix bug in version range handling.
39977
39978 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
39979
39980 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
39981
39982 * include/sys/epoll.h: New file.
39983 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
39984 libc_hidden_def.
39985
39986 2012-01-28 Ulrich Drepper <drepper@gmail.com>
39987
39988 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
39989 Avoid unnecessary __WORDSIZE == 64 test.
39990 (fmaxf): Use VEX format if possible.
39991 (fmax): Likewise.
39992 (fminf): Likewise.
39993 (fmin): Likewise.
39994
39995 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
39996 * math/math_private.h: Remove libc_fegetround* and
39997 libc_fesetround*.
39998 * sysdeps/i386/configure.in: Check for -msse2avx.
39999 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
40000 also if SSE2AVX is defined.
40001 Remove libc_fegetround* and libc_fesetround*.
40002 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
40003 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
40004 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
40005 of HAS_YMM_USABLE.
40006 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40007 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40008 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40009 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40010 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40011
40012 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
40013
40014 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40015
40016 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
40017 size is not set.
40018 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40019
40020 2012-01-27 Ulrich Drepper <drepper@gmail.com>
40021
40022 [BZ #13618]
40023 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
40024 relocation.
40025 * Makeconfig (libm): Define.
40026 * elf/Makefile: Add rules to build and run tst-relsort1.
40027 * elf/tst-relsort1.c: New file.
40028 * elf/tst-relsort1mod1.c: New file.
40029 * elf/tst-relsort1mod2.c: New file.
40030
40031 2012-01-27 Joseph Myers <joseph@codesourcery.com>
40032
40033 * math/s_ldexp.c: Remove __STDC__ conditionals.
40034 * math/s_ldexpf.c: Likewise.
40035 * math/s_ldexpl.c: Likewise.
40036 * math/s_nextafter.c: Likewise.
40037 * math/s_nexttowardf.c: Likewise.
40038 * math/s_significand.c: Likewise.
40039 * math/s_significandf.c: Likewise.
40040 * math/s_significandl.c: Likewise.
40041 * math/w_jnl.c: Likewise.
40042 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40043 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40044 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40045 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40046 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40047 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40048 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
40049 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40050 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40051 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40052 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40053 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40054 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40055 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40056 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40057 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40058 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40059 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40060 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40061 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40062 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40063 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40064 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40065 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40066 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40067 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40068 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40069 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40070 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40071 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40072 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40073 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40074 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40075 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40076 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40077 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40078 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40079 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40080 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40081 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40082 * sysdeps/ieee754/k_standard.c: Likewise.
40083 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40084 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40085 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40086 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40087 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40088 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40089 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40090 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40091 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40092 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40093 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40094 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40095 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40096 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40097 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40098 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40099 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40100 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40101 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40102 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40103 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40104 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40105 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40106 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40107 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40108 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40109 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40110 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40111 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40112 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40113 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40114 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
40115 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40116 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40117 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40118 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40119 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
40120 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40121 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40122 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
40123 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
40124 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40125 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
40126 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
40127 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40128 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
40129 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
40130 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40131 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40132 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
40133 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
40134 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40135 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40136 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40137 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40138 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40139 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
40140 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40141 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40142 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40143 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40144 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40145 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40146 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40147 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40148 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40149 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40150 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40151 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40152 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40153 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40154 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40155 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40156 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40157 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40158 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40159 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40160 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40161 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40162 * sysdeps/ieee754/s_matherr.c: Likewise.
40163 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40164 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40165 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40166 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40167
40168 2012-01-26 Joseph Myers <joseph@codesourcery.com>
40169
40170 * crypt/md5.h: Remove __STDC__ conditionals.
40171 * libio/libioP.h: Likewise.
40172 * locale/programs/config.h: Likewise.
40173 * sysdeps/generic/sysdep.h: Likewise.
40174 * sysdeps/i386/asm-syntax.h: Likewise.
40175 * sysdeps/s390/asm-syntax.h: Likewise.
40176 * sysdeps/unix/sysdep.h: Likewise.
40177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40179
40180 2012-01-26 Joseph Myers <joseph@codesourcery.com>
40181
40182 * libio/libio.h: Remove __STDC__ conditionals.
40183 * malloc/obstack.h: Likewise.
40184 * math/complex.h: Likewise.
40185 * math/math.h: Likewise.
40186 * sysdeps/generic/_G_config.h: Likewise.
40187 * sysdeps/gnu/_G_config.h: Likewise.
40188 * sysdeps/mach/hurd/_G_config.h: Likewise.
40189 * sysdeps/powerpc/bits/mathdef.h: Likewise.
40190 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40191 * sysdeps/sparc/bits/mathdef.h: Likewise.
40192
40193 2012-01-26 Ulrich Drepper <drepper@gmail.com>
40194
40195 [BZ #13583]
40196 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
40197 Clean up HAS_* macros.
40198 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
40199 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
40200 possible.
40201 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
40202 HAS_AVX.
40203 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40204 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40205 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40206 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40207 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40208
40209 2012-01-25 Joseph Myers <joseph@codesourcery.com>
40210
40211 * elf/tst-unique3.cc (gets): Remove declaration.
40212 * elf/tst-unique3lib.cc (gets): Likewise.
40213 * elf/tst-unique3lib2.cc (gets): Likewise.
40214 * elf/tst-unique4.cc (gets): Likewise.
40215
40216 2012-01-24 Ulrich Drepper <drepper@gmail.com>
40217
40218 * include/stdio.h: Add C++ protection. Add gets declarations and
40219 definitions.
40220 * debug/tst-chk1.c: Don't declare gets here.
40221 * stdio-common/tst-gets.c: Likewise.
40222
40223 2012-01-24 Joseph Myers <joseph@codesourcery.com>
40224
40225 * posix/glob: Remove directory.
40226
40227 2012-01-24 Joseph Myers <joseph@codesourcery.com>
40228
40229 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
40230
40231 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
40232
40233 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
40234 of the non-standard EPFNOSUPPORT.
40235
40236 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
40237
40238 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
40239 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
40240 ANYWHERE set to 1 only on KERN_NO_SPACE error.
40241
40242 2012-01-21 Ulrich Drepper <drepper@gmail.com>
40243
40244 * wcsmbs/uchar.h: Test __STDC_VERSION__.
40245
40246 2012-01-20 Ulrich Drepper <drepper@gmail.com>
40247
40248 * nscd/aicache.c (addhstaiX): Do not cache negative results of
40249 transient errors.
40250 * nscd/grpcache.c (cache_addgr): Likewise.
40251 * nscd/hstcache.c (cache_addhst): Likewise.
40252 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40253 * nscd/pwdcache.c (cache_addpw): Likewise.
40254 * nscd/servicescache.c (cache_addserv): Likewise.
40255
40256 2012-01-16 Ulrich Drepper <drepper@gmail.com>
40257
40258 * malloc/malloc.c: Various cleanups.
40259 * malloc/hooks.c: Likewise.
40260
40261 * stdlib/Makefile (tests): Add bug-fmtmsg1.
40262 * stdlib/bug-fmtmsg1.c: New file.
40263
40264 * stdlib/fmtmsg.c (init): Add missing unlock.
40265 Patch by Peng Haitao <penght@cn.fujitsu.com>.
40266
40267 2012-01-12 Marek Polacek <polacek@redhat.com>
40268
40269 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
40270 and _GNU_SOURCE.
40271
40272 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
40273
40274 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
40275 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
40276 macro to ensure uniqueness of label name.
40277 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40278 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40279
40280 2012-01-11 Ulrich Drepper <drepper@gmail.com>
40281
40282 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
40283
40284 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
40285 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40286 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40287 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
40288
40289 2012-01-10 Ulrich Drepper <drepper@gmail.com>
40290
40291 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
40292
40293 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
40294 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40295 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40296
40297 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
40298
40299 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
40300 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40301 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40302 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
40303
40304 * math/bits/math-finite.h: Add ldexp support.
40305
40306 2012-01-10 Marek Polacek <polacek@redhat.com>
40307
40308 * locale/programs/localedef.h (show_archive_content): Add noreturn
40309 attribute.
40310
40311 2012-01-09 Ulrich Drepper <drepper@gmail.com>
40312
40313 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
40314
40315 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40316
40317 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
40318
40319 * io/Makefile (headers): Add bits/poll2.h.
40320
40321 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
40322
40323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
40324 typo #include statement.
40325
40326 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40327
40328 * include/sys/cdefs.h: Define __attribute_alloc_size.
40329 * catgets/gencat.c: Add alloc_size attribute and apply consistently
40330 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
40331 * elf/pldd.c: Likewise.
40332 * iconv/iconv_charmap.c: Likewise.
40333 * iconv/iconvconfig.c: Likewise.
40334 * iconv/strtab.c: Likewise.
40335 * locale/programs/locale.c: Likewise.
40336 * locale/programs/localedef.h: Likewise.
40337 * locale/programs/simple-hash.c: Likewise.
40338 * nscd/nscd.h: Likewise.
40339 * nss/makedb.c: Likewise.
40340 * sysdeps/generic/ldconfig.h: Likewise.
40341 * locale/programs/localedef.c: Remove xmalloc prototype.
40342 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
40343
40344 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40345
40346 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
40347 appropriate.
40348
40349 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40350
40351 * math/Makefile (tests): Add tst-CMPLX.
40352 * math/tst-CMPLX.c: New file.
40353
40354 * math/complex.h (CMPLXL): Fix typo.
40355
40356 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
40357 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
40358 GLIBC_2.16.
40359 * debug/tst-chk1.c: Add poll and ppoll tests.
40360 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
40361 * include/sys/poll.h: Add hidden proto for ppoll.
40362 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
40363 * sysdeps/mach/hurd/ppoll.c: Likewise.
40364 * io/ppoll.c: Likewise.
40365 * debug/poll_chk.c: New file.
40366 * debug/ppoll_chk.c: New file.
40367 * include/bits/poll2.h: New file.
40368 * io/bits/poll2.h: New file.
40369
40370 [BZ #1350]
40371 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
40372
40373 * configure.in: static is always set to yes. Remove.
40374 * config.make.in: Don't set build-static.
40375 * Makeconfig: Remove use of build-static.
40376 * dlfcn/Makefile: Likewise.
40377 * elf/Makefile: Likewise.
40378 * math/Makefile: Likewise.
40379 * misc/Makefile: Likewise.
40380 * nptl/Makefile: Likewise.
40381 * sysdeps/mach/hurd/Makefile: Likewise.
40382
40383 * configure.in: PWD_P is not used anymore.
40384 * config.make.in: Remove PWD_P entry.
40385
40386 * configure.in: Remove last remnants of RANLIB.
40387 No need to check for signed size_t anymore.
40388 Don't set libc_commonpagesize and libc_relro_required here for Alpha
40389 and IA-64.
40390 Remove __builtin_expect test because we require at least gcc 3.4.
40391 * aclocal.m4: Likewise.
40392
40393 * wcsmbs/mbrtoc16.c: Implement using towc function.
40394 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
40395 * wcsmbs/wcsmbsload.c: Likewise.
40396 * iconv/gconv_simple.c: Likewise.
40397 * iconv/gconv_int.h: Likewise.
40398 * iconv/gconv_builtin.h: Likewise.
40399 * iconv/iconv_prog.c: Remove CHAR16 handling.
40400
40401 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
40402
40403 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
40404
40405 * configure.in: Remove --with-elf and --enable-bounded options.
40406 Dont set base_machine for ia64. More non-ELF conditions removed.
40407 Remove testing and setting of leading underscore information.
40408 * config.make.in (build-bounded): Set to no.
40409 * config.h.in: Remove NO_UNDERSCORES entry.
40410 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
40411 them.
40412 * csu/start.c: Remove !NO_UNDERSCORE code.
40413 * locale/localeinfo.h: Likewise.
40414 * sysdeps/generic/machine-gmon.h: Likewise.
40415 * sysdeps/generic/sysdep.h: Likewise.
40416 * sysdeps/i386/sysdep.h: Likewise.
40417 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40418 * sysdeps/mach/sysdep.h: Likewise.
40419 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40420 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40421 * sysdeps/sh/sysdep.h: Likewise.
40422 * sysdeps/sparc/sparc32/alloca.S: Likewise.
40423 * sysdeps/unix/i386/sysdep.S: Likewise.
40424 * sysdeps/unix/sparc/start.c: Likewise.
40425 * sysdeps/unix/sparc/sysdep.S: Likewise.
40426 * sysdeps/unix/sparc/sysdep.h: Likewise.
40427 * sysdeps/unix/start.c: Likewise.
40428 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40429 * sysdeps/x86_64/sysdep.h: Likewise.
40430
40431 2012-01-07 Ulrich Drepper <drepper@gmail.com>
40432
40433 [BZ #13553]
40434 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
40435 for non-gcc.
40436 * argp/argp-fmtstream.h: Use const instead __const.
40437 * argp/argp.h: Likewise.
40438 * assert/assert.h: Likewise.
40439 * bits/fenv.h: Likewise.
40440 * bits/sched.h: Likewise.
40441 * bits/sigset.h: Likewise.
40442 * bits/sigthread.h: Likewise.
40443 * catgets/nl_types.h: Likewise.
40444 * conform/data/pthread.h-data: Likewise.
40445 * crypt/crypt-private.h: Likewise.
40446 * crypt/crypt.h: Likewise.
40447 * crypt/crypt_util.c: Likewise.
40448 * ctype/ctype.h: Likewise.
40449 * debug/execinfo.h: Likewise.
40450 * debug/mbsnrtowcs_chk.c: Likewise.
40451 * debug/mbsrtowcs_chk.c: Likewise.
40452 * debug/wcsnrtombs_chk.c: Likewise.
40453 * debug/wcsrtombs_chk.c: Likewise.
40454 * debug/wcstombs_chk.c: Likewise.
40455 * dirent/dirent.h: Likewise.
40456 * dlfcn/dlfcn.h: Likewise.
40457 * elf/neededtest4.c: Likewise.
40458 * grp/grp.h: Likewise.
40459 * gshadow/gshadow.h: Likewise.
40460 * iconv/gconv.h: Likewise.
40461 * iconv/gconv_int.h: Likewise.
40462 * iconv/gconv_simple.c: Likewise.
40463 * iconv/iconv.h: Likewise.
40464 * iconv/loop.c: Likewise.
40465 * iconv/skeleton.c: Likewise.
40466 * include/aio.h: Likewise.
40467 * include/aliases.h: Likewise.
40468 * include/argz.h: Likewise.
40469 * include/arpa/inet.h: Likewise.
40470 * include/assert.h: Likewise.
40471 * include/dirent.h: Likewise.
40472 * include/dlfcn.h: Likewise.
40473 * include/execinfo.h: Likewise.
40474 * include/fcntl.h: Likewise.
40475 * include/fenv.h: Likewise.
40476 * include/glob.h: Likewise.
40477 * include/grp.h: Likewise.
40478 * include/libintl.h: Likewise.
40479 * include/mntent.h: Likewise.
40480 * include/netdb.h: Likewise.
40481 * include/pwd.h: Likewise.
40482 * include/rpc/netdb.h: Likewise.
40483 * include/sched.h: Likewise.
40484 * include/search.h: Likewise.
40485 * include/shadow.h: Likewise.
40486 * include/signal.h: Likewise.
40487 * include/stdio.h: Likewise.
40488 * include/stdlib.h: Likewise.
40489 * include/string.h: Likewise.
40490 * include/sys/socket.h: Likewise.
40491 * include/sys/stat.h: Likewise.
40492 * include/sys/statfs.h: Likewise.
40493 * include/sys/statvfs.h: Likewise.
40494 * include/sys/syslog.h: Likewise.
40495 * include/sys/time.h: Likewise.
40496 * include/sys/uio.h: Likewise.
40497 * include/time.h: Likewise.
40498 * include/unistd.h: Likewise.
40499 * include/utmp.h: Likewise.
40500 * include/wchar.h: Likewise.
40501 * include/wctype.h: Likewise.
40502 * inet/aliases.h: Likewise.
40503 * inet/arpa/inet.h: Likewise.
40504 * inet/netinet/ether.h: Likewise.
40505 * inet/netinet/in.h: Likewise.
40506 * intl/libintl.h: Likewise.
40507 * io/bits/fcntl2.h: Likewise.
40508 * io/fcntl.h: Likewise.
40509 * io/ftw.h: Likewise.
40510 * io/sys/poll.h: Likewise.
40511 * io/sys/stat.h: Likewise.
40512 * io/sys/statfs.h: Likewise.
40513 * io/sys/statvfs.h: Likewise.
40514 * io/utime.h: Likewise.
40515 * libio/bits/stdio.h: Likewise.
40516 * libio/bits/stdio2.h: Likewise.
40517 * libio/libio.h: Likewise.
40518 * libio/libioP.h: Likewise.
40519 * libio/stdio.h: Likewise.
40520 * locale/lc-ctype.c: Likewise.
40521 * locale/locale.h: Likewise.
40522 * login/utmp.h: Likewise.
40523 * malloc/arena.c: Likewise.
40524 * malloc/malloc.c: Likewise.
40525 * malloc/malloc.h: Likewise.
40526 * malloc/mcheck.c: Likewise.
40527 * malloc/mtrace.c: Likewise.
40528 * math/bits/mathcalls.h: Likewise.
40529 * math/fenv.h: Likewise.
40530 * math/math_private.h: Likewise.
40531 * misc/bits/error.h: Likewise.
40532 * misc/bits/syslog.h: Likewise.
40533 * misc/err.h: Likewise.
40534 * misc/error.h: Likewise.
40535 * misc/fstab.h: Likewise.
40536 * misc/mntent.h: Likewise.
40537 * misc/regexp.h: Likewise.
40538 * misc/search.h: Likewise.
40539 * misc/sgtty.h: Likewise.
40540 * misc/sys/mman.h: Likewise.
40541 * misc/sys/syslog.h: Likewise.
40542 * misc/sys/uio.h: Likewise.
40543 * misc/sys/xattr.h: Likewise.
40544 * misc/ttyent.h: Likewise.
40545 * nis/rpcsvc/ypclnt.h: Likewise.
40546 * nss/nss.h: Likewise.
40547 * posix/bits/unistd.h: Likewise.
40548 * posix/fnmatch.h: Likewise.
40549 * posix/glob.h: Likewise.
40550 * posix/sched.h: Likewise.
40551 * posix/spawn.h: Likewise.
40552 * posix/sys/wait.h: Likewise.
40553 * posix/unistd.h: Likewise.
40554 * posix/wordexp.h: Likewise.
40555 * pwd/pwd.h: Likewise.
40556 * resolv/netdb.h: Likewise.
40557 * resource/sys/resource.h: Likewise.
40558 * rt/aio.h: Likewise.
40559 * rt/bits/mqueue2.h: Likewise.
40560 * rt/mqueue.h: Likewise.
40561 * shadow/shadow.h: Likewise.
40562 * signal/signal.h: Likewise.
40563 * socket/send.c: Likewise.
40564 * socket/sendto.c: Likewise.
40565 * socket/sys/socket.h: Likewise.
40566 * stdio-common/printf.h: Likewise.
40567 * stdlib/bits/stdlib.h: Likewise.
40568 * stdlib/fmtmsg.h: Likewise.
40569 * stdlib/monetary.h: Likewise.
40570 * stdlib/stdlib.h: Likewise.
40571 * stdlib/ucontext.h: Likewise.
40572 * streams/stropts.h: Likewise.
40573 * string/argz.h: Likewise.
40574 * string/bits/string2.h: Likewise.
40575 * string/string.h: Likewise.
40576 * string/strings.h: Likewise.
40577 * sunrpc/rpc/auth.h: Likewise.
40578 * sunrpc/rpc/auth_des.h: Likewise.
40579 * sunrpc/rpc/clnt.h: Likewise.
40580 * sunrpc/rpc/netdb.h: Likewise.
40581 * sunrpc/rpc/pmap_clnt.h: Likewise.
40582 * sunrpc/rpc/xdr.h: Likewise.
40583 * sysdeps/generic/inttypes.h: Likewise.
40584 * sysdeps/generic/net/if.h: Likewise.
40585 * sysdeps/generic/sys/swap.h: Likewise.
40586 * sysdeps/gnu/net/if.h: Likewise.
40587 * sysdeps/gnu/utmpx.h: Likewise.
40588 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
40589 * sysdeps/i386/i486/bits/string.h: Likewise.
40590 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
40591 * sysdeps/s390/bits/string.h: Likewise.
40592 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
40593 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
40594 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
40595 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
40596 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
40597 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
40598 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
40599 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
40600 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
40601 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
40602 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
40603 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
40604 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
40605 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
40606 * sysdeps/unix/sysv/linux/readv.c: Likewise.
40607 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
40608 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
40609 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40610 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
40611 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
40612 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40613 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
40614 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
40615 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
40616 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
40617 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
40618 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
40619 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40620 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
40621 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
40622 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
40623 * sysvipc/sys/ipc.h: Likewise.
40624 * sysvipc/sys/msg.h: Likewise.
40625 * sysvipc/sys/sem.h: Likewise.
40626 * sysvipc/sys/shm.h: Likewise.
40627 * termios/termios.h: Likewise.
40628 * time/sys/time.h: Likewise.
40629 * time/time.h: Likewise.
40630 * wcsmbs/bits/wchar2.h: Likewise.
40631 * wcsmbs/uchar.h: Likewise.
40632 * wcsmbs/wchar.h: Likewise.
40633 * wctype/wctype.h: Likewise.
40634
40635 [BZ #13551]
40636 * Makeconfig: Remove all but ELF support including AIX support.
40637 * Makerules: Likewise.
40638 * config.h.in: Likewise.
40639 * config.make.in: Likewise.
40640 * configure: Likewise.
40641 * configure.in: Likewise.
40642 * csu/Makefile: Likewise.
40643 * csu/version.c: Likewise.
40644 * debug/Makefile: Likewise.
40645 * dlfcn/Makefile: Likewise.
40646 * elf/Makefile: Likewise.
40647 * extra-lib.mk: Likewise.
40648 * iconv/Makefile: Likewise.
40649 * include/libc-symbols.h: Likewise.
40650 * include/shlib-compat.h: Likewise.
40651 * resolv/Makefile: Likewise.
40652 * resolv/res_libc.c: Likewise.
40653 * rt/Makefile: Likewise.
40654 * sysdeps/i386/asm-syntax.h: Likewise.
40655 * sysdeps/i386/sysdep.h: Likewise.
40656 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40657 * sysdeps/mach/sysdep.h: Likewise.
40658 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
40659 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
40660 * sysdeps/s390/asm-syntax.h: Likewise.
40661 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40662 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40663 * sysdeps/sh/sysdep.h: Likewise.
40664 * sysdeps/unix/sparc/sysdep.h: Likewise.
40665 * sysdeps/wordsize-32/divdi3.c: Likewise.
40666 * sysdeps/x86_64/sysdep.h: Likewise.
40667
40668 * argp/Versions: Remove _argp_unlock_xxx.
40669
40670 [BZ #13559]
40671 * abilist/ld.abilist: Update. Adjust for removal of tls option.
40672 * abilist/libBrokenLocale.abilist: Likewise.
40673 * abilist/libanl.abilist: Likewise.
40674 * abilist/libc.abilist: Likewise.
40675 * abilist/libcrypt.abilist: Likewise.
40676 * abilist/libdl.abilist: Likewise.
40677 * abilist/libm.abilist: Likewise.
40678 * abilist/libnsl.abilist: Likewise.
40679 * abilist/libpthread.abilist: Likewise.
40680 * abilist/libresolv.abilist: Likewise.
40681 * abilist/librt.abilist: Likewise.
40682 * abilist/libthread_db.abilist: Likewise.
40683 * abilist/libutil.abilist: Likewise.
40684 * abilist/libnss_db.abilist: New file.
40685
40686 * scripts/abilist.awk: Add support for indirect functions.
40687
40688 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
40689
40690 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
40691
40692 * shlib-versions: Remove entries for ports architectures.
40693
40694 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
40695 files in ports.
40696 * elf/stackguard-macros.h: Remove support for IA-64.
40697 * elf/tst-auditmod1.c: Likewise.
40698 * sysdeps/generic/ldsodefs.h: Likewise.
40699
40700 * sysdeps/unix/sysv/linux/configure.in: Ports should define
40701 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
40702 configure files.
40703
40704 [BZ #13552]
40705 * configure.in: Remove --enable-omitfp support.
40706 * FAQ.in: Adjust.
40707 * config.make.in: Likewise.
40708 * Makeconfig: Likewise.
40709 * manual/install.texi: Likewise.
40710
40711 In case anyone cares, the IA-64 architecture could move to ports.
40712 * sysdeps/ia64/*: Removed.
40713 * sysdeps/unix/sysv/linux/ia64/*: Removed.
40714 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
40715
40716 [BZ #13555]
40717 * configure.in: Remove entries for unsupported architectures.
40718
40719 [BZ #13533]
40720 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
40721 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
40722 routines.
40723 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
40724 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
40725 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
40726 fall back to using wcrtomb.
40727 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
40728 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
40729 renaming.
40730 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
40731 * wcsmbs/tst-c16c32-1.c: New file.
40732
40733 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
40734 local variable.
40735
40736 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
40737
40738 * elf/tst-unique3.cc: Add explicit declaration of gets.
40739 * elf/tst-unique3lib.cc: Likewise.
40740 * elf/tst-unique3lib2.cc: Likewise.
40741 * elf/tst-unique4.cc: Likewise.
40742
40743 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
40744
40745 2012-01-06 Joseph Myers <joseph@codesourcery.com>
40746
40747 [BZ #13566]
40748 * assert/assert.h (static_assert): Don't define for C++.
40749 * libio/stdio.h (gets): Do declare for C++ <= C++11.
40750 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
40751
40752 2012-01-03 Ulrich Drepper <drepper@gmail.com>
40753
40754 * iconv/loop.c (single loop): Fix assertion in storing of
40755 remaining bytes.
40756
40757 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
40758
40759 2012-01-01 Ulrich Drepper <drepper@gmail.com>
40760
40761 * posix/getconf.c: Update copyright year.
40762 * nss/getent.c: Likewise.
40763 * nss/makedb.c: Likewise.
40764 * iconv/iconvconfig.c: Likewise.
40765 * iconv/iconv_prog.c: Likewise.
40766 * elf/ldconfig.c: Likewise.
40767 * elf/pldd.c: Likewise.
40768 * elf/sotruss.ksh: Likewise.
40769 * catgets/gencat.c: Likewise.
40770 * csu/version.c: Likewise.
40771 * elf/ldd.bash.in: Likewise.
40772 * elf/sprof.c (print_version): Likewise.
40773 * locale/programs/locale.c: Likewise.
40774 * locale/programs/localedef.c: Likewise.
40775 * login/programs/pt_chown.c: Likewise.
40776 * nscd/nscd.c (print_version): Likewise.
40777 * debug/xtrace.sh: Likewise.
40778 * malloc/memusage.sh: Likewise.
40779 * malloc/mtrace.pl: Likewise.
40780 * debug/catchsegv.sh: Likewise.
40781
40782 2011-12-30 Jakub Jelinek <jakub@redhat.com>
40783
40784 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
40785 pure attribute.
40786
40787 2011-12-24 Ulrich Drepper <drepper@gmail.com>
40788
40789 [BZ #13533]
40790 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
40791 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
40792 transformations.
40793 * iconv/gconv_int.h: Likewise.
40794 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
40795 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
40796 from libc for GLIBC_2.16.
40797 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
40798 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
40799 * wcsmbs/uchar.h: Really define mbstate_t.
40800 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
40801 * wcsmbs/c16rtomb.c: New file.
40802 * wcsmbs/mbrtoc16.c: New file.
40803 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
40804 for C/POSIX locale.
40805 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
40806 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
40807
40808 * wcsmbs/wchar.h: Add missing __restrict.
40809
40810 2011-12-23 Ulrich Drepper <drepper@gmail.com>
40811
40812 [BZ #13532]
40813 * time/Makefile (routines): Add timespec_get.
40814 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
40815 * time/time.h: Define TIME_UTC and declare timespec_get. Define
40816 timespec for ISO C11.
40817 * time/timespec_get.c: New file.
40818 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
40819 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
40820
40821 [BZ #13531]
40822 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
40823 * stdlib/stdlib.h: Declare aligned_alloc.
40824 * Versions.def: Add GLIBC_2.16 for libc.
40825 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
40826
40827 [BZ 13527]
40828 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
40829 ISO C11.
40830
40831 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
40832 code.
40833
40834 [BZ #13528]
40835 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
40836
40837 [BZ #13529]
40838 * assert/assert.h (static_assert): Define.
40839
40840 * version.h: Update for 2.16 development version.
40841
40842 [BZ #13526]
40843 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
40844 _ISOC11_SOURCE.
40845
40846 * version.h (RELEASE): Bump for 2.15 release.
40847 * include/features.h (__GLIBC_MINOR__): Bump to 15.
40848
40849 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
40850 Patch by Marek Polacek <mpolacek@redhat.com>.
40851
40852 * bits/byteswap.h: Protect long long constants with __extension__.
40853 * sysdeps/i386/bits/byteswap.h: Likewise.
40854 * sysdeps/ia64/bits/byteswap.h: Likewise.
40855 * sysdeps/s390/bits/byteswap.h: Likewise.
40856 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40857
40858 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40859
40860 [BZ #13540]
40861 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
40862 destination buffer.
40863 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
40864
40865 2011-12-23 Marek Polacek <polacek@redhat.com>
40866
40867 * elf/dl-addr.c (determine_info): Add inline keyword.
40868 * elf/tst-auditmod4b.c (check_avx): Likewise.
40869 * elf/tst-auditmod6b.c (check_avx): Likewise.
40870 * elf/tst-auditmod6c.c (check_avx): Likewise.
40871 * elf/tst-auditmod7b.c (check_avx): Likewise.
40872
40873 2011-12-23 Ulrich Drepper <drepper@gmail.com>
40874
40875 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
40876 !__SSE_MATH__.
40877
40878 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40879
40880 [BZ #13540]
40881 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
40882 processing for last bytes.
40883
40884 2011-08-06 Bruno Haible <bruno@clisp.org>
40885
40886 [BZ #13061]
40887 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
40888 U+0385, not to U+1FEE.
40889
40890 [BZ #13062]
40891 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
40892 entry for U+00A5 U+0301.
40893
40894 2011-12-22 Ulrich Drepper <drepper@gmail.com>
40895
40896 [BZ #13166]
40897 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
40898 buffer for the output is too small.
40899
40900 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
40901 optimization.
40902
40903 [BZ #13185]
40904 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
40905 SSE flags if possible.
40906
40907 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40908
40909 [BZ #13540]
40910 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
40911 processing for last bytes.
40912
40913 2011-12-22 Joseph Myers <joseph@codesourcery.com>
40914
40915 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
40916 (syscall-list-default-options, syscall-list-default-condition)
40917 (syscall-list-includes): Define.
40918 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
40919 list of ABIs and options and #if conditions for each ABI. Do not
40920 handle common syscalls between ABIs specially.
40921 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
40922 Remove.
40923 (syscall-list-variants, syscall-list-32bit-options)
40924 (syscall-list-32bit-condition, syscall-list-64bit-options)
40925 (syscall-list-64bit-condition): Define.
40926 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
40927 (syscall-list-variants, syscall-list-32bit-options)
40928 (syscall-list-32bit-condition, syscall-list-64bit-options)
40929 (syscall-list-64bit-condition): Define.
40930 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
40931 Remove.
40932 (syscall-list-variants, syscall-list-32bit-options)
40933 (syscall-list-32bit-condition, syscall-list-64bit-options)
40934 (syscall-list-64bit-condition): Define.
40935 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
40936 Remove.
40937 (syscall-list-variants, syscall-list-32bit-options)
40938 (syscall-list-32bit-condition, syscall-list-64bit-options)
40939 (syscall-list-64bit-condition): Define.
40940
40941 2011-12-22 Ulrich Drepper <drepper@gmail.com>
40942
40943 * locale/iso-639.def: Add brx entry.
40944
40945 [BZ #13328]
40946 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
40947 Proposed by Mariusz_Cukr <marcukr@op.pl>.
40948
40949 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
40950 __feraiseexcept_renamed.
40951
40952 2011-12-21 Ulrich Drepper <drepper@gmail.com>
40953
40954 [BZ #13538]
40955 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
40956 EPOLLET with unsigned values.
40957 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40958 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40959
40960 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
40961 to large cancellation.
40962 * math/s_cacoshf.c: Likewise.
40963 * math/s_cacoshl.c: Likewise.
40964
40965 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
40966
40967 [BZ #13305]
40968 [BZ #12786]
40969 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
40970 * math/s_cacoshf.c: Likewise.
40971 * math/s_cacoshl.c: Likewise.
40972
40973 2011-12-21 Ulrich Drepper <drepper@gmail.com>
40974
40975 [BZ #13439]
40976 * iconv/gconv.h: Define __GCONV_SWAP.
40977 * iconvdata/unicode.c: The swap bit must be stored in __flags.
40978 * iconvdata/utf-16.c: Likewise.
40979 * iconvdata/utf-32.c: Likewise.
40980
40981 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
40982
40983 [BZ #13524]
40984 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
40985 numerator after shifting it by one limb.
40986
40987 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
40988
40989 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
40990 under [__USE_EXTERN_INLINES].
40991
40992 2011-12-17 Ulrich Drepper <drepper@gmail.com>
40993
40994 [BZ #13446]
40995 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
40996
40997 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40998
40999 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
41000 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
41001 optimized code.
41002 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
41003 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
41004 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
41005 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
41006 for strncasecmp/strncasecmp_l compilation.
41007 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
41008 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
41009
41010 2011-12-08 Marek Polacek <mpolacek@redhat.com>
41011
41012 [BZ #13484]
41013 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
41014 of __asm__.
41015
41016 2011-12-17 Ulrich Drepper <drepper@gmail.com>
41017
41018 [BZ #13506]
41019 * time/tzfile.c (__tzfile_read): Check values from file header.
41020
41021 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
41022
41023 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
41024 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
41025 * powerpc/powerpc32/dl-start.S: Likewise.
41026 * powerpc/powerpc32/elf/start.S: Likewise.
41027 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41028 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
41029 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
41030 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
41031 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41032 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
41033 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
41034 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41035 * powerpc/powerpc32/fpu/s_round.S: Likewise.
41036 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41037 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41038 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41039 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
41040 * powerpc/powerpc32/memset.S: Likewise.
41041 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41042 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41043 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41044 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41045 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41046 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41047 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41048 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41049 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
41050 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
41051 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
41052 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41053 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41054
41055 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41056
41057 * math/libm-test.inc: Added more nearbyint tests.
41058 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
41059 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
41060 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
41061 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
41062
41063 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
41064
41065 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
41066 FD_CLOEXEC.
41067
41068 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41069
41070 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
41071 Add wcscpy-ssse3 wcscpy-c.
41072 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
41073 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
41074 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
41075 * sysdeps/x86_64/wcschr.S: New file.
41076 * sysdeps/x86_64/wcsrchr.S: New file.
41077 * string/test-strcmp.c: Remove checking of wcscmp function for
41078 wrong alignments.
41079 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
41080 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
41081 wcsrchr-sse2 wcsrchr-c.
41082 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
41083 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
41084 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
41085 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
41086 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
41087 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
41088 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
41089 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
41090 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
41091 * wcsmbc/wcschr.c (WCSCHR): New macro.
41092
41093 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41094
41095 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
41096 * wcsmbs/test-wcsrchr.c: New file.
41097 * string/test-strrchr.c: Add wcsrchr support.
41098 (WIDE): New macro.
41099 * wcsmbs/test-wcscpy.c: New file.
41100 * string/test-strcpy.c: Add wcscpy support.
41101 (WIDE): New macro.
41102
41103 2011-12-10 Ulrich Drepper <drepper@gmail.com>
41104
41105 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
41106 the inner loop.
41107
41108 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
41109
41110 [BZ #13472]
41111 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
41112
41113 2011-12-04 Ulrich Drepper <drepper@gmail.com>
41114
41115 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
41116 Minor optimizations.
41117
41118 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
41119 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
41120 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
41121
41122 2011-12-03 Ulrich Drepper <drepper@gmail.com>
41123
41124 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
41125 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
41126 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
41127 for gcc to avoid warnings.
41128 * inet/Makefile (tests): Add tst-checks.
41129 * inet/tst-checks.c: New file.
41130
41131 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
41132 warning.
41133
41134 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
41135 __wmemcmp_sse2.
41136
41137 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
41138 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
41139
41140 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
41141
41142 2011-12-02 Ulrich Drepper <drepper@gmail.com>
41143
41144 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
41145 problem.
41146
41147 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
41148
41149 2011-11-29 Joseph Myers <joseph@codesourcery.com>
41150
41151 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
41152 conditional on GCC version.
41153 (__arch_compare_and_exchange_val_8_acq)
41154 (__arch_compare_and_exchange_val_16_acq)
41155 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
41156 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
41157 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
41158
41159 2011-12-02 Joseph Myers <joseph@codesourcery.com>
41160
41161 * sysdeps/sh/backtrace.c: New file.
41162
41163 2011-12-02 Andreas Schwab <schwab@redhat.com>
41164
41165 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
41166 parenthesis.
41167
41168 2011-12-01 Andreas Schwab <schwab@redhat.com>
41169
41170 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
41171 falling back to utime.
41172
41173 2011-11-30 Andreas Schwab <schwab@redhat.com>
41174
41175 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
41176 expectations for float.
41177
41178 2011-11-29 Andreas Schwab <schwab@redhat.com>
41179
41180 * locale/weight.h (findidx): Add parameter len.
41181 * locale/weightwc.h (findidx): Likewise.
41182 * posix/fnmatch_loop.c (FCT): Adjust caller.
41183 * posix/regcomp.c (build_equiv_class): Likewise.
41184 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
41185 * posix/regexec.c (check_node_accept_bytes): Likewise.
41186 * string/strcoll_l.c (STRCOLL): Likewise.
41187 * string/strxfrm_l.c (STRXFRM): Likewise.
41188
41189 2011-11-17 Ulrich Drepper <drepper@gmail.com>
41190
41191 * Makefile.in: Remove CVSOPT handling.
41192 * configure.in: Remove use of AC_REVISION.
41193 * iconvdata/Makefile (distribute): No need to filter out CVS.
41194 * scripts/list-sources.sh: Remove CVS, subversion and monotone
41195 handling.
41196
41197 2011-11-16 Andreas Schwab <schwab@redhat.com>
41198
41199 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
41200 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
41201 [USE_AS_STRNCASECMP_L]: Likewise.
41202 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
41203 NO_TLS_DIRECT_SEG_REFS.
41204 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
41205 Fix argument offsets for non-PIC.
41206 [USE_AS_STRNCASECMP_L]: Likewise.
41207 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
41208 NO_TLS_DIRECT_SEG_REFS.
41209
41210 2011-11-15 Ulrich Drepper <drepper@gmail.com>
41211
41212 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
41213 O_CLOEXEC.
41214 * locale/loadlocale.c (_nl_load_locale): Likewise.
41215
41216 2011-11-15 Andreas Schwab <schwab@redhat.com>
41217
41218 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
41219 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
41220 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
41221 (SYSCALL_GETTIME): Set errno on error.
41222
41223 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
41224 count references to noai6ai_cached.
41225
41226 2011-11-15 Ulrich Drepper <drepper@gmail.com>
41227
41228 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
41229
41230 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
41231 FD_CLOEXEC for /proc/self/maps.
41232
41233 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
41234 FD_CLOEXEC for /proc/meminfo.
41235
41236 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
41237 gai.conf.
41238
41239 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
41240 FD_CLOEXEC for given file.
41241
41242 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
41243
41244 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
41245 FD_CLOEXEC for /etc/hosts.
41246 (_gethtent): Likewise.
41247
41248 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
41249
41250 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
41251 cancellation and set FD_CLOEXEC for /etc/netgroup.
41252
41253 * nss/nss_files/files-key.c (search): Don't allow cancellation when
41254 reading /etc/publickey.
41255
41256 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
41257 allow cancellation when reading /etc/group.
41258
41259 * nss/nss_files/files-alias.c (internal_setent): Don't allow
41260 cancellation.
41261 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
41262
41263 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
41264 when using data file.
41265
41266 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
41267
41268 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
41269 (write_nis_obj): Use "c" and "e" in fopen.
41270
41271 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
41272
41273 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
41274
41275 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
41276
41277 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
41278
41279 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
41280 locale.alias.
41281
41282 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
41283
41284 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
41285
41286 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
41287
41288 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
41289 file parsing and set FD_CLOEXEC.
41290
41291 2011-11-14 Ulrich Drepper <drepper@gmail.com>
41292
41293 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
41294
41295 2011-11-14 Andreas Schwab <schwab@redhat.com>
41296
41297 * malloc/arena.c (arena_get2): Don't call reused_arena when
41298 _int_new_arena failed.
41299
41300 2011-11-14 Ulrich Drepper <drepper@gmail.com>
41301
41302 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
41303 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
41304 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
41305 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41306 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41307 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
41308 to compile strcasecmp and strncasecmp.
41309 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
41310 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
41311
41312 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
41313
41314 2011-11-13 Ulrich Drepper <drepper@gmail.com>
41315
41316 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
41317 locale-defines.sym to gen-as-const-headers.
41318 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
41319 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
41320 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
41321 to compile strcasecmp and strncasecmp.
41322 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
41323 strcasecmp_l and strncasecmp_l.
41324 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
41325 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
41326 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
41327 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
41328 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
41329 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
41330 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
41331 * sysdeps/i386/i686/multiarch/strncase.S: New file.
41332 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
41333 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
41334 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
41335
41336 2011-11-12 Ulrich Drepper <drepper@gmail.com>
41337
41338 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
41339 result of SYSDEP_GETTIME_CPU to retval.
41340 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
41341 parameter list to macro. Remove trailing semicolon. Adjust users.
41342
41343 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
41344 variable.
41345
41346 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
41347 mantissa words.
41348 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
41349
41350 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
41351 from unused variable.
41352
41353 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
41354 DWARF definitions.
41355 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
41356 for assembling.
41357
41358 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
41359 over namespaces.
41360
41361 * sunrpc/rpc_prot.c (rejected): Fix case value.
41362
41363 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
41364 unsigned long long int to avoid warnings in shift.
41365
41366 * posix/regex_internal.c (re_string_reconstruct): Actually use result
41367 of use of trans.
41368 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
41369 variable tmp.
41370
41371 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
41372 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
41373 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
41374
41375 * nis/nis_table.c (nis_list): Use variable of correct type for
41376 result of __follow_path call.
41377
41378 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41379
41380 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
41381 of math functions ceil, trunc, floor, round, and sqrt, when
41382 avaliable on the platform.
41383 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
41384 name clash.
41385 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41386 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41387 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41388
41389 2011-10-30 Marek Polacek <mpolacek@redhat.com>
41390
41391 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
41392 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
41393
41394 2011-11-11 Roland McGrath <roland@hack.frob.com>
41395
41396 * include/unistd.h: Fix __readlink return type.
41397 Reported by Chris Metcalf <cmetcalf@tilera.com>.
41398
41399 2011-11-11 Ulrich Drepper <drepper@gmail.com>
41400
41401 * stdlib/ucontext.h: Undo last change for makecontext.
41402
41403 2011-11-11 Andreas Schwab <schwab@redhat.com>
41404
41405 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
41406
41407 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
41408 * setjmp/setjmp.h: Mark functions as non-leaf.
41409 * setjmp/bits/setjmp2.h: Likewise.
41410 * stdlib/ucontext.h: Likewise.
41411
41412 2011-11-10 Andreas Schwab <schwab@redhat.com>
41413
41414 * malloc/arena.c (_int_new_arena): Don't increment narenas.
41415 (reused_arena): Don't check arena limit.
41416 (arena_get2): Atomically check arena limit.
41417
41418 2011-11-08 Ulrich Drepper <drepper@gmail.com>
41419
41420 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
41421 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
41422
41423 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
41424 instructions.
41425
41426 2011-11-07 Andreas Schwab <schwab@redhat.com>
41427
41428 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
41429 handler when locking.
41430
41431 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41432 Fix size of allocated buffer.
41433
41434 2011-11-04 Andreas Schwab <schwab@redhat.com>
41435
41436 [BZ #10103]
41437 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
41438 declarations for long double functions.
41439 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
41440
41441 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
41442
41443 2011-11-03 Andreas Schwab <schwab@redhat.com>
41444
41445 * nscd/nscd.c (main): Don't start AVC thread until credentials are
41446 installed.
41447
41448 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
41449 is disabled.
41450
41451 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
41452
41453 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
41454
41455 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
41456
41457 * include/alloca.h (stackinfo_alloca_round): Define.
41458 (extend_alloca): Use it.
41459 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
41460 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
41461 here.
41462
41463 * scripts/check-local-headers.sh: Ignore libaudit.h.
41464
41465 * nscd/Makefile (extra-objs): Make recursively expanded.
41466
41467 2011-11-01 Ulrich Drepper <drepper@gmail.com>
41468
41469 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
41470 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
41471
41472 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
41473 * posix/tst-rfc3484-2.c: Likewise.
41474 * posix/tst-rfc3484-3.c: Likewise.
41475
41476 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41477 process_vm_writev.
41478 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
41479 process_vm_writev.
41480 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
41481 process_vm_writev from libc using GLIBC_2.15 version.
41482
41483 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
41484
41485 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
41486
41487 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
41488 stack usage.
41489
41490 2011-10-31 Ulrich Drepper <drepper@gmail.com>
41491
41492 [BZ #13367]
41493 * nss/getent.c (initgroups_keys): Show error message in case no group
41494 names are given.
41495
41496 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
41497 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
41498 __bump_nl_timestamp.
41499 * nscd/connections (nscd_init): When host database is served open
41500 netlink socket and request notification about configuration changes.
41501 (main_loop_poll): Track netlink file descriptor and bump timestamp
41502 in case data becomes available.
41503 (main_loop_epoll): Likewise.
41504 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
41505 (database_pers_head): Add extra_data fileds.
41506 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
41507 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
41508 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
41509 Adjust caller.
41510 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
41511 in6ai data, call __free_in6ai.
41512 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
41513 Add -DHAVE_NETLINK.
41514 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
41515 interface information. Reuse previous data if netlink timestamp
41516 is not changed.
41517 (__bump_nl_timestamp): New function.
41518 (__free_in6ai): New function.
41519
41520 2011-10-30 Ulrich Drepper <drepper@gmail.com>
41521
41522 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
41523 close_not_cancel_no_status here.
41524 (__check_pf): Reorganize code a bit to not call close twice if OOM.
41525
41526 2011-10-29 Ulrich Drepper <drepper@gmail.com>
41527
41528 [BZ #13276]
41529 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
41530 return value.
41531
41532 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
41533 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
41534 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
41535
41536 2011-07-03 Andreas Jaeger <aj@suse.de>
41537
41538 [BZ #10709]
41539 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
41540 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
41541 * math/libm-test.inc (sin_test): Add test case.
41542
41543 2011-10-29 Ulrich Drepper <drepper@gmail.com>
41544
41545 [BZ #13337]
41546 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
41547 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41548
41549 * elf/chroot_canon.c (chroot_canon): Cleanups.
41550
41551 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
41552
41553 [BZ #13335]
41554 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
41555 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41556
41557 * string/test-strchr.c: Make usable for strchrnul testing.
41558 * string/test-strchrnul.c: New file.
41559 * string/Makefile (strop-tests): Add strchrnul.
41560
41561 * po/it.po: Update from translation team.
41562 * po/es.po: Likewise.
41563
41564 2011-10-28 Ulrich Drepper <drepper@gmail.com>
41565
41566 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
41567 the three constants needed as parameters. Drop the others.
41568 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
41569 __m128i_strloadu_tolower.
41570 Create and initialize variable zero and use it in all the places
41571 where _mm_setzero_si128 was used.
41572
41573 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
41574 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
41575 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
41576 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
41577 anymore.
41578 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
41579 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
41580 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
41581 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
41582 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
41583 __mpranred, __mptan.
41584 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
41585 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
41586 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
41587 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
41588 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
41589 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
41590 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
41591 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
41592 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
41593
41594 2011-10-28 Andreas Schwab <schwab@redhat.com>
41595
41596 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
41597 redefine if SHARED.
41598 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
41599
41600 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
41601 wide char related routines to wcsmbs subdir.
41602
41603 2011-10-27 Andreas Schwab <schwab@redhat.com>
41604
41605 [BZ #13344]
41606 * misc/sys/cdefs.h (__THROWNL): Define.
41607 * posix/unistd.h: Use __THREADNL instead of __THREAD
41608 for memory synchronization functions.
41609
41610 2011-10-26 Roland McGrath <roland@hack.frob.com>
41611
41612 [BZ #13349]
41613 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
41614 doesn't exist.
41615 * manual/stdio.texi (Obstack Streams): Node removed.
41616
41617 2011-10-26 Andreas Schwab <schwab@redhat.com>
41618
41619 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
41620 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41621 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41622
41623 * math/math_private.h (math_force_eval): Allow non-addressable
41624 arguments.
41625 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
41626
41627 2011-10-25 Ulrich Drepper <drepper@gmail.com>
41628
41629 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
41630 file is not needed.
41631
41632 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
41633 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
41634 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41635 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41636 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41637 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41638 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41639 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
41640 Add AVX variants.
41641 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
41642 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
41643 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
41644 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
41645 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
41646 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
41647 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
41648 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
41649 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
41650 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
41651 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
41652 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
41653 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
41654 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
41655 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
41656 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
41657 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
41658 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
41659 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
41660
41661 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
41662 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
41663
41664 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
41665 place. Use VEX encoding when compiling for AVX.
41666
41667 2011-10-25 Andreas Schwab <schwab@redhat.com>
41668
41669 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
41670 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
41671
41672 * string/test-strchr.c (do_test): Don't generate NUL bytes.
41673
41674 2011-10-25 Ulrich Drepper <drepper@gmail.com>
41675
41676 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
41677 useless if() expression.
41678 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41679 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41680 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41681 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41682 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41683 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41684 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41685 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41686 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41687 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41688 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41689 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41690 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41691 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41692 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41693 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41694 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41695 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41696 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41697
41698 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
41699
41700 2011-10-25 Andreas Schwab <schwab@redhat.com>
41701
41702 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
41703 condition.
41704 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41705
41706 2011-10-25 Ulrich Drepper <drepper@gmail.com>
41707
41708 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
41709 .text section. Avoid duplicate constants.
41710 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41711 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41712 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41713 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41714 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41715 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41716 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41717 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41718 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41719 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
41720 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41721 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41722 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
41723 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
41724 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
41725 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
41726 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
41727 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41728 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41729 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41730 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41731 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41732 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41733 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
41734 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
41735 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
41736 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
41737 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
41738 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
41739 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
41740 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
41741 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
41742 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41743 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
41744 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
41745 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
41746 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
41747 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
41748 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
41749 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
41750 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
41751 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
41752 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
41753 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
41754 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
41755
41756 2011-10-24 Ulrich Drepper <drepper@gmail.com>
41757
41758 * sysdeps/x86_64/dla.h: Move to ...
41759 * sysdeps/x86_64/fpu/dla.h: ...here.
41760 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
41761 situations. Use __builtin_fma only for gcc 4.6 and up.
41762
41763 * config.make.in: Add have-mfma4 entry.
41764 * configure.in: Substitute libc_cv_cc_fma4.
41765 * math/Makefile (dbl-only-routines): Add sincostab.
41766 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
41767 Use __sincostab not sincos.
41768 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
41769 name is a macro.
41770 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41771 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41772 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41773 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
41774 using __copysign.
41775 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
41776 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
41777 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
41778 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
41779 and __inv.
41780 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
41781 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
41782 __copysign.
41783 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
41784 define aliases when function name is a macro.
41785 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
41786 sysdeps/ieee754/dbl-64/sincos.tbl.
41787 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
41788 fma4-enabled routines.
41789 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
41790 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
41791 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
41792 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
41793 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
41794 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
41795 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
41796 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
41797 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
41798 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
41799 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
41800 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
41801 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
41802 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
41803 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
41804 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
41805 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
41806 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
41807 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
41808 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
41809 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
41810 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
41811 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
41812 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
41813 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
41814 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
41815 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
41816 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
41817 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
41818 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
41819
41820 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
41821 rename.
41822 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41823 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41824 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41825 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41826 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41827 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41828 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41829 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41830
41831 2011-10-24 Andreas Schwab <schwab@redhat.com>
41832
41833 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
41834
41835 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41836
41837 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
41838
41839 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
41840 prediction.
41841 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
41842
41843 * string/strnlen.c: Don't define STRNLEN, reverse logic.
41844 Remove unused variable magic_bits.
41845 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
41846
41847 * string/strnlen.c: Define and use STRNLEN macro.
41848 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
41849 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
41850 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
41851 * wcsmbs/wcslen.c: Define and use WCSLEN.
41852 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
41853 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
41854 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
41855 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
41856 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
41857 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
41858 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41859
41860 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41861
41862 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41863 strnlen-sse2-no-bsf.
41864 Rename strlen-no-bsf to strlen-sse2-no-bsf.
41865 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
41866 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
41867 Add strnlen support.
41868 (USE_AS_STRNLEN): New macro.
41869 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
41870 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
41871 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
41872 * sysdeps/x86_64/wcslen.S: New file.
41873
41874 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
41875
41876 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41877 XMM-moves are used for copying on small sizes.
41878
41879 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41880
41881 * wcsmbs/Makefile (strop-tests): Add wcschr.
41882 * wcsmbs/test-wcschr.c: New file.
41883 * string/test-strchr.c: Update.
41884 Add wcschr support.
41885 (WIDE): New macro.
41886
41887 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41888
41889 * wcsmbs/Makefile (strop-tests): Add wcslen.
41890 * wcsmbs/test-wcslen.c: New file.
41891 * string/test-strlen.c: Update.
41892 Add wcslen support.
41893 (WIDE): New macro.
41894
41895 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41896
41897 * po/it.po: Update from translation team.
41898
41899 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41900
41901 * sysdeps/x86_64/wcscmp.S: Update.
41902 Fix wrong comparison semantics.
41903 wcscmp shall use signed comparison not unsigned.
41904 Don't use substraction to avoid overflow bug.
41905 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
41906 * wcsmbc/wcscmp.c: Likewise.
41907 * string/test-strcmp.c: Likewise.
41908 Add new tests to check cases with negative values.
41909
41910 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41911
41912 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
41913 * sysdeps/x86_64/dla.h: ...here. New file.
41914 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
41915 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41916 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41917 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41918 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41919 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41920 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41921 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41922 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41923
41924 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
41925
41926 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
41927 __ynl_finite aliases.
41928
41929 2011-10-22 Ulrich Drepper <drepper@gmail.com>
41930
41931 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41932
41933 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
41934 define DLA_FMA.
41935 [DLA_FMA] (EMULV): Use DLA_FMA.
41936 [DLA_FMA] (MUL12): Use EMULV.
41937 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
41938 that are not needed.
41939 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41940 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41941 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41942 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41943 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41944 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41945 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41946
41947 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
41948
41949 * math/s_nan.c: Undef __nan.
41950 * math/s_nanf.c: Undef __nanf.
41951 * math/s_nanl.c: Undef __nanl.
41952 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
41953 "math_private.h".
41954
41955 2011-10-22 Ulrich Drepper <drepper@gmail.com>
41956
41957 * math/s_catan.c: Add branch predictions.
41958 * math/s_catanf.c: Likewise.
41959 * math/s_catanh.c: Likewise.
41960 * math/s_catanhf.c: Likewise.
41961 * math/s_catanhl.c: Likewise.
41962 * math/s_catanl.c: Likewise.
41963 * math/s_cexp.c: Likewise.
41964 * math/s_cexpf.c: Likewise.
41965 * math/s_cexpl.c: Likewise.
41966 * math/s_clog.c: Likewise.
41967 * math/s_clog10.c: Likewise.
41968 * math/s_clog10f.c: Likewise.
41969 * math/s_clog10l.c: Likewise.
41970 * math/s_clogf.c: Likewise.
41971 * math/s_clogl.c: Likewise.
41972 * math/s_csqrt.c: Likewise.
41973 * math/s_csqrtf.c: Likewise.
41974 * math/s_csqrtl.c: Likewise.
41975 * math/s_ctanf.c: Likewise.
41976 * math/s_ctanh.c: Likewise.
41977 * math/s_ctanhf.c: Likewise.
41978 * math/s_ctanhl.c: Likewise.
41979 * math/s_ctanl.c: Likewise.
41980
41981 * math/math_private.h: Define __nan, __nanf, __nanl.
41982 * math/s_cacosh.c: Include <math_private.h>.
41983 * math/s_cacoshl.c: Likewise.
41984 * math/s_casinh.c: Likewise.
41985 * math/s_casinhf.c: Likewise.
41986 * math/s_casinhl.c: Likewise.
41987 * math/s_ccos.c: Rely entire on ccosh.
41988 * math/s_ccosf.c: Rely entire on ccoshf.
41989 * math/s_ccosl.c: Rely entirely on ccoshl.
41990 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
41991 Remove tests for FE_INVALID.
41992 * math/s_ccoshf.c: Likewise.
41993 * math/s_ccoshl.c: Likewise.
41994 * math/s_csin.c: Likewise.
41995 * math/s_csinf.c: Likewise.
41996 * math/s_csinh.c Likewise.
41997 * math/s_csinhf.c: Likewise.
41998 * math/s_csinhl.c: Likewise.
41999 * math/s_csinl.c: Likewise.
42000 * math/s_ctan.c: Likewise.
42001 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
42002 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
42003 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
42004
42005 2011-10-21 Ulrich Drepper <drepper@gmail.com>
42006
42007 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
42008 compilation problems.
42009
42010 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
42011 __builtin_expect.
42012
42013 2011-10-20 Ulrich Drepper <drepper@gmail.com>
42014
42015 * sysdeps/i386/configure.in: Test for -mfma4 option.
42016 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
42017 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
42018 COMMON_CPUID_INDEX_80000001.
42019 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
42020 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
42021 use it if FMA3 is not supported.
42022 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
42023
42024 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
42025 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42026
42027 2011-10-20 Andreas Schwab <schwab@redhat.com>
42028
42029 [BZ #12892]
42030 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
42031 it would create a cycle with a link time dependency.
42032
42033 2011-10-19 Ulrich Drepper <drepper@gmail.com>
42034
42035 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
42036 instruction.
42037 * string/Makefile (strop-tests): Add rawmemchr.
42038 * string/test-rawmemchr.c: New file.
42039
42040 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
42041 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
42042 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
42043 when compiling str{,n}casecmp and when AVX is available. Hook up
42044 new optimized code in initializers.
42045
42046 2011-10-19 Andreas Schwab <schwab@redhat.com>
42047
42048 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
42049 __feraiseexcept instead of feraiseexcept.
42050
42051 2011-10-18 Ulrich Drepper <drepper@gmail.com>
42052
42053 * math/math_private.h: Define defaults for libc_fetestexcept and
42054 libc_feupdateenv.
42055 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
42056 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
42057 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42058 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42059 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42060 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42061 libc_fetestexcept and libc_feupdateenv.
42062
42063 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
42064 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
42065 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
42066 * sysdeps/x86_64/fpu/math_private.h: Define special version of
42067 libc_feholdexcept_setround.
42068
42069 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
42070 Add s_nearbyint-c and s_nearbyintf-c.
42071 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
42072 nearbyintf inlines.
42073 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
42074 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
42075 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
42076 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
42077
42078 * math/math_private.h: Define defaults for libc_fegetround,
42079 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
42080 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
42081 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
42082 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
42083 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
42084 standard functions.
42085 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42086 Remove comments and hacks for old compiler versions.
42087 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42088 libc_fegetround, libc_fesetround, libc_feholdexcept, and
42089 libc_feholdexceptl.
42090
42091 2011-10-18 Andreas Schwab <schwab@redhat.com>
42092
42093 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
42094 (__feraiseexcept_renamed): Add __NTH.
42095 (feraiseexcept): Add __NTH. Rename local variables to fix
42096 namespace violations.
42097
42098 2011-10-17 Ulrich Drepper <drepper@gmail.com>
42099
42100 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
42101
42102 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
42103
42104 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
42105 recently added interfaces.
42106 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
42107
42108 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
42109 about macro parameter expansion.
42110
42111 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
42112 __NO_MATH_INLINES is defined. Cleanups.
42113
42114 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
42115 and __floorf is target has SSE4.1.
42116 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
42117 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
42118 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
42119 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
42120
42121 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
42122 name.
42123 (floorf): Likewise.
42124
42125 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
42126
42127 2011-10-17 Andreas Schwab <schwab@redhat.com>
42128
42129 * misc/sys/cdefs.h: Fix last change.
42130
42131 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
42132 database lookup.
42133
42134 2011-10-16 Ulrich Drepper <drepper@gmail.com>
42135
42136 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
42137
42138 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
42139 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42140 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42141 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42142 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42143 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42144 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42145 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42146 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42147 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
42148 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
42149 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
42150 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
42151 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
42152 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
42153 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
42154 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
42155 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
42156 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
42157 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
42158 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
42159 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
42160
42161 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
42162 ceil, ceilf, floor, floorf.
42163
42164 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
42165 Perform IRELATIVE relocations last.
42166
42167 * elf/do-rel.h: Add another parameter nrelative, replacing the
42168 local variable with the same name. Change name of the function
42169 to end in Rel or Rela (uppercase).
42170 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
42171 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
42172 elf_dynamic_do_##reloc function.
42173
42174 2011-10-15 Ulrich Drepper <drepper@gmail.com>
42175
42176 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
42177 is sufficient, at least on modern CPUs.
42178
42179 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
42180
42181 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
42182 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
42183
42184 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
42185 __expl_finite.
42186 * math/bits/math-finite.h: Add entries for exp.
42187 * math/e_expl.c: Add __*_finite alias.
42188 * sysdeps/i386/fpu/e_exp.S: Likewise.
42189 * sysdeps/i386/fpu/e_expf.S: Likewise.
42190 * sysdeps/i386/fpu/e_expl.c: Likewise.
42191 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42192 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42193 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42194 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42195 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
42196 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42197 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42198
42199 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
42200 is sufficient, at least on modern CPUs.
42201
42202 * ctype/ctype-info.c (__ctype_init): Define.
42203 * include/ctype.h (__ctype_init): Declare.
42204 (__ctype_b_loc): The variable is always initialized.
42205 (__ctype_toupper_loc): Likewise.
42206 (__ctype_tolower_loc): Likewise.
42207 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
42208 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
42209
42210 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
42211
42212 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
42213
42214 * configure.in: Also look in $cxxmachine/include for C++ system
42215 headers.
42216
42217 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42218
42219 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
42220 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
42221 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
42222 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
42223 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
42224 (USE_AS_WMEMCMP): New macro.
42225 Fixing indents.
42226 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
42227 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
42228 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
42229 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
42230 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42231 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
42232 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
42233 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
42234 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
42235 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
42236 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
42237 (USE_AS_WMEMCMP): New macro.
42238 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
42239 * sysdeps/string/test-memcmp.c: Update.
42240 Fix simple_wmemcmp.
42241 Add new tests.
42242 * wcsmbs/wmemcmp.c: Update.
42243 (WMEMCMP): New macro.
42244 Fix overflow bug.
42245
42246 2011-10-12 Andreas Jaeger <aj@suse.de>
42247
42248 [BZ #13268]
42249 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
42250
42251 2011-10-15 Ulrich Drepper <drepper@gmail.com>
42252
42253 * libio/iofwide.c (do_length): Avoid warning.
42254
42255 * ctype/ctype.h (__isctype_f): Add missing __THROW.
42256
42257 2011-10-14 Ulrich Drepper <drepper@gmail.com>
42258
42259 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
42260
42261 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
42262 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
42263 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
42264 * sysdeps/i386/i686/fpu/e_log.S: New file.
42265 * sysdeps/i386/i686/fpu/e_logf.S: New file.
42266 * sysdeps/i386/i686/fpu/e_logl.S: New file.
42267
42268 * ctype/ctype.h: Add support for inlined isXXX functions when
42269 compiling C++ code.
42270
42271 2011-10-14 Andreas Schwab <schwab@redhat.com>
42272
42273 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42274
42275 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
42276
42277 2011-10-13 Roland McGrath <roland@hack.frob.com>
42278
42279 [BZ #13291]
42280 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
42281
42282 2011-10-13 Andreas Schwab <schwab@redhat.com>
42283
42284 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
42285 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
42286 feraiseexcept.
42287
42288 * sysdeps/x86_64/memrchr.S: Check for zero size.
42289
42290 * string/stratcliff.c: Add memrchr tests.
42291
42292 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42293
42294 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42295 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
42296 rawmemchr-sse2 rawmemchr-sse2-bsf.
42297 * sysdeps/i386/i686/multiarch/memchr.S: New file.
42298 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
42299 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
42300 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
42301 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
42302 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
42303 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
42304 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
42305 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
42306 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
42307 * string/memrchr.c (MEMRCHR): New macro.
42308
42309 2011-10-12 Ulrich Drepper <drepper@gmail.com>
42310
42311 Add integration with gcc's -ffinite-math-only and optimize wrapper
42312 functions in libm.
42313 * Versions.def: Define GLIBC_2.15 version for libm.
42314 * math/Makefile (headers): Add bits/math-finite.h.
42315 * math/bits/math-finite.h: New file.
42316 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
42317 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
42318 * math/e_acoshl.c: Add __*_finite alias.
42319 * math/e_acosl.c: Likewise.
42320 * math/e_asinl.c: Likewise.
42321 * math/e_atan2l.c: Likewise.
42322 * math/e_atanhl.c: Likewise.
42323 * math/e_coshl.c: Likewise.
42324 * math/e_exp10.c: Likewise.
42325 * math/e_exp10f.c: Likewise.
42326 * math/e_exp10l.c: Likewise.
42327 * math/e_exp2l.c: Likewise.
42328 * math/e_fmodl.c: Likewise.
42329 * math/e_gammal_r.c: Likewise.
42330 * math/e_hypotl.c: Likewise.
42331 * math/e_j0l.c: Likewise.
42332 * math/e_j1l.c: Likewise.
42333 * math/e_jnl.c: Likewise.
42334 * math/e_lgammal_r.c: Likewise.
42335 * math/e_log10l.c: Likewise.
42336 * math/e_log2l.c: Likewise.
42337 * math/e_logl.c: Likewise.
42338 * math/e_powl.c: Likewise.
42339 * math/e_sinhl.c: Likewise.
42340 * math/e_sqrtl.c: Likewise.
42341 * math/e_scalb.c: Completely rewritten and optimized.
42342 * math/e_scalbf.c: Likewise.
42343 * math/e_scalbl.c: Likewise.
42344 * math/w_acos.c: Likewise.
42345 * math/w_acosf.c: Likewise.
42346 * math/w_acosl.c: Likewise.
42347 * math/w_acosh.c: Likewise.
42348 * math/w_acoshf.c: Likewise.
42349 * math/w_acoshl.c: Likewise.
42350 * math/w_asin.c: Likewise.
42351 * math/w_asinf.c: Likewise.
42352 * math/w_asinl.c: Likewise.
42353 * math/w_atan2.c: Likewise.
42354 * math/w_atan2f.c: Likewise.
42355 * math/w_atan2l.c: Likewise.
42356 * math/w_atanh.c: Likewise.
42357 * math/w_atanhf.c: Likewise.
42358 * math/w_atanhl.c: Likewise.
42359 * math/w_exp10.c: Likewise.
42360 * math/w_exp10f.c: Likewise.
42361 * math/w_exp10l.c: Likewise.
42362 * math/w_fmod.c: Likewise.
42363 * math/w_fmodf.c: Likewise.
42364 * math/w_fmodl.c: Likewise.
42365 * math/w_j0.c: Likewise.
42366 * math/w_j0f.c: Likewise.
42367 * math/w_j0l.c: Likewise.
42368 * math/w_j1.c: Likewise.
42369 * math/w_j1f.c: Likewise.
42370 * math/w_j1l.c: Likewise.
42371 * math/w_jn.c: Likewise.
42372 * math/w_jnf.c: Likewise.
42373 * math/w_log.c: Likewise.
42374 * math/w_logf.c: Likewise.
42375 * math/w_logl.c: Likewise.
42376 * math/w_log10.c: Likewise.
42377 * math/w_log10f.c: Likewise.
42378 * math/w_log10l.c: Likewise.
42379 * math/w_log2.c: Likewise.
42380 * math/w_log2f.c: Likewise.
42381 * math/w_log2l.c: Likewise.
42382 * math/w_pow.c: Likewise.
42383 * math/w_powf.c: Likewise.
42384 * math/w_powl.c: Likewise.
42385 * math/w_remainder.c: Likewise.
42386 * math/w_remainderf.c: Likewise.
42387 * math/w_remainderl.c: Likewise.
42388 * math/w_scalb.c: Likewise.
42389 * math/w_scalbf.c: Likewise.
42390 * math/w_scalbl.c: Likewise.
42391 * math/w_sqrt.c: Likewise.
42392 * math/w_sqrtf.c: Likewise.
42393 * math/w_sqrtl.c: Likewise.
42394 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
42395 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
42396 used.
42397 * math/math_private.h: Declare __kernel_standard_f.
42398 * math/w_cosh.c: Remove cruft and optimize a bit.
42399 * math/w_coshf.c: Likewise.
42400 * math/w_coshl.c: Likewise.
42401 * math/w_exp2.c: Likewise.
42402 * math/w_exp2f.c: Likewise.
42403 * math/w_exp2l.c: Likewise.
42404 * math/w_hypot.c: Likewise.
42405 * math/w_hypotf.c: Likewise.
42406 * math/w_hypotl.c: Likewise.
42407 * math/w_lgamma.c: Likewise.
42408 * math/w_lgamma_r.c: Likewise.
42409 * math/w_lgammaf.c: Likewise.
42410 * math/w_lgammaf_r.c: Likewise.
42411 * math/w_lgammal.c: Likewise.
42412 * math/w_lgammal_r.c: Likewise.
42413 * math/w_sinh.c: Likewise.
42414 * math/w_sinhf.c: Likewise.
42415 * math/w_sinhl.c: Likewise.
42416 * math/w_tgamma.c: Likewise.
42417 * math/w_tgammaf.c: Likewise.
42418 * math/w_tgammal.c: Likewise.
42419 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42420 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42421 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
42422 Minor optimizations. Pretty printing. Remove cruft.
42423 * sysdeps/i386/fpu/e_acosf.S: Likewise.
42424 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42425 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42426 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42427 * sysdeps/i386/fpu/e_acosl.c: Likewise.
42428 * sysdeps/i386/fpu/e_asin.S: Likewise.
42429 * sysdeps/i386/fpu/e_asinf.S: Likewise.
42430 * sysdeps/i386/fpu/e_atan2.S: Likewise.
42431 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
42432 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
42433 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42434 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42435 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42436 * sysdeps/i386/fpu/e_exp10.S: Likewise.
42437 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
42438 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
42439 * sysdeps/i386/fpu/e_exp2.S: Likewise.
42440 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
42441 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
42442 * sysdeps/i386/fpu/e_fmod.S: Likewise.
42443 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
42444 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
42445 * sysdeps/i386/fpu/e_hypot.S: Likewise.
42446 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
42447 * sysdeps/i386/fpu/e_log.S: Likewise.
42448 * sysdeps/i386/fpu/e_log10.S: Likewise.
42449 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42450 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42451 * sysdeps/i386/fpu/e_log2.S: Likewise.
42452 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42453 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42454 * sysdeps/i386/fpu/e_logf.S: Likewise.
42455 * sysdeps/i386/fpu/e_logl.S: Likewise.
42456 * sysdeps/i386/fpu/e_pow.S: Likewise.
42457 * sysdeps/i386/fpu/e_powf.S: Likewise.
42458 * sysdeps/i386/fpu/e_powl.S: Likewise.
42459 * sysdeps/i386/fpu/e_remainder.S: Likewise.
42460 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
42461 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
42462 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42463 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42464 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42465 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
42466 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
42467 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
42468 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42469 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42470 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42471 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42472 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42473 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42474 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42475 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42476 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42477 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42478 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42479 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42480 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42481 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42482 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42483 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42484 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42485 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42486 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42487 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42488 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42489 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42490 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42491 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42492 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42493 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42494 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42495 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42496 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
42497 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42498 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42499 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42500 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42501 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42502 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42503 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42504 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42505 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42506 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42507 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42508 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42509 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42510 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42511 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42512 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42513 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42514 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42515 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42516 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42517 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
42518 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42519 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42520 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42521 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42522 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42523 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42524 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42525 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42526 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42527 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42528 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42529 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42530 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42531 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42532 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42533 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42534 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42535 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42536 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
42537 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42538 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42539 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42540 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42541 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42542 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42543 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42544 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
42545 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42546 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42547 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42548 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42549 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42550 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
42551 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42552 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42553 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42554 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42555 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42556 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42557 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42558 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42559 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42560 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42561 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
42562 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42563 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42564 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42565 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
42566 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
42567 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
42568 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
42569 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
42570 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
42571 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
42572 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42573 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42574 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42575 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42576 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
42577 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42578 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
42579 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
42580 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
42581 (__isnanf): Likewise.
42582 (__isinf_ns): Likewise.
42583 (__isinf_nsf): Likewise.
42584 (__finite): Likewise.
42585 (__finitef): Likewise.
42586 (__ieee754_sqrt): Define as macro.
42587 (__ieee754_sqrtf): Define as macro.
42588 (__ieee754_sqrtl): Define as macro.
42589 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
42590 inlined copy.
42591 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
42592 __FINITE_MATH_ONLY__ consistent.
42593 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
42594
42595 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
42596
42597 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
42598 of rawmemchr.
42599
42600 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
42601
42602 2011-10-09 Ulrich Drepper <drepper@gmail.com>
42603
42604 * po/ja.po: Update from translation team.
42605
42606 2011-10-08 Roland McGrath <roland@hack.frob.com>
42607
42608 * locale/programs/locarchive.c (prepare_address_space): New function.
42609 (create_archive, enlarge_archive, open_archive): Use it.
42610
42611 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
42612 inside [SHARED], where it is used.
42613
42614 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
42615
42616 * nss/getent.c (netgroup_keys): Remove unused variable.
42617 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42618
42619 2011-10-08 Ulrich Drepper <drepper@gmail.com>
42620
42621 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
42622 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
42623 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
42624 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
42625 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
42626 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
42627 * math/Makefile (libm-calls): Add s_isinf_ns.
42628 * math/divtc3.c: Use __isinf_nsl instead of isinf.
42629 * math/multc3.c: Likewise.
42630 * math/s_casin.c: Likewise.
42631 * math/s_casinf.c: Likewise.
42632 * math/s_casinl.c: Likewise.
42633 * math/s_ccos.c: Likewise.
42634 * math/s_ccosf.c: Likewise.
42635 * math/s_ccosl.c: Likewise.
42636 * math/s_ctan.c: Likewise.
42637 * math/s_ctanf.c: Likewise.
42638 * math/s_ctanh.c: Likewise.
42639 * math/s_ctanhf.c: Likewise.
42640 * math/s_ctanhl.c: Likewise.
42641 * math/s_ctanl.c: Likewise.
42642 * math/w_fmod.c: Likewise.
42643 * math/w_fmodf.c: Likewise.
42644 * math/w_fmodl.c: Likewise.
42645 * math/w_remainder.c: Likewise.
42646 * math/w_remainderf.c: Likewise.
42647 * math/w_remainderl.c: Likewise.
42648 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
42649 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
42650 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
42651 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
42652 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
42653 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
42654 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
42655 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
42656
42657 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
42658 of the number.
42659 * stdio-common/printf_fphex.c: Likewise.
42660 * stdio-common/printf_size.c: Likewise.
42661
42662 * math/e_exp10.c: Include math_private.h using <...> not "...".
42663 * math/e_exp10f.c: Likewise.
42664 * math/e_exp10l.c: Likewise.
42665 * math/e_exp2l.c: Likewise.
42666 * math/e_j0l.c: Likewise.
42667 * math/e_j1l.c: Likewise.
42668 * math/e_jnl.c: Likewise.
42669 * math/e_lgammal_r.c: Likewise.
42670 * math/e_rem_pio2l.c: Likewise.
42671 * math/e_scalb.c: Likewise.
42672 * math/e_scalbf.c: Likewise.
42673 * math/e_scalbl.c: Likewise.
42674 * math/k_cosl.c: Likewise.
42675 * math/k_sinl.c: Likewise.
42676 * math/k_tanl.c: Likewise.
42677 * math/s_cacoshf.c: Likewise.
42678 * math/s_catan.c: Likewise.
42679 * math/s_catanf.c: Likewise.
42680 * math/s_catanh.c: Likewise.
42681 * math/s_catanhf.c: Likewise.
42682 * math/s_catanhl.c: Likewise.
42683 * math/s_catanl.c: Likewise.
42684 * math/s_ccosh.c: Likewise.
42685 * math/s_ccoshf.c: Likewise.
42686 * math/s_ccoshl.c: Likewise.
42687 * math/s_cexp.c: Likewise.
42688 * math/s_cexpf.c: Likewise.
42689 * math/s_cexpl.c: Likewise.
42690 * math/s_clog.c: Likewise.
42691 * math/s_clog10.c: Likewise.
42692 * math/s_clog10f.c: Likewise.
42693 * math/s_clog10l.c: Likewise.
42694 * math/s_clogf.c: Likewise.
42695 * math/s_clogl.c: Likewise.
42696 * math/s_csin.c: Likewise.
42697 * math/s_csinf.c: Likewise.
42698 * math/s_csinh.c: Likewise.
42699 * math/s_csinhf.c: Likewise.
42700 * math/s_csinhl.c: Likewise.
42701 * math/s_csinl.c: Likewise.
42702 * math/s_csqrt.c: Likewise.
42703 * math/s_csqrtf.c: Likewise.
42704 * math/s_csqrtl.c: Likewise.
42705 * math/s_ctan.c: Likewise.
42706 * math/s_ctanf.c: Likewise.
42707 * math/s_ctanh.c: Likewise.
42708 * math/s_ctanhf.c: Likewise.
42709 * math/s_ctanhl.c: Likewise.
42710 * math/s_ctanl.c: Likewise.
42711 * math/s_ldexp.c: Likewise.
42712 * math/s_ldexpf.c: Likewise.
42713 * math/s_ldexpl.c: Likewise.
42714 * math/s_significand.c: Likewise.
42715 * math/s_significandf.c: Likewise.
42716 * math/s_significandl.c: Likewise.
42717 * math/w_acos.c: Likewise.
42718 * math/w_acosf.c: Likewise.
42719 * math/w_acosh.c: Likewise.
42720 * math/w_acoshf.c: Likewise.
42721 * math/w_acoshl.c: Likewise.
42722 * math/w_acosl.c: Likewise.
42723 * math/w_asin.c: Likewise.
42724 * math/w_asinf.c: Likewise.
42725 * math/w_asinl.c: Likewise.
42726 * math/w_atan2.c: Likewise.
42727 * math/w_atan2f.c: Likewise.
42728 * math/w_atan2l.c: Likewise.
42729 * math/w_atanh.c: Likewise.
42730 * math/w_atanhf.c: Likewise.
42731 * math/w_atanhl.c: Likewise.
42732 * math/w_cosh.c: Likewise.
42733 * math/w_coshf.c: Likewise.
42734 * math/w_coshl.c: Likewise.
42735 * math/w_dremf.c: Likewise.
42736 * math/w_exp10.c: Likewise.
42737 * math/w_exp10f.c: Likewise.
42738 * math/w_exp10l.c: Likewise.
42739 * math/w_exp2.c: Likewise.
42740 * math/w_exp2f.c: Likewise.
42741 * math/w_fmod.c: Likewise.
42742 * math/w_fmodf.c: Likewise.
42743 * math/w_fmodl.c: Likewise.
42744 * math/w_hypot.c: Likewise.
42745 * math/w_hypotf.c: Likewise.
42746 * math/w_hypotl.c: Likewise.
42747 * math/w_j0.c: Likewise.
42748 * math/w_j0f.c: Likewise.
42749 * math/w_j0l.c: Likewise.
42750 * math/w_j1.c: Likewise.
42751 * math/w_j1f.c: Likewise.
42752 * math/w_j1l.c: Likewise.
42753 * math/w_jn.c: Likewise.
42754 * math/w_jnf.c: Likewise.
42755 * math/w_jnl.c: Likewise.
42756 * math/w_lgamma.c: Likewise.
42757 * math/w_lgamma_r.c: Likewise.
42758 * math/w_lgammaf.c: Likewise.
42759 * math/w_lgammaf_r.c: Likewise.
42760 * math/w_lgammal.c: Likewise.
42761 * math/w_lgammal_r.c: Likewise.
42762 * math/w_log.c: Likewise.
42763 * math/w_log10.c: Likewise.
42764 * math/w_log10f.c: Likewise.
42765 * math/w_log10l.c: Likewise.
42766 * math/w_log2.c: Likewise.
42767 * math/w_log2f.c: Likewise.
42768 * math/w_log2l.c: Likewise.
42769 * math/w_logf.c: Likewise.
42770 * math/w_logl.c: Likewise.
42771 * math/w_pow.c: Likewise.
42772 * math/w_powf.c: Likewise.
42773 * math/w_powl.c: Likewise.
42774 * math/w_remainder.c: Likewise.
42775 * math/w_remainderf.c: Likewise.
42776 * math/w_remainderl.c: Likewise.
42777 * math/w_scalb.c: Likewise.
42778 * math/w_scalbf.c: Likewise.
42779 * math/w_scalbl.c: Likewise.
42780 * math/w_sinh.c: Likewise.
42781 * math/w_sinhf.c: Likewise.
42782 * math/w_sinhl.c: Likewise.
42783 * math/w_sqrt.c: Likewise.
42784 * math/w_sqrtf.c: Likewise.
42785 * math/w_sqrtl.c: Likewise.
42786 * math/w_tgamma.c: Likewise.
42787 * math/w_tgammaf.c: Likewise.
42788 * math/w_tgammal.c: Likewise.
42789
42790 * po/ja.po: Update from translation team.
42791
42792 2011-09-29 Andreas Jaeger <aj@suse.de>
42793
42794 [BZ #13179]
42795 * sunrpc/netname.c (netname2host): Fix logic.
42796
42797 [BZ #6779]
42798 [BZ #6783]
42799 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
42800 correctly.
42801 * math/w_remainder.c (__remainder): Likewise.
42802 * math/w_remainderf.c (__remainderf): Likewise.
42803 * math/libm-test.inc (remainder_test): Add test cases.
42804
42805 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42806
42807 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
42808 sdiv_qrnnd.
42809
42810 2011-10-07 Ulrich Drepper <drepper@gmail.com>
42811
42812 * string/test-memcmp.c: Avoid unncessary #defines.
42813 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42814
42815 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42816
42817 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
42818 Use new sse2 version for core i3 - i7 as it's faster
42819 than sse42 version.
42820 (bit_Prefer_PMINUB_for_stringop): New.
42821 * sysdeps/x86_64/rawmemchr.S: Update.
42822 Replace with faster SSE2 version.
42823 * sysdeps/x86_64/memrchr.S: New file.
42824 * sysdeps/x86_64/memchr.S: Update.
42825 Replace with faster SSE2 version.
42826
42827 2011-09-12 Marek Polacek <mpolacek@redhat.com>
42828
42829 * elf/dl-load.c (lose): Add cast to avoid warning.
42830
42831 2011-10-07 Ulrich Drepper <drepper@gmail.com>
42832
42833 * po/ca.po: Update from translation team.
42834
42835 * inet/getnetgrent_r.c: Hook up nscd.
42836 * nscd/Makefile (routines): Add nscd_netgroup.
42837 (nscd-modules): Add netgroupcache.
42838 (CFLAGS-netgroupcache.c): Define.
42839 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
42840 (cache_search): Add const to second parameter.
42841 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
42842 INNETGR.
42843 (dbs): Add netgrdb entry.
42844 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
42845 (verify_persistent_db): Handle netgrdb.
42846 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
42847 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
42848 GETFDNETGR.
42849 (netgroup_response_header): Define.
42850 (innetgroup_response_header): Define.
42851 (datahead): Add netgroup_response_header and innetgroup_response_header
42852 elements.
42853 * nscd/nscd.conf: Add entries for netgroup cache.
42854 * nscd/nscd.h (dbtype): Add netgrdb.
42855 (_PATH_NSCD_NETGROUP_DB): Define.
42856 (netgroup_iov_disabled): Declare.
42857 (xmalloc, xcalloc, xrealloc): Move declarations here.
42858 (cache_search): Adjust prototype.
42859 Add netgroup-related prototypes.
42860 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
42861 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
42862 (__nscd_innetgr): Declare.
42863 * nscd/selinux.c (perms): Use access_vector_t as element type and
42864 add netgroup-related initializers.
42865 * nscd/netgroupcache.c: New file.
42866 * nscd/nscd_netgroup.c: New file.
42867 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
42868 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
42869 For four parameters use innetgr.
42870 * nss/nss_files/files-init.c: Add definition and callback for netgr.
42871 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
42872 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
42873 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
42874
42875 * nscd/connections.c (register_traced_file): Don't register file
42876 for disabled databases.
42877
42878 2011-10-06 Ulrich Drepper <drepper@gmail.com>
42879
42880 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
42881
42882 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
42883 from tree and freeing node.
42884
42885 2011-09-25 Jiri Olsa <jolsa@redhat.com>
42886
42887 * nss/nsswitch.c (__nss_database_lookup): Handle
42888 nss_parse_service_list out of memory case.
42889
42890 2011-09-15 Jiri Olsa <jolsa@redhat.com>
42891
42892 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
42893 out of memory case.
42894
42895 2011-10-04 Andreas Schwab <schwab@redhat.com>
42896
42897 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
42898 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
42899 pass it down.
42900 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
42901 elf_machine_rela, elf_machine_lazy_rel.
42902 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
42903 (ELF_DYNAMIC_DO_REL): Likewise.
42904 (ELF_DYNAMIC_DO_RELA): Likewise.
42905 (ELF_DYNAMIC_RELOCATE): Likewise.
42906 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
42907 to ELF_DYNAMIC_DO_REL.
42908 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
42909 (dl_main): In trace mode always set __RTLD_NOIFUNC.
42910 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
42911 elf_machine_rela.
42912 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
42913 skip_ifunc, don't call ifunc function if non-zero.
42914 (elf_machine_rela): Likewise.
42915 (elf_machine_lazy_rel): Likewise.
42916 (elf_machine_lazy_rela): Likewise.
42917 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
42918 (elf_machine_lazy_rel): Likewise.
42919 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
42920 Likewise.
42921 (elf_machine_lazy_rel): Likewise.
42922 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42923 Likewise.
42924 (elf_machine_lazy_rel): Likewise.
42925 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
42926 (elf_machine_lazy_rel): Likewise.
42927 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
42928 (elf_machine_lazy_rel): Likewise.
42929 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42930 (elf_machine_lazy_rel): Likewise.
42931 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
42932 (elf_machine_lazy_rel): Likewise.
42933 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
42934 (elf_machine_lazy_rel): Likewise.
42935 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42936 (elf_machine_lazy_rel): Likewise.
42937
42938 2011-09-28 Ulrich Drepper <drepper@gmail.com>
42939
42940 * nss/nss_files/files-init.c (_nss_files_init): Use static
42941 initialization for all the *_traced_file variables.
42942
42943 2011-09-28 Andreas Schwab <schwab@redhat.com>
42944
42945 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42946
42947 2011-09-27 Roland McGrath <roland@hack.frob.com>
42948
42949 [BZ #13226]
42950 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
42951
42952 2011-09-27 Andreas Schwab <schwab@redhat.com>
42953
42954 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42955 Reread the line before reparsing it.
42956
42957 2011-09-26 Andreas Schwab <schwab@redhat.com>
42958
42959 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
42960
42961 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
42962 Maxim Kuvyrkov <maxim@codesourcery.com>
42963 Joseph Myers <joseph@codesourcery.com>
42964
42965 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
42966 if needed for __stack_chk_guard.
42967
42968 2011-09-19 Roland McGrath <roland@hack.frob.com>
42969
42970 * sysdeps/posix/spawni.c (script_execute): Always define it.
42971 It will be optimized away if unused.
42972 (maybe_script_execute): New function.
42973 (__spawni): Call it.
42974
42975 * Makerules: Don't include tls.make.
42976 (config-tls): Always set to thread.
42977 * tls.make.c: File removed.
42978
42979 2011-09-19 Mike Frysinger <vapier@gentoo.org>
42980
42981 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
42982 * config.make.in (CPPFLAGS-config): New substituted variable.
42983
42984 2011-09-15 Ulrich Drepper <drepper@gmail.com>
42985
42986 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
42987
42988 [BZ #13192]
42989 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
42990 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
42991
42992 2011-09-15 Roland McGrath <roland@hack.frob.com>
42993
42994 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
42995 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
42996 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42997 (CALL_FAIL): Likewise.
42998 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
42999 (CALL_FAIL): Macro removed.
43000 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
43001
43002 2011-09-15 Ulrich Drepper <drepper@gmail.com>
43003
43004 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
43005 for __FINITE_MATH_ONLY__ == 1.
43006
43007 2011-09-15 Andreas Schwab <schwab@redhat.com>
43008
43009 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
43010 __ieee754_sqrt instead of sqrt.
43011 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
43012 __ieee754_sqrtf instead of sqrtf.
43013 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
43014 __floorf instead of floorf.
43015 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
43016 __floorf, __truncf instead of floorf, truncf.
43017
43018 2011-09-14 Ulrich Drepper <drepper@gmail.com>
43019
43020 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
43021
43022 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
43023 __extern_always_inline.
43024 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
43025 32-bit.
43026
43027 2011-09-14 Andreas Schwab <schwab@redhat.com>
43028
43029 * elf/rtld.c (dl_main): Also relocate in dependency order when
43030 doing symbol dependency testing.
43031
43032 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
43033
43034 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43035 Always define `refsym'.
43036
43037 2011-09-13 Andreas Schwab <schwab@redhat.com>
43038
43039 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
43040 (__FD_ELT): Renamed from __FDELT.
43041 * misc/bits/select2.h (__FD_ELT): Likewise.
43042 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
43043 __FD_MASK instead of __FDELT, __FDMASK.
43044 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43045 Likewise.
43046 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43047 Likewise.
43048
43049 * elf/Makefile (gen-ldd): Fix pattern.
43050
43051 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
43052 (init_tls): Likewise.
43053
43054 2011-09-12 Ulrich Drepper <drepper@gmail.com>
43055
43056 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
43057
43058 2011-09-12 Andreas Schwab <schwab@redhat.com>
43059
43060 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
43061 `struct cmsghdr *' instead of `void *'.
43062 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
43063 Likewise.
43064
43065 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
43066
43067 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
43068 if non-absolute.
43069 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
43070 ldd_rewrite_script.
43071
43072 2011-09-11 Ulrich Drepper <drepper@gmail.com>
43073
43074 * configure.in: Remove --with-tls option.
43075 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
43076 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
43077 out in case it is missing.
43078 * sysdeps/ia64/elf/configure.in: Likewise.
43079 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
43080 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
43081 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
43082 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
43083 * sysdeps/sh/elf/configure.in: Likewise.
43084 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
43085 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43086 * sysdeps/x86_64/elf/configure.in: Likewise.
43087 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
43088 * sysdeps/mach/hurd/tls.h: Likewise.
43089
43090 [BZ #13067]
43091 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
43092
43093 [BZ #13090]
43094 * configure.in: Fix use of AC_INIT.
43095
43096 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
43097
43098 2011-09-10 Ulrich Drepper <drepper@gmail.com>
43099
43100 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
43101 __set_errno.
43102 * malloc/hooks.c: Likewise.
43103
43104 [BZ #11929]
43105 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
43106 variables statically.
43107 (narenas): Initialize.
43108 (list_lock): Initialize.
43109 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
43110 initializtion of main_arena and list_lock. Small cleanups.
43111 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
43112 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
43113 Add initializers to main_arena and mp_.
43114 (malloc_state): Remove pagesize member. Change all users to use
43115 GLRO(dl_pagesize).
43116
43117 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
43118 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
43119 is always initialized.
43120
43121 * malloc/malloc.c: Removed unused configurations and dead code.
43122 * malloc/arena.c: Likewise.
43123 * malloc/hooks.c: Likewise.
43124 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
43125
43126 * include/tls.h: Removed. USE___THREAD must always be defined.
43127 * bits/libc-tsd.h: Don't handle !USE___THREAD.
43128 * elf/dl-libc.c: Likewise.
43129 * elf/dl-tsd.c: Likewise.
43130 * include/errno.h: Likewise.
43131 * include/netdb.h: Likewise.
43132 * include/resolv.h: Likewise.
43133 * inet/herrno-loc.c: Likewise.
43134 * inet/herrno.c: Likewise.
43135 * malloc/arena.c: Likewise.
43136 * malloc/hooks.c: Likewise.
43137 * malloc/malloc.c: Likewise.
43138 * resolv/res-state.c: Likewise.
43139 * resolv/res_libc.c: Likewise.
43140 * sysdeps/i386/dl-machine.h: Likewise.
43141 * sysdeps/ia64/dl-machine.h: Likewise.
43142 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
43143 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
43144 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
43145 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
43146 * sysdeps/sh/dl-machine.h: Likewise.
43147 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43148 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43149 * sysdeps/unix/i386/sysdep.S: Likewise.
43150 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43151 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43152 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43153 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43154 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43155 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43156 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43157 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43158 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43159 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43160 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43161 * sysdeps/x86_64/dl-machine.h: Likewise.
43162 * tls.make.c: Likewise.
43163
43164 * configure.in: Remove --with-__thread option. Make tests for
43165 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
43166 tls_model attribute fail if no support is available. Remove
43167 USE_IN_LIBIO.
43168 * Makeconfig: Adjust for dropped configure option. All features are
43169 now mandatory.
43170 * Makerules: Likewise.
43171 * Versions.def: Likewise.
43172 * argp/argp-fmtstream.c: Likewise.
43173 * argp/argp-fmtstream.h: Likewise.
43174 * argp/argp-help.c: Likewise.
43175 * assert/assert.c: Likewise.
43176 * config.h.in: Likewise.
43177 * config.make.in: Likewise.
43178 * configure: Likewise.
43179 * configure.in: Likewise.
43180 * csu/Versions: Likewise.
43181 * csu/init.c: Likewise.
43182 * elf/tst-audit2.c: Likewise.
43183 * elf/tst-tls10.c: Likewise.
43184 * elf/tst-tls10.h: Likewise.
43185 * elf/tst-tls11.c: Likewise.
43186 * elf/tst-tls12.c: Likewise.
43187 * elf/tst-tls14.c: Likewise.
43188 * elf/tst-tlsmod11.c: Likewise.
43189 * elf/tst-tlsmod12.c: Likewise.
43190 * elf/tst-tlsmod13.c: Likewise.
43191 * elf/tst-tlsmod13a.c: Likewise.
43192 * elf/tst-tlsmod14a.c: Likewise.
43193 * elf/tst-tlsmod15b.c: Likewise.
43194 * elf/tst-tlsmod16a.c: Likewise.
43195 * elf/tst-tlsmod16b.c: Likewise.
43196 * elf/tst-tlsmod7.c: Likewise.
43197 * elf/tst-tlsmod8.c: Likewise.
43198 * elf/tst-tlsmod9.c: Likewise.
43199 * gmon/gmon.c: Likewise.
43200 * grp/fgetgrent_r.c: Likewise.
43201 * grp/putgrent.c: Likewise.
43202 * hurd/fopenport.c: Likewise.
43203 * include/libc-symbols.h: Likewise.
43204 * include/tls.h: Likewise.
43205 * intl/gettextP.h: Likewise.
43206 * intl/loadinfo.h: Likewise.
43207 * locale/global-locale.c: Likewise.
43208 * locale/localeinfo.h: Likewise.
43209 * mach/devstream.c: Likewise.
43210 * malloc/arena.c: Likewise.
43211 * malloc/set-freeres.c: Likewise.
43212 * misc/err.c: Likewise.
43213 * misc/getttyent.c: Likewise.
43214 * misc/mntent_r.c: Likewise.
43215 * posix/getopt.c: Likewise.
43216 * posix/wordexp.c: Likewise.
43217 * pwd/fgetpwent_r.c: Likewise.
43218 * resolv/Versions: Likewise.
43219 * resolv/res_hconf.c: Likewise.
43220 * shadow/fgetspent_r.c: Likewise.
43221 * shadow/putspent.c: Likewise.
43222 * stdio-common/printf_fphex.c: Likewise.
43223 * stdio-common/tmpfile.c: Likewise.
43224 * stdlib/abort.c: Likewise.
43225 * stdlib/fmtmsg.c: Likewise.
43226 * sunrpc/auth_unix.c: Likewise.
43227 * sunrpc/clnt_perr.c: Likewise.
43228 * sunrpc/clnt_tcp.c: Likewise.
43229 * sunrpc/clnt_udp.c: Likewise.
43230 * sunrpc/clnt_unix.c: Likewise.
43231 * sunrpc/openchild.c: Likewise.
43232 * sunrpc/svc_simple.c: Likewise.
43233 * sunrpc/svc_tcp.c: Likewise.
43234 * sunrpc/svc_udp.c: Likewise.
43235 * sunrpc/svc_unix.c: Likewise.
43236 * sunrpc/xdr.c: Likewise.
43237 * sunrpc/xdr_array.c: Likewise.
43238 * sunrpc/xdr_rec.c: Likewise.
43239 * sunrpc/xdr_ref.c: Likewise.
43240 * sunrpc/xdr_stdio.c: Likewise.
43241
43242 2011-09-09 Ulrich Drepper <drepper@gmail.com>
43243
43244 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43245
43246 2011-07-03 Andreas Jaeger <aj@suse.de>
43247
43248 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
43249 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
43250 regenerate with gen-libm-tests.pl.
43251
43252 2010-05-12 Petr Baudis <pasky@suse.cz>
43253
43254 [BZ #11589]
43255 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
43256 around j0() zero points by switching to j1().
43257 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43258 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43259 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43260 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43261
43262 2011-09-09 Ulrich Drepper <drepper@gmail.com>
43263
43264 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
43265 instead of 0.
43266 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
43267 instead of 0.
43268 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43269 Patch in part by Pavel Roskin <proski@gnu.org>.
43270
43271 [BZ #13138]
43272 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
43273 realloc.
43274 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
43275 Free memory block if necessary.
43276
43277 [BZ #12847]
43278 * libio/genops.c (INTDEF): For string streams the _lock pointer can
43279 be NULL. Don't lock in this case.
43280
43281 2011-09-09 Roland McGrath <roland@hack.frob.com>
43282
43283 * elf/elf.h (ELFOSABI_GNU): New macro.
43284 (ELFOSABI_LINUX): Define to that.
43285
43286 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
43287
43288 * string/strncat.c (strncat): Undef the symbol in case it has been
43289 defined in bits/string.h.
43290
43291 2011-09-09 Ulrich Drepper <drepper@gmail.com>
43292
43293 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
43294
43295 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
43296 link map.
43297
43298 2011-08-17 Andreas Jaeger <aj@suse.de>
43299
43300 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
43301
43302 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
43303 Ian Lance Taylor <iant@google.com>
43304
43305 * math/libm-test.inc (lround_test): New testcase.
43306 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
43307
43308 2011-09-08 Ulrich Drepper <drepper@gmail.com>
43309
43310 * Makefile: Remove support for automatic cvs check-ins.
43311 * Makerules: Likewise.
43312 * config.make.in: Likewise.
43313 * configure.in: Likewise.
43314 * intl/Makefile: Likewise.
43315 * locale/Makefile: Likewise.
43316 * po/Makefile: Likewise.
43317 * posix/Makefile: Likewise.
43318 * sysdeps/gnu/Makefile: Likewise.
43319 * sysdeps/mach/hurd/Makefile: Likewise.
43320 * sysdeps/sparc/sparc32/Makefile: Likewise.
43321
43322 [BZ #13118]
43323 * posix/Makefile (bug-regex32-ENV): Define.
43324 Patch by John Stanley <jpsinthemix@verizon.net>.
43325
43326 * misc/Makefile (headers): Add bits/select2.h.
43327 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
43328 * misc/bits/select2.h: New file.
43329 * include/bits/select2.h: New file.
43330 * debug/Makefile (routines): Add fdelt_chk.
43331 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
43332 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
43333 FD_ISSET.
43334 * debug/fdelt_chk.c: New file.
43335
43336 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
43337 * wcsmbs/test-wmemcmp.c: Likewise.
43338 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
43339 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
43340
43341 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43342
43343 * string/Makefile (strop-tests): Add memcmp.
43344 * string/test-wmemcmp.c: New file.
43345 * string/test-memcmp.c: Add wmemcmp support.
43346
43347 2011-09-08 Roland McGrath <roland@hack.frob.com>
43348
43349 [BZ #13153]
43350 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
43351 2011-07-19 change.
43352
43353 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
43354 garbage value in a __mach_port_mod_refs call in the cases of the
43355 task-self and thread-self ports.
43356
43357 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43358
43359 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
43360
43361 2011-09-08 Andreas Schwab <schwab@redhat.com>
43362
43363 * elf/dl-load.c (lose): Check for non-null L.
43364
43365 2011-09-07 Ulrich Drepper <drepper@gmail.com>
43366
43367 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
43368
43369 * elf/dl-libc.c (dlerror_run): Pass back error code from
43370 dl_catch_error.
43371
43372 [BZ #13123]
43373 * elf/dl-load.c (lose): Free l_origin if it is valid.
43374
43375 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
43376 names.
43377 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43378 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43379 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43380 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43381 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43382 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
43383
43384 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43385
43386 * sysdeps/powerpc/fpu/e_hypot.c: New file.
43387 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
43388 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
43389 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
43390 * sysdeps/powerpc/fpu/k_cosf.c: New file.
43391 * sysdeps/powerpc/fpu/k_sinf.c: New file.
43392 * sysdeps/powerpc/fpu/s_cosf.c: New file.
43393 * sysdeps/powerpc/fpu/s_sinf.c: New file.
43394 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
43395 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
43396
43397 2011-08-15 Alan Modra <amodra@gmail.com>
43398
43399 [BZ #13092]
43400 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
43401 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
43402 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
43403 ppc_mcount to static-only-routines.
43404 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
43405 __mcount_internal.
43406 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
43407 __mcount_internal with usual JUMPTARGET. Remove useless nop.
43408
43409 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
43410
43411 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
43412 for finite and infinity parameters.
43413
43414 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
43415
43416 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
43417 and add nop instructions for throughput optimization.
43418 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43419
43420 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
43421
43422 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
43423 aligned copy for power7 with vector-scalar instructions.
43424 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43425
43426 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
43427
43428 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
43429 AVX check.
43430
43431 2011-09-07 Andreas Schwab <schwab@redhat.com>
43432
43433 [BZ #13144]
43434 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
43435 last change.
43436
43437 2011-09-07 Ulrich Drepper <drepper@gmail.com>
43438
43439 * sysdeps/unix/sysv/linux/x86_64/init-first.c
43440 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
43441 syscall wrapper around clock_gettime in __vdso_clock_gettime.
43442 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
43443 clock_gettime.
43444
43445 2011-09-06 Ulrich Drepper <drepper@gmail.com>
43446
43447 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
43448 Forgot to demangle the pointer.
43449
43450 * sysdeps/i386/sysdep.h: Define atom_text_section.
43451 * sysdeps/x86_64/sysdep.h: Likewise.
43452 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
43453 section with atom_text_section.
43454 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43455 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43456 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43457 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43458 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
43459
43460 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
43461 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
43462 already be defined. Change to take two parameters and don't assign
43463 result to variable. Adjust all users.
43464 Define INTERNAL_GETTIME if not already defined.
43465 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
43466 call.
43467 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
43468 HAVE_CLOCK_GETTIME_VSYSCALL.
43469 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
43470
43471 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
43472 gettimeofday vsyscall, just use time.
43473
43474 2011-09-06 Andreas Schwab <schwab@redhat.com>
43475
43476 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
43477 <errno.h>.
43478
43479 2011-09-06 Ulrich Drepper <drepper@gmail.com>
43480
43481 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
43482 syscall on x86-64.
43483 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
43484 syscall.
43485 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
43486 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
43487 syscall if possible.
43488
43489 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43490
43491 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
43492 e_ident. Don't pass to find_mapsXX.
43493 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
43494
43495 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43496
43497 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43498 strchr-sse2-no-bsf strrchr-sse2-no-bsf
43499 * sysdeps/x86_64/multiarch/strchr.S: Update.
43500 Check bit_slow_BSF bit.
43501 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43502 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
43503 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
43504
43505 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43506
43507 [BZ #13134]
43508 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
43509 before glibc 2.15.
43510 (tryshell): Define.
43511 (__spawni): Change last parameter to be flag. Test
43512 SPAWN_XFLAGS_USE_PATH flag to use path or not.
43513 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
43514 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
43515 * posix/spawni.c: Likewise.
43516 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
43517 * posix/spawnp.c: Likewise. Change normal version to use
43518 SPAWN_XFLAGS_USE_PATH.
43519 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
43520 SPAWN_XFLAGS_TRY_SHELL.
43521
43522 [BZ #13150]
43523 * posix/glob.h: Remove gcc 1.x support.
43524
43525 [BZ #13068]
43526 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
43527
43528 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43529
43530 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43531 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
43532 strrchr-sse2-bsf
43533 * sysdeps/i386/i686/multiarch/strchr.S: New file.
43534 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
43535 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
43536 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
43537 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
43538 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
43539
43540 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43541
43542 * sysdeps/x86_64/wcscmp.S: New file.
43543
43544 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
43545 wcscmp-c wcscmp-sse2
43546 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
43547 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
43548 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
43549 * wcsmbs/wcscmp.c: Allow renaming.
43550
43551 2011-09-05 David S. Miller <davem@davemloft.net>
43552
43553 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
43554 stack slot, rather than the struct return pointer slot.
43555 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
43556 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
43557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
43558 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
43559
43560 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43561
43562 * po/ja.po: Update from translation team.
43563
43564 [BZ #13144]
43565 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
43566 kernel in 64-bit binaries.
43567
43568 2011-09-01 David S. Miller <davem@davemloft.net>
43569
43570 * elf/elf.h (HWCAP_SPARC_*): Move to..
43571 * sysdeps/sparc/sysdep.h: this new file and add new values.
43572 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
43573 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
43574 _DL_HWCAP_COUNT to 24.
43575 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43576 entries.
43577 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
43578 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
43579 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
43580 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
43581 instead of magic constants.
43582 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43583
43584 2011-08-31 David S. Miller <davem@davemloft.net>
43585
43586 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
43587 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
43588 Reimplement to do errno handling inline.
43589 (SYSCALL_ERROR_HANDLER): New macro.
43590 (__SYSCALL_STRING): Do not do errno handling in asm.
43591 (__CLONE_SYSCALL_STRING): Delete.
43592 (__INTERNAL_SYSCALL_STRING): Delete.
43593 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
43594 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
43595 (PSEUDO): Reimplement to do errno handling inline.
43596 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
43597 (SYSCALL_ERROR_HANDLER): New macro.
43598 (__SYSCALL_STRING): Do not do errno handling in asm.
43599 (__CLONE_SYSCALL_STRING): Delete.
43600 (__INTERNAL_SYSCALL_STRING): Delete.
43601 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
43602 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
43603 i386.
43604 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
43605 (inline_syscall*): Add 'err' argument.
43606 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
43607 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
43608 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
43609 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
43610
43611 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
43612 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43613
43614 2011-08-30 Andreas Schwab <schwab@redhat.com>
43615
43616 * elf/rtld.c (dl_main): Relocate objects in dependency order.
43617
43618 2011-08-29 Jiri Olsa <jolsa@redhat.com>
43619
43620 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
43621 directive.
43622
43623 2011-08-24 David S. Miller <davem@davemloft.net>
43624
43625 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
43626
43627 2011-08-24 Andreas Schwab <schwab@redhat.com>
43628
43629 * elf/Makefile: Add rules to build and run unload8 test.
43630 * elf/unload8.c: New file.
43631 * elf/unload8mod1.c: New file.
43632 * elf/unload8mod1x.c: New file.
43633 * elf/unload8mod2.c: New file.
43634 * elf/unload8mod3.c: New file.
43635
43636 * elf/dl-close.c (_dl_close_worker): Reset private search list if
43637 it wasn't used.
43638
43639 2011-08-23 David S. Miller <davem@davemloft.net>
43640
43641 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
43642 subtract stack bias.
43643 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
43644 %sp not %fp in calculations.
43645 (_JMPBUF_UNWINDS_ADJ): Likewise.
43646
43647 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
43648 (aio_suspend): Call it to force an exception region around the
43649 AIO_MISC_WAIT() invocation.
43650
43651 2011-08-23 Andreas Schwab <schwab@redhat.com>
43652
43653 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
43654 backslash.
43655
43656 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
43657
43658 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
43659 protection macro.
43660 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
43661 and <dl-machine.h>.
43662 (Elf64_FuncDesc): Remove.
43663
43664 2011-08-22 David S. Miller <davem@davemloft.net>
43665
43666 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
43667 sigaltstack check, add missing cfi directives.
43668 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
43669 missing cfi directives, and sigaltstack handling.
43670
43671 2011-08-16 Andreas Schwab <schwab@redhat.com>
43672
43673 [BZ #11724]
43674 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
43675 object is seen twice.
43676 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43677
43678 * elf/Makefile (distribute): Add tst-initorder2.c.
43679 (tests): Add tst-initorder2.
43680 (modules-names): Add tst-initorder2a tst-initorder2b
43681 tst-initorder2c tst-initorder2d. Add rules to build them.
43682 ($(objpfx)tst-initorder2.out): New rule.
43683 * elf/tst-initorder2.c: New file.
43684 * elf/tst-initorder2.exp: New file.
43685
43686 2011-08-22 Andreas Schwab <schwab@redhat.com>
43687
43688 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
43689
43690 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
43691 dependencies back to end of function.
43692
43693 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43694 $(elfobjdir)/ld.so.
43695
43696 2011-08-21 Ulrich Drepper <drepper@gmail.com>
43697
43698 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
43699 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
43700 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
43701 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
43702 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
43703 of __vdso_gettimeofday.
43704 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
43705 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
43706 attribute_hidden.
43707 (_libc_vdso_platform_setup): Remove initialization of
43708 __vdso_gettimeofday and __vdso_time.
43709
43710 2011-08-20 Ulrich Drepper <drepper@gmail.com>
43711
43712 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
43713 and fgetc_unlocked.
43714 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
43715 getc_unlocked.
43716
43717 * elf/dl-open.c (add_to_global): Report additions to the global scope
43718 for LD_DEBUG=scopes.
43719 (dl_open_worker): Also print scope of newly loaded dependencies.
43720 (_dl_show_scope): Indicate if there is no scope.
43721
43722 [BZ #13114]
43723 * stdio-common/Makefile (tests): Add bug24.
43724 * stdio-common/bug24.c: New file.
43725
43726 2011-08-19 Andreas Jaeger <aj@suse.de>
43727
43728 [BZ #13114]
43729 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
43730 non-existant file when using close-on-exec mode.
43731
43732 2011-08-20 Ulrich Drepper <drepper@gmail.com>
43733
43734 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
43735 the very first instruction.
43736
43737 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
43738 the CFI state in the end.
43739 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
43740 inclusion of dl-trampoline.h.
43741 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
43742
43743 2011-08-19 Andreas Schwab <schwab@redhat.com>
43744
43745 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
43746 expectations for long double.
43747
43748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
43749 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
43750
43751 2011-08-14 David S. Miller <davem@davemloft.net>
43752
43753 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
43754 artificual limit depends upon the system page size.
43755
43756 2011-08-17 Ulrich Drepper <drepper@gmail.com>
43757
43758 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
43759 * resolv/Makefile: Define CFLAGS-libresolv.
43760
43761 2011-08-17 Andreas Schwab <schwab@redhat.com>
43762
43763 * nss/makedb.c (compute_tables): Make variables used in nested
43764 function static.
43765
43766 2011-08-17 Ulrich Drepper <drepper@gmail.com>
43767
43768 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
43769 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
43770 if buffer was too small.
43771
43772 * elf/pldd.c (main): Attach to all threads in the process.
43773 Rewrite /proc handling to use *at functions.
43774
43775 2011-08-16 Ulrich Drepper <drepper@gmail.com>
43776
43777 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
43778 specifies first scope to show.
43779 (dl_open_worker): Update callers. Move printing scope of new
43780 object to before the relocation.
43781 * elf/rtld.c (dl_main): Update _dl_show_scope call.
43782 * sysdeps/generic/ldsodefs.h: Update declaration.
43783
43784 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
43785 string for the scope number.
43786
43787 2011-08-14 Ulrich Drepper <drepper@gmail.com>
43788
43789 * nscd/servicescache.c (cache_addserv): Make sure written is always
43790 initialized.
43791
43792 2011-08-14 Roland McGrath <roland@hack.frob.com>
43793
43794 * sysdeps/i386/i486/bits/atomic.h
43795 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
43796 statement expression, so as to suppress "set but not used" warning.
43797 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
43798
43799 * string/strncat.c (STRNCAT): Use prototype definition.
43800
43801 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
43802 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
43803 -Iprograms here.
43804 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
43805 (localedef-modules): Add localedef.
43806 (locale-modules): Add locale.
43807
43808 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
43809 * elf/rtld.c (dl_main): Invert order of assignment in last change,
43810 to avoid a warning.
43811
43812 2011-08-14 David S. Miller <davem@davemloft.net>
43813
43814 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
43815 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
43816
43817 2011-08-13 Ulrich Drepper <drepper@gmail.com>
43818
43819 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
43820 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
43821 * elf/rtld.c (dl_main): Set l_name of vDSO.
43822 Call _dl_show_scope when DL_DEBUG_SCOPES.
43823 (process_dl_debug): Recognize scopes flag and also set it for all.
43824 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
43825 Declare _dl_show_scope.
43826
43827 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
43828 (do_dlopen): Pass caller_dlopen to dl_open.
43829 (__libc_dlopen_mode): Initialize caller_dlopen.
43830
43831 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
43832 of libc. Make tolower call locale-independent. Optimize a bit by
43833 using isdigit instead of isalnum.
43834 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
43835
43836 2011-08-12 Ulrich Drepper <drepper@gmail.com>
43837
43838 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
43839 was a dependency or dynamically loaded.
43840
43841 2011-08-11 Ulrich Drepper <drepper@gmail.com>
43842
43843 * intl/l10nflist.c: Allow architecture-specific pop function.
43844 * sysdeps/x86_64/l10nflist.c: New file.
43845
43846 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
43847 classification.
43848
43849 2011-08-10 Andreas Schwab <schwab@redhat.com>
43850
43851 * include/dirent.h: Add libc_hidden_proto for scandirat and
43852 scandirat64. Don't declare __scandirat64.
43853 * dirent/scandirat.c: Add libc_hidden_def.
43854 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
43855 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
43856
43857 2011-08-10 David S. Miller <davem@davemloft.net>
43858
43859 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
43860 enum.
43861 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43862 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43863 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43864
43865 2011-08-09 Ulrich Drepper <drepper@gmail.com>
43866
43867 * Versions.def [libc]: Add GLIBC_2.15.
43868 * dirent/Makefile (routines): Add scandirat and scandirat64.
43869 * dirent/Versions [libc]: Export scandirat and scandirat64 for
43870 GLIBC_2.15.
43871 * dirent/dirent.h: Declare scandirat and scandirat64.
43872 * dirent/scandirat.c: New file.
43873 * dirent/scandirat64.c: New file.
43874 * sysdeps/wordsize-64/scandirat.c: New file.
43875 * sysdeps/wordsize-64/scandirat64.c: New file.
43876 * dirent/opendir.c: Define opendirat.
43877 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
43878 using scandirat.
43879 * dirent/scandir64.c: Adjust for scandir.c change.
43880 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
43881 __scandirat64, and __scandir_cancel_handler.
43882 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
43883 additional parameter and use openat instead of open (outside of ld.so).
43884 Add new __opendir as wrapper around __opendirat.
43885 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
43886 here without requiring old scandirat implementation.
43887
43888 2011-08-08 Ulrich Drepper <drepper@gmail.com>
43889
43890 * dirent/scandir.c (cancel_handler): Renamed to
43891 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
43892 defined. Adjust users.
43893 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
43894 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
43895
43896 2011-08-04 Ulrich Drepper <drepper@gmail.com>
43897
43898 * string/test-string.h (IMPL): Use __STRING to expand name and then
43899 stringify it.
43900
43901 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
43902 of cleanups.
43903
43904 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43905
43906 * string/Makefile: Update.
43907 (strop-tests): Append strncat.
43908 * string/test-wcscmp.c: New file.
43909 New comprehensive test for wcscmp.
43910 * string/test-strcmp.c: Update.
43911 (WIDE): New define.
43912
43913 2011-07-22 Andreas Schwab <schwab@redhat.com>
43914
43915 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
43916 line.
43917
43918 2011-07-26 Andreas Schwab <schwab@redhat.com>
43919
43920 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43921 encoding to ACE if AI_IDN.
43922
43923 2011-08-01 Jakub Jelinek <jakub@redhat.com>
43924
43925 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
43926 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
43927
43928 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43929
43930 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
43931 Fix overflow bug in strncat.
43932 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43933
43934 * string/test-strncat.c: Update.
43935 Add new tests for checking overflow bugs.
43936
43937 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43938
43939 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43940 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
43941 * sysdeps/i386/i686/multiarch/strcat.S: New file.
43942 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
43943 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
43944 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
43945 * sysdeps/i386/i686/multiarch/strncat.S: New file.
43946 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
43947 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
43948
43949 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
43950 (USE_AS_STRCAT): Define.
43951 Add strcat and strncat support.
43952 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43953
43954 2011-07-25 Andreas Schwab <schwab@redhat.com>
43955
43956 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
43957 __n bigger than INT_MAX+1.
43958 (__strncmp_g): Likewise.
43959
43960 2011-07-23 Ulrich Drepper <drepper@gmail.com>
43961
43962 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
43963 * libio/stido.h: Likewise.
43964
43965 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
43966 (AF_NFC): Define.
43967 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
43968 (AF_NFC): Define.
43969
43970 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
43971 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43972 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43973 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
43974 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43975
43976 [BZ #13021]
43977 * scripts/test-installation.pl: Don't expect libnss_test1 to be
43978 installed.
43979
43980 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
43981 typo.
43982 (_dl_x86_64_save_sse): Likewise.
43983
43984 2011-07-22 Ulrich Drepper <drepper@gmail.com>
43985
43986 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
43987 OSXSAVE.
43988 (_dl_x86_64_save_sse): Likewise.
43989
43990 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
43991
43992 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
43993
43994 2011-07-21 Andreas Schwab <schwab@redhat.com>
43995
43996 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
43997 change.
43998 (_dl_x86_64_save_sse): Use correct AVX check.
43999
44000 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44001
44002 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
44003 bug in strncpy/strncat.
44004 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
44005
44006 2011-07-21 Ulrich Drepper <drepper@gmail.com>
44007
44008 * string/tester.c (test_strcat): Add tests for different alignments
44009 of source and destination.
44010 (test_strncat): Likewise.
44011
44012 2011-07-20 Ulrich Drepper <drepper@gmail.com>
44013
44014 [BZ #12852]
44015 * posix/glob.c (glob): Check passed in values before using them in
44016 expressions to avoid some overflows.
44017 (glob_in_dir): Likewise.
44018
44019 [BZ #13007]
44020 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
44021 check for AVX enablement so that we don't crash with old kernels and
44022 new hardware.
44023 * elf/tst-audit4.c: Add same checks here.
44024 * elf/tst-audit6.c: Likewise.
44025
44026 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
44027
44028 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
44029
44030 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
44031
44032 2011-07-20 Ulrich Drepper <drepper@gmail.com>
44033
44034 * po/cs.po: Update from translation team.
44035 * po/bg.po: Likewise.
44036
44037 2011-07-12 Marek Polacek <mpolacek@redhat.com>
44038
44039 * misc/sys/cdefs.h: Add support for const attribute.
44040 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
44041 to gnu_dev_{major,minor,makedev} functions.
44042
44043 2011-07-20 Marek Polacek <mpolacek@redhat.com>
44044
44045 * intl/dcigettext.c (get_output_charset): Add missing bracket.
44046
44047 2011-07-20 Andreas Schwab <schwab@redhat.com>
44048
44049 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
44050 strlen results.
44051
44052 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44053
44054 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
44055 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
44056 register in order to avoid conflicts with the soft frame pointer
44057 being held in r11 when necessary.
44058 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
44059 (INTERNAL_VSYSCALL_NCS): Likewise.
44060
44061 2011-07-14 Marek Polacek <mpolacek@redhat.com>
44062
44063 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
44064 * elf/dl-fini.c (_dl_fini): Adjust caller.
44065 * elf/dl-close.c (_dl_close_worker): Likewise.
44066 * sysdeps/generic/ldsodefs.h: Adjust declaration.
44067
44068 2011-07-15 Marek Polacek <mpolacek@redhat.com>
44069
44070 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
44071 "aux_cache->nlibs < 0".
44072
44073 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
44074 in the reload-count case.
44075
44076 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44077
44078 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44079 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
44080 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
44081 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
44082 * sysdeps/x86_64/multiarch/strcat.S: New file.
44083 * sysdeps/x86_64/multiarch/strncat.S: New file.
44084 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
44085 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
44086 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
44087 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
44088 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
44089 (USE_AS_STRCAT): Define.
44090 Add strcat and strncat support.
44091 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44092 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44093 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
44094 * string/strncat.c: Update.
44095 (USE_AS_STRNCAT): Define.
44096 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44097 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
44098 and i7.
44099 * sysdeps/x86_64/multiarch/init-arch.h
44100 (bit_Prefer_PMINUB_for_stringop): New.
44101 (index_Prefer_PMINUB_for_stringop): Likewise.
44102 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
44103 bit_Prefer_PMINUB_for_stringop.
44104
44105 2011-07-19 Ulrich Drepper <drepper@gmail.com>
44106
44107 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
44108 buffer64.
44109 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
44110 of casting of buffer.
44111 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
44112 buffer32 and buffer64.
44113 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
44114 writes instead of casting of buffer.
44115 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
44116 buffer32.
44117 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
44118 casting of buffer.
44119
44120 2011-07-19 Andreas Schwab <schwab@redhat.com>
44121
44122 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
44123
44124 2011-07-19 Ulrich Drepper <drepper@gmail.com>
44125
44126 * nscd/nscd.c (termination_handler): Don't do anything for a database
44127 if it has not yet been initialized.
44128
44129 2011-07-18 Ulrich Drepper <drepper@gmail.com>
44130
44131 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44132
44133 2011-07-15 Marek Polacek <mpolacek@redhat.com>
44134
44135 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44136
44137 2011-07-18 Ulrich Drepper <drepper@gmail.com>
44138
44139 * po/nl.po: Update from translation team.
44140 * po/sv.po: Likewise.
44141
44142 2011-07-16 Roland McGrath <roland@hack.frob.com>
44143
44144 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
44145 now disallowed by GCC.
44146
44147 * configure.in (use-default-link): Default to yes if a test -shared
44148 link meets our qualifications.
44149 * configure: Regenerated.
44150
44151 * config.make.in (output-format): New variable.
44152 * configure.in: Check for ld --print-output-format support.
44153 * configure: Regenerated.
44154 * Makerules ($(common-objpfx)format.lds)
44155 [$(output-format) != unknown]: Just use $(output-format),
44156 instead of the linker-script munging.
44157
44158 2011-07-14 Roland McGrath <roland@hack.frob.com>
44159
44160 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
44161 of $(common-objpfx)shlib.lds.
44162 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
44163
44164 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
44165 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
44166
44167 * configure.in (-z relro check): Adjust test code to add a large
44168 writable data section after it.
44169 * configure: Regenerated.
44170
44171 2011-07-11 Roland McGrath <roland@hack.frob.com>
44172
44173 * configure.in (-z relro check): Fix test code to make the variable
44174 truly const.
44175 * configure: Regenerated.
44176
44177 2011-07-11 Ulrich Drepper <drepper@gmail.com>
44178
44179 * nscd/nscd.h (struct traced_file): Define.
44180 (struct database_dyn): Remove inotify_descr, reset_res, and filename
44181 elements. Add traced_files.
44182 (inotify_fd): Declare.
44183 (register_traced_file): Declare.
44184 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
44185 (inotify_fd): Export.
44186 (resolv_conf_descr): Remove.
44187 (nscd_init): Move inotify descriptor creation to main.
44188 Don't register files for notification here.
44189 (register_traced_file): New function.
44190 (invalidate_cache): Don't use reset_res to determine whether to call
44191 res_init, go through the list of registered files.
44192 (main_loop_poll): The inotify descriptors are now stored in the
44193 structures for the traced files.
44194 (main_loop_epoll): Likewise
44195 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
44196 to __nss_disable_nscd.
44197 * nscd/cache.c (prune_cache): There is no single inotify descriptor
44198 for a database anymore. Check the records for all the registered
44199 files instead.
44200 * nss/Makefile (libnss_files-routines): Add files-init.
44201 (libnss_db-routines): Add db-init.
44202 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
44203 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
44204 * nss/nss_db/db-init.c: New file.
44205 * nss/nss_files/files-init.c: New file.
44206 * nss/nsswitch.c (nss_load_library): New function. Broken out of
44207 __nss_lookup_function.
44208 (__nss_lookup_function): Call nss_load_library.
44209 (nss_load_all_libraries): New function.
44210 (__nss_disable_nscd): Take parameter with callback function for files
44211 to register. Set is_nscd. Load all the DSOs for the NSS modules
44212 used for the cached services.
44213 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
44214 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
44215 options for features to all the files in nscd.
44216
44217 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
44218
44219 2011-07-10 Roland McGrath <roland@hack.frob.com>
44220
44221 * csu/elf-init.c (__libc_csu_init): Comment typo.
44222
44223 2011-07-09 Ulrich Drepper <drepper@gmail.com>
44224
44225 * po/pl.po: Update from translation team.
44226 * po/ja.po: Likewise.
44227 * po/ru.po: Likewise.
44228 * po/ko.po: Likewise.
44229 * po/fr.po: Likewise.
44230
44231 2011-07-09 Roland McGrath <roland@hack.frob.com>
44232
44233 * configure.in (.ctors/.dtors header and trailer check):
44234 Use an empirical test on a built program.
44235 * configure: Regenerated.
44236
44237 * configure.in (-z relro check): Use an empirical test on a built DSO.
44238 Detect, but do not require, on ia64.
44239 * configure: Regenerated.
44240
44241 * configure.in (READELF): Find it with AC_CHECK_TOOL.
44242 Update tests that use readelf to use $READELF instead.
44243 * configure: Regenerated.
44244
44245 2011-07-08 Ulrich Drepper <drepper@gmail.com>
44246
44247 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
44248 if the result is not used.
44249
44250 2011-07-05 Andreas Jaeger <aj@suse.de>
44251
44252 [BZ#9696]
44253 * stdlib/tst-strtod.c: Add testcase.
44254
44255 2011-07-07 Ulrich Drepper <drepper@gmail.com>
44256
44257 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
44258 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
44259 The latter has a higher limit. Take additional parameter to pass to
44260 the new function.
44261 (__pathconf): Pass file to __statfs_link_max.
44262 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
44263 __statfs_link_max.
44264 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
44265 __statfs_link_max.
44266
44267 [BZ #12868]
44268 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
44269 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44270 Handle Lustre.
44271 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
44272 (__statfs_filesize_max): Likewise.
44273 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
44274
44275 2011-07-05 Andreas Jaeger <aj@suse.de>
44276
44277 * resolv/res_comp.c (dn_skipname): Remove unused variable.
44278
44279 2011-07-06 Marek Polacek <mpolacek@redhat.com>
44280
44281 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
44282 `status' variable.
44283 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
44284 Likewise.
44285
44286 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
44287
44288 * Makefile (strop-tests): Add strncat.
44289 * string/test-strncat.c: New file.
44290
44291 2011-06-30 Marek Polacek <mpolacek@redhat.com>
44292
44293 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
44294
44295 2011-06-21 Andreas Jaeger <aj@suse.de>
44296
44297 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
44298 Copy rule from iconvdata/Makefile.
44299
44300 2011-07-06 Ulrich Drepper <drepper@gmail.com>
44301
44302 [BZ #12922]
44303 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
44304 but no long options are defined, just return 'W'.
44305
44306 2011-06-22 Marek Polacek <mpolacek@redhat.com>
44307
44308 [BZ #9696]
44309 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
44310
44311 2011-07-06 Ulrich Drepper <drepper@gmail.com>
44312
44313 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
44314 netgroups to read.
44315 (innetgr): Likewise.
44316
44317 2011-07-05 Roland McGrath <roland@hack.frob.com>
44318
44319 * config.make.in (install_root): Default to $(DESTDIR).
44320
44321 2011-07-05 Ulrich Drepper <drepper@gmail.com>
44322
44323 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
44324
44325 2011-07-02 Roland McGrath <roland@hack.frob.com>
44326
44327 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
44328
44329 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
44330 containing directory rather than embedding absolute directory names.
44331
44332 * scripts/check-local-headers.sh: Rewritten using awk.
44333 Match by word, not by line. Print error messages for matches.
44334 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
44335
44336 * Makerules [shlib-lds-flags empty]:
44337 ($(common-objpfx)libc_pic.opts): New target.
44338 ($(common-objpfx)libc_pic.os.clean): New target.
44339 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
44340
44341 * config.make.in (OBJCOPY): New variable.
44342 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
44343 * configure: Regenerated.
44344
44345 * config.make.in (use-default-link): New variable.
44346 * configure.in (use_default_link): Grok --with-default-link to set it.
44347 * configure: Regenerated.
44348 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
44349 (shlib-lds, shlib-lds-flags): Define to empty.
44350
44351 * Makerules (shlib-lds): New variable.
44352 (shlib-lds-flags): New variable.
44353 (build-shlib, build-moduile, build-module-asneeded): Use it.
44354 ($(common-objpfx)libc.so): Use $(shlib-lds).
44355 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
44356 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
44357
44358 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
44359 DT_FLAGS/DT_FLAGS_1 with zero flags.
44360
44361 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
44362 linker script munging.
44363
44364 2011-07-02 Ulrich Drepper <drepper@gmail.com>
44365
44366 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
44367 as 128-bit value.
44368 * crypt/sha512.c (sha512_process_block): Perform total addition using
44369 128-bit if possible.
44370 (__sha512_finish_ctx): Likewise.
44371 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
44372 as 64-bit value.
44373 * crypt/sha256.c (SWAP64): Define.
44374 (sha256_process_block): Perform total addition using 64-bit if
44375 possible.
44376 (__sha256_finish_ctx): Likewise.
44377
44378 2011-07-01 Ulrich Drepper <drepper@gmail.com>
44379
44380 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
44381 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44382 * nscd/hstcache.c (cache_addhst): Likewise.
44383 * nscd/grpcache.c (cache_addgr): Likewise.
44384 * nscd/aicache.c (addhstaiX): Likewise
44385 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
44386
44387 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
44388
44389 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
44390 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44391 * nscd/hstcache.c (cache_addhst): Likewise.
44392 * nscd/grpcache.c (cache_addgr): Likewise.
44393 * nscd/aicache.c (addhstaiX): Likewise
44394
44395 2011-07-01 Andreas Schwab <schwab@redhat.com>
44396
44397 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
44398 domain only when needed.
44399
44400 2011-06-30 Andreas Schwab <schwab@redhat.com>
44401
44402 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
44403 is always restored.
44404
44405 2011-06-29 Ulrich Drepper <drepper@gmail.com>
44406
44407 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
44408 are re-adding the entry.
44409 * nscd/servicescache.c (cache_addserv): Likewise.
44410
44411 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
44412
44413 * sysdeps/generic/dl-irel.h: fix protection against multiple
44414 inclusions.
44415 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
44416
44417 2011-06-28 Ulrich Drepper <drepper@gmail.com>
44418
44419 [BZ #12935]
44420 * malloc/memusage.sh: Fix quoting in message.
44421 * debug/xtrace.sh: Likewise.
44422
44423 * configure.in: Remove support for --experimental-malloc option, make
44424 it the default.
44425 * config.make.in: Likewise.
44426 * malloc/Makefile: Likewise.
44427
44428 2011-06-27 Andreas Schwab <schwab@redhat.com>
44429
44430 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
44431 two-byte characters.
44432
44433 2011-06-27 Roland McGrath <roland@hack.frob.com>
44434
44435 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
44436 AC_CACHE_CHECK invocation.
44437 * configure: Regenerated.
44438
44439 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
44440
44441 2011-06-27 Ulrich Drepper <drepper@gmail.com>
44442
44443 [BZ #12350]
44444 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
44445 bit from old_res_options.
44446
44447 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
44448
44449 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
44450 value type for setfct.
44451
44452 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
44453
44454 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44455 __gettimeofday instead of gettimeofday.
44456
44457 2011-06-26 Ulrich Drepper <drepper@gmail.com>
44458
44459 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
44460
44461 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
44462
44463 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
44464
44465 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
44466 info.
44467
44468 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44469
44470 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44471 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44472 strcpy-sse2-unaligned strncpy-sse2-unaligned
44473 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
44474 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
44475 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
44476 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
44477 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
44478 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
44479 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
44480 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
44481 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
44482 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
44483 (STRCPY): Support SSE2 and SSSE3 versions.
44484
44485 2011-06-24 Ulrich Drepper <drepper@gmail.com>
44486
44487 [BZ #12874]
44488 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
44489 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
44490 kernels which artificially limit size of requests.
44491
44492 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44493
44494 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44495 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44496 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
44497 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
44498 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
44499 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
44500 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
44501 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
44502 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
44503 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
44504 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
44505 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
44506 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
44507 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
44508 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
44509 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44510 Enable unaligned load optimization for Intel Core i3, i5 and i7
44511 processors.
44512 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
44513 Define.
44514 (index_Fast_Unaligned_Load): Define.
44515 (HAS_FAST_UNALIGNED_LOAD): Define.
44516
44517 2011-06-23 Marek Polacek <mpolacek@redhat.com>
44518
44519 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
44520
44521 2011-06-22 Ulrich Drepper <drepper@gmail.com>
44522
44523 [BZ #12907]
44524 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
44525 until it is clear that the information is realy needed.
44526 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
44527
44528 2011-06-22 Andreas Schwab <schwab@redhat.com>
44529
44530 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
44531
44532 2011-06-22 Ulrich Drepper <drepper@gmail.com>
44533
44534 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44535 /sys/devices/system/cpu/online if it is usable.
44536
44537 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
44538 reading the information from the /proc filesystem to once a second.
44539
44540 2011-06-21 Andreas Jaeger <aj@suse.de>
44541
44542 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
44543 NULL after inclusion of kernel headers.
44544
44545 2011-06-21 Ulrich Drepper <drepper@gmail.com>
44546
44547 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
44548 calls to internal_setent.
44549
44550 [BZ #12885]
44551 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
44552 addresses using gethostbyname4_r ignore IPv4 addresses.
44553
44554 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
44555 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
44556
44557 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
44558
44559 2011-06-20 David S. Miller <davem@davemloft.net>
44560
44561 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
44562 inclusions.
44563 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
44564
44565 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
44566 (elf_irel): Use it.
44567 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
44568 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
44569 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
44570 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
44571 * sysdeps/x86_64/dl-irel.h: Likewise.
44572
44573 * elf/dl-runtime.c: Use elf_ifunc_invoke.
44574 * elf/dl-sym.c: Likewise.
44575
44576 2011-06-15 Ulrich Drepper <drepper@gmail.com>
44577
44578 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
44579 need to dereference resplen2.
44580
44581 2011-06-14 Andreas Schwab <schwab@redhat.com>
44582
44583 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
44584
44585 2011-06-15 Ulrich Drepper <drepper@gmail.com>
44586
44587 * Makeconfig: Define vardbdir and inst_vardbdir.
44588 * nss/Makefile: Add rules to install db-Makefile.
44589
44590 * nss/nss_db/db-XXX.c: Cleanup.
44591
44592 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
44593 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
44594 GLIBC_PRIVATE.
44595 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
44596 * nss/makedb.c: Implement -g option to specify that value strings
44597 are generated and should not be added to table iterated over for
44598 get*ent calls.
44599 * nss/nss_db/db-initgroups.c: New file.
44600
44601 * nss/getent.c: Add support for initgroups lookups through getgrouplist
44602 interface.
44603
44604 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
44605 (internal_getgrouplist): Adjust to name change.
44606 Update use_initgroups_entry if this is not the first call.
44607 * nss/databases.def: Add initgroups entry.
44608
44609 * nss/makedb.c (compute_tables): Check result of multiple hash table
44610 sizes to minimize maximum chain length.
44611
44612 2011-06-14 Ulrich Drepper <drepper@gmail.com>
44613
44614 * Versions.def: Add entry for libnss_db.
44615 * shlib-versions: Likewise.
44616 * nss/Makefile: Add rules to build libnss_db.
44617 * nss/Versions: Add libnss_db information. Organize libnss_files
44618 entries better.
44619 * nss/db-Makefile: Add gshadow support. Change rules for the new
44620 makedb progra. Some minor improvements to generate smaller files.
44621 * nss/nss_db/nss_db.h: Move NSS database header data structures to
44622 here from...
44623 * nss/makedb.c: ...here.
44624 Improve database format to be smaller and require less memory at
44625 runtime.
44626 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
44627 db anymore.
44628 * nss/nss_db/db-netgrp.c: Likewise.
44629 * nss/nss_db/db-open.c: Likewise.
44630 * nss/nss_files/flies-XXX.x: Adjust comments.
44631 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
44632 * nss/nss_files/files-grp.c: Likewise.
44633 * nss/nss_files/files-hosts.c: Likewise.
44634 * nss/nss_files/files-network.c: Likewise.
44635 * nss/nss_files/files-proto.c: Likewise.
44636 * nss/nss_files/files-pwd.c: Likewise.
44637 * nss/nss_files/files-rpc.c: Likewise.
44638 * nss/nss_files/files-service.c: Likewise.
44639 * nss/nss_files/files-sgrp.c: Likewise.
44640 * nss/nss_files/files-spwd.c: Likewise.
44641 * nss/nss_db/db-alias.c: Removed.
44642 * nss/nss_db/dummy-db.h: Removed.
44643
44644 2011-06-02 Ulrich Drepper <drepper@gmail.com>
44645
44646 * nss/makedb.c: Rewritten to not use database library.
44647 * nss/Makefile: Update to build new makedb program.
44648
44649 2011-06-14 Andreas Jaeger <aj@suse.de>
44650
44651 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
44652 memset declaration.
44653
44654 2011-06-10 Andreas Schwab <schwab@redhat.com>
44655
44656 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
44657 tmpbuf.
44658
44659 2011-06-10 Roland McGrath <roland@hack.frob.com>
44660
44661 * Makerules (shlib.lds): Fail if the linker script comes out empty.
44662 * elf/Makefile ($(objpfx)ld.so): Likewise.
44663
44664 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
44665 Don't list ld.so twice in dependencies.
44666
44667 * posix/bug-regex31.c: Include <stdlib.h>.
44668
44669 * nscd/hstcache.c (cache_addhst): Remove unused variable.
44670
44671 * nis/nss_compat/compat-spwd.c
44672 (getspent_next_nss_netgr): Remove unused variable.
44673 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
44674
44675 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
44676 nonmembers" output to use the right array.
44677
44678 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
44679
44680 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
44681
44682 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
44683 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
44684 * catgets/gencat.c (read_input_file): Likewise.
44685 * locale/programs/locarchive.c (enlarge_archive): Likewise.
44686
44687 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
44688 variable definition inside #if's controlling its use.
44689
44690 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
44691
44692 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
44693
44694 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
44695
44696 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
44697 unreachable code.
44698
44699 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
44700
44701 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
44702 * configure: Regenerated.
44703
44704 * Makerules: Revert last change.
44705 * elf/Makefile: Likewise.
44706
44707 2011-06-09 Roland McGrath <roland@hack.frob.com>
44708
44709 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
44710 * elf/Makefile ($(objpfx)librtld.os): Likewise.
44711 (reloc-link): Likewise.
44712
44713 2011-06-09 Ulrich Drepper <drepper@gmail.com>
44714
44715 * elf/Makefile: Add rules to build pldd.
44716 * elf/pldd.c: New file.
44717 * elf/pldd-xx.c: New file.
44718
44719 2011-06-07 Ulrich Drepper <drepper@gmail.com>
44720
44721 * version.h: Update for 2.15 development version.
44722
44723 2011-06-07 David S. Miller <davem@davemloft.net>
44724
44725 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
44726 ifuncs.
44727 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
44728 elf_machine_lazy_rel): Likewise.
44729 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
44730 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
44731 elf_machine_lazy_rel): Likewise.
44732 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
44733 dl_hwcap via passed in argument.
44734 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
44735 Likewise.
44736
44737 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44738
44739 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
44740
44741 2011-06-06 Roland McGrath <roland@hack.frob.com>
44742
44743 [BZ #12849]
44744 * manual/fdl-1.1.texi: New file, verbatim from:
44745 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
44746 * manual/lgpl-2.1.texi: New file, verbatim from:
44747 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
44748 * manual/Makefile (licenses): New variable, list those new file names.
44749 (texis): Use it.
44750 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
44751
44752 * manual/fdl.texi: File removed.
44753 * manual/lesser.texi: File removed.
44754 * manual/libc.texinfo (Copying, Documentation License):
44755 Use new @include file names, put @appendix directive before @include.
44756
44757 2011-06-04 Jakub Jelinek <jakub@redhat.com>
44758
44759 [BZ #12841]
44760 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
44761 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
44762 (mq_open): Add __NTH.
44763
44764 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
44765
44766 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44767 Assume Intel Core i3/i5/i7 processor if AVX is available.
44768
44769 2011-05-31 Ulrich Drepper <drepper@gmail.com>
44770
44771 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44772 typo.
44773
44774 2011-05-31 Andreas Schwab <schwab@redhat.com>
44775
44776 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
44777 memory. Use alloca_account. Fix memory leak when retrying.
44778
44779 2011-05-31 Ulrich Drepper <drepper@gmail.com>
44780
44781 * version.h (RELEASE): Bump for 2.14 release.
44782 * include/features.h (__GLIBC_MINOR__): Bump to 14.
44783
44784 * config.make.in (RANLIB): Remove entry.
44785
44786 2011-05-30 Ulrich Drepper <drepper@gmail.com>
44787
44788 * po/Makefile (po-sed-cmd): Add ksh to extensions.
44789 (libc.pot): Work around missing support for .ksh extension in xgettext.
44790
44791 [BZ #12684]
44792 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
44793 if both request failed.
44794 (send_dg): In case of server errors clear resplen or *resplen2.
44795
44796 [BZ #12454]
44797 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
44798 when there are multiple maps.
44799 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
44800 (_dl_fini): Remove test here.
44801
44802 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
44803
44804 2011-05-29 Ulrich Drepper <drepper@gmail.com>
44805
44806 [BZ #12350]
44807 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
44808 bit from old_res_options.
44809 (gaih_inet): Likewise.
44810
44811 [BZ #11099]
44812 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
44813 as signed.
44814
44815 * resolv/res_init.c (res_setoptions): Make the code more compact.
44816
44817 [BZ #11558]
44818 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
44819 set RES_USEVC.
44820
44821 [BZ #11634]
44822 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
44823
44824 * malloc/malloc.h: Mark malloc hook variables as deprecated.
44825
44826 [BZ #11781]
44827 * malloc/malloc.h: Declare malloc hook variables as volatile.
44828
44829 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
44830 in last patch.
44831
44832 [BZ #11799]
44833 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
44834 raise in the comment.
44835 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44836 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44837 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
44838
44839 2011-05-28 Ulrich Drepper <drepper@gmail.com>
44840
44841 [BZ #12811]
44842 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
44843 grow the buffers more if it already has to be sufficient.
44844 (build_wcs_upper_buffer): Likewise.
44845 * posix/regexec.c (check_matching): Likewise.
44846 (clean_state_log_if_needed): Likewise.
44847 (extend_buffers): Don't enlarge buffers beyond size of the input
44848 buffer.
44849 Patches mostly by Emil Wojak <emil@wojak.eu>.
44850 * posix/bug-regex32.c: New file.
44851 * posix/Makefile (tests): Add bug-regex32.
44852
44853 * locale/findlocale.c (_nl_find_locale): Return right away if
44854 _nl_explode_name failed.
44855 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
44856
44857 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
44858
44859 * debug/xtrace.sh: Unify messages.
44860 * malloc/memusage.sh: Likewise.
44861
44862 [BZ #12813]
44863 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
44864 time symbol from vDSO. Substitute with vsyscall if not available.
44865 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
44866 __vdso_time.
44867
44868 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
44869 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
44870 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
44871 Add sendmmsg and internal_sendmmsg.
44872 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
44873 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
44874 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
44875
44876 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
44877 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
44878 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
44879
44880 2011-05-27 Ulrich Drepper <drepper@gmail.com>
44881
44882 [BZ #12813]
44883 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
44884 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
44885 available.
44886 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
44887 __vdso_getcpu.
44888
44889 [BZ #12814]
44890 * iconvdata/Makefile (tests): Add bug-iconv9.
44891 * iconvdata/bug-iconv9.c: New file.
44892
44893 2011-05-27 Andreas Schwab <schwab@redhat.com>
44894
44895 [BZ #12814]
44896 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
44897
44898 2011-05-25 Jakub Jelinek <jakub@redhat.com>
44899
44900 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44901 (struct user_regs_struct): Change intcs field back to cs.
44902
44903 2011-05-25 Ulrich Drepper <drepper@gmail.com>
44904
44905 * po/ja.po: Update from translation team.
44906
44907 2011-05-23 Ulrich Drepper <drepper@gmail.com>
44908
44909 [BZ #12795]
44910 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
44911 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
44912
44913 2011-05-20 Andreas Schwab <schwab@redhat.com>
44914
44915 * stdlib/longlong.h: Update from GCC.
44916
44917 2011-05-23 Andreas Schwab <schwab@redhat.com>
44918
44919 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
44920 parameter name.
44921 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
44922 Add parameter name.
44923 (__sysconf): Pass it down.
44924
44925 2011-05-22 Ulrich Drepper <drepper@gmail.com>
44926
44927 [BZ #12671]
44928 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
44929 some situations.
44930 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
44931 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
44932 add in in __libc_use_alloca calls. Adjust callers.
44933 (glob): Use malloc in some situations.
44934
44935 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
44936 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
44937 pltexit.
44938
44939 2011-05-21 Ulrich Drepper <drepper@gmail.com>
44940
44941 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
44942 and CLOCK_BOOTTIME_ALARM.
44943
44944 [BZ #12782]
44945 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
44946 is returned.
44947
44948 * string/_strerror.c (__strerror_r): Print negative errors as signed
44949 numbers.
44950
44951 [BZ #12777]
44952 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
44953 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
44954 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
44955
44956 * configure.in: Fix typo in redirection and correct removal of test
44957 files in two cases.
44958
44959 [BZ #12788]
44960 * locale/setlocale.c (new_composite_name): Fix test to check for
44961 identical name of all categories.
44962
44963 [BZ #12792]
44964 * libio/filedoalloc.c (local_isatty): New function.
44965 (_IO_file_doallocate): Use local_isatty.
44966 * stdio-common/perror.c (perror): In case a new stream is used
44967 forward the stream error.
44968 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
44969 error flag.
44970
44971 2011-05-20 Ulrich Drepper <drepper@gmail.com>
44972
44973 [BZ #11869]
44974 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
44975 alloca.
44976 * include/alloca.h (extend_alloca_account): Define.
44977
44978 [BZ #11857]
44979 * posix/regex.h: Fix comments with documentation of user-accessible
44980 fields after compilation and describe correct free'ing of pattern
44981 after re_compile_pattern.
44982 Patch by Reuben Thomas <rrt@sc3d.org>.
44983
44984 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
44985
44986 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
44987 and -mno-altivec to prevent the compiler from using Altivec and/or
44988 VSX instructions when the corresponding registers are not available.
44989
44990 2011-05-19 Andreas Schwab <schwab@redhat.com>
44991
44992 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
44993
44994 2011-05-19 Ulrich Drepper <drepper@gmail.com>
44995
44996 * libio/freopen.c (freopen): Use __dup2, not dup2.
44997 * libio/freopen64.c (freopen64): Likewise.
44998
44999 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
45000
45001 [BZ #12775]
45002 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
45003 * math/Makefile (tests): Add test-powl.
45004 (CFLAGS-test-powl.c): Define.
45005 * math/test-powl.c: New file.
45006
45007 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
45008
45009 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
45010
45011 2011-05-17 Ulrich Drepper <drepper@gmail.com>
45012
45013 [BZ #11837]
45014 * iconvdata/gb18030.c: Update to GB18020-2005.
45015
45016 2011-05-16 Ulrich Drepper <drepper@gmail.com>
45017
45018 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
45019 RE_SYNTAX_POSIX_AWK): Update to match recent development.
45020 Patch by Aharon Robbins <arnold@skeeve.com>.
45021
45022 [BZ #11892]
45023 * stdlib/putenv.c (putenv): Don't always create copy of the variable
45024 on the stack.
45025
45026 [BZ #11895]
45027 * misc/pselect.c (__pselect): Handle timeout value errors hidden
45028 through underflows.
45029
45030 [BZ #12766]
45031 * misc/error.c (error_at_line): Ensure file_name and old_file_name
45032 point to strings before performing equality test for error_one_per_line
45033 mode.
45034
45035 [BZ #11697]
45036 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
45037
45038 [BZ #11820]
45039 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45040 (struct user_fpregs_struct): Avoid __uint*_t types.
45041
45042 [BZ #6420]
45043 * malloc/mtrace.c (tr_where): Add additional parameter to point to
45044 symbol info. Use it instead of calling _dl_addr locally.
45045 (lock_and_info): New function.
45046 (tr_freehook): Call lock_and_info and pass symbol info as additional
45047 parameter to tr_where.
45048 (tr_mallochook): Likewise.
45049 (tr_reallochook): Likewise.
45050 (tr_memalignhook): Likewise.
45051
45052 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
45053 used and couldn't be at all thread-safe.
45054
45055 2011-05-15 Ulrich Drepper <drepper@gmail.com>
45056
45057 * libio/freopen.c (freopen): Don't close old file descriptor
45058 before the new one is opened. Instead dup the new file descriptor
45059 to the old one after the new stream is created.
45060 * libio/freopen64.c (freopen64): Likewise.
45061 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
45062 * libio/fileops.c (_IO_new_file_close_it): Handle new
45063 _IO_FLAGS2_NOCLOSE flag.
45064 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
45065 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
45066 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
45067 _IO_FLAGS2_NOCLOSE flag.
45068 * include/unistd.h: Add hidden_proto for dup3.
45069 Define __have_dup3.
45070 * io/dup3.c: Define hidden symbol.
45071 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
45072
45073 [BZ #7101]
45074 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
45075 when an incomplete long option is used.
45076 * posix/tst-getopt_long1.c: New file.
45077 * posix/Makefile (tests): Add tst-getopt_long1.
45078
45079 [BZ #10138]
45080 * scripts/config.guess: Update from autoconf-2.68.
45081 * scripts/config.sub: Likewise.
45082
45083 [BZ #10157]
45084 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
45085 tests into ...
45086 (has_cpuclock): ...this. New function.
45087 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
45088 macro here based on has_cpuclock code.
45089
45090 [BZ #10149]
45091 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45092 First byte (not low byte) is now always NUL.
45093 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
45094
45095 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45096 Use non-cancelable interfaces.
45097
45098 [BZ #9809]
45099 * locale/iso-639.def: Add entry for Sorani.
45100
45101 [BZ #11901]
45102 * include/stdlib.h: Move include protection to the right place.
45103 Define abort_msg_s. Declare __abort_msg with it.
45104 * stdlib/abort.c (__abort_msg): Adjust type.
45105 * assert/assert.c (__assert_fail_base): New function. Majority
45106 of code from __assert_fail. Allocate memory for __abort_msg with
45107 mmap.
45108 (__assert_fail): Now call __assert_fail_base.
45109 * assert/assert-perr.c: Remove bulk of implementation. Use
45110 __assert_fail_base.
45111 * include/assert.hL Declare __assert_fail_base.
45112 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
45113 mmap.
45114 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
45115
45116 2011-05-14 Ulrich Drepper <drepper@gmail.com>
45117
45118 [BZ #11952]
45119 [BZ #12453]
45120 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
45121 until all modules are registered in the DTV.
45122 * elf/Makefile: Add rules to build and run tst-tls19.
45123 * elf/tst-tls19.c: New file.
45124 * elf/tst-tls19mod1.c: New file.
45125 * elf/tst-tls19mod2.c: New file.
45126 * elf/tst-tls19mod3.c: New file.
45127 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
45128
45129 [BZ #12083]
45130 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
45131 correctly.
45132
45133 [BZ #12601]
45134 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
45135 two-byte sequence errors.
45136 * iconvdata/Makefile (tests): Add bug-iconv8.
45137 * iconvdata/bug-iconv8.c: New file.
45138
45139 [BZ #12626]
45140 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
45141 buf2 definition.
45142
45143 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
45144
45145 [BZ #12432]
45146 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
45147 (dummy_getcfa): New function.
45148 (init): Get _Unwind_GetCFA address, use dummy if not found.
45149 (backtrace_helper): In recursion check, also check whether CFA changes.
45150 (__backtrace): Completely initialize arg.
45151
45152 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
45153 storing incomplete byte sequence in state object. Avoid testing for
45154 guaranteed too small input if we know there is enough data available.
45155
45156 2011-05-11 Andreas Schwab <schwab@redhat.com>
45157
45158 * Makeconfig (+link-pie): Indent.
45159 * Rules (binaries-pie): Define if $(have-fpie) and
45160 $(build-shared).
45161 (binaries-shared): Also filter out $(binaries-pie).
45162 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
45163 * nscd/Makefile (others-pie): Add nscd.
45164 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
45165 ($(objpfx)nscd): Remove command override.
45166 * login/Makefile (others-pie): Add pt_chown.
45167 ($(objpfx)pt_chown): Remove command override.
45168 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
45169 remove command overrides.
45170
45171 2011-05-13 Ulrich Drepper <drepper@gmail.com>
45172
45173 * libio/tst_putwc.c: Fix error messages.
45174
45175 [BZ #12724]
45176 * libio/fileops.c (_IO_new_file_close_it): Always flush when
45177 currently writing and seek to current position when not.
45178 * libio/Makefile (tests): Add bug-fclose1.
45179 * libio/bug-fclose1.c: New file.
45180
45181 2011-05-12 Ulrich Drepper <drepper@gmail.com>
45182
45183 [BZ #12511]
45184 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
45185 don't set DF_1_NODELETE here.
45186 (do_lookup_x): When entering new entry test for copy relocation
45187 and if necessary set DF_1_NODELETE flag.
45188 * elf/tst-unique4.cc: New file.
45189 * elf/tst-unique4.h: New file.
45190 * elf/tst-unique4lib.cc: New file.
45191 * elf/Makefile: Add rules to build and run tst-unique4.
45192 Patch by Piotr Bury <pbury@goahead.com>.
45193
45194 2011-05-11 Ulrich Drepper <drepper@gmail.com>
45195
45196 [BZ #12052]
45197 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
45198
45199 [BZ #12625]
45200 * misc/mntent_r.c (addmntent): Flush the stream after the output
45201
45202 [BZ #12393]
45203 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
45204 (is_trusted_path_normalize): Skip initial colon. Append slash
45205 to empty buffer. Duplicate is_trusted_path code but allow
45206 constructed patch to be prefix.
45207 (is_dst): Allow $ORIGIN followed by /.
45208 (_dl_dst_substitute): Correct clearing of check_for_trusted.
45209 Correct testing of result of is_trusted_path_normalize
45210 (decompose_rpath): Fix warning.
45211
45212 2011-05-10 Ulrich Drepper <drepper@gmail.com>
45213
45214 [BZ #11257]
45215 * grp/initgroups.c (internal_getgrouplist): When we found the service
45216 list through the initgroups entry in nsswitch.conf do not always
45217 continue on a successful lookup. Don't always use the
45218 __nss_group_database value if it is set.
45219 * nss/nsswitch.conf (initgroups): Change action for successful db
45220 lookup to continue for compatibility.
45221
45222 2011-05-09 Ulrich Drepper <drepper@gmail.com>
45223
45224 [BZ #11532]
45225 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
45226 and CP774 modules.
45227 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
45228 and CP774 modules.
45229 * iconvdata/tst-tables.sh: Likewise.
45230 * iconvdata/cp770.c: New file.
45231 * iconvdata/cp771.c: New file.
45232 * iconvdata/cp772.c: New file.
45233 * iconvdata/cp773.c: New file.
45234 * iconvdata/cp774.c: New file.
45235 * iconvdata/testdata/CP770: New file.
45236 * iconvdata/testdata/CP770..UTF8: New file.
45237 * iconvdata/testdata/CP771: New file.
45238 * iconvdata/testdata/CP771..UTF8: New file.
45239 * iconvdata/testdata/CP772: New file.
45240 * iconvdata/testdata/CP772..UTF8: New file.
45241 * iconvdata/testdata/CP773: New file.
45242 * iconvdata/testdata/CP773..UTF8: New file.
45243 * iconvdata/testdata/CP774: New file.
45244 * iconvdata/testdata/CP774..UTF8: New file.
45245
45246 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
45247 END CHARMAP line.
45248 * iconvdata/gen-8bit-gap.sh: Likewise.
45249 * iconvdata/gen-8bit.sh: Likewise.
45250
45251 * locale/iso-639.def: Add ary entry.
45252
45253 [BZ #11258]
45254 * locale/C-translit.h.in: Add U20A1 transliteration.
45255
45256 [BZ #12178]
45257 * locale/iso-639.def: Add wae entry.
45258 Patch by Kevin Bortis <bortis@translate-wae.ch>.
45259
45260 [BZ #12545]
45261 * locale/programs/localedef.c (construct_output_path): Use ssize_t
45262 for n.
45263
45264 [BZ #12711]
45265 * locale/C-translit.h.in: Add entry for U20B9.
45266 Patch by pravin.d.s@gmail.com.
45267
45268 2011-05-08 Ulrich Drepper <drepper@gmail.com>
45269
45270 [BZ #12713]
45271 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
45272 ENAMETOOLONG use generic getcwd.
45273 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
45274 in rtld. Use *stat64.
45275 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
45276 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
45277 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
45278 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
45279 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
45280 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
45281 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
45282 __fstatat64 macros.
45283 * include/dirent.h: Add libc_hidden_proto for rewinddir.
45284 * dirent/rewinddir.c: Add libc_hidden_def.
45285 * sysdeps/mach/hurd/rewinddir.c: Likewise.
45286 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
45287
45288 * include/dirent.h (__alloc_dir): Add flags parameter.
45289 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
45290 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
45291 __alloc_dir.
45292 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
45293 from fdopendir if O_CLOEXEC is already set.
45294
45295 2011-03-15 Alan Modra <amodra@gmail.com>
45296
45297 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
45298 l_tls_firstbyte_offset non-zero. Save padding offset in
45299 l_tls_firstbyte_offset for later use.
45300 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
45301 freeing static tls block.
45302
45303 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
45304
45305 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
45306 where #ifdef was intended. The intent is to prevent ARG_MAX from
45307 being defined by the kernel headers.
45308
45309 2011-05-07 Ulrich Drepper <drepper@gmail.com>
45310
45311 [BZ #12734]
45312 * resolv/resolv.h: Define RES_NOTLDQUERY.
45313 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
45314 no-tld-query and set RES_NOTLDQUERY.
45315 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
45316 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
45317 modern BIND to search name as TLD unless forbidden.
45318
45319 2011-05-07 Petr Baudis <pasky@suse.cz>
45320 Ulrich Drepper <drepper@gmail.com>
45321
45322 [BZ #12393]
45323 * elf/dl-load.c (fillin_rpath): Move trusted path check...
45324 (is_trusted_path): ...to here.
45325 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
45326 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
45327 using is_trusted_path_normalize() in setuid scripts.
45328
45329 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
45330
45331 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
45332 __BEGIN/__END_DECLS.
45333
45334 2011-05-06 Ulrich Drepper <drepper@gmail.com>
45335
45336 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
45337 NSS_STATUS_NOTFOUND if no record was found.
45338
45339 2011-05-05 Andreas Schwab <schwab@redhat.com>
45340
45341 * sunrpc/Makefile (headers): Add rpc/netdb.h.
45342 (headers-not-in-tirpc): Remove rpc/netdb.h
45343 * resolv/netdb.h: Revert last change.
45344
45345 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
45346
45347 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
45348 circular dependency between libgcc.a and libc.a.
45349
45350 2011-05-05 Andreas Schwab <schwab@redhat.com>
45351
45352 * resolv/netdb.h: Don't include <rpc/netdb.h>.
45353 * nis/Makefile: Don't install rpcsvc/*.
45354 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
45355 instead of <rpc/types.h>.
45356 (MAXHOSTNAMELEN): Define.
45357
45358 2011-05-03 Andreas Schwab <schwab@redhat.com>
45359
45360 * elf/ldconfig.c (add_dir): Don't crash on empty path.
45361
45362 2011-04-28 Maciej Babinski <mbabinski@google.com>
45363
45364 [BZ #12714]
45365 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
45366 gethostbyname4_r when IPv6 results are possible.
45367
45368 2011-05-02 Ulrich Drepper <drepper@gmail.com>
45369
45370 [BZ #12723]
45371 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
45372 _PC_PIPE_BUF handling.
45373
45374 2011-04-30 Bruno Haible <bruno@clisp.org>
45375
45376 [BZ #12717]
45377 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
45378 * resolv/netdb.h (getnameinfo): Change type of flags parameter
45379 to 'int'.
45380 * inet/getnameinfo.c (getnameinfo): Likewise.
45381
45382 2011-04-29 Ulrich Drepper <drepper@gmail.com>
45383
45384 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
45385 to groups setting in database lookup.
45386 * nss/nsswitch.conf: Add initgroups entry.
45387
45388 2011-04-22 Ulrich Drepper <drepper@gmail.com>
45389
45390 [BZ #12685]
45391 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
45392 mode string.
45393 Patch by Eric Blake <eblake@redhat.com>.
45394
45395 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
45396
45397 * sunrpc/Makefile (need-export-routines): Add svc_run.
45398 (routines): Remove svc_run.
45399 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
45400 * sunrpc/clnt_perr.c (clnt_perrno): Export.
45401 * sunrpc/svc_run.c (svc_run): Likewise.
45402 * sunrpc/svc_udp.c (svcudp_create): Likewise.
45403
45404 2011-04-21 Ulrich Drepper <drepper@gmail.com>
45405
45406 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
45407 problem in reallocation in last patch.
45408
45409 2011-04-20 Ulrich Drepper <drepper@gmail.com>
45410
45411 * sunrpc/Makefile: Move inclusion of Rules.
45412
45413 2011-04-19 Ulrich Drepper <drepper@gmail.com>
45414
45415 * nss/nss_files/files-initgroups.c: New file.
45416 * nss/Makefile (libnss_files-routines): Add files-initgroups.
45417 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
45418 _nss_files_initgroups_dyn.
45419
45420 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
45421
45422 * elf/elf.h (R_ARM_IRELATIVE): Define.
45423
45424 2011-04-19 Ulrich Drepper <drepper@gmail.com>
45425
45426 * po/ru.po: Update from translation team.
45427
45428 2011-04-17 Ulrich Drepper <drepper@gmail.com>
45429
45430 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
45431 dependencies.
45432
45433 2011-02-06 Mike Frysinger <vapier@gentoo.org>
45434
45435 [BZ #12653]
45436 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
45437 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
45438 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45439 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45440 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45441
45442 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
45443
45444 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
45445 differing bytes.
45446 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45447 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45448 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45449
45450 2011-04-17 Ulrich Drepper <drepper@gmail.com>
45451
45452 [BZ #12420]
45453 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
45454 storing it.
45455 * stdlib/bug-getcontext.c: New file.
45456 * stdlib/Makefile: Add rules to build and run bug-getcontext.
45457
45458 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45459
45460 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
45461 instructions into .machine "z9-109".
45462 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
45463 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
45464
45465 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45466
45467 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
45468 between environment variables and auxiliary vector.
45469
45470 2011-04-16 Ulrich Drepper <drepper@gmail.com>
45471
45472 * Makefile: Add rules to build linkobj/libc.so.
45473 * include/libc-symbols.h: Define libc_hidden_nolink.
45474 * include/rpc/auth.h: Mark functions which are to be hidden.
45475 * include/rpc/auth_des.h: Likewise.
45476 * include/rpc/auth_unix.h: Likewise.
45477 * include/rpc/clnt.h: Likewise.
45478 * include/rpc/des_crypt.h: Likewise.
45479 * include/rpc/key_prot.h: Likewise.
45480 * include/rpc/pmap_clnt.h: Likewise.
45481 * include/rpc/pmap_prot.h: Likewise.
45482 * include/rpc/pmap_rmt.h: Likewise.
45483 * include/rpc/rpc_msg.h: Likewise.
45484 * include/rpc/svc.h: Likewise.
45485 * include/rpc/svc_auth.h: Likewise.
45486 * include/rpc/xdr.h: Likewise.
45487 * nis/Makefile: Link all DSOs against linkobj/libc.so.
45488 * nss/Makefile: Likewise.
45489 * sunrpc/Makefile: Don't install headers. Build library with normal
45490 entry points. Don't build rpcinfo. Link RPC tests appropriately.
45491 * sunrpc/auth_des.c: Hide exported symbols by default, export some
45492 for the compat linking library. Remove use of INTDEF/INTUSE.
45493 * sunrpc/auth_none.c: Likewise.
45494 * sunrpc/auth_unix.c: Likewise.
45495 * sunrpc/authdes_prot.c: Likewise.
45496 * sunrpc/authuxprot.c: Likewise.
45497 * sunrpc/clnt_gen.c: Likewise.
45498 * sunrpc/clnt_perr.c: Likewise.
45499 * sunrpc/clnt_raw.c: Likewise.
45500 * sunrpc/clnt_simp.c: Likewise.
45501 * sunrpc/clnt_tcp.c: Likewise.
45502 * sunrpc/clnt_udp.c: Likewise.
45503 * sunrpc/clnt_unix.c: Likewise.
45504 * sunrpc/des_crypt.c: Likewise.
45505 * sunrpc/des_soft.c: Likewise.
45506 * sunrpc/get_myaddr.c: Likewise.
45507 * sunrpc/key_call.c: Likewise.
45508 * sunrpc/key_prot.c: Likewise.
45509 * sunrpc/netname.c: Likewise.
45510 * sunrpc/pm_getmaps.c: Likewise.
45511 * sunrpc/pm_getport.c: Likewise.
45512 * sunrpc/pmap_clnt.c: Likewise.
45513 * sunrpc/pmap_prot.c: Likewise.
45514 * sunrpc/pmap_prot2.c: Likewise.
45515 * sunrpc/pmap_rmt.c: Likewise.
45516 * sunrpc/publickey.c: Likewise.
45517 * sunrpc/rpc_cmsg.c: Likewise.
45518 * sunrpc/rpc_common.c: Likewise.
45519 * sunrpc/rpc_dtable.c: Likewise.
45520 * sunrpc/rpc_prot.c: Likewise.
45521 * sunrpc/rpc_thread.c: Likewise.
45522 * sunrpc/rtime.c: Likewise.
45523 * sunrpc/svc.c: Likewise.
45524 * sunrpc/svc_auth.c: Likewise.
45525 * sunrpc/svc_authux.c: Likewise.
45526 * sunrpc/svc_raw.c: Likewise.
45527 * sunrpc/svc_run.c: Likewise.
45528 * sunrpc/svc_simple.c: Likewise.
45529 * sunrpc/svc_tcp.c: Likewise.
45530 * sunrpc/svc_udp.c: Likewise.
45531 * sunrpc/svc_unix.c: Likewise.
45532 * sunrpc/svcauth_des.c: Likewise.
45533 * sunrpc/xcrypt.c: Likewise.
45534 * sunrpc/xdr.c: Likewise.
45535 * sunrpc/xdr_array.c: Likewise.
45536 * sunrpc/xdr_float.c: Likewise.
45537 * sunrpc/xdr_intXX_t.c: Likewise.
45538 * sunrpc/xdr_mem.c: Likewise.
45539 * sunrpc/xdr_rec.c: Likewise.
45540 * sunrpc/xdr_ref.c: Likewise.
45541 * sunrpc/xdr_sizeof.c: Likewise.
45542 * sunrpc/xdr_stdio.c: Likewise.
45543
45544 2011-04-10 Ulrich Drepper <drepper@gmail.com>
45545
45546 [BZ #12650]
45547 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
45548 * sysdeps/ia64/dl-tls.h: Likewise.
45549 * sysdeps/powerpc/dl-tls.h: Likewise.
45550 * sysdeps/s390/dl-tls.h: Likewise.
45551 * sysdeps/sh/dl-tls.h: Likewise.
45552 * sysdeps/sparc/dl-tls.h: Likewise.
45553 * sysdeps/x86_64/dl-tls.h: Likewise.
45554 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
45555
45556 2011-03-14 Andreas Schwab <schwab@redhat.com>
45557
45558 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
45559 rpath element also skip the following colon.
45560 (expand_dynamic_string_token): Add is_path parameter and pass
45561 down to DL_DST_REQUIRED and _dl_dst_substitute.
45562 (decompose_rpath): Call expand_dynamic_string_token with
45563 non-zero is_path. Ignore empty rpaths.
45564 (_dl_map_object_from_fd): Call expand_dynamic_string_token
45565 with zero is_path.
45566
45567 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
45568
45569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
45570 Make cancelable.
45571
45572 2011-04-09 Ulrich Drepper <drepper@gmail.com>
45573
45574 [BZ #12655]
45575 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
45576 Patch by Filipe David Manana <fdmanana@apache.org>.
45577
45578 2011-04-07 Andreas Schwab <schwab@redhat.com>
45579
45580 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
45581 Maintain aligned stack.
45582 (CHECK_RSP): Remove unused macro.
45583
45584 2011-04-03 Ulrich Drepper <drepper@gmail.com>
45585
45586 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
45587 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
45588
45589 2011-04-02 Ulrich Drepper <drepper@gmail.com>
45590
45591 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
45592
45593 * include/features.h: Mention __USE_XOPEN2K8 in comment.
45594
45595 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
45596
45597 [BZ #12518]
45598 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
45599 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
45600 * sysdeps/x86_64/memmove.c: New file.
45601 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
45602 (memcpy): Renamed to ...
45603 (__new_memcpy): This.
45604 (memcpy): Provide GLIBC_2_14 memcpy.
45605 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
45606 (memcpy): Provide GLIBC_2_2_5 memcpy.
45607
45608 2011-04-01 Ulrich Drepper <drepper@gmail.com>
45609
45610 [BZ #12631]
45611 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
45612
45613 2011-03-30 Andreas Schwab <schwab@redhat.com>
45614
45615 * misc/syncfs.c: New file.
45616 * misc/Makefile (routines): Add syncfs.
45617 * posix/unistd.h: Declare syncfs.
45618 * sysdeps/unix/syscalls.list: Add syncfs.
45619
45620 2011-04-01 Andreas Schwab <schwab@redhat.com>
45621
45622 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
45623 open_by_handle_at.
45624 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45625 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45626 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45627 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45628 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45629 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
45630 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45631
45632 2011-04-01 Ulrich Drepper <drepper@gmail.com>
45633
45634 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
45635 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45636 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
45637 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45638 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45639 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45640 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45641
45642 * io/Makefile: Compile fallocate.c, fallocate64.c, and
45643 sync_file_range.c with -fexceptions.
45644 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
45645 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
45646 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
45647 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
45648 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
45649 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
45650 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
45651 sync_file_range as cancellation point
45652 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
45653 now a wrapper around __call_sync_file_range with cancellation handling.
45654 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
45655 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
45656 function name to __call_sync_file_range.
45657 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
45658 Add call_sync_file_range.
45659
45660 2011-04-01 Andreas Schwab <schwab@redhat.com>
45661
45662 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45663 bits/timex.h.
45664
45665 2011-04-01 Ulrich Drepper <drepper@gmail.com>
45666
45667 * iconv/iconv.h: Fix typo in comment.
45668 * io/fcntl.h: Likewise.
45669 * libio/stdio.h: Likewise.
45670 * posix/spawn.h: Likewise.
45671 * posix/unistd.h: Likewise.
45672 * stdlib/stdlib.h: Likewise.
45673 * time/time.h: Likewise.
45674 * wcsmbs/wchar.h: Likewise.
45675
45676 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
45677 open_by_handle): Add.
45678 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
45679 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
45680 Augment a few comments.
45681 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45682 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45683 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45684 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45685 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45686 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
45687 open_by_handle.
45688
45689 * io/fcntl.h (AT_EMPTY_PATH): Define.
45690
45691 2011-03-30 Ulrich Drepper <drepper@gmail.com>
45692
45693 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
45694 * sysdeps/unix/sysv/linux/bits/time.h: New file.
45695 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
45696 to...
45697 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
45698 * Versions.def: Add GLIBC_2.14.
45699 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
45700 Export.
45701
45702 2011-03-22 Ulrich Drepper <drepper@gmail.com>
45703
45704 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
45705 round counter.
45706 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45707
45708 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
45709
45710 [BZ #12597]
45711 * string/test-strncmp.c (do_page_test): New function.
45712 (check2): Likewise.
45713 (test_main): Call check2.
45714 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
45715
45716 2011-03-20 Ulrich Drepper <drepper@gmail.com>
45717
45718 [BZ #12587]
45719 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
45720 Handle cache information in CPU leaf 4.
45721 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45722
45723 2011-03-18 Ulrich Drepper <drepper@gmail.com>
45724
45725 [BZ #12583]
45726 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
45727 character representation.
45728 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
45729
45730 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
45731
45732 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
45733 END(__isnan) to END(__isnanf) to match function entry point/label
45734 EALIGN(__isnanf,...).
45735
45736 2011-03-10 Jakub Jelinek <jakub@redhat.com>
45737
45738 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
45739
45740 2011-03-10 Ulrich Drepper <drepper@gmail.com>
45741
45742 [BZ #12510]
45743 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
45744 copy from the symbol referenced in the relocation to initialize the
45745 used variable.
45746 Patch by Piotr Bury <pbury@goahead.com>.
45747 * elf/Makefile: Add rules to build and tst-unique3.
45748 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
45749 * elf/tst-unique3.cc: New file.
45750 * elf/tst-unique3.h: New file.
45751 * elf/tst-unique3lib.cc: New file.
45752 * elf/tst-unique3lib2.cc: New file.
45753
45754 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
45755
45756 2011-03-10 Mike Frysinger <vapier@gentoo.org>
45757
45758 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
45759 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
45760 to _start.
45761
45762 2011-03-06 Ulrich Drepper <drepper@gmail.com>
45763
45764 * elf/dl-load.c (_dl_map_object): If we are looking for the first
45765 to-be-loaded object along a path to loader is ld.so.
45766
45767 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
45768 Ulrich Drepper <drepper@gmail.com>
45769
45770 * sysdeps/x86_64/memset.S: After aligning destination, code
45771 branches to different locations depending on the value of
45772 misalignment, when multiarch is enabled. Fix this.
45773
45774 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
45775
45776 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
45777 Set _x86_64_preferred_memory_instruction for AMD processsors.
45778 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45779 Set bit_Prefer_SSE_for_memop for AMD processors.
45780
45781 2011-03-04 Ulrich Drepper <drepper@gmail.com>
45782
45783 * libio/fmemopen.c (fmemopen): Optimize a bit.
45784
45785 2011-03-03 Andreas Schwab <schwab@redhat.com>
45786
45787 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
45788
45789 2011-03-03 Roland McGrath <roland@redhat.com>
45790
45791 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
45792
45793 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
45794
45795 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
45796 __bzero_ultra1 instead of __memset_ultra1.
45797
45798 2011-02-23 Andreas Schwab <schwab@redhat.com>
45799 Ulrich Drepper <drepper@gmail.com>
45800
45801 [BZ #12509]
45802 * include/link.h (struct link_map): Add l_orig_initfini.
45803 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
45804 returning unsuccessfully.
45805 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
45806 close of a file loaded at startup, restore the original l_initfini
45807 list.
45808 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
45809 list, store the pointer.
45810 * elf/Makefile ($(objpfx)noload-mem): New rule.
45811 (noload-ENV): Define.
45812 (tests): Add $(objpfx)noload-mem.
45813 * elf/noload.c: Include <memcheck.h>.
45814 (main): Call mtrace. Close all opened handles.
45815
45816 2011-02-17 Andreas Schwab <schwab@redhat.com>
45817
45818 [BZ #12454]
45819 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
45820 dependencies are missing.
45821
45822 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
45823
45824 Fix __if_freereq crash: Unlike the generic version which uses free,
45825 Hurd needs munmap.
45826 * sysdeps/mach/hurd/ifreq.h: New file.
45827
45828 2011-01-27 Petr Baudis <pasky@suse.cz>
45829 Ulrich Drepper <drepper@gmail.com>
45830
45831 [BZ 12445]#
45832 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
45833 to extend_alloca().
45834 * stdio-common/bug23.c: New file.
45835 * stdio-common/Makefile (tests): Add bug23.
45836
45837 2010-09-28 Andreas Schwab <schwab@redhat.com>
45838 Ulrich Drepper <drepper@gmail.com>
45839
45840 [BZ #12489]
45841 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
45842 before performing relro protection. At old place add assertion
45843 to make sure nothing changed.
45844
45845 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
45846 Glauber de Oliveira Costa <glommer@gmail.com>
45847
45848 * elf/elf.h: Add new ARM TLS relocs.
45849
45850 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
45851
45852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45853 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
45854 cast from r3.
45855 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
45856 'tests' variable.
45857 * sysdeps/wordsize-64/tst-writev.c: New file.
45858
45859 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
45860
45861 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
45862 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
45863 insns in _dl_start to prevent a TOC reference before relocs are
45864 resolved.
45865
45866 2011-02-15 Ulrich Drepper <drepper@gmail.com>
45867
45868 [BZ #12469]
45869 * Makeconfig: Remove RANLIB definition.
45870 * Makerules: Don't use RANLIB.
45871 * aclocal.m4: Remove ranlib test.
45872 * configure.in: No need to check for ranlib.
45873 * elf/rtld-Rules: Don't use RANLIB.
45874
45875 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
45876
45877 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
45878 protection macro.
45879 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
45880 inclusion protection macro.
45881
45882 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
45883 SIGRTMIN and SIGRTMAX and print information in that case only when
45884 SIGRTMIN is defined.
45885
45886 2011-02-11 Jakub Jelinek <jakub@redhat.com>
45887
45888 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
45889 arginfo fn returning -1.
45890
45891 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
45892 and thousands string is zero terminated.
45893
45894 2011-02-03 Andreas Schwab <schwab@redhat.com>
45895
45896 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
45897 sysdeps/unix/sysv/linux/bits/socket.h.
45898
45899 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
45900
45901 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
45902 (__CPU_COUNT): Remove old macros.
45903 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
45904 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
45905 (__CPU_ALLOC, __CPU_FREE): Add macros.
45906 (__sched_cpualloc, __sched_cpufree): Add declarations.
45907
45908 2011-02-05 Ulrich Drepper <drepper@gmail.com>
45909
45910 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
45911 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
45912 * nscd/aicache.c (addhstaiX): Return timeout of added value.
45913 (readdhstai): Return value of addhstaiX call.
45914 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
45915 (addgrbyX): Return value returned by cache_addgr.
45916 (readdgrbyname): Return value returned by addgrbyX.
45917 (readdgrbygid): Likewise.
45918 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
45919 (addpwbyX): Return value returned by cache_addpw.
45920 (readdpwbyname): Return value returned by addhstbyX.
45921 (readdpwbyuid): Likewise.
45922 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
45923 (addservbyX): Return value returned by cache_addserv.
45924 (readdservbyname): Return value returned by addservbyX:
45925 (readdservbyport): Likewise.
45926 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
45927 (addhstbyX): Return value returned by cache_addhst.
45928 (readdhstbyname): Return value returned by addhstbyX.
45929 (readdhstbyaddr): Likewise.
45930 (readdhstbynamev6): Likewise.
45931 (readdhstbyaddrv6): Likewise.
45932 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
45933 (readdinitgroups): Return value returned by addinitgroupsX.
45934 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
45935 (prune_cache): Keep track of timeout value of re-added entries.
45936 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
45937 * nscd/nscd.h: Adjust prototypes of readd* functions.
45938
45939 2011-02-04 Roland McGrath <roland@redhat.com>
45940
45941 * nis/nis_server.c (nis_servstate): Use the right name for 0.
45942 (nis_stats): Likewise.
45943 * nis/nis_modify.c (nis_modify): Likewise.
45944 * nis/nis_remove.c (nis_remove): Likewise.
45945 * nis/nis_add.c (nis_add): Likewise.
45946
45947 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
45948
45949 * posix/fnmatch_loop.c: Add some consts.
45950
45951 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
45952
45953 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
45954
45955 [BZ #12460]
45956 * config.make.in (config-cflags-novzeroupper): Define.
45957 * configure.in: Substitute libc_cv_cc_novzeroupper.
45958 * elf/Makefile (AVX-CFLAGS): Define.
45959 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
45960 (CFLAGS-tst-auditmod4a.c): Likewise.
45961 (CFLAGS-tst-auditmod4b.c): Likewise.
45962 (CFLAGS-tst-auditmod6b.c): Likewise.
45963 (CFLAGS-tst-auditmod6c.c): Likewise.
45964 (CFLAGS-tst-auditmod7b.c): Likewise.
45965 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
45966
45967 2011-02-02 Ulrich Drepper <drepper@gmail.com>
45968
45969 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
45970 function to the callback.
45971 Patch partly by Jiri Olsa <jolsa@redhat.com>.
45972
45973 2011-02-02 Andreas Schwab <schwab@redhat.com>
45974
45975 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
45976 of errno.
45977
45978 2011-01-19 Ulrich Drepper <drepper@gmail.com>
45979
45980 [BZ #11724]
45981 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
45982 of constructors.
45983 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
45984 of destructors.
45985 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
45986
45987 [BZ #11724]
45988 * elf/Makefile: Add rules to build and run new test.
45989 * elf/tst-initorder.c: New file.
45990 * elf/tst-initorder.exp: New file.
45991 * elf/tst-initordera1.c: New file.
45992 * elf/tst-initordera2.c: New file.
45993 * elf/tst-initordera3.c: New file.
45994 * elf/tst-initordera4.c: New file.
45995 * elf/tst-initorderb1.c: New file.
45996 * elf/tst-initorderb2.c: New file.
45997 * elf/tst-order-a1.c: New file.
45998 * elf/tst-order-a2.c: New file.
45999 * elf/tst-order-a3.c: New file.
46000 * elf/tst-order-a4.c: New file.
46001 * elf/tst-order-b1.c: New file.
46002 * elf/tst-order-b2.c: New file.
46003 * elf/tst-order-main.c: New file.
46004 New test case by George Gensure <werkt0@gmail.com>.
46005
46006 2010-10-01 Andreas Schwab <schwab@redhat.com>
46007
46008 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46009 decoding ACE if AI_CANONIDN.
46010
46011 2011-01-18 Ulrich Drepper <drepper@gmail.com>
46012
46013 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
46014
46015 2011-01-17 Ulrich Drepper <drepper@gmail.com>
46016
46017 * version.h (RELEASE): Bump for 2.13 release.
46018 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
46019
46020 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
46021
46022 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
46023 MADV_NOHUGEPAGE.
46024 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
46025 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46026 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46027 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46028 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46029 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46030
46031 * posix/getconf.c: Update copyright year.
46032 * catgets/gencat.c: Likewise.
46033 * csu/version.c: Likewise.
46034 * debug/catchsegv.sh: Likewise.
46035 * debug/xtrace.sh: Likewise.
46036 * elf/ldconfig.c: Likewise.
46037 * elf/ldd.bash.in: Likewise.
46038 * elf/sprof.c (print_version): Likewise.
46039 * iconv/iconv_prog.c: Likewise.
46040 * iconv/iconvconfig.c: Likewise.
46041 * locale/programs/locale.c: Likewise.
46042 * locale/programs/localedef.c: Likewise.
46043 * malloc/memusage.sh: Likewise.
46044 * malloc/mtrace.pl: Likewise.
46045 * nscd/nscd.c (print_version): Likewise.
46046 * nss/getent.c: Likewise.
46047
46048 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
46049 PF_CAIF, and PF_ALG.
46050 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46051
46052 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
46053
46054 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
46055 (modules-names): Use them.
46056 (ifunc-test-modules, ifunc-pie-tests): Define.
46057 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
46058 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
46059 (test-extras): Likewise.
46060 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
46061 $(compile-command.c).
46062 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
46063 (all-built-dso): Define.
46064 (check-textrel.out, check-execstack.out): Depend on it.
46065
46066 * configure.in: Don't override --enable-multi-arch.
46067
46068 2011-01-15 Ulrich Drepper <drepper@gmail.com>
46069
46070 [BZ #6812]
46071 * nscd/hstcache.c (tryagain): Define.
46072 (cache_addhst): Return tryagain not notfound for temporary errors.
46073 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
46074 failed.
46075
46076 2011-01-14 Ulrich Drepper <drepper@gmail.com>
46077
46078 [BZ #10563]
46079 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
46080 to make the syscall.
46081 * sysdeps/unix/sysv/linux/setgroups.c: New file.
46082
46083 [BZ #12378]
46084 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
46085 and fall back to matching as normal character if the string ends before
46086 the matching ']' is found. This is what POSIX requires.
46087 * posix/testfnm.c: Adjust test result.
46088 * posix/globtest.sh: Adjust test result. Add new test.
46089 * posix/tst-fnmatch.input: Likewise.
46090 * posix/tst-fnmatch2.c: Add new test.
46091
46092 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
46093
46094 * elf/Makefile (check-execstack): Revert last change. Depend on
46095 check-execstack.h.
46096 (check-execstack.h): New target.
46097 (generated): Add check-execstack.h.
46098 * elf/check-execstack.c: Include "check-execstack.h".
46099 (main): Revert last change.
46100 (handle_file): Return zero if GNU_STACK is absent and
46101 DEFAULT_STACK_PERMS doesn't include PF_X.
46102
46103 2011-01-13 Ulrich Drepper <drepper@gmail.com>
46104
46105 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
46106 in child fails because the descriptor is already closed.
46107 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
46108 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
46109 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
46110
46111 [BZ #12397]
46112 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
46113 syscall.
46114
46115 [BZ #10484]
46116 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
46117 temporary buffer used to handle multi lookups locally.
46118 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
46119
46120 2011-01-12 Ulrich Drepper <drepper@gmail.com>
46121
46122 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
46123 loader is ld.so.
46124
46125 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
46126
46127 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
46128 alignment for SSE2.
46129
46130 2011-01-12 Ulrich Drepper <drepper@gmail.com>
46131
46132 [BZ #12394]
46133 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
46134 characters. When rounding increased number of integer digits recompute
46135 number of groups.
46136 * stdio-common/tst-grouping.c: New file.
46137 * stdio-common/Makefile: Add rules to build and run tst-grouping.
46138
46139 2011-01-09 Ulrich Drepper <drepper@gmail.com>
46140
46141 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
46142 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
46143
46144 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
46145 void.
46146 * bits/select.h: Likewise.
46147
46148 2011-01-08 Ulrich Drepper <drepper@gmail.com>
46149
46150 * po/ja.po: Update from translation team.
46151
46152 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
46153
46154 [BZ #11155]
46155 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
46156 implementation just like for lxstat, fxstatat, et al.
46157
46158 2010-12-27 Jim Meyering <meyering@redhat.com>
46159
46160 [BZ #12348]
46161 * posix/regexec.c (build_trtable): Return failure indication upon
46162 calloc failure. Otherwise, re_search_internal could infloop on OOM.
46163
46164 2010-12-25 Ulrich Drepper <drepper@gmail.com>
46165
46166 [BZ #12201]
46167 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
46168 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
46169 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
46170 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
46171
46172 [BZ #12207]
46173 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
46174
46175 [BZ #12204]
46176 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
46177 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
46178
46179 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
46180
46181 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
46182 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
46183 script has SORT_BY_INIT_PRIORITY.
46184 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
46185 NO_CTORS_DTORS_SECTIONS is defined.
46186 * elf/soinit.c: Likewise.
46187 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
46188 NO_CTORS_DTORS_SECTIONS is defined.
46189 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
46190 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
46191 * sysdeps/sh/init-first.c: Likewise.
46192 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
46193
46194 2010-12-24 Ulrich Drepper <drepper@gmail.com>
46195
46196 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
46197 always use the slow path.
46198
46199 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
46200
46201 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
46202 similar rule which adds the sysdep directories to the header search in
46203 order to pick up the correct platform stackinfo.h.
46204 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
46205 perform test if it is, otherwise return successfully without testing.
46206 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
46207 DEFAULT_STACK_PERMS define in stackinfo.h.
46208 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
46209 defined in stackinfo.h.
46210 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
46211 DEFAULT_STACK_PERMS defined in stackinfo.h.
46212 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
46213 * sysdeps/ia64/stackinfo.h: Likewise.
46214 * sysdeps/s390/stackinfo.h: Likewise.
46215 * sysdeps/sh/stackinfo.h: Likewise.
46216 * sysdeps/sparc/stackinfo.h: Likewise.
46217 * sysdeps/x86_64/stackinfo.h: Likewise.
46218 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
46219 PF_X for powerpc64. Retain PF_X for powerpc32.
46220
46221 2010-12-19 Ulrich Drepper <drepper@gmail.com>
46222
46223 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
46224 accurately.
46225 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
46226 GETDENTS_64BIT_ALIGNED.
46227
46228 2010-12-14 Ulrich Drepper <dreper@gmail.com>
46229
46230 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
46231
46232 2010-12-10 Andreas Schwab <schwab@redhat.com>
46233
46234 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
46235 _GNU_SOURCE.
46236
46237 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
46238 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
46239 Remove __restrict.
46240 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
46241 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
46242
46243 2010-12-09 Ulrich Drepper <drepper@gmail.com>
46244
46245 [BZ #11655]
46246 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
46247 are initialized.
46248
46249 2010-12-09 Jakub Jelinek <jakub@redhat.com>
46250
46251 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
46252
46253 2010-12-03 Ulrich Drepper <drepper@gmail.com>
46254
46255 * po/it.po: Update from translation team.
46256
46257 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
46258
46259 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
46260 unused codes.
46261
46262 2010-11-30 Ulrich Drepper <drepper@gmail.com>
46263
46264 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
46265
46266 2010-11-24 Andreas Schwab <schwab@redhat.com>
46267
46268 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
46269 specially.
46270 (gaih_getanswer_slice): Likewise.
46271
46272 2010-10-20 Jakub Jelinek <jakub@redhat.com>
46273
46274 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
46275
46276 2010-05-31 Petr Baudis <pasky@suse.cz>
46277
46278 [BZ #11149]
46279 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
46280 silently even in the chroot mode.
46281
46282 2010-11-22 Ulrich Drepper <drepper@gmail.com>
46283
46284 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
46285 last patch a bit. Pretty printing
46286
46287 2010-05-31 Petr Baudis <pasky@suse.cz>
46288
46289 [BZ #10085]
46290 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
46291 initialization of skip_initgroups_dyn.
46292
46293 2010-11-19 Ulrich Drepper <drepper@gmail.com>
46294
46295 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
46296 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46297
46298 2010-11-16 Ulrich Drepper <drepper@gmail.com>
46299
46300 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
46301
46302 2010-11-11 Andreas Schwab <schwab@redhat.com>
46303
46304 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
46305 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
46306 (tst-fnmatch-ENV): Set MALLOC_TRACE.
46307 ($(objpfx)tst-fnmatch-mem): New rule.
46308 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
46309 * posix/tst-fnmatch.c (main): Call mtrace.
46310
46311 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
46312
46313 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46314 Support Intel processor model 6 and model 0x2c.
46315
46316 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
46317
46318 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
46319 signed comparison.
46320
46321 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
46322
46323 [BZ #12205]
46324 * string/test-strncasecmp.c (check_result): New function.
46325 (do_one_test): Use it.
46326 (check1): New function.
46327 (test_main): Use it.
46328 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
46329 Support strcasecmp and strncasecmp.
46330
46331 2010-11-08 Ulrich Drepper <drepper@gmail.com>
46332
46333 [BZ #12194]
46334 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
46335 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46336
46337 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
46338
46339 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
46340 IFUNC support.
46341 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46342 memset-x86-64.
46343 * sysdeps/x86_64/multiarch/bzero.S: New file.
46344 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
46345 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
46346 * sysdeps/x86_64/multiarch/memset.S: New file.
46347 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
46348 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46349 Set bit_Prefer_SSE_for_memop for Intel processors.
46350 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
46351 Define.
46352 (index_Prefer_SSE_for_memop): Define.
46353 (HAS_PREFER_SSE_FOR_MEMOP): Define.
46354
46355 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
46356
46357 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
46358 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
46359
46360 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
46361
46362 [BZ #12191]
46363 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46364 (__x86_64_raw_data_cache_size_half): Likewise.
46365 (__x86_64_raw_shared_cache_size): Likewise.
46366 (__x86_64_raw_shared_cache_size_half): Likewise.
46367
46368 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46369 (__x86_64_raw_data_cache_size_half): Likewise.
46370 (__x86_64_raw_shared_cache_size): Likewise.
46371 (__x86_64_raw_shared_cache_size_half): Likewise.
46372 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
46373 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
46374 and __x86_64_raw_shared_cache_size_half. Round
46375 __x86_64_data_cache_size_half, __x86_64_data_cache_size
46376 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
46377 to multiple of 256 bytes.
46378
46379 2010-11-03 Ulrich Drepper <drepper@gmail.com>
46380
46381 [BZ #12167]
46382 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
46383 of inacessible symlinks. Verify result of symlink before returning it.
46384 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
46385 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
46386
46387 2010-10-28 Erich Ritz <erichritz@gmail.com>
46388
46389 * math/math.h (isinf): Fix typo in comment.
46390
46391 2010-11-01 Ulrich Drepper <drepper@gmail.com>
46392
46393 * po/da.po: Update from translation team.
46394
46395 2010-10-26 Ulrich Drepper <drepper@gmail.com>
46396
46397 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
46398 is added to the list.
46399
46400 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46401 Ulrich Drepper <drepper@gmail.com>
46402
46403 * elf/dl-object.c (_dl_new_object): Don't append the new object to
46404 the global list here. Move code to...
46405 (_dl_add_to_namespace_list): ...here. New function.
46406 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
46407 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
46408 * elf/dl-load.c (lose): Don't remove the element from the list.
46409 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
46410 (_dl_map_object): Likewise.
46411
46412 2010-10-25 Ulrich Drepper <drepper@gmail.com>
46413
46414 [BZ #12159]
46415 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
46416 into all bytes of SSE register.
46417 Patch by Richard Li <richardpku@gmail.com>.
46418
46419 2010-10-24 Ulrich Drepper <drepper@gmail.com>
46420
46421 [BZ #12140]
46422 * malloc/malloc.c (_int_free): Fill correct number of bytes when
46423 perturbing.
46424
46425 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
46426
46427 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
46428 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
46429 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
46430 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
46432 submachine.
46433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
46434
46435 2010-10-22 Andreas Schwab <schwab@redhat.com>
46436
46437 * include/dlfcn.h (__RTLD_SECURE): Define.
46438 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
46439 mode & __RTLD_SECURE instead.
46440 (open_path): Rename preloaded parameter to secure.
46441 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
46442 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
46443 * elf/dl-deps.c (openaux): Likewise.
46444 * elf/rtld.c (struct map_args): Remove is_preloaded.
46445 (map_doit): Don't use it.
46446 (dl_main): Likewise.
46447 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
46448 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
46449
46450 2010-09-09 Andreas Schwab <schwab@redhat.com>
46451
46452 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
46453 (sysd-rules-targets): Remove duplicates.
46454 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
46455 rtld-%.$o dependency.
46456
46457 2010-10-18 Andreas Schwab <schwab@redhat.com>
46458
46459 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
46460 _dl_map_object do it.
46461
46462 2010-10-19 Ulrich Drepper <drepper@gmail.com>
46463
46464 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
46465 fast fma builtins, define the macros in the C99 standard.
46466 (FP_FAST_FMAF): Likewise.
46467 (FP_FAST_FMAL): Likewise.
46468 * sysdeps/x86_64/bits/mathdef.h: Likewise.
46469
46470 * bits/mathdef.h: Update copyright year.
46471 * sysdeps/powerpc/bits/mathdef.h: Likewise.
46472
46473 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
46474
46475 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
46476 builtins, define the macros in the C99 standard.
46477 (FP_FAST_FMAF): Likewise.
46478 (FP_FAST_FMAL): Likewise.
46479 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
46480 multiply/add.
46481 (FP_FAST_FMAF): Likewise.
46482
46483 2010-10-15 Jakub Jelinek <jakub@redhat.com>
46484
46485 [BZ #3268]
46486 * math/libm-test.inc (fma_test): Some new testcases.
46487 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
46488 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
46489 y and infinite z. Do multiplication by C already in long double.
46490 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
46491 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
46492 y and infinite z. Do bitwise or of inexact bit into u.d.
46493 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
46494 * sysdeps/i386/fpu/s_fmaf.S: Removed.
46495 * sysdeps/i386/fpu/s_fma.S: Removed.
46496 * sysdeps/i386/fpu/s_fmal.S: Removed.
46497
46498 2010-10-16 Jakub Jelinek <jakub@redhat.com>
46499
46500 [BZ #3268]
46501 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
46502 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
46503 computation is not scheduled after fetestexcept. Fix value
46504 of minimum denormal long double.
46505
46506 2010-10-14 Jakub Jelinek <jakub@redhat.com>
46507
46508 [BZ #3268]
46509 * math/libm-test.inc (fma_test): Add some more tests.
46510 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
46511 correctly.
46512
46513 2010-10-15 Andreas Schwab <schwab@redhat.com>
46514
46515 * scripts/data/localplt-s390-linux-gnu.data: New file.
46516 * scripts/data/localplt-s390x-linux-gnu.data: New file.
46517
46518 2010-10-13 Jakub Jelinek <jakub@redhat.com>
46519
46520 [BZ #3268]
46521 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
46522 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
46523 instead of dbl-64.
46524 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
46525 inlines.
46526 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
46527 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
46528 if one of x and y is very large and the other is subnormal.
46529 * sysdeps/s390/fpu/s_fmaf.c: New file.
46530 * sysdeps/s390/fpu/s_fma.c: New file.
46531 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
46532 * sysdeps/powerpc/fpu/s_fma.S: New file.
46533 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
46534 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
46535 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
46536
46537 2010-10-12 Jakub Jelinek <jakub@redhat.com>
46538
46539 [BZ #3268]
46540 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
46541 fma tests.
46542 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
46543 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
46544 * sysdeps/i386/i686/multiarch/s_fma.c: Include
46545 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
46546 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
46547 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
46548 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
46549
46550 2010-10-12 Ulrich Drepper <drepper@redhat.com>
46551
46552 [BZ #12078]
46553 * posix/regcomp.c (parse_branch): One more memory leak plugged.
46554 * posix/bug-regex31.input: Add test case.
46555
46556 2010-10-11 Ulrich Drepper <drepper@gmail.com>
46557
46558 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
46559 * posix/bug-regex31.input: New file.
46560
46561 [BZ #12078]
46562 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
46563 (parse_sub_exp): Fix last change, use postorder.
46564
46565 * posix/bug-regex31.c: New file.
46566 * posix/Makefile: Add rules to build and run bug-regex31.
46567
46568 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
46569
46570 [BZ #12078]
46571 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
46572
46573 [BZ #12108]
46574 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
46575 to have entries in sys_siglist.
46576
46577 [BZ #12093]
46578 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
46579 be NULL.
46580
46581 2010-10-07 Jakub Jelinek <jakub@redhat.com>
46582
46583 [BZ #3268]
46584 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
46585 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
46586 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
46587 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
46588 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46589 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
46590 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
46591 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
46592 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
46593 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
46594 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
46595 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
46596 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
46597 * math/ftestexcept.c (fetestexcept): Likewise.
46598 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
46599 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
46600 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
46601 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
46602 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
46603 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
46604 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46605
46606 2010-10-11 Ulrich Drepper <drepper@gmail.com>
46607
46608 [BZ #12107]
46609 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
46610 newline.
46611
46612 2010-10-06 Ulrich Drepper <drepper@gmail.com>
46613
46614 * string/bug-strstr1.c: New file.
46615 * string/Makefile: Add rules to build and run bug-strstr1.
46616
46617 2010-10-05 Eric Blake <eblake@redhat.com>
46618
46619 [BZ #12092]
46620 * string/str-two-way.h (two_way_long_needle): Always clear memory
46621 when skipping input due to the shift table.
46622
46623 2010-10-03 Ulrich Drepper <drepper@gmail.com>
46624
46625 [BZ #12005]
46626 * malloc/mcheck.c: Handle large requests.
46627
46628 [BZ #12077]
46629 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
46630 for strncmp and strncasecmp.
46631 * string/stratcliff.c: Add tests for strcmp and strncmp.
46632 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
46633
46634 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46635
46636 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
46637 __set_fpscr.
46638
46639 2010-09-30 Andreas Jaeger <aj@suse.de>
46640
46641 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
46642 (CGROUP_SUPER_MAGIC): Define.
46643 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46644 Handle btrfs and cgroup file systems.
46645 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
46646 Likewise.
46647
46648 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
46649
46650 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
46651 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
46652
46653 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46654
46655 [BZ #12067]
46656 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
46657 trying to locate the ELF header.
46658
46659 2010-09-27 Andreas Schwab <schwab@redhat.com>
46660
46661 [BZ #11611]
46662 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
46663 Mask out sign-bit copies when constructing f_fsid.
46664
46665 2010-09-24 Petr Baudis <pasky@suse.cz>
46666
46667 * debug/stack_chk_fail_local.c: Add missing licence exception.
46668 * debug/warning-nop.c: Likewise.
46669
46670 2010-09-15 Joseph Myers <joseph@codesourcery.com>
46671
46672 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
46673 implementing getdents64 using getdents syscall, set d_type if
46674 __ASSUME_GETDENTS32_D_TYPE.
46675
46676 2010-09-16 Andreas Schwab <schwab@redhat.com>
46677
46678 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
46679 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
46680
46681 2010-09-21 Ulrich Drepper <drepper@redhat.com>
46682
46683 [BZ #12037]
46684 * posix/unistd.h: Undo change of feature selection for ftruncate from
46685 2010-01-11.
46686
46687 2010-09-20 Ulrich Drepper <drepper@redhat.com>
46688
46689 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
46690 detection.
46691
46692 2010-09-20 Andreas Schwab <schwab@redhat.com>
46693
46694 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
46695 fanotify_mark.
46696 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46697
46698 2010-09-14 Andreas Schwab <schwab@redhat.com>
46699
46700 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
46701 variables after CHECK_SP call.
46702 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
46703
46704 2010-09-13 Andreas Schwab <schwab@redhat.com>
46705 Ulrich Drepper <drepper@redhat.com>
46706
46707 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
46708 re-relocationg ld.so.
46709 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
46710 _dl_init_paths call.
46711 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
46712 here anymore.
46713
46714 2010-09-14 Ulrich Drepper <drepper@redhat.com>
46715
46716 * resolv/res_init.c (__res_vinit): Count the default server we added.
46717
46718 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
46719 Ulrich Drepper <drepper@redhat.com>
46720
46721 [BZ #11968]
46722 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46723 (____longjmp_chk): Use %ebx for saving value across system call.
46724 Add unwind info.
46725
46726 2010-09-06 Andreas Schwab <schwab@redhat.com>
46727
46728 * manual/Makefile: Don't mix pattern rules with normal rules.
46729
46730 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
46731
46732 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
46733 operation.
46734 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
46735 * libio/iofopncook.c (_IO_cookie_init): Likewise.
46736 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
46737 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
46738 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46739 Likewise.
46740
46741 2010-09-04 Ulrich Drepper <drepper@redhat.com>
46742
46743 [BZ #11979]
46744 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
46745 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
46746
46747 2010-09-02 Ulrich Drepper <drepper@redhat.com>
46748
46749 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
46750 * sysdeps/x86_64/addmul_1.S: Likewise.
46751 * sysdeps/x86_64/lshift.S: Likewise.
46752 * sysdeps/x86_64/mul_1.S: Likewise.
46753 * sysdeps/x86_64/rshift.S: Likewise.
46754 * sysdeps/x86_64/sub_n.S: Likewise.
46755 * sysdeps/x86_64/submul_1.S: Likewise.
46756
46757 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
46758
46759 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
46760 Define __sched_param instead of SCHED_* and sched_param when
46761 <bits/sched.h> is included with __need_schedparam defined.
46762 * bits/sched.h [__need_schedparam]
46763 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
46764 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
46765 (__defined_schedparam): Define to 1.
46766 (__sched_param): New structure, identical to sched_param.
46767 (__need_schedparam): Undefine.
46768
46769 2010-08-31 Mike Frysinger <vapier@gentoo.org>
46770
46771 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
46772 (epoll_create1): Declare.
46773
46774 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
46775
46776 2010-08-31 Andreas Schwab <schwab@redhat.com>
46777
46778 [BZ #7066]
46779 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
46780 shifting retval into place.
46781
46782 2010-09-01 Ulrich Drepper <drepper@redhat.com>
46783
46784 * nis/rpcsvc/nis.h: Update copyright notice.
46785 * nis/rpcsvc/nis.x: Likewise.
46786 * nis/rpcsvc/nis_callback.h: Likewise.
46787 * nis/rpcsvc/nis_callback.x: Likewise.
46788 * nis/rpcsvc/nis_object.x: Likewise.
46789 * nis/rpcsvc/nis_tags.h: Likewise.
46790 * nis/rpcsvc/yp.h: Likewise.
46791 * nis/rpcsvc/yp.x: Likewise.
46792 * nis/rpcsvc/ypupd.h: Likewise.
46793 * nis/yp_xdr.c: Likewise.
46794 * nis/ypupdate_xdr.c: Likewise.
46795
46796 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
46797 mainly the body of pmap_getport. Add parameters to specify timeouts.
46798 (pmap_getport): Use __libc_rpc_getport.
46799 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
46800 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
46801 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
46802
46803 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
46804
46805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
46806 fanotify_mark.
46807
46808 2010-08-27 Roland McGrath <roland@redhat.com>
46809
46810 * sysdeps/i386/i686/multiarch/Makefile
46811 (CFLAGS-varshift.c): New variable.
46812
46813 2010-08-27 Ulrich Drepper <drepper@redhat.com>
46814
46815 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
46816 * sysdeps/i386/i686/multiarch/varshift.c: New file.
46817
46818 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
46819
46820 * sysdeps/x86_64/strlen.S: Minimal code improvement.
46821
46822 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
46823
46824 * sysdeps/x86_64/strlen.S: Unroll the loop.
46825 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46826 strlen-sse2 strlen-sse2-bsf.
46827 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
46828 __strlen_no_bsf if bit_Slow_BSF is set.
46829 (__strlen_sse42): Removed.
46830 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
46831 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
46832
46833 2010-08-25 Roland McGrath <roland@redhat.com>
46834
46835 * sysdeps/x86_64/multiarch/varshift.S: File removed.
46836 * sysdeps/x86_64/multiarch/varshift.c: New file.
46837 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
46838 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
46839 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
46840 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46841
46842 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
46843
46844 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46845 strlen-sse2 strlen-sse2-bsf.
46846 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
46847 __strlen_sse2_bsf if bit_Slow_BSF is unset.
46848 (__strlen_sse2): Removed.
46849 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
46850 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
46851 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
46852 bit_Slow_BSF for Atom.
46853 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
46854 (index_Slow_BSF): Define.
46855 (HAS_SLOW_BSF): Define.
46856
46857 2010-08-25 Ulrich Drepper <drepper@redhat.com>
46858
46859 [BZ #10851]
46860 * resolv/res_init.c (__res_vinit): When no server address at all
46861 is given default to loopback.
46862
46863 2010-08-24 Roland McGrath <roland@redhat.com>
46864
46865 * configure.in: Remove config-name.h generation.
46866 * configure: Regenerated.
46867 * config-name.in: File removed.
46868 * scripts/config-uname.sh: New file.
46869 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
46870 ($(objdir)config-name.h): New target.
46871
46872 * sunrpc/rpc_parse.h: Avoid nested comment.
46873
46874 2010-08-24 Richard Henderson <rth@redhat.com>
46875 Ulrich Drepper <drepper@redhat.com>
46876 H.J. Lu <hongjiu.lu@intel.com>
46877
46878 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
46879 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
46880 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
46881 Replace _mm_srli_si128 with __m128i_shift_right. Replace
46882 _mm_alignr_epi8 with _mm_loadu_si128.
46883 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
46884 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
46885 (__m128i_shift_right): Removed.
46886 * sysdeps/i386/i686/multiarch/varshift.h: New file.
46887 * sysdeps/i386/i686/multiarch/varshift.S: New file.
46888 * sysdeps/x86_64/multiarch/varshift.h: New file.
46889 * sysdeps/x86_64/multiarch/varshift.S: New file.
46890
46891 2010-08-21 Mike Frysinger <vapier@gentoo.org>
46892
46893 * configure.in: Move assembler checks to before sysdep dir checking.
46894
46895 2010-08-20 Petr Baudis <pasky@suse.cz>
46896
46897 * LICENSES: Sync the sunrpc license.
46898
46899 2010-08-19 Ulrich Drepper <drepper@redhat.com>
46900
46901 * sunrpc/auth_des.c: Update copyright notice once again.
46902 * sunrpc/auth_none.c: Likewise.
46903 * sunrpc/auth_unix.c: Likewise.
46904 * sunrpc/authdes_prot.c: Likewise.
46905 * sunrpc/authuxprot.c: Likewise.
46906 * sunrpc/bindrsvprt.c: Likewise.
46907 * sunrpc/clnt_gen.c: Likewise.
46908 * sunrpc/clnt_perr.c: Likewise.
46909 * sunrpc/clnt_raw.c: Likewise.
46910 * sunrpc/clnt_simp.c: Likewise.
46911 * sunrpc/clnt_tcp.c: Likewise.
46912 * sunrpc/clnt_udp.c: Likewise.
46913 * sunrpc/clnt_unix.c: Likewise.
46914 * sunrpc/des_crypt.c: Likewise.
46915 * sunrpc/des_soft.c: Likewise.
46916 * sunrpc/get_myaddr.c: Likewise.
46917 * sunrpc/getrpcport.c: Likewise.
46918 * sunrpc/key_call.c: Likewise.
46919 * sunrpc/key_prot.c: Likewise.
46920 * sunrpc/openchild.c: Likewise.
46921 * sunrpc/pm_getmaps.c: Likewise.
46922 * sunrpc/pm_getport.c: Likewise.
46923 * sunrpc/pmap_clnt.c: Likewise.
46924 * sunrpc/pmap_prot.c: Likewise.
46925 * sunrpc/pmap_prot2.c: Likewise.
46926 * sunrpc/pmap_rmt.c: Likewise.
46927 * sunrpc/rpc/auth.h: Likewise.
46928 * sunrpc/rpc/auth_unix.h: Likewise.
46929 * sunrpc/rpc/clnt.h: Likewise.
46930 * sunrpc/rpc/des_crypt.h: Likewise.
46931 * sunrpc/rpc/key_prot.h: Likewise.
46932 * sunrpc/rpc/netdb.h: Likewise.
46933 * sunrpc/rpc/pmap_clnt.h: Likewise.
46934 * sunrpc/rpc/pmap_prot.h: Likewise.
46935 * sunrpc/rpc/pmap_rmt.h: Likewise.
46936 * sunrpc/rpc/rpc.h: Likewise.
46937 * sunrpc/rpc/rpc_des.h: Likewise.
46938 * sunrpc/rpc/rpc_msg.h: Likewise.
46939 * sunrpc/rpc/svc.h: Likewise.
46940 * sunrpc/rpc/svc_auth.h: Likewise.
46941 * sunrpc/rpc/types.h: Likewise.
46942 * sunrpc/rpc/xdr.h: Likewise.
46943 * sunrpc/rpc_clntout.c: Likewise.
46944 * sunrpc/rpc_cmsg.c: Likewise.
46945 * sunrpc/rpc_common.c: Likewise.
46946 * sunrpc/rpc_cout.c: Likewise.
46947 * sunrpc/rpc_dtable.c: Likewise.
46948 * sunrpc/rpc_hout.c: Likewise.
46949 * sunrpc/rpc_main.c: Likewise.
46950 * sunrpc/rpc_parse.c: Likewise.
46951 * sunrpc/rpc_parse.h: Likewise.
46952 * sunrpc/rpc_prot.c: Likewise.
46953 * sunrpc/rpc_sample.c: Likewise.
46954 * sunrpc/rpc_scan.c: Likewise.
46955 * sunrpc/rpc_scan.h: Likewise.
46956 * sunrpc/rpc_svcout.c: Likewise.
46957 * sunrpc/rpc_tblout.c: Likewise.
46958 * sunrpc/rpc_util.c: Likewise.
46959 * sunrpc/rpc_util.h: Likewise.
46960 * sunrpc/rpcinfo.c: Likewise.
46961 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
46962 * sunrpc/rpcsvc/key_prot.x: Likewise.
46963 * sunrpc/rpcsvc/klm_prot.x: Likewise.
46964 * sunrpc/rpcsvc/mount.x: Likewise.
46965 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
46966 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
46967 * sunrpc/rpcsvc/rex.x: Likewise.
46968 * sunrpc/rpcsvc/rstat.x: Likewise.
46969 * sunrpc/rpcsvc/rusers.x: Likewise.
46970 * sunrpc/rpcsvc/sm_inter.x: Likewise.
46971 * sunrpc/rpcsvc/spray.x: Likewise.
46972 * sunrpc/rpcsvc/yppasswd.x: Likewise.
46973 * sunrpc/rtime.c: Likewise.
46974 * sunrpc/svc.c: Likewise.
46975 * sunrpc/svc_auth.c: Likewise.
46976 * sunrpc/svc_authux.c: Likewise.
46977 * sunrpc/svc_raw.c: Likewise.
46978 * sunrpc/svc_run.c: Likewise.
46979 * sunrpc/svc_simple.c: Likewise.
46980 * sunrpc/svc_tcp.c: Likewise.
46981 * sunrpc/svc_udp.c: Likewise.
46982 * sunrpc/svc_unix.c: Likewise.
46983 * sunrpc/svcauth_des.c: Likewise.
46984 * sunrpc/xcrypt.c: Likewise.
46985 * sunrpc/xdr.c: Likewise.
46986 * sunrpc/xdr_array.c: Likewise.
46987 * sunrpc/xdr_float.c: Likewise.
46988 * sunrpc/xdr_mem.c: Likewise.
46989 * sunrpc/xdr_rec.c: Likewise.
46990 * sunrpc/xdr_ref.c: Likewise.
46991 * sunrpc/xdr_sizeof.c: Likewise.
46992 * sunrpc/xdr_stdio.c: Likewise.
46993
46994 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
46995 handling.
46996
46997 2010-08-19 Andreas Schwab <schwab@redhat.com>
46998
46999 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
47000
47001 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
47002
47003 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
47004 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
47005 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
47006 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
47007 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
47008 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
47009 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
47010 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
47011 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
47012 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
47013 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
47014 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
47015 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
47016 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
47017
47018 2010-07-26 Anton Blanchard <anton@samba.org>
47019
47020 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
47021 * malloc/arena.c (heap_trim): Likewise.
47022
47023 2010-08-16 Ulrich Drepper <drepper@redhat.com>
47024
47025 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
47026 here. Not...
47027 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
47028 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
47029
47030 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
47031
47032 * sysdeps/i386/elf/Makefile: New file.
47033
47034 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47035
47036 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
47037 from fanotify_init.
47038 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
47039 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47040
47041 2010-08-15 Ulrich Drepper <drepper@redhat.com>
47042
47043 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
47044 of strncasecmp_l.
47045 * sysdeps/multiarch/strcmp.S: Likewise.
47046
47047 2010-08-14 Ulrich Drepper <drepper@redhat.com>
47048
47049 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47050 strncase_l-nonascii.
47051 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47052 Add strncase_l-ssse3.
47053 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
47054 * sysdeps/x86_64/strcmp.S: Likewise.
47055 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
47056 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
47057 * sysdeps/x86_64/strncase.S: New file.
47058 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
47059 * sysdeps/x86_64/strncase_l.S: New file.
47060 * string/Makefile (strop-tests): Add strncasecmp.
47061 * string/test-strncasecmp.c: New file.
47062
47063 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
47064 warning.
47065
47066 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
47067 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
47068
47069 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47070
47071 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
47072
47073 2010-08-12 Ulrich Drepper <drepper@redhat.com>
47074
47075 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
47076 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
47077 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
47078
47079 2010-05-01 Alan Modra <amodra@gmail.com>
47080
47081 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
47082 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
47083 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
47084 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
47085 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
47086 tidying. Don't tail-call __sigjmp_save for static lib.
47087 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
47088 save location.
47089 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
47090 (CALL_MCOUNT): Add eh info, and nop after bl.
47091 (TAIL_CALL_SYSCALL_ERROR): New macro.
47092 (PSEUDO_RET): Use it.
47093 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47094 Correct save location of integer regs and cr.
47095 (_dl_profile_resolve): Correct cr save location. Delete nops
47096 after bl when SHARED. Reduce cfi size a little by better
47097 placement of cfi directives.
47098 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
47099 make a stack frame. Instead use parm save area as a temp.
47100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
47101 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
47102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47103 Don't make a stack frame for parent, use parm save area.
47104 Increase child stack frame to 112 bytes. Don't save unused reg,
47105 and adjust reg usage. Set up cfi on error recovery and
47106 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
47107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47108 (__makecontext): Add dummy nop after jump to exit.
47109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
47110 Use correct parm save area and cr save, reduce stack frame.
47111 Correct cfi for possible PSEUDO_RET frame setup.
47112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
47113 Branch to local label emitted by PSEUDO_RET rather than
47114 __syscall_error.
47115
47116 2010-08-12 Andreas Schwab <schwab@redhat.com>
47117
47118 [BZ #11904]
47119 * locale/programs/locale.c (print_assignment): New function.
47120 (show_locale_vars): Use it.
47121
47122 2010-08-11 Ulrich Drepper <drepper@redhat.com>
47123
47124 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
47125 field.
47126 (struct statfs64): Likewise.
47127 (_STATFS_F_FLAGS): Define.
47128 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
47129 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47130 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
47131 (ST_VALID): Define locally.
47132 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
47133 __statvfs_getflags, use the provided value.
47134 * sysdeps/unix/sysv/linux/kernel-features.h: Define
47135 __ASSUME_STATFS_F_FLAGS.
47136
47137 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
47138
47139 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
47140 Add sys/fanotify.h.
47141 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
47142 fanotify_mask for GLIBC_2.13.
47143 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
47144 fanotify_init and fanotify_mark.
47145 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47146 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
47147
47148 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
47149 Add prlimit.
47150 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
47151 prlimit64 for GLIBC_2.13.
47152 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
47153 prlimit64.
47154 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
47155 syscall.
47156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
47157 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47158 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
47159 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
47160 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
47161 add prlimit alias.
47162 * sysdeps/unix/sysv/linux/prlimit.c: New file.
47163
47164 [BZ #11903]
47165 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
47166 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
47167
47168 * nss/Makefile: Add rules to build and run tst-nss-test1.
47169 * shlib-versions: Add entry for libnss_test1.
47170 * nss/nss_test1.c: New file.
47171 * nss/tst-nss-test1.c: New file.
47172
47173 * nss/nsswitch.c (__nss_database_custom): Define new variable.
47174 (__nss_configure_lookup): Set appropriate entry in
47175 __nss_configure_lookup to true.
47176 * nss/nsswitch.h: Define enum with indeces of databases in
47177 databases and __nss_database_custom arrays. Declare
47178 __nss_database_custom.
47179 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
47180 to avoid using nscd when custom rules are installed.
47181 * nss/getXXbyYY_r.c: Likewise.
47182 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47183
47184 * nss/nss_files/files-parse.c: Whitespace fixes.
47185
47186 2010-08-09 Ulrich Drepper <drepper@redhat.com>
47187
47188 [BZ #11883]
47189 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
47190 * posix/fnmatch_loop.c: Likewise.
47191
47192 2010-07-17 Andi Kleen <ak@linux.intel.com>
47193
47194 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
47195 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
47196 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
47197 * Versions.def [GLIBC_2.13]: Add.
47198
47199 2010-08-06 Ulrich Drepper <drepper@redhat.com>
47200
47201 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47202 Also fail if tpwd after pwuid call is NULL.
47203
47204 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
47205
47206 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
47207 when converting to ms.
47208
47209 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
47210
47211 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
47212 EOPNOTSUPP errors with ENOTTY.
47213 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
47214 EOPNOTSUPP errors with ENOTTY.
47215
47216 2010-07-31 Ulrich Drepper <drepper@redhat.com>
47217
47218 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47219 Add strcasecmp_l-ssse3.
47220 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
47221 strcasecmp.
47222 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
47223 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
47224 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
47225
47226 2010-07-30 Ulrich Drepper <drepper@redhat.com>
47227
47228 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
47229
47230 * string/Makefile (strop-tests): Add strcasecmp.
47231 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47232 strcasecmp_l-nonascii.
47233 (gen-as-const-headers): Add locale-defines.sym.
47234 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
47235 * sysdeps/x86_64/strcasecmp.S: New file.
47236 * sysdeps/x86_64/strcasecmp_l.S: New file.
47237 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
47238 * sysdeps/x86_64/locale-defines.sym: New file.
47239 * string/test-strcasecmp.c: New file.
47240
47241 * string/test-strcasestr.c: Test both ends of the range of characters.
47242 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
47243
47244 2010-07-29 Roland McGrath <roland@redhat.com>
47245
47246 [BZ #11856]
47247 * manual/locale.texi (Yes-or-No Questions): Fix example code.
47248
47249 2010-07-27 Ulrich Drepper <drepper@redhat.com>
47250
47251 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
47252 for ld.so.
47253
47254 2010-07-27 Andreas Schwab <schwab@redhat.com>
47255
47256 * manual/memory.texi (Malloc Tunable Parameters): Document
47257 M_PERTURB.
47258
47259 2010-07-26 Roland McGrath <roland@redhat.com>
47260
47261 [BZ #11840]
47262 * configure.in (-fgnu89-inline check): Set and substitute
47263 gnu89_inline, not libc_cv_gnu89_inline.
47264 * configure: Regenerated.
47265 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
47266
47267 2010-07-26 Ulrich Drepper <drepper@redhat.com>
47268
47269 * string/test-strnlen.c: New file.
47270 * string/Makefile (strop-tests): Add strnlen.
47271 * string/tester.c (test_strnlen): Add a few more test cases.
47272 * string/tst-strlen.c: Better error reporting.
47273
47274 * sysdeps/x86_64/strnlen.S: New file.
47275
47276 2010-07-24 Ulrich Drepper <drepper@redhat.com>
47277
47278 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
47279 lower-latency instructions.
47280
47281 2010-07-23 Ulrich Drepper <drepper@redhat.com>
47282
47283 * string/test-strcasestr.c: New file.
47284 * string/test-strstr.c: New file.
47285 * string/Makefile (strop-tests): Add strstr and strcasestr.
47286 * string/str-two-way.h: Don't undefine MAX.
47287 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
47288
47289 2010-07-21 Andreas Schwab <schwab@redhat.com>
47290
47291 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47292 strcasestr-nonascii.
47293 (CFLAGS-strcasestr-nonascii.c): Define.
47294 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
47295 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
47296 Remove unused attribute.
47297
47298 2010-07-20 Roland McGrath <roland@redhat.com>
47299
47300 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
47301 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
47302 ld.so.cache was broken. With it, there is no way to disable dsocaps
47303 like LD_HWCAP_MASK can disable hwcaps.
47304
47305 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
47306
47307 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
47308
47309 2010-07-16 Ulrich Drepper <drepper@redhat.com>
47310
47311 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
47312 call in strcasestr.
47313 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
47314 __strcasestr_sse42_nonascii.
47315 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
47316 strcasestr-nonascii.c.
47317 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
47318
47319 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
47320
47321 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
47322 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
47323 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
47324 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
47325
47326 2010-07-09 Ulrich Drepper <drepper@redhat.com>
47327
47328 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
47329 fcntl.
47330
47331 2010-07-06 Andreas Schwab <schwab@redhat.com>
47332
47333 [BZ #11577]
47334 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
47335 dl_signal_cerror.
47336
47337 2010-07-06 Ulrich Drepper <drepper@redhat.com>
47338
47339 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
47340 _PC_PIPE_BUF using F_GETPIPE_SZ.
47341
47342 2010-07-05 Roland McGrath <roland@redhat.com>
47343
47344 * manual/arith.texi (Rounding Functions): Fix rint description
47345 implicit in round description.
47346
47347 2010-07-02 Ulrich Drepper <drepper@redhat.com>
47348
47349 * elf/Makefile: Fix linking for a few tests to make recent linker
47350 happy.
47351
47352 2010-06-30 Andreas Schwab <schwab@redhat.com>
47353
47354 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47355 $(common-objpfx)libc_nonshared.a.
47356
47357 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
47358
47359 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
47360 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
47361 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47362 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47363 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
47364 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
47365 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47366 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
47368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
47369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
47370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
47372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
47374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
47375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
47376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
47377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
47379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
47381 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
47382 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
47383 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
47384 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
47385 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
47386 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
47387 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
47388 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
47389 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
47390 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
47391 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
47392 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
47393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
47394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
47395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
47396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
47397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
47398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
47399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
47400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
47401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
47402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
47403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
47404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
47405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
47406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
47407
47408 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
47409
47410 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
47411 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
47412 * string/memmove.c (memmove): Renamed to ...
47413 (MEMMOVE): ...this. Default to memmove.
47414 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
47415 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
47416 (END_CHK): Define.
47417 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47418 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
47419 mempcpy-ssse3-back memmove-ssse3-back.
47420 * sysdeps/x86_64/multiarch/bcopy.S: New file .
47421 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
47422 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
47423 * sysdeps/x86_64/multiarch/memcpy.S: New file.
47424 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
47425 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
47426 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
47427 * sysdeps/x86_64/multiarch/memmove.c: New file.
47428 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
47429 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
47430 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
47431 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
47432 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
47433 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
47434 Define.
47435 (index_Fast_Copy_Backward): Define.
47436 (HAS_ARCH_FEATURE): Define.
47437 (HAS_FAST_REP_STRING): Define.
47438 (HAS_FAST_COPY_BACKWARD): Define.
47439
47440 2010-06-21 Andreas Schwab <schwab@redhat.com>
47441
47442 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47443 Restore proper fallback handling.
47444
47445 2010-06-19 Ulrich Drepper <drepper@redhat.com>
47446
47447 [BZ #11701]
47448 * posix/group_member.c (__group_member): Correct checking loop.
47449
47450 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
47451 OOM in getpwuid_r correctly. Return error number when the caller
47452 should return, otherwise -1.
47453 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
47454 call returning > 0 value.
47455 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
47456
47457 2010-06-07 Andreas Schwab <schwab@redhat.com>
47458
47459 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
47460 libc_nonshared.a from targets in modules-names.
47461
47462 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
47463
47464 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
47465 requires it.
47466
47467 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
47468
47469 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
47470 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
47471 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
47472 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
47473
47474 2010-06-02 Andreas Schwab <schwab@redhat.com>
47475
47476 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
47477
47478 2010-06-14 Ulrich Drepper <drepper@redhat.com>
47479
47480 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
47481 and F_GETPIPE_SZ.
47482 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47483 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47484 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47485 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47486 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47487 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
47488
47489 2010-06-14 Roland McGrath <roland@redhat.com>
47490
47491 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
47492
47493 2010-06-07 Jakub Jelinek <jakub@redhat.com>
47494
47495 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
47496 __REDIRECT followed by __THROW.
47497 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
47498 * posix/getopt.h (getopt): Likewise.
47499
47500 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
47501
47502 * hurd/lookup-at.c (__file_name_lookup_at): Accept
47503 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
47504 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
47505 in AT_FLAGS.
47506 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
47507 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
47508
47509 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
47510
47511 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
47512
47513 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
47514
47515 [BZ #11640]
47516 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47517 Properly check family and model.
47518
47519 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
47520
47521 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
47522
47523 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
47524
47525 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
47526
47527 2010-05-21 Ulrich Drepper <drepper@redhat.com>
47528
47529 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
47530 symbol reference.
47531
47532 2010-05-19 Andreas Schwab <schwab@redhat.com>
47533
47534 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
47535 symbol reference.
47536
47537 2010-05-21 Andreas Schwab <schwab@redhat.com>
47538
47539 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
47540 and internal_recvmmsg.
47541 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
47542 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
47543 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
47544 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
47545
47546 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
47547 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
47548 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
47549
47550 2010-05-20 Andreas Schwab <schwab@redhat.com>
47551
47552 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
47553
47554 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
47555
47556 POWER7 optimizations.
47557 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
47558 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
47559
47560 2010-05-19 Ulrich Drepper <drepper@redhat.com>
47561
47562 * version.h: Update for 2.13 development version.
47563
47564 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
47565
47566 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
47567 exceptions. Return 0.
47568
47569 2010-05-07 Roland McGrath <roland@redhat.com>
47570
47571 * elf/ldconfig.c (main): Add a const.
47572
47573 2010-05-06 Ulrich Drepper <drepper@redhat.com>
47574
47575 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
47576 (args_options): Add no-idn option.
47577 (ahosts_keys_int): Add idn_flags to ai_flags.
47578 (parse_option): Handle 'i' option to clear idn_flags.
47579
47580 * malloc/malloc.c (_int_free): Possible race in the most recently
47581 added check. Only act on the data if no current modification
47582 happened.
47583
47584 See ChangeLog.17 for earlier changes.