]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Move base_machine and machine settings from configure.ac to sysdeps preconfigure...
[thirdparty/glibc.git] / ChangeLog
CommitLineData
3e239be6
JM
12014-06-25 Joseph Myers <joseph@codesourcery.com>
2
3 * configure.ac (base_machine): Do not set specially for particular
4 machines here.
5 * configure: Regenerated.
6 * sysdeps/powerpc/preconfigure: Move machine and base_machine
7 settings from configure.ac.
8 * sysdeps/i386/preconfigure: New file.
9 * sysdeps/s390/preconfigure: Likewise.
10 * sysdeps/sh/preconfigure: Likewise.
11 * sysdeps/sparc/preconfigure: Likewise.
12
06d50baa
RM
132014-06-25 Roland McGrath <roland@hack.frob.com>
14
74836003
RM
15 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
16 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
17 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
18 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
19 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
20 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
21 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
22 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
23 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
24 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
25 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
26 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
27 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
28 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
29 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
30 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
31 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
32 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
33 * sysdeps/sparc/sparc64/Makefile: ... appended here.
34
35 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
36 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
37 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
38 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
39 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
40 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
41 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
42 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
43 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
44 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
45 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
46 * sysdeps/sparc/sparc32/sem_post.c: ... here.
47 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
48 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
49 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
50 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
51 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
52 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
53 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
54 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
55 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
56 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
57 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
58 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
59 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
60 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
61 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
62 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
63 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
64 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
65 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
66 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
67 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
68 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
69 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
70 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
71 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
72 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
73
06d50baa
RM
74 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
75 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
76 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
77 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
78 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
79 Moved ...
80 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
81 ... here.
82 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
83 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
84 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
85 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
86 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
87 Moved ...
88 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
89 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
90 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
91 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
92 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
93 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
94 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
95 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
96 Moved ...
97 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
98 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
99 Moved ...
100 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
101 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
102 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
103 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
104 Moved ...
105 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
106 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
107 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
108 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
109 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
110 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
111 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
112 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
113 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
114 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
115 Moved ...
116 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
117 ... here.
118 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
119 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
120 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
121 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
122 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
123 Moved ...
124 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
125 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
126 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
127 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
128 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
129 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
130 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
131 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
132 Moved ...
133 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
134 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
135 Moved ...
136 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
137 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
138 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
139 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
140 Moved ...
141 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
142 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
143 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
144 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
145 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
146
a4ccbc9b
JM
1472014-06-25 Joseph Myers <joseph@codesourcery.com>
148
0828edbf
JM
149 * timezone/checktab.awk: Update from tzcode 2014e.
150 * timezone/private.h: Likewise.
151 * timezone/tzfile.h: Likewise.
152 * timezone/zdump.c: Likewise.
153 * timezone/zic.c: Likewise.
154
a4ccbc9b
JM
155 * sysdeps/unix/sysv/linux/kernel-features.h
156 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
157 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
158 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
159 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
160 Remove conditional code.
161
9aea0cb8
WN
1622014-06-25 Will Newton <will.newton@linaro.org>
163
164 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
165 (_dl_arm_cap_flags): Add HWCAP2 values.
166 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
167 (_DL_HWCAP_COUNT): Increase to 37.
168 (_DL_HWCAP_LAST): New define.
169 (_DL_HWCAP2_LAST): New define.
170 (_dl_procinfo): Add support for printing
171 AT_HWCAP2 entries.
172 (_dl_string_hwcap): Use _dl_hwcap_string.
173
6eaa65ce
AZ
1742014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
175
176 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
177
0f5b7185
JM
1782014-06-25 Joseph Myers <joseph@codesourcery.com>
179
cfd2ea50
JM
180 * README: Do not mention ports directory.
181
cecf2ed4
JM
182 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
183 Remove macro.
184 * sysdeps/unix/sysv/linux/futimes.c: Do not include
185 <kernel-features.h>.
186 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
187 conditional variable definition.
188 (__futimes): Update comment.
189 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
190 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
191
a638de82
JM
192 [BZ #16560]
193 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
194 arguments close to 0.
195 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
196 Likewise.
197 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
198 Likewise.
199 * math/auto-libm-test-in: Add more tests of exp10.
200 * math/auto-libm-test-out: Regenerated.
201 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
202
0f5b7185
JM
203 * sysdeps/unix/sysv/linux/kernel-features.h
204 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
205 * sysdeps/unix/sysv/linux/readv.c: Do not include
206 <kernel-features.h>.
207 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
208 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
209 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
210 unconditional.
211 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
212 conditional code.
213 * sysdeps/unix/sysv/linux/writev.c: Do not include
214 <kernel-features.h>.
215 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
216 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
217 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
218 unconditional.
219 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
220 conditional code.
221
c7aec4be
WN
2222014-06-25 Will Newton <will.newton@linaro.org>
223
224 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
225 comment changes throughout the file. Remove checks
226 for HAVE_*_H definitions that are not required.
227 (__gen_tempname): Call abort if an unknown kind value is
228 passed.
229
c5241f95
AS
2302014-06-25 Andreas Schwab <schwab@suse.de>
231
232 [BZ #17086]
233 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
234 scalbln, scalblnf, scalblnl in libc.
235
911422da
SP
2362014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
237
238 [BZ #17086]
239 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
240 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
241 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
242
0d749bbe
RM
2432014-06-24 Roland McGrath <roland@hack.frob.com>
244
245 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
246 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
247 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
248 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
249 Update #include.
250 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
251 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
252 Update #include.
253 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
254 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
255 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
256 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
257 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
258 * sysdeps/x86/bits/pthreadtypes.h: ... here.
259 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
260 * sysdeps/x86/bits/semaphore.h: ... here.
261 * sysdeps/x86/nptl/elide.h: Moved ...
262 * sysdeps/x86/elide.h: ... here.
263 * sysdeps/x86_64/nptl/Implies: File removed.
264 * sysdeps/i386/nptl/Implies: File removed.
265
0ea5d373
JM
2662014-06-24 Joseph Myers <joseph@codesourcery.com>
267
4060283d
JM
268 [BZ #16539]
269 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
270 return the argument for normal arguments with exponent below -64.
271 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
272 Likewise.
273 * math/auto-libm-test-in: Add another test of expm1.
274 * math/auto-libm-test-out: Regenerated.
275
e7dd3c8c
JM
276 [BZ #16287]
277 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
278 calling __erfcl for arguments at least 16.
279 * math/auto-libm-test-in: Add more tests of erf.
280 * math/auto-libm-test-out: Regenerated.
281
0ea5d373
JM
282 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
283 individual architectures.
284 * sysdeps/unix/sysv/linux/configure: Regenerated.
285 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
286 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
287 * sysdeps/unix/sysv/linux/powerpc/configure.ac
288 (ldd_rewrite_script): Define variable.
289 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
291 file.
292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
293 generated file.
294 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
295 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
296 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
297 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
298 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
299 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
300 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
301 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
302
2307e126
SP
3032014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
304
305 [BZ #17084]
306 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
307 Rename member __data.d to __data.__elision_data.
308
c0a4ed77
W
3092014-06-24 Wilco <wdijkstr@arm.com>
310
311 * NEWS: Add 16918 to fixed bug list.
312
b8c00573
W
3132014-06-24 Wilco <wdijkstr@arm.com>
314
315 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
316
b5570d92
W
3172014-06-24 Wilco <wdijkstr@arm.com>
318
319 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
320 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
321 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
322 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
323 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
324 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
325 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
326 Use _FPU_MASK_RM.
327
947bdca2
W
3282014-06-24 Wilco <wdijkstr@arm.com>
329
330 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
331
00f669ed
W
3322014-06-24 Wilco <wdijkstr@arm.com>
333
334 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
335 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
336 * sysdeps/arm/fesetround.c (fesetround): Remove space.
337 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
338
db59bad3
W
3392014-06-24 Wilco <wdijkstr@arm.com>
340
341 [BZ #16918]
342 * sysdeps/arm/feupdateenv.c (feupdateenv):
343 Rewrite to reduce FPSCR accesses and fix return value.
344
001f7b77
W
3452014-06-24 Wilco <wdijkstr@arm.com>
346
347 * sysdeps/arm/fclrexcpt.c (feclearexcept):
348 Optimize to avoid unnecessary FPSCR writes.
349 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
350 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
351 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
352 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
353
4841e6a6
W
3542014-06-24 Wilco <wdijkstr@arm.com>
355
356 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
357 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
358 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
359 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
360 Call libc_fetestexcept_vfp.
361 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
362 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
363 __SOFTFP__ ifdef so that they can be built for softfp.
364
0813022c
SP
3652014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
366
08e5862f
SP
367 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
368 argument type signed char.
369
0813022c
SP
370 * Makerules (check-abi): Dump diff of symlist if the test
371 fails.
372
3fc7236a
RM
3732014-06-23 Roland McGrath <roland@hack.frob.com>
374
aba8ef95
RM
375 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
376 using abort.
377
3fc7236a
RM
378 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
379 Remove unused variable ST.
380
4da6db51
JM
3812014-06-23 Joseph Myers <joseph@codesourcery.com>
382
4648909d
JM
383 [BZ #16354]
384 [BZ #17061]
385 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
386 small arguments before calling __expm1.
387 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
388 small arguments before calling __expm1f.
389 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
390 small arguments before calling __expm1l.
391 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
392 Likewise.
393 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
394 * math/auto-libm-test-in: Add more cosh tests. Do not allow
395 spurious underflow for some cosh tests.
396 * math/auto-libm-test-out: Regenerated.
397 * sysdeps/i386/fpu/libm-test-ulps: Update.
398
46a3d3c7
JM
399 [BZ #17050]
400 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
401 (__ieee754_y1): Set errno if return value overflows.
402 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
403 (__ieee754_y1f): Set errno if return value overflows.
404 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
405 (__ieee754_y1l): Set errno if return value overflows.
406 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
407 (__ieee754_y1l): Set errno if return value overflows.
408 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
409 * math/auto-libm-test-out: Regenerated.
410
863893ec
JM
411 * math/gen-auto-libm-tests.c: Document use of
412 ignore-zero-inf-sign.
413 (input_flag_type): Add value flag_ignore_zero_inf_sign.
414 (input_flags): Add ignore-zero-inf-sign.
415 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
416 * math/gen-libm-test.pl (generate_testfile): Handle
417 ignore-zero-inf-sign.
418 * math/auto-libm-test-in: Mark some cpow tests with
419 ignore-zero-inf-sign and some with xfail-rounding.
420 * math/auto-libm-test-out: Regenerated.
421 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
422 * sysdeps/i386/fpu/libm-test-ulps: Update.
423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
424
4da6db51
JM
425 [BZ #16315]
426 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
427 overflowing or underflowing operations take place with sign of
428 result.
429 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
430 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
431 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
432 (__ieee754_pow): Recompute overflowing and underflowing results in
433 original rounding mode.
434 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
435 (__powl_helper): Allow negative argument X and scale negated value
436 as needed. Avoid passing value outside [-1, 1] to f2xm1.
437 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
438 overflowing or underflowing operations take place with sign of
439 result.
440 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
441 Include <math.h>.
442 * math/auto-libm-test-in: Add more tests of pow.
443 * math/auto-libm-test-out: Regenerated.
444 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
445 (pow_tonearest_test_data): Remove.
446 (pow_test_tonearest): Likewise.
447 (pow_towardzero_test_data): Likewise.
448 (pow_test_towardzero): Likewise.
449 (pow_downward_test_data): Likewise.
450 (pow_test_downward): Likewise.
451 (pow_upward_test_data): Likewise.
452 (pow_test_upward): Likewise.
453 (main): Don't call removed functions.
454 * sysdeps/i386/fpu/libm-test-ulps: Update.
455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
456
5686b236
RM
4572014-06-23 Roland McGrath <roland@hack.frob.com>
458
459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
460 Moved ...
461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
463 Moved ...
464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
466 Moved ...
467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
469 Moved ...
470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
472 File removed.
473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
474 File removed.
475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
476 File removed.
477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
478 File removed.
479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
480 File removed.
481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
482 File removed.
483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
484 File removed.
485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
486 File removed.
487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
488 File removed.
489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
490 File removed.
491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
492 File removed.
493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
494 File removed.
495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
496 Moved ...
497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
499 Moved ...
500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
501 ... here.
502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
503 Moved ...
504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
506 Moved ...
507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
509 Moved ...
510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
512 Moved ...
513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
515 Moved ...
516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
518 Moved ...
519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
521 Moved ...
522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
525 ... here.
526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
527 Moved ...
528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
530 Moved ...
531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
532 ... here.
533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
534 Moved ...
535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
536 ... here.
537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
538 Moved ...
539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
540 ... here.
541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
542 Moved ...
543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
545 Moved ...
546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
550 Moved ...
551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
552 ... here.
553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
554 Moved ...
555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
556 ... here.
557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
558 Moved ...
559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
561 Moved ...
562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
564 Moved ...
565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
567 Moved ...
568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
570 Moved ...
571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
572 ... here.
573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
574 Moved ...
575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
577 Moved ...
578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
580 Moved ...
581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
583 Moved ...
584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
588 Moved ...
589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
591 Moved ...
592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
594 Moved ...
595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
596 ... here.
597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
598 Moved ...
599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
600 ... here.
601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
602 Moved ...
603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
604 ... here.
605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
606 Moved ...
607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
609 Moved ...
610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
612 Moved ...
613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
615 Moved ...
616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
617 ... here.
618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
619 Moved ...
620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
621 ... here.
622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
623 Moved ...
624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
625 ... here.
626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
627 Moved ...
628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
630 Moved ...
631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
632
e6d90d67
WD
6332014-06-23 Will Newton <will.newton@linaro.org>
634 Wilco <wdijkstr@arm.com>
635
636 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
637 implementation. Include get-rounding-mode.h.
638 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
639 [!libc_feholdsetround_noex_ctx]: Define
640 libc_feholdsetround_noex_ctx.
641 [!libc_feholdsetround_noexf_ctx]: Define
642 libc_feholdsetround_noexf_ctx.
643 [!libc_feholdsetround_noexl_ctx]: Define
644 libc_feholdsetround_noexl_ctx.
645 (libc_feholdsetround_ctx): New function.
646 (libc_feresetround_ctx): New function.
647 (libc_feholdsetround_noex_ctx): New function.
648 (libc_feresetround_noex_ctx): New function.
649
d42df555
RM
6502014-06-23 Roland McGrath <roland@hack.frob.com>
651
88a46474
RM
652 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
653 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
654 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
655 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
656 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
657 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
658
15bed472
RM
659 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
660 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
661 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
662 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
663 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
664 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
665 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
666 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
667 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
668 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
669 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
670 Moved ...
671 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
672 ... here.
673 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
674 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
675 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
676 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
677 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
678 Moved ...
679 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
680 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
681 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
682 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
683 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
684 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
685 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
686 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
687 Moved ...
688 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
689 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
690 Moved ...
691 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
692 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
693 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
694 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
695 Moved ...
696 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
697 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
698 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
699 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
700 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
701 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
702 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
703 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
704 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
705 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
706 Moved ...
707 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
708 ... here.
709 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
710 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
711 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
712 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
713 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
714 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
715 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
716 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
717 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
718 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
719 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
720 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
721 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
722 Moved ...
723 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
724 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
725 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
726 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
727 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
728 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
729 Moved ...
730 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
731 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
732 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
733 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
734 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
735
d42df555
RM
736 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
737 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
738 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
739 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
740 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
741 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
742 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
743 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
744 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
745 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
746 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
747 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
748 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
749 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
750 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
751 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
752 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
753 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
754 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
755 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
756 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
757 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
758 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
759 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
760 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
761 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
762 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
763 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
764
76e5216e
JM
7652014-06-23 Joseph Myers <joseph@codesourcery.com>
766
767 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
768 (FALLOC_FL_COLLAPSE_RANGE): New macro.
769 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
770 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
771 (IPV6_PMTUDISC_INTERFACE): Likewise.
772 (IPV6_PMTUDISC_OMIT): Likewise.
773
7a81cbcc
AS
7742014-06-23 Andreas Schwab <schwab@suse.de>
775
776 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
777 Remove unused errout label.
778
db224009
AZ
7792014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
780
781 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
782 macro: hardware supports Vector Crypto instructions.
783
f393b4aa
WN
7842014-06-23 Will Newton <will.newton@linaro.org>
785
cc7d0447
WN
786 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
787 rather than __builtin_expect.
788
d6d06225
WN
789 * elf/dl-lookup.c (undefined_msg): Remove variable.
790 (_dl_lookup_symbol_x): Replace undefined_msg with string
791 literal.
792
f393b4aa
WN
793 * elf/dl-lookup.c (do_lookup_unique): New function.
794 (do_lookup_x): Move STB_GNU_UNIQUE handling code
795 to a separate function.
796
ac60763e
AS
7972014-06-23 Andreas Schwab <schwab@suse.de>
798
799 [BZ #17079]
800 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
801 before reading the next line.
802
c5c13355
WN
8032014-06-23 Will Newton <will.newton@linaro.org>
804
805 * test-skeleton.c (signal_handler): Use printf and %m
806 rather than perror. Use printf rather than fprintf to
807 stderr. Use puts rather than fputs to stderr.
808 (main): Likewise.
809
bd3675f9
LC
8102014-06-22 Ludovic Courtès <ludo@gnu.org>
811
812 * nscd/nscd.c (thread_info_t): Remove typedef.
813 (thread_info): Remove variable.
814
d03efb2f
AM
8152014-06-21 Allan McRae <allan@archlinux.org>
816
817 * NEWS: Mention CVE-2014-4043.
818
bc4a86fa
RM
8192014-06-20 Roland McGrath <roland@hack.frob.com>
820
dc9a54f8
RM
821 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
822 * nptl/smp.h: ... here.
823
bd7022c4
RM
824 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
825
26ffd5e6
RM
826 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
827 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
828 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
829 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
830
93a6d082
RM
831 * nptl/allocatestack.c: Include <stack-aliasing.h>.
832 * nptl/stack-aliasing.h: New file.
833 * sysdeps/i386/i686/stack-aliasing.h: New file.
834 * sysdeps/i386/i686/nptl/Makefile: File removed.
835 * sysdeps/x86_64/stack-aliasing.h: New file.
836 * sysdeps/x86_64/nptl/Makefile
837 (CFLAGS-pthread_create.c): Variable removed.
838
bc4a86fa
RM
839 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
840 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
841 old file.
842 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
843 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
844 old file.
845
2272ffc1
JM
8462014-06-21 Joseph Myers <joseph@codesourcery.com>
847
848 * sysdeps/unix/sysv/linux/arm/kernel-features.h
849 (__ASSUME_SIGFRAME_V2): Remove macro.
850 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
851 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
852 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
853 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
854 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
855 Declare as function. Remove conditional macro definitions.
856 (__default_rt_sa_restorer): Likewise.
857 (__default_sa_restorer_v1): Remove declaration.
858 (__default_sa_restorer_v2): Likewise.
859 (__default_rt_sa_restorer_v1): Likewise.
860 (__default_rt_sa_restorer_v2): Likewise.
861 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
862 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
863 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
864
4b88139b
RM
8652014-06-20 Roland McGrath <roland@hack.frob.com>
866
867 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
868 (libpthread-routines): Add sysdep.
869 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
870 * sysdeps/unix/sysv/linux/sparc/Versions
871 (libpthread: GLIBC_2.3.3): New version set.
872 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
873 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
874 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
875 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
876 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
877 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
878 Moved ...
879 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
880 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
881 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
882 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
883 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
884 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
885 * sysdeps/sparc/nptl/sem_init.c: ... here.
886 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
887 * sysdeps/sparc/nptl/sem_post.c: ... here.
888 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
889 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
890 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
891 * sysdeps/sparc/nptl/sem_wait.c: ... here.
892 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
893 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
894 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
895 (libpthread-routines): Add cpu_relax.
896 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
897 File removed.
898 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
899 (librt: GLIBC_2.3.3): New version set.
900 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
901 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
902 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
903 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
904 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
905 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
906 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
907 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
908 Moved ...
909 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
910 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
911 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
912 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
913 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
914 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
915 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
916 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
917 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
918 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
919 Moved ...
920 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
921 Update #include.
922 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
923 Moved ...
924 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
925 Update #include.
926 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
927 Moved ...
928 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
929 Update #include.
930 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
931 Moved ...
932 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
933 Update #include.
934 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
935 Moved ...
936 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
937 Update #include.
938 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
939 Moved ...
940 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
941 Update #include.
942 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
943 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
944 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
945 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
946 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
947 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
948 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
949 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
950 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
951 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
952 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
953 Moved ...
954 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
955 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
956 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
957 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
958 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
959
d7109027
JM
9602014-06-20 Joseph Myers <joseph@codesourcery.com>
961
9bc6103d
JM
962 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
963 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
964 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
965 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
966 * nscd/nscd.c: Likewise.
967 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
968 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
969 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
970 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
971
d7109027
JM
972 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
973 <kernel-features.h>.
974 (init_mq_netlink): Remove conditional have_sock_cloexec
975 definitions. Remove code conditional on have_sock_cloexec < 0.
976 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
977 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
978 * sysdeps/unix/sysv/linux/opensock.c: Do not include
979 <kernel-features.h>.
980 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
981 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
982
d92d8f8a
L
9832014-06-20 H.J. Lu <hongjiu.lu@intel.com>
984
985 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
986 Add tests for memset_chk and memset.
987
988 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
989 with AVX2_Usable.
990
4e6d2347
MR
9912014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
992
257ce712
MR
993 [BZ #16046]
994 * elf/tst-dl-iter-static.c: New file.
995 * elf/Makefile (tests-static): Add tst-dl-iter-static.
996
4e6d2347
MR
997 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
998 error.
999
a2a76afe
JM
10002014-06-20 Joseph Myers <joseph@codesourcery.com>
1001
7fd00f99
JM
1002 * sysdeps/unix/sysv/linux/kernel-features.h
1003 (__ASSUME_F_GETOWN_EX): Remove macro.
1004 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
1005 <kernel-features.h>.
1006 (miss_F_GETOWN_EX): Remove variable or macro.
1007 (do_fcntl): Do not check miss_F_GETOWN_EX.
1008 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
1009
4a103975
JM
1010 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
1011 Remove macro.
1012 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
1013 [!__ASSUME_AT_RANDOM]: Remove conditional code.
1014 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
1015
a2a76afe
JM
1016 * sysdeps/unix/sysv/linux/kernel-features.h
1017 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
1018 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
1019 [ADJ_OFFSET_SS_READ]: Make code unconditional.
1020 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
1021
90e5dd48
MR
10222014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1023
1024 [BZ #17075]
1025 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
1026 Fix calculation of the symbol's value.
1027 * sysdeps/arm/tst-armtlsdescloc.c: New file.
1028 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
1029 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
1030 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
1031 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
1032 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
1033 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
1034 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
1035 (modules-names): Add `tst-armtlsdescmod',
1036 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
1037 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
1038 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1039 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
1040 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
1041 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1042 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
1043 ($(objpfx)tst-armtlsdescloc): New dependency.
1044 ($(objpfx)tst-armtlsdescextnow): Likewise.
1045 ($(objpfx)tst-armtlsdescextlazy): Likewise.
1046 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
1047 TLS scheme support.
1048 * sysdeps/arm/configure: Regenerate.
1049
809fdf0d
JM
10502014-06-20 Joseph Myers <joseph@codesourcery.com>
1051
1052 * include/fcntl.h (__atfct_seterrno): Remove prototype.
1053 (__atfct_seterrno_2): Likewise.
1054 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
1055 <kernel-features.h>.
1056 (__ASSUME_ATFCTS): Do not undefine and redefine.
1057 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
1058 (__have_atfcts): Remove conditional definition.
1059 (__fxstatat([__NR_fstatat64]: Make code unconditional.
1060 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
1061 unreachable if [__ASSUME_ATFCTS].
1062 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
1063 not undefine and redefine.
1064 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
1065 <kernel-features.h>.
1066 (faccessat) [__NR_faccessat]: Make code unconditional.
1067 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
1068 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
1069 <kernel-features.h>.
1070 (fchmodat) [__NR_fchmodat]: Make code unconditional.
1071 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1072 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
1073 <kernel-features.h>.
1074 (fchownat) [__NR_fchownat]: Make code unconditional.
1075 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
1076 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
1077 <kernel-features.h>.
1078 (futimesat) [__NR_futimesat]: Make code unconditional.
1079 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
1080 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1081 <kernel-features.h>.
1082 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1083 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1084 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1085 <kernel-features.h>.
1086 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
1087 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1088 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
1089 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1090 <kernel-features.h>.
1091 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
1092 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1093 * sysdeps/unix/sysv/linux/linkat.c: Do not include
1094 <kernel-features.h>.
1095 (linkat) [__NR_linkat]: Make code unconditional.
1096 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1097 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
1098 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
1099 <kernel-features.h>.
1100 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
1101 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1102 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
1103 <kernel-features.h>.
1104 (mkdirat) [__NR_mkdirat]: Make code unconditional.
1105 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
1106 * sysdeps/unix/sysv/linux/openat.c: Do not include
1107 <kernel-features.h>.
1108 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
1109 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
1110 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
1111 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
1112 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
1113 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
1114 <kernel-features.h>.
1115 (readlinkat) [__NR_readlinkat]: Make code unconditional.
1116 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
1117 result of INLINE_SYSCALL directly, not via int variable.
1118 * sysdeps/unix/sysv/linux/renameat.c: Do not include
1119 <kernel-features.h>.
1120 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
1121 (renameat) [__NR_renameat]: Make code unconditional.
1122 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
1123 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
1124 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
1125 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
1126 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
1127 (__ASSUME_ATFCTS): Do not undefine and redefine.
1128 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
1129 <kernel-features.h>.
1130 (symlinkat) [__NR_symlinkat]: Make code unconditional.
1131 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1132 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
1133 <kernel-features.h>.
1134 (unlinkat) [__NR_unlinkat]: Make code unconditional.
1135 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1136 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
1137 (__ASSUME_ATFCTS): Do not undefine and redefine.
1138 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1139 <kernel-features.h>.
1140 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1141 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1142 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1143 <kernel-features.h>.
1144 (__xmknodat) [__NR_mknodat]: Make code unconditional.
1145 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1146
224c6c51
L
11472014-06-20 H.J. Lu <hongjiu.lu@intel.com>
1148
1149 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
1150
aa6ec754
AS
11512014-06-20 Andreas Schwab <schwab@linux-m68k.org>
1152
1153 [BZ #17069]
1154 * posix/regcomp.c (parse_reg_exp): Deallocate partially
1155 constructed tree before returning error.
1156 * posix/bug-regexp36.c: Expand test case.
1157
d8c2869d
SL
11582014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1159
3ef6b850
SL
1160 [BZ #6803]
1161 * math/libm-test.inc (scalbln_test_date):
1162 Add errno expectations.
1163 * math/w_scalblnf.c: New File.
1164 Add wrapper which checks for setting errno to ERANGE.
1165 Add weak_alias for corresponding scalbln function.
1166 * math/w_scalbln.c: Likewise.
1167 * math/w_scalblnl.c: Likewise.
1168 * math/Makefile (libm-calls): Add w_scalbln.
1169 * sysdeps/ieee754/flt-32/s_scalblnf.c:
1170 Remove weak_alias for corresponding scalbln function.
1171 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1172 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1173 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1174 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1175 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
1176 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1177 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
1178 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1179 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
1180 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
1181 Remove long_double_symbol for scalblnl function in libm, libc.
1182 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
1183 Add wrapper which checks for setting errno to ERANGE.
1184 Add long_double_symbol for scalblnl function in libm, libc.
1185 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
1186 Remove long_double_symbol for scalblnl in libm.
1187 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
1188 Add wrapper which checks for setting errno to ERANGE.
1189 Add long_double_symbol for scalblnl function in libm.
1190 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
1191 Do not use wrapper because of own implementation.
1192
c8daec5c
L
11932014-06-19 H.J. Lu <hongjiu.lu@intel.com>
1194
1195 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
1196 3 bytes for __pad1 for x32.
1197 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
1198
5c74e47c
LM
11992014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
1200 H.J. Lu <hongjiu.lu@intel.com>
1201
1202 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
1203 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
1204 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1205 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1206 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1207
4d43ef1e
AS
12082014-06-19 Andreas Schwab <schwab@linux-m68k.org>
1209
1210 [BZ #17069]
1211 * posix/regcomp.c (parse_expression): Deallocate partially
1212 constructed tree before returning error.
1213 * posix/Makefile.c (tests): Add bug-regex36.
1214 (generated): Add bug-regex36.mtrace.
1215 (tests-special): Add $(objpfx)bug-regex36-mem.out
1216 (bug-regex36-ENV): New variable.
1217 ($(objpfx)bug-regex36-mem.out): New rule.
1218 * posix/bug-regex36.c: New file.
1219
51a7380b
WN
12202014-06-19 Will Newton <will.newton@linaro.org>
1221
1222 * malloc/malloc.c (systrim): If extra is zero then return
1223 early.
1224
91b84fe5
SP
12252014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1226
1227 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
1228
f940b965
RE
12292014-06-19 Richard Earnshaw <rearnsha@arm.com>
1230
1231 * sysdeps/aarch64/strchr.S: New file.
1232
4ba7a00f
JM
12332014-06-18 Joseph Myers <joseph@codesourcery.com>
1234
1235 [BZ #17022]
1236 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
1237 from arguments -2 or below.
1238 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1239 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1240
b3a9f56b
AS
12412014-06-18 Andreas Schwab <schwab@suse.de>
1242
1243 [BZ #17062]
1244 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
1245 of a bracket expr not to run off the end of the string.
1246 * posix/Makefile (tests): Add tst-fnmatch3.
1247 * posix/tst-fnmatch3.c: New file.
1248
85d89278
JM
12492014-06-18 Joseph Myers <joseph@codesourcery.com>
1250
1251 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
1252 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1253 [$(cross-compiling) = no]: Likewise.
1254 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1255 [$(cross-compiling) = no]: Likewise.
1256
754c5a08
RS
12572014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1258
1259 [BZ #17031]
1260 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
1261 double, adjusted for any remainder from the high double.
1262 * math/libm-test.inc (nearbyint): Add tests.
1263 (rint): Likewise.
1264
556f529d
AZ
12652014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1266
1267 * nptl/sysdeps/powerpc/Makefile: Moved ...
1268 * sysdeps/powerpc/nptl/Makefile: ... here.
1269 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
1270 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
1271 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
1272 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
1273 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
1274 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
1275 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
1276 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
1277 * nptl/sysdeps/powerpc/tls.h: Moved ...
1278 * sysdeps/powerpc/nptl/tls.h: ... here.
1279
91c03c53
JM
12802014-06-16 Joseph Myers <joseph@codesourcery.com>
1281
1282 [BZ #16681]
1283 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
1284 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
1285 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
1286 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
1287 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
1288 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
1289 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
1290 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
1291 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
1292
a76e63c5
AS
12932014-06-17 Andreas Schwab <schwab@linux-m68k.org>
1294
1295 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1296
f2f6d82f
AS
12972014-06-16 Andreas Schwab <schwab@linux-m68k.org>
1298
ea8a15f6
AS
1299 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
1300 defined operator.
1301
f2f6d82f
AS
1302 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
1303 $TIMEOUTFACTOR.
1304
a7291117
FW
13052014-06-16 Florian Weimer <fweimer@redhat.com>
1306
1307 [BZ #17058]
1308 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
1309 non-executed part of the test.
1310
3d7c00e3
AS
13112014-06-16 Andreas Schwab <schwab@suse.de>
1312
1313 * string/bits/string2.h (strdup, strndup): Update feature guard.
1314
6957fb31
DM
13152014-06-14 David S. Miller <davem@davemloft.net>
1316
1317 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1318
11b9e55b
AS
13192014-06-14 Andreas Schwab <schwab@linux-m68k.org>
1320
1d2a0492
AS
1321 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
1322 that was previously under [RESET_PID].
1323 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
1324
11b9e55b
AS
1325 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
1326 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
1327 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
1328 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1329 (__libc_vfork): New strong alias.
1330 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
1331
0f6901d0
AK
13322014-06-14 Andi Kleen <ak@linux.intel.com>
1333
1334 * sysdeps/generic/elide.h: New file.
1335
38bbbb9f
SL
13362014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1337
1338 * Makefile (installed-headers): Adjust path of pthread.h header.
1339
45193bb8
RM
13402014-06-13 Roland McGrath <roland@hack.frob.com>
1341
9a25fd1e
RM
1342 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
1343 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
1344 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
1345 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
1346
4004f7e4
RM
1347 * nptl/sysdeps/s390/Makefile: Moved ...
1348 * sysdeps/s390/nptl/Makefile: ... here.
1349 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
1350 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
1351 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
1352 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
1353 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
1354 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
1355 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
1356 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
1357 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
1358 * sysdeps/s390/nptl/pthreaddef.h: ... here.
1359 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
1360 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
1361 * nptl/sysdeps/s390/tls.h: Moved ...
1362 * sysdeps/s390/nptl/tls.h: ... here.
1363
45193bb8
RM
1364 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
1365 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
1366
f6fdf533
DM
13672014-06-13 David S. Miller <davem@davemloft.net>
1368
1369 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
1370 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
1371 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
1372 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
1373 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
1374 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
1375 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
1376 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
1377 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
1378 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
1379 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
1380 Remove RESET_PID cpp guards.
1381 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
1382 Remove RESET_PID cpp guards.
1383 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
1384
f5d71e14
AS
13852014-06-13 Andreas Schwab <schwab@linux-m68k.org>
1386
1387 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
1388 __sp to uintptr_t.
1389
b7aa8caa
AK
13902014-06-13 Andi Kleen <ak@linux.intel.com>
1391
4b266200
AZ
1392 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
1393 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
1394 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
1395 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
1396 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
1397 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
1398 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
1399 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
1400 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
1401 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
1402 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
1403 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
1404 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
1405 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
1406 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
1407 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
1408 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
1409 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
1410 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
1411 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
1412
1413 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
1414 (pthread_rwlock_rdlock): Add elision.
1415 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
1416 (pthread_rwlock_wrlock): Add elision.
1417 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
1418 (pthread_rwlock_trywrlock): Add elision.
1419 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
1420 (pthread_rwlock_tryrdlock): Add elision.
1421 * nptl/pthread_rwlock_unlock.c: Include elide.h.
1422 (pthread_rwlock_tryrdlock): Add elision unlock.
1423 * nptl/sysdeps/pthread/pthread.h:
1424 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
1425 (PTHREAD_RWLOCK_INITIALIZER,
1426 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
1427 Handle new elision field.
1428 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
1429 * sysdeps/arm/nptl/bits/pthreadtypes.h
1430 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1431 * sysdeps/sh/nptl/bits/pthreadtypes.h
1432 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1433 * sysdeps/tile/nptl/bits/pthreadtypes.h
1434 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1435 * sysdeps/a/nptl/bits/pthreadtypes.h
1436 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1437 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1438 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1439 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1440 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1441 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
1442 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1443 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1444 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1445 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1446 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1447 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1448 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1449 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1450 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1451 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
1452 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1453 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
1454 (elision_init): Set try_xbegin to zero when no RTM.
1455 * sysdeps/x86/nptl/bits/pthreadtypes.h
1456 (pthread_rwlock_t): Change __pad1 to __rwelision.
1457 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 1458
a832bdd3
AK
14592014-06-13 Andi Kleen <ak@linux.intel.com>
1460
1461 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
1462 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
1463 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
1464 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
1465
995a46bb
MI
14662014-06-13 Meador Inge <meadori@codesourcery.com>
1467
1468 [BZ #16996]
03ed7738 1469 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
1470 that the cached result has been set before returning it.
1471
45262aee
RM
14722014-06-12 Roland McGrath <roland@hack.frob.com>
1473
febf6cc5
RM
1474 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
1475 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
1476 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
1477 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
1478 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
1479 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
1480
e2682246
RM
1481 * nptl/sysdeps/sparc/Makefile: Moved ...
1482 * sysdeps/sparc/nptl/Makefile: ... here.
1483 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
1484 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
1485 * nptl/sysdeps/sparc/tls.h: Moved ...
1486 * sysdeps/sparc/nptl/tls.h: ... here.
1487 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
1488 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
1489 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
1490 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
1491 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
1492 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
1493 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
1494 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
1495 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
1496 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
1497 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
1498 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
1499 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
1500 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
1501 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
1502 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
1503 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
1504 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
1505 Update #include.
1506 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
1507 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
1508 Update #include.
1509 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
1510 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
1511 Update #include.
1512 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
1513 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
1514 Update #include.
1515
b0725f43
RM
1516 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1517
b14368b8
RM
1518 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
1519 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
1520
c5620eb3
RM
1521 * sysdeps/pthread/posix-timer.h: Include <list.h>.
1522 (struct list_links): Type removed.
1523 (struct thread_node, struct timer_node): Replace struct list_links
1524 with struct list_head.
1525 (list_unlink_ip): Likewise.
1526 * sysdeps/pthread/timer_routines.c
1527 (timer_free_list, thread_free_list, thread_active_list): Likewise.
1528 (list_append, list_insbefore): Likewise.
1529 (list_init): Function removed.
1530 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
1531 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
1532 * sysdeps/pthread/Makefile: ... here, new file.
1533
1534 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
1535 * sysdeps/nptl/Implies: ... here.
1536 * sysdeps/unix/sysv/linux/Implies: Add nptl.
1537 * nptl/sysdeps/pthread/list.h: Moved ...
1538 * include/list.h: ... here.
1539 * nptl/sysdeps/pthread/createthread.c: Moved ...
1540 * nptl/createthread.c: ... here.
1541 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
1542 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
1543 * nptl/pt-longjmp.c: ... here.
1544 * nptl/sysdeps/pthread/Makefile: Moved ...
1545 * sysdeps/nptl/Makefile: ... here.
1546 * nptl/sysdeps/pthread/Subdirs: Moved ...
1547 * sysdeps/nptl/Subdirs: ... here.
1548 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
1549 * sysdeps/nptl/aio_misc.h: ... here.
1550 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
1551 * sysdeps/nptl/bits/libc-lock.h: ... here.
1552 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
1553 * sysdeps/nptl/bits/libc-lockP.h: ... here.
1554 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
1555 * sysdeps/nptl/bits/stdio-lock.h: ... here.
1556 * nptl/sysdeps/pthread/configure: Moved ...
1557 * sysdeps/nptl/configure: ... here.
1558 * nptl/sysdeps/pthread/configure.ac: Moved ...
1559 * sysdeps/nptl/configure.ac: ... here.
1560 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
1561 * sysdeps/nptl/gai_misc.h: ... here.
1562 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
1563 * sysdeps/nptl/librt-cancellation.c: ... here.
1564 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
1565 * sysdeps/nptl/malloc-machine.h: ... here.
1566 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
1567 * sysdeps/nptl/pthread-functions.h: ... here.
1568 * nptl/sysdeps/pthread/pthread.h: Moved ...
1569 * sysdeps/nptl/pthread.h: ... here.
1570 * nptl/sysdeps/pthread/setxid.h: Moved ...
1571 * sysdeps/nptl/setxid.h: ... here.
1572 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
1573 * sysdeps/nptl/sigfillset.c: ... here.
1574 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
1575 * sysdeps/nptl/tcb-offsets.h: ... here.
1576 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
1577 * sysdeps/nptl/tst-mqueue8x.c: ... here.
1578 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
1579 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
1580 * nptl/sysdeps/pthread/allocalim.h: Moved ...
1581 * sysdeps/pthread/allocalim.h: ... here.
1582 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
1583 * sysdeps/pthread/bits/sigthread.h: ... here.
1584 * nptl/sysdeps/pthread/flockfile.c: Moved ...
1585 * sysdeps/pthread/flockfile.c: ... here.
1586 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
1587 * sysdeps/pthread/ftrylockfile.c: ... here.
1588 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
1589 * sysdeps/pthread/funlockfile.c: ... here.
1590 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
1591 * sysdeps/pthread/posix-timer.h: ... here.
1592 * nptl/sysdeps/pthread/timer_create.c: Moved ...
1593 * sysdeps/pthread/timer_create.c: ... here.
1594 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
1595 * sysdeps/pthread/timer_delete.c: ... here.
1596 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
1597 * sysdeps/pthread/timer_getoverr.c: ... here.
1598 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
1599 * sysdeps/pthread/timer_gettime.c: ... here.
1600 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
1601 * sysdeps/pthread/timer_routines.c: ... here.
1602 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
1603 * sysdeps/pthread/timer_settime.c: ... here.
1604 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
1605 * sysdeps/pthread/tst-timer.c: ... here.
1606 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
1607 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
1608
e876b090
RM
1609 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
1610 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
1611
f6b07b3d
RM
1612 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
1613 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
1614 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
1615 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
1616 Update #include target.
1617 * nptl/sysdeps/i386/i686/Makefile: Moved ...
1618 * sysdeps/i386/i686/nptl/Makefile: ... here.
1619 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
1620 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
1621 Update #include target.
1622 * nptl/sysdeps/i386/i686/tls.h: Moved ...
1623 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
1624 * nptl/sysdeps/i386/Makefile: Moved ...
1625 * sysdeps/i386/nptl/Makefile: ... here.
1626 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
1627 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
1628 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
1629 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
1630 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
1631 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
1632 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
1633 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
1634 * sysdeps/i386/nptl/pthreaddef.h: ... here.
1635 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
1636 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
1637 * nptl/sysdeps/i386/tls.h: Moved ...
1638 * sysdeps/i386/nptl/tls.h: ... here.
1639
45262aee
RM
1640 * sysdeps/sh/Makefile [$(subdir) = csu]
1641 (gen-as-const-headers): Add tcb-offsets.sym.
1642 * nptl/sysdeps/sh/Makefile: File removed.
1643 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
1644 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
1645 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
1646 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
1647 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
1648 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
1649 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
1650 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
1651 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
1652 * sysdeps/sh/nptl/pthreaddef.h: ... here.
1653 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
1654 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
1655 * nptl/sysdeps/sh/tls.h: Moved ...
1656 * sysdeps/sh/nptl/tls.h: ... here.
1657 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
1658 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
1659 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
1660 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
1661 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
1662 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
1663 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
1664 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
1665 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
1666 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
1667 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
1668 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
1669 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
1670 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
1671 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
1672 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
1673 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
1674 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
1675 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
1676 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
1677 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
1678 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
1679 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
1680 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
1681 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
1682 Moved ...
1683 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
1684 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
1685 Moved ...
1686 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
1687 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
1688 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
1689 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
1690 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
1691 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
1692 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
1693 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
1694 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
1695 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
1696 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
1697 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
1698 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
1699 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
1700 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
1701 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
1702 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
1703 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
1704 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
1705
35a5e3e3
SL
17062014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1707
1708 * posix/spawn_faction_addopen.c: Include string.h.
1709
14642b85
RM
17102014-06-11 Roland McGrath <roland@hack.frob.com>
1711
1712 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
1713 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
1714 * nptl/sysdeps/x86_64/Makefile: Moved ...
1715 * sysdeps/x86_64/nptl/Makefile: ... here.
1716 * nptl/sysdeps/x86_64/configure: Moved ...
1717 * sysdeps/x86_64/nptl/configure: ... here.
1718 * nptl/sysdeps/x86_64/configure.ac: Moved ...
1719 * sysdeps/x86_64/nptl/configure.ac: ... here.
1720 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
1721 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
1722 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
1723 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
1724 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
1725 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
1726 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
1727 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
1728 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
1729 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
1730 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
1731 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
1732 * nptl/sysdeps/x86_64/tls.h: Moved ...
1733 * sysdeps/x86_64/nptl/tls.h: ... here.
1734 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
1735 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
1736 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
1737 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
1738
1739 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
1740
31c44fea
AZ
17412014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1742
1743 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1744
e81a4f9a
JM
17452014-06-11 Joseph Myers <joseph@codesourcery.com>
1746
1747 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
1748 type.
1749 [POSIX] (off_t): Likewise.
1750 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
1751 [POSIX] (S_ISBLK): Require macro.
1752 [POSIX] (S_ISCHR): Likewise.
1753 [POSIX] (S_ISDIR): Likewise.
1754 [POSIX] (S_ISFIFO): Likewise.
1755 [POSIX] (S_ISREG): Likewise.
1756 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
1757 optional-macro.
1758 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
1759 type.
1760 [POSIX] (time_t): Likewise.
1761 [POSIX] (timer_t): Likewise.
1762
89e435f3
FW
17632014-06-11 Florian Weimer <fweimer@redhat.com>
1764
1765 [BZ #17048]
1766 * posix/spawn_int.h (struct __spawn_action): Make the path string
1767 non-const to support deallocation.
1768 * posix/spawn_faction_addopen.c
1769 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
1770 * posix/spawn_faction_destroy.c
1771 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
1772 path in all spawn_do_open actions.
1773 * posix/tst-spawn.c (do_test): Exercise the copy operation in
1774 posix_spawn_file_actions_addopen.
1775
c3a2ebe1
CM
17762014-06-11 Chris Metcalf <cmetcalf@tilera.com>
1777
1778 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
1779 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
1780 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
1781 conditional code always true.
1782 (__libc_vfork): New alias.
1783
9503784a
RM
17842014-06-11 Roland McGrath <roland@hack.frob.com>
1785
c9cab3d2
RM
1786 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1787 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
1788
d3996c79
RM
1789 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
1790
ba5ec611
RM
1791 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1792 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
1793
f12b4814
RM
1794 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1795 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
1796
9503784a
RM
1797 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1798 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
1799
e23d3d26
VR
18002014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1801
1802 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
1803 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
1804 multiarch strcmp for PPC64.
1805 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
1806 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
1807 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
1808 multiarch optimizations.
1809 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1810 (__libc_ifunc_impl_list): Likewise.
1811
42b1161e
SP
18122014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1813
1814 * benchtests/scripts/validate_benchout.py: New script.
1815 * benchtests/Makefile (bench-func): Call it.
1816 * benchtests/scripts/benchout.schema.json: New file.
1817
2d0fc4dc
CM
18182014-06-10 Chris Metcalf <cmetcalf@tilera.com>
1819
4a594c34
AZ
1820 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
1821 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
1822 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
1823 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
1824 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
1825 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
1826 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
1827 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
1828 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
1829 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
1830 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
1831 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
1832 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
1833 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
1834 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
1835 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
1836 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 1837 Moved ...
4a594c34 1838 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 1839 ... here.
4a594c34 1840 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 1841 Moved ...
4a594c34
AZ
1842 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
1843 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 1844 Moved ...
4a594c34 1845 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 1846 ... here.
4a594c34 1847 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 1848 Moved ...
4a594c34 1849 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 1850 ... here.
4a594c34 1851 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 1852 Moved ...
4a594c34
AZ
1853 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
1854 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 1855 Moved ...
4a594c34 1856 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 1857 ... here.
4a594c34 1858 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 1859 Moved ...
4a594c34 1860 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 1861 ... here.
4a594c34 1862 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 1863 Moved ...
4a594c34
AZ
1864 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
1865 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 1866 Moved ...
4a594c34 1867 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 1868 ... here.
4a594c34 1869 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 1870 Moved ...
4a594c34 1871 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 1872 ... here.
4a594c34 1873 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 1874 Moved ...
4a594c34 1875 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 1876 ... here.
4a594c34 1877 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 1878 Moved ...
4a594c34
AZ
1879 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
1880 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 1881 Moved ...
4a594c34 1882 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 1883 ... here.
4a594c34 1884 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 1885 Moved ...
4a594c34 1886 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 1887 ... here.
4a594c34 1888 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 1889 Moved ...
4a594c34 1890 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 1891 ... here.
4a594c34 1892 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 1893 Moved ...
4a594c34
AZ
1894 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
1895 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 1896 Moved ...
4a594c34 1897 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 1898 ... here.
4a594c34 1899 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 1900 Moved ...
4a594c34 1901 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 1902 ... here.
4a594c34 1903 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 1904 Moved ...
4a594c34
AZ
1905 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
1906 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 1907 Moved ...
4a594c34 1908 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 1909 ... here.
4a594c34 1910 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 1911 Moved ...
4a594c34
AZ
1912 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
1913 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 1914 Moved ...
4a594c34
AZ
1915 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
1916 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 1917 Moved ...
4a594c34 1918 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 1919 ... here.
4a594c34 1920 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 1921 Moved ...
4a594c34 1922 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 1923 ... here.
4a594c34 1924 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 1925 Moved ...
4a594c34 1926 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 1927 ... here.
4a594c34 1928 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 1929 Moved ...
4a594c34
AZ
1930 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
1931 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 1932 Moved ...
4a594c34 1933 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 1934 ... here.
4a594c34 1935 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 1936 Moved ...
4a594c34 1937 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 1938 ... here.
4a594c34
AZ
1939 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
1940 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
1941 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
1942 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
1943 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 1944 Moved ...
4a594c34 1945 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 1946 ... here.
4a594c34
AZ
1947 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
1948 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
1949 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
1950 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
1951 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
1952 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
1953 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
1954 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
1955 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
1956 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
1957 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
1958 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
1959 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 1960 Moved ...
4a594c34
AZ
1961 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
1962 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 1963 Moved ...
4a594c34
AZ
1964 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
1965 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
1966 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
1967 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 1968 Moved ...
4a594c34
AZ
1969 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
1970 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
1971 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
1972 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
1973 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
1974 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
1975 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 1976
0570cfed
W
19772014-06-10 Wilco <wdijkstr@arm.com>
1978
1979 * math/test-fenv-return.c: New file.
1980 * math/Makefile: Add new test test-fenv-return.
1981
f8ba1b56
JM
19822014-06-10 Joseph Myers <joseph@codesourcery.com>
1983
1984 [BZ #17042]
1985 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
1986 when x - 1 is zero.
1987 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
1988 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1989 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
1990 0.0L for an argument of 1.0L.
1991 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
1992 Likewise.
1993 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
1994 value when x - 1 is zero.
1995 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
1996 * sysdeps/i386/fpu/libm-test-ulps: Update.
1997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1998
2c3520d9
BO
19992014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
2000
2001 [BZ #15119]
2002 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
2003
acaa4d24
RM
20042014-06-09 Roland McGrath <roland@hack.frob.com>
2005
2006 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
2007 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
2008
962b744d
RM
20092014-06-09 Roland McGrath <roland@hack.frob.com>
2010
d752f0cc
RM
2011 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2012 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
2013
34eda6d1
RM
2014 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2015 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
2016
50f0a637
RM
2017 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2018 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
2019
08f41f04
RM
2020 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2021 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
2022
962b744d
RM
2023 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
2024 if not already defined.
2025 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
2026 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
2027 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
2028 (TLS_INIT_TP): Use it.
2029 (TLS_DEFINE_INIT_TP): New macro.
2030 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
2031
09f19b05
JM
20322014-06-09 Joseph Myers <joseph@codesourcery.com>
2033
2034 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
2035 constant.
2036 [POSIX] (IXANY): Likewise.
2037 [POSIX] (OLCUC): Likewise.
2038 [POSIX || POSIX2008] (CBAUD): Do not allow.
2039 [POSIX || POSIX2008] (DEFECHO): Likewise.
2040 [POSIX || POSIX2008] (ECHOCTL): Likewise.
2041 [POSIX || POSIX2008] (ECHOKE): Likewise.
2042 [POSIX || POSIX2008] (ECHOPRT): Likewise.
2043 [POSIX || POSIX2008] (EXTA): Likewise.
2044 [POSIX || POSIX2008] (EXTB): Likewise.
2045 [POSIX || POSIX2008] (FLUSHO): Likewise.
2046 [POSIX || POSIX2008] (LOBLK): Likewise.
2047 [POSIX || POSIX2008] (PENDIN): Likewise.
2048 [POSIX || POSIX2008] (SWTCH): Likewise.
2049 [POSIX || POSIX2008] (VDISCARD): Likewise.
2050 [POSIX || POSIX2008] (VDSUSP): Likewise.
2051 [POSIX || POSIX2008] (VLNEXT): Likewise.
2052 [POSIX || POSIX2008] (VREPRINT): Likewise.
2053 [POSIX || POSIX2008] (VSTATUS): Likewise.
2054 [POSIX || POSIX2008] (VWERASE): Likewise.
2055 (B*): Change to B[0123456789]*.
2056 * conform/data/time.h-data [POSIX || UNIX98]
2057 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
2058 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2059 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
2060 [POSIX] (tm_*): Do not allow.
2061
686554bf
JM
20622014-06-07 Joseph Myers <joseph@codesourcery.com>
2063
2064 * Makefile (install): Don't set LANGUAGE.
2065 * Makefile.in (install): Likewise.
2066 * assert/Makefile (test-assert-ENV): Remove variable.
2067 (test-assert-perr-ENV): Likewise.
2068 * elf/Makefile (neededtest4-ENV): Likewise.
2069 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2070 [$(cross-compiling) = no]: Don't set LANGUAGE.
2071 * io/ftwtest-sh (LANG): Remove variable.
2072 * libio/Makefile (tst-widetext-ENV): Likewise.
2073 * manual/install.texi (Running make install): Don't refer to
2074 environment settings for make install.
2075 * INSTALL: Regenerated.
2076 * nptl/tst-tls6.sh: Don't set LANG.
2077 * posix/globtest.sh (LANG): Remove variable.
2078 * string/Makefile (tester-ENV): Likewise.
2079 (inl-tester-ENV): Likewise.
2080 (noinl-tester-ENV): Likewise.
2081 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2082 [$(cross-compiling) = no]: Don't set LANGUAGE.
2083 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
2084 without explicit environment settings.
2085
68e6b6b1
RM
20862014-06-06 Roland McGrath <roland@hack.frob.com>
2087
2088 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
2089 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
2090 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
2091 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
2092
4d3ae034
CM
20932014-06-06 Chris Metcalf <cmetcalf@tilera.com>
2094
2095 * crypt/crypt-private.h [DOS]: Add some includes taken from the
2096 other files in the crypt directory.
2097 * crypt/crypt.c: Remove duplicate includes.
2098 * crypt/crypt-entry.c: Likewise.
2099 * crypt/crypt_util.c: Likewise.
2100
8540f6d2
JM
21012014-06-06 Joseph Myers <joseph@codesourcery.com>
2102
2103 * Makeconfig (run-program-env): New variable.
2104 (run-program-prefix-before-env): Likewise.
2105 (run-program-prefix-after-env): Likewise.
2106 (run-program-prefix): Define in terms of new variables.
2107 (built-program-cmd-before-env): New variable.
2108 (built-program-cmd-after-env): Likewise.
2109 (built-program-cmd): Define in terms of new variables.
2110 (test-program-prefix-before-env): New variable.
2111 (test-program-prefix-after-env): Likewise.
2112 (test-program-prefix): Define in terms of new variables.
2113 (test-program-cmd-before-env): New variable.
2114 (test-program-cmd-after-env): Likewise.
2115 (test-program-cmd): Define in terms of new variables.
2116 * Rules (make-test-out): Use $(run-program-env).
2117 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
2118 (help): Do not mention environment variables. Mention
2119 --timeoutfactor option.
2120 (timeoutfactor): New variable.
2121 (blacklist_exports): Remove function.
2122 (exports): Remove variable.
2123 (command): Do not include ${exports}.
2124 * manual/install.texi (Configuring and compiling): Do not mention
2125 test wrappers preserving environment variables. Mention that last
2126 assignment to a variable must take precedence.
2127 * INSTALL: Regenerated.
2128 * benchtests/Makefile (run-bench): Use $(run-program-env).
2129 * catgets/Makefile ($(objpfx)test1.cat): Use
2130 $(built-program-cmd-before-env), $(run-program-env) and
2131 $(built-program-cmd-after-env).
2132 ($(objpfx)test2.cat): Do not specify environment variables
2133 explicitly.
2134 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
2135 $(run-program-env) and $(built-program-cmd-after-env).
2136 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
2137 $(run-program-env) and $(test-program-cmd-after-env).
2138 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
2139 explicitly.
2140 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
2141 run_program_env and test_program_cmd_after_env arguments.
2142 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
2143 * elf/tst-pathopt.sh: Use run_program_env argument.
2144 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
2145 $(test-wrapper-env) and $(run-program-env).
2146 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
2147 run_program_env arguments.
2148 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
2149 * intl/Makefile ($(objpfx)tst-gettext.out): Use
2150 $(test-program-prefix-before-env), $(run-program-env) and
2151 $(test-program-prefix-after-env).
2152 ($(objpfx)tst-gettext2.out): Likewise.
2153 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
2154 run_program_env and test_program_prefix_after_env arguments.
2155 * intl/tst-gettext2.sh: Likewise.
2156 * intl/tst-gettext4.sh: Do not set environment variables
2157 explicitly.
2158 * intl/tst-gettext6.sh: Likewise.
2159 * intl/tst-translit.sh: Likewise.
2160 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
2161 $(test-program-prefix-before-env), $(run-program-env) and
2162 $(test-program-prefix-after-env).
2163 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
2164 run_program_env and test_program_prefix_after_env arguments.
2165 * math/Makefile (run-regen-ulps): Use $(run-program-env).
2166 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
2167 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
2168 explicitly with each use of ${test_wrapper_env}.
2169 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
2170 $(test-program-prefix-before-env), $(run-program-env) and
2171 $(test-program-prefix-after-env).
2172 * posix/tst-getconf.sh: Do not set environment variables
2173 explicitly.
2174 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
2175 run_program_env and test_program_prefix_after_env arguments.
2176 * stdio-common/tst-printf.sh: Do not set environment variables
2177 explicitly.
2178 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
2179 $(test-program-prefix-before-env), $(run-program-env) and
2180 $(test-program-prefix-after-env).
2181 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
2182 run_program_env and test_program_prefix_after_env arguments.
2183 Split $test calls into $test_pre and $test.
2184 * timezone/Makefile (build-testdata): Use
2185 $(built-program-cmd-before-env), $(run-program-env) and
2186 $(built-program-cmd-after-env).
2187
ed36bfa1
AZ
21882014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2189
2190 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
2191 strlen for non SHARED builds.
2192
fc75bf46
SP
21932014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2194
2195 * nptl/allocatestack.c (check_list): Inlined function...
2196 (__reclaim_stacks): ... here.
2197
d89b3d80
OB
21982014-06-05 Ondřej Bílka <neleai@seznam.cz>
2199
2200 [BZ #15698]
2201 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2202 memory overrun.
2203
2bf18041
JM
22042014-06-05 Joseph Myers <joseph@codesourcery.com>
2205
2206 * Rules (make-test-out): Include
2207 LOCPATH=$(common-objpfx)localedata in default environment.
2208 * debug/Makefile (tst-chk1-ENV): Remove variable.
2209 (tst-chk2-ENV): Likewise.
2210 (tst-chk3-ENV): Likewise.
2211 (tst-chk4-ENV): Likewise.
2212 (tst-chk5-ENV): Likewise.
2213 (tst-chk6-ENV): Likewise.
2214 (tst-lfschk1-ENV): Likewise.
2215 (tst-lfschk2-ENV): Likewise.
2216 (tst-lfschk3-ENV): Likewise.
2217 (tst-lfschk4-ENV): Likewise.
2218 (tst-lfschk5-ENV): Likewise.
2219 (tst-lfschk6-ENV): Likewise.
2220 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
2221 (tst-iconv7-ENV): Likewise.
2222 * intl/Makefile (LOCPATH-ENV): Likewise.
2223 (tst-codeset-ENV): Likewise.
2224 (tst-gettext3-ENV): Likewise.
2225 (tst-gettext5-ENV): Likewise.
2226 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
2227 (tst-fopenloc-ENV): Likewise.
2228 (tst-fgetws-ENV): Remove variable.
2229 (tst-ungetwc1-ENV): Likewise.
2230 (tst-ungetwc2-ENV): Likewise.
2231 (bug-ungetwc2-ENV): Likewise.
2232 (tst-swscanf-ENV): Likewise.
2233 (bug-ftell-ENV): Likewise.
2234 (tst-fgetwc-ENV): Likewise.
2235 (tst-fseek-ENV): Likewise.
2236 (tst-ftell-partial-wide-ENV): Likewise.
2237 (tst-ftell-active-handler-ENV): Likewise.
2238 (tst-ftell-append-ENV): Likewise.
2239 * posix/Makefile (tst-fnmatch-ENV): Likewise.
2240 (tst-regexloc-ENV): Likewise.
2241 (bug-regex1-ENV): Likewise.
2242 (tst-regex-ENV): Likewise.
2243 (tst-regex2-ENV): Likewise.
2244 (bug-regex5-ENV): Likewise.
2245 (bug-regex6-ENV): Likewise.
2246 (bug-regex17-ENV): Likewise.
2247 (bug-regex18-ENV): Likewise.
2248 (bug-regex19-ENV): Likewise.
2249 (bug-regex20-ENV): Likewise.
2250 (bug-regex22-ENV): Likewise.
2251 (bug-regex23-ENV): Likewise.
2252 (bug-regex25-ENV): Likewise.
2253 (bug-regex26-ENV): Likewise.
2254 (bug-regex30-ENV): Likewise.
2255 (bug-regex32-ENV): Likewise.
2256 (bug-regex33-ENV): Likewise.
2257 (bug-regex34-ENV): Likewise.
2258 (bug-regex35-ENV): Likewise.
2259 (tst-rxspencer-ENV): Likewise.
2260 (tst-rxspencer-no-utf8-ENV): Likewise.
2261 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
2262 (tst-sscanf-ENV): Likewise.
2263 (tst-swprintf-ENV): Likewise.
2264 (tst-swscanf-ENV): Likewise.
2265 (test-vfprintf-ENV): Likewise.
2266 (scanf13-ENV): Likewise.
2267 (bug14-ENV): Likewise.
2268 (tst-grouping-ENV): Likewise.
2269 * stdlib/Makefile (tst-strtod-ENV): Likewise.
2270 (tst-strtod3-ENV): Likewise.
2271 (tst-strtod4-ENV): Likewise.
2272 (tst-strtod5-ENV): Likewise.
2273 (testmb2-ENV): Likewise./
2274 * string/Makefile (tst-strxfrm-ENV): Likewise.
2275 (tst-strxfrm2-ENV): Likewise.
2276 (bug-strcoll1-ENV): Likewise.
2277 (test-strcasecmp-ENV): Likewise.
2278 (test-strncasecmp-ENV): Likewise.
2279 * time/Makefile (tst-strptime-ENV): Likewise.
2280 (tst-ftime_l-ENV): Likewise.
2281 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
2282 (tst-mbrtowc-ENV): Likewise.
2283 (tst-wcrtomb-ENV): Likewise.
2284 (tst-mbrtowc2-ENV): Likewise.
2285 (tst-c16c32-1-ENV): Likewise.
2286 (tst-mbsnrtowcs-ENV): Likewise.
2287
cd1fb604
OB
22882014-06-05 Ondřej Bílka <neleai@seznam.cz>
2289
2290 * manual/resource.texi (How to get information about the memory
2291 subsystem?): Fix typo.
2292 Reported by Peon de la Parra Ivan <peon@keba.com>
2293
b42eca7d
GY
22942014-06-03 Guo Yixuan <culu.gyx@gmail.com>
2295
2296 [BZ #16882]
2297 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
2298 (pthread_spin_lock): Branch out of spin loop to proper location.
2299 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
2300 (pthread_spin_lock): Likewise.
2301
902b71f9
DM
2302 * nptl/tst-spin4.c: New test.
2303 * nptl/Makefile (tests): Add tst-spin4.
2304
f9d2d032
AS
23052014-06-03 Andreas Schwab <schwab@suse.de>
2306
2307 [BZ #15946]
2308 * resolv/res_send.c (send_dg): Reload file descriptor after
2309 calling reopen.
2310
cf7bfd28
SL
23112014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
2312
2313 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2314
111cc714
RH
23152014-06-03 Richard Henderson <rth@redhat.com>
2316
89b4bd6b
RH
2317 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
2318 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
2319 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
2320 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
2321 in the SAVE_PID block.
2322 (__libc_vfork): New alias.
71840409 2323 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 2324
111cc714
RH
2325 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
2326 child in registers, not on the stack. Remove RESET_PID conditionals.
2327 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
2328
ccc39911
MS
23292014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
2330
2331 * sysdeps/aarch64/libm-test-ulps: Regenerate.
2332
693096cc
W
23332014-06-03 Wilco <wdijkstr@arm.com>
2334
2335 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
2336 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
2337 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2338 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
2339 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
2340 Likewise.
2341
0b4366bc
W
23422014-06-03 Wilco <wdijkstr@arm.com>
2343
2344 * sysdeps/aarch64/fpu/math_private.h
2345 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
2346 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
2347 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
2348 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2349 Fix declarations.
2350
8747cd03
KS
23512014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2352
2353 * crypt/crypt-private.h: Include ufc-crypt.h.
2354 (__b64_from_24bit): Declare extern.
2355 * crypt/crypt_util.c(__b64_from_24bit): New function.
2356 (b64t): New static const variable.
2357 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
2358 (b64t): Remove variable.
2359 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
2360 * crypt/sha256-crypt.c: Include crypt-private.h.
2361 (b64t): Remove variable.
2362 (__sha256_crypt_r): Remove b64_from_24bit and replace
2363 with __b64_from_24bit.
2364 * crypt/sha512-crypt.c: Likewise.
2365
d936d379
RM
23662014-06-02 Roland McGrath <roland@hack.frob.com>
2367
2368 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
2369 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
2370 Label the code __libc_vfork rather than __vfork.
2371 [!NOT_IN_libc] (vfork): Define as weak alias.
2372 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
2373 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
2374 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
2375
9fa76613
SP
23762014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2377
2378 * malloc/malloc.c (malloc_info): Fix format specifier for
2379 n_mmaps.
2380
a88dadbe
W
23812014-06-02 Wilco <wdijkstr@arm.com>
2382
2383 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
2384 FPCR write.
2385
c95b3011
W
23862014-06-02 Wilco <wdijkstr@arm.com>
2387
2388 [BZ #17009]
2389 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
2390 Rewrite to reduce FPCR/FPSR accesses.
2391
6b4d7a90
DM
23922014-06-01 David S. Miller <davem@davemloft.net>
2393
2394 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2395
30f3d07c
DM
23962014-05-31 David S. Miller <davem@davemloft.net>
2397
2398 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
2399 to occur in round to nearest mode when |x| >= 2.0
2400
74f31c18
RH
24012014-05-30 Richard Henderson <rth@twiddle.net>
2402
f0712b54
RH
2403 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
2404 (PSEUDO_RET_NOERRNO): Remove.
2405 (ret): Don't redefine.
2406 (ret_NOERRNO): Define in terms of ret.
2407 (ret_ERRVAL): Likewise.
2408
74f31c18
RH
2409 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
2410 use of PSEUDO_RET; perform the error check directly.
2411
30477995
MM
24122014-05-30 Marko Myllynen <myllynen@redhat.com>
2413
2414 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
2415 with __int128_t.
2416
62a58816
SP
24172014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2418
2419 * malloc/malloc (malloc_info): Fix formatting.
2420
4d653a59
SP
24212014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2422 Roland McGrath <roland@hack.frob.com>
2423
2424 * malloc/malloc (malloc_info): Also print mmapped statistics.
2425
5190c17f
RM
24262014-05-30 Roland McGrath <roland@hack.frob.com>
2427
2428 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
2429 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
2430
987c0269
OB
24312014-05-30 Ondřej Bílka <neleai@seznam.cz>
2432
2433 * malloc/malloc.c (malloc_info): Inline mi_arena.
2434
af4e8ef9
RH
24352014-05-29 Richard Henderson <rth@twiddle.net>
2436
1670e207
RH
2437 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
2438 Remove comma before expanding ASM_ARGS_##nr.
2439 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
2440 Make _x0 a strict output; make _x8 a strict input; adjust expansion
2441 of ASM_ARGS_##nr.
2442 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
2443 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
2444 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
2445 (ASM_ARGS_1): Add leading comma.
2446
11a28aee
RH
2447 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
2448 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
2449 to __errno_location.
2450 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
2451 Remove the expected plt for __errno_location.
2452
a17e5ffb 2453 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 2454 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
2455 call to __read_tp.
2456
b5be4597
RH
2457 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2458 Always allocate 64 bytes of stack frame. Use ldp/stp to create
2459 it and break it down.
2460 (DOCARGS_0, DOCARGS_1): Do nothing.
2461 (DOCARGS_2): Update to store into the new stack frame.
2462 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
2463 (UNDOCARGS_1): Update to restore from the new stack frame.
2464 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
2465 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
2466
645d44ab
RH
2467 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2468 (SINGLE_THREAD_P): New parameter for result regno.
2469 (PSEUDO): Update to match; use cbz instead of beq.
2470
a8b4f04a
RH
2471 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2472 Use ENTRY to define the _nocancel entry point. Share the syscall
2473 and syscall error check paths with the cancel path.
2474 (PSEUDO_END): New.
2475
af4e8ef9
RH
2476 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
2477 whitespace; tabs before and after asm mnemonics.
2478
26b0d2e1
EW
24792014-05-29 Eric Wong <normalperson@yhbt.net>
2480
2481 [BZ #15132]
2482 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2483 Call fstat64 or stat64 internally, depending on arguments passed.
2484 Replace stat buffer argument with file descriptor argument.
2485 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
2486 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2487 Pass fd to __internal_statvfs instead of calling fstat64.
2488 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
2489 Pass fd to __internal_statvfs64 instead of calling fstat64.
2490 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
2491 Pass -1 to __internal_statvfs instead of calling stat64.
2492 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
2493 Pass -1 to __internal_statvfs64 instead of calling stat64.
2494
1efe2bd9
RM
24952014-05-28 Roland McGrath <roland@hack.frob.com>
2496
0d3b7a19
RM
2497 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
2498 that was previously under [RESET_PID].
2499 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
2500
1efe2bd9
RM
2501 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
2502 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
2503
a6bea3ca
RM
25042014-05-27 Roland McGrath <roland@hack.frob.com>
2505
30b6629e
RM
2506 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
2507
a6bea3ca
RM
2508 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
2509 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
2510
3dfb9a5c
OB
25112014-05-27 Ondřej Bílka <neleai@seznam.cz>
2512
2513 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
2514
774f9285
AS
25152014-05-27 Andreas Schwab <schwab@suse.de>
2516
2517 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
2518 TLS_INIT_TP macro.
2519 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2520 * elf/rtld.c (init_tls, dl_main): Likewise.
2521 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
2522 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
2523 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
2524 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
2525 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
2526 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
2527 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
2528 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
2529 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
2530 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
2531 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
2532 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
2533 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
2534 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
2535 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
2536 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
2537 * sysdeps/generic/tls.h: Update description.
2538
36ffe739
WN
25392014-05-27 Will Newton <will.newton@linaro.org>
2540
2541 [BZ #16990]
2542 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
2543 and restore r2 rather than just restoring.
2544
2482ae43
SP
25452014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2546
2547 [BZ #16724]
2548 * libio/tst-ftell-append.c: New test case.
2549 * libio/Makefile (tests): Add test case.
2550 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
2551 append mode.
2552 * libio/wfileops.c (do_ftell_wide): Likewise.
2553
3d1024e8
AZ
25542014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2555
bab90016
AZ
2556 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2557
c7a8d667
AZ
2558 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
2559 ...
2560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
2561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2562 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
2563 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
2564 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
2565 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
2566 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
2567 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
2568 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2569 Moved ...
2570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
2571 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2572 Moved ...
2573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
2574 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
2575 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
2576 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
2577 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
2578 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
2579 ...
2580 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
2581 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
2582 Moved ...
2583 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
2584 here.
2585 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
2586 ...
2587 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
2588 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
2589 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
2590
daee7851
AZ
2591 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
2592 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
2593 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
2594 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
2595
50a40819
AZ
2596 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
2597 merge into ...
2598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
2599 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
2600 ...
2601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
2602 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
2603 ...
2604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
2605 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2606 Moved ...
2607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
2608 here.
2609 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2610 Moved ...
2611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
2612 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2613 Moved ...
2614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
2615
8464c2a1
AZ
2616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
2617 conditional [RESET_PID].
2618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
2619 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
2620 removed.
2621 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
2622 removed.
2623
3d1024e8
AZ
2624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
2625 <tcb-offsets.h>.
2626 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2627 (__libc_vfork): New strong alias.
2628 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
2629 removed.
2630 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
2631 Removed.
2632
2633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
2634 <tcb-offsets.h>.
2635 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
2636 (__libc_vfork): New strong alias.
2637 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
2638 removed.
2639 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
2640 removed.
2641
fdfd175d
CD
26422014-05-26 Carlos O'Donell <carlos@redhat.com>
2643
2644 * malloc/malloc.c (mi_arena): New function.
2645 (malloc_info): Remove nested function mi_arena. Call non-nosted
2646 function mi_arena.
2647
d298c416
AZ
26482014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2649
2650 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
2651 by insrwi.
2652 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
2653 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
2654 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
2655 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
2656 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
2657 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
2658 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
2659
b60ea6ff
AS
26602014-05-26 Andreas Schwab <schwab@suse.de>
2661
2662 [BZ #16984]
2663 * locale/programs/repertoire.c (repertoire_read): Add slash
2664 between I18NPATH element and file name.
2665 * locale/programs/locfile.c (locfile_read): Likewise.
2666
67365926
SL
26672014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
2668
2669 * nptl/pthread_mutexattr_settype.c
2670 (__pthread_mutexattr_settype):
2671 Disable lock elision for PTHREAD_MUTEX_NORMAL.
2672
f8bdf1f0
SL
26732014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
2674
2675 * nptl/tst-mutex5 (do_test):
2676 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
2677
15eaf6ff
SP
26782014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2679
2680 * benchtests/README: Document 'init' directive.
2681 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
2682 BENCH_INIT.
2683 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
2684 (parse_file): Recognize 'init' directive.
2685
75f11331
KM
26862014-05-26 Kyle McMartin <kyle@redhat.com>
2687
2688 [BZ #16796]
2689 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
2690 alignment of struct pthread.
2691
c3ec475c
SP
26922014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2693
2694 [BZ #16878]
2695 * nscd/netgroupcache.c (addgetnetgrentX): Look for
2696 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2697 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
2698 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2699
82aab97c
RH
27002014-05-25 Richard Henderson <rth@twiddle.net>
2701
aa2f176d
RH
2702 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2703 (SINGLE_THREAD_P_PIC): Remove.
2704 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
2705 (SINGLE_THREAD_P_PIC): Remove.
2706
ca3cfa40
RH
2707 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
2708 branch to syscall error ...
2709 (PSEUDO): ... here.
2710 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
2711 from __local_syscall_error to .Lsyscall_error.
2712 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
2713 (SYSCALL_ERROR): Update label name.
2714
6e6c2d01
RH
2715 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2716 Do not use DOARGS/UNDOARGS.
2717 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
2718 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
2719 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
2720 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
2721 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
2722
c69abcee
RH
2723 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
2724 block comment.
2725
82aab97c
RH
2726 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
2727 define if !NOT_IN_libc.
2728 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
2729 define with non-default symbol versions.
2730
8820e3ac
RH
27312014-05-23 Richard Henderson <rth@twiddle.net>
2732
900e445f
RH
2733 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
2734 (vfork, __vfork): Define via compat_symbol.
2735
8820e3ac
RH
2736 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
2737 [!HAVE_IFUNC] (vfork_compat): Remove.
2738 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
2739
e59252a5
JM
27402014-05-23 Joseph Myers <joseph@codesourcery.com>
2741
2742 [BZ #16978]
2743 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
2744 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
2745 variable.
2746
132c7f5f
RH
27472014-05-23 Richard Henderson <rth@twiddle.net>
2748
bc89e962
RH
2749 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
2750 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
2751 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
2752 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
2753
2754 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
2755 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
2756 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
2757 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
2758 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
2759 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
2760 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
2761 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
2762 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
2763 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
2764 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
2765 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
2766 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
2767 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
2768 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
2769 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
2770 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
2771 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
2772 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
2773 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
2774 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
2775 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
2776 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
2777 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
2778 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
2779 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
2780 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
2781 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
2782 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
2783 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
2784 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
2785 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
2786 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
2787 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
2788 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
2789 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
2790 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
2791 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
2792 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
2793 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
2794 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
2795 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
2796 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
2797 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
2798 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
2799 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
2800 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
2801 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
2802 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
2803 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
2804 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
2805 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
2806 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
2807 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
2808 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
2809 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
2810
e2fa4bc2
RH
2811 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
2812 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
2813 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
2814 before exiting on error.
2815 (__libc_vfork): New strong alias.
2816 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
2817 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
2818
279b24e2
RH
2819 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
2820 that was previously under [RESET_PID].
2821 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
2822
132c7f5f
RH
2823 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
2824
b72592e7
JM
28252014-05-23 Joseph Myers <joseph@codesourcery.com>
2826
2827 [BZ #16977]
2828 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
2829 value when x - 1 is zero.
2830 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
2831 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
2832 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
2833 0.0L for an argument of 1.0L.
2834 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
2835 Likewise.
2836 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
2837 value when x - 1 is zero.
2838 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
2839 * sysdeps/i386/fpu/libm-test-ulps: Update.
2840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2841
2302d679
RV
28422014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2843
2844 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
2845 alphasort and versionsort.
2846
32999d63
AZ
28472014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2848
2849 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
2850 macro.
2851 [copysignf]: Likewise.
2852
019324d0
SP
28532014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2854
2855 * crypt/md5-crypt.c: Fix formatting.
2856
34fff5c2
KS
28572014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2858
2859 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
2860 (b64_from_24bit): New function.
2861
3d2badac
AZ
28622014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2863
2864 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
2865 libc_hidden_builtin_def to ifunc.
2866 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2867 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
2868
f7bb179f 28692014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
2870
2871 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
2872 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
2873
4134b50d
JM
28742014-05-21 Joseph Myers <joseph@codesourcery.com>
2875
bb7d0337
JM
2876 * nscd/Depend (linuxthreads): Remove.
2877 (nptl): Add.
2878 * resolv/Depend (linuxthreads): Remove.
2879 * rt/Depend (linuxthreads): Remove.
2880
4134b50d
JM
2881 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
2882 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
2883 $(common-objpfx)elf/.
2884 (link-libc-before-gnulib): Likewise.
2885 (elfobjdir): Remove variable.
2886 * Makefile (install): Use $(elf-objpfx) instead of
2887 $(common-objpfx)elf/.
2888 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
2889 $(elfobjdir)/.
2890 (link-libc-deps): Likewise.
2891 ($(common-objpfx)libc.so): Likewise.
2892 ($(common-objpfx)linkobj/libc.so): Likewise.
2893 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
2894 instead of $(common-objpfx)elf/.
2895 (symbolic-link-list): Likewise.
2896 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2897 [$(cross-compiling) = no]: Likewise.
2898 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
2899 $(elfobjdir)/.
2900 (static-gnulib-arch): Likewise.
2901 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2902 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
2903 $(common-objpfx)elf/.
2904
3612eb8f
RH
29052014-05-21 Richard Henderson <rth@redhat.com>
2906
a6b3657b
RH
2907 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2908 (SINGLE_THREAD_P): Use the correct width load. Fold
2909 into the ldr offset.
2910
3612eb8f
RH
2911 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
2912 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
2913
175cef41
JM
29142014-05-20 Joseph Myers <joseph@codesourcery.com>
2915
2916 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
2917 (libgcc_s_resume): Use __attribute_used__.
2918 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
2919 Likewise.
2920
e13bccd3
AZ
29212014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2922
2923 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
2924 optimization when used with float constants.
2925
7c112a38
AZ
2926 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2927
ae75a883
AJ
29282014-05-20 Aurelien Jarno <aurelien@aurel32.net>
2929
2930 [BZ #16915]
2931 * locale/nl_langinfo_l.c: Make direct reference to every
2932 _nl_current_CATEGORY symbol.
2933 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
2934 (tests-static): Add tst-langinfo-static.
2935 (tests-special): Add tst-langinfo-static.out.
2936 ($(objpfx)tst-langinfo.out): Redirect output.
2937 ($(objpfx)tst-langinfo-static.out): New.
2938 * localedata/tst-langinfo.sh: Send output to stdout.
2939 * localedata/tst-langinfo-static.c: New file.
2940
4406c41c
AJ
2941 [BZ #16965]
2942 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
2943 when the shift amount is modulo the limb size.
2944
4c0a1e63
RH
29452014-05-20 Richard Henderson <rth@redhat.com>
2946
de9d8f20
RH
2947 [BZ #16967]
2948 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
2949 Change type of sa_flags from unsigned int to int.
2950
4c0a1e63
RH
2951 [BZ #16966]
2952 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
2953
2954 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
2955
a60339aa
WN
29562014-05-20 Will Newton <will.newton@linaro.org>
2957
2958 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2959 Test the return value of the system call in the nocancel case.
2960
7d05a816
YR
29612014-05-20 Will Newton <will.newton@linaro.org>
2962 Yvan Roux <yvan.roux@linaro.org>
2963
2964 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
2965 #include of asm/ptrace.h.
2966 (PTRACE_GET_THREAD_AREA): Remove #undef.
2967 (PTRACE_GETHBPREGS): Likewise.
2968 (PTRACE_SETHBPREGS): Likewise.
2969 (struct user_regs_struct): New structure.
2970 (struct user_fpsimd_struct): New structure.
2971 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
2972 #include of asm/ptrace.h and second #include of sys/user.h.
2973 (PTRACE_GET_THREAD_AREA): Remove #undef.
2974 (PTRACE_GETHBPREGS): Likewise.
2975 (PTRACE_SETHBPREGS): Likewise.
2976 (ELF_NGREG): Use new struct user_regs_struct.
2977 (elf_fpregset_t): Use new struct user_fpsimd_struct.
2978
af121e37
AZ
29792014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2980
2981 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
2982 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
2983
834caf06
JM
29842014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2985
2986 [BZ #16958]
2987 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
2988 membar to avoid block loads/stores to overlap previous stores.
2989
e184a918
RH
29902014-05-17 Richard Henderson <rth@redhat.com>
2991
2992 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
2993 Create the __##syscall_name##_nocancel entry point.
2994 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
2995 Remove; let the sysdep-cancel.h code create it.
2996
f56c7a6a
DM
29972014-05-17 David S. Miller <davem@davemloft.net>
2998
2999 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
3000 Protect with __USE_GNU.
3001 (TIOCSET_TEMPT): Likewise.
3002 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3003 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
3004 these are already provided in bits/ioctl-types.h
3005
f75616b2
RM
30062014-05-16 Roland McGrath <roland@hack.frob.com>
3007
3edeca86
RM
3008 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
3009 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
3010
f75616b2
RM
3011 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
3012 Use wait4 regardless of [__NR_waitpid].
3013
deb0f7f6
MR
30142014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3015
3016 PR libgcc/60166
3017 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3018 (_FP_NANSIGN_Q): Set the quiet bit.
3019
79520f4b
JM
30202014-05-16 Joseph Myers <joseph@codesourcery.com>
3021
3022 * benchtests/Makefile
3023 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
3024 not $(common-objpfx)math/libm.so.
3025 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
3026 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
3027 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
3028 $(common-objpfx)dlfcn/libdl.so.
3029 ($(objpfx)tst-audit8): Depend on $(libm), not
3030 $(common-objpfx)math/libm.so.
3031 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
3032 not $(common-objpfx)dlfcn/libdl.so.
3033 * math/Makefile
3034 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3035 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
3036 [$(build-shared) = yes].
3037 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
3038 $(common-objpfx)nptl/libpthread.so.
3039 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
3040 $(common-objpfx)math/libm.so$(libm.so-version) or
3041 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
3042 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
3043 $(common-objpfx)dlfcn/libdl.so.
3044 * setjmp/Makefile (link-libm): Remove variable.
3045 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
3046 * stdio-common/Makefile (link-libm): Remove variable.
3047 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
3048 * stdlib/Makefile (link-libm): Remove variable.
3049 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
3050 ($(objpfx)tst-strtod-round): Likewise.
3051 ($(objpfx)tst-tininess): Likewise.
3052 ($(objpfx)tst-strtod-underflow): Likewise.
3053 ($(objpfx)tst-strtod6): Likewise.
3054 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
3055 $(libdl), not $(common-objpfx)nptl/libpthread.so and
3056 $(common-objpfx)dlfcn/libdl.so.
3057
026b0fe4
AZ
30582014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3059
3060 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
3061 BSD terminal modes definitions.
3062
def4bcb2
RM
30632014-05-16 Roland McGrath <roland@hack.frob.com>
3064
fe39b021
RM
3065 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
3066 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
3067
1d1fc46e 3068 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
3069 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
3070 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
3071 Don't do #include_next.
3072 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
3073 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
3074 Don't do #include_next.
3075 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
3076 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
3077 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
3078 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
3079
c72399fb
AM
30802014-05-16 Allan McRae <allan@archlinux.org>
3081
d51d659d
AM
3082 * po/sv.po: Update Swedish translation from translation project.
3083
c72399fb
AM
3084 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
3085 in sed expression.
3086
d0583c40
AJ
30872014-05-16 Aurelien Jarno <aurelien@aurel32.net>
3088
3089 [BZ #16917]
3090 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
3091 errno if the TIOCGPTN ioctl fails with an error different than
3092 EINVAL.
3093 * login/tst-ptsname.c: New file.
3094 * login/Makefile (tests): Add tst-ptsname.
3095
d16e6ec7
AJ
3096 [BZ #16943]
3097 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
3098 and prlimit64.
3099
cf26a0cb
SP
31002014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3101
3102 [BZ #16849]
3103 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
3104 herrno to return EAI_AGAIN.
3105
5675da1e
RM
31062014-05-14 Roland McGrath <roland@hack.frob.com>
3107
a5d87b3d
RM
3108 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
3109 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
3110 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
3111 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
3112 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
3113 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
3114 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
3115 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
3116 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
3117 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
3118 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
3119 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
3120 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
3121 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
3122 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
3123 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
3124 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
3125 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
3126 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
3127 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
3128 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
3129 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
3130 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
3131 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
3132 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
3133 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
3134 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
3135 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
3136 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
3137 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
3138 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
3139 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
3140 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
3141 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
3142 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3143 Moved ...
3144 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
3145 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
3146 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
3147 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
3148 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
3149 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
3150 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
3151 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
3152 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
3153 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
3154 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
3155 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
3156 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
3157 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
3158 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
3159 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
3160 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
3161 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
3162 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
3163 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
3164 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
3165 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
3166 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
3167 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
3168 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
3169 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
3170 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
3171 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3172 Moved ...
3173 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
3174 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
3175 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
3176 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
3177 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
3178 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
3179 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
3180 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
3181 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
3182 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
3183 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
3184 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
3185 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
3186 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
3187 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
3188 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
3189 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
3190 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
3191 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
3192 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3193 Moved ...
3194 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
3195 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
3196 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
3197
039890a6
RM
3198 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
3199 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
3200 (libpthread-sysdep_routines): Add elision-related stuff here instead.
3201 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
3202 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
3203 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
3204 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
3205 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
3206 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
3207 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
3208 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
3209 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
3210 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
3211 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
3212 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
3213 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
3214 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
3215 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
3216 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
3217 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
3218 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
3219 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
3220 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
3221 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
3222 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
3223 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
3224 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
3225 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
3226 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
3227 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
3228 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
3229
65c89320
RM
3230 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
3231 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
3232
348f8e8c
RM
3233 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
3234 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
3235 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
3236 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
3237 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
3238 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
3239 Moved ...
3240 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
3241 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
3242 Moved ...
3243 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
3244 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
3245 Moved ...
3246 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
3247 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
3248 Moved ...
3249 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
3250 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
3251 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
3252 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
3253 Moved ...
3254 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
3255 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
3256 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
3257 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
3258 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
3259 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
3260 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
3261 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
3262 Moved ...
3263 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
3264 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3265 Moved ...
3266 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3267 ... here.
3268 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
3269 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
3270 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
3271 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
3272 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3273 Moved ...
3274 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3275 ... here.
3276 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
3277 Moved ...
3278 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
3279 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
3280 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
3281 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
3282 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
3283 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
3284 Moved ...
3285 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
3286 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
3287 Moved ...
3288 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
3289 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
3290 Moved ...
3291 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
3292 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
3293 Moved ...
3294 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
3295 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
3296 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
3297 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
3298 Moved ...
3299 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
3300 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
3301 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
3302 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
3303 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
3304 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
3305 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
3306 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
3307 Moved ...
3308 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
3309 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3310 Moved ...
3311 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3312 ... here.
3313 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
3314 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
3315 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
3316 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
3317 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3318 Moved ...
3319 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3320 ... here.
3321 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
3322 Moved ...
3323 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
3324 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
3325 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
3326 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
3327 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
3328 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
3329 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
3330 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
3331 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
3332 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
3333 Moved ...
3334 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
3335 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
3336 Moved ...
3337 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
3338 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
3339 Moved ...
3340 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
3341 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
3342 Moved ...
3343 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
3344 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
3345 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
3346 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
3347 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
3348 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
3349 Moved ...
3350 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
3351 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
3352 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
3353 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
3354 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
3355 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
3356 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
3357 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
3358 Moved ...
3359 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
3360 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3361 Moved ...
3362 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3363 ... here.
3364 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
3365 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
3366 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
3367 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
3368 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3369 Moved ...
3370 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3371 ... here.
3372 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
3373 Moved ...
3374 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
3375 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
3376 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
3377 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
3378 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
3379 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
3380 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
3381 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
3382 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
3383 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
3384 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
3385
5085af05
RM
3386 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
3387 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
3388
708f0813
RM
3389 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
3390 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
3391
c96067bc
RM
3392 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
3393 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
3394 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
3395 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
3396 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
3397 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
3398 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
3399 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
3400 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
3401 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
3402 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
3403 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
3404 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
3405 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
3406 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
3407 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
3408 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
3409 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
3410 Moved ...
3411 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
3412 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
3413 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
3414 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
3415 Moved ...
3416 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
3417 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
3418 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
3419 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
3420 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
3421 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
3422 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
3423 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
3424 Moved ...
3425 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
3426 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
3427 Moved ...
3428 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
3429 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
3430 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
3431 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
3432 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
3433 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
3434 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
3435 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
3436 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
3437 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
3438 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
3439 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
3440 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
3441 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
3442 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
3443 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
3444 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
3445
ec136444
RM
3446 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
3447 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
3448 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
3449 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
3450 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
3451
2fbdf533
RM
3452 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
3453 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
3454 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
3455 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
3456 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
3457 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
3458 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
3459 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
3460 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
3461 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
3462
4c68138b
RM
3463 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
3464 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
3465
4eaae765
RM
3466 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
3467 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
3468 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
3469 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
3470 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
3471 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
3472 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
3473 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
3474 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
3475 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
3476 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
3477 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
3478 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
3479 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
3480 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
3481 Update #include.
3482 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
3483 Likewise.
3484 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3485 Likewise.
3486 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3487 Likewise.
3488 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3489 Likewise.
3490 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
3491 Likewise.
3492 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
3493 Likewise.
3494 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3495 Likewise.
3496 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
3497 Likewise.
3498 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
3499 Likewise.
4ef6befa
RM
3500 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
3501 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
3502 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
3503 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
3504 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
3505 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
3506 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
3507 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
3508 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
3509 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
3510 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
3511 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
3512 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
3513 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
3514 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 3515
941d7dfd
RM
3516 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
3517 that was previously under [RESET_PID].
3518 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3519 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
3520 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
3521
1b731c35
RM
3522 * sysdeps/i386/nptl/Implies: New file.
3523 * sysdeps/x86_64/nptl/Implies: New file.
3524 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
3525 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
3526 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
3527 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
3528
e2787137
RM
3529 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
3530 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3531 (__libc_vfork): New strong alias.
3532 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
3533 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
3534
3535 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
3536 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3537 (__libc_vfork): New strong alias.
3538 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
3539 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
3540
5675da1e
RM
3541 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
3542 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3543 (__libc_vfork): New strong alias.
3544 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
3545 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
3546 * nptl/pt-vfork.c: New file.
3547 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
3548 (libpthread: GLIBC_2.20): New version set (empty).
3549
4f02e2b8
WN
35502014-05-14 Will Newton <will.newton@linaro.org>
3551
3552 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
3553 rather than #if.
3554
0bf061d3
JM
35552014-05-14 Joseph Myers <joseph@codesourcery.com>
3556
1a84c3d6
JM
3557 [BZ #16564]
3558 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
3559 arguments with exponent 65 or above.
3560 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
3561 arguments 0x1p113L or above.
3562 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
3563 to arguments 0x1p107L or above.
3564 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
3565 positive arguments with exponent 65 or above.
3566 * math/auto-libm-test-in: Add more tests of log1p.
3567 * math/auto-libm-test-out: Regenerated.
3568
01dbacd2
JM
3569 [BZ #16928]
3570 * math/s_cacos.c (__cacos): Ensure zero real part of result from
3571 non-finite arguments is +0.
3572 * math/s_cacosf.c (__cacosf): Likewise.
3573 * math/s_cacosl.c (__cacosl): Likewise.
3574 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
3575 * sysdeps/i386/fpu/libm-test-ulps: Update.
3576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3577
913d03c8
JM
3578 [BZ #16927]
3579 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
3580 value.
3581 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
3582 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
3583 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
3584 for explicit high bit of mantissa when testing for argument equal
3585 to 1.
3586 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
3587 * sysdeps/i386/fpu/libm-test-ulps: Update.
3588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3589
0bf061d3
JM
3590 [BZ #16516]
3591 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
3592 (__erf): Scale by 16 instead of 8 in potentially underflowing
3593 case. Ensure exception if result actually underflows.
3594 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
3595 (__erff): Scale by 16 instead of 8 in potentially underflowing
3596 case. Ensure exception if result actually underflows.
3597 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
3598 (efx8): Remove variable.
3599 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3600 case. Ensure exception if result actually underflows.
3601 * sysdeps/ieee754/ldbl-128ibm/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-96/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 * math/auto-libm-test-in: Add more tests of erf.
3610 * math/auto-libm-test-out: Regenerated.
3611
73ba67cb
AS
36122014-05-14 Andreas Schwab <schwab@suse.de>
3613
3d8c8bff
AS
3614 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
3615 Remove code conditionalized on USE___THREAD.
3616
73ba67cb
AS
3617 * config.h.in (HAVE_PT_CHOWN): Define as 0.
3618 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
3619 not definedness.
3620
5c521ecd
JM
36212014-05-14 Joseph Myers <joseph@codesourcery.com>
3622
5e7698c6
JM
3623 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
3624 Define unconditionally.
3625 (__ASSUME_O_CLOEXEC): Likewise.
3626 (__ASSUME_SOCK_CLOEXEC): Likewise.
3627 (__ASSUME_IN_NONBLOCK): Likewise.
3628 (__ASSUME_PIPE2): Likewise.
3629 (__ASSUME_EVENTFD2): Likewise.
3630 (__ASSUME_SIGNALFD4): Likewise.
3631 (__ASSUME_DUP3): Likewise.
3632 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3633 (__ASSUME_DUP3): Do not define.
3634 (__ASSUME_EVENTFD2): Likewise.
3635 (__ASSUME_IN_NONBLOCK): Likewise.
3636 (__ASSUME_O_CLOEXEC): Likewise.
3637 (__ASSUME_PIPE2): Likewise.
3638 (__ASSUME_SIGNALFD4): Likewise.
3639 (__ASSUME_SOCK_CLOEXEC): Likewise.
3640 (__ASSUME_UTIMES): Undefine.
3641 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3642 (__ASSUME_UTIMES): Do not define.
3643 (__ASSUME_O_CLOEXEC): Likewise.
3644 (__ASSUME_SOCK_CLOEXEC): Likewise.
3645 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
3646 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
3647 0x020621].
3648 (__ASSUME_PIPE2): Likewise.
3649 (__ASSUME_EVENTFD2): Likewise.
3650 (__ASSUME_SIGNALFD4): Likewise.
3651 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
3652 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
3653 Do not define.
3654 (__ASSUME_EVENTFD2): Likewise.
3655 (__ASSUME_SIGNALFD4): Likewise.
3656 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3657 (__ASSUME_32BITUIDS): Likewise.
3658 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3659 (__ASSUME_IPC64): Likewise.
3660 (__ASSUME_ST_INO_64_BIT): Likewise.
3661 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
3662 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
3663 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3664 (__ASSUME_UTIMES): Do not define.
3665 (__ASSUME_PSELECT): Likewise.
3666 (__ASSUME_PPOLL): Likewise.
3667 (__ASSUME_O_CLOEXEC): Likewise.
3668 (__ASSUME_SOCK_CLOEXEC): Likewise.
3669 (__ASSUME_IN_NONBLOCK): Likewise.
3670 (__ASSUME_PIPE2): Likewise.
3671 (__ASSUME_EVENTFD2): Likewise.
3672 (__ASSUME_SIGNALFD4): Likewise.
3673 (__ASSUME_DUP3): Likewise.
3674 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3675 (__ASSUME_UTIMES): Likewise.
3676 (__ASSUME_O_CLOEXEC): Likewise.
3677 (__ASSUME_SOCK_CLOEXEC): Likewise.
3678 (__ASSUME_IN_NONBLOCK): Likewise.
3679 (__ASSUME_PIPE2): Likewise.
3680 (__ASSUME_EVENTFD2): Likewise.
3681 (__ASSUME_SIGNALFD4): Likewise.
3682 (__ASSUME_DUP3): Likewise.
3683 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3684 (__ASSUME_UTIMES): Likewise.
3685 (__ASSUME_O_CLOEXEC): Likewise.
3686 (__ASSUME_SOCK_CLOEXEC): Likewise.
3687 (__ASSUME_IN_NONBLOCK): Likewise.
3688 (__ASSUME_PIPE2): Likewise.
3689 (__ASSUME_EVENTFD2): Likewise.
3690 (__ASSUME_SIGNALFD4): Likewise.
3691 (__ASSUME_DUP3): Likewise.
3692 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
3693 Likewise.
3694 (__ASSUME_UTIMES): Likewise.
3695 (__ASSUME_EVENTFD2): Likewise.
3696 (__ASSUME_SIGNALFD4): Likewise.
3697 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3698 (__ASSUME_O_CLOEXEC): Likewise.
3699 (__ASSUME_SOCK_CLOEXEC): Likewise.
3700 (__ASSUME_IN_NONBLOCK): Likewise.
3701 (__ASSUME_PIPE2): Likewise.
3702 (__ASSUME_EVENTFD2): Likewise.
3703 (__ASSUME_SIGNALFD4): Likewise.
3704 (__ASSUME_DUP3): Likewise.
3705 (__ASSUME_UTIMES): Undefine.
3706
5c521ecd
JM
3707 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
3708 feclearexcept. Remove symbol versioning code.
3709 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
3710 symbol versioning code.
3711 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
3712 symbol versioning code.
3713 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
3714 feupdateenv. Remove symbol versioning code.
3715 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
3716 fegetexceptflag. Remove symbol versioning code.
3717 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
3718 fesetexceptflag. Remove symbol versioning code.
3719 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
3720 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
3721 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
3722 (__posix_fadvise64_l32): Remove prototype.
3723 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
3724 code.
3725
5da9dfad
RM
37262014-05-13 Roland McGrath <roland@hack.frob.com>
3727
3728 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
3729 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
3730 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
3731 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
3732
893b4f37
SK
37332014-05-13 Sami Kerola <kerolasa@iki.fi>
3734
3735 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
3736 current working directory
3737
e0db6517
RM
37382014-05-13 Roland McGrath <roland@hack.frob.com>
3739
58aa195d
RM
3740 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
3741 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
3742 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
3743 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
3744 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
3745 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
3746 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
3747 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
3748 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
3749 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
3750 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
3751 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
3752 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
3753 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
3754 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
3755 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
3756 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
3757 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
3758 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
3759 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
3760 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
3761 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
3762 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
3763 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
3764 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
3765 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
3766 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
3767 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
3768 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
3769 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
3770 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
3771 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
3772 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
3773 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
3774 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
3775 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
3776 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
3777 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
3778 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
3779 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
3780 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
3781 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
3782
8c6d01f0
RM
3783 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
3784 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
3785
3786 * sysdeps/unix/sysv/linux/arm/Makefile
3787 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
3788 Add rt-aeabi_unwind_cpp_pr1.
3789 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
3790 Add nptl-aeabi_unwind_cpp_pr1.
3791 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
3792 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
3793 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
3794 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3795 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
3796 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3797
3798 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
3799 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
3800 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
3801 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
3802
bba6da4e
RM
3803 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
3804 Deconditionalize the code that was previously under [RESET_PID].
3805 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
3806
e0db6517
RM
3807 * sysdeps/generic/exit-thread.h: New file.
3808 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
3809 * include/unistd.h (__exit_thread): Remove declaration.
3810 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
3811 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
3812 * csu/libc-start.c: Include <exit-thread.h>.
3813 (LIBC_START_MAIN): Pass no argument to __exit_thread.
3814 * nptl/pthread_create.c: Include <exit-thread.h>.
3815 (start_thread): Call __exit_thread in place of __exit_thread_inline.
3816 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
3817 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
3818 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
3819 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
3820 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
3821 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
3822 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
3823 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
3824 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
3825 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
3826 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
3827 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
3828 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
3829 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
3830 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
3831 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
3832
01eb16fd
AS
38332014-05-13 Andreas Schwab <schwab@suse.de>
3834
3835 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
3836
637461d9
JM
38372014-05-12 Joseph Myers <joseph@codesourcery.com>
3838
3839 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3840 (__ASSUME_UTIMES): Do not condition on kernel version.
3841 (__ASSUME_PSELECT): Define unconditionally.
3842 (__ASSUME_PPOLL): Likewise.
3843 (__ASSUME_ATFCTS): Likewise.
3844 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
3845 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
3846 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
3847 (__ASSUME_UTIMENSAT): Define unconditionally.
3848 (__ASSUME_PRIVATE_FUTEX): Likewise.
3849 (__ASSUME_FALLOCATE): Likewise.
3850 (__ASSUME_O_CLOEXEC): Likewise.
3851 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
3852 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
3853 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
3854 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
3855 (__ASSUME_IN_NONBLOCK): Likewise.
3856 (__ASSUME_PIPE2): Likewise.
3857 (__ASSUME_EVENTFD2): Likewise.
3858 (__ASSUME_SIGNALFD4): Likewise.
3859 (__ASSUME_DUP3): Likewise.
3860 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3861 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
3862 (__ASSUME_AT_RANDOM): Likewise.
3863 (__ASSUME_PREADV): Likewise.
3864 (__ASSUME_PWRITEV): Likewise.
3865 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
3866 (__ASSUME_F_GETOWN_EX): Define unconditionally.
3867 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
3868 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
3869 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
3870 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3871 (__ASSUME_O_CLOEXEC): Define unconditionally.
3872 (__ASSUME_PSELECT): Do not undefine conditionally.
3873 (__ASSUME_PPOLL): Likewise.
3874 (__ASSUME_ATFCTS): Likewise.
3875 (__ASSUME_SET_ROBUST_LIST): Likewise.
3876 (__ASSUME_UTIMENSAT): Likewise.
3877 (__ASSUME_FDATASYNC): Define unconditionally.
3878 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3879 (__ASSUME_SIGFRAME_V2): Likewise.
3880 )__ASSUME_EVENTFD2): Likewise.
3881 (__ASSUME_SIGNALFD4): Likewise.
3882 (__ASSUME_PSELECT): Do not undefine conditionally.
3883 (__ASSUME_PPOLL): Likewise.
3884 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3885 (__ASSUME_PSELECT): Define unconditionally.
3886 (__ASSUME_PPOLL): Likewise.
3887 (__ASSUME_O_CLOEXEC): Likewise.
3888 (__ASSUME_SOCK_CLOEXEC): Likewise.
3889 (__ASSUME_IN_NONBLOCK): Likewise.
3890 (__ASSUME_PIPE2): Likewise.
3891 (__ASSUME_EVENTFD2): Likewise.
3892 (__ASSUME_SIGNALFD4): Likewise.
3893 (__ASSUME_DUP3): Likewise.
3894 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3895 (__ASSUME_O_CLOEXEC): Likewise.
3896 (__ASSUME_SOCK_CLOEXEC): Likewise.
3897 (__ASSUME_IN_NONBLOCK): Likewise.
3898 (__ASSUME_PIPE2): Likewise.
3899 (__ASSUME_EVENTFD2): Likewise.
3900 (__ASSUME_SIGNALFD4): Likewise.
3901 (__ASSUME_DUP3): Likewise.
3902 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3903 (__ASSUME_EVENTFD2): Likewise.
3904 (__ASSUME_SIGNALFD4): Likewise.
3905 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3906
315eb1d8
AS
39072014-05-12 Andreas Schwab <schwab@suse.de>
3908
3909 [BZ #16932]
3910 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
3911 (_nss_nis_gethostbyname4_r): Return error if item length is larger
3912 than maximum RPC packet size.
3913 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
3914 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
3915 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
3916 (_nss_nis_getservbyport_r): Likewise.
3917
91df99f7
WN
39182014-05-12 Will Newton <will.newton@linaro.org>
3919
3920 * malloc/Makefile (tests): Add tst-mallopt.
3921 * malloc/tst-mallopt.c: New file.
3922
0a982a29
RM
39232014-05-09 Roland McGrath <roland@hack.frob.com>
3924
3925 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
3926 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
3927
0ded08a5
AZ
39282014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3929
3930 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
3931 (tst-tlsmod6.so): Likewise.
3932
55d4d550
RM
39332014-05-09 Roland McGrath <roland@hack.frob.com>
3934
3935 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
3936
77d08aca
JM
39372014-05-09 Joseph Myers <joseph@codesourcery.com>
3938
3939 [BZ #16064]
3940 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
3941 and <dl-procinfo.h>.
3942 (__fegetenv): Save SSE state in envp->__eip if supported.
3943 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
3944 envp->__eip if supported.
3945 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
3946 and <dl-procinfo.h>.
3947 (__fesetenv): Always set __eip, __cs_selector, __opcode,
3948 __data_offset and __data_selector in environment to 0. Set SSE
3949 state if supported.
3950 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3951 test-fenv-sse.
3952 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
3953 -mfpmath=sse.
3954 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
3955
28162f4d
WN
39562014-05-09 Will Newton <will.newton@linaro.org>
3957
3958 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
3959 and libc_relro_required for ARM.
3960 * sysdeps/arm/preconfigure: Regenerate.
3961
5a414ff7
DV
39622014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
3963 Stefan Liebler <stli@linux.vnet.ibm.com>
3964
3965 * config.make.in (enable-lock-elision): New Makefile variable.
3966 * configure.ac: Likewise.
3967 * configure: Regenerate.
3968 * sysdeps/s390/configure.ac:
3969 Add check for gcc transactions support.
3970 * sysdeps/s390/configure: Regenerate.
3971 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
3972 Build elision files if enabled.
3973 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
3974 Add lock elision support for s390.
3975 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
3976 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
3977 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
3978 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3979 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3980 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
3981 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3982 Likewise.
3983 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
3984 Likewise.
3985 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
3986 Likewise.
3987 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
3988 Likewise.
3989 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
3990 (__lll_timedlock_elision, __lll_lock_elision)
3991 (__lll_unlock_elision, __lll_trylock_elision)
3992 (lll_timedlock_elision, lll_lock_elision)
3993 (lll_unlock_elision, lll_trylock_elision): Add.
3994 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3995 (pthread_mutex_t): Add lock elision support for s390.
3996
1a2f40e5
W
39972014-05-14 Wilco <wdijkstr@arm.com>
3998
3999 * sysdeps/arm/fclrexcpt.c: Cleanup.
4000 * sysdeps/arm/fedisblxcpt.c: Cleanup.
4001 * sysdeps/arm/feenablxcpt.c: Cleanup.
4002 * sysdeps/arm/fegetenv.c: Cleanup.
4003 * sysdeps/arm/fegetexcept.c: Cleanup.
4004 * sysdeps/arm/fegetround.c: Cleanup.
4005 * sysdeps/arm/feholdexcpt.c: Cleanup.
4006 * sysdeps/arm/fesetenv.c: Cleanup.
4007 * sysdeps/arm/fesetround.c: Cleanup.
4008 * sysdeps/arm/feupdateenv.c: Cleanup.
4009 * sysdeps/arm/fgetexcptflg.c: Cleanup.
4010 * sysdeps/arm/fraiseexcpt.c: Cleanup.
4011 * sysdeps/arm/fsetexcptflg.c: Cleanup.
4012 * sysdeps/arm/ftestexcept.c: Cleanup.
4013 * sysdeps/arm/get-rounding-mode.h: Cleanup.
4014 * sysdeps/arm/setfpucw.c: Cleanup.
4015
f63c86fe
WN
40162014-05-09 Will Newton <will.newton@linaro.org>
4017
4018 * sysdeps/arm/armv7/strcmp.S: New file.
4019 * NEWS: Mention addition of ARMv7 optimized strcmp.
4020
7a1a51b5
RM
40212014-05-08 Roland McGrath <roland@hack.frob.com>
4022
95afbbe5
RM
4023 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
4024 look for %.ac rather than %.in.
4025
4026 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
4027 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
4028 * sysdeps/mach/hurd/configure: Regenerated.
4029 * sysdeps/unix/sysv/linux/configure: Regenerated.
4030
7a1a51b5
RM
4031 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
4032
5057ad3b
SE
40332014-05-07 Steve Ellcey <sellcey@mips.com>
4034
4035 [BZ# 16922]
4036 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
4037 (LONG_SUB): Ditto.
4038 (PTR_SUB): Ditto.
4039
8dc97517
AS
40402014-05-07 Andreas Schwab <schwab@suse.de>
4041
4042 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
4043 when skipping over non-matching result from nscd.
4044
ce0c5b8f
OB
40452014-05-07 Ondřej Bílka <neleai@seznam.cz>
4046
4047 [BZ #16876]
4048 * nptl/sockperf.c (client): Check socket return value.
8dc97517 4049
a1189263
OB
4050 [BZ #16877]
4051 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
4052 nscd security class.
ce0c5b8f 4053
0f58d252
RM
40542014-05-06 Roland McGrath <roland@hack.frob.com>
4055
4056 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
4057 * sysdeps/arm/unwind.h: ... here.
4058
83df9ad0
AJ
40592014-05-06 Aurelien Jarno <aurelien@aurel32.net>
4060
ce0c5b8f
OB
4061 [BZ# 16916]
4062 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
4063 Define.
83df9ad0 4064
f360f94a
VR
40652014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4066
4067 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
4068 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
4069 multiarch strncpy for PPC64.
4070 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
4071 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
4072 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
4073 multiarch optimizations.
4074 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4075 (__libc_ifunc_impl_list): Likewise.
4076 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
4077 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
4078 multiarch stpncpy for PPC64.
4079 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
4080 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
4081
978a41c3
AS
40822014-05-06 Andreas Schwab <schwab@suse.de>
4083
4084 [BZ #16912]
4085 * gmon/mcount.c (_MCOUNT_DECL): Use
4086 atomic_compare_and_exchange_bool_acq instead of
4087 catomic_compare_and_exchange_bool_acq.
4088
eb1ed03d
RM
40892014-05-05 Roland McGrath <roland@hack.frob.com>
4090
fe658845
RM
4091 * elf/Makefile (others, install-bin): Remove pldd.
4092 (pldd-modules): Variable removed.
4093 ($(objpfx)pldd): Target removed.
4094 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
4095 (others, install-bin): Append pldd here.
4096 ($(objpfx)pldd): New target.
4097
eb1ed03d
RM
4098 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
4099 to 0, so the first #if test emitted later doesn't see it undefined.
4100 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
4101 * sysdeps/gnu/errlist.c: Regenerated.
4102
19c4bec0
AZ
41032014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4104
4105 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4106 [libc_hidden_builtin_def]: Define to empty value.
4107 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
4108 [libc_hidden_builtin_def]: Likewise.
4109 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
4110 [libc_hidden_builtin_def]: Likewise.
4111 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
4112 [libc_hidden_builtin_def]: Likewise.
4113 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
4114 __redirect_memcpy and define ifunc as default hidden symbol.
4115 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
4116 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
4117
7776e669
AC
41182014-05-04 Adam Conrad <adconrad@0c3.net>
4119
4120 * locale/iso-4217.def: Reintroduce XDR currency.
4121
d69aeb12
AM
41222014-05-04 Allan McRae <allan@archlinux.org>
4123
4124 * po/eo.po: Update Esperanto translation from translation project.
4125
8f1df5cf
CD
41262014-05-02 Carlos O'Donell <carlos@redhat.com>
4127
4128 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
4129 and FEATURE_INDEX_MAX to 1.
4130 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
4131
13e402e7
SE
41322014-05-01 Steve Ellcey <sellcey@mips.com>
4133
4134 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
4135 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
4136 * iconvdata/big5.c (ONE_DIRECTION): Define.
4137 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
4138 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
4139 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
4140 * iconvdata/cp932.c (ONE_DIRECTION): Define.
4141 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
4142 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
4143 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
4144 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
4145 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
4146 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
4147 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
4148 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
4149 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
4150 * iconvdata/gbk.c (ONE_DIRECTION): Define.
4151 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
4152 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
4153 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
4154 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
4155 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
4156 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
4157 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
4158 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
4159 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
4160 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
4161 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
4162 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
4163 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
4164 * iconvdata/iso646.c (ONE_DIRECTION): Define.
4165 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
4166 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
4167 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
4168 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
4169 * iconvdata/johab.c (ONE_DIRECTION): Define.
4170 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
4171 * iconvdata/sjis.c (ONE_DIRECTION): Define.
4172 * iconvdata/t.61.c (ONE_DIRECTION): Define.
4173 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
4174 * iconvdata/tscii.c (ONE_DIRECTION): Define.
4175 * iconvdata/uhc.c (ONE_DIRECTION): Define.
4176 * iconvdata/unicode.c (ONE_DIRECTION): Define.
4177 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
4178 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
4179 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
4180
c727f032
RM
41812014-05-01 Roland McGrath <roland@hack.frob.com>
4182
8f2f08d0
RM
4183 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
4184 (_IO_JUMPS_OFFSET): Define to 0.
4185
c727f032
RM
4186 * nptl/sysdeps/pthread/bits/libc-lock.h
4187 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4188 (__libc_lock_define_initialized_recursive): Always define using
4189 initializer. Modern compilers treat uninitialized (implicit zero) and
4190 explicit zero initializers the same (i.e. put the datum in bss).
4191
a849e800
AS
41922014-05-01 Andreas Schwab <schwab@linux-m68k.org>
4193
4194 * nscd/nscd-client.h: Include <string.h>.
4195
5331255b
DM
41962014-05-01 David S. Miller <davem@davemloft.net>
4197
4198 [BZ #16885]
4199 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
4200 multiple zero bytes exist at the end of a string.
4201 Reported by Aurelien Jarno <aurelien@aurel32.net>
4202
4203 * string/test-strcmp.c (check): Add explicit test for situations where
4204 there are multiple zero bytes after the first.
4205
4fdfe821
AS
42062014-05-01 Andreas Schwab <schwab@linux-m68k.org>
4207
4208 [BZ #16890]
4209 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
4210 when compiling wprintf.
4211 * stdio-common/tstdiomisc.c (t3): New function.
4212 (main): Call it.
4213
0cdddc25
SE
42142014-05-01 Steve Ellcey <sellcey@mips.com>
4215
4216 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
4217 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
4218 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
4219 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
4220
6426d77e
SE
42212014-05-01 Steve Ellcey <sellcey@mips.com>
4222
4223 * stdlib/longlong.h: Updated from GCC.
4224
6d96f5e4
WN
42252014-05-01 Will Newton <will.newton@linaro.org>
4226 Bernard Ogden <bernie.ogden@linaro.org>
4227
7470db0c
WN
4228 * NEWS: Update fixed bug list.
4229
6d96f5e4
WN
4230 [BZ #15119]
4231 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
4232
211d653c
DM
42332014-04-30 David S. Miller <davem@davemloft.net>
4234
4fa262fa
DM
4235 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
4236 (libc_feholdexcept_setround_sparc_ctx): New function.
4237 (libc_fesetenv_sparc_ctx): Likewise.
4238 (libc_feupdateenv_sparc_ctx): Likewise.
4239 (libc_feholdsetround_sparc_ctx): Likewise.
4240 (libc_feholdexcept_setround_ctx): Define.
4241 (libc_feholdexcept_setroundf_ctx): Likewise.
4242 (libc_feholdexcept_setroundl_ctx): Likewise.
4243 (libc_fesetenv_ctx): Likewise.
4244 (libc_fesetenvf_ctx): Likewise.
4245 (libc_fesetenvl_ctx): Likewise.
4246 (libc_feupdateenv_ctx): Likewise.
4247 (libc_feupdateenvf_ctx): Likewise.
4248 (libc_feupdateenvl_ctx): Likewise.
4249 (libc_feresetround_ctx): Likewise.
4250 (libc_feresetroundf_ctx): Likewise.
4251 (libc_feresetroundl_ctx): Likewise.
4252 (libc_feholdsetround_ctx): Likewise.
4253 (libc_feholdsetroundf_ctx): Likewise.
4254 (libc_feholdsetroundl_ctx): Likewise.
4255
1d3d93ef
DM
4256 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4257 with __USE_GNU instead of XOPEN cpp guards.
4258
8aa583c3
DM
4259 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
4260 0.
4261
211d653c
DM
4262 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4263 with XOPEN cpp guards.
4264
60c8f1f6
JB
42652014-04-30 Julian Brown <julian@codesourcery.com>
4266
4267 [BZ #16888]
4268 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
4269 handling.
4270
9a461d46
JM
42712014-04-30 Joseph Myers <joseph@codesourcery.com>
4272
d0f5b3f8
JM
4273 [BZ #9894]
4274 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
4275 Change to 2.6.32.
4276 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
4277 * sysdeps/unix/sysv/linux/configure: Regenerated.
4278 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
4279 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
4280 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
4281 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
4282 * README: Update reference to required Linux kernel version.
4283 * manual/install.texi (Linux): Update reference to required Linux
4284 kernel headers version.
4285 * INSTALL: Regenerated.
4286
9a461d46
JM
4287 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
4288 header inclusion.
4289 [POSIX] (limits.h): Likewise.
4290 [POSIX] (math.h): Likewise.
4291 [POSIX] (sys/wait.h): Likewise.
4292 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
4293 function.
4294 [POSIX] (stddef.h): Do not allow header inclusion.
4295
1775babf
AZ
42962014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4297
57f41c40 4298 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 4299
8f630cca
YY
43002014-04-30 Yang Yingliang <yangyingliang@huawei.com>
4301
4302 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
4303 Return immediately after lll_futex_wake.
4304
1cdeb237
SP
43052014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4306
bc8f194c
SP
4307 [BZ #16791]
4308 * nscd/nscd-client.h (datahead_init_common): Initialize entire
4309 structure.
4310 (datahead_init_pos): Call datahead_init_common early.
4311 (datahead_init_neg): Likewise.
4312
1cdeb237
SP
4313 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
4314 datahead_init_neg): New functions.
4315 * nscd/aicache.c (addhstaiX): Use them.
4316 * nscd/grpcache.c (cache_addgr): Likewise.
4317 * nscd/hstcache.c (cache_addhst): Likewise.
4318 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4319 * nscd/netgroupcache.c (do_notfound): Likewise.
4320 (addgetnetgrentX): Likewise.
4321 (addinnetgrX): Likewise.
4322 * nscd/pwdcache.c (cache_addpw): Likewise.
4323 * nscd/servicescache.c (cache_addserv): Likewise.
4324
16b293a7
SP
43252014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4326 Atsushi Onoe <atsushi@onoe.org>
4327
4328 [BZ #14308]
4329 [BZ #12994]
4330 [BZ #13651]
4331 * resolv/res_query.c (__libc_res_nsearch): Return if at least
4332 one response is valid.
4333 * resolv/res_send.c (send_dg): Check for validity of other
4334 response if the current response is a referral.
4335
a28a9b94
SE
43362014-04-29 Steve Ellcey <sellcey@mips.com>
4337
4338 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
4339
2ca180e9
SL
43402014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
4341
4342 [BZ #16823]
4343 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
4344 Always divide by positive zero when computing -Inf result.
4345 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4346 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
4347
18f2945a
AZ
43482014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4349
4350 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
4351 FPSCR if value do not change.
4352 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4353 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
4354 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4355 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4356 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
4357 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
4358 function.
4359
5abebba4
CD
43602014-05-29 Carlos O'Donell <carlos@systemhalted.org>
4361
4362 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
4363 * sysdeps/unix/sysv/linux/hppa: Move directory from
4364 ports/systeps/unix/sysv/linux/hppa.
4365 * README: Update listing for hppa-*-linux-gnu.
4366
f7ed60c2
OB
43672014-04-28 Ondřej Bílka <neleai@seznam.cz>
4368
fff763a5
OB
4369 [BZ #16754]
4370 * manual/stdio.texi (Hook functions): Fix types of stream hook
4371 functions.
f7ed60c2
OB
4372 [BZ #16854]
4373 * socket/sys/socket.h: Fix typo in comment.
4374
df639d73
WD
43752014-04-28 Wilco <wdijkstr@arm.com>
4376
f7ed60c2 4377 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
4378 * sysdeps/arm/math_private.h: New file.
4379 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
4380
48332d82
L
43812014-04-25 H.J. Lu <hongjiu.lu@intel.com>
4382
4383 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
4384 with __int128_t.
4385 (La_x86_64_retval): Likewise.
4386
e5e0d9a4
IB
43872014-04-24 Ian Bolton <ian.bolton@arm.com>
4388
4389 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
4390 fpsr if value didn't change.
4391 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
4392 to fpcr if value didn't change.
4393 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
4394 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
4395 fpsr or fpcr if value didn't change.
4396 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4397 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
4398 fpcr if value didn't change.
4399 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
4400 to fpsr if value didn't change.
4401
bacc75f7
SP
44022014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4403
4404 * nptl/tst-sem3.c: Use test-skeleton.c
4405 (main): Rename to do_test. Use return instead of
4406 exit.
4407 * nptl/tst-sem4.c: Use test-skeleton.c
4408 (main): Rename to do_test.
4409
a059d359
DM
44102014-04-22 David S. Miller <davem@davemloft.net>
4411
4412 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
4413 (struct sigaction): New struct member __glibc_reserved0, change
4414 type of sa_flags to int.
4415
ea6c92f3
YZ
44162014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
4417
4418 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
4419 (COUNT_LEADING_ZEROS_0): Define for AArch64.
4420
766c4a36
SP
44212014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4422
4423 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
4424 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
4425
140cc7ab
VK
44262014-04-22 Will Newton <will.newton@linaro.org>
4427 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
4428
4429 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
4430 (__longjmp): Add longjmp and longjmp_target SystemTap
4431 probes.
4432 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
4433 (__sigsetjmp): Add setjmp SystemTap probe.
4434
c54e5cf7
CD
44352014-04-17 Carlos O'Donell <carlos@redhat.com>
4436
4437 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
4438 match manual order.
4439
75ffb047
AZ
44402014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4441
4442 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
4443
2cd925f7
AZ
4444 * sysdeps/powerpc/fpu/fenv_private.h
4445 (libc_feholdexcept_setroundl_ctx): Define to
4446 libc_feholdexcept_setround_ppc_ctx.
4447 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
4448 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
4449 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
4450 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
4451
39e6cd8d
IB
44522014-04-17 Ian Bolton <ian.bolton@arm.com>
4453
4454 * sysdeps/aarch64/math-tests.h: New file.
4455
f9281df9
SY
44562014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
4457
4458 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
4459 New.
4460 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4461 Check and set bit_AVX2_Usable.
4462 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
4463 macro.
4464 (bit_AVX2): Likewise.
4465 (index_AVX2_Usable): Likewise.
4466 (CPUID_AVX2): Likewise.
4467 (HAS_AVX2): Likewise.
4468
37d35007
WN
44692014-04-17 Will Newton <will.newton@linaro.org>
4470
7c677662
WN
4471 * manual/setjmp.texi (System V contexts): Add note that
4472 calling setcontext on a context created by a call to a
4473 signal handler is undefined. Update text to note that
4474 setcontext from a signal handler is possible but not
4475 recommended.
4476
37d35007 4477 [BZ #16629]
e04a4e9d
WN
4478 * stdlib/tst-setcontext.c: Include signal.h.
4479 (main): Check that the signal stack before and
4480 after swapcontext is the same.
4481
37d35007
WN
4482 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
4483 Re-implement to restore registers in user code and avoid
4484 rt_sigreturn system call.
4485
423a7160
W
44862014-04-17 Wilco <wdijkstr@arm.com>
4487
4488 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
4489 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
4490 * math/test-fenv.c: Skip exception trap tests on targets which only
4491 support non-stop mode.
4492
bc93ab29
IB
44932014-04-17 Ian Bolton <ian.bolton@arm.com>
4494 Wilco Dijkstra <wilco.dijkstra@arm.com>
4495
4496 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
4497 (libc_feholdsetround_aarch64_ctx)
4498 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
4499 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
4500 (libc_feresetround_ctx, libc_feresetroundf_ctx)
4501 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
4502 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
4503 (libc_feresetround_noexl_ctx): Define.
4504
95fc5fa3
RH
45052014-04-16 Richard Henderson <rth@redhat.com>
4506
ddb04724
RH
4507 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
4508
d77c0899
RH
4509 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
4510 unwind tables.
4511
a3df56fc
RH
4512 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
4513 const from the non-libc, non-ldso copy.
4514
95fc5fa3
RH
4515 * sysdeps/alpha/libm-test-ulps: Regenerate.
4516
7e0b6763
IB
45172014-04-16 Ian Bolton <ian.bolton@arm.com>
4518 Wilco Dijkstra <wilco.dijkstra@arm.com>
4519
4520 * sysdeps/aarch64/fpu/math_private.h: New file.
4521
a9ea2e0c
MS
45222014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
4523
4524 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4525
ea8ba7cd
IZ
45262014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
4527
4528 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
4529 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
4530 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
4531 Intel MPX bound registers before _dl_profile_fixup.
4532 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
4533 registers after _dl_profile_fixup. Save and restore bound
4534 registers bnd0/bnd1 when calling _dl_call_pltexit.
4535 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
4536 (LR_BND_OFFSET): Likewise.
4537 (LRV_BND0_OFFSET): Likewise.
4538 (LRV_BND1_OFFSET): Likewise.
4539
9f2a4fbc
ST
45402014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4541
4542 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
4543 to...
4544 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
4545 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
4546 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
4547 fields.
9f2a4fbc 4548
fd15a59b
ST
45492014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4550
4551 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
4552
f19dfa0a
SL
45532014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4554
4555 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4556
4fa8bc3b
SL
45572014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4558
4559 [BZ #14770]
4560 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
4561 * sysdeps/s390/configure: Regenerate.
4562
8ea587db
SL
4563 [BZ #16824]
4564 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
4565 Set round-to-nearest internally to reduce error accumulation.
4566
aa5f0ff1
AM
45672014-04-16 Alan Modra <amodra@gmail.com>
4568
4569 [BZ #16740]
4570 [BZ #16619]
4571 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
4572 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 4573 * NEWS: Update fixed bug list.
aa5f0ff1 4574
bb9c256f
SP
45752014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4576
4577 * benchtests/Makefile: Depend on libraries in build directory.
4578 (bench-math): Separate out math tests.
4579 (bench-pthread): Separate out pthread tests.
4580 (bench): Include math and pthread tests.
4581
f737dfd0
CD
45822014-04-14 Carlos O'Donell <carlos@redhat.com>
4583
4584 [BZ #16831]
4585 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
4586 _dl_debug_initialize.
4587
0699f766
CD
4588 * configure.ac: Remove SELinux header check.
4589 * configure: Regenerate.
4590 * nscd/selinux.c (perms): Array of const char* to permission names.
4591 (nscd_request_avc_has_perm): Call security_deny_unknown to find
4592 default policy. Call string_to_security_class and string_to_av_perm to
4593 translate strings. Enforce default policy and call avs_has_perm with
4594 results of translated strings.
4595
809bd45f
DM
45962014-04-13 David S. Miller <davem@davemloft.net>
4597
4598 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4599
89e691f2
AM
46002014-04-12 Allan McRae <allan@archlinux.org>
4601
4602 [BZ #16838]
4603 * manual/string.texi (Collation Functions): Fix qsort argument
4604 order in example.
4605 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4606
9c9daaeb
CM
46072014-04-11 Chris Metcalf <cmetcalf@tilera.com>
4608
4609 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
4610 Make the test a no-op if there are no exceptions defined.
4611
95561fb9
PP
46122014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
4613
fe8d072c 4614 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
4615 enable-hardcoded-path-in-tests
4616
970c602a
WN
46172014-04-11 Will Newton <will.newton@linaro.org>
4618
4619 * benchtests/Makefile (extra-objs): Add json-lib.o.
4620 (bench-func): Tidy up JSON output.
4621 * benchtests/bench-skeleton.c: Include json-lib.h.
4622 (main): Use JSON library functions to do output of
4623 benchmark results.
4624 * benchtests/bench-timing-type.c (main): Output the
4625 timing type simply, leaving formatting to the user.
4626 * benchtests/json-lib.c: New file.
4627 * benchtests/json-lib.h: Likewise.
4628
36875b06
TR
46292014-04-11 Torvald Riegel <triegel@redhat.com>
4630
4631 [BZ #15215]
4632 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
4633 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
4634 memory barriers. Add comments.
4635 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
4636 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
4637 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
4638 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
4639 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
4640 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
4641
579db35a
SL
46422014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4643
4644 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
4645 * sysdeps/s390/s390-64/configure.ac: ... this ...
4646 * sysdeps/s390/configure.ac: ... to here.
4647 * sysdeps/s390/s390-32/configure: Delete file.
4648 * sysdeps/s390/s390-64/configure: Delete file.
4649 * sysdeps/s390/configure: Regenerate.
4650
c12e9f37
JAPH
46512014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
4652
4653 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
4654
439bda32
WN
46552014-04-11 Will Newton <will.newton@linaro.org>
4656
4657 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
4658 to zero if it is not defined elsewhere. (mtrim): Test
4659 the value of MALLOC_DEBUG with #if rather than #ifdef.
4660
6a5d6ea1
TR
46612014-04-10 Torvald Riegel <triegel@redhat.com>
4662
4663 * benchtests/pthread_once-inputs: New file.
4664 * benchtests/pthread_once-source.c: New file.
4665 * benchtests/README: Update documentation.
4666
a4c75cfd
IZ
46672014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
4668 H.J. Lu <hongjiu.lu@intel.com>
4669
4670 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
4671 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
4672 * sysdeps/x86_64/configure: Regenerated.
4673 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
4674 macro.
4675 (REGISTER_SAVE_RAX): Likewise.
4676 (REGISTER_SAVE_RCX): Likewise.
4677 (REGISTER_SAVE_RDX): Likewise.
4678 (REGISTER_SAVE_RSI): Likewise.
4679 (REGISTER_SAVE_RDI): Likewise.
4680 (REGISTER_SAVE_R8): Likewise.
4681 (REGISTER_SAVE_R9): Likewise.
4682 (REGISTER_SAVE_BND0): Likewise.
4683 (REGISTER_SAVE_BND1): Likewise.
4684 (REGISTER_SAVE_BND2): Likewise.
4685 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
4686 bound registers when calling _dl_fixup.
4687
27822ce6
AZ
46882014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4689
4690 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
4691 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
4692 of its definition.
27822ce6
AZ
4693 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
4694 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
4695 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
4696 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
4697 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
4698 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
4699 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
4700
a88ddc90
PTB
47012014-04-09 Peter Brett <peter@peter-b.co.uk>
4702
4703 [BZ #15514]
4704 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
4705 pathconf(_PC_NAME_MAX).
4706
01f8eac2
AZ
47072014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4708
4709 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
4710 Remove macro usage.
4711 (__PTHREAD_SPINS): Move definition to ...
4712 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4713 (__PTHREAD_SPINS): ... here.
4714 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4715 (__PTHREAD_SPIN): Likewise.
4716 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
4717 (__PTHREAD_SPIN): Likewise.
4718 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
4719 (__PTHREAD_SPIN): Likewise.
4720 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
4721 (__PTHREAD_SPIN): Likewise.
4722 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4723 (__PTHREAD_SPIN): Likewise.
4724 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4725 (__PTHREAD_SPIN): Likewise.
4726 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
4727 (__PTHREAD_SPIN): Likewise.
4728 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4729 (__PTHREAD_SPIN): Likewise.
4730 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4731 (__PTHREAD_SPIN): Likewise.
4732 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4733 (__PTHREAD_SPIN): Likewise.
4734 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4735 (__PTHREAD_SPIN): Likewise.
4736 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
4737 (__PTHREAD_SPIN): Likewise.
4738
de21c33c
AZ
4739 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
4740 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
4741 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
4742 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
4743 imply folder.
4744 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
4745 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
4746 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
4747 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
4748 correct imply path.
4749 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
4750 strlen symbol for non multi-arch builds.
4751 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
4752 missing hidden_def and weak_alias.
4753
862c472e
CD
47542014-04-08 Carlos O'Donell <carlos@redhat.com>
4755
4756 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
4757
8667f90e
WN
47582014-04-07 Will Newton <will.newton@linaro.org>
4759
4760 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
4761 and contents. [!_LIBC] Remove #ifndef and contents.
4762 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
4763 * string/memccpy.c (__memccpy): Use ANSI prototype.
4764 * string/memfrob.c (memfrob): Likewise.
4765 * string/strcoll.c (STRCOLL): Likewise.
4766 * string/strlen.c (strlen): Likewise.
4767 * string/strtok.c (STRTOK): Likewise.
4768 * string/strcat.c: Remove unused #include of memcopy.h.
4769 (strcat): Use ANSI prototype.
4770 * string/strchr.c: Remove unused #include of memcopy.h.
4771 (strchr): Use ANSI prototype.
4772 * string/strcmp.c: Remove unused #include of memcopy.h.
4773 (strcmp): Use ANSI prototype.
4774 * string/strcpy.c: Remove unused #include of memcopy.h.
4775 (strcpy): Use ANSI prototype.
4776
7ffa9423
AZ
47772014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4778
4779 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
4780 * config.make.in (config-extra-cppflags): Set it from
4781 libc_extra_cppflags.
4782 * configure.ac (libc_extra_cflags): Make it accumulate over
4783 configure fragments.
4784 (libc_extra_cppflags): New flag.
4785 * configure. Regenerate.
4786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
4787 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
4788 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
4789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
4790
8bd70862
AZ
4791 [BZ #16815]
4792 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
4793 result for FE_DOWNWARD rounding mode.
4794 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4795 Likewise.
4796 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4797
d42f3448
CM
47982014-04-04 Chris Metcalf <cmetcalf@tilera.com>
4799
4800 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
4801 in function argument name.
4802
1c21d115
DS
48032014-04-03 David Svoboda <svoboda@cert.org>
4804
4805 [BZ #5666]
4806 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
4807 explicitly.
4808
fcccd512
RM
48092014-04-03 Roland McGrath <roland@hack.frob.com>
4810
4811 * elf/dl-unmap-segments.h: New file.
4812 * sysdeps/generic/ldsodefs.h
4813 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
4814 * elf/dl-close.c: Include <dl-unmap-segments.h>.
4815 * elf/dl-fptr.c: Likewise.
4816 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
4817 * sysdeps/aarch64/tlsdesc.c: Likewise.
4818 * sysdeps/arm/tlsdesc.c: Likewise.
4819 * sysdeps/i386/tlsdesc.c: Likewise.
4820 * sysdeps/tile/dl-runtime.c: Likewise.
4821 * sysdeps/x86_64/tlsdesc.c: Likewise.
4822 * elf/dl-load.h: New file.
4823 * elf/dl-load.c: Include it.
4824 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
4825 Macros moved to dl-load.h.
4826 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
4827 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
4828 Use _dl_unmap_segments in place of __munmap.
4829 Break out segment-mapping loop into ...
4830 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
4831
f6488e2b
WN
48322014-04-03 Will Newton <will.newton@linaro.org>
4833
4834 * elf/dl-lookup.c (do_lookup_x): Remove comment
4835 referring to nested function and move variable
4836 declarations down to before first use.
4837
6f05bafe
JM
48382014-04-02 Joseph Myers <joseph@codesourcery.com>
4839
a84e78c8
JM
4840 [BZ #16799]
4841 [BZ #16800]
4842 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
4843 with 0 numerator.
4844 * math/s_catanf.c (__catanf): Likewise.
4845 * math/s_catanh.c (__catanh): Likewise.
4846 * math/s_catanhf.c (__catanhf): Likewise.
4847 * math/s_catanhl.c (__catanhl): Likewise.
4848 * math/s_catanl.c (__catanl): Likewise.
4849 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
4850 by positive zero when computing -Inf result.
4851 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
4852 (catanh_test): Likewise.
4853 * sysdeps/i386/fpu/libm-test-ulps: Update.
4854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4855
6f05bafe
JM
4856 [BZ #16789]
4857 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
4858 instead of using underflowing value in computing result.
4859 * math/s_clog10.c (__clog10): Likewise.
4860 * math/s_clog10f.c (__clog10f): Likewise.
4861 * math/s_clog10l.c (__clog10l): Likewise.
4862 * math/s_clogf.c (__clogf): Likewise.
4863 * math/s_clogl.c (__clogl): Likewise.
4864 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
4865 (clog10_test): Likewise.
4866 * sysdeps/i386/fpu/libm-test-ulps: Update.
4867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4868
b0abbc21
AM
48692014-04-02 Alan Modra <amodra@gmail.com>
4870
4871 [BZ #16739]
4872 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
4873 output when value is near a power of two. Use int64_t for lx and
4874 remove casts. Use decimal rather than hex exponent constants.
4875 Don't use long double multiplication when double will suffice.
4876 * math/libm-test.inc (nextafter_test_data): Add tests.
4877 * NEWS: Add 16739 and 16786 to bug list.
4878
af6b1797
AM
4879 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
4880
483818d7
AM
4881 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
4882
f6c55796
WN
48832014-04-01 Will Newton <will.newton@linaro.org>
4884
4885 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
4886 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
4887
13f7fe35
FW
48882014-04-01 Florian Weimer <fweimer@redhat.com>
4889
4890 [BZ #13347]
4891 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
4892 * nptl/tst-setuid2.c: New file.
4893 * nptl/Makefile (xtests): Add tst-setuid2.
4894
c859b32e
AM
48952014-04-01 Alan Modra <amodra@gmail.com>
4896
4897 [BZ #16786]
4898 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
4899
54fa2475
JM
49002014-03-31 Joseph Myers <joseph@codesourcery.com>
4901
8795b4a4
JM
4902 [BZ #6803]
4903 [BZ #6804]
4904 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
4905 set errno as appropriate.
4906 * math/w_scalbf.c (__scalbf): Likewise.
4907 * math/w_scalbl.c (__scalbl): Likewise.
4908 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
4909 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
4910 * math/libm-test.inc (scalb_test_data): Add errno expectations.
4911 Add more NaN tests.
4912
54fa2475
JM
4913 [BZ #16349]
4914 * math/w_atan2.c: Include <errno.h>.
4915 (__atan2): Set errno for result underflowing to zero.
4916 * math/w_atan2f.c: Include <errno.h>.
4917 (__atan2f): Set errno for result underflowing to zero.
4918 * math/w_atan2l.c: Include <errno.h>.
4919 (__atan2l): Set errno for result underflowing to zero.
4920 * math/auto-libm-test-in: Don't allow missing errno for some atan2
4921 tests.
4922 * math/auto-libm-test-out: Regenerated.
4923
757d9dd5
AZ
49242014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4925
4926 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4927 Encode instruction correctly in little endian.
4928 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4929 Likewise.
4930 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4931 Likewise.
4932 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4933 Likewise.
4934 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4935 Likewise.
4936
d7a68734
JM
49372014-03-31 Joseph Myers <joseph@codesourcery.com>
4938
47c5adeb
JM
4939 [BZ #9894]
4940 * sysdeps/unix/sysv/linux/kernel-features.h
4941 [__sparc__ && !__arch64__ && !__sparc_v9__]
4942 (__ASSUME_SET_ROBUST_LIST): Do not define.
4943 [__sparc__ && !__arch64__ && !__sparc_v9__]
4944 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4945 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
4946 Likewise.
4947 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4948 (__ASSUME_FUTEX_LOCK_PI): Undefine.
4949 (__ASSUME_REQUEUE_PI): Likewise.
4950 (__ASSUME_SET_ROBUST_LIST): Likewise.
4951 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4952 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
4953 Undefine.
4954 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4955 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
4956 Likewise.
4957 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
4958 Likewise.
4959 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
4960 Likewise.
4961 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4962 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
4963 Undefine.
4964 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
4965 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
4966 Likewise.
4967
d7a68734
JM
4968 [BZ #16648]
4969 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4970 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
4971 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
4972
c760f5c2
WN
49732014-03-31 Will Newton <will.newton@linaro.org>
4974
4975 * benchtests/Makefile (bench): Add ffs and ffsll to list
4976 of tests.
4977 * benchtests/ffs-inputs: New file.
4978 * benchtests/ffsll-inputs: Likewise.
4979
ea6029b1
JM
49802014-03-29 Joseph Myers <joseph@codesourcery.com>
4981
4982 [BZ #16770]
4983 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
4984 too large before casting to int.
4985 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
4986 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
4987 * math/libm-test.inc (scalb_test_data): Add more tests.
4988
cf806aff
SP
49892014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4990
56737508
SP
4991 * benchtests/Makefile (DETAILED_OPT): New make option.
4992 (bench-func): Run benchmark program with -d if DETAILED_OPT is
4993 set.
4994 * benchtests/bench-skeleton.c: Include stdbool.h.
4995 (main): Store and print timings per input.
4996 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
4997 member to each argument value.
4998 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
4999 (_print_arg_data): Initialize per-input timing to 0.
5000
cb5e4aad
SP
5001 * benchtests/Makefile (timing-type): New binary.
5002 (bench-clean): Also remove bench-timing-type.
5003 (bench): New target for timing-type.
5004 (bench-func): Print output in JSON format.
5005 * benchtests/bench-skeleton.c (main): Print output in JSON
5006 format.
5007 * benchtests/bench-timing-type.c: New file.
5008 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
5009 (TIMING_PRINT_STATS): Remove.
5010 * benchtests/scripts/bench.py (_print_arg_data): Store variant
5011 name separately.
5012
cf806aff
SP
5013 * benchtests/bench-modf.c: Remove.
5014 * benchtests/modf-inputs: New inputs file.
5015
289e0779
JM
50162014-03-28 Joseph Myers <joseph@codesourcery.com>
5017
5018 [BZ #16362]
5019 * math/s_clog10.c (M_PI_LOG10E): New macro.
5020 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
5021 imaginary parts are 0.
5022 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
5023 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
5024 imaginary parts are 0.
5025 * math/s_clog10l.c (M_PI_LOG10El): New macro.
5026 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
5027 imaginary parts are 0.
5028 * math/libm-test.inc (clog10_test_data): Update expected results
5029 for when real and imaginary parts are 0.
5030
277ae3f1
PP
50312014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
5032
5033 * elf/dl-load.c: Finish conversion of __builtin_expect into
5034 __glibc_{un}likely.
5035
03a7091f
JM
50362014-03-27 Joseph Myers <joseph@codesourcery.com>
5037
5038 [BZ #16348]
5039 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
5040 1+x for argument with exponent below -67.
5041 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
5042 Likewise.
5043 * math/auto-libm-test-in: Add more tests of exp.
5044 * math/auto-libm-test-out: Regenerated.
5045
ea7d8b95
SP
50462014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5047
dd3022d7
SP
5048 [BZ #16759]
5049 * inet/getnetgrent_r.c (get_nonempty_val): New function.
5050 (nscd_getnetgrent): Use it.
5051
ea7d8b95
SP
5052 [BZ #16760]
5053 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
5054 of stpcpy.
5055
df5b85da
AK
50562014-03-27 Andi Kleen <ak@linux.intel.com>
5057
57f41c40
AS
5058 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
5059 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5060 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5061 (lll_robust_unlock): Remove out of line section. Use cfi
5062 intrinsics.
df5b85da 5063 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
5064 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
5065 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5066 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5067 (lll_robust_unlock): Remove out of line section. Use cfi
5068 intrinsics.
df5b85da
AK
5069 (LLL_STUB_UNWIND_INFO*): Remove.
5070
fbd6b5a4
SP
50712014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5072
5073 [BZ #16758]
5074 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
5075 blank values.
5076
1b26b855
PP
50772014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
5078
5079 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
5080
9be36fb8
JM
50812014-03-26 Joseph Myers <joseph@codesourcery.com>
5082
5083 [BZ #16198]
5084 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
5085 fnstenv.
5086 * math/test-fenv-preserve.c: New file.
5087 * math/Makefile (tests): Add test-fenv-preserve.
5088
60a2f3c1
WN
50892014-03-26 Will Newton <will.newton@linaro.org>
5090
5091 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
5092
a5e5f1e2
RM
50932014-03-25 Roland McGrath <roland@hack.frob.com>
5094
5095 * scripts/versionlist.awk: Partition the version sets and emit all
5096 GLIBC_* (sorted) before all others (sorted).
5097
00f4012a
JM
50982014-03-25 Joseph Myers <joseph@codesourcery.com>
5099
5100 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
5101 GLIBC_2.2.5 version.
5102
7bc5a741
AZ
51032014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5104
5105 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
5106 calls.
5107
7578473b
AZ
5108 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
5109 previous change.
5110
f3f1dab3
AZ
5111 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5112
6da36183
AS
51132014-03-25 Andreas Schwab <schwab@suse.de>
5114
5115 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
5116 label to be used after in6ailist is initialized.
5117
f3f1dab3 51182014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 5119
7578473b 5120 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
5121 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5122
046651c1
JM
51232014-03-25 Joseph Myers <joseph@codesourcery.com>
5124
5125 [BZ #16357]
5126 [BZ #16599]
5127 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
5128 min_plus_half.
5129 (fp_formats): Update initializers.
5130 (init_fp_formats): Initialize new field.
5131 (output_for_one_input_case): Allow underflow for results up to
5132 min_plus_half.
5133 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
5134 * math/auto-libm-test-in: Don't mark some underflows from asin and
5135 atanh as spurious.
5136 * math/auto-libm-test-out: Regenerated.
5137 * sysdeps/i386/fpu/libm-test-ulps: Update.
5138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5139
003e49ed
AS
51402014-03-25 Andreas Schwab <schwab@suse.de>
5141
5142 * libio/Makefile (tst-ftell-partial-wide-ENV)
5143 (tst-ftell-active-handler-ENV): Define.
5144
de031874
SL
51452014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
5146
5147 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
5148
55a81e3b
PP
51492014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5150
5151 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
5152
f3426898
JM
51532014-03-24 Joseph Myers <joseph@codesourcery.com>
5154
5155 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
5156 * sysdeps/x86_64/fpu/multiarch/e_exp.c
5157 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5158
a42faf59
PP
51592014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5160
5161 [BZ #16634]
a42faf59 5162 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
5163 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
5164 (open_path): Change from boolean 'secure' to complete flag 'mode'
5165 (_dl_map_object): Adjust.
a42faf59
PP
5166 * elf/Makefile (tests): Add tst-dlopen-aout.
5167 * elf/tst-dlopen-aout.c: New test.
5168
50936127
SL
51692014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5170
5171 [BZ #16714]
5172 * sysdeps/unix/sysv/linux/s390/bits/stat.h
5173 (struct stat): Rename member pad0 to __glibc_reserved0.
5174
26011b5c
SL
5175 [BZ #16712]
5176 * sysdeps/s390/s390-32/bits/wordsize.h
5177 (__WORDSIZE32_SIZE_ULONG): New define.
5178 * sysdeps/s390/s390-64/bits/wordsize.h
5179 (__WORDSIZE32_SIZE_ULONG): Likewise.
5180 * sysdeps/generic/stdint.h (SIZE_MAX):
5181 Define as UL if __WORDSIZE32_SIZE_ULONG.
5182
a2d86bf1
SL
5183 [BZ #16713]
5184 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
5185 (__glibc_reserved0): New variable.
5186 (sa_flags): Change type to int.
5187
78b6eebc
SL
5188 * posix/Makefile (before-compile): Use += before-compile instead
5189 of a :=.
5190
f1399b5a
SL
5191 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5192 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5193
a071766e
AS
51942014-03-20 Andreas Schwab <schwab@suse.de>
5195
5196 [BZ #16743]
5197 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
5198 non-matching result from nscd.
5199
27c673b8
SP
52002014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5201
5202 * scripts/bench.py: Moved to ...
5203 * benchtests/scripts/bench.py: ... here.
5204 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
5205
44152e4b
AS
52062014-03-24 Andreas Schwab <schwab@suse.de>
5207
5208 [BZ #16002]
5209 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
5210 alloca_account and account alloca use for struct in6ailist.
5211
b376a11a
JM
52122014-03-24 Joseph Myers <joseph@codesourcery.com>
5213
5214 [BZ #16284]
5215 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
5216 rounding mode to recompute results that overflow to infinity or
5217 underflow to zero.
5218 * math/auto-libm-test-in: Don't mark tests as expected to fail for
5219 bug 16284.
5220 * math/auto-libm-test-out: Regenerated.
5221 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
5222 (ccosh_test): Likewise.
5223 (csin_test_data): Use plus_oflow.
5224 (csin_test): Use ALL_RM_TEST.
5225 (csinh_test_data): Use plus_oflow.
5226 (csinh_test): Use ALL_RM_TEST.
5227 * sysdeps/i386/fpu/libm-test-ulps: Update.
5228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5229
f7be7376
JM
52302014-03-21 Joseph Myers <joseph@codesourcery.com>
5231
1ca2d03e
JM
5232 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
5233 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
5234 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
5235
f7be7376
JM
5236 [BZ #16731]
5237 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
5238 when x - 1 is zero.
5239 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
5240 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
5241 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5242 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
5243 argument is 1.
5244 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
5245 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
5246 zero.
5247 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
5248 * sysdeps/i386/fpu/libm-test-ulps: Update.
5249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5250
fdf4534d
SP
52512014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5252
df26ea53
SP
5253 * scripts/bench.pl: Remove file.
5254 * scripts/bench.py: New benchmark script.
5255 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
5256 * benchtests/README: Mention python dependency.
5257 * scripts/pylintrc: New file.
5258 * scripts/pylint: New file.
5259
fdf4534d
SP
5260 * bits/mathdef.h: Use #ifdef instead of #if.
5261 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
5262 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5263 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
5264 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5265 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
5266 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5267
6f23d093
AZ
52682014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5269 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5270
5271 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
5272 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
5273 and strpbrk-ppc64 objects.
5274 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5275 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
5276 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
5277 multiarch strpbrk for POWER7.
5278 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
5279 multiarch strpbrk for PPC64.
5280 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
5281 ifunc selector.
5282 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
5283 strpbrk for POWER7.
5284
8c92dfff
JM
52852014-03-20 Joseph Myers <joseph@codesourcery.com>
5286
5287 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
5288 (atan_test): Likewise.
5289 (atanh_test_data): Use NO_TEST_INLINE for two tests.
5290 (atanh_test): Use ALL_RM_TEST.
5291 (atan2_test_data): Likewise.
5292 (cabs_test): Likewise.
5293 (cacosh_test): Likewise.
5294 (carg_test): Likewise.
5295 (casin_test): Likewise.
5296 (casinh_test): Likewise.
5297 (cbrt_test): Likewise.
5298 (csqrt_test): Likewise.
5299 (erf_test): Likewise.
5300 (erfc_test): Likewise.
5301 (pow10_test): Likewise.
5302 (exp2_test): Likewise.
5303 (hypot_test): Likewise.
5304 (j0_test): Likewise.
5305 (j1_test): Likewise.
5306 (lgamma_test): Likewise.
5307 (gamma_test): Likewise.
5308 (sincos_test): Likewise.
5309 (tanh_test): Likewise.
5310 (y0_test): Likewise.
5311 (y1_test): Likewise.
5312 * sysdeps/i386/fpu/libm-test-ulps: Update.
5313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5314
6eaf95cb
AZ
53152014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5316
a387428c
SP
5317 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
5318 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
5319 and strcspn-ppc64 objects.
5320 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5321 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
5322 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
5323 multiarch strcspn for POWER7.
5324 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
5325 multiarch strcspn for PPC64.
5326 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
5327 ifunc selector.
5328 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
5329 strcspn for POWER7.
5330
ae3a5dff
JM
53312014-03-20 Joseph Myers <joseph@codesourcery.com>
5332
5333 * math/gen-libm-test.pl (generate_testfile): Expect only function
5334 name as argument to AUTO_TESTS_* and pass results for all rounding
5335 modes to parse_args.
5336 (parse_auto_input): Separate inputs of automatic tests from
5337 outputs before storing in %auto_tests.
5338 * math/libm-test.inc (acos_test_data): Update call to
5339 AUTO_TESTS_f_f.
5340 (acos_test): Use ALL_RM_TEST.
5341 (acos_tonearest_test_data): Remove.
5342 (acos_test_tonearest): Likewise.
5343 (acos_towardzero_test_data): Likewise.
5344 (acos_test_towardzero): Likewise.
5345 (acos_downward_test_data): Likewise.
5346 (acos_test_downward): Likewise.
5347 (acos_upward_test_data): Likewise.
5348 (acos_test_upward): Likewise.
5349 (acosh_test_data): Update call to AUTO_TESTS_f_f.
5350 (asin_test_data): Likewise.
5351 (asin_test): Use ALL_RM_TEST.
5352 (asin_tonearest_test_data): Remove.
5353 (asin_test_tonearest): Likewise.
5354 (asin_towardzero_test_data): Likewise.
5355 (asin_test_towardzero): Likewise.
5356 (asin_downward_test_data): Likewise.
5357 (asin_test_downward): Likewise.
5358 (asin_upward_test_data): Likewise.
5359 (asin_test_upward): Likewise.
5360 (asinh_test_data): Update call to AUTO_TESTS_f_f.
5361 (atan_test_data): Likewise.
5362 (atanh_test_data): Likewise.
5363 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
5364 (cabs_test_data): Update call to AUTO_TESTS_c_f.
5365 (carg_test_data): Likewise.
5366 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
5367 (ccos_test_data): Update call to AUTO_TESTS_c_c.
5368 (ccosh_test_data): Likewise.
5369 (cexp_test_data): Likewise.
5370 (clog_test_data): Likewise.
5371 (clog10_test_data): Likewise.
5372 (cos_test_data): Update call to AUTO_TESTS_f_f.
5373 (cos_test): Use ALL_RM_TEST.
5374 (cos_tonearest_test_data): Remove.
5375 (cos_test_tonearest): Likewise.
5376 (cos_towardzero_test_data): Likewise.
5377 (cos_test_towardzero): Likewise.
5378 (cos_downward_test_data): Likewise.
5379 (cos_test_downward): Likewise.
5380 (cos_upward_test_data): Likewise.
5381 (cos_test_upward): Likewise.
5382 (cosh_test_data): Update call to AUTO_TESTS_f_f.
5383 (cosh_test): Use ALL_RM_TEST.
5384 (cosh_tonearest_test_data): Remove.
5385 (cosh_test_tonearest): Likewise.
5386 (cosh_towardzero_test_data): Likewise.
5387 (cosh_test_towardzero): Likewise.
5388 (cosh_downward_test_data): Likewise.
5389 (cosh_test_downward): Likewise.
5390 (cosh_upward_test_data): Likewise.
5391 (cosh_test_upward): Likewise.
5392 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
5393 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
5394 (ctan_test_data): Likewise.
5395 (ctan_test): Use ALL_RM_TEST.
5396 (ctan_tonearest_test_data): Remove.
5397 (ctan_test_tonearest): Likewise.
5398 (ctan_towardzero_test_data): Likewise.
5399 (ctan_test_towardzero): Likewise.
5400 (ctan_downward_test_data): Likewise.
5401 (ctan_test_downward): Likewise.
5402 (ctan_upward_test_data): Likewise.
5403 (ctan_test_upward): Likewise.
5404 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
5405 (ctanh_test): Use ALL_RM_TEST.
5406 (ctanh_tonearest_test_data): Remove.
5407 (ctanh_test_tonearest): Likewise.
5408 (ctanh_towardzero_test_data): Likewise.
5409 (ctanh_test_towardzero): Likewise.
5410 (ctanh_downward_test_data): Likewise.
5411 (ctanh_test_downward): Likewise.
5412 (ctanh_upward_test_data): Likewise.
5413 (ctanh_test_upward): Likewise.
5414 (erf_test_data): Update call to AUTO_TESTS_f_f.
5415 (erfc_test_data): Likewise.
5416 (exp_test_data): Likewise.
5417 (exp_test): Use ALL_RM_TEST.
5418 (exp_tonearest_test_data): Remove.
5419 (exp_test_tonearest): Likewise.
5420 (exp_towardzero_test_data): Likewise.
5421 (exp_test_towardzero): Likewise.
5422 (exp_downward_test_data): Likewise.
5423 (exp_test_downward): Likewise.
5424 (exp_upward_test_data): Likewise.
5425 (exp_test_upward): Likewise.
5426 (exp10_test_data): Update call to AUTO_TESTS_f_f.
5427 (exp10_test): Use ALL_RM_TEST.
5428 (exp10_tonearest_test_data): Remove.
5429 (exp10_test_tonearest): Likewise.
5430 (exp10_towardzero_test_data): Likewise.
5431 (exp10_test_towardzero): Likewise.
5432 (exp10_downward_test_data): Likewise.
5433 (exp10_test_downward): Likewise.
5434 (exp10_upward_test_data): Likewise.
5435 (exp10_test_upward): Likewise.
5436 (exp2_test_data): Update call to AUTO_TESTS_f_f.
5437 (expm1_test_data): Likewise.
5438 (expm1_test): Use ALL_RM_TEST.
5439 (expm1_tonearest_test_data): Remove.
5440 (expm1_test_tonearest): Likewise.
5441 (expm1_towardzero_test_data): Likewise.
5442 (expm1_test_towardzero): Likewise.
5443 (expm1_downward_test_data): Likewise.
5444 (expm1_test_downward): Likewise.
5445 (expm1_upward_test_data): Likewise.
5446 (expm1_test_upward): Likewise.
5447 (fma_test_data): Update call to AUTO_TESTS_fff_f.
5448 (fma_test): Use ALL_RM_TEST.
5449 (fma_towardzero_test_data): Remove.
5450 (fma_test_towardzero): Likewise.
5451 (fma_downward_test_data): Likewise.
5452 (fma_test_downward): Likewise.
5453 (fma_upward_test_data): Likewise.
5454 (fma_test_upward): Likewise.
5455 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
5456 (j0_test_data): Update call to AUTO_TESTS_f_f.
5457 (j1_test_data): Likewise.
5458 (jn_test_data): Update call to AUTO_TESTS_if_f.
5459 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
5460 (log_test_data): Update call to AUTO_TESTS_f_f.
5461 (log10_test_data): Likewise.
5462 (log1p_test_data): Likewise.
5463 (log2_test_data): Likewise.
5464 (pow_test_data): Update call to AUTO_TESTS_ff_f.
5465 (pow_tonearest_test_data): Likewise.
5466 (sin_test_data): Update call to AUTO_TESTS_f_f.
5467 (sin_test): Use ALL_RM_TEST.
5468 (sin_tonearest_test_data): Remove.
5469 (sin_test_tonearest): Likewise.
5470 (sin_towardzero_test_data): Likewise.
5471 (sin_test_towardzero): Likewise.
5472 (sin_downward_test_data): Likewise.
5473 (sin_test_downward): Likewise.
5474 (sin_upward_test_data): Likewise.
5475 (sin_test_upward): Likewise.
5476 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
5477 (sinh_test_data): Update call to AUTO_TESTS_f_f.
5478 (sinh_test): Use ALL_RM_TEST.
5479 (sinh_tonearest_test_data): Remove.
5480 (sinh_test_tonearest): Likewise.
5481 (sinh_towardzero_test_data): Likewise.
5482 (sinh_test_towardzero): Likewise.
5483 (sinh_downward_test_data): Likewise.
5484 (sinh_test_downward): Likewise.
5485 (sinh_upward_test_data): Likewise.
5486 (sinh_test_upward): Likewise.
5487 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
5488 (sqrt_test): Use ALL_RM_TEST.
5489 (sqrt_tonearest_test_data): Remove.
5490 (sqrt_test_tonearest): Likewise.
5491 (sqrt_towardzero_test_data): Likewise.
5492 (sqrt_test_towardzero): Likewise.
5493 (sqrt_downward_test_data): Likewise.
5494 (sqrt_test_downward): Likewise.
5495 (sqrt_upward_test_data): Likewise.
5496 (sqrt_test_upward): Likewise.
5497 (tan_test_data): Update call to AUTO_TESTS_f_f.
5498 (tan_test): Use ALL_RM_TEST.
5499 (tan_tonearest_test_data): Remove.
5500 (tan_test_tonearest): Likewise.
5501 (tan_towardzero_test_data): Likewise.
5502 (tan_test_towardzero): Likewise.
5503 (tan_downward_test_data): Likewise.
5504 (tan_test_downward): Likewise.
5505 (tan_upward_test_data): Likewise.
5506 (tan_test_upward): Likewise.
5507 (tanh_test_data): Update call to AUTO_TESTS_f_f.
5508 (tgamma_test_data): Likewise.
5509 (y0_test_data): Likewise.
5510 (y1_test_data): Likewise.
5511 (yn_test_data): Update call to AUTO_TESTS_if_f.
5512 (main): Do not call removed functions.
5513
d71aeee8
JM
55142014-03-19 Joseph Myers <joseph@codesourcery.com>
5515
5516 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
5517 (ldexp_test_data): Remove.
5518 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
5519 scalbn_test_data.
5520 (scalb_test): Use ALL_RM_TEST.
5521
baaf1ded
AS
55222014-03-19 Andreas Schwab <schwab@suse.de>
5523
5524 * nscd/nscd.service: Also invalidate netgroup cache on reload.
5525
b1115e91
JM
55262014-03-19 Joseph Myers <joseph@codesourcery.com>
5527
5528 [BZ #16649]
5529 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5530 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
5531 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
5532 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5533 (__ASSUME_PREADV): Undefine.
5534 (__ASSUME_PWRITEV): Likewise.
5535
0283ecca
RM
55362014-03-18 Roland McGrath <roland@hack.frob.com>
5537
7d375303
RM
5538 * bits/mman-linux.h: Add comment about non-Linux use.
5539 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
5540 bits/mman-linux.h resting place.
5541
0283ecca
RM
5542 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
5543 * bits/mman-linux.h: ... here.
5544
aebe1003
AZ
55452014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5546
5547 * conform/conformtest.pl: Add standard definition when calling C
5548 preprocessor on data files.
5549 (checknamespace): Remove unused variable.
5550
b29b6bb8
JM
55512014-03-18 Joseph Myers <joseph@codesourcery.com>
5552
5553 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
5554 minus_oflow, plus_uflow and minus_uflow in expected results.
5555 * math/libm-test.inc (scalbn_test_data): Add more tests of
5556 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
5557 minus_uflow.
5558 (scalbn_test): Use ALL_RM_TEST.
5559 (scalbln_test_data): Add more tests of negative arguments. Use
5560 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
5561 (scalbln_test): Use ALL_RM_TEST.
5562
c8f8fa15
RM
55632014-03-18 Roland McGrath <roland@hack.frob.com>
5564
5565 * scripts/abilist.awk: Ignore symbols marked with .hidden.
5566
fede7a5f
WN
55672014-03-18 Will Newton <will.newton@linaro.org>
5568
5569 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
5570 inaccurate comment.
5571
80cf0a58
JM
55722014-03-18 Joseph Myers <joseph@codesourcery.com>
5573
5574 * Makerules [!subdir] (check-abi): Exit with error status if a
5575 test failed.
5576
b3620862
JM
55772014-03-17 Joseph Myers <joseph@codesourcery.com>
5578
5579 * math/libm-test.inc (nearbyint_test_data): Include all tests used
5580 for rint. Include results for all rounding modes.
5581 (nearbyint_test): Use ALL_RM_TEST.
5582 (rint_test_data): Include all tests used for nearbyint.
5583
788bba36
WN
55842014-03-17 Will Newton <will.newton@linaro.org>
5585
04ec140a
WN
5586 * nptl/sysdeps/pthread/pthread.h: Revert previous
5587 change.
5588
7579d8d5
WN
5589 * sysdeps/generic/ldsodefs.h: Revert previous
5590 change.
5591
c15cf13a
WN
5592 * libio/genops.c: Revert previous change.
5593 * libio/libioP.h: Likewise.
5594 * stdio-common/vfprintf.c: Likewise.
5595
d0ac1324
WN
5596 * sysdeps/generic/math_private.h: Revert previous
5597 change.
5598
9290130a
WN
5599 * sysdeps/generic/math_private.h: Check whether
5600 HAVE_RM_CTX is defined with #ifdef rather
5601 than #if.
5602
afb466fc
WN
5603 * argp/argp-fmtstream.h: Check whether
5604 __STRICT_ANSI__ is defined with #ifdef rather
5605 than #if.
5606 * argp/argp.h: Likewise.
5607
f7efd7c3
WN
5608 * libio/genops.c: Check whether
5609 _IO_JUMPS_OFFSET is defined with #ifdef rather
5610 than #if.
5611 * libio/libioP.h: Likewise.
5612 * stdio-common/vfprintf.c: Likewise.
5613
53f1bed3
WN
5614 * sysdeps/generic/ldsodefs.h: Check whether
5615 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
5616 than #if.
5617
788bba36
WN
5618 * nptl/sysdeps/pthread/pthread.h: Check
5619 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
5620 its value.
5621
fcd89ebe
SP
56222014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5623
ae42bbc5
SP
5624 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
5625 setting O_APPEND.
5626 * libio/tst-ftell-active-handler.c (do_append_test): Add a
5627 test case.
5628
ea33158c
SP
5629 [BZ #16680]
5630 * libio/fileops.c (_IO_file_open): Seek to end of file but
5631 don't cache the offset.
5632 (get_file_offset): Remove function.
5633 (do_ftell): Use cached offset when available.
5634 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
5635 don't cache the offset.
5636 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
5637 case.
5638 (do_one_test): Call it.
5639 (do_ftell_test): Fix up expected old offset for a+ mode.
5640 * libio/wfileops.c (do_ftell_wide): Used cached offset when
5641 available.
5642
b1dbb426
SP
5643 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
5644 up test status with function return status.
5645 (do_write_test): Likewise.
5646 (do_append_test): Likewise.
5647
fcd89ebe
SP
5648 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
5649 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
5650 Remove.
5651
9962a2d3
JM
56522014-03-17 Joseph Myers <joseph@codesourcery.com>
5653
5654 * math/gen-libm-test.pl (parse_args): Handle results specified for
5655 each rounding mode separately.
5656 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
5657 tests and results from lrint_tonearest_test_data,
5658 lrint_towardzero_test_data, lrint_downward_test_data and
5659 lrint_upward_test_data.
5660 (lrint_test): Use ALL_RM_TEST.
5661 (lrint_tonearest_test_data): Remove.
5662 (lrint_test_tonearest): Likewise.
5663 (lrint_towardzero_test_data): Likewise.
5664 (lrint_test_towardzero): Likewise.
5665 (lrint_downward_test_data): Likewise.
5666 (lrint_test_downward): Likewise.
5667 (lrint_upward_test_data): Likewise.
5668 (lrint_test_upward): Likewise.
5669 (llrint_test_data): Merge in per-rounding-mode tests and results
5670 from llrint_tonearest_test_data, llrint_towardzero_test_data,
5671 llrint_downward_test_data and llrint_upward_test_data.
5672 (llrint_test): Use ALL_RM_TEST.
5673 (llrint_tonearest_test_data): Remove.
5674 (llrint_test_tonearest): Likewise.
5675 (llrint_towardzero_test_data): Likewise.
5676 (llrint_test_towardzero): Likewise.
5677 (llrint_downward_test_data): Likewise.
5678 (llrint_test_downward): Likewise.
5679 (llrint_upward_test_data): Likewise.
5680 (llrint_test_upward): Likewise.
5681 (rint_test_data): Merge in per-rounding-mode tests and results
5682 from rint_tonearest_test_data, rint_towardzero_test_data,
5683 rint_downward_test_data and rint_upward_test_data. Add
5684 per-rounding-mode results for tests not in those arrays.
5685 (rint_test): Use ALL_RM_TEST.
5686 (rint_tonearest_test_data): Remove.
5687 (rint_test_tonearest): Likewise.
5688 (rint_towardzero_test_data): Likewise.
5689 (rint_test_towardzero): Likewise.
5690 (rint_downward_test_data): Likewise.
5691 (rint_test_downward): Likewise.
5692 (rint_upward_test_data): Likewise.
5693 (rint_test_upward): Likewise.
5694 (main): Don't call removed functions.
5695
5006148e
RM
56962014-03-14 Roland McGrath <roland@hack.frob.com>
5697
5698 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
5699 "Compiled on ..." crapola. It is anti-useful.
5700
d6fe5e58
JM
57012014-03-14 Joseph Myers <joseph@codesourcery.com>
5702
5703 * scripts/evaluate-test.sh: Handle fourth argument to determine
5704 whether test run should stop on failure.
5705 * Makeconfig (stop-on-test-failure): New variable.
5706 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
5707 $(stop-on-test-failure).
5708 * Makefile (tests): Give a summary of results from testing and
5709 exit with failure status if they include an ERROR or FAIL.
5710 (xtests): Likewise.
5711 * manual/install.texi (Configuring and compiling): Mention
5712 stop-on-test-failure=y.
5713 * INSTALL: Regenerated.
5714
498a2233
RM
57152014-03-14 Roland McGrath <roland@hack.frob.com>
5716
22dbc19d
RM
5717 * scripts/versionlist.awk: New file.
5718 * Makerules [$(build-shared) = yes]
5719 (postclean-generated): Add Versions.def, not Versions.def.v and
5720 Versions.def.v.i.
5721 ($(common-objpfx)Versions.def.v.i): Target removed.
5722 ($(common-objpfx)Versions.def): New target.
5723 ($(common-objpfx)Versions.all): Depend on that rather that
5724 $(common-objpfx)Versions.def.v.
5725 * Versions.def: File removed.
5726
498a2233
RM
5727 * Makeconfig (+gccwarn): Add -Wundef.
5728 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
5729 a dl-sysdep.h breaking its contract.
5730 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
5731 * include/stackinfo.h: New file.
5732 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
5733 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
5734 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
5735 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
5736 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
5737 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
5738 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5739 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5740 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5741 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5742 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5743 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
5744 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5745 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5746 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5747
c7de5025
AZ
57482014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5749
5750 [BZ #16707]
5751 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
5752 implementation.
5753 * math/libm-test.inc (round_test_data): Add more tests.
5754
98fb27a3
AZ
5755 [BZ #16706]
5756 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
5757 implementation.
5758 * math/libm-test.inc (nearbyint_test_data): Add more tests.
5759
374f7f61
AZ
5760 [BZ #16701]
5761 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
5762 implementation.
5763 * math/libm-test.inc (ceil_test_data): Add more tests.
5764
4655c291
AZ
5765 * math/libm-test.inc (trunc_test_data): Add more tests related to
5766 BZ#16414.
5767
d7329d4b
RM
57682014-03-14 Roland McGrath <roland@hack.frob.com>
5769
5770 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
5771 with #if rather than #ifdef.
5772 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
5773
aa4de9ce
L
57742014-03-14 H.J. Lu <hongjiu.lu@intel.com>
5775
5776 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
5777 first. Disable AVX-512 GCC support if assembler doesn't support
5778 it.
5779 * sysdeps/x86_64/configure: Regenerated.
5780
2e03fae7
CD
57812014-03-13 Carlos O'Donell <carlos@redhat.com>
5782
5783 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
5784 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
5785 (__old_pthread_attr_setstack): Likewise.
5786 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
5787 [!_STACK_GROWS_DOWN]: Likewise.
5788
43ca83ec
MF
57892014-03-13 Mike Frysinger <vapier@gentoo.org>
5790
5791 * config.make.in (have-bash2): Delete.
5792 * configure.ac (libc_cv_have_bash2): Delete.
5793 * configure: Regenerate.
5794 * elf/Makefile (common-ldd-rewrite): Rename to ...
5795 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
5796 (sh-ldd-rewrite): Delete.
5797 (bash-ldd-rewrite): Delete.
5798 (have-bash2): Delete checks.
57f41c40
AS
5799 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
5800 ldd-rewrite.
c66e48b4
MF
5801
5802 * config.make.in (have-ksh): Delete.
5803 (KSH): Delete.
5804 * configure.ac (libc_cv_have_ksh): Delete.
5805 * configure: Regenerate.
5806
b93834ef
MF
5807 * elf/Makefile: Delete $(have-ksh) check.
5808 ($(objpfx)sotruss): Change KSH to BASH.
5809 * elf/sotruss.ksh: Rename to ...
5810 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
5811 function style to match POSIX. Drop ksh vim mode setting.
5812
f3a4632a
MF
5813 * manual/time.texi (Specifying the Time Zone with TZ): Change
5814 Tuesday to Thursday.
5815
5896c8bd
MF
5816 * debug/tst-longjmp_chk2.c: Update header comment.
5817 (stackoverflow_handler): Add comment. Call assert on pass value.
5818
2d63a517
IZ
58192014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
5820
5821 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
5822 (HAVE_AVX512_ASM_SUPPORT): Likewise.
5823 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
5824 (La_x86_64_vector): Add zmm.
5825 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
5826 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
5827 ($(objpfx)tst-audit10): New target.
5828 ($(objpfx)tst-audit10.out): Likewise.
5829 (tst-audit10-ENV): New.
5830 (AVX512-CFLAGS): Likewise.
5831 (CFLAGS-tst-audit10.c): Likewise.
5832 (CFLAGS-tst-auditmod10a.c): Likewise.
5833 (CFLAGS-tst-auditmod10b.c): Likewise.
5834 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
5835 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
5836 * sysdeps/x86_64/configure: Regenerated.
5837 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
5838 AVX-512 zmm register support.
5839 (_dl_x86_64_save_sse): Likewise.
5840 (_dl_x86_64_restore_sse): Likewise.
5841 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
5842 size vector registers.
5843 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
5844 (ZMM_SIZE): Likewise.
5845 * sysdeps/x86_64/tst-audit10.c: New file.
5846 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
5847 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
5848
44c4e5d5
RM
58492014-03-13 Roland McGrath <roland@hack.frob.com>
5850
5851 * configure.ac (HAVE_EHDR_START): New check.
5852 * configure: Regenerated.
5853 * config.h.in (HAVE_EHDR_START): New #undef.
5854 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
5855 assuming the lowest-addressed segment maps the start of the file.
5856
acd6e389
JM
58572014-03-13 Joseph Myers <joseph@codesourcery.com>
5858
5859 * INSTALL: Regenerated.
5860
6f918f36
WN
58612014-03-13 Will Newton <will.newton@linaro.org>
5862
5863 * manual/setjmp.texi (System V contexts): Improve
5864 clarity and grammar of documentation.
5865
798212a0
PP
58662014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
5867
5868 [BZ #16381]
798212a0 5869 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 5870 (tests-pie): Add tst-pie2.
798212a0
PP
5871 * elf/tst-pie2.c: New file.
5872 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
5873 for ET_EXEC.
5874 * elf/rtld.c (map_doit): Load executable as lt_executable.
5875 (dl_main): Likewise.
5876
abe6d90c
JM
58772014-03-12 Joseph Myers <joseph@codesourcery.com>
5878
5879 [BZ #16642]
5880 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5881 (__ASSUME_PSELECT): Undefine.
5882
dd3946c6
AZ
58832014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5884
5885 [BZ #16689]
5886 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
5887 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
5888 static build.
5889 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
5890 selector for static builds.
5891
c44496df
SP
58922014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5893
5894 [BZ #16695]
5895 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
5896 key in the buffer.
5897
27c7220a
AZ
58982014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5899
57f41c40
AS
5900 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
5901 IFUNC selector for static builds.
27c7220a 5902
600fa361
JM
59032014-03-11 Joseph Myers <joseph@codesourcery.com>
5904
76c96cf7
JM
5905 * sysdeps/mips/math_private.h [__mips_hard_float]
5906 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
5907 libc_feresetround_mips_ctx.
5908 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
5909 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
5910 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
5911
600fa361
JM
5912 [BZ #16677]
5913 * math/s_nextafter.c (__nextafter): Do not return value from
5914 overflowing computation.
5915 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
5916 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
5917 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
5918 Likewise.
5919 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5920 Likewise.
5921 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
5922 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
5923
d7706c32
RM
59242014-03-11 Roland McGrath <roland@hack.frob.com>
5925
5926 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
5927 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
5928 Move sfi_sp use from the load-multiple (that no longer sets sp) to
5929 the new mov targetting sp.
5930
4facea47
AZ
59312014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5932
5933 [BZ #16683]
5934 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
5935 Define it for static builds as well.
5936 (NO_BZERO_IMPL): Likewise.
5937
e65caf1f
VR
59382014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5939
5940 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
5941 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
5942 multiarch strspn for PPC64.
5943 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
5944 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
5945 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5946 (__libc_ifunc_impl_list): Likewise.
5947 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
5948 multiarch optimizations
5949 * string/strspn.c (strspn): Using macro to redefine symbol name.
5950
ba9cc071
AZ
59512014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5952 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5953
5954 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
5955 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
5956 multiarch strncat for PPC64.
5957 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
5958 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
5959 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5960 (__libc_ifunc_impl_list): Likewise.
5961 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
5962 multiarch optimizations
5963
8b4ff974
SP
59642014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5965
5966 [BZ #16639]
5967 * nscd/nscd.service: Make service type forking.
5968
54b46a4b
AZ
59692014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5970
5971 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
5972 sign in non default rounding modes.
5973 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5974
e9996ef7
JM
59752014-03-08 Joseph Myers <joseph@codesourcery.com>
5976
5977 * math/libm-test.inc (ALL_RM_TEST): New macro.
5978 (ceil_test): Use ALL_RM_TEST.
5979 (cimag_test): Likewise.
5980 (conj_test): Likewise.
5981 (copysign_test): Likewise.
5982 (cproj_test): Likewise.
5983 (creal_test): Likewise.
5984 (fabs_test): Likewise.
5985 (floor_test): Likewise.
5986 (fmax_test): Likewise.
5987 (fmin_test): Likewise.
5988 (fmod_test): Likewise.
5989 (fpclassify_test): Likewise.
5990 (frexp_test): Likewise.
5991 (ilogb_test): Likewise.
5992 (isfinite_test): Likewise.
5993 (finite_test): Likewise.
5994 (isgreater_test): Likewise.
5995 (isgreaterequal_test): Likewise.
5996 (isinf_test): Likewise.
5997 (isless_test): Likewise.
5998 (islessequal_test): Likewise.
5999 (islessgreater_test): Likewise.
6000 (isnan_test): Likewise.
6001 (isnormal_test): Likewise.
6002 (issignaling_test): Likewise.
6003 (isunordered_test): Likewise.
6004 (logb_test): Likewise.
6005 (logb_downward_test_data): Remove.
6006 (logb_test_downward): Likewise.
6007 (lround_test): Use ALL_RM_TEST.
6008 (llround_test): Likewise.
6009 (modf_test): Likewise.
6010 (nexttoward_test): Likewise.
6011 (remainder_test): Likewise.
6012 (drem_test): Likewise.
6013 (remainder_tonearest_test_data): Likewise.
6014 (remainder_test_tonearest): Likewise.
6015 (drem_test_tonearest): Likewise.
6016 (remainder_towardzero_test_data): Likewise.
6017 (remainder_test_towardzero): Likewise.
6018 (drem_test_towardzero): Likewise.
6019 (remainder_downward_test_data): Likewise.
6020 (remainder_test_downward): Likewise.
6021 (drem_test_downward): Likewise.
6022 (remainder_upward_test_data): Likewise.
6023 (remainder_test_upward): Likewise.
6024 (drem_test_upward): Likewise.
6025 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
6026 (round_test): Use ALL_RM_TEST.
6027 (signbit_test): Likewise.
6028 (trunc_test): Likewise.
6029 (significand_test): Likewise.
6030 (main): Don't call removed functions.
6031
bc61d27c
JM
60322014-03-07 Joseph Myers <joseph@codesourcery.com>
6033
5c780849
JM
6034 [BZ #16674]
6035 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
6036 || __USE_XOPEN2K8].
6037 (ILL_ILLOPN): Likewise.
6038 (ILL_ILLADR): Likewise.
6039 (ILL_ILLTRP): Likewise.
6040 (ILL_PRVOPC): Likewise.
6041 (ILL_PRVREG): Likewise.
6042 (ILL_COPROC): Likewise.
6043 (ILL_BADSTK): Likewise.
6044 (FPE_INTDIV): Likewise.
6045 (FPE_INTOVF): Likewise.
6046 (FPE_FLTDIV): Likewise.
6047 (FPE_FLTOVF): Likewise.
6048 (FPE_FLTUND): Likewise.
6049 (FPE_FLTRES): Likewise.
6050 (FPE_FLTINV): Likewise.
6051 (FPE_FLTSUB): Likewise.
6052 (SEGV_MAPERR): Likewise.
6053 (SEGV_ACCERR): Likewise.
6054 (BUS_ADRALN): Likewise.
6055 (BUS_ADRERR): Likewise.
6056 (BUS_OBJERR): Likewise.
6057 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6058 (TRAP_TRACE): Likewise.
6059 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6060 __USE_XOPEN2K8].
6061 (CLD_KILLED): Likewise.
6062 (CLD_DUMPED): Likewise.
6063 (CLD_TRAPPED): Likewise.
6064 (CLD_STOPPED): Likewise.
6065 (CLD_CONTINUED): Likewise.
6066 (POLL_IN): Likewise.
6067 (POLL_OUT): Likewise.
6068 (POLL_MSG): Likewise.
6069 (POLL_ERR): Likewise.
6070 (POLL_PRI): Likewise.
6071 (POLL_HUP): Likewise.
6072 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
6073 Likewise.
6074 (ILL_ILLOPN): Likewise.
6075 (ILL_ILLADR): Likewise.
6076 (ILL_ILLTRP): Likewise.
6077 (ILL_PRVOPC): Likewise.
6078 (ILL_PRVREG): Likewise.
6079 (ILL_COPROC): Likewise.
6080 (ILL_BADSTK): Likewise.
6081 (FPE_INTDIV): Likewise.
6082 (FPE_INTOVF): Likewise.
6083 (FPE_FLTDIV): Likewise.
6084 (FPE_FLTOVF): Likewise.
6085 (FPE_FLTUND): Likewise.
6086 (FPE_FLTRES): Likewise.
6087 (FPE_FLTINV): Likewise.
6088 (FPE_FLTSUB): Likewise.
6089 (SEGV_MAPERR): Likewise.
6090 (SEGV_ACCERR): Likewise.
6091 (BUS_ADRALN): Likewise.
6092 (BUS_ADRERR): Likewise.
6093 (BUS_OBJERR): Likewise.
6094 (BUS_MCEERR_AR): Likewise.
6095 (BUS_MCEERR_AO): Likewise.
6096 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6097 (TRAP_TRACE): Likewise.
6098 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6099 __USE_XOPEN2K8].
6100 (CLD_KILLED): Likewise.
6101 (CLD_DUMPED): Likewise.
6102 (CLD_TRAPPED): Likewise.
6103 (CLD_STOPPED): Likewise.
6104 (CLD_CONTINUED): Likewise.
6105 (POLL_IN): Likewise.
6106 (POLL_OUT): Likewise.
6107 (POLL_MSG): Likewise.
6108 (POLL_ERR): Likewise.
6109 (POLL_PRI): Likewise.
6110 (POLL_HUP): Likewise.
6111 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
6112 (ILL_ILLOPN): Likewise.
6113 (ILL_ILLADR): Likewise.
6114 (ILL_ILLTRP): Likewise.
6115 (ILL_PRVOPC): Likewise.
6116 (ILL_PRVREG): Likewise.
6117 (ILL_COPROC): Likewise.
6118 (ILL_BADSTK): Likewise.
6119 (FPE_INTDIV): Likewise.
6120 (FPE_INTOVF): Likewise.
6121 (FPE_FLTDIV): Likewise.
6122 (FPE_FLTOVF): Likewise.
6123 (FPE_FLTUND): Likewise.
6124 (FPE_FLTRES): Likewise.
6125 (FPE_FLTINV): Likewise.
6126 (FPE_FLTSUB): Likewise.
6127 (SEGV_MAPERR): Likewise.
6128 (SEGV_ACCERR): Likewise.
6129 (BUS_ADRALN): Likewise.
6130 (BUS_ADRERR): Likewise.
6131 (BUS_OBJERR): Likewise.
6132 (BUS_MCEERR_AR): Likewise.
6133 (BUS_MCEERR_AO): Likewise.
6134 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6135 (TRAP_TRACE): Likewise.
6136 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6137 __USE_XOPEN2K8].
6138 (CLD_KILLED): Likewise.
6139 (CLD_DUMPED): Likewise.
6140 (CLD_TRAPPED): Likewise.
6141 (CLD_STOPPED): Likewise.
6142 (CLD_CONTINUED): Likewise.
6143 (POLL_IN): Likewise.
6144 (POLL_OUT): Likewise.
6145 (POLL_MSG): Likewise.
6146 (POLL_ERR): Likewise.
6147 (POLL_PRI): Likewise.
6148 (POLL_HUP): Likewise.
6149 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
6150 Likewise.
6151 (ILL_ILLOPN): Likewise.
6152 (ILL_ILLADR): Likewise.
6153 (ILL_ILLTRP): Likewise.
6154 (ILL_PRVOPC): Likewise.
6155 (ILL_PRVREG): Likewise.
6156 (ILL_COPROC): Likewise.
6157 (ILL_BADSTK): Likewise.
6158 (ILL_BADIADDR): Likewise.
6159 (ILL_BREAK): Likewise.
6160 (FPE_INTDIV): Likewise.
6161 (FPE_INTOVF): Likewise.
6162 (FPE_FLTDIV): Likewise.
6163 (FPE_FLTOVF): Likewise.
6164 (FPE_FLTUND): Likewise.
6165 (FPE_FLTRES): Likewise.
6166 (FPE_FLTINV): Likewise.
6167 (FPE_FLTSUB): Likewise.
6168 (FPE_DECOVF): Likewise.
6169 (FPE_DECDIV): Likewise.
6170 (FPE_DECERR): Likewise.
6171 (FPE_INVASC): Likewise.
6172 (FPE_INVDEC): Likewise.
6173 (SEGV_MAPERR): Likewise.
6174 (SEGV_ACCERR): Likewise.
6175 (SEGV_PSTKOVF): Likewise.
6176 (BUS_ADRALN): Likewise.
6177 (BUS_ADRERR): Likewise.
6178 (BUS_OBJERR): Likewise.
6179 (BUS_MCEERR_AR): Likewise.
6180 (BUS_MCEERR_AO): Likewise.
6181 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6182 (TRAP_TRACE): Likewise.
6183 (TRAP_BRANCH): Likewise.
6184 (TRAP_HWBKPT): Likewise.
6185 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6186 __USE_XOPEN2K8].
6187 (CLD_KILLED): Likewise.
6188 (CLD_DUMPED): Likewise.
6189 (CLD_TRAPPED): Likewise.
6190 (CLD_STOPPED): Likewise.
6191 (CLD_CONTINUED): Likewise.
6192 (POLL_IN): Likewise.
6193 (POLL_OUT): Likewise.
6194 (POLL_MSG): Likewise.
6195 (POLL_ERR): Likewise.
6196 (POLL_PRI): Likewise.
6197 (POLL_HUP): Likewise.
6198 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
6199 (ILL_ILLOPN): Likewise.
6200 (ILL_ILLADR): Likewise.
6201 (ILL_ILLTRP): Likewise.
6202 (ILL_PRVOPC): Likewise.
6203 (ILL_PRVREG): Likewise.
6204 (ILL_COPROC): Likewise.
6205 (ILL_BADSTK): Likewise.
6206 (FPE_INTDIV): Likewise.
6207 (FPE_INTOVF): Likewise.
6208 (FPE_FLTDIV): Likewise.
6209 (FPE_FLTOVF): Likewise.
6210 (FPE_FLTUND): Likewise.
6211 (FPE_FLTRES): Likewise.
6212 (FPE_FLTINV): Likewise.
6213 (FPE_FLTSUB): Likewise.
6214 (SEGV_MAPERR): Likewise.
6215 (SEGV_ACCERR): Likewise.
6216 (BUS_ADRALN): Likewise.
6217 (BUS_ADRERR): Likewise.
6218 (BUS_OBJERR): Likewise.
6219 (BUS_MCEERR_AR): Likewise.
6220 (BUS_MCEERR_AO): Likewise.
6221 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6222 (TRAP_TRACE): Likewise.
6223 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6224 __USE_XOPEN2K8].
6225 (CLD_KILLED): Likewise.
6226 (CLD_DUMPED): Likewise.
6227 (CLD_TRAPPED): Likewise.
6228 (CLD_STOPPED): Likewise.
6229 (CLD_CONTINUED): Likewise.
6230 (POLL_IN): Likewise.
6231 (POLL_OUT): Likewise.
6232 (POLL_MSG): Likewise.
6233 (POLL_ERR): Likewise.
6234 (POLL_PRI): Likewise.
6235 (POLL_HUP): Likewise.
6236 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
6237 (ILL_ILLOPN): Likewise.
6238 (ILL_ILLADR): Likewise.
6239 (ILL_ILLTRP): Likewise.
6240 (ILL_PRVOPC): Likewise.
6241 (ILL_PRVREG): Likewise.
6242 (ILL_COPROC): Likewise.
6243 (ILL_BADSTK): Likewise.
6244 (FPE_INTDIV): Likewise.
6245 (FPE_INTOVF): Likewise.
6246 (FPE_FLTDIV): Likewise.
6247 (FPE_FLTOVF): Likewise.
6248 (FPE_FLTUND): Likewise.
6249 (FPE_FLTRES): Likewise.
6250 (FPE_FLTINV): Likewise.
6251 (FPE_FLTSUB): Likewise.
6252 (SEGV_MAPERR): Likewise.
6253 (SEGV_ACCERR): Likewise.
6254 (BUS_ADRALN): Likewise.
6255 (BUS_ADRERR): Likewise.
6256 (BUS_OBJERR): Likewise.
6257 (BUS_MCEERR_AR): Likewise.
6258 (BUS_MCEERR_AO): Likewise.
6259 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6260 (TRAP_TRACE): Likewise.
6261 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6262 __USE_XOPEN2K8].
6263 (CLD_KILLED): Likewise.
6264 (CLD_DUMPED): Likewise.
6265 (CLD_TRAPPED): Likewise.
6266 (CLD_STOPPED): Likewise.
6267 (CLD_CONTINUED): Likewise.
6268 (POLL_IN): Likewise.
6269 (POLL_OUT): Likewise.
6270 (POLL_MSG): Likewise.
6271 (POLL_ERR): Likewise.
6272 (POLL_PRI): Likewise.
6273 (POLL_HUP): Likewise.
6274 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
6275 (ILL_ILLOPN): Likewise.
6276 (ILL_ILLADR): Likewise.
6277 (ILL_ILLTRP): Likewise.
6278 (ILL_PRVOPC): Likewise.
6279 (ILL_PRVREG): Likewise.
6280 (ILL_COPROC): Likewise.
6281 (ILL_BADSTK): Likewise.
6282 (FPE_INTDIV): Likewise.
6283 (FPE_INTOVF): Likewise.
6284 (FPE_FLTDIV): Likewise.
6285 (FPE_FLTOVF): Likewise.
6286 (FPE_FLTUND): Likewise.
6287 (FPE_FLTRES): Likewise.
6288 (FPE_FLTINV): Likewise.
6289 (FPE_FLTSUB): Likewise.
6290 (SEGV_MAPERR): Likewise.
6291 (SEGV_ACCERR): Likewise.
6292 (BUS_ADRALN): Likewise.
6293 (BUS_ADRERR): Likewise.
6294 (BUS_OBJERR): Likewise.
6295 (BUS_MCEERR_AR): Likewise.
6296 (BUS_MCEERR_AO): Likewise.
6297 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6298 (TRAP_TRACE): Likewise.
6299 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6300 __USE_XOPEN2K8].
6301 (CLD_KILLED): Likewise.
6302 (CLD_DUMPED): Likewise.
6303 (CLD_TRAPPED): Likewise.
6304 (CLD_STOPPED): Likewise.
6305 (CLD_CONTINUED): Likewise.
6306 (POLL_IN): Likewise.
6307 (POLL_OUT): Likewise.
6308 (POLL_MSG): Likewise.
6309 (POLL_ERR): Likewise.
6310 (POLL_PRI): Likewise.
6311 (POLL_HUP): Likewise.
6312 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
6313 (ILL_ILLOPN): Likewise.
6314 (ILL_ILLADR): Likewise.
6315 (ILL_ILLTRP): Likewise.
6316 (ILL_PRVOPC): Likewise.
6317 (ILL_PRVREG): Likewise.
6318 (ILL_COPROC): Likewise.
6319 (ILL_BADSTK): Likewise.
6320 (ILL_DBLFLT): Likewise.
6321 (ILL_HARDWALL): Likewise.
6322 (FPE_INTDIV): Likewise.
6323 (FPE_INTOVF): Likewise.
6324 (FPE_FLTDIV): Likewise.
6325 (FPE_FLTOVF): Likewise.
6326 (FPE_FLTUND): Likewise.
6327 (FPE_FLTRES): Likewise.
6328 (FPE_FLTINV): Likewise.
6329 (FPE_FLTSUB): Likewise.
6330 (SEGV_MAPERR): Likewise.
6331 (SEGV_ACCERR): Likewise.
6332 (BUS_ADRALN): Likewise.
6333 (BUS_ADRERR): Likewise.
6334 (BUS_OBJERR): Likewise.
6335 (BUS_MCEERR_AR): Likewise.
6336 (BUS_MCEERR_AO): Likewise.
6337 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6338 (TRAP_TRACE): Likewise.
6339 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6340 __USE_XOPEN2K8].
6341 (CLD_KILLED): Likewise.
6342 (CLD_DUMPED): Likewise.
6343 (CLD_TRAPPED): Likewise.
6344 (CLD_STOPPED): Likewise.
6345 (CLD_CONTINUED): Likewise.
6346 (POLL_IN): Likewise.
6347 (POLL_OUT): Likewise.
6348 (POLL_MSG): Likewise.
6349 (POLL_ERR): Likewise.
6350 (POLL_PRI): Likewise.
6351 (POLL_HUP): Likewise.
6352 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
6353 (ILL_ILLOPN): Likewise.
6354 (ILL_ILLADR): Likewise.
6355 (ILL_ILLTRP): Likewise.
6356 (ILL_PRVOPC): Likewise.
6357 (ILL_PRVREG): Likewise.
6358 (ILL_COPROC): Likewise.
6359 (ILL_BADSTK): Likewise.
6360 (FPE_INTDIV): Likewise.
6361 (FPE_INTOVF): Likewise.
6362 (FPE_FLTDIV): Likewise.
6363 (FPE_FLTOVF): Likewise.
6364 (FPE_FLTUND): Likewise.
6365 (FPE_FLTRES): Likewise.
6366 (FPE_FLTINV): Likewise.
6367 (FPE_FLTSUB): Likewise.
6368 (SEGV_MAPERR): Likewise.
6369 (SEGV_ACCERR): Likewise.
6370 (BUS_ADRALN): Likewise.
6371 (BUS_ADRERR): Likewise.
6372 (BUS_OBJERR): Likewise.
6373 (BUS_MCEERR_AR): Likewise.
6374 (BUS_MCEERR_AO): Likewise.
6375 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6376 (TRAP_TRACE): Likewise.
6377 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6378 __USE_XOPEN2K8].
6379 (CLD_KILLED): Likewise.
6380 (CLD_DUMPED): Likewise.
6381 (CLD_TRAPPED): Likewise.
6382 (CLD_STOPPED): Likewise.
6383 (CLD_CONTINUED): Likewise.
6384 (POLL_IN): Likewise.
6385 (POLL_OUT): Likewise.
6386 (POLL_MSG): Likewise.
6387 (POLL_ERR): Likewise.
6388 (POLL_PRI): Likewise.
6389 (POLL_HUP): Likewise.
6390 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
6391 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6392
bc61d27c
JM
6393 [BZ #16670]
6394 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
6395 before #include of <time.h>.
6396 [!__USE_XOPEN2K] (__need_timespec): Likewise.
6397 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
6398 (test-xfail-UNIX98/sched.h/conform): Likewise.
6399
302949e2
MS
64002014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
6401
6402 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
6403 error absence of trapping exception support.
6404 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6405
a00f522a
JM
64062014-03-07 Joseph Myers <joseph@codesourcery.com>
6407
6f99f280
JM
6408 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
6409 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
6410 * timezone/Makefile (testdata): Move definition above include of
6411 Rules.
6412 (test-zones): New variable.
6413 (tests-special): Add zone files.
6414 (build-testdata): Use $(evaluate-test).
6415
0b20a9e8
JM
6416 * elf/Makefile (tests-special): Rename tests to end with .out.
6417 ($(objpfx)noload-mem): Likewise.
6418 ($(objpfx)tst-leaks1-mem): Likewise.
6419 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
6420 * iconv/Makefile (xtests-special): Change test-iconvconfig to
6421 $(objpfx)test-iconvconfig.out.
6422 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
6423 set -e inside subshell and redirect output to file.
6424 * iconvdata/Makefile (generated): Rename tests to end with .out.
6425 Correct type.
6426 (tests-special): Rename tests to end with .out.
6427 ($(objpfx)mtrace-tst-loading): Likewise.
6428 * intl/Makefile (generated): Likewise.
6429 (tests-special): Likewise.
6430 ($(objpfx)mtrace-tst-gettext): Likewise.
6431 * misc/Makefile (generated): Likewise.
6432 (tests-special): Likewise.
6433 ($(objpfx)tst-error1-mem): Likewise.
6434 * nptl/Makefile (tests-special): Likewise.
6435 ($(objpfx)tst-stack3-mem): Likewise.
6436 (generated): Likewise.
6437 * posix/Makefile (generated): Likewise.
6438 (tests-special): Likewise.
6439 (xtests-special): Likewise.
6440 ($(objpfx)tst-fnmatch-mem): Likewise.
6441 ($(objpfx)bug-regex2-mem): Likewise.
6442 ($(objpfx)bug-regex14-mem): Likewise.
6443 ($(objpfx)bug-regex21-mem): Likewise.
6444 ($(objpfx)bug-regex31-mem): Likewise.
6445 ($(objpfx)tst-vfork3-mem): Likewise.
6446 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6447 ($(objpfx)tst-pcre-mem): Likewise.
6448 ($(objpfx)tst-boost-mem): Likewise.
6449 ($(objpfx)bug-ga2-mem): Likewise.
6450 ($(objpfx)bug-glob2-mem): Likewise.
6451 * resolv/Makefile (generate): Likewise.
6452 (tests-special): Likewise.
6453 (xtests-special): Likewise.
6454 (generated): Likewise.
6455 ($(objpfx)mtrace-tst-leaks): Likewise.
6456 ($(objpfx)mtrace-tst-leaks2): Likewise.
6457
265d52ab
JM
6458 * scripts/merge-test-results.sh: New file.
6459 * Makefile (tests-special-notdir): New variable.
6460 (tests): Run merge-test-results.sh.
6461 (xtests): Likewise.
6462 * Rules (tests-special-notdir): New variable.
6463 (xtests-special-notdir): Likewise.
6464 (tests): Run merge-test-results.sh
6465 (xtests): Likewise.
6466
54ee292d
JM
6467 * Makeconfig (test-xfail-name): New variable.
6468 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
6469 compute variable name for expected failures.
6470 * conform/Makefile (conformtest-headers-data): New variable.
6471 (conformtest-standards): Likewise.
6472 (conformtest-headers-ISO): Likewise.
6473 (conformtest-headers-ISO99): Likewise.
6474 (conformtest-headers-ISO11): Likewise.
6475 (conformtest-headers-POSIX): Likewise.
6476 (conformtest-headers-XPG3): Likewise.
6477 (conformtest-headers-XPG4): Likewise.
6478 (conformtest-headers-UNIX98): Likewise.
6479 (conformtest-headers-XOPEN2K): Likewise.
6480 (conformtest-headers-POSIX2008): Likewise.
6481 (conformtest-headers-XOPEN2K8): Likewise.
6482 (conformtest-header-list-base): Likewise.
6483 (conformtest-header-list-tests): Likewise.
6484 (conformtest-header-base): Likewise.
6485 (conformtest-header-tests): Likewise.
6486 (tests-special): Add $(conformtest-header-list-tests). If
6487 [$(fast-check) && !$(cross-compiling)], add
6488 $(conformtest-header-tests) instead of
6489 $(objpfx)run-conformtest.out.
6490 (generated): Add $(conformtest-header-list-base). If
6491 [$(fast-check) && !$(cross-compiling)], add
6492 $(conformtest-header-base). Remove previous setting.
6493 ($(conformtest-header-list-tests)): New target.
6494 (test-xfail-run-conformtest): Remove variable.
6495 ($(objpfx)run-conformtest.out): Remove target.
6496 (test-xfail-ISO11/complex.h/conform): New variable.
6497 (test-xfail-ISO11/stdalign.h/conform): Likewise.
6498 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
6499 (test-xfail-XPG3/varargs.h/conform): Likewise.
6500 (test-xfail-XPG4/varargs.h/conform): Likewise.
6501 (test-xfail-UNIX98/varargs.h/conform): Likewise.
6502 (test-xfail-XPG4/ndbm.h/conform): Likewise.
6503 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
6504 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
6505 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
6506 (test-xfail-XPG3/fcntl.h/conform): Likewise.
6507 (test-xfail-XPG3/ftw.h/conform): Likewise.
6508 (test-xfail-XPG3/grp.h/conform): Likewise.
6509 (test-xfail-XPG3/langinfo.h/conform): Likewise.
6510 (test-xfail-XPG3/limits.h/conform): Likewise.
6511 (test-xfail-XPG3/pwd.h/conform): Likewise.
6512 (test-xfail-XPG3/search.h/conform): Likewise.
6513 (test-xfail-XPG3/signal.h/conform): Likewise.
6514 (test-xfail-XPG3/stdio.h/conform): Likewise.
6515 (test-xfail-XPG3/stdlib.h/conform): Likewise.
6516 (test-xfail-XPG3/string.h/conform): Likewise.
6517 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
6518 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
6519 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
6520 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
6521 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
6522 (test-xfail-XPG3/sys/types.h/conform): Likewise.
6523 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
6524 (test-xfail-XPG3/termios.h/conform): Likewise.
6525 (test-xfail-XPG3/time.h/conform): Likewise.
6526 (test-xfail-XPG3/unistd.h/conform): Likewise.
6527 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
6528 (test-xfail-XPG4/fcntl.h/conform): Likewise.
6529 (test-xfail-XPG4/langinfo.h/conform): Likewise.
6530 (test-xfail-XPG4/netdb.h/conform): Likewise.
6531 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
6532 (test-xfail-XPG4/signal.h/conform): Likewise.
6533 (test-xfail-XPG4/stdio.h/conform): Likewise.
6534 (test-xfail-XPG4/stdlib.h/conform): Likewise.
6535 (test-xfail-XPG4/stropts.h/conform): Likewise.
6536 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
6537 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
6538 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
6539 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
6540 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
6541 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
6542 (test-xfail-XPG4/sys/time.h/conform): Likewise.
6543 (test-xfail-XPG4/sys/types.h/conform): Likewise.
6544 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
6545 (test-xfail-XPG4/termios.h/conform): Likewise.
6546 (test-xfail-XPG4/ucontext.h/conform): Likewise.
6547 (test-xfail-XPG4/unistd.h/conform): Likewise.
6548 (test-xfail-XPG4/utmpx.h/conform): Likewise.
6549 (test-xfail-POSIX/sched.h/conform): Likewise.
6550 (test-xfail-POSIX/signal.h/conform): Likewise.
6551 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6552 (test-xfail-POSIX/tar.h/conform): Likewise.
6553 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
6554 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
6555 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
6556 (test-xfail-UNIX98/netdb.h/conform): Likewise.
6557 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
6558 (test-xfail-UNIX98/sched.h/conform): Likewise.
6559 (test-xfail-UNIX98/signal.h/conform): Likewise.
6560 (test-xfail-UNIX98/stdio.h/conform): Likewise.
6561 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
6562 (test-xfail-UNIX98/stropts.h/conform): Likewise.
6563 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
6564 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
6565 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
6566 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
6567 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
6568 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
6569 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
6570 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
6571 (test-xfail-UNIX98/unistd.h/conform): Likewise.
6572 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
6573 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
6574 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
6575 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
6576 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
6577 (test-xfail-XOPEN2K/math.h/conform): Likewise.
6578 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
6579 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
6580 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
6581 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
6582 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
6583 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
6584 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
6585 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
6586 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
6587 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
6588 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
6589 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
6590 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
6591 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
6592 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
6593 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
6594 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
6595 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
6596 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
6597 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
6598 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
6599 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
6600 (test-xfail-POSIX2008/signal.h/conform): Likewise.
6601 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
6602 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
6603 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
6604 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
6605 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
6606 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
6607 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
6608 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
6609 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
6610 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
6611 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
6612 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
6613 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
6614 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
6615 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
6616 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
6617 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
6618 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
6619 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
6620 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
6621 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
6622 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
6623 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
6624 (conformtest-cc-flags): Likewise.
6625 ($(conformtest-header-tests): New target.
6626 * conform/check-header-lists.sh: New file.
6627 * conform/run-conformtest.sh: Remove.
6628
a00f522a
JM
6629 * conform/conformtest.pl: Allow ' and \ in values given for
6630 constants.
6631 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
6632 inclusion.
6633 [POSIX] (sys/types.h): Likewise.
6634 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
6635 inclusion.
6636 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
6637 inclusion.
6638 * conform/data/signal.h-data (SIGIO): Remove expectation.
6639 [XPG3] (SIGBUS): Do not expect.
6640 [POSIX || XPG3] (SIGPOLL): Likewise.
6641 [POSIX || XPG3] (SIGPROF): Likewise.
6642 [POSIX || XPG3] (SIGSYS): Likewise.
6643 [XPG3] (SIGTRAP): Likewise.
6644 [POSIX || XPG3] (SIGURG): Likewise.
6645 [POSIX || XPG3] (SIGVTALRM): Likewise.
6646 [POSIX || XPG3] (SIGXCPU): Likewise.
6647 [POSIX || XPG3] (SIGXFSZ): Likewise.
6648 [POSIX] (SA_SIGINFO): Expect.
6649 [XPG3] (siginfo_t): Do not expect type or contents.
6650 [POSIX] (si_pid): Do not expect element.
6651 [POSIX] (si_uid): Likewise.
6652 [POSIX] (si_addr): Likewise.
6653 [POSIX] (si_status): Likewise.
6654 [POSIX] (si_band): Likewise.
6655 [XPG4] (si_value): Likewise.
6656 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
6657 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
6658 [POSIX || XPG3] (ILL_ILLADR): Likewise.
6659 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
6660 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
6661 [POSIX || XPG3] (ILL_PRVREG): Likewise.
6662 [POSIX || XPG3] (ILL_COPROC): Likewise.
6663 [POSIX || XPG3] (ILL_BADSTK): Likewise.
6664 [POSIX || XPG3] (FPE_INTDIV): Likewise.
6665 [POSIX || XPG3] (FPE_INTOVF): Likewise.
6666 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
6667 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
6668 [POSIX || XPG3] (FPE_FLTUND): Likewise.
6669 [POSIX || XPG3] (FPE_FLTRES): Likewise.
6670 [POSIX || XPG3] (FPE_FLTINV): Likewise.
6671 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
6672 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
6673 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
6674 [POSIX || XPG3] (BUS_ADRALN): Likewise.
6675 [POSIX || XPG3] (BUS_ADRERR): Likewise.
6676 [POSIX || XPG3] (BUS_OBJERR): Likewise.
6677 [POSIX || XPG3] (CLD_EXITED): Likewise.
6678 [POSIX || XPG3] (CLD_KILLED): Likewise.
6679 [POSIX || XPG3] (CLD_DUMPED): Likewise.
6680 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
6681 [POSIX || XPG3] (CLD_STOPPED): Likewise.
6682 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
6683 [POSIX || XPG3] (POLL_IN): Likewise.
6684 [POSIX || XPG3] (POLL_OUT): Likewise.
6685 [POSIX || XPG3] (POLL_MSG): Likewise.
6686 [POSIX || XPG3] (POLL_ERR): Likewise.
6687 [POSIX || XPG3] (POLL_PRI): Likewise.
6688 [POSIX || XPG3] (POLL_HUP): Likewise.
6689 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
6690 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
6691 (SIG*): Do not allow.
6692 [XPG3] (si_*): Likewise.
6693 [XPG3] (SI_*): Likewise.
6694 [XPG3 || XPG4] (sigev_*): Likewise.
6695 [XPG3 || XPG4] (SIGEV_*): Likewise.
6696 [XPG3 || XPG4] (sival_*): Likewise.
6697 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
6698 [POSIX || XPG3] (BUS_*): Likewise.
6699 [POSIX || XPG3] (CLD_*): Likewise.
6700 [POSIX || XPG3] (FPE_*): Likewise.
6701 [POSIX || XPG3] (ILL_*): Likewise.
6702 [POSIX || XPG3] (POLL_*): Likewise.
6703 [POSIX || XPG3] (SEGV_*): Likewise.
6704 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
6705 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
6706 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
6707 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
6708 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
6709 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
6710 Specify type and value.
6711 (TVERSLEN): Likewise.
6712 (REGTYPE): Likewise.
6713 (AREGTYPE): Likewise.
6714 (LNKTYPE): Likewise.
6715 (SYMTYPE): Likewise.
6716 (CHRTYPE): Likewise.
6717 (BLKTYPE): Likewise.
6718 (DIRTYPE): Likewise.
6719 (FIFOTYPE): Likewise.
6720 (CONTTYPE): Likewise.
6721 (TSUID): Likewise.
6722 (TSGID): Likewise.
6723 (TSVTX): Likewise.
6724 (TUREAD): Likewise.
6725 (TUWRITE): Likewise.
6726 (TUEXEC): Likewise.
6727 (TGREAD): Likewise.
6728 (TGWRITE): Likewise.
6729 (TGEXEC): Likewise.
6730 (TOREAD): Likewise.
6731 (TOWRITE): Likewise.
6732 (TOEXEC): Likewise.
6733 [POSIX] (TSVTX): Expect constant.
6734
aa97dee1
JM
67352014-03-06 Joseph Myers <joseph@codesourcery.com>
6736
f214606a
JM
6737 * Makefile (tests): Change dependencies to ....
6738 (tests-special): ... additions to this variable.
6739 (tests): Depend on $(tests-special).
6740 * Makerules (check-abi-list): New variable.
6741 (check-abi): Depend on $(check-abi-list).
6742 [$(subdir) = elf] (tests-special): Add
6743 $(objpfx)check-abi-libc.out.
6744 [$(build-shared) = yes && subdir] (tests-special): Add
6745 $(check-abi-list).
6746 [$(build-shared) = yes && subdir] (tests): Do not depend on
6747 check-abi.
6748 * Rules (tests): Depend on $(tests-special).
6749 (xtests): Depend on $(xtests-special).
6750 * catgets/Makefile (tests): Change dependencies to ....
6751 (tests-special): ... additions to this variable.
6752 * conform/Makefile (tests): Change dependencies to ....
6753 (tests-special): ... additions to this variable.
6754 * elf/Makefile (tests): Change dependencies to ....
6755 (tests-special): ... additions to this variable.
6756 * grp/Makefile (tests): Change dependencies to ....
6757 (tests-special): ... additions to this variable.
6758 * iconv/Makefile (xtests): Change dependencies to ....
6759 (xtests-special): ... additions to this variable.
6760 * iconvdata/Makefile (tests): Change dependencies to ....
6761 (tests-special): ... additions to this variable.
6762 * intl/Makefile (tests): Change dependencies to ....
6763 (tests-special): ... additions to this variable. Also add
6764 $(objpfx)tst-gettext.out.
6765 * io/Makefile (tests): Change dependencies to ....
6766 (tests-special): ... additions to this variable.
6767 * libio/Makefile (tests): Change dependencies to ....
6768 (tests-special): ... additions to this variable.
6769 * malloc/Makefile (tests): Change dependencies to ....
6770 (tests-special): ... additions to this variable.
6771 * misc/Makefile (tests): Change dependencies to ....
6772 (tests-special): ... additions to this variable.
6773 * nptl/Makefile (tests): Change dependencies to ....
6774 (tests-special): ... additions to this variable.
6775 * nptl_db/Makefile (tests): Change dependencies to ....
6776 (tests-special): ... additions to this variable.
6777 * posix/Makefile (tests): Change dependencies to ....
6778 (tests-special): ... additions to this variable.
6779 (xtests): Change dependencies to ....
6780 (xtests-special): ... additions to this variable.
6781 * resolv/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 * stdio-common/Makefile (tests): Change dependencies to ....
6786 (tests-special): ... additions to this variable.
6787 (do-tst-unbputc): Remove target.
6788 (do-tst-printf): Likewise.
6789 * stdlib/Makefile (tests): Change dependencies to ....
6790 (tests-special): ... additions to this variable.
6791 * string/Makefile (tests): Change dependencies to ....
6792 (tests-special): ... additions to this variable.
6793 * sysdeps/x86/Makefile (tests): Change dependencies to ....
6794 (tests-special): ... additions to this variable.
6795
81700b53
JM
6796 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
6797 whole file.
6798 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
6799 whole file.
6800 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
6801 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
6802
2ea18461
JM
6803 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
6804 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
6805 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
6806 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
6807 * conform/data/libgen.h-data [XPG3]: Likewise.
6808 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
6809 * conform/data/ndbm.h-data [XPG3]: Likewise.
6810 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6811 * conform/data/netdb.h-data [XPG3]: Likewise.
6812 * conform/data/netinet/in.h-data [XPG3]: Likewise.
6813 * conform/data/poll.h-data [XPG3]: Likewise.
6814 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6815 * conform/data/strings.h-data [XPG3]: Likewise.
6816 * conform/data/stropts.h-data [XPG3]: Likewise.
6817 * conform/data/sys/mman.h-data [XPG3]: Likewise.
6818 * conform/data/sys/resource.h-data [XPG3]: Likewise.
6819 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
6820 Likewise.
6821 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
6822 * conform/data/sys/time.h-data [XPG3]: Likewise.
6823 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
6824 * conform/data/sys/uio.h-data [XPG3]: Likewise.
6825 * conform/data/sys/un.h-data [XPG3]: Likewise.
6826 * conform/data/syslog.h-data [XPG3]: Likewise.
6827 * conform/data/ucontext.h-data [XPG3]: Likewise.
6828 * conform/data/utmpx.h-data [XPG3]: Likewise.
6829 * conform/data/varargs.h-data [UNIX98]: Enable file.
6830
355bc986
JM
6831 * manual/Makefile (INSTALL_INFO): Remove variable setting.
6832
215db402
JM
6833 * math/libm-test.inc (struct test_f_f_data): Move expected results
6834 into structure for each rounding mode.
6835 (struct test_ff_f_data): Likewise.
6836 (struct test_ff_f_data_nexttoward): Likewise.
6837 (struct test_fi_f_data): Likewise.
6838 (struct test_fl_f_data): Likewise.
6839 (struct test_if_f_data): Likewise.
6840 (struct test_fff_f_data): Likewise.
6841 (struct test_c_f_data): Likewise.
6842 (struct test_f_f1_data): Likewise.
6843 (struct test_fF_f1_data): Likewise.
6844 (struct test_ffI_f1_data): Likewise.
6845 (struct test_c_c_data): Likewise.
6846 (struct test_cc_c_data): Likewise.
6847 (struct test_f_i_data): Likewise.
6848 (struct test_ff_i_data): Likewise.
6849 (struct test_f_l_data): Likewise.
6850 (struct test_f_L_data): Likewise.
6851 (struct test_fFF_11_data): Likewise.
6852 (RM_): New macro.
6853 (RM_FE_DOWNWARD): Likewise.
6854 (RM_FE_TONEAREST): Likewise.
6855 (RM_FE_TOWARDZERO): Likewise.
6856 (RM_FE_UPWARD): Likewise.
6857 (RUN_TEST_LOOP_f_f): Update references to expected results.
6858 (RUN_TEST_LOOP_2_f): Likewise.
6859 (RUN_TEST_LOOP_fff_f): Likewise.
6860 (RUN_TEST_LOOP_c_f): Likewise.
6861 (RUN_TEST_LOOP_f_f1): Likewise.
6862 (RUN_TEST_LOOP_fF_f1): Likewise.
6863 (RUN_TEST_LOOP_fI_f1): Likewise.
6864 (RUN_TEST_LOOP_ffI_f1): Likewise.
6865 (RUN_TEST_LOOP_c_c): Likewise.
6866 (RUN_TEST_LOOP_cc_c): Likewise.
6867 (RUN_TEST_LOOP_f_i): Likewise.
6868 (RUN_TEST_LOOP_f_i_tg): Likewise.
6869 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6870 (RUN_TEST_LOOP_f_b): Likewise.
6871 (RUN_TEST_LOOP_f_b_tg): Likewise.
6872 (RUN_TEST_LOOP_f_l): Likewise.
6873 (RUN_TEST_LOOP_f_L): Likewise.
6874 (RUN_TEST_LOOP_fFF_11): Likewise.
6875 * math/gen-libm-test.pl (parse_args): Output four copies of
6876 expected results for each test.
6877
67737b8f
JM
6878 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6879 (__ASSUME_UTIMES): Remove.
6880 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6881 (__ASSUME_UTIMES): Likewise.
6882
aa97dee1
JM
6883 * math/gen-auto-libm-tests.c: Update comment on output format.
6884 (output_for_one_input_case): Generate before-rounding and
6885 after-rounding information as conditions on output flags not
6886 floating-point format.
6887 * math/auto-libm-test-out: Regenerated.
6888 * math/gen-libm-test.pl (cond_value): New function.
6889 (or_cond_value): Use cond_value.
6890 (generate_testfile): Handle conditional exceptions.
6891
e6b6a857
JM
68922014-03-05 Joseph Myers <joseph@codesourcery.com>
6893
2f0a0f44
JM
6894 * math/libm-test.inc (max_valid_error): New variable.
6895 (init_max_error): Take new argument specifying whether function
6896 results are exactly determined. Set max_valid_error and bound
6897 other variables for errors based on this argument.
6898 (set_max_error): Do not record results above max_valid_error.
6899 (check_float_internal): Only accept errors of up to 0.5ulps if
6900 also at most max_valid_error.
6901 (START): Take new argument EXACT and pass it to init_max_error.
6902 (acos_test): Update call to START.
6903 (acos_test_tonearest): Likewise.
6904 (acos_test_towardzero): Likewise.
6905 (acos_test_downward): Likewise.
6906 (acos_test_upward): Likewise.
6907 (acosh_test): Likewise.
6908 (asin_test): Likewise.
6909 (asin_test_tonearest): Likewise.
6910 (asin_test_towardzero): Likewise.
6911 (asin_test_downward): Likewise.
6912 (asin_test_upward): Likewise.
6913 (asinh_test): Likewise.
6914 (atan_test): Likewise.
6915 (atanh_test): Likewise.
6916 (atan2_test): Likewise.
6917 (cabs_test): Likewise.
6918 (cacos_test): Likewise.
6919 (cacosh_test): Likewise.
6920 (carg_test): Likewise.
6921 (casin_test): Likewise.
6922 (casinh_test): Likewise.
6923 (catan_test): Likewise.
6924 (catanh_test): Likewise.
6925 (cbrt_test): Likewise.
6926 (ccos_test): Likewise.
6927 (ccosh_test): Likewise.
6928 (ceil_test): Likewise.
6929 (cexp_test): Likewise.
6930 (cimag_test): Likewise.
6931 (clog_test): Likewise.
6932 (clog10_test): Likewise.
6933 (conj_test): Likewise.
6934 (copysign_test): Likewise.
6935 (cos_test): Likewise.
6936 (cos_test_tonearest): Likewise.
6937 (cos_test_towardzero): Likewise.
6938 (cos_test_downward): Likewise.
6939 (cos_test_upward): Likewise.
6940 (cosh_test): Likewise.
6941 (cosh_test_tonearest): Likewise.
6942 (cosh_test_towardzero): Likewise.
6943 (cosh_test_downward): Likewise.
6944 (cosh_test_upward): Likewise.
6945 (cpow_test): Likewise.
6946 (cproj_test): Likewise.
6947 (creal_test): Likewise.
6948 (csin_test): Likewise.
6949 (csinh_test): Likewise.
6950 (csqrt_test): Likewise.
6951 (ctan_test): Likewise.
6952 (ctan_test_tonearest): Likewise.
6953 (ctan_test_towardzero): Likewise.
6954 (ctan_test_downward): Likewise.
6955 (ctan_test_upward): Likewise.
6956 (ctanh_test): Likewise.
6957 (ctanh_test_tonearest): Likewise.
6958 (ctanh_test_towardzero): Likewise.
6959 (ctanh_test_downward): Likewise.
6960 (ctanh_test_upward): Likewise.
6961 (erf_test): Likewise.
6962 (erfc_test): Likewise.
6963 (exp_test): Likewise.
6964 (exp_test_tonearest): Likewise.
6965 (exp_test_towardzero): Likewise.
6966 (exp_test_downward): Likewise.
6967 (exp_test_upward): Likewise.
6968 (exp10_test): Likewise.
6969 (exp10_test_tonearest): Likewise.
6970 (exp10_test_towardzero): Likewise.
6971 (exp10_test_downward): Likewise.
6972 (exp10_test_upward): Likewise.
6973 (pow10_test): Likewise.
6974 (exp2_test): Likewise.
6975 (expm1_test): Likewise.
6976 (expm1_test_tonearest): Likewise.
6977 (expm1_test_towardzero): Likewise.
6978 (expm1_test_downward): Likewise.
6979 (expm1_test_upward): Likewise.
6980 (fabs_test): Likewise.
6981 (fdim_test): Likewise.
6982 (floor_test): Likewise.
6983 (fma_test): Likewise.
6984 (fma_test_towardzero): Likewise.
6985 (fma_test_downward): Likewise.
6986 (fma_test_upward): Likewise.
6987 (fmax_test): Likewise.
6988 (fmin_test): Likewise.
6989 (fmod_test): Likewise.
6990 (fpclassify_test): Likewise.
6991 (frexp_test): Likewise.
6992 (hypot_test): Likewise.
6993 (ilogb_test): Likewise.
6994 (isfinite_test): Likewise.
6995 (finite_test): Likewise.
6996 (isgreater_test): Likewise.
6997 (isgreaterequal_test): Likewise.
6998 (isinf_test): Likewise.
6999 (isless_test): Likewise.
7000 (islessequal_test): Likewise.
7001 (islessgreater_test): Likewise.
7002 (isnan_test): Likewise.
7003 (isnormal_test): Likewise.
7004 (issignaling_test): Likewise.
7005 (isunordered_test): Likewise.
7006 (j0_test): Likewise.
7007 (j1_test): Likewise.
7008 (jn_test): Likewise.
7009 (ldexp_test): Likewise.
7010 (lgamma_test): Likewise.
7011 (gamma_test): Likewise.
7012 (lrint_test): Likewise.
7013 (lrint_test_tonearest): Likewise.
7014 (lrint_test_towardzero): Likewise.
7015 (lrint_test_downward): Likewise.
7016 (lrint_test_upward): Likewise.
7017 (llrint_test): Likewise.
7018 (llrint_test_tonearest): Likewise.
7019 (llrint_test_towardzero): Likewise.
7020 (llrint_test_downward): Likewise.
7021 (llrint_test_upward): Likewise.
7022 (log_test): Likewise.
7023 (log10_test): Likewise.
7024 (log1p_test): Likewise.
7025 (log2_test): Likewise.
7026 (logb_test): Likewise.
7027 (logb_test_downward): Likewise.
7028 (lround_test): Likewise.
7029 (llround_test): Likewise.
7030 (modf_test): Likewise.
7031 (nearbyint_test): Likewise.
7032 (nextafter_test): Likewise.
7033 (nexttoward_test): Likewise.
7034 (pow_test): Likewise.
7035 (pow_test_tonearest): Likewise.
7036 (pow_test_towardzero): Likewise.
7037 (pow_test_downward): Likewise.
7038 (pow_test_upward): Likewise.
7039 (remainder_test): Likewise.
7040 (drem_test): Likewise.
7041 (remainder_test_tonearest): Likewise.
7042 (drem_test_tonearest): Likewise.
7043 (remainder_test_towardzero): Likewise.
7044 (drem_test_towardzero): Likewise.
7045 (remainder_test_downward): Likewise.
7046 (drem_test_downward): Likewise.
7047 (remainder_test_upward): Likewise.
7048 (drem_test_upward): Likewise.
7049 (remquo_test): Likewise.
7050 (rint_test): Likewise.
7051 (rint_test_tonearest): Likewise.
7052 (rint_test_towardzero): Likewise.
7053 (rint_test_downward): Likewise.
7054 (rint_test_upward): Likewise.
7055 (round_test): Likewise.
7056 (scalb_test): Likewise.
7057 (scalbn_test): Likewise.
7058 (scalbln_test): Likewise.
7059 (signbit_test): Likewise.
7060 (sin_test): Likewise.
7061 (sin_test_tonearest): Likewise.
7062 (sin_test_towardzero): Likewise.
7063 (sin_test_downward): Likewise.
7064 (sin_test_upward): Likewise.
7065 (sincos_test): Likewise.
7066 (sinh_test): Likewise.
7067 (sinh_test_tonearest): Likewise.
7068 (sinh_test_towardzero): Likewise.
7069 (sinh_test_downward): Likewise.
7070 (sinh_test_upward): Likewise.
7071 (sqrt_test): Likewise.
7072 (sqrt_test_tonearest): Likewise.
7073 (sqrt_test_towardzero): Likewise.
7074 (sqrt_test_downward): Likewise.
7075 (sqrt_test_upward): Likewise.
7076 (tan_test): Likewise.
7077 (tan_test_tonearest): Likewise.
7078 (tan_test_towardzero): Likewise.
7079 (tan_test_downward): Likewise.
7080 (tan_test_upward): Likewise.
7081 (tanh_test): Likewise.
7082 (tgamma_test): Likewise.
7083 (trunc_test): Likewise.
7084 (y0_test): Likewise.
7085 (y1_test): Likewise.
7086 (yn_test): Likewise.
7087 (significand_test): Likewise.
7088
e6b6a857
JM
7089 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
7090 individual tests in comment.
7091 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
7092 (prev_max_error): New variable.
7093 (prev_real_max_error): Likewise.
7094 (prev_imag_max_error): Likewise.
7095 (compare_ulp_data): Don't refer to test names in comment.
7096 (find_test_ulps): Remove function.
7097 (find_function_ulps): Likewise.
7098 (find_complex_function_ulps): Likewise.
7099 (init_max_error): Take function name as argument. Look up ulps
7100 for that function.
7101 (print_ulps): Remove function.
7102 (print_max_error): Use prev_max_error instead of calling
7103 find_function_ulps.
7104 (print_complex_max_error): Use prev_real_max_error and
7105 prev_imag_max_error instead of calling find_complex_function_ulps.
7106 (check_float_internal): Take max_ulp parameter instead of calling
7107 find_test_ulps. Don't call print_ulps.
7108 (check_float): Update call to check_float_internal.
7109 (check_complex): Update calls to check_float_internal.
7110 (START): Pass argument to init_max_error.
7111 * math/gen-libm-test.pl (%results): Don't include "kind"
7112 information.
7113 (parse_ulps): Don't handle ulps of individual tests.
7114 (print_ulps_file): Likewise.
7115 (output_ulps): Likewise.
7116 * math/README.libm-test: Update.
7117 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
7118 individual tests.
7119 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
7120 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
7121 * sysdeps/arm/libm-test-ulps: Likewise.
7122 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
7123 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
7124 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
7125 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
7126 * sysdeps/microblaze/libm-test-ulps: Likewise.
7127 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7128 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7129 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7130 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7131 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7132 * sysdeps/sh/libm-test-ulps: Likewise.
7133 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7134 * sysdeps/tile/libm-test-ulps: Likewise.
7135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7136
45adef3c
JM
71372014-03-04 Joseph Myers <joseph@codesourcery.com>
7138
7139 * math/libm-test.inc (print_complex_max_error): Check separately
7140 whether real and imaginary errors are within allowed range and
7141 pass 0 to print_complex_function_ulps instead of value within
7142 allowed range.
7143
000232b9
SP
71442014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7145
d4b17258
SP
7146 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
7147 formatting.
7148 (get_handles_fopen): Likewise.
7149 (do_write_test): Likewise.
7150
091eff71
SP
7151 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
7152
fa3cd248
SP
7153 * libio/fileops.c (do_ftell): Use cached offset when
7154 available.
7155 * libio/iofwide.c (do_ftell_wide): Likewise.
7156 * libio/iofdopen.c (_IO_new_fdopen): Don't use
7157 _IO_file_attach.
7158 * libio/wfileops.c (_IO_fwide): Don't cache offset.
7159
000232b9
SP
7160 [BZ #16532]
7161 * libio/libioP.h (get_file_offset): New function.
7162 * libio/fileops.c (get_file_offset): Likewise.
7163 (do_ftell): Likewise.
7164 (_IO_new_file_seekoff): Split out ftell logic.
7165 * libio/wfileops.c (do_ftell_wide): Likewise.
7166 (_IO_wfile_seekoff): Split out ftell logic.
7167 * libio/tst-ftell-active-handler.c: New test case.
7168 * libio/Makefile (tests): Add it.
7169
116f4d1a
RM
71702014-03-03 Roland McGrath <roland@hack.frob.com>
7171
7172 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
7173 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
7174
532a6035
SP
71752014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7176
7177 [BZ #16639]
7178 * nscd/connections.c (nscd_init): Call do_exit.
7179 (start_threads): Call do_exit and notify_parent.
7180 (begin_drop_privileges): Call do_exit.
7181 (finish_drop_privileges): Likewise.
7182 * nscd/selinux.c (preserve_capabilities): Likewise.
7183 (install_real_capabilities): Likewise.
7184 (nscd_selinux_enabled): Likewise.
7185 (avc_create_thread): Likewise.
7186 (avc_alloc_lock): Likewise.
7187 (nscd_avc_init): Likewise.
7188 * nscd/nscd.c (parent_fd): New static variable.
7189 (main): Create a pipe between parent and child processes.
7190 Skip closing parent_fd.
7191 (monitor_child): New function.
7192 (do_exit): Likewise.
7193 (notify_parent): Likewise.
7194 * nscd/nscd.h (notify_parent): Likewise.
7195 (do_exit): Likewise.
7196
d6285c9f
CD
71972014-03-03 Carlos O'Donell <carlos@redhat.com>
7198
7199 * malloc/malloc.c (__libc_calloc): Revert last change.
7200
2b85d2a0
AZ
72012014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7202
7203 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7204
c7debbdf
RS
72052014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7206
7207 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
7208 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
7209 implementation.
7210 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7211 (__libc_ifunc_impl_list): Likewise.
7212 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
7213 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
7214 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
7215 * string/strrchr.c: Define STRRCHR.
7216
235eed86
OB
72172014-02-28 Ondřej Bílka <neleai@seznam.cz>
7218
7219 * benchtest/bench-strtok.c (simple_strtok): Delete.
7220 (strtok_string): Use as benchmark.
7221 * string/strtok (STRTOK): New macro.
7222
8e25d1e7
CD
72232014-02-28 Carlos O'Donell <carlos@redhat.com>
7224
ef563f92
CD
7225 * manual/threads.texi: Add header and standard comments to all
7226 functions.
7227
8e25d1e7
CD
7228 * elf/dl-lookup.c (check_match): New function.
7229 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
7230 (do_lookup_x): Remove nested function check_match. Use non-nested
7231 function check_match.
7232
ff71cc37
RM
72332014-02-28 Roland McGrath <roland@hack.frob.com>
7234
f08e9a26
RM
7235 * csu/Makefile (generated, before-compile): Use += rather than =.
7236 * catgets/Makefile (generated, generated-dirs): Likewise.
7237 * debug/Makefile (generated): Likewise.
7238 * dlfcn/Makefile (generated): Likewise.
7239 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
7240 * iconvdata/Makefile (before-compile, generated): Likewise.
7241 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
7242 * libio/Makefile (generated): Likewise.
7243 * malloc/Makefile (generated): Likewise.
7244 * manual/Makefile (generated, generated-dirs): Likewise.
7245 * misc/Makefile (generated): Likewise.
7246 * posix/Makefile (generated): Likewise.
7247 * resolv/Makefile (generated): Likewise.
7248 * sunrpc/Makefile (generated, generated-dirs): Likewise.
7249 * timezone/Makefile (generated, generated-dirs): Likewise.
7250
ff71cc37
RM
7251 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
7252
fe13a20c
AZ
72532014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7254
57f41c40
AS
7255 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7256 power8 implementation.
7257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
7258 file: POWER8 llround ifunc implementation.
7259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
7260 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
7261 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
7262 POWER8 llround implementation.
7263
57f41c40
AS
7264 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
7265 power8 implementation.
7266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
7267 file: POWER8 llrint ifunc implementation.
7268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
7269 Add POWER8 implementation.
1ad8950a
AZ
7270 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
7271 POWER8 llrint implementation.
7272
57f41c40
AS
7273 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
7274 power8 implementation.
7275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
7276 file: POWER8 finite ifunc implementation.
7277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
7278 Add POWER8 implementation.
cac626d6
AZ
7279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
7280 Likewise.
7281 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
7282 POWER8 finite implementation.
7283 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
7284
57f41c40
AS
7285 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
7286 power8 implementation.
7287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
7288 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
7289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
7290 POWER8 implementation.
7291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
7292 Likewise.
57f41c40
AS
7293 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
7294 isinf implementation.
4393fc11
AZ
7295 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
7296
57f41c40
AS
7297 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
7298 (INIT_ARCH): Add hwcap2 initialization.
7299 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7300 power8 implementation.
7301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
7302 file: POWER8 isnan ifunc implementation.
487972ae
AZ
7303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
7304 POWER8 implementation.
7305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
7306 Likewise.
57f41c40
AS
7307 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
7308 isnan implementation.
487972ae
AZ
7309 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
7310
7d92b787
JY
73112014-02-27 Joey Ye <joey.ye@arm.com>
7312
7313 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7314 (_FP_NANFRAC_Q): Set to zero.
7315
1cadc858
SP
73162014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7317
7318 [BZ #16623]
7319 * math/auto-libm-test-in: New test inputs.
7320 * math/auto-libm-test-out: Regenerate.
7321 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
7322 and DA.
7323 (__cos): Likewise.
7324 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7325
f8c17e79
JM
73262014-02-27 Joseph Myers <joseph@codesourcery.com>
7327
7328 * scripts/evaluate-test.sh: Take new argument indicating whether
7329 failure is expected.
7330 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
7331 indicating whether failure is expected.
7332 * conform/Makefile (test-xfail-run-conformtest): New variable.
7333 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
7334 level.
7335 * posix/Makefile (test-xfail-annexc): New variable.
7336 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
7337
a5f891ac
JM
73382014-02-26 Joseph Myers <joseph@codesourcery.com>
7339
7340 * argp/Makefile: Include Makeconfig immediately after defining
7341 subdir.
7342 * assert/Makefile: Likewise.
7343 * benchtests/Makefile: Likewise.
7344 * catgets/Makefile: Likewise.
7345 * conform/Makefile: Likewise.
7346 * crypt/Makefile: Likewise.
7347 * csu/Makefile: Likewise.
7348 (all): Remove target.
7349 * ctype/Makefile: Include Makeconfig immediately after defining
7350 subdir.
7351 * debug/Makefile: Likewise.
7352 * dirent/Makefile: Likewise.
7353 * dlfcn/Makefile: Likewise.
7354 * gmon/Makefile: Likewise.
7355 * gnulib/Makefile: Likewise.
7356 * grp/Makefile: Likewise.
7357 * gshadow/Makefile: Likewise.
7358 * hesiod/Makefile: Likewise.
7359 * hurd/Makefile: Likewise.
7360 (all): Remove target.
7361 * iconvdata/Makefile: Include Makeconfig immediately after
7362 defining subdir.
7363 * inet/Makefile: Likewise.
7364 * intl/Makefile: Likewise.
7365 * io/Makefile: Likewise.
7366 * libio/Makefile: Likewise.
7367 (all): Remove target.
7368 * locale/Makefile: Include Makeconfig immediately after defining
7369 subdir.
7370 * login/Makefile: Likewise.
7371 * mach/Makefile: Likewise.
7372 (all): Remove target.
7373 * malloc/Makefile: Include Makeconfig immediately after defining
7374 subdir.
7375 (all): Remove target.
7376 * manual/Makefile: Include Makeconfig immediately after defining
7377 subdir.
7378 * math/Makefile: Likewise.
7379 * misc/Makefile: Likewise.
7380 * nis/Makefile: Likewise.
7381 * nss/Makefile: Likewise.
7382 * po/Makefile: Likewise.
7383 (all): Remove target.
7384 * posix/Makefile: Include Makeconfig immediately after defining
7385 subdir.
7386 * pwd/Makefile: Likewise.
7387 * resolv/Makefile: Likewise.
7388 * resource/Makefile: Likewise.
7389 * rt/Makefile: Likewise.
7390 * setjmp/Makefile: Likewise.
7391 * shadow/Makefile: Likewise.
7392 * signal/Makefile: Likewise.
7393 * socket/Makefile: Likewise.
7394 * soft-fp/Makefile: Likewise.
7395 * stdio-common/Makefile: Likewise.
7396 * stdlib/Makefile: Likewise.
7397 * streams/Makefile: Likewise.
7398 * string/Makefile: Likewise.
7399 * sunrpc/Makefile: Likewise.
7400 (all): Remove target.
7401 * sysvipc/Makefile: Include Makeconfig immediately after defining
7402 subdir.
7403 * termios/Makefile: Likewise.
7404 * time/Makefile: Likewise.
7405 * timezone/Makefile: Likewise.
7406 (all): Remove target.
7407 * wcsmbs/Makefile: Include Makeconfig immediately after defining
7408 subdir.
7409 * wctype/Makefile: Likewise.
7410
5b456e9d
SE
74112014-02-26 Steve Ellcey <sellcey@mips.com>
7412
7413 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
7414 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
7415 (libc_feholdexcept_setround_mips): Ditto.
7416 (libc_feholdsetround): New.
7417 (libc_feholdsetroundf): New.
7418 (libc_feholdsetroundl): New.
7419 (libc_feupdateenv_test_mips): New.
7420 (libc_feupdateenv_test): New.
7421 (libc_feupdateenv_testf): New.
7422 (libc_feupdateenv_testl): New.
7423 (libc_feresetround): New.
7424 (libc_feresetroundf): New.
7425 (libc_feresetroundl): New.
7426 (libc_fetestexcept_mips): New.
7427 (libc_fetestexcept): New.
7428 (libc_fetestexceptf): New.
7429 (libc_fetestexceptl): New.
7430 (HAVE_RM_CTX): New.
7431 (libc_feholdexcept_setround_mips_ctx): New.
7432 (libc_feholdexcept_setround_ctx): New.
7433 (libc_feholdexcept_setroundf_ctx): New.
7434 (libc_feholdexcept_setroundl_ctx): New.
7435 (libc_fesetenv_mips_ctx): New.
7436 (libc_fesetenv_ctx): New.
7437 (libc_fesetenv_ctxf): New.
7438 (libc_fesetenv_ctxl): New.
7439 (libc_feupdateenv_mips_ctx): New.
7440 (libc_feupdateenv_ctx): New.
7441 (libc_feupdateenvf_ctx): New.
7442 (libc_feupdateenvl_ctx): New.
7443 (libc_feholdsetround_mips_ctx): New.
7444 (libc_feholdsetround_ctx): New.
7445 (libc_feholdsetroundf_ctx): New.
7446 (libc_feholdsetroundl_ctx): New.
7447 (libc_feresetround_mips_ctx): New.
7448 (libc_feresetround_ctx): New.
7449 (libc_feresetroundf_ctx): New.
7450 (libc_feresetroundl_ctx): New.
7451
085d0e35
CD
74522014-02-26 Carlos O'Donell <carlos@redhat.com>
7453
f067bf1f
CD
7454 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
7455
085d0e35
CD
7456 * manual/ipc.texi: New file.
7457 * manual/Makefile (chapters): Add ipc.
7458 * manual/job.texi: Add "Inter-Process Communication" to next.
7459 * manual/process.texi: Add "Inter-Process Communication" to prev.
7460
86e58c08
AZ
74612014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7462
7463 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7464
4248f0da
OB
74652014-02-26 Ondřej Bílka <neleai@seznam.cz>
7466
7467 * malloc/malloc.c (__libc_calloc): Simplify implementation.
7468
cf822e3c
OB
7469 * manual/arith.texi: Fix spaces after sentences.
7470 * manual/charset.texi: Likewise.
7471 * manual/errno.texi: Likewise.
7472 * manual/install.texi: Likewise.
7473 * manual/llio.texi: Likewise.
7474 * manual/locale.texi: Likewise.
7475 * manual/maint.texi: Likewise.
7476 * manual/math.texi: Likewise.
7477 * manual/memory.texi: Likewise.
7478 * manual/message.texi: Likewise.
7479 * manual/probes.texi: Likewise.
7480 * manual/resource.texi: Likewise.
7481 * manual/signal.texi: Likewise.
7482 * manual/socket.texi: Likewise.
7483 * manual/stdio.texi: Likewise.
7484 * manual/string.texi: Likewise.
7485 * manual/time.texi: Likewise.
7486 * manual/users.texi: Likewise.
7487
ade40b10
CD
74882014-02-25 Carlos O'Donell <carlos@redhat.com>
7489
7490 [BZ #16632]
7491 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
7492 _DEFAULT_SOURCE is defined.
7493
d0503676
CD
74942014-02-25 Ulrich Drepper <drepper@gmail.com>
7495 Carlos O'Donell <carlos@redhat.com>
7496
7497 [BZ #16613]
7498 * elf/dl-tls.c (_dl_count_modids): New function.
7499 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
7500 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
7501 audit library and increment generation counter.
7502 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
7503 * elf/tst-audit9.c: New file.
7504 * elf/tst-auditmod9a.c: New file.
7505 * elf/tst-auditmod9b.c: New file.
7506 * elf/Makefile: Add rules to build and run tst-audit9.
7507
4cbf380c
FW
75082014-02-25 Florian Weimer <fweimer@redhat.com>
7509
7510 [BZ #15347]
7511 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
7512
80a56cc3
WN
75132014-02-25 Will Newton <will.newton@linaro.org>
7514
7515 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
7516 (__longjmp): Restore sp and lr before restoring callee
7517 saved registers. Add longjmp and longjmp_target
7518 SystemTap probe point.
7519 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
7520 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
7521 Define to zero to match jmpbuf layout.
7522 * sysdeps/arm/setjmp.S: Include stap-probe.h.
7523 (__sigsetjmp): Save sp and lr before saving callee
7524 saved registers. Add setjmp SystemTap probe point.
7525
3ea0f74e
SL
75262014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7527
7528 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7529
b04acb26
AS
75302014-02-24 Andreas Schwab <schwab@suse.de>
7531
7532 [BZ #15804]
7533 * elf/pldd.c (wait_for_ptrace_stop): New function.
7534 (main): Call it after attaching.
7535
098ad55c
RM
75362014-02-22 Roland McGrath <roland@hack.frob.com>
7537
d4ec6ae1
RM
7538 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
7539 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
7540 Versions files is now verboten.
7541 * hurd/Versions (libc: GLIBC_2.0):
7542 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
7543 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
7544 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
7545 * mach/Versions: Likewise.
7546
098ad55c
RM
7547 * csu/Versions: Remove unused %include.
7548 * resolv/Versions: Likewise.
7549
acd7f096
JM
75502014-02-21 Joseph Myers <joseph@codesourcery.com>
7551
f0881698
JM
7552 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
7553 ($(objpfx)check-local-headers.out): Likewise.
7554 ($(objpfx)begin-end-check.out): Likewise.
7555 * Makerules (check-abi-%.out): Likewise.
7556 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
7557 ($(objpfx)test2.cat): Likewise.
7558 ($(objpfx)de/libc.cat): Likewise.
7559 ($(objpfx)test-gencat.out): Likewise.
7560 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
7561 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
7562 ($(objpfx)noload-mem): Likewise.
7563 ($(objpfx)tst-pathopt.out): Likewise.
7564 ($(objpfx)tst-rtld-load-self.out): Likewise.
7565 ($(objpfx)tst-array1-cmp.out): Likewise.
7566 ($(objpfx)tst-array1-static-cmp.out): Likewise.
7567 ($(objpfx)tst-array2-cmp.out): Likewise.
7568 ($(objpfx)tst-array3-cmp.out): Likewise.
7569 ($(objpfx)tst-array4-cmp.out): Likewise.
7570 ($(objpfx)tst-array5-cmp.out): Likewise.
7571 ($(objpfx)tst-array5-static-cmp.out): Likewise.
7572 ($(objpfx)check-textrel.out): Likewise.
7573 ($(objpfx)check-execstack.out): Likewise.
7574 ($(objpfx)check-localplt.out): Likewise.
7575 ($(objpfx)order2-cmp.out): Likewise.
7576 ($(objpfx)tst-leaks1-mem): Likewise.
7577 ($(objpfx)tst-leaks1-static-mem): Likewise.
7578 ($(objpfx)tst-initorder-cmp.out): Likewise.
7579 ($(objpfx)tst-initorder2-cmp.out): Likewise.
7580 ($(objpfx)tst-unused-dep.out): Likewise.
7581 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
7582 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
7583 * iconv/Makefile (test-iconvconfig): Likewise.
7584 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
7585 ($(objpfx)iconv-test.out): Likewise.
7586 ($(objpfx)tst-tables.out): Likewise.
7587 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
7588 ($(objpfx)tst-gettext.out): Likewise.
7589 ($(objpfx)tst-translit.out): Likewise.
7590 ($(objpfx)tst-gettext2.out): Likewise.
7591 ($(objpfx)tst-gettext4.out): Likewise.
7592 ($(objpfx)tst-gettext6.out): Likewise.
7593 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
7594 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
7595 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
7596 ($(objpfx)tst-fopenloc-mem.out): Likewise.
7597 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
7598 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
7599 * posix/Makefile ($(objpfx)globtest.out): Likewise.
7600 ($(objpfx)wordexp-tst.out): Likewise.
7601 ($(objpfx)annexc.out): Likewise.
7602 ($(objpfx)tst-fnmatch-mem): Likewise.
7603 ($(objpfx)bug-regex2-mem): Likewise.
7604 ($(objpfx)bug-regex14-mem): Likewise.
7605 ($(objpfx)bug-regex21-mem): Likewise.
7606 ($(objpfx)bug-regex31-mem): Likewise.
7607 ($(objpfx)tst-vfork3-mem): Likewise.
7608 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7609 ($(objpfx)tst-pcre-mem): Likewise.
7610 ($(objpfx)tst-boost-mem): Likewise.
7611 ($(objpfx)tst-getconf.out): Likewise.
7612 ($(objpfx)bug-ga2-mem): Likewise.
7613 ($(objpfx)bug-glob2-mem): Likewise.
7614 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
7615 ($(objpfx)mtrace-tst-leaks2): Likewise.
7616 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
7617 ($(objpfx)tst-printf.out): Likewise.
7618 ($(objpfx)tst-setvbuf1.out): Likewise.
7619 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
7620 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
7621 ($(objpfx)tst-fmtmsg.out): Likewise.
7622 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
7623 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
7624
acd7f096
JM
7625 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
7626 * bits/sigaction.h [__USE_MISC]: Likewise.
7627 * bits/waitstatus.h: Update #endif comments.
7628 * ctype/ctype.h: Likewise.
7629 * dirent/dirent.h: Likewise.
7630 [__USE_MISC]: Remove redundant conditionals.
7631 * grp/grp.h: Update #endif comments.
7632 [__USE_GNU]: Remove redundant conditionals.
7633 [__USE_MISC]: Likewise.
7634 * inet/netinet/in.h [__USE_GNU]: Likewise.
7635 * io/sys/stat.h [__USE_MISC]: Likewise.
7636 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
7637 * libio/bits/stdio.h: Update #endif comments.
7638 [__USE_MISC]: Remove redundant conditionals.
7639 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
7640 * libio/stdio.h: Update #endif comments.
7641 [__USE_MISC]: Remove redundant conditionals.
7642 * math/bits/math-finite.h [__USE_MISC]: Likewise.
7643 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
7644 * math/math.h: Update #else and #endif comments.
7645 [__USE_MISC]: Remove redundant conditionals.
7646 * misc/sys/uio.h: Update #endif comments.
7647 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
7648 * posix/glob.h [__USE_MISC]: Likewise.
7649 * posix/sys/types.h: Update #endif comments.
7650 [__USE_MISC]: Remove redundant conditionals.
7651 * posix/sys/wait.h: Update #endif comments.
7652 [__USE_MISC]: Remove redundant conditionals.
7653 * posix/unistd.h: Update #endif comments.
7654 [__USE_MISC]: Remove redundant conditionals.
7655 * pwd/pwd.h [__USE_GNU]: Likewise.
7656 [__USE_MISC]: Likewise.
7657 * resolv/netdb.h [__USE_GNU]: Likewise.
7658 * signal/signal.h: Update #endif comments.
7659 [__USE_MISC]: Remove redundant conditionals.
7660 * stdlib/stdlib.h: Update #else and #endif comments.
7661 [__USE_MISC]: Remove redundant conditionals.
7662 [__USE_GNU]: Likewise.
7663 * string/bits/string2.h [__USE_MISC]: Likewise.
7664 * string/string.h: Update #endif comments.
7665 [__USE_MISC]: Remove redundant conditionals.
7666 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
7667 Likewise.
7668 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
7669 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
7670 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
7671 Likewise.
7672 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
7673 Likewise.
7674 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
7675 comments.
7676 [__USE_MISC]: Remove redundant conditionals.
7677 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
7678 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
7679 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
7680 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
7681 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
7682 Likewise.
7683 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
7684 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
7685 Likewise.
7686 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
7687 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
7688 Likewise.
7689 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
7690 Likewise.
7691 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
7692 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
7693 Likewise.
7694 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
7695 Likewise.
7696 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
7697 * sysdeps/x86/bits/string.h: Update #endif comments.
7698 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
7699 conditionals.
7700 * time/sys/time.h: Update #endif comments.
7701 * time/time.h: Likewise.
7702 [__USE_MISC]: Remove redundant conditionals.
7703
a5d82e4e
YG
77042014-02-21 Yury Gribov <y.gribov@samsung.com>
7705
7706 [BZ #16600]
7707 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
7708
9a80491d
AS
77092014-02-21 Andreas Schwab <schwab@linux-m68k.org>
7710
7711 * Versions.def (librt): Add GLIBC_2.17.
7712
105fa381
AC
77132014-02-21 Adam Conrad <adconrad@0c3.net>
7714
7715 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
7716 synonym for _SYS_AUXV_H to allow direct inclusion.
7717 * sysdeps/sparc/bits/hwcap.h: Likewise.
7718 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
7719 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
7720 * sysdeps/sparc/sysdep.h: Likewise.
7721
b8cd1c4e
SP
77222014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7723
7724 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
7725
bd939d23
RS
77262014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7727
7728 * benchtests/bench-strrchr.c: Print length instead of position.
7729
5d7b57ca
JM
77302014-02-20 Joseph Myers <joseph@codesourcery.com>
7731
bc688c10
JM
7732 [BZ #16611]
7733 * sysdeps/unix/sysv/linux/kernel-features.h
7734 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
7735 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
7736 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
7737 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
7738 Likewise.
7739 [__i386__ || __powerpc__ || __sh__ || __sparc__]
7740 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7741 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
7742 (__ASSUME_SENDMMSG): Define instead of using previous
7743 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
7744 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7745 (__ASSUME_SENDMMSG_SYSCALL): Define.
7746 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7747 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
7748 Likewise.
7749 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7750 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7751 Likewise.
7752 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7753 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7754 Likewise.
7755 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
7756 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7757 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7758 [__ASSUME_SENDMMSG]: Change conditionals to
7759 [__ASSUME_SENDMMSG_SOCKETCALL].
7760 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7761 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
7762 Define.
7763 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7764 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
7765 Likewise.
7766 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
7767 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7768 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7769 [!__ASSUME_SENDMMSG]: Change conditional to
7770 [!__ASSUME_SENDMMSG_SOCKETCALL].
7771 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7772 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7773 Define.
7774
0e31b18c
JM
7775 [BZ #16610]
7776 * sysdeps/unix/sysv/linux/kernel-features.h
7777 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
7778 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
7779 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
7780 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
7781 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7782 [__i386__ || __sparc__]
7783 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7784 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
7785 (__ASSUME_RECVMMSG): Define instead of using previous
7786 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
7787 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7788 (__ASSUME_RECVMMSG_SYSCALL): Define.
7789 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7790 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7791 Likewise.
7792 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7793 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7794 Likewise.
7795 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7796 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7797 Likewise.
7798 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
7799 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7800 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7801 [__ASSUME_RECVMMSG]: Change condition to
7802 [__ASSUME_RECVMMSG_SOCKETCALL].
7803 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7804 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7805 Define.
7806 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7807 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7808 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7809 Likewise.
7810 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
7811 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7812 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7813 [!__ASSUME_RECVMMSG]: Change condition to
7814 [!__ASSUME_RECVMMSG_SOCKETCALL].
7815 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7816 (__ASSUME_RECVMMSG_SYSCALL): Define.
7817
dd481ccf
JM
7818 [BZ #16609]
7819 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
7820 __powerpc__ || __s390__ || __sh__ || __sparc__]
7821 (__ASSUME_SOCKETCALL): Define.
7822 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
7823 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
7824 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
7825 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
7826 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7827 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7828 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
7829 (__ASSUME_ACCEPT4): Define instead of using previous
7830 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
7831 __powerpc__ || __sparc__ || __s390__)] condition.
7832 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7833 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7834 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
7835 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7836 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7837 [!__ASSUME_ACCEPT4]: Change condition to
7838 [!__ASSUME_ACCEPT4_SOCKETCALL].
7839 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7840 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
7841 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
7842 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7843 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
7844 __ASSUME_ACCEPT4_SYSCALL.
7845 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
7846 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
7847 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7848 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
7849 __ASSUME_ACCEPT4_SYSCALL.
7850 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
7851 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7852 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7853 [__ASSUME_ACCEPT4]: Change condition to
7854 [__ASSUME_ACCEPT4_SOCKETCALL].
7855 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7856 (__ASSUME_SOCKETCALL): Define.
7857 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
7858 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7859 (__ASSUME_SOCKETCALL): Define.
7860 (__ASSUME_ACCEPT4): Remove.
7861 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
7862 Define.
7863 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7864 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
7865 Likewise.
7866 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7867 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7868
5d7b57ca
JM
7869 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
7870 macro.
7871 (HWCAP_ARM_LPAE): Likewise.
7872 (HWCAP_ARM_EVTSTRM): Likewise.
7873 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
7874 Add vpfd32, lpae and evtstrm.
7875 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
7876 Increase to 22.
7877
63689d61
JM
78782014-02-19 Joseph Myers <joseph@codesourcery.com>
7879
7880 * math/auto-libm-test-in: Add tests of clog10.
7881 * math/auto-libm-test-out: Regenerated.
7882 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
7883 * sysdeps/i386/fpu/libm-test-ulps: Update.
7884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7885
ab09bf61
AS
78862014-02-18 Andreas Schwab <schwab@suse.de>
7887
7888 [BZ #16574]
7889 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
7890 Store non-zero if the second buffer was newly allocated.
7891 (send_dg): Likewise.
7892 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
7893 to send_vc and send_dg.
7894 (res_nsend): Pass NULL for ansp2_malloced.
7895 * resolv/res_query.c (__libc_res_nquery): Add parameter
7896 answerp2_malloced and pass it down to __libc_res_nsend.
7897 (res_nquery): Pass additional NULL to __libc_res_nquery.
7898 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
7899 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
7900 second answer buffer if answerp2_malloced was set.
7901 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
7902 (__libc_res_nquerydomain): Add parameter
7903 answerp2_malloced and pass it down to __libc_res_nquery.
7904 (res_nquerydomain): Pass additional NULL to
7905 __libc_res_nquerydomain.
7906 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
7907 additional NULL to __libc_res_nsend and __libc_res_nquery.
7908 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
7909 additional NULL to __libc_res_nsearch.
7910 (_nss_dns_gethostbyname4_r): Revert last change. Use new
7911 parameter of __libc_res_nsearch to check for separately allocated
7912 second buffer.
7913 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
7914 __libc_res_nquery.
7915 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
7916 additional NULL to __libc_res_nquery.
7917 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
7918 __libc_res_nsearch.
7919 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
7920 * include/resolv.h: Update prototypes of __libc_res_nquery,
7921 __libc_res_nsearch, __libc_res_nsend.
7922
a4fb7861
JM
79232014-02-18 Joseph Myers <joseph@codesourcery.com>
7924
c6af2d89
JM
7925 * math/auto-libm-test-in: Add tests of fma.
7926 * math/auto-libm-test-out: Regenerated.
7927 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
7928 (fma_towardzero_test_data): Likewise.
7929 (fma_downward_test_data): Likewise.
7930 (fma_upward_test_data): Likewise.
7931 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
7932 mpc_mode.
7933 (rounding_modes): Add values for new field.
7934 (func_calc_method): Add value mpfr_fff_f.
7935 (func_calc_desc): Add mpfr_fff_f union field.
7936 (test_function): Add field exact_args.
7937 (FUNC): Add macro argument EXACT_ARGS.
7938 (FUNC_mpfr_f_f): Update call to FUNC.
7939 (FUNC_mpfr_f_f): Likewise.
7940 (FUNC_mpfr_ff_f): Likewise.
7941 (FUNC_mpfr_if_f): Likewise.
7942 (FUNC_mpc_c_f): Likewise.
7943 (FUNC_mpc_c_c): Likewise.
7944 (test_functions): Add fma. Update calls to FUNC.
7945 (handle_input_arg): Add argument exact_args.
7946 (add_test): Update call to handle_input_arg.
7947 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
7948 (output_for_one_input_case): Update call to calc_generic_results.
7949 Recalculate exact zero results in each rounding mode.
7950
a4fb7861
JM
7951 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
7952 non-negative before setting low bit.
7953 * math/auto-libm-test-in: Mark one asin test possibly having
7954 spurious underflow.
7955 * math/auto-libm-test-out: Regenerated.
7956 * sysdeps/i386/fpu/libm-test-ulps: Update.
7957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7958
ef114eaf
DH
79592014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
7960
2b7f4f2c
SP
7961 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
7962 * sysdeps/unix/sysv/linux/microblaze: Move directory from
7963 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
7964 * README: Add missing listing for microblaze*-*-linux-gnu.
7965
c70a4b1d
MF
79662014-02-16 Mike Frysinger <vapier@gentoo.org>
7967
7968 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
7969 * sysdeps/unix/sysv/linux/ia64: Move directory from
7970 ports/sysdeps/unix/sysv/linux/ia64.
7971 * README: Update listing for ia64-*-linux-gnu.
7972
591aeaf7
TD
79732014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
7974 Joseph Myers <joseph@codesourcery.com>
7975
7976 * Makeconfig (test-name): New variable.
7977 (evaluate-test): Likewise.
7978 * Makerules (do-test-clean): Remove .test-result files.
7979 (common-mostlyclean): Likewise.
7980 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
7981 * scripts/evaluate-test.sh: New file.
7982
6e89caf1
JM
79832014-02-14 Joseph Myers <joseph@codesourcery.com>
7984
7f98f180
JM
7985 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
7986 separate $(objpfx)tst-fopenloc-cmp.out and
7987 $(objpfx)tst-fopenloc-mem.out targets.
7988 (tests): Update dependencies.
7989 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
7990 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
7991 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
7992 (tst-rxspencer-no-utf8-ARGS): New variable.
7993 (tst-rxspencer-no-utf8-ENV): Likewise.
7994 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
7995 instead of $(objpfx)tst-rxspencer-mem.
7996 ($(objpfx)tst-rxspencer-mem): Change target to
7997 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
7998 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
7999 * posix/tst-rxspencer-no-utf8.c: New file.
8000
6e89caf1
JM
8001 * elf/Makefile ($(objpfx)order.out): Remove rule.
8002 [$(run-built-tests) = yes] (tests): Depend on
8003 $(objpfx)order-cmp.out.
8004 ($(objpfx)order-cmp.out): New rule.
8005 [$(run-built-tests) = yes] (tests): Depend on
8006 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
8007 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
8008 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
8009 $(objpfx)tst-array5-static-cmp.out.
8010 ($(objpfx)tst-array1.out): Remove rule.
8011 ($(objpfx)tst-array1-cmp.out): New rule.
8012 ($(objpfx)tst-array1-static.out): Remove rule.
8013 ($(objpfx)tst-array1-static-cmp.out): New rule.
8014 ($(objpfx)tst-array2.out): Remove rule.
8015 ($(objpfx)tst-array2-cmp.out): New rule.
8016 ($(objpfx)tst-array3.out): Remove rule.
8017 ($(objpfx)tst-array3-cmp.out): New rule.
8018 ($(objpfx)tst-array4.out): Remove rule.
8019 ($(objpfx)tst-array4-cmp.out): New rule.
8020 ($(objpfx)tst-array5.out): Remove rule.
8021 ($(objpfx)tst-array5-cmp.out): New rule.
8022 ($(objpfx)tst-array5-static.out): Remove rule.
8023 ($(objpfx)tst-array5-static-cmp.out): New rule.
8024 [$(run-built-tests) = yes] (tests): Depend on
8025 $(objpfx)order2-cmp.out.
8026 ($(objpfx)order2.out): Remove rule.
8027 ($(objpfx)order2-cmp.out): New rule.
8028 ($(objpfx)tst-initorder.out): Remove rule.
8029 [$(run-built-tests) = yes] (tests): Depend on
8030 $(objpfx)tst-initorder-cmp.out.
8031 ($(objpfx)tst-initorder-cmp.out): New rule.
8032 ($(objpfx)tst-initorder2.out): Remove rule.
8033 [$(run-built-tests) = yes] (tests): Depend on
8034 $(objpfx)tst-initorder2-cmp.out.
8035 ($(objpfx)tst-initorder2-cmp.out): New rule.
8036 [$(run-built-tests) = yes] (tests): Depend on
8037 $(objpfx)tst-unused-dep-cmp.out.
8038 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
8039 ($(objpfx)tst-unused-dep-cmp.out): New rule.
8040 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
8041 on $(objpfx)tst-setvbuf1-cmp.out.
8042 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
8043 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
8044 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
8045 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
8046 ($(objpfx)tst-svc.out): Remove rule.
8047 ($(objpfx)tst-svc-cmp.out): New rule.
8048
ed9a38e2
JM
80492014-02-13 Joseph Myers <joseph@codesourcery.com>
8050
8051 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
8052 * ctype/ctype.h [__USE_MISC]: Likewise.
8053 * dirent/dirent.h [__USE_MISC]: Likewise.
8054 * grp/grp.h [__USE_MISC]: Likewise.
8055 * io/fcntl.h [__USE_MISC]: Likewise.
8056 * io/sys/stat.h [__USE_MISC]: Likewise.
8057 * libio/stdio.h [__USE_MISC]: Likewise.
8058 * posix/unistd.h [__USE_MISC]: Likewise.
8059 * pwd/pwd.h [__USE_MISC]: Likewise.
8060 * stdlib.h [__USE_MISC]: Likewise.
8061 * string/bits/string2.h [__USE_MISC]: Likewise.
8062 * string/string.h [__USE_MISC]: Likewise.
8063 * time/time.h [__USE_MISC]: Likewise.
8064
d6680619
AS
80652014-02-13 Andreas Schwab <schwab@suse.de>
8066
8067 [BZ #16574]
8068 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
8069 second answer buffer if it was separately allocated.
8070
ace614b8
JM
80712014-02-12 Joseph Myers <joseph@codesourcery.com>
8072
743151ae
JM
8073 * sysdeps/mips/math-tests.h: Include <features.h>.
8074 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8075 (ROUNDING_TESTS_long_double): Do not define.
8076 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8077 (EXCEPTION_TESTS_long_double): Likewise.
8078 * sysdeps/mips/mips64/libm-test-ulps: Update.
8079
498afc54
JM
8080 * include/features.h (__USE_BSD): Remove macro definitions.
8081 (__USE_SVID): Likewise.
8082 (_BSD_SOURCE): Likewise.
8083 (_SVID_SOURCE): Likewise.
8084 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
8085 from definition of _DEFAULT_SOURCE.
8086 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
8087 [_DEFAULT_SOURCE].
8088 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
8089 * bits/mman.h [__USE_BSD]: Likewise.
8090 * bits/termios.h [__USE_BSD]: Likewise.
8091 * bits/waitstatus.h [__USE_BSD]: Likewise.
8092 * ctype/ctype.h [__USE_SVID]: Likewise.
8093 * dirent/dirent.h [__USE_BSD]: Likewise.
8094 * grp/grp.h [__USE_SVID]: Likewise.
8095 [__USE_BSD]: Likewise.
8096 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
8097 * io/fcntl.h [__USE_BSD]: Likewise.
8098 * io/ftw.h [__USE_BSD]: Likewise.
8099 * io/sys/stat.h [__USE_BSD]: Likewise.
8100 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
8101 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
8102 * libio/stdio.h [__USE_SVID]: Likewise.
8103 [__USE_BSD]: Likewise.
8104 * math/math.h [__USE_SVID]: Likewise.
8105 [__USE_BSD]: Likewise.
8106 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
8107 * misc/bits/syslog.h [__USE_BSD]: Likewise.
8108 * misc/search.h [__USE_SVID]: Likewise.
8109 * misc/sys/mman.h [__USE_BSD]: Likewise.
8110 * misc/sys/syslog.h [__USE_BSD]: Likewise.
8111 * misc/sys/uio.h [__USE_BSD]: Likewise.
8112 * posix/bits/unistd.h [__USE_BSD]: Likewise.
8113 * posix/glob.h [__USE_BSD]: Likewise.
8114 * posix/regex.h [__USE_BSD]: Likewise.
8115 * posix/sys/types.h [__USE_BSD]: Likewise.
8116 [__USE_SVID]: Likewise.
8117 * posix/sys/utsname.h [__USE_SVID]: Likewise.
8118 * posix/sys/wait.h [__USE_BSD]: Likewise.
8119 [__USE_SVID]: Likewise.
8120 * posix/unistd.h [__USE_BSD]: Likewise.
8121 [__USE_SVID]: Likewise.
8122 * pwd/pwd.h [__USE_SVID]: Likewise.
8123 * resolv/netdb.h [__USE_BSD]: Likewise.
8124 * setjmp/setjmp.h [__USE_BSD]: Likewise.
8125 * signal/signal.h [__USE_BSD]: Likewise.
8126 [__USE_SVID]: Likewise.
8127 * socket/sys/socket.h [__USE_BSD]: Likewise.
8128 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
8129 * stdlib/stdlib.h [__USE_BSD]: Likewise.
8130 [__USE_SVID]: Likewise.
8131 * string/bits/string2.h [__USE_BSD]: Likewise.
8132 [__USE_SVID]: Likewise.
8133 * string/bits/string3.h [__USE_BSD]: Likewise.
8134 * string/endian.h [__USE_BSD]: Likewise.
8135 * string/string.h [__USE_SVID]: Likewise.
8136 [__USE_BSD]: Likewise.
8137 * string/strings.h [__USE_BSD]: Likewise.
8138 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
8139 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
8140 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
8141 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
8142 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
8143 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
8144 Likewise.
8145 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
8146 Likewise.
8147 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
8148 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
8149 Likewise.
8150 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
8151 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
8152 Likewise.
8153 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
8154 Likewise.
8155 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
8156 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
8157 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
8158 Likewise.
8159 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
8160 Likewise.
8161 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
8162 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
8163 * termios/termios.h [__USE_BSD]: Likewise.
8164 * time/sys/time.h [__USE_BSD]: Likewise.
8165 * time/time.h [__USE_BSD]: Likewise.
8166 [__USE_SVID]: Likewise.
8167
dd7b064c
JM
8168 * Makefile (subdir_targets): Remove subdir_lint.out.
8169
a2c4c199
JM
8170 * stdio-common/Makefile (do-tst-unbputc): Remove target.
8171 (do-tst-printf): Likewise.
8172 (tests): Depend directly on $(objpfx)tst-unbputc.out and
8173 $(objpfx)tst-printf.out.
8174
8756f740
JM
8175 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
8176
1b6dd3f1
JM
8177 * Makerules (check-abi-%): Change target to
8178 $(objpfx)check-abi-%.out.
8179 (check-abi target): Update dependencies.
8180 (check-abi-pattern variable): Redirect output of diff to $@.
8181 (check-abi variable): Likewise.
8182 * elf/Makefile (check-abi): Update dependencies.
8183
ace614b8
JM
8184 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
8185 unused.
8186 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
8187 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
8188 subnormal range.
8189 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
8190 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
8191 value has largest subnormal exponent.
8192 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
8193 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
8194 * sysdeps/aarch64/soft-fp/sfp-machine.h
8195 (_FP_TININESS_AFTER_ROUNDING): New macro.
8196 * sysdeps/alpha/soft-fp/sfp-machine.h
8197 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8198 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8199 Likewise.
8200 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
8201 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8202 * sysdeps/mips/soft-fp/sfp-machine.h
8203 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8204 * sysdeps/powerpc/soft-fp/sfp-machine.h
8205 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8206 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8207 Likewise.
8208 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8209 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8210 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8211 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8212 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8213 Likewise.
8214
fbfdf9cb
DAS
82152014-02-12 Dylan Alex Simon <dylan@dylex.net>
8216
8217 [BZ #16545]
8218 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
8219 model 1.
8220
68b7efaa
RH
82212014-02-12 Richard Henderson <rth@redhat.com>
8222
c70a4b1d 8223 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
8224 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
8225 * sysdeps/unix/sysv/linux/alpha: Move directory from
8226 ports/sysdeps/unix/sysv/linux/alpha.
8227 * README: Update listing for alpha-*-linux-gnu.
8228
cb4a2928
JM
82292014-02-11 Joseph Myers <joseph@codesourcery.com>
8230
c941736c
JM
8231 * include/features.h: Update comment documenting feature test
8232 macros.
8233 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
8234 _DEFAULT_SOURCE.
8235 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
8236 (_SVID_SOURCE): Likewise.
8237 (_DEFAULT_SOURCE): Update description of default features.
8238 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
8239 with _GNU_SOURCE.
8240 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
8241 (S_ISVTX): Likewise.
8242 * manual/math.texi (Mathematical Constants): Likewise.
8243 * manual/signal.texi (Interrupted Primitives): Likewise.
8244 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
8245 * math/test-matherr.c (_SVID_SOURCE): Do not define.
8246 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
8247 Don't refer to _SVID_SOURCE in warning text.
8248
e8d8d7ec
JM
8249 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8250
cb4a2928
JM
8251 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
8252 already defined.
8253 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
8254 * sysdeps/mips/dl-lookup.c: Remove.
8255 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
8256
7e6424e3
AK
82572014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8258
8259 [BZ #16447]
8260 * math/auto-libm-test-in: Add testcase for expl.
8261 * math/auto-libm-test-out: Regenerate.
8262 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
8263 calculation of unsafe.
8264 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
8265
75eff3fe
MS
82662014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
8267
8268 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
8269 * sysdeps/unix/sysv/linux/aarch64: Move directory from
8270 ports/sysdeps/unix/sysv/linux/aarch64.
8271 * README: Update listing for aarch64*-*-linux-gnu.
8272
d35f1e80
WN
82732014-02-11 Will Newton <will.newton@linaro.org>
8274
8275 * manual/probes.texi (Mathematical Function Probes): Use
8276 "triggered" instead of "hit".
8277
7b3436d4
WN
8278 * manual/probes.texi (Internal Probes): Add documentation
8279 of setjmp, longjmp and longjmp_target probes.
8280
b4f12ca3
WN
8281 * include/stap-probe.h: Add comment about probe argument
8282 format.
8283
c13a72b7
WN
8284 * malloc/mtrace.c (attribute_hidden): Remove unused macro
8285 definition. (tr_where, tr_freehook, tr_mallochook,
8286 tr_reallochook, tr_memalignhook): Use ANSI protoype.
8287
195b8165
DM
82882014-02-11 David S. Miller <davem@davemloft.net>
8289
8290 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
8291 processing int_tests.
8292
2ad7600b
JM
82932014-02-10 Joseph Myers <joseph@codesourcery.com>
8294
8295 * sysdeps/mips: Move directory from ports/sysdeps/mips.
8296 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
8297 * sysdeps/unix/sysv/linux/mips: Move directory from
8298 ports/sysdeps/unix/sysv/linux/mips.
8299 * README: Update listing for mips-*-linux-gnu and
8300 mips64-*-linux-gnu.
8301
73588a72
AS
83022014-02-10 Andreas Schwab <schwab@linux-m68k.org>
8303
8304 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
8305 * sysdeps/unix/sysv/linux/m68k: Move directory from
8306 ports/sysdeps/unix/sysv/linux/m68k.
8307 * README: Update listing for m68k-*-linux-gnu.
8308
4372980f
CM
83092014-02-10 Chris Metcalf <cmetcalf@tilera.com>
8310
8311 * sysdeps/tile: Move directory from ports/sysdeps/tile.
8312 * sysdeps/unix/sysv/linux/generic: Move directory from
8313 ports/sysdeps/unix/sysv/linux/generic.
8314 * sysdeps/unix/sysv/linux/tile: Move directory from
8315 ports/sysdeps/unix/sysv/linux/tile.
8316 * README: Update listing for tile*-*-linux-gnu.
8317
a1ffb40e
OB
83182014-02-10 Ondřej Bílka <neleai@seznam.cz>
8319
57f41c40
AS
8320 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
8321 __builtin_expect.
a1ffb40e
OB
8322 * benchtests/bench-memmem.c (simple_memmem): Likewise.
8323 * catgets/open_catalog.c (__open_catalog): Likewise.
8324 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
8325 * debug/confstr_chk.c: Likewise.
8326 * debug/fread_chk.c (__fread_chk): Likewise.
8327 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
8328 * debug/getgroups_chk.c: Likewise.
8329 * debug/mbsnrtowcs_chk.c: Likewise.
8330 * debug/mbsrtowcs_chk.c: Likewise.
8331 * debug/mbstowcs_chk.c: Likewise.
8332 * debug/memcpy_chk.c: Likewise.
8333 * debug/memmove_chk.c: Likewise.
8334 * debug/mempcpy_chk.c: Likewise.
8335 * debug/memset_chk.c: Likewise.
8336 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8337 * debug/strcat_chk.c (__strcat_chk): Likewise.
8338 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
8339 * debug/strncat_chk.c (__strncat_chk): Likewise.
8340 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
8341 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
8342 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
8343 * debug/wcpncpy_chk.c: Likewise.
8344 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8345 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
8346 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
8347 * debug/wcsncpy_chk.c: Likewise.
8348 * debug/wcsnrtombs_chk.c: Likewise.
8349 * debug/wcsrtombs_chk.c: Likewise.
8350 * debug/wcstombs_chk.c: Likewise.
8351 * debug/wmemcpy_chk.c: Likewise.
8352 * debug/wmemmove_chk.c: Likewise.
8353 * debug/wmempcpy_chk.c: Likewise.
8354 * debug/wmemset_chk.c: Likewise.
8355 * dirent/scandirat.c (SCANDIRAT): Likewise.
8356 * dlfcn/dladdr1.c (dladdr1): Likewise.
8357 * dlfcn/dladdr.c (dladdr): Likewise.
8358 * dlfcn/dlclose.c (dlclose_doit): Likewise.
8359 * dlfcn/dlerror.c (__dlerror): Likewise.
8360 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
8361 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
8362 * dlfcn/dlopen.c (dlopen_doit): Likewise.
8363 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
8364 * dlfcn/dlsym.c (dlsym_doit): Likewise.
8365 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
8366 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
8367 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
8368 Likewise.
8369 * elf/dl-conflict.c: Likewise.
8370 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
8371 * elf/dl-dst.h: Likewise.
8372 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
8373 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
8374 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
8375 * elf/dl-init.c (call_init, _dl_init): Likewise.
8376 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
8377 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
8378 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
8379 Likewise.
a1ffb40e
OB
8380 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
8381 Likewise.
8382 * elf/dl-minimal.c (__libc_memalign): Likewise.
8383 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
8384 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8385 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
8386 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
8387 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
8388 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
8389 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
8390 * elf/dl-writev.h (_dl_writev): Likewise.
8391 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
8392 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
8393 (dl_main): Likewise.
a1ffb40e
OB
8394 * elf/setup-vdso.h (setup_vdso): Likewise.
8395 * grp/compat-initgroups.c (compat_call): Likewise.
8396 * grp/fgetgrent.c (fgetgrent): Likewise.
8397 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
8398 * grp/putgrent.c (putgrent): Likewise.
8399 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8400 Likewise.
8401 * hurd/hurdinit.c: Likewise.
8402 * iconvdata/8bit-gap.c (struct): Likewise.
8403 * iconvdata/ansi_x3.110.c : Likewise.
8404 * iconvdata/big5.c : Likewise.
8405 * iconvdata/big5hkscs.c : Likewise.
8406 * iconvdata/cp1255.c: Likewise.
8407 * iconvdata/cp1258.c : Likewise.
8408 * iconvdata/cp932.c : Likewise.
8409 * iconvdata/euc-cn.c: Likewise.
8410 * iconvdata/euc-jisx0213.c : Likewise.
8411 * iconvdata/euc-jp.c: Likewise.
8412 * iconvdata/euc-jp-ms.c : Likewise.
8413 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
8414 * iconvdata/gb18030.c : Likewise.
8415 * iconvdata/gbbig5.c (const): Likewise.
8416 * iconvdata/gbgbk.c: Likewise.
8417 * iconvdata/gbk.c : Likewise.
8418 * iconvdata/ibm1364.c : Likewise.
8419 * iconvdata/ibm930.c : Likewise.
8420 * iconvdata/ibm932.c: Likewise.
8421 * iconvdata/ibm933.c : Likewise.
8422 * iconvdata/ibm935.c : Likewise.
8423 * iconvdata/ibm937.c : Likewise.
8424 * iconvdata/ibm939.c : Likewise.
8425 * iconvdata/ibm943.c: Likewise.
8426 * iconvdata/iso_11548-1.c: Likewise.
8427 * iconvdata/iso-2022-cn.c : Likewise.
8428 * iconvdata/iso-2022-cn-ext.c : Likewise.
8429 * iconvdata/iso-2022-jp-3.c: Likewise.
8430 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
8431 * iconvdata/iso-2022-kr.c : Likewise.
8432 * iconvdata/iso646.c (gconv_end): Likewise.
8433 * iconvdata/iso_6937-2.c : Likewise.
8434 * iconvdata/iso_6937.c : Likewise.
8435 * iconvdata/iso8859-1.c: Likewise.
8436 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
8437 * iconvdata/shift_jisx0213.c : Likewise.
8438 * iconvdata/sjis.c : Likewise.
8439 * iconvdata/t.61.c : Likewise.
8440 * iconvdata/tcvn5712-1.c : Likewise.
8441 * iconvdata/tscii.c: Likewise.
8442 * iconvdata/uhc.c : Likewise.
8443 * iconvdata/unicode.c (gconv_end): Likewise.
8444 * iconvdata/utf-16.c (gconv_end): Likewise.
8445 * iconvdata/utf-32.c (gconv_end): Likewise.
8446 * iconvdata/utf-7.c (base64): Likewise.
8447 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
8448 * iconv/gconv_close.c (__gconv_close): Likewise.
8449 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
8450 * iconv/gconv_simple.c (internal_ucs4_loop_single)
8451 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
8452 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
8453 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
8454 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
8455 * iconv/iconv.c (iconv): Likewise.
8456 * iconv/iconv_close.c: Likewise.
8457 * iconv/loop.c (SINGLE): Likewise.
8458 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
8459 * include/atomic.h: Likewise.
8460 * inet/inet6_option.c (option_alloc): Likewise.
8461 * intl/bindtextdom.c (set_binding_values): Likewise.
8462 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
8463 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8464 * intl/localealias.c (read_alias_file): Likewise.
8465 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
8466 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
8467 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
8468 * libio/fmemopen.c (fmemopen): Likewise.
8469 * libio/iofgets.c (_IO_fgets): Likewise.
8470 * libio/iofgets_u.c (fgets_unlocked): Likewise.
8471 * libio/iofgetws.c (fgetws): Likewise.
8472 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
8473 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
8474 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
8475 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
8476 * locale/findlocale.c (_nl_find_locale): Likewise.
8477 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
8478 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
8479 Likewise.
8480 * locale/setlocale.c (setlocale): Likewise.
8481 * login/programs/pt_chown.c (main): Likewise.
8482 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
8483 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
8484 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
8485 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
8486 * math/e_exp2l.c: Likewise.
8487 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
8488 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
8489 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
8490 * math/s_catan.c (__catan): Likewise.
8491 * math/s_catanf.c (__catanf): Likewise.
8492 * math/s_catanh.c (__catanh): Likewise.
8493 * math/s_catanhf.c (__catanhf): Likewise.
8494 * math/s_catanhl.c (__catanhl): Likewise.
8495 * math/s_catanl.c (__catanl): Likewise.
8496 * math/s_ccosh.c (__ccosh): Likewise.
8497 * math/s_ccoshf.c (__ccoshf): Likewise.
8498 * math/s_ccoshl.c (__ccoshl): Likewise.
8499 * math/s_cexp.c (__cexp): Likewise.
8500 * math/s_cexpf.c (__cexpf): Likewise.
8501 * math/s_cexpl.c (__cexpl): Likewise.
8502 * math/s_clog10.c (__clog10): Likewise.
8503 * math/s_clog10f.c (__clog10f): Likewise.
8504 * math/s_clog10l.c (__clog10l): Likewise.
8505 * math/s_clog.c (__clog): Likewise.
8506 * math/s_clogf.c (__clogf): Likewise.
8507 * math/s_clogl.c (__clogl): Likewise.
8508 * math/s_csin.c (__csin): Likewise.
8509 * math/s_csinf.c (__csinf): Likewise.
8510 * math/s_csinh.c (__csinh): Likewise.
8511 * math/s_csinhf.c (__csinhf): Likewise.
8512 * math/s_csinhl.c (__csinhl): Likewise.
8513 * math/s_csinl.c (__csinl): Likewise.
8514 * math/s_csqrt.c (__csqrt): Likewise.
8515 * math/s_csqrtf.c (__csqrtf): Likewise.
8516 * math/s_csqrtl.c (__csqrtl): Likewise.
8517 * math/s_ctan.c (__ctan): Likewise.
8518 * math/s_ctanf.c (__ctanf): Likewise.
8519 * math/s_ctanh.c (__ctanh): Likewise.
8520 * math/s_ctanhf.c (__ctanhf): Likewise.
8521 * math/s_ctanhl.c (__ctanhl): Likewise.
8522 * math/s_ctanl.c (__ctanl): Likewise.
8523 * math/w_pow.c: Likewise.
8524 * math/w_powf.c: Likewise.
8525 * math/w_powl.c: Likewise.
8526 * math/w_scalb.c (sysv_scalb): Likewise.
8527 * math/w_scalbf.c (sysv_scalbf): Likewise.
8528 * math/w_scalbl.c (sysv_scalbl): Likewise.
8529 * misc/error.c (error_tail): Likewise.
8530 * misc/pselect.c (__pselect): Likewise.
8531 * nis/nis_callback.c (__nis_create_callback): Likewise.
8532 * nis/nis_call.c (__nisfind_server): Likewise.
8533 * nis/nis_creategroup.c (nis_creategroup): Likewise.
8534 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
8535 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
8536 * nis/nis_getservlist.c (nis_getservlist): Likewise.
8537 * nis/nis_lookup.c (nis_lookup): Likewise.
8538 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
8539 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
8540 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 8541 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
8542 * nis/nss_compat/compat-grp.c (getgrent_next_file)
8543 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
8544 * nis/nss_compat/compat-initgroups.c (add_group)
8545 (internal_getgrent_r): Likewise.
8546 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
8547 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
8548 * nis/nss_compat/compat-spwd.c (getspent_next_file)
8549 (internal_getspnam_r): Likewise.
8550 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
8551 (_nss_nis_getaliasbyname_r): Likewise.
8552 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
8553 (_nss_nis_getntohost_r): Likewise.
8554 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
8555 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
8556 (_nss_nis_getgrgid_r): Likewise.
8557 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
8558 (internal_nis_gethostent_r, internal_gethostbyname2_r)
8559 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
8560 (_nss_nis_gethostbyname4_r): Likewise.
8561 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
8562 (initgroups_netid): Likewise.
a1ffb40e 8563 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
8564 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
8565 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
8566 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
8567 (_nss_nis_getprotobynumber_r): Likewise.
8568 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
8569 (_nss_nis_getsecretkey): Likewise.
8570 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
8571 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
8572 (_nss_nis_getpwuid_r): Likewise.
8573 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
8574 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
8575 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
8576 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
8577 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
8578 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
8579 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
8580 Likewise.
57f41c40
AS
8581 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
8582 (_nss_nisplus_getntohost_r): Likewise.
8583 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
8584 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
8585 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
8586 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 8587 Likewise.
57f41c40
AS
8588 * nis/nss_nisplus/nisplus-initgroups.c
8589 (_nss_nisplus_initgroups_dyn): Likewise.
8590 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
8591 (_nss_nisplus_getnetbyaddr_r): Likewise.
8592 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
8593 (_nss_nisplus_getprotobynumber_r): Likewise.
8594 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
8595 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
8596 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
8597 Likewise.
57f41c40
AS
8598 * nis/nss_nisplus/nisplus-service.c
8599 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
8600 (_nss_nisplus_getservbyport_r): Likewise.
8601 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
8602 (_nss_nisplus_getspnam_r): Likewise.
8603 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
8604 Likewise.
a1ffb40e
OB
8605 * nscd/aicache.c (addhstaiX): Likewise.
8606 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
8607 * nscd/connections.c (register_traced_file, send_ro_fd)
8608 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
8609 (main_loop_epoll): Likewise.
a1ffb40e
OB
8610 * nscd/grpcache.c (addgrbyX): Likewise.
8611 * nscd/hstcache.c (addhstbyX): Likewise.
8612 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8613 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
8614 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
8615 (addinnetgrX): Likewise.
8616 * nscd/nscd-client.h (__nscd_acquire_maplock)
8617 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
8618 * nscd/nscd_getai.c (__nscd_getai): Likewise.
8619 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
8620 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
8621 Likewise.
8622 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
8623 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
8624 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
8625 (__nscd_get_map_ref): Likewise.
a1ffb40e 8626 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
8627 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
8628 Likewise.
a1ffb40e
OB
8629 * nscd/pwdcache.c (addpwbyX): Likewise.
8630 * nscd/selinux.c (preserve_capabilities): Likewise.
8631 * nscd/servicescache.c (addservbyX): Likewise.
8632 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
8633 * posix/fnmatch.c (fnmatch): Likewise.
8634 * posix/getopt.c (_getopt_internal_r): Likewise.
8635 * posix/glob.c (glob, glob_in_dir): Likewise.
8636 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
8637 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
8638 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
8639 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
8640 * resolv/res_init.c: Likewise.
8641 * resolv/res_mkquery.c (res_nmkquery): Likewise.
8642 * resolv/res_query.c (__libc_res_nquery): Likewise.
8643 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
8644 Likewise.
8645 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
8646 * stdio-common/perror.c (perror): Likewise.
8647 * stdio-common/printf_fp.c (___printf_fp): Likewise.
8648 * stdio-common/tmpnam.c (tmpnam): Likewise.
8649 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
8650 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
8651 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
8652 Likewise.
a1ffb40e
OB
8653 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
8654 * stdlib/putenv.c (putenv): Likewise.
8655 * stdlib/setenv.c (__add_to_environ): Likewise.
8656 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8657 * stdlib/strtol_l.c (INTERNAL): Likewise.
8658 * string/memmem.c (memmem): Likewise.
8659 * string/strerror.c (strerror): Likewise.
8660 * string/strnlen.c (__strnlen): Likewise.
8661 * string/test-memmem.c (simple_memmem): Likewise.
8662 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
8663 * sunrpc/pm_getport.c (__get_socket): Likewise.
8664 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
8665 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
8666 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
8667 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
8668 Likewise.
8669 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8670 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8671 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
8672 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
8673 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
8674 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
8675 Likewise.
8676 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
8677 Likewise.
a1ffb40e
OB
8678 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
8679 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8680 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8681 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
8682 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8683 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
8684 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8685 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
8686 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
8687 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
8688 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8689 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
8690 Likewise.
8691 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
8692 Likewise.
8693 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
8694 Likewise.
8695 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
8696 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8697 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
8698 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
8699 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8700 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
8701 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8702 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
8703 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
8704 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
8705 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
8706 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8707 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8708 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
8709 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
8710 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8711 Likewise.
a1ffb40e
OB
8712 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
8713 Likewise.
8714 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
8715 Likewise.
8716 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
8717 Likewise.
8718 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8719 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8720 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
8721 Likewise.
8722 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
8723 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
8724 * sysdeps/posix/opendir.c (__opendirat): Likewise.
8725 * sysdeps/posix/sleep.c: Likewise.
8726 * sysdeps/posix/tempname.c: Likewise.
8727 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
8728 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8729 Likewise.
57f41c40
AS
8730 * sysdeps/powerpc/powerpc32/dl-machine.h
8731 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
8732 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8733 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8734 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
8735 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
8736 Likewise.
8737 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
8738 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
8739 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8740 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
8741 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
8742 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
8743 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
8744 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
8745 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8746 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
8747 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
8748 (elf_machine_lazy_rel): Likewise.
a1ffb40e 8749 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
8750 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
8751 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
8752 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
8753 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
8754 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
8755 * sysdeps/unix/grantpt.c (grantpt): Likewise.
8756 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
8757 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
8758 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
8759 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8760 Likewise.
8761 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
8762 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
8763 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
8764 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
8765 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8766 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8767 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
8768 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
8769 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
8770 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8771 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
8772 Likewise.
8773 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
8774 (__posix_fallocate64_l64): Likewise.
8775 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
8776 (posix_fallocate): Likewise.
57f41c40
AS
8777 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
8778 Likewise.
a1ffb40e 8779 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
8780 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
8781 (getifaddrs_internal): Likewise.
a1ffb40e
OB
8782 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
8783 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
8784 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
8785 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
8786 * sysdeps/unix/sysv/linux/posix_fallocate64.c
8787 (__posix_fallocate64_l64): Likewise.
8788 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
8789 Likewise.
8790 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
8791 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
8792 (__get_clockfreq): Likewise.
a1ffb40e
OB
8793 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
8794 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
8795 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
8796 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8797 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8798 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
8799 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
8800 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
8801 Likewise.
8802 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
8803 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
8804 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
8805 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
8806 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8807 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
8808 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
8809 Likewise.
8810 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8811 (posix_fallocate): Likewise.
8812 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8813 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
8814 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
8815 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
8816 (elf_machine_rela, elf_machine_rela_relative)
8817 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
8818 * time/asctime.c (asctime_internal): Likewise.
8819 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
8820 * time/tzset.c (__tzset_parse_tz): Likewise.
8821 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8822 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8823 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
8824 * wcsmbs/wcsmbsload.h: Likewise.
8825
f3d338c9
OB
8826 [BZ #15894]
8827 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
8828
57f41c40
AS
8829 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
8830 (arena_get2): Remove THREAD_STATS conditionals.
8831 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
8832 (__malloc_stats, int): Likewise.
bdfe308a 8833
d674667c
MF
88342014-02-08 Mike Frysinger <vapier@gentoo.org>
8835
8836 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
8837 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
8838
6349768c
MF
8839 * manual/setjmp.texi: Fix typos/grammar errors.
8840
0b7c7473
MF
8841 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
8842 Only return early when n is <= 0. Delete unused return statement.
8843
ac8cc9e3
MF
8844 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
8845 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
8846 * debug/tst-longjmp_chk3.c: New file.
8847
c5bb8e23
MF
8848 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
8849 (test_main): Replace code with set_fortify_handler call.
8850 * debug/test-strcpy_chk.c: Likewise.
8851 * debug/tst-chk1.c: Likewise.
8852 * debug/tst-longjmp_chk.c: Likewise.
8853 * test-skeleton.c: Include fcntl.h & paths.h
8854 (set_fortify_handler): Define.
8855
10444e42
MF
8856 * debug/tst-longjmp_chk.c: Add header comment and include
8857 ../test-skeleton.c.
8858 (do_test): Mark static.
8859 (TEST_FUNCTION): Define.
8860
1e805e8d
MF
8861 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
8862 (IP_PMTUDISC_INTERFACE): Likewise.
8863 (IP_MULTICAST_IF): Likewise.
8864 (IP_MULTICAST_TTL): Likewise.
8865 (IP_MULTICAST_LOOP): Likewise.
8866 (IP_ADD_MEMBERSHIP): Likewise.
8867 (IP_DROP_MEMBERSHIP): Likewise.
8868 (IP_UNBLOCK_SOURCE): Likewise.
8869 (IP_BLOCK_SOURCE): Likewise.
8870 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
8871 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
8872 (IP_MSFILTER): Likewise.
8873 (MCAST_JOIN_GROUP): Likewise.
8874 (MCAST_BLOCK_SOURCE): Likewise.
8875 (MCAST_UNBLOCK_SOURCE): Likewise.
8876 (MCAST_LEAVE_GROUP): Likewise.
8877 (MCAST_JOIN_SOURCE_GROUP): Likewise.
8878 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
8879 (MCAST_MSFILTER): Likewise.
8880 (IP_MULTICAST_ALL): Likewise.
8881 (IP_UNICAST_IF): Likewise.
8882
73f79bb7
MF
8883 * timezone/Makefile: Delete $(have-ksh) check.
8884 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
8885 * timezone/tzselect.ksh: Add +x mode bits.
8886
8da79b60
MF
8887 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
8888 (ANON_INODE_FS_MAGIC): Likewise.
8889 (BDEVFS_MAGIC): Likewise.
8890 (BINFMTFS_MAGIC): Likewise.
8891 (BTRFS_TEST_MAGIC): Likewise.
8892 (CRAMFS_MAGIC_WEND): Likewise.
8893 (DEBUGFS_MAGIC): Likewise.
8894 (ECRYPTFS_SUPER_MAGIC): Likewise.
8895 (EXT3_SUPER_MAGIC): Likewise.
8896 (EXT4_SUPER_MAGIC): Likewise.
8897 (FUTEXFS_SUPER_MAGIC): Likewise.
8898 (HOSTFS_SUPER_MAGIC): Likewise.
8899 (HUGETLBFS_MAGIC): Likewise.
8900 (MINIX3_SUPER_MAGIC): Likewise.
8901 (MTD_INODE_FS_MAGIC): Likewise.
8902 (NILFS_SUPER_MAGIC): Likewise.
8903 (OPENPROM_SUPER_MAGIC): Likewise.
8904 (PIPEFS_MAGIC): Likewise.
8905 (PSTOREFS_MAGIC): Likewise.
8906 (QNX6_SUPER_MAGIC): Likewise.
8907 (RAMFS_MAGIC): Likewise.
8908 (REISERFS_SUPER_MAGIC_STRING): Likewise.
8909 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
8910 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
8911 (SECURITYFS_MAGIC): Likewise.
8912 (SELINUX_MAGIC): Likewise.
8913 (SMACK_MAGIC): Likewise.
8914 (SOCKFS_MAGIC): Likewise.
8915 (SQUASHFS_MAGIC): Likewise.
8916 (STACK_END_MAGIC): Likewise.
8917 (TMPFS_MAGIC): Likewise.
8918 (USBDEVICE_SUPER_MAGIC): Likewise.
8919 (V9FS_MAGIC): Likewise.
8920 (XENFS_SUPER_MAGIC): Likewise.
8921 (CRAMFS_MAGIC): Fix typo in comment.
8922 (EXT2_SUPER_MAGIC): Update comment.
8923 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
8924
464263cc
JM
89252014-02-08 Joseph Myers <joseph@codesourcery.com>
8926
c6bfe5c4
JM
8927 * sysdeps/arm: Move directory from ports/sysdeps/arm.
8928 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
8929 * sysdeps/unix/sysv/linux/arm: Move directory from
8930 ports/sysdeps/unix/sysv/linux/arm.
8931 * README: Update listing for arm-*-linux-gnueabi.
8932
464263cc
JM
8933 * README: Remove mention of am33.
8934
32749f6c
RM
89352014-02-07 Roland McGrath <roland@hack.frob.com>
8936
8937 * bits/sigset.h (__sigemptyset): Use a statement expression rather
8938 than the comma operator, to avoid "rhs of comma has no effect"
8939 compiler warnings.
8940 (__sigfillset, __sigandset, __sigorset): Likewise.
8941 * include/signal.h (__sigemptyset): Likewise.
8942 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
8943
d5b396c1
AM
89442014-02-07 Allan McRae <allan@archlinux.org>
8945
8946 * version.h (RELEASE): Set to "development".
8947 (VERSION): Set to "2.19.90"
8948 * NEWS: Add 2.20 section.
8949
3bfff2ed
CD
89502014-02-06 Carlos O'Donell <carlos@redhat.com>
8951
8952 [BZ #16529]
8953 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
8954
ee7cc385
SP
89552014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8956
8957 * manual/contrib.texi: Update entry for Carlos O'Donell,
8958 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
8959
f877c4f2
CD
89602014-02-05 Carlos O'Donell <carlos@rehdat.com>
8961
27e839f6
CD
8962 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
8963
f877c4f2
CD
8964 * sysdeps/unix/sysv/linux/kernel-features.h
8965 [__LINUX_KERNEL_VERSION >= 0x020621]
8966 (__ASSUME_PROC_PID_TASK_COMM): Define.
8967
68159946
SP
89682014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8969
ba17cdbd
SP
8970 [BZ #16398]
8971 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
8972 conversion when destination buffer does not have enough space.
8973 * libio/tst-ftell-partial-wide.c: New test case.
8974 * libio/Makefile (tests): Add tst-ftell-partial-wide.
8975
68159946
SP
8976 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
8977 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
8978 Leonard and Allan McRae.
8979
2b528732
DM
89802014-02-04 David S. Miller <davem@davemloft.net>
8981
8982 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
8983 32-bit.
8984
0ff82463
AZ
89852014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8986
57f41c40
AS
8987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8988 New file
c01603f7
AZ
8989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8990 New file
57f41c40
AS
8991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8992 New file.
8993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8994 New file.
c01603f7
AZ
8995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8996 New file.
57f41c40
AS
8997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8998 New file.
8999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9000 New file.
c01603f7
AZ
9001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9002 New file.
9003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9004 New file.
9005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9006 New file.
9007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9008 New file.
9009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9010 New file.
9011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9012 New file.
9013
90142014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9015
0ff82463
AZ
9016 * nptl/shlib-versions: Change powerpc*le start to 2.17.
9017 * shlib-versions: Likewise.
9018
1695c773
AZ
90192014-02-04 Roland McGrath <roland@hack.frob.com>
9020 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9021
9022 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
9023 (abilist-pattern): New variable, set to %-le.abilist.
9024
9025 * Makerules (abilist-pattern): New variable.
9026 (vpath): Use $(abilist-pattern) in place of %.abilist.
9027 (check-abi-% pattern rule): Likewise.
9028 (check-abi, update-abi): Likewise.
9029
6c0ce4b4
EW
90302014-02-04 Eric Wong <normalperson@yhbt.net>
9031
9032 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9033
481e3524
CD
90342014-02-03 Carlos O'Donell <carlos@redhat.com>
9035
9036 * manual/startup.texi: Add next, previous, and top entries for
9037 the `Program Arguments' and `Environment Variables' nodes.
9038
375592d3
AO
90392014-02-03 Alexandre Oliva <aoliva@redhat.com>
9040
9041 * manual/macros.texi: Add comments before MTASC-safety macros.
9042
f54838ba
AO
9043 * manual/users.texi: Document MTASC-safety properties.
9044
57f41c40
AS
9045 * manual/threads.texi (pthread_key_create, pthread_key_delete)
9046 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
9047 @deftypefun, and add @safety note.
9048 * manual/signal.texi: Move comments that analyze the above
9049 functions to their home place.
9050
fd3daba4
AM
90512014-02-03 Allan McRae <allan@archlinux.org>
9052
9053 * po/sl.po: Update Slovenian translation from translation project.
9054
597636d7
AO
90552014-02-02 Alexandre Oliva <aoliva@redhat.com>
9056
9057 * manual/time.texi (timegm): Add missing blank after @c.
9058 Reported by Joseph Myers <joseph@codesourcery.com>.
9059
ee196e3c
AO
90602014-02-01 Alexandre Oliva <aoliva@redhat.com>
9061
9062 * manual/check-safety.sh: New.
9063 * manual/Makefile ($(objpfx)stamp-summary): Run it.
9064
f8d529d5
AO
9065 * manual/terminal.texi: Document MTASC-safety properties.
9066
de55fdf4
AO
9067 * manual/filesys.texi: Document MTASC-safety properties.
9068
c3299c08
AO
9069 * manual/errno.texi: Document MTASC-safety properties.
9070
06e90b14
AO
9071 * manual/intro.texi: Document safety identifiers and
9072 conditionals.
9073
1acd4371
AO
9074 * manual/string.texi (wcstok): Fix prototype.
9075 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
9076
23e5b8cb
AO
9077 * manual/time.texi: Document MTASC-safety properties.
9078
11087373
AO
9079 * manual/string.texi: Document MTASC-safety properties.
9080
5da2c93d
AO
9081 * manual/threads.texi: Document MTASC-safety properties.
9082
171e9210
AO
9083 * manual/stdio.texi: Document MTASC-safety properties.
9084
d9e02532
AO
9085 * manual/syslog.texi: Document MTASC-safety properties.
9086
6af8bab7
AO
9087 * manual/sysinfo.texi: Document MTASC-safety properties.
9088
663b02d7
AO
9089 * manual/startup.texi: Document MTASC-safety properties.
9090
973f180b
AO
9091 * manual/socket.texi: Document MTASC-safety properties.
9092
8f3c25c8
AO
9093 * manual/signal.texi: Document MTASC-safety properties.
9094
542210fb
AO
90952014-01-31 Alexandre Oliva <aoliva@redhat.com>
9096
9097 * manual/setjmp.texi: Document MTASC-safety properties.
9098
433c45a2
AO
9099 * manual/search.texi: Document MTASC-safety properties.
9100
c8ce789c
AO
9101 * manual/resource.texi: Document MTASC-safety properties.
9102
19f5d29c
AO
9103 * manual/process.texi: Document MTASC-safety properties.
9104
e2dfb7f4
AO
9105 * manual/platform.texi: Document MTASC-safety properties.
9106
8c1413f5
AO
9107 * manual/pipe.texi: Document MTASC-safety properties.
9108
03483ada
AO
9109 * manual/pattern.texi: Document MTASC-safety properties.
9110
29e7e2df
AO
9111 * manual/message.texi: Document MTASC-safety properties.
9112
9f529d7c
AO
9113 [BZ #12751]
9114 * manual/memory.texi: Document MTASC-safety properties.
9115
27aaa791
AO
9116 * manual/math.texi: Document MTASC-safety properties.
9117
f2d58726
AO
9118 * manual/locale.texi: Document MTASC-safety properties.
9119
2cc3615c
AO
9120 * manual/llio.texi: Document MTASC-safety properties.
9121
d9f0ec97
AO
9122 * manual/libdl.texi: New.
9123
e7c4409a
AO
9124 * manual/lang.texi: Document MTASC-safety properties.
9125
27bdc63c
AO
9126 * manual/job.texi: Document MTASC-safety properties.
9127
a7b90ea9
AO
9128 * manual/getopt.texi: Document MTASC-safety properties.
9129
c49130e3
AO
9130 * manual/ctype.texi: Document MTASC-safety properties.
9131
0d23a5c1
MR
91322014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
9133
9134 [BZ #16046]
9135 * csu/libc-tls.c (static_map): Remove variable.
9136 (__libc_setup_tls): Use main executable's link map for TLS data.
9137 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
9138 casing for LM_ID_BASE and GL(dl_nns).
9139 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
9140 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
9141 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
9142 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
9143 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
9144 member.
9145 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
9146 l_phnum members.
9147
0037bb60
AO
91482014-01-30 Alexandre Oliva <aoliva@redhat.com>
9149
9150 * manual/debug.texi: Document MTASC-safety properties.
9151
409e00bd
L
91522014-01-29 H.J. Lu <hongjiu.lu@intel.com>
9153
9154 [BZ #16510]
9155 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
9156 of __x86_64__ when disabling x87 inline functions.
9157
86e60666
AO
91582014-01-29 Alexandre Oliva <aoliva@redhat.com>
9159
9160 * manual/charset.texi: Document MTASC-safety properties.
9161
76167637
AO
9162 * manual/crypt.texi: Document MTASC-safety properties.
9163
e567f2a0
AO
9164 * manual/conf.texi: Document MTASC-safety properties.
9165
b719dafd
AO
9166 * manual/arith.texi: Document MTASC-safety properties.
9167
4a16c662
AO
9168 * manual/argp.texi: Document MTASC-safety properties.
9169
0a57b83e
AO
9170 * manual/macros.texi: Introduce macros to document multi
9171 thread, asynchronous signal and asynchronous cancellation
9172 safety properties.
9173 * manual/intro.texi: Introduce the properties themselves.
9174
feab2397
KK
91752014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9176
9177 * sysdeps/sh/sh4/Makefile: New file.
9178
1c0d11bc
AS
91792014-01-27 Andreas Schwab <schwab@linux-m68k.org>
9180
9181 * math/gen-libm-test.pl ($srcdir): New variable.
9182 ($auto_input): Use it.
9183
af37a8a3
SP
91842014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9185
d7b00f98
SP
9186 [BZ #16506]
9187 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
9188 access beyond array bounds when parsing netgroups file.
9189
af37a8a3
SP
9190 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
9191 the old buffer before realloc.
9192
0c00f062
AM
91932014-01-27 Allan McRae <allan@archlinux.org>
9194
9195 * po/fr.po: Update French translation from translation project.
9196
7d69a1b0
KK
91972014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9198
9199 * sysdeps/sh/libm-test-ulps: Regenerate.
9200
6e697ff7
DM
92012014-01-24 David S. Miller <davem@davemloft.net>
9202
9203 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
9204
9cadb35c
KK
92052014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9206
9207 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
9208 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
9209
5d41dadf
SP
92102013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9211
9212 [BZ #16474]
9213 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
9214 string pointers after reallocation.
9215
0bad441c
KK
92162014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9217
9218 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
9219 __SH4A__ instead of __SH_FPU_ANY__.
9220
7007c661
KK
92212014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9222
9223 * sysdeps/sh/fpu_control.h: New file.
9224 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
9225 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
9226 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
9227 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
9228 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
9229 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
9230 * sysdeps/sh/sys/ucontext.h: Remove.
9231 * sysdeps/sh/sys: Remove directory.
9232
0f0c35e4
AK
92332014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9234
9235 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
9236 s390/sys/ucontext.h.
9237 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
9238 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
9239
4959e284
L
92402014-01-20 H.J. Lu <hongjiu.lu@intel.com>
9241
9242 [BZ #15605]
9243 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
9244
d98720e0
AZ
92452014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9246
9247 [BZ#16431]
9248 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9249 Adjust the vDSO correctly for internal calls.
9250 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
9251
91cbd0bc
AM
92522014-01-20 Allan McRae <allan@archlinux.org>
9253
9254 * po/ca.po: Update Catalan translation from translation project.
9255
7a02cfad
MF
92562014-01-16 Mike Frysinger <vapier@gentoo.org>
9257
9258 * sysdeps/s390/sotruss-lib.c: New file.
9259
736c304a
AZ
92602014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9261
9262 [BZ#16430]
6e077ee5 9263 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
9264 (__GI___gettimeofday): Alias for a different internal symbol to avoid
9265 local calls issues by not having a PLT stub required for IFUNC calls.
9266 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
9267
94d0cea0
JM
92682014-01-16 Joseph Myers <joseph@codesourcery.com>
9269
9270 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
9271 * math/test-fpucw-static.c: Likewise.
9272
980cb518
SP
92732013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9274
9275 [BZ #16453]
9276 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
9277
2393fc01
AZ
92782014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9279
9280 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
9281 implementation for powerpc.
9282
d359bcc2
OB
92832014-01-15 Ondřej Bílka <neleai@seznam.cz>
9284
9285 [BZ #14782]
9286 * sysdeps/posix/system.c (__libc_system): Do not enable
9287 asynchronous cancellation.
9288
7beb48cb
AK
92892014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9290
9291 [BZ #16427]
9292 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
9293 handling only for numbers special also in the IEEE case.
9294
c20d5bf5
AK
92952014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9296
9297 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9298
e83bd4ee
AM
92992014-01-11 Allan McRae <allan@archlinux.org>
9300
76d0ea69
AM
9301 * po/bg.po: Update Bulgarian translation from translation project.
9302
e83bd4ee
AM
9303 * po/de.po: Update German translation from translation project.
9304
bc2ba20a
RM
93052014-01-10 Roland McGrath <roland@hack.frob.com>
9306
9307 * sysdeps/generic/gcc-compat.h: New file.
9308
649ecea2
SP
93092014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9310
9311 * benchtests/asin-inputs: Correct slow inputs.
9312 * benchtests/acos-inputs: Likewise.
9313
1b19c006
AM
93142014-01-10 Allan McRae <allan@archlinux.org>
9315
a46dab08
AM
9316 * po:sv.po: Update Swedish translation from translation project.
9317
421df74a
AM
9318 * po/vi.po: Update Vietnamese translation from translation project.
9319
d61c51a7
AM
9320 * po/eo.po: Update Esperanto translation from translation project.
9321
0339a319
AM
9322 * po/cs.po: Update Czech translation from translation project.
9323
94ad3e99
AM
9324 * po/nl.po: Update Dutch translation from translation project.
9325
e349ca71
AM
9326 * po/pl.po: Update Polish translation from translation project.
9327
ddf930c1
AM
9328 * po/ru.po: Update Russian translation from translation project.
9329
1b19c006
AM
9330 * po/uk.po: Update Ukrainian translation from translation project.
9331
9f236c49
BM
93322014-01-08 Brooks Moses <bmoses@google.com>
9333
9334 * elf/dl-load.c: Fix comment typo.
9335
cd6701cf
CD
93362014-01-08 Carlos O'Donell <carlos@redhat.com>
9337
9338 * po/header.pot: Rename to...
9339 * po/pot.header: ... this.
9340 * po/Makefile: Use pot.header.
9341
66671c84
YK
93422014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
9343 Maxim Kuvyrkov <maxim@kugelworks.com>
9344
9345 [BZ #16394]
cd6701cf
CD
9346 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
9347 SRC and DEST against LEN.
66671c84 9348
38f34581
AZ
93492014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9350
9351 [BZ #16414]
9352 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
9353 implementation.
9354 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
9355
93562014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
9357
9358 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9359
4c327f2a
JM
93602014-01-08 Joseph Myers <joseph@codesourcery.com>
9361
9362 [BZ #16408]
9363 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
9364 for large positive arguments.
9365
b821f414
JM
93662014-01-07 Joseph Myers <joseph@codesourcery.com>
9367
1f0f2067
JM
9368 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9369
a5a326f6
JM
9370 * math/auto-libm-test-in: Mark various tests with
9371 xfail-rounding:ldbl-128ibm.
9372 * math/auto-libm-test-out: Regenerated.
9373
b821f414
JM
9374 [BZ #16407]
9375 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9376 Increase overflow threshold.
9377
94c8a4bc
OB
93782014-01-07 Ondřej Bílka <neleai@seznam.cz>
9379
9380 [BZ #14286]
9381 * stdio-common/vfprintf.c: Check for integer overflow.
9382
87ded0c3
AK
93832014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9384
9385 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
9386 the first argument and return value of __tls_get_addr_internal.
9387
c5eebdd0
AK
93882014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9389
9390 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
9391 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
9392
05d138ef
AK
93932014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9394
9395 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
9396 * sysdeps/s390/rtld-global-offsets.sym: New file.
9397 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
9398 GLIBC_2.19 symbol.
9399 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
9400 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
9401 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
9402 ... this.
9403 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
9404 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9405 ... this.
9406 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9407 Regenerate.
9408 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9409 Regenerate.
9410 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
9411 halfs of GPRs for high_gprs contexts.
9412 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
9413 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
9414 field.
9415 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
9416 uc_flags field.
9417 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
9418 64 bit versions:
9419 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
9420 for high GPRs (uc_high_gprs) and for future extensions
9421 (__reserved).
9422 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
9423 for future extensions (__reserved).
9424 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
9425 64 bit versions:
9426 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
9427 SC_HIGHGPRS offset definition.
9428 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
9429 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
9430
93a45ff1
AK
9431 * Versions.def: Add GLIBC_2.19 for libpthread.
9432 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
9433 siglongjmp for libpthread with GLIBC_2.19 symver.
9434 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
9435 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
9436 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
9437 * sysdeps/s390/__longjmp.c: New file.
9438 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
9439 * sysdeps/s390/longjmp.c: New file.
9440 * sysdeps/s390/setjmp.S: New file.
9441 * sysdeps/s390/sigjmp.S: New file.
9442 * sysdeps/s390/v1-longjmp.c: New file.
9443 * sysdeps/s390/v1-setjmp.h: New file.
9444 * sysdeps/s390/v1-sigjmp.c: New file.
9445 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
9446 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
9447 GLIBC_2.19 version.
9448 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
9449 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
9450 versioned symbols for ____longjmp_chk.
9451 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
9452 Likewise.
9453 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9454 Regenerate.
9455 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9456 Regenerate.
9457 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9458 Regenerate.
9459 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9460 Regenerate.
9461 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
9462 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
9463 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
9464 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
9465 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
9466 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
9467 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
9468 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
9469 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
9470 * sysdeps/s390/rtld-__longjmp.c: New file.
9471 * sysdeps/s390/rtld-setjmp.S: New file.
9472
eb3fc44b
JM
94732014-01-06 Joseph Myers <joseph@codesourcery.com>
9474
9475 [BZ #16400]
9476 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9477 Return -__logl (x) for small positive arguments without evaluating
9478 a polynomial.
9479
9341dde4
MF
94802014-01-06 Mike Frysinger <vapier@gentoo.org>
9481
9482 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
9483 Rename to ...
9484 (__ptrace_peeksiginfo_args): ... this.
9485 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9486 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9487 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9488
4cff0293
AM
94892014-01-06 Allan McRae <allan@archlinux.org>
9490
9491 * inet/netinet/in.h: Fix typo in comment.
9492
75595dcf
AJ
94932014-01-05 Andreas Jaeger <aj@suse.de>
9494
9495 * sysdeps/i386/fpu/libm-test-ulps: Update.
9496
79c1e109
AM
94972014-01-05 Allan McRae <allan@archlinux.org>
9498
dd804818
AM
9499 * po/libc.pot: Regenerated.
9500
79c1e109
AM
9501 * malloc/memusagestat.c: Fix gettext call formatting.
9502
0c813d1f
SK
95032014-01-04 Sami Kerola <kerolasa@iki.fi>
9504
9505 * nscd/nscd.c: Improve usage() output.
9506
20f4a8d9
MF
95072014-01-04 Mike Frysinger <vapier@gentoo.org>
9508
9509 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
9510 * sysdeps/unix/sysv/linux/configure: Regenerated.
9511 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
9512 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
9513
22562bb2
JM
95142014-01-03 Joseph Myers <joseph@codesourcery.com>
9515
9516 [BZ #16390]
9517 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9518 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
9519
d7ad2d9b
AZ
95202014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9521
9522 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
9523 extra tokens at end of #undef directive.
9524 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
9525 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
9526 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9527
7dd009d8
JM
95282014-01-03 Joseph Myers <joseph@codesourcery.com>
9529
24db925a
JM
9530 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9531
7dd009d8
JM
9532 * math/auto-libm-test-in: Mark various tests with
9533 xfail-rounding:ldbl-128ibm.
9534 * math/auto-libm-test-out: Regenerated.
9535
396e3ecf
JM
95362014-01-02 Joseph Myers <joseph@codesourcery.com>
9537
819e5d50
JM
9538 [BZ #16386]
9539 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
9540 numbers with subnormal high part when calculating exponent.
9541
90b6a1e5
JM
9542 [BZ #16385]
9543 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
9544 fabs.
9545
396e3ecf
JM
9546 [BZ #16384]
9547 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
9548 M_LN2l.
9549 (__ieee754_acoshl): Use __log1pl not __log1p.
9550
6c8dbf00
OB
95512013-01-02 Ondřej Bílka <neleai@seznam.cz>
9552
57f41c40
AS
9553 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
9554 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
9555 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
9556 (grow_heap, heap_trim, _int_new_arena, get_free_list)
9557 (reused_arena, arena_get2): Convert to GNU style.
9558 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
9559 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
9560 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 9561 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
9562 * malloc/malloc.c (__malloc_assert, malloc_init_state)
9563 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
9564 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
9565 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
9566 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
9567 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 9568 * malloc/malloc.h: Likewise.
57f41c40
AS
9569 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
9570 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 9571 * malloc/mcheck.h: Likewise.
57f41c40
AS
9572 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
9573 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
9574 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
9575 * malloc/morecore.c (__default_morecore): Likewise.
9576 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
9577 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
9578 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
9579 (print_and_abort): Likewise.
6c8dbf00
OB
9580 * malloc/obstack.h: Likewise.
9581 * malloc/set-freeres.c (__libc_freeres): Likewise.
9582 * malloc/tst-mallocstate.c (main): Likewise.
9583 * malloc/tst-mtrace.c (main): Likewise.
9584 * malloc/tst-realloc.c (do_test): Likewise.
9585
d4124212
SP
95862013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9587
9a3c6a6f
SP
9588 [BZ #16366]
9589 * nscd/netgroupcache.c (do_notfound): New function.
9590 (addgetnetgrentX): Use it.
9591
d4124212
SP
9592 [BZ # 16365]
9593 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
9594 NSS_STATUS_NOTFOUND.
9595
97b9a009
JM
95962014-01-01 Joseph Myers <joseph@codesourcery.com>
9597
9598 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
9599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9600
d4697bc9
AM
96012014-01-01 Allan McRae <allan@archlinux.org>
9602
ddb3687f
AM
9603 * scripts/update-copyrights: Update configure input file suffix.
9604
88726d48
AM
9605 * NEWS: Update copyright year.
9606 * catgets/gencat.c: Likewise.
9607 * csu/version.c: Likewise.
9608 * debug/catchsegv.sh: Likewise.
9609 * debug/pcprofiledump.c: Likewise.
9610 * debug/xtrace.sh: Likewise.
9611 * elf/ldconfig.c: Likewise.
9612 * elf/ldd.bash.in: Likewise.
9613 * elf/pldd.c: Likewise.
9614 * elf/sotruss.ksh: Likewise.
9615 * elf/sprof.c: Likewise.
9616 * iconv/iconv_prog.c: Likewise.
9617 * iconv/iconvconfig.c: Likewise.
9618 * locale/programs/locale.c: Likewise.
9619 * locale/programs/localedef.c: Likewise.
9620 * login/programs/pt_chown.c: Likewise.
9621 * malloc/memusage.sh: Likewise.
9622 * malloc/memusagestat.c: Likewise.
9623 * malloc/mtrace.pl: Likewise.
9624 * manual/libc.texinfo: Likewise.
9625 * nscd/nscd.c: Likewise.
9626 * nss/getent.c: Likewise.
9627 * nss/makedb.c: Likewise.
9628 * posix/getconf.c: Likewise.
9629 * scripts/test-installation.pl: Likewise.
9630
d4697bc9
AM
9631 * All files with FSF copyright notices: Update copyright dates
9632 using scripts/update-copyrights.
9633 * intl/plural.c: Regenerated.
9634 * locale/programs/charmap-kw.h: Likewise.
9635 * locale/programs/locfile-kw.h: Likewise.
9636
c8590f9d
MF
96372013-12-31 Mike Frysinger <vapier@gentoo.org>
9638
9639 * sysdeps/unix/sysv/linux/configure: Regenerated.
9640 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
9641 the linux/fanotify.h header.
9642 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
9643 HAVE_LINUX_FANOTIFY_H is defined.
9644
b19221b9
SP
96452013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9646
dd1d85e5
SP
9647 * benchtests/cos-inputs: New inputs.
9648 * benchtests/sin-inputs: Likewise.
9649
1acbb90f
SP
9650 * benchtests/atan-inputs: New inputs. Fix name of multiple
9651 precision fallback inputs.
9652
4c012ed3
SP
9653 * benchtests/atanh-inputs: New inputs.
9654 * benchtests/tanh-inputs: Likewise.
9655
eff98324
SP
9656 * benchtests/acosh-inputs: New inputs.
9657 * benchtests/asinh-inputs: Likewise.
9658
ce641152
SP
9659 * benchtests/cosh-inputs: New inputs.
9660 * benchtests/sinh-inputs: Likewise.
9661
b19221b9
SP
9662 * benchtests/acos-inputs: Add more inputs.
9663 * benchtests/asin-inputs: Likewise.
9664
030a4976 96652013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 9666
030a4976 9667 [BZ #16375]
9dcc8f11
VS
9668 * manual/arith.texi: Fix spelling.
9669 * manual/charset.texi: Likewise.
9670 * manual/errno.texi: Likewise.
9671 * manual/filesys.texi: Likewise.
9672 * manual/lang.texi: Likewise.
9673 * manual/llio.texi: Likewise.
9674 * manual/locale.texi: Likewise.
9675 * manual/message.texi: Likewise.
9676 * manual/resource.texi: Likewise.
9677 * manual/search.texi: Likewise.
9678 * manual/setjmp.texi: Likewise.
9679 * manual/stdio.texi: Likewise.
9680 * manual/string.texi: Likewise.
9681 * manual/sysinfo.texi: Likewise.
9682 * manual/time.texi: Likewise.
9683
11520a57
CD
96842013-12-27 Carlos O'Donell <carlos@redhat.com>
9685
9686 * po/sl.po: New file.
9687
471103ae
MF
96882013-12-27 Mike Frysinger <vapier@gentoo.org>
9689
9690 * .gitignore: Add core/.gdbinit/.gdb_history.
9691
6c9642ed
AM
96922013-12-27 Allan McRae <allan@archlinux.org>
9693
9694 [BZ #16369]
9695 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
9696 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
9697
3f637079
BM
96982013-12-24 Brooks Moses <bmoses@google.com>
9699
9700 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
9701 all compilers that claim C++98 compliance, not just GCC.
9702 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
9703 Likewise.
9704
abc26e99
MK
97052013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
9706
9707 * NEWS: Restore accidentally deleted bug-fix entries.
9708
362b47fe
MK
97092013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
9710 Ondřej Bílka <neleai@seznam.cz>
9711
9712 [BZ #15073]
9713 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 9714 have_lock.
362b47fe 9715
b9bcbbcb
OB
97162013-12-23 Ondřej Bílka <neleai@seznam.cz>
9717
9718 [BZ #12986]
9719 * manual/stdio.texi (String Input Conversions): Clarify that character
9720 classes are not supported.
9721
fb55fcd2
AZ
97222013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9723
9724 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9725
ef7344f0
JM
97262013-12-22 Joseph Myers <joseph@codesourcery.com>
9727
4f40e4b3
JM
9728 [BZ #16337]
9729 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9730 Calculate results for small negative arguments directly rather
9731 than using reflection formula with special underflow handling.
9732
ef7344f0
JM
9733 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
9734 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
9735 sysdeps/unix/bsd/bsd4.4/syscalls.list.
9736 (fchflags): Likewise.
9737 (revoke): Likewise.
9738 (setlogin): Likewise.
9739 (sigaltstack): Likewise.
9740 (wait4): Likewise.
9741 (sigblock): Remove.
9742 (sigsetmask): Likewise.
9743 (wait3): Likewise.
9744 (waitpid): Likewise.
9745 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
9746 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
9747 file.
9748 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
9749 * sysdeps/unix/bsd/Makefile: ... here.
9750 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
9751 * sysdeps/unix/bsd/Versions: ... here.
9752 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
9753 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
9754 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
9755 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
9756 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
9757 * sysdeps/unix/bsd/sigblock.c: ... here.
9758 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
9759 * sysdeps/unix/bsd/sigsetmask.c: ... here.
9760 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
9761 * sysdeps/unix/bsd/sigvec.c: ... here.
9762 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
9763 * sysdeps/unix/bsd/tcdrain.c: ... here.
9764 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
9765 * sysdeps/unix/bsd/tcgetattr.c: ... here.
9766 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
9767 * sysdeps/unix/bsd/tcsetattr.c: ... here.
9768 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
9769 * sysdeps/unix/bsd/wait.c: ... here.
9770 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
9771 * sysdeps/unix/bsd/wait3.c: ... here.
9772 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
9773 * sysdeps/unix/bsd/waitpid.c: ... here.
9774
5b0626b9
JM
97752013-12-21 Joseph Myers <joseph@codesourcery.com>
9776
9777 [BZ #16356]
9778 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
9779 round-to-nearest for [!USE_AS_EXPM1L].
9780 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
9781 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
9782 more tests of exp and exp10. Expect some exp10 tests to miss
9783 exceptions or fail in directed rounding modes.
9784 * math/auto-libm-test-out: Regenerated.
9785 * math/libm-test.inc (exp10_tonearest_test_data): New array.
9786 (exp10_test_tonearest): New function.
9787 (exp10_towardzero_test_data): New array.
9788 (exp10_test_towardzero): New function.
9789 (exp10_downward_test_data): New array.
9790 (exp10_test_downward): New function.
9791 (exp10_upward_test_data): New array.
9792 (exp10_test_upward): New function.
9793 (main): Call the new functions.
9794 * sysdeps/i386/fpu/libm-test-ulps: Update.
9795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9796
7fda5682
JM
97972013-12-20 Joseph Myers <joseph@codesourcery.com>
9798
31e3a405
JM
9799 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9800 asinh, atan, atan2, atanh, cbrt, cos and cosh.
9801 * math/auto-libm-test-out: Regenerated.
9802 * math/libm-test.inc (acosh_test_data): Add more tests.
9803 (atanh_test_data): Likewise.
9804 (ceil_test_data): Likewise.
9805 (copysign_test_data): Likewise.
9806 * sysdeps/i386/fpu/libm-test-ulps: Update.
9807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9808
85bff96a
JM
9809 * timezone/checktab.awk: Update from tzcode 2013i.
9810 * timezone/private.h: Likewise.
9811 * timezone/scheck.c: Likewise.
9812 * timezone/tzfile.h: Likewise.
9813 * timezone/tzselect.ksh: Likewise.
9814 * timezone/zdump.c: Likewise.
9815 * timezone/zic.c: Likewise.
9816
b7867a3b
JM
9817 * math/auto-libm-test-in: Add tests of cpow.
9818 * math/auto-libm-test-out: Regenerated.
9819 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 9820 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
9821 mpc_cc_c.
9822 (func_calc_desc): Add mpc_cc_c union field.
9823 (test_functions): Add cpow.
9824 (special_fill_2pi): New function.
9825 (special_real_inputs): Add 2pi.
9826 (calc_generic_results): Handle mpc_cc_c.
9827 * sysdeps/i386/fpu/libm-test-ulps: Update.
9828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9829
7fda5682
JM
9830 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
9831 csqrt, ctan and ctanh.
9832 * math/auto-libm-test-out: Regenerated.
9833 * math/libm-test.inc (TEST_COND_x86_64): New macro.
9834 (TEST_COND_x86): Likewise.
9835 (ccos_test_data): Use AUTO_TESTS_c_c.
9836 (ccosh_test_data): Likewise.
9837 (cexp_test_data): Likewise.
9838 (clog_test_data): Likewise.
9839 (csqrt_test_data): Likewise.
9840 (ctan_test_data): Likewise.
9841 (ctan_tonearest_test_data): Likewise.
9842 (ctan_towardzero_test_data): Likewise.
9843 (ctan_downward_test_data): Likewise.
9844 (ctan_upward_test_data): Likewise.
9845 (ctanh_test_data): Likewise.
9846 (ctanh_tonearest_test_data): Likewise.
9847 (ctanh_towardzero_test_data): Likewise.
9848 (ctanh_downward_test_data): Likewise.
9849 (ctanh_upward_test_data): Likewise.
9850 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9851 mpc_c_c.
9852 (func_calc_desc): Add mpc_c_c union field.
9853 (FUNC_mpc_c_c): New macro.
9854 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
9855 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
9856 ctanh.
9857 (special_fill_min_subnorm_p120): New function.
9858 (special_real_inputs): Add min_subnorm_p120.
9859 (calc_generic_results): Handle mpc_c_c.
9860 * sysdeps/i386/fpu/libm-test-ulps: Update.
9861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9862
5ff8d60e
SP
98632013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9864
57f41c40
AS
9865 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
9866 (do_sin_slow): New functions.
9867 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
9868 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 9869
84ba214c
SP
9870 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
9871 Use M to change sign of result instead of X. Assume X is
9872 positive.
9873 (csloww1): Likewise.
9874 (__sin): Adjust.
9875 (__cos): Adjust.
9876
975195e4
SP
9877 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
9878 arguments A and DA.
9879 (__sin): Adjust.
9880 (__cos): Likewise.
9881
5ff8d60e
SP
9882 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
9883 (__cos): Likewise.
9884 (sloww1): Don't adjust sign of DX.
9885 (csloww1): Likewise.
9886 (sloww2): Use X directly and don't adjust sign of DX.
9887 (csloww2): Likewise.
9888
eb983568
JM
98892013-12-19 Joseph Myers <joseph@codesourcery.com>
9890
64a17f1a
JM
9891 * math/auto-libm-test-in: Add tests of cabs and carg.
9892 * math/auto-libm-test-out: Regenerated.
9893 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
9894 (carg_test_data): Likewise.
9895 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9896 mpc_c_f.
9897 (func_calc_desc): Add mpc_c_f union field.
9898 (test_functions): Add cabs and carg.
9899 (calc_generic_results): Handle mpc_c_f.
9900
eb983568
JM
9901 * sysdeps/powerpc/powerpc32/libgcc-compat.S
9902 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
9903 as a macro and a compat symbol.
9904 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9905 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9906 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9907 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9908 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
9909 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
9910 not use .hidden.
9911 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
9912 Likewise.
9913 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
9914 Likewise.
9915 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
9916 Likewise.
9917 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
9918 Likewise.
9919 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
9920 Likewise.
9921 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
9922 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
9923 from GLIBC_2.3.2.
9924
6eeb678a
AZ
99252013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9926
9927 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9928
6f6fc482
JM
99292013-12-19 Joseph Myers <joseph@codesourcery.com>
9930
21fea2e2
JM
9931 * manual/texinfo.tex: Update to version 2013-11-26.10 with
9932 trailing whitespace removed.
9933 * scripts/config.guess: Update to version 2013-11-29.
9934 * scripts/config.sub: Update to version 2013-10-01.
9935
6f6fc482
JM
9936 * math/auto-libm-test-in: Add tests of sincos.
9937 * math/auto-libm-test-out: Regenerated.
9938 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
9939 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9940 mpfr_f_11.
9941 (func_calc_desc): Add mpfr_f_11 union field.
9942 (test_functions): Add sincos.
9943 (calc_generic_results): Handle mpfr_f_11.
9944 * sysdeps/i386/fpu/libm-test-ulps: Update.
9945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9946
83f5c32d
AS
99472013-12-19 Andreas Schwab <schwab@suse.de>
9948
9949 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
9950 CALL_MCOUNT.
9951 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9952 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
9953 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
9954
c688b419
JM
99552013-12-19 Joseph Myers <joseph@codesourcery.com>
9956
335ee092
JM
9957 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
9958 * sysdeps/i386/fpu/libm-test-ulps: Update.
9959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9960
f88acd39
JM
9961 [BZ #16293]
9962 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
9963 round-to-nearest mode when using frndint.
9964 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
9965 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9966 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9967 Likewise.
9968 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
9969 sinh test to fail.
9970 * math/auto-libm-test-out: Regenerated.
9971 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
9972 (TEST_COND_x86): Likewise.
9973 (expm1_tonearest_test_data): New array.
9974 (expm1_test_tonearest): New function.
9975 (expm1_towardzero_test_data): New array.
9976 (expm1_test_towardzero): New function.
9977 (expm1_downward_test_data): New array.
9978 (expm1_test_downward): New function.
9979 (expm1_upward_test_data): New array.
9980 (expm1_test_upward): New function.
9981 (main): Run the new test functions.
9982 * sysdeps/i386/fpu/libm-test-ulps: Update.
9983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9984
c688b419
JM
9985 * include/features.h: Update comment documenting feature test
9986 macros. Mention _DEFAULT_SOURCE in comment.
9987 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
9988 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
9989 _BSD_SOURCE and _SVID_SOURCE.
9990 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
9991 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
9992 !_SVID_SOURCE]: Likewise.
9993 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9994 (__USE_POSIX_IMPLICITLY): Define.
9995 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9996 (_POSIX_SOURCE): Undefine and redefine.
9997 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9998 (_POSIX_C_SOURCE): Likewise.
9999 * manual/creature.texi (_DEFAULT_SOURCE): Document.
10000 (Feature Test Macros): Update documentation of default features.
10001
9f6e964c
RS
100022013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10003
10004 * benchtests/Makefile: Add bench-strtok.
10005 * benchtests/bench-strtok.c: New file: strtok benchtest.
10006
ee0a148a
AM
100072013-12-19 Allan McRae <allan@archlinux.org>
10008
10009 * manual/install.texi: Suppress menu for plain text output.
10010 * INSTALL: Regenerated.
10011
b9ab448f
BM
100122013-12-18 Brooks Moses <bmoses@google.com>
10013
10014 [BZ #15846]
10015 * misc/getauxval.c: Include errno.h.
10016 (__getauxval): Set errno to ENOENT if the requested type is not
10017 found.
10018 * misc/sys/auxv.h (getauxval): Document that it may set errno;
10019 don't declare with __attribute_const__.
10020 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
10021 * manual/startup.texi: Document that getauxval sets errno.
10022
23776487
JM
100232013-12-18 Joseph Myers <joseph@codesourcery.com>
10024
f889953b
JM
10025 * math/auto-libm-test-in: Add tests of jn and yn.
10026 * math/auto-libm-test-out: Regenerated.
10027 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
10028 (yn_test_data): Likewise.
10029 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10030 mpfr_if_f.
10031 (func_calc_desc): Add mpfr_if_f union field.
10032 (FUNC_mpfr_if_f): New macro.
10033 (test_functions): Add jn and yn.
10034 (calc_generic_results): Assert type of second input for
10035 mpfr_ff_f. Handle mpfr_if_f.
10036 (output_for_one_input_case): Disable all checking for arguments
10037 fitting floating-point types in case of an integer argument.
10038 * sysdeps/i386/fpu/libm-test-ulps: Update.
10039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10040
23776487
JM
10041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10042 Don't expect fegetround reference in libm.so.
10043
cb756c6d
MS
100442013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10045
10046 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
10047 $(config-cflags-nofma).
10048
2dec468f
JM
100492013-12-18 Joseph Myers <joseph@codesourcery.com>
10050
5953eb3a
JM
10051 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
10052 * math/auto-libm-test-out: Regenerated.
10053
2dec468f
JM
10054 [BZ #16338]
10055 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
10056 to determine exponent and adjust argument to have exponent of -1.
10057 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10058 log2.
10059 * math/auto-libm-test-out: Regenerated.
10060 * sysdeps/i386/fpu/libm-test-ulps: Update.
10061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10062
4d84e6ad
OB
100632013-12-18 Ondřej Bílka <neleai@seznam.cz>
10064
10065 * manual/probes.texi: Remove cases when per-thread arenas are
10066 disabled.
10067
1818483b
AS
100682013-12-18 Andreas Schwab <schwab@suse.de>
10069
10070 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
10071 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
10072 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
10073 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
10074 * sysdeps/i386/i686/multiarch/Makefile: Update.
10075 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
10076
25de95bf
JM
100772013-12-17 Joseph Myers <joseph@codesourcery.com>
10078
10079 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
10080 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
10081
674762d9
PE
100822013-12-17 Paul Eggert <eggert@cs.ucla.edu>
10083
ed27ed83 10084 [BZ #15968]
0748546f
PE
10085 Support TZ transition times < 00:00:00.
10086 This is needed for version-3 tz-format files; it supports time
10087 stamps past 2037 for America/Godthab (the only entry in the tz
10088 database for which this change is relevant).
10089 * manual/time.texi (TZ Variable): Document transition times
10090 from -167:59:59 through -00:00:01.
10091 * time/tzset.c (tz_rule): Time of day is now signed.
10092 (__tzset_parse_tz): Parse negative time of day.
10093
4480e934
PE
10094 Document TZ transition times >= 25:00:00.
10095 * manual/time.texi (TZ Variable): Document transition times from
10096 25:00:00 through 167:59:59. These are already supported, and this
10097 support will help with version-3 tz-format files.
10098
69947401
PE
10099 * manual/time.texi (TZ Variable): Modernize North America example
10100 to reflect current (i.e., 2007-and-later) daylight saving rules.
10101
674762d9
PE
10102 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
10103
7011c262
JM
101042013-12-17 Joseph Myers <joseph@codesourcery.com>
10105
2fc6557e
JM
10106 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
10107 * sysdeps/unix/bsd/bits/stat.h: Likewise.
10108 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
10109 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10110 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
10111 * sysdeps/unix/bsd/bsdstat.h: Likewise.
10112 * sysdeps/unix/bsd/clock.c: Likewise.
10113 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
10114 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
10115 * sysdeps/unix/bsd/init-posix.c: Likewise.
10116 * sysdeps/unix/bsd/poll.c: Likewise.
10117 * sysdeps/unix/bsd/ptsname.c: Likewise.
10118 * sysdeps/unix/bsd/seekdir.c: Likewise.
10119 * sysdeps/unix/bsd/setegid.c: Likewise.
10120 * sysdeps/unix/bsd/seteuid.c: Likewise.
10121 * sysdeps/unix/bsd/setgid.c: Likewise.
10122 * sysdeps/unix/bsd/setrgid.c: Likewise.
10123 * sysdeps/unix/bsd/setruid.c: Likewise.
10124 * sysdeps/unix/bsd/setsid.c: Likewise.
10125 * sysdeps/unix/bsd/setuid.c: Likewise.
10126 * sysdeps/unix/bsd/sigaction.c: Likewise.
10127 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
10128 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
10129 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
10130 * sysdeps/unix/bsd/telldir.c: Likewise.
10131 * sysdeps/unix/bsd/times.c: Likewise.
10132 * sysdeps/unix/bsd/usleep.c: Likewise.
10133
029c7b25
JM
10134 * misc/Makefile (install-lib): Remove libbsd-compat.a.
10135 ($(objpfx)libbsd-compat.a): Remove rule.
10136
7011c262
JM
10137 * include/features.h (__FAVOR_BSD): Do not define.
10138 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
10139 features conflicting with POSIX.
10140 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
10141 (_BSD_SOURCE): Remove description of not being a subset of other
10142 feature test macros.
10143 * manual/job.texi (getpgrp): Do not document BSD version.
10144 (getpgid): Do not document by reference to BSD getpgrp.
10145 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
10146 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
10147 * signal/signal.h [__FAVOR_BSD]: Likewise.
10148 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
10149 instead of making contents conditional on [__FAVOR_BSD].
10150 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
10151
affb6f78
AZ
101522013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10153
10154 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10155
c88769dd
JM
101562013-12-17 Joseph Myers <joseph@codesourcery.com>
10157
6432a540
JM
10158 [BZ #16314]
10159 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
10160 values below 2**-450, not 2**-500.
10161 * math/auto-libm-test-in: Don't allow spurious underflow from
10162 hypot.
10163 * math/auto-libm-test-out: Regenerated.
10164
c88769dd
JM
10165 [BZ #16316]
10166 [BZ #16330]
10167 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
10168 values of ha and hb and sort them after adjusting subnormal
10169 arguments.
10170 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10171 Likewise.
10172 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
10173 values of ea and eb and sort them after adjusting subnormal
10174 arguments.
10175 * math/auto-libm-test-in: Do not expect some hypot tests of
10176 subnormals to fail. Add more hypot tests.
10177 * math/auto-libm-test-out: Regenerated.
10178
29618f6b
KK
101792013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10180
10181 [BZ #13304]
10182 * sysdeps/sh/s_fma.c: New file.
10183 * sysdeps/sh/s_fmaf.c: New file.
10184 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
10185 version.
10186 * sysdeps/sh/Implies: Add sh/soft-fp.
10187
eacfdfbf
RM
101882013-12-16 Roland McGrath <roland@hack.frob.com>
10189
10190 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
10191 level of indirection to members `objname', `errstring', `malloced'.
10192 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
10193 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
10194 it as the __longjmp argument (just pass 1 instead).
10195 (_dl_catch_error): Initialize C with argument pointers and address of
10196 volatile local ERRCODE rather than copying values out of C at return.
10197
ff362e5b
JM
101982013-12-16 Joseph Myers <joseph@codesourcery.com>
10199
10200 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
10201 * math/auto-libm-test-out: Regenerated.
10202 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
10203 (hypot_test_data): Likewise.
10204 (pow_test_data): Likewise.
10205 (pow_tonearest_test_data): Likewise.
10206 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10207 mpfr_ff_f.
10208 (func_calc_desc): Add mpfr_ff_f union field.
10209 (FUNC_mpfr_ff_f): New macro.
10210 (test_functions): Add atan2, hypot and pow.
10211 (special_fill_min): New function.
10212 (special_fill_minus_min): Likewise.
10213 (special_fill_min_subnorm): Likewise.
10214 (special_fill_minus_min_subnorm): Likewise.
10215 (special_real_inputs): Add min, -min, min_subnorm and
10216 -min_subnorm.
10217 (calc_generic_results): Handle mpfr_ff_f.
10218 * sysdeps/i386/fpu/libm-test-ulps: Update.
10219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10220
5764c27f
WN
102212013-12-16 Will Newton <will.newton@linaro.org>
10222
10223 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
10224 (Aligned Memory Blocks): Add documentation for aligned_alloc
10225 and suggest it as an alternative to posix_memalign.
10226 (Hooks for Malloc): Document __memalign_hook is also called
10227 for aligned_alloc. (Summary of Malloc): Add summary for
10228 aligned alloc. Document __memalign_hook is also called
10229 for aligned_alloc.
10230
0a096e44
WN
102312013-12-16 Will Newton <will.newton@linaro.org>
10232
10233 * manual/memory.texi (Malloc Examples): Clarify default
10234 alignment documentation. Suggest posix_memalign rather
10235 than memalign or valloc.
10236 (Aligned Memory Blocks): Remove suggestion to use memalign
10237 or valloc. Remove obsolete comment about BSD.
10238 Document memalign errno values and mark the function obsolete.
10239 Document posix_memalign returned error codes. Mark valloc
10240 as obsolete. (Hooks for Malloc): __memalign_hook is also
10241 called for posix_memalign and valloc.
10242 (Summary of Malloc): Add posix_memalign to function summary.
10243 __memalign_hook is also called for posix_memalign and valloc.
10244
8d561986
SP
102452013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10246
10247 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
10248 TAYLOR_SIN.
10249 (__sin): Adjust.
10250 (__cos): Likewise.
10251 (sloww): Use mynumber union. Expand ternary operator into
10252 if-else statements.
10253 (cslow): use mynumber union.
10254
73616a74
AM
102552013-12-16 Allan McRae <allan@archlinux.org>
10256
9e8ac24b
AM
10257 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
10258 * configure: Regenerated.
10259
6f8e37eb
AM
10260 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
10261
8894bad3
AM
10262 [BZ #14120]
10263 * configure.ac: Added --enable-maintainer-mode. Check for
10264 autoconf when enabled.
10265 * configure: Regenerated.
10266
73616a74
AM
10267 * nscd/nscd.service: New file.
10268 * nscd/nscd.tmpfiles: New file.
10269
584b18eb
OB
102702013-12-14 Ondřej Bílka <neleai@seznam.cz>
10271
10272 [BZ #12100]
10273 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
10274 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
10275 * sysdeps/x86_64/multiarch/strstr.c: ... here.
10276 (strstr): Add __strstr_sse2_unaligned ifunc.
10277 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
10278 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
10279 (strcasestr): Remove __strcasestr_sse42 ifunc.
10280 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
10281 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10282 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10283
8a5c7897
KK
102842013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10285
10286 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
10287 * sysdeps/sh/bits/fenv.h: ... here.
10288 * sysdeps/sh/sh4/fpu/bits: Remove directory.
10289
fd712ef3
AZ
102902013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10291
10292 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
10293
42fcb46c
AZ
10294 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
10295 hypotf multiarch implementations.
10296 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
10297 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
10298 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
10299 multiarch hypot for PPC64.
10300 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
10301 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
10302 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
10303 multiarch hypotf for PPC64.
10304
83efded4
AZ
10305 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
10306 modff multiarch implementations.
10307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
10308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
10309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
10310 multiarch modf for PPC64.
10311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
10312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
10313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
10314 multiarch modff for PPC64.
10315
43e246d2
AZ
10316 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
10317 and logl multiarch implementations.
10318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
10319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
10320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
10321 multiarch logb for PPC64.
10322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
10323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
10324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
10325 multiarch logb for PPC64.
10326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
10327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
10328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
10329 multiarch logb for PPC64.
10330
8fdad123
AZ
10331 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
10332 isinff multiarch implementation.
10333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
10334 file.
10335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
10336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
10337 multiarch isinf for PPC64.
10338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
10339 file.
10340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
10341 multiarch isinff for PPC64.
10342
1481d706
AZ
10343 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
10344 finitef multiarch implementation.
10345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
10346 file.
10347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
10348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
10349 multiarch finite for PPC64.
10350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
10351 file.
10352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
10353 multiarch finitef for PPC64.
10354
5ccd5fc8
AZ
10355 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
10356 lrint multiarch implementation.
10357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
10358 file.
10359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
10360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
10361 multiarch llrint for PPC64.
10362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
10363 multiarch lrint for PPC64.
10364
2568f3fa
AZ
10365 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
10366 copysignf multiarch implementation.
10367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
10368 file.
10369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
10370 file.
10371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
10372 multiarch copysign for PPC64.
10373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
10374 multiarch copysignf for PPC64.
10375
1cb341fd
AZ
10376 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
10377 multiarch implementation.
10378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
10379 file.
10380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
10381 file.
10382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
10383 file.
10384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
10385 file.
10386 multiarch llround for PPC64.
10387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
10388 multiarch trunc for PPC64.
10389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
10390 multiarch truncf for PPC64.
10391
59a3e194
AZ
10392 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
10393 multiarch implementation.
10394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
10395 file.
10396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
10397 file.
10398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
10399 file.
10400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
10401 file.
10402 multiarch llround for PPC64.
10403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
10404 multiarch round for PPC64.
10405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
10406 multiarch roundf for PPC64.
10407
357fd3b4
AZ
10408 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
10409 multiarch implementation.
10410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
10411 file.
10412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
10413 file.
10414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
10415 file.
10416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
10417 file.
10418 multiarch llround for PPC64.
10419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
10420 multiarch floor for PPC64.
10421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
10422 multiarch floorf for PPC64.
10423
96770f12
AZ
10424 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
10425 multiarch implementation.
10426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
10427 file.
10428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
10429 file.
10430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
10431 file.
10432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
10433 file.
10434 multiarch llround for PPC64.
10435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
10436 multiarch ceil for PPC64.
10437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
10438 multiarch ceilf for PPC64.
10439
c3627f6e
AZ
10440 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10441 multiarch implementation.
10442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
10443 file.
10444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
10445 file.
10446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
10447 file.
10448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
10449 multiarch llround for PPC64.
10450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
10451 multiarch lround for PPC64.
10452
b2284ad7
AZ
10453 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10454 multiarch implementation.
10455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
10456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
10457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
10458 file.
10459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
10460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
10461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
10462 multiarch isnan for PPC64.
10463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
10464 multiarch isnanf for PPC64.
10465
69bbc63d
AZ
10466 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
10467 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
10468 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
10469 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
10470 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
10471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
10472
c24517c9
AZ
10473 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
10474 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10475 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10476 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10477
a52374e8
AZ
10478 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
10479 multiarch implementations.
10480 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10481 (__libc_ifunc_impl_list): Likewise.
10482 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
10483 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
10484 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
10485 multiarch stpcpy for PPC64.
10486
7f5ec113
AZ
10487 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
10488 multiarch implementations.
10489 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10490 (__libc_ifunc_impl_list): Likewise.
10491 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
10492 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
10493 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
10494 multiarch strcpy for PPC64.
10495
e28bcd42
AZ
10496 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
10497 redefine function name.
10498 (_wordcopy_fwd_dest_aligned): Likewise.
10499 (_wordcopy_bwd_aligned): Likewise.
10500 (_wordcopy_bwd_dest_aligned): Likewise.
10501 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
10502 multiarch implementations.
10503 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10504 (__libc_ifunc_impl_list): Likewise.
10505 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
10506 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
10507 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
10508 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
10509 multiarch wcscpy for PPC64.
10510
92cacfce
AZ
10511 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
10512 multiarch implementations.
10513 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10514 (__libc_ifunc_impl_list): Likewise.
10515 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
10516 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
10517 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
10518 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
10519 multiarch wcscpy for PPC64.
10520
7b714620
AZ
10521 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
10522 multiarch implementations.
10523 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10524 (__libc_ifunc_impl_list): Likewise.
10525 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
10526 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
10527 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
10528 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
10529 multiarch wcsrchr for PPC64.
10530
16fd2ae3
AZ
10531 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
10532 multiarch implementations.
10533 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10534 (__libc_ifunc_impl_list): Likewise.
10535 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
10536 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
10537 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
10538 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
10539 multiarch wcschr for PPC64.
10540
9ee2969b
AZ
10541 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
10542 multiarch implementations.
10543 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10544 (__libc_ifunc_impl_list): Likewise.
10545 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
10546 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
10547 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
10548 multiarch strchrnul for PPC64.
10549
372dc060
AZ
10550 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
10551 implementations.
10552 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10553 (__libc_ifunc_impl_list): Likewise.
10554 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
10555 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
10556 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
10557 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
10558 strchr for PPC64.
10559
24c2c3b9
AZ
10560 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
10561 implementations.
10562 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10563 (__libc_ifunc_impl_list): Likewise.
10564 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
10565 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
10566 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
10567 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
10568 strncmp for PPC64.
10569
1c92d9a0
AZ
10570 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
10571 multiarch implementations.
10572 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10573 (__libc_ifunc_impl_list): Likewise.
10574 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
10575 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
10576 strncasecmp for PPC64.
10577 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
10578 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
10579 multiarch strncasecmp_l for PPC64.
10580
17de3ee3
AZ
10581 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
10582 multiarch implementations.
10583 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10584 (__libc_ifunc_impl_list): Likewise.
10585 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
10586 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
10587 multiarch strcasecmp for PPC64.
10588 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
10589 file.
10590 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
10591 multiarch strcasecmp_l for PPC64.
10592
62982bf9
AZ
10593 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
10594 implementations.
10595 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10596 (__libc_ifunc_impl_list): Likewise.
10597 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
10598 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
10599 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
10600 strnlen for PPC64.
10601
a65f4904
AZ
10602 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
10603 implementations.
10604 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10605 (__libc_ifunc_impl_list): Likewise.
10606 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
10607 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
10608 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
10609 strlen for PPC64.
10610
1fd005ad
AZ
10611 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
10612 implementations.
10613 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10614 (__libc_ifunc_impl_list): Likewise.
10615 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
10616 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
10617 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
10618 rawmemrchr for PPC64.
10619
cd05ba91
AZ
10620 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
10621 implementation.
10622 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10623 (__libc_ifunc_impl_list): Likewise.
10624 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
10625 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
10626 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
10627 memrchr for PPC64.
10628
870f8676
AZ
10629 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
10630 implementation.
10631 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10632 (__libc_ifunc_impl_list): Likewise.
10633 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
10634 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
10635 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
10636 memchr for PPC64.
10637
f00be62b
AZ
10638 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
10639 implementation.
10640 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10641 (__libc_ifunc_impl_list): Likewise.
10642 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
10643 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
10644 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
10645 mempcpy for PPC64.
10646
8a29a3d0
AZ
10647 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
10648 avoid cretion of __bzero symbol.
10649 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
10650 Likewise.
10651 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
10652 Likewise.
10653 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
10654 Likewise.
10655 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
10656 multiarch implementations.
10657 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10658 (__libc_ifunc_impl_list): Likewise.
10659 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
10660 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
10661 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
10662 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
10663 bzero for PPC32.
10664 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
10665 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
10666 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
10667 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
10668 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
10669 memset for PPC64.
10670 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
10671
07253fcf
AZ
10672 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
10673 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
10674 implementations.
10675 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10676 (__libc_ifunc_impl_list): Likewise.
10677 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
10678 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
10679 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
10680 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
10681 memcmp for PPC64.
10682
b5beafbc
AZ
10683 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
10684 multiarch for POWER/PPC64.
10685 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
10686 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
10687 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
10688 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
10689 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
10690 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
10691 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
10692 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
10693 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
10694 memcpy for PPC64.
10695
5e6a4d4b
AZ
10696 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
10697 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
10698 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
10699 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
10700 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
10701 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
10702 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
10703 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
10704 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
10705 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
10706 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
10707 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
10708 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
10709 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
10710 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
10711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
10712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
10713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
10714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
10715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
10716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
10717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
10718
ddfab6dc
KK
107192013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10720
10721 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
10722
19b5525e
SP
107232013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10724
10725 * benchtests/Makefile (bench): Add exp2 and log2.
10726 (LDLIBS-bench-exp2): Add -lm.
10727 (LDLIBS-bench-log2): Likewise.
10728 * benchtests/exp2-inputs: New inputs file.
10729 * benchtests/log2-inputs: New inputs file.
10730 * benchtests/log-inputs: Add new inputs.
10731 * benchtests/tan-inputs: Likewise.
10732
196f7f5d
SP
107332013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10734
7a74607f
SP
10735 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
10736 definition...
57f41c40
AS
10737 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
10738 (csloww2): ... from here.
7a74607f 10739
196f7f5d
SP
10740 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
10741 instead of structures.
10742 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
10743 (POLYNOMIAL): Likewise.
10744 (TAYLOR_SLOW): Likewise.
10745 (__sin): Likewise.
10746 (__cos): Likewise.
10747 (slow1): Likewise.
10748 (slow2): Likewise.
10749 (sloww): Likewise.
10750 (sloww1); Likewise.
10751 (sloww2): Likewise.
10752 (bsloww1): Likewise.
10753 (bsloww2): Likewise.
10754 (cslow2): Likewise.
10755 (csloww): Likewise.
10756 (csloww1): Likewise.
10757 (csloww2): Likewise.
10758
0dfa665c
OB
107592013-12-10 Ondřej Bílka <neleai@seznam.cz>
10760
10761 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
10762 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
10763 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
10764 * malloc/hooks.c (realloc_check): Likewise.
10765
5782a80f
OB
10766 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
10767 * malloc/arena.c: Remove PER_THREAD conditional.
10768 [!PER_THREAD]: Remove code.
10769 (ptmalloc_unlock_all2): Likewise.
10770 (ptmalloc_init): Likewise.
10771 (_int_new_arena): Likewise.
10772 (arena_get2): Likewise.
10773 * malloc/hooks.c (__malloc_get_state): Likewise.
10774 (__malloc_set_state): Likewise.
10775 * malloc/malloc.c: Likewise.
10776 (struct malloc_state): Likewise.
10777 (struct malloc_par): Likewise.
10778 (__libc_realloc): Likewise.
10779 (__libc_mallopt): Likewise.
10780
aeb95445
AZ
107812013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10782
10783 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
10784
e8349efd
OB
107852013-12-09 Ondřej Bílka <neleai@seznam.cz>
10786
10787 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
10788 macro to a function. Check for zero perturb_byte.
10789 (_int_malloc, _int_free): Remove zero perturb_byte checks.
10790
f3eeb3fc 10791 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
10792 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
10793 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
10794 force_reg by atomic_forced_read.
10795 * malloc/arena.c (ptmalloc_init): Likewise.
10796 * malloc/hooks.c (top_check): Likewise.
10797
be2f9009
AZ
107982013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10799
10800 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10801
e7b914bd
MT
108022013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
10803
10804 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10805
9f0be4f8
JM
108062013-12-08 Joseph Myers <joseph@codesourcery.com>
10807
10808 * math/auto-libm-test-in: Add tests of lgamma.
10809 * math/auto-libm-test-out: Regenerated.
10810 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
10811 (M_LOG_2_SQRT_PIl): Likewise.
10812 (lgamma_test_data): Use AUTO_TESTS_f_f1.
10813 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10814 mpfr_f_f1.
10815 (func_calc_desc): Add mpfr_f_f1 union field.
10816 (ARGS1): New macro.
10817 (ARGS2): Likewise.
10818 (ARGS3): Likewise.
10819 (ARGS4): Likewise.
10820 (RET1): Likewise.
10821 (RET2): Likewise.
10822 (CALC): Likewise.
10823 (FUNC): Likewise.
10824 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
10825 (test_functions): Add lgamma.
10826 (calc_generic_results): Handle mpfr_f_f1.
10827 * sysdeps/i386/fpu/libm-test-ulps: Update.
10828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10829
24eeafdb
AZ
108302013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10831
10832 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
10833 __mpn_add_n for PowerPC64/POWER7.
10834 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
10835 __mpn_sub_n for PowerPC64/POWER7.
10836
4a2c0fd4
AZ
10837 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
10838 __mpn_addmul_1 for PowerPC64.
10839 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
10840 __mpn_submul_1 for PowerPC64.
10841 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
10842 for PowerPC64.
10843 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
10844 for PowerPC64.
10845
4b5b548c
FS
108462013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
10847
10848 [BZ #15089]
10849 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
10850
0a3ac0aa
AZ
108512013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10852
10853 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
10854
ccdc8438
AZ
10855 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
10856 add multiarch folders.
10857 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
10858 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
10859 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
10860 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
10861 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
10862 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
10863 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
10864 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
10865 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
10866 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
10867 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
10868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
10869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
10870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
10871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
10872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
10873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
10874
2e973d99
AZ
10875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10876 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
10877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
10878 New file.
10879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
10880 New file.
10881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
10882 multiarch __ieee754_hypot for PowerPC32.
10883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
10884 New file.
10885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
10886 New file.
10887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
10888 multiarch __ieee754_hypotf for PowerPC32.
10889
2d9470b2
AZ
10890 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
10891 long_double_symbol only if __logbl is defined.
10892 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
10893 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
10894 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
10895 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
10896 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
10897 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
10898 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
10899 path for implementation.
10900 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
10901 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
10902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
10903 logb, and logbl multiarch implementations for PowerPC32.
10904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
10905 file.
10906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
10907 file.
10908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
10909 multiarch logb for PowerPC32.
10910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
10911 file.
10912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
10913 file.
10914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
10915 multiarch logbf for PowerPC32.
10916 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
10917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
10918 file.
10919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
10920 multiarch logbl implementation for PowerPC32.
10921
5212ffce
AZ
10922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
10923 and modff multiarch implementations.
10924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
10925 New file.
10926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
10927 New file.
10928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
10929 multiarch modf for PowerPC32.
10930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
10931 New file.
10932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
10933 New file.
10934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
10935 multiarch modff for PowerPC32.
10936
79dccf31
AZ
10937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
10938 and lrintf multiarch implementations.
10939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
10940 New file.
10941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
10942 New file.
10943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
10944 multiarch lrint for PowerPC32.
10945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
10946 file: multiarch lrintf for PowerPC32.
10947
deb66480
AZ
10948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
10949 and lroundf multiarch implementations.
10950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
10951 New file.
10952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
10953 New file.
10954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
10955 New file.
10956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
10957 multiarch lround for PowerPC32.
10958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
10959 file: multiarch lroundf for PowerPC32.
10960
264b036b
AZ
10961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10962 copysign and copysignf multiarch implementations.
10963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
10964 New file.
10965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
10966 New file.
10967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
10968 file: multiarch copysign for PowerPC32.
10969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
10970 file: multiarch copysignf for PowerPC32.
10971
d47db6c9
AZ
10972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
10973 and truncf multiarch implementations.
10974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
10975 New file.
10976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
10977 file.
10978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
10979 multiarch trunc for PowerPC32.
10980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
10981 New file.
10982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
10983 New file.
10984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
10985 multiarch truncf for PowerPC32.
10986
ddb60b5a
AZ
10987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
10988 and roundf multiarch implementations.
10989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
10990 New file.
10991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
10992 file.
10993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
10994 multiarch round for PowerPC32.
10995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
10996 New file.
10997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
10998 New file.
10999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
11000 multiarch roundf for PowerPC32.
11001
bedcf49b
AZ
11002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
11003 and floorf multiarch implementations.
11004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
11005 New file.
11006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
11007 file.
11008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
11009 multiarch floor for PowerPC32.
11010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
11011 New file.
11012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
11013 New file.
11014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
11015 multiarch floorf for PowerPC32.
11016
35ae5b40
AZ
11017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
11018 and ceilf multiarch implementations.
11019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
11020 New file.
11021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
11022 file.
11023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
11024 multiarch ceil for PowerPC32.
11025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
11026 New file.
11027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
11028 file.
11029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
11030 multiarch ceilf for PowerPC32.
11031
ae1a4cd9
AZ
11032 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
11033 is defined.
11034 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
11035 FINITEF is defined.
11036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
11037 and finitef multiarch implementations.
11038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
11039 New file.
11040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
11041 file.
11042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
11043 multiarch finite for PowerPC32.
11044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
11045 New file.
11046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
11047 file: multiarch finitef for PowerPC32.
11048
64fffd65
AZ
11049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
11050 and isinff multiarch implementations.
11051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
11052 file.
11053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
11054 file.
11055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
11056 multiarch isinf for PowerPC32.
11057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
11058 New file.
11059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
11060 multiarch isinff for PowerPC32.
11061
8e4e7ba2
AZ
11062 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
11063 alias when __isnan is defined.
11064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
11065 and isnanf multiarch implementations.
11066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
11067 file.
11068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
11069 file.
11070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
11071 file.
11072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
11073 file.
11074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
11075 multiarch isnan for PowerPC32.
11076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
11077 New file.
11078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
11079 New file.
11080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
11081 multiarch isnanf for PowerPC32.
11082
ddba588e
AZ
11083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
11084 and sqrtf multiarch implementations.
11085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
11086 file.
11087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
11088 file.
11089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
11090 multiarch sqrt for PowerPC32.
11091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
11092 file.
11093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
11094 file.
11095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
11096 multiarch sqrtf for PowerPC32.
11097
0f96a2f0
AZ
11098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
11099 and llroundf multiarch implementations.
11100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
11101 New file.
11102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
11103 New file.
11104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
11105 New file.
11106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
11107 file: multiarch llround for PowerPC32.
11108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
11109 file: multiarch llroundf for PowerPC32.
11110
c9b5d79e
AZ
11111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
11112 multiarch PowerPC32 fpu implementations.
11113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
11114 New file.
11115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
11116 New file.
11117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
11118 multiarch llrint for PowerPC32.
11119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
11120 New file.
11121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
11122 New file.
11123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
11124 file.
11125
9cbb3aab
AZ
11126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
11127
ea5a72f8
AZ
11128 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
11129 file.
11130 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
11131 file.
11132 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
11133 file.
11134 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
11135 multiarch wordcopy for PPC32.
11136 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11137 wordcopy objects.
11138 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11139 (__libc_ifunc_impl_list): Likewise.
11140 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
11141 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
11142 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
11143 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
11144 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
11145 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
11146
93be09e7
AZ
11147 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
11148 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
11149 file.
11150 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
11151 file.
11152 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
11153 file.
11154 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
11155 multiarch wcscpy for PPC32.
11156 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11157 multiarch objects.
11158 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11159 (__libc_ifunc_impl_list): Likewise.
11160 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11161 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11162 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
11163 sysdeps/powerpc/power6/wcscpy.c.
11164
bb04e529
AZ
11165 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
11166 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
11167 file.
11168 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
11169 file.
11170 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
11171 file.
11172 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
11173 multiarch wcsrchr for PPC32.
11174 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11175 multiarch objects.
11176 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11177 (__libc_ifunc_impl_list): Likewise.
11178 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11179 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11180 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
11181 sysdeps/powerpc/power6/wcsrchr.c.
11182
05b5cd1c
AZ
11183 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
11184 file.
11185 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
11186 file.
11187 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
11188 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
11189 multiarch wcschr for PPc32.
11190 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11191 multiarch objects.
11192 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11193 (__libc_ifunc_impl_list): Likewise.
11194 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
11195 * sysdeps/powerpc/power6/wcschr.c: ... to here.
11196 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
11197 sysdeps/powerpc/power6/wcschr.c.
11198
ba964147
AZ
11199 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
11200 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
11201 file.
11202 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
11203 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
11204 file: multiarch strchr for PPC32.
11205 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
11206 multiarch objects.
11207 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11208 (__libc_ifunc_impl_list): Likewise.
11209
31c81aaa
AZ
11210 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
11211 name.
11212 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
11213 file.
11214 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
11215 file.
11216 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
11217 multiarch strchrnul for PPC32.
11218 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
11219 multiarch objects.
11220 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11221 (__libc_ifunc_impl_list): Likewise.
11222
0d0607d9
AZ
11223 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
11224 file.
11225 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
11226 multiarch strncasecmp for PPC32.
11227 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
11228 file.
11229 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
11230 multiarch strncasecmp_l for PPC32.
11231 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
11232 strncasecmp multiarch objects.
11233 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11234 (__libc_ifunc_impl_list): Likewise.
11235
4dfd5c86
AZ
11236 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
11237 file.
11238 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
11239 multiarch strncasecmp for PPC32.
11240 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11241 New file.
11242 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
11243 multiarch strcasecmp_l for PPC32.
11244 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
11245 multiarch objects.
11246 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11247 (__libc_ifunc_impl_list): Likewise.
11248
a19e01a3
AZ
11249 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
11250 file.
11251 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
11252 file.
11253 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
11254 multiarch strncmp for PPC32.
11255 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
11256 multiarch objects.
11257 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11258 (__libc_ifunc_impl_list): Likewise.
11259
ae9cf7a2
AZ
11260 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
11261 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
11262 file.
11263 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
11264 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
11265 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
11266 multiarch objects.
11267 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11268 (__libc_ifunc_impl_list): Likewise.
11269
3148bb7d
AZ
11270 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
11271 file.
11272 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
11273 file.
11274 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
11275 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
11276 multiarch objects.
11277 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11278 (__libc_ifunc_impl_list): Likewise.
11279
7af8b946
AZ
11280 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
11281 file.
11282 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
11283 file.
11284 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
11285 multiarch rawmemchr for PPC32.
11286 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
11287 multiarch objects.
11288 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11289 (__libc_ifunc_impl_list): Likewise.
11290
03a6aa6a
AZ
11291 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
11292 file.
11293 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
11294 file.
11295 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
11296 file: memrchr multiarch for PPC32.
11297 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
11298 multiarch objects.
11299 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11300 (__libc_ifunc_impl_list): Likewise.
11301
1c62e6d9
AZ
11302 * string/memchr.c (__memchr): Using macro to redefine symbol name.
11303 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
11304 file.
11305 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
11306 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
11307 multiarch memchr for PPC32.
11308 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
11309 multiarch objects.
11310 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11311 (__libc_ifunc_impl_list): Likewise.
11312
87da8bdb
AZ
11313 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
11314 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
11315 file.
11316 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
11317 file.
11318 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
11319 file: multiarch mempcpy for PPC32.
11320 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
11321 multiarch objects.
11322 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11323 (__libc_ifunc_impl_list): Likewise.
11324
20ed4714
AZ
11325 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
11326 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
11327 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
11328 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
11329 multiarch bzero for PPC32.
11330 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
11331 file.
11332 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
11333 file.
11334 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
11335 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
11336 file: multiarch memset for PPC32.
11337 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
11338 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
11339 memset multiarch objects.
11340 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11341 (__libc_ifunc_impl_list): Likewise.
11342
ab3e3a46
AZ
11343 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
11344 file.
11345 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
11346 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
11347 memcmp for PPC32.
11348 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
11349 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
11350 multiarch objects.
11351 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11352 (__libc_ifunc_impl_list): Likewise.
11353
930de6f0
AZ
11354 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
11355 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
11356 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
11357 file.
11358 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
11359 file.
11360 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
11361 file.
11362 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
11363 multiarch memcpy for PPC32.
11364 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
11365 multiarch objects.
11366 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11367 (__libc_ifunc_impl_list): Likewise.
11368
4c628e00
AZ
11369 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
11370 support multiarch for POWER/PPC32.
11371 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
11372 Likewise.
11373 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
11375 Implies file to make multiarch folder appers before the fpu and
11376 default folder for power4 configuration.
11377
f4479220
SP
113782013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11379
11380 * scripts/bench.pl: Append volatile keyword to type.
11381
8517800f
KK
113822013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11383
11384 * sysdeps/sh/sotruss-lib.c: New file.
11385 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
11386
180138f1
AZ
113872013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11388
11389 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11390
bbf37bdc
JM
113912013-12-05 Joseph Myers <joseph@codesourcery.com>
11392
e47cc4e0
JM
11393 [BZ #6810]
11394 * math/w_tgamma.c: Include <errno.h>.
11395 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
11396 * math/w_tgammaf.c: Include <errno.h>.
11397 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
11398 * math/w_tgammal.c: Include <errno.h>.
11399 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
11400 * math/auto-libm-test-in: Do not allow missing errno on tgamma
11401 underflow. Add more tgamma tests.
11402 * math/auto-libm-test-out: Regenerated.
11403 * sysdeps/i386/fpu/libm-test-ulps: Update.
11404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11405
bbf37bdc
JM
11406 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
11407 sin, sinh, tan, tanh, tgamma, y0 and y1.
11408 * math/auto-libm-test-out: Regenerated.
11409 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11410 (TEST_COND_x86): Likewise.
11411 (M_E2l): Remove macro.
11412 (M_E3l): Likewise.
11413 (M_2_SQRT_PIl): Likewise.
11414 (M_SQRT_PIl): Likewise.
11415 (M_1_DIV_El): Likewise.
11416 (log_test_data): Use AUTO_TESTS_f_f.
11417 (log10_test_data): Likewise.
11418 (log1p_test_data): Likewise.
11419 (log2_test_data): Likewise.
11420 (sin_test_data): Likewise.
11421 (sin_tonearest_test_data): Likewise.
11422 (sin_towardzero_test_data): Likewise.
11423 (sin_downward_test_data): Likewise.
11424 (sin_upward_test_data): Likewise.
11425 (sinh_test_data): Likewise.
11426 (sinh_tonearest_test_data): Likewise.
11427 (sinh_towardzero_test_data): Likewise.
11428 (sinh_downward_test_data): Likewise.
11429 (sinh_upward_test_data): Likewise.
11430 (tan_test_data): Likewise.
11431 (tan_tonearest_test_data): Likewise.
11432 (tan_towardzero_test_data): Likewise.
11433 (tan_downward_test_data): Likewise.
11434 (tan_upward_test_data): Likewise.
11435 (tanh_test_data): Likewise.
11436 (tgamma_test_data): Likewise.
11437 (y0_test_data): Likewise.
11438 (y1_test_data): Likewise.
11439 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
11440 (special_real_inputs): Add pi/4.
11441 * sysdeps/i386/fpu/libm-test-ulps: Update.
11442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11443
eb5ad6b9
AZ
114442013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11445
11446 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
11447 "longjmp_target" static probes.
11448 (__longjmp): Rename to __longjmp_symbol.
11449 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11450 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
11451 on which longjmp to generate.
11452 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11453 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
11454 probe.
11455 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11456 (__sigjmp_save): Rename to __sigjmp_save_symbol.
11457 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11458 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
11459 and __sigjmp_save_symbol based on which sigsetjmp to generated.
11460 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
11461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
11462 __longjmp_symbol based on which __longjmp to generate.
11463 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
11464 probe.
11465 (setjmp): Rename to setjmp_symbol.
11466 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11467 (_setjmp): Rename to _setjmp_symbol.
11468 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11469 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
11470 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
11471 which setjmp to generate.
11472 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
11473 "longjmp_target" static probes.
11474
d136c6dc
SP
114752013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11476
9298ecba
SP
11477 * benchtests/README: Add note about output arguments.
11478 * benchtests/bench-sincos.c: Remove file.
11479 * benchtests/sincos-inputs: New file.
11480 * scripts/bench.pl: Identify output arguments and define
11481 static variables for them.
11482
232983e9
SP
11483 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
11484
d136c6dc
SP
11485 [BZ #15941]
11486 * Makefile (INSTALL): Add install-plain.texi as the primary
11487 dependency.
11488 * manual/install-plain.texi: New file.
11489 * manual/install.texi: Include node directive only for
11490 non-plaintext output.
11491
699ff837
JM
114922013-12-04 Joseph Myers <joseph@codesourcery.com>
11493
ab07cea8
JM
11494 * stdlib/longlong.h: Update from GCC.
11495
699ff837
JM
11496 [BZ #6807]
11497 [BZ #15901]
11498 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
11499 * math/w_j0f.c (y0f): Likewise.
11500 * math/w_j0l.c (__y0l): Likewise.
11501 * math/w_j1.c (y1): Likewise.
11502 * math/w_j1f.c (y1f): Likewise.
11503 * math/w_j1l.c (__y1l): Likewise
11504 * math/w_jn.c (yn): Likewise.
11505 * math/w_jnf.c (ynf): Likewise.
11506 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
11507 Bessel function pole errors in _POSIX_ mode. Use NAN as return
11508 value for Bessel function domain errors outside _SVID_ mode.
11509 Adjust sign of return value for yn (negative integer, 0).
11510 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
11511 by zero in return for negative x and set sign appropriately for
11512 negative n.
11513 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
11514 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11515 * math/libm-test.inc (y0_test_data): Add more tests and adjust
11516 expectations in error cases.
11517 (y1_test_data): Likewise.
11518 (yn_test_data): Likewise.
11519 * sysdeps/i386/fpu/libm-test-ulps: Update.
11520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11521
5b118558
UW
115222013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11523
11524 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
11525 "64" to "64-v1". Add "64-v2".
11526 (abi-64-options): Rename to ...
11527 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
11528 (abi-64-condition): Rename to ...
11529 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
11530 (abi-64-ld-soname): Rename to ...
11531 (abi-64-v1-ld-soname): ... this.
11532 (abi-64-v2-options): Define.
11533 (abi-64-v2-condition): Likewise.
11534 (abi-64-v2-ld-soname): Likewise.
11535 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
11536 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
11537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
11538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
11539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
11540
61cd8fe4
UW
115412013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11542 Alan Modra <amodra@gmail.com>
11543
11544 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
11545 New versions for use with the ELFv2 ABI.
11546 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
11547 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
11548 declaration.
11549 (struct La_ppc64v2_retval): Likewise.
11550 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
11551 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
11552 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
11553 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
11554 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
11555 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11556 Do not save or restore CR.
11557 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
11558 (_dl_profile_resolve): Do no save or restore CR. Support extended
11559 return values for ELFv2 ABI. Fix location of FPR return registers.
11560 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
11561 updated values for _CALL_ELF == 2.
11562 (La_regs, La_retval, int_retval): Likewise.
11563
8b8a692c
UW
115642013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11565
11566 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
11567 (FRAME_MIN_SIZE_PARM): Likewise.
11568 (FRAME_BACKCHAIN): Likewise.
11569 (FRAME_CR_SAVE): Likewise.
11570 (FRAME_LR_SAVE): Likewise.
11571 (FRAME_TOC_SAVE): Likewise.
11572 (FRAME_PARM_SAVE): Likewise.
11573 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
11574 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
11575 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11576 (call_mcount_parm_offset): New macro.
11577 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
11578 (PROF): Use symbolic stack frame offsets.
11579 (TAIL_CALL_SYSCALL_ERROR): Likewise.
11580 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
11581 Redefine in terms of FRAME_MIN_SIZE.
11582 (_dl_runtime_resolve): Use symbolic stack frame offsets.
11583 (_dl_profile_resolve): Likewise. Update comment.
11584 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
11585 symbols stack frame offsets.
11586 (__sigsetjmp): Likewise.
11587 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
11588 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
11589 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
11590 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
11591
11592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
11593 (FRAME_BACKCHAIN): Remove.
11594 (FRAME_CR_SAVE): Likewise.
11595 (FRAME_LR_SAVE): Likewise.
11596 (FRAME_COMPILER_DW): Likewise.
11597 (FRAME_LINKER_DW): Likewise.
11598 (FRAME_TOC_SAVE): Likewise.
11599 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
11600 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
11601 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
11602 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
11603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
11604 (CHECK_SP): Use symbolic stack frame offsets.
11605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
11606 zone" instead of caller's parameter save area for temp storage.
11607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11608 Likewise. Also, use symbolic stack frame offsets.
11609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
11610 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
11611 our own stack frame instead of the caller's.
11612 (__socket): Use symbolic stack frame offsets.
11613
122b66de
UW
116142013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11615 Alan Modra <amodra@gmail.com>
11616
11617 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
11618 Define.
57f41c40
AS
11619 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
11620 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
11621 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
11622 New function.
11623 (elf_machine_fixup_plt): Call it.
11624 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
11625 reloc arguments.
11626 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
11627 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11628 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
11629 r2 before calling target.
11630
696caf1d
UW
116312013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11632 Alan Modra <amodra@gmail.com>
11633
11634 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
11635 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
11636 versions of macros to support ELFv2 ABI.
11637 (LOCALENTRY): New macro.
11638 (ENTRY, EALIGN): Use it.
11639 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
11640 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
11641 fall through into ENTRY entry point.
11642 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
11643 Only define if _CALL_ELF != 2.
11644
11645 (elf_machine_matches_host): Verify ABI version matches.
11646 (RTLD_START): Use LOCALENTRY.
11647 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
11648 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
11649 (PLT_ENTRY_WORDS): New macro.
11650 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
11651 (elf_machine_runtime_setup): Support ELFv2 ABI.
11652 (elf_machine_fixup_plt): Likewise.
11653 (elf_machine_plt_conflict): Likewise.
11654 (resolve_ifunc): Likewise.
11655 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11656 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11657 Likewise.
11658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
11659 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
11660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11661 (makecontext): Support ELFv2 ABI.
11662 * elf/elf.h (EF_PPC64_ABI): Define.
11663
d31beafa
UW
116642013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11665
57f41c40
AS
11666 * sysdeps/powerpc/powerpc64/sysdep.h
11667 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
11668 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
11669 (ENTRY) [ASSEMBLER]: ... but instead here ...
11670 (EALIGN) [ASSEMBLER]: ... and here.
11671 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
11672 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
11673 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
11674 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
11675 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
11676 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11677 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
11678 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
11679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
11680 Use PPC64_LOAD_FUNCPTR.
11681
b525166b
UW
11682 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
11683
7ec07d9a
AM
116842013-12-04 Alan Modra <amodra@gmail.com>
11685
11686 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
11687 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
11688 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
11689 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
11690
11691 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
11692 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
11693 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
11694 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
11695 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
11696 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
11697
5162e7dd
UW
116982013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11699
11700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11701 (__makecontext): Fix incorrect CFI when backtracing out of
11702 context created via makecontext.
11703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
11704 (__setcontext): Fix incorrect CFI during switch to new context.
11705 (__novec_setcontext): Likewise.
11706
19e3372b
OB
117072013-12-04 Ondřej Bílka <neleai@seznam.cz>
11708
11709 [BZ #4772]
11710 * time/strptime_l.c (__strptime_internal): Allow modifiers
11711 in strptime.
11712 * time/tst-strptime.c (day_tests): Add testcase.
11713
ecaf142d
SP
117142013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11715
11716 * scripts/bench.pl: Skip over blank lines.
11717
fbf964ae
PE
117182013-12-04 Paul Eggert <eggert@cs.ucla.edu>
11719
11720 [BZ #926]
11721 * manual/time.texi (Calendar Time): Clarify what timezone functions
11722 use.
11723
fa60a674
AZ
117242013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11725
11726 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11727
d674f0ef
OB
117282013-12-04 Ondřej Bílka <neleai@seznam.cz>
11729
11730 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
11731 implementation.
11732 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
11733 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
11734 * debug/memset_chk.c (__memset_chk): Likewise.
11735 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
11736 * debug/strncpy_chk.c: Likewise.
11737
17dea188
JM
117382013-12-03 Joseph Myers <joseph@codesourcery.com>
11739
749008ff
JM
11740 [BZ #15268]
11741 [BZ #15425]
11742 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
11743 (__ieee754_exp): For possibly underflowing results, check size of
11744 result and force underflow exception if required.
11745 * math/auto-libm-test-in: Add more tests of exp.
11746 * math/auto-libm-test-out: Regenerated.
11747 * sysdeps/i386/fpu/libm-test-ulps: Update.
11748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11749
17dea188
JM
11750 [BZ #16283]
11751 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
11752 * math/w_exp2f.c (__exp2f): Likewise.
11753 * math/w_exp2l.c (__exp2l): Likewise.
11754 * math/auto-libm-test-in: Do not allow missing errno on exp2
11755 underflow.
11756 * math/auto-libm-test-out: Regenerated.
11757
b20de2c3
OB
117582013-12-03 Ondřej Bílka <neleai@seznam.cz>
11759
11760 [BZ #16274]
11761 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
11762 handle filename validation.
11763 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
11764 (do_open): Delete.
11765
d8e2dbe3
JM
117662013-12-03 Joseph Myers <joseph@codesourcery.com>
11767
34e16df5
JM
11768 [BZ #6786]
11769 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
11770 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
11771 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
11772 <float.h>.
11773 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
11774 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
11775 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11776 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
11777 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11778 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
11779 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11780 * math/auto-libm-test-in: Don't allow missing errno from erfc.
11781 Add more erfc tests.
11782 * math/auto-libm-test-out: Regenerated.
11783 * sysdeps/i386/fpu/libm-test-ulps: Update.
11784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11785
d8e2dbe3
JM
11786 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
11787 exp2, expm1, j0 and j1.
11788 * math/auto-libm-test-out: Regenerated.
11789 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
11790 (erfc_test_data): Likewise.
11791 (exp_test_data): Likewise.
11792 (exp_tonearest_test_data): Likewise.
11793 (exp_towardzero_test_data): Likewise.
11794 (exp_downward_test_data): Likewise.
11795 (exp_upward_test_data): Likewise.
11796 (exp10_test_data): Likewise.
11797 (exp2_test_data): Likewise.
11798 (expm1_test_data): Likewise.
11799 (j0_test_data): Likewise.
11800 (j1_test_data): Likewise.
11801 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
11802 (input_flag_type): Add flag_xfail_rounding.
11803 (input_flags): Add xfail-rounding.
11804 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
11805 (output_for_one_input_case): Handle flag_xfail_rounding.
11806 * sysdeps/i386/fpu/libm-test-ulps: Update.
11807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11808
18d14251
AJ
118092013-12-03 Aurelien Jarno <aurelien@aurel32.net>
11810
3d2e6075 11811 [BZ #16289]
18d14251
AJ
11812 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
11813 division by 0.
11814
520d437b
SP
118152013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11816
11817 [BZ #16195]
11818 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
11819 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
11820 (STAP_PROBE0): New macro.
11821 (STAP_PROBE1): Likewise.
11822 (STAP_PROBE2): Likewise.
11823 (STAP_PROBE3): Likewise.
11824 (STAP_PROBE4): Likewise.
11825
416e0145
OB
118262013-12-02 Ondřej Bílka <neleai@seznam.cz>
11827
11828 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
11829
9d17796a
SE
118302013-12-02 Steve Ellcey <sellcey@mips.com>
11831
11832 * benchtests/Makefile (bench): Add sqrt.
11833 (LDLIBS-bench-sqrt): New.
11834 * benchtests/sqrt-input: New.
11835
f524d6a8
PS
118362013-12-02 Pavel Simerda <psimerda@redhat.com>
11837
639a0ef8
PS
11838 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
11839 (GAIH_EAI): Likewise.
11840 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
11841 (gaih_inet): Likewise.
11842 (getaddrinfo): Don't use GAIH_EAI.
11843
f524d6a8
PS
11844 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
11845 (struct gaih): Remove definition.
11846
df3aedaf
SP
118472013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11848
11849 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
11850 Use HERRNOP directly.
11851
1ab19dec
AZ
118522013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11853
b42ad38d 11854 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 11855
176b0c79
JM
118562013-11-30 Joseph Myers <joseph@codesourcery.com>
11857
11858 * math/gen-auto-libm-tests.c (test_functions): Add more
11859 single-argument functions.
11860 (special_fill_pi_2): New function.
11861 (special_fill_minus_pi_2): Likewise.
11862 (special_fill_pi_6): Likewise.
11863 (special_fill_minus_pi_6): Likewise.
11864 (special_fill_pi_3): Likewise.
11865 (special_fill_2pi_3): Likewise.
11866 (special_fill_e): Likewise.
11867 (special_fill_1_e): Likewise.
11868 (special_fill_e_minus_1): Likewise.
11869 (special_real_inputs): Add more special inputs.
11870 (output_for_one_input_case): Do not require ERANGE on underflow to
11871 zero if round-to-nearest result does not underflow to zero, unless
11872 exact results required.
11873 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
11874 atan, atanh, cbrt, cos and cosh.
11875 * math/auto-libm-test-out: Regenerated.
11876 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
11877 (acos_tonearest_test_data): Likewise.
11878 (acos_towardzero_test_data): Likewise.
11879 (acos_downward_test_data): Likewise.
11880 (acos_upward_test_data): Likewise.
11881 (acosh_test_data): Likewise.
11882 (asin_test_data): Likewise.
11883 (asin_tonearest_test_data): Likewise.
11884 (asin_towardzero_test_data): Likewise.
11885 (asin_upward_test_data): Likewise.
11886 (asinh_test_data): Likewise.
11887 (atan_test_data): Likewise.
11888 (atanh_test_data): Likewise.
11889 (cbrt_test_data): Likewise.
11890 (cos_test_data): Likewise.
11891 (cos_tonearest_test_data): Likewise.
11892 (cos_towardzero_test_data): Likewise.
11893 (cos_downward_test_data): Likewise.
11894 (cos_upward_test_data): Likewise.
11895 (cosh_test_data): Likewise.
11896 (cosh_tonearest_test_data): Likewise.
11897 (cosh_towardzero_test_data): Likewise.
11898 (cosh_downward_test_data): Likewise.
11899 (cosh_upward_test_data): Likewise.
11900 * sysdeps/i386/fpu/libm-test-ulps: Update.
11901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11902
ffb536d0
JM
119032013-11-29 Joseph Myers <joseph@codesourcery.com>
11904
2a77a467
JM
11905 [BZ #6787]
11906 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
11907 * math/w_exp10f.c (__exp10f): Likewise.
11908 * math/w_exp10l.c (__exp10l): Likewise.
11909 * math/libm-test.inc (exp10_test_data): Add more tests and expect
11910 errno settings in existing tests.
11911
ea3bc4e8
JM
11912 [BZ #14032]
11913 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
11914 precision control set to double precision.
11915 * sysdeps/i386/fpu/w_sqrt.c: New file.
11916 * math/auto-libm-test-in: Add more tests.
11917 * math/auto-libm-test-out: Update.
11918
0712c9d8
JM
11919 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
11920 (sqrt_test_tonearest): New function.
11921 (sqrt_towardzero_test_data): New variable.
11922 (sqrt_test_towardzero): New function.
11923 (sqrt_downward_test_data): New variable.
11924 (sqrt_test_downward): New function.
11925 (sqrt_upward_test_data): New variable.
11926 (sqrt_test_upward): New function.
11927 (main): Call the new functions.
11928
ffb536d0
JM
11929 * math/gen-auto-libm-tests.c: New file.
11930 * math/auto-libm-test-in: Likewise.
11931 * math/auto-libm-test-out: New generated file.
11932 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
11933 variables.
11934 (%beautify): Add generated representations of zero.
11935 (top level): Set $auto_input and call parse_auto_input.
11936 (beautify): Remove trailing "f" from hex float constants.
11937 (parse_args): Handle XFAIL_TEST.
11938 (convert_condition): New function.
11939 (or_value): Likewise.
11940 (or_cond_value): Likewise.
11941 (generate_testfile): Handle AUTO_TESTS_* lines.
11942 (parse_auto_input): New function.
11943 * math/libm-test.inc (XFAIL_TEST): New macro.
11944 (ERRNO_UNCHANGED): Update value.
11945 (ERRNO_EDOM): Likewise.
11946 (ERRNO_ERANGE): Likewise.
11947 (IGNORE_RESULT): Likewise.
11948 (TEST_COND_flt_32): New macro.
11949 (TEST_COND_dbl_64): Likewise.
11950 (TEST_COND_ldbl_96_intel): Likewise.
11951 (TEST_COND_ldbl_96_m68k): Likewise.
11952 (TEST_COND_ldbl_128): Likewise.
11953 (TEST_COND_ldbl_128ibm): Likewise.
11954 (TEST_COND_long32): Likewise.
11955 (TEST_COND_long64): Likewise.
11956 (TEST_COND_before_rounding): Likewise.
11957 (TEST_COND_after_rounding): Likewise.
11958 (enable_test): Handle XFAIL_TEST flag.
11959 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
11960 with finite results.
11961 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
11962 auto-libm-test-out.
11963
acd98a8e
AK
119642013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11965 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11966
11967 [BZ #16214]
11968 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
11969 __tls_get_addr_internal instead of __tls_get_offset in order to
11970 avoid GOT pointer dependency. Make rtld export
11971 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
11972 __tls_get_addr since we are a __tls_get_offset platform.
11973 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
11974 GOT pointer being set up before.
11975 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
11976
3c1c46a6
JM
119772013-11-28 Joseph Myers <joseph@codesourcery.com>
11978
7475aef5
JM
11979 * manual/math.texi (Errors in Math Functions): Document accuracy
11980 goals.
11981
8bca7cd8
JM
11982 [BZ #15004]
11983 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
11984 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
11985 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11986 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11987 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11988 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11989 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11990 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11991 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11992 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11993 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11994 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11995 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11996 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11997 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11998 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11999
91a1f3fe
JM
12000 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
12001 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
12002 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
12003 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
12004 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
12005 Likewise.
12006 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
12007 Likewise.
12008 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
12009 Likewise.
12010 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
12011 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12012 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
12013 atomic-feupdateenv and flt-rounds.
12014 * sysdeps/powerpc/nofpu/Versions (libc): Add
12015 __atomic_feholdexcept, __atomic_feclearexcept,
12016 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
12017 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
12018 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
12019 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
12020 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
12021 here.
12022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12023 Update.
12024
c5df7609
JM
12025 * manual/arith.texi (FP Exceptions): Document that exceptions may
12026 not be raised when matherr is used.
12027 (Math Error Reporting): Document overflow in directed rounding
12028 modes. Document that errno may not be set when finite values are
12029 returned on overflow. Document intent to set errno on underflow
12030 only for underflow to zero.
12031
3c1c46a6
JM
12032 [BZ #16271]
12033 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
12034 round-to-nearest then adjust result for other rounding modes.
12035 * include/fenv.h (fegetround): Use libm_hidden_proto.
12036 * math/fegetround.c (fegetround): Use libm_hidden_def.
12037 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
12038 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
12039 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12040 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
12041 Likewise.
12042 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
12043 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12044 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
12045 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
12046
5a4c6d53
SP
120472013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12048
12049 [BZ #16077]
12050 * nss/Versions (libnss_files): Add
12051 _nss_files_gethostbyname3_r.
12052 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
12053 New function.
12054 (HOST_DB_LOOKUP): Remove macro.
12055 (_nss_files_gethostbyname_r): Implement function without the
12056 HOST_DB_LOOKUP macro.
12057 (_nss_files_gethostbyname2_r): Likewise.
12058
897b98ba
OB
120592013-11-28 Ondřej Bílka <neleai@seznam.cz>
12060
12061 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
12062
6f476861
UB
120632013-11-26 Uros Bizjak <ubizjak@gmail.com>
12064
12065 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
12066 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
12067 warning.
12068
bd12ab55
AZ
120692013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12070
12071 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
12072 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
12073 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12074 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
12075 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
12076 __fe_nomask_env_priv and attribute_hidden.
12077 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
12078 (libc_feupdateenv_test_ppc): Likewise.
12079 (libc_feresetround_ppc): Likewise.
12080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12081 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
12082 compat_symbol macro.
12083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12084 (__fe_nomask_env): Likewise.
12085 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
12086
52bb6543
OB
120872013-11-26 Ondřej Bílka <neleai@seznam.cz>
12088
12089 * string/Makefile: Remove ifunc tests.
12090 * string/test-string.h: Define TEST_IFUNC.
12091 * string/test-bcopy-ifunc.c: Remove.
12092 * string/test-bzero-ifunc.c: Likewise.
12093 * string/test-memccpy-ifunc.c: Likewise.
12094 * string/test-memchr-ifunc.c: Likewise.
12095 * string/test-memcmp-ifunc.c: Likewise.
12096 * string/test-memcpy-ifunc.c: Likewise.
12097 * string/test-memmem-ifunc.c: Likewise.
12098 * string/test-memmove-ifunc.c: Likewise.
12099 * string/test-mempcpy-ifunc.c: Likewise.
12100 * string/test-memrchr-ifunc.c: Likewise.
12101 * string/test-memset-ifunc.c: Likewise.
12102 * string/test-rawmemchr-ifunc.c: Likewise.
12103 * string/test-stpcpy-ifunc.c: Likewise.
12104 * string/test-stpncpy-ifunc.c: Likewise.
12105 * string/test-strcasecmp-ifunc.c: Likewise.
12106 * string/test-strcasestr-ifunc.c: Likewise.
12107 * string/test-strcat-ifunc.c: Likewise.
12108 * string/test-strchr-ifunc.c: Likewise.
12109 * string/test-strchrnul-ifunc.c: Likewise.
12110 * string/test-strcmp-ifunc.c: Likewise.
12111 * string/test-strcpy-ifunc.c: Likewise.
12112 * string/test-strcspn-ifunc.c: Likewise.
12113 * string/test-strlen-ifunc.c: Likewise.
12114 * string/test-strncasecmp-ifunc.c: Likewise.
12115 * string/test-strncat-ifunc.c: Likewise.
12116 * string/test-strncmp-ifunc.c: Likewise.
12117 * string/test-strncpy-ifunc.c: Likewise.
12118 * string/test-strnlen-ifunc.c: Likewise.
12119 * string/test-strpbrk-ifunc.c: Likewise.
12120 * string/test-strrchr-ifunc.c: Likewise.
12121 * string/test-strspn-ifunc.c: Likewise.
12122 * string/test-strstr-ifunc.c: Likewise.
12123
ab260039 121242013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
12125
12126 * benchtests/Makefile: Remove ifunc tests.
12127 * benchtests/bench-string.h: Define TEST_IFUNC.
12128 * benchtests/bench-bcopy-ifunc.c: Remove.
12129 * benchtests/bench-bzero-ifunc.c: Likewise.
12130 * benchtests/bench-memccpy-ifunc.c: Likewise.
12131 * benchtests/bench-memchr-ifunc.c: Likewise.
12132 * benchtests/bench-memcmp-ifunc.c: Likewise.
12133 * benchtests/bench-memcpy-ifunc.c: Likewise.
12134 * benchtests/bench-memmem-ifunc.c: Likewise.
12135 * benchtests/bench-memmove-ifunc.c: Likewise.
12136 * benchtests/bench-mempcpy-ifunc.c: Likewise.
12137 * benchtests/bench-memrchr-ifunc.c: Likewise.
12138 * benchtests/bench-memset-ifunc.c: Likewise.
12139 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
12140 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
12141 * benchtests/bench-stpcpy-ifunc.c: Likewise.
12142 * benchtests/bench-stpncpy-ifunc.c: Likewise.
12143 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
12144 * benchtests/bench-strcasestr-ifunc.c: Likewise.
12145 * benchtests/bench-strcat-ifunc.c: Likewise.
12146 * benchtests/bench-strchr-ifunc.c: Likewise.
12147 * benchtests/bench-strchrnul-ifunc.c: Likewise.
12148 * benchtests/bench-strcmp-ifunc.c: Likewise.
12149 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
12150 * benchtests/bench-strcpy-ifunc.c: Likewise.
12151 * benchtests/bench-strcspn-ifunc.c: Likewise.
12152 * benchtests/bench-strlen-ifunc.c: Likewise.
12153 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
12154 * benchtests/bench-strncat-ifunc.c: Likewise.
12155 * benchtests/bench-strncmp-ifunc.c: Likewise.
12156 * benchtests/bench-strncpy-ifunc.c: Likewise.
12157 * benchtests/bench-strnlen-ifunc.c: Likewise.
12158 * benchtests/bench-strpbrk-ifunc.c: Likewise.
12159 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 12160 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
12161 * benchtests/bench-strspn-ifunc.c: Likewise.
12162 * benchtests/bench-strstr-ifunc.c: Likewise.
12163
121642013-11-26 Ondřej Bílka <neleai@seznam.cz>
12165
ab260039
OB
12166 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
12167
d1d9eaf4 121682013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 12169
d1d9eaf4
OB
12170 * resolv/netdb.h: Use __glibc_reserved instead __unused.
12171 * rt/aio.h: Likewise.
12172 * sysdeps/gnu/bits/utmp.h: Likewise.
12173 * sysdeps/gnu/bits/utmpx.h: Likewise.
12174 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12175 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
12176 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
12177 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
12178 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
12179 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
12180 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
12181 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
12182 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
12183 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
12184 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
12185 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
12186 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
12187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
12188 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12189 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
12190 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
12191 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
12192 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
12193 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
12194 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
12195 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
12196 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
12197 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12198 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
12199 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12200 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
12201 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
12202 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
12203 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
12204 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
12205 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
12206 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
12207 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12208 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12209 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
12210 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
12211 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
12212 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
12213 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
12214 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
12215 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12216
a7624ed9
CD
122172013-11-25 Carlos O'Donell <carlos@redhat.com>
12218
12219 [BZ #16245]
12220 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
12221 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
12222
63cfe52b
JM
122232013-11-25 Joseph Myers <joseph@codesourcery.com>
12224
12225 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
12226 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
12227 Likewise.
12228
41e8926a
AZ
122292013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12230
12231 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
12232 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
12233 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
12234 (__fesetround): Remove define.
12235 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
12236 rounding and exceptions handling.
12237 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
12238 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
12239 (__fe_nomask_env): Likewise.
12240 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
12241 __fegetround instead of fegetround.
12242 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12243 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
12244
6851bd4d
RM
122452013-11-21 Roland McGrath <roland@hack.frob.com>
12246
070906ff
RM
12247 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
12248 it's there.
12249
6851bd4d
RM
12250 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
12251
84ae135d
MI
122522013-11-21 Meador Inge <meadori@codesourcery.com>
12253
12254 [BZ #11157]
12255 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
12256 (encrypt_r): Likewise.
12257 * malloc/obstack.h (obstack_free): Likewise.
12258 * posix/unistd.h (encrypt): Likewise.
12259
daf75146
GM
122602013-11-21 Guy Martin <gmsoft@tuxicoman.be>
12261
12262 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
12263 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
12264 DL_CALL_DT_FINI() that call the functions directly.
12265 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
12266 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
12267 * elf/dl-fini.c: Likewise.
12268
10ad46bc
OB
122692013-11-20 Ondřej Bílka <neleai@seznam.cz>
12270
12271 * malloc/hooks.c (memalign_check): Add alignment rounding.
12272 * malloc/malloc.c (_mid_memalign): New function.
12273 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
12274 Implement by calling _mid_memalign.
12275 * manual/probes.texi (Memory Allocation Probes): Remove
12276 memory_valloc_retry and memory_pvalloc_retry.
12277
f3fd2628
SP
122782013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12279
4712799f
SP
12280 * locale/programs/locarchive.c (open_archive): Add const
12281 qualifier to ARCHIVEFNAME and copy default fname to
12282 DEFAULT_FNAME.
12283
0417b20f
SP
12284 [BZ #15601]
12285 * libio/tst-widetext.input: Rename Oriya to Odia.
12286 * locale/iso-639.def: Likewise.
12287
f3fd2628
SP
12288 * manual/probes.texi (Mathematical Function Probes): Add
12289 documentation for sin, cos, asin and acos probes.
12290 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
12291 (__sin32): Add slowasin probe.
12292 (__cos32): Add slowacos probe.
12293 (__mpsin): Add slowsin probe.
12294 (__mpcos): Add slowcos probe.
12295
73c1ce4f
JM
122962013-11-19 Joseph Myers <joseph@codesourcery.com>
12297
12298 [BZ #15483]
12299 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
12300 thread-local __sim_exceptions_thread and global
12301 __sim_exceptions_global.
12302 (__sim_disabled_exceptions): Change to thread-local
12303 __sim_disabled_exceptions_thread and global
12304 __sim_disabled_exceptions_global.
12305 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12306 and global __sim_round_mode_global.
12307 (__simulate_exceptions): Use thread-local floating-point state and
12308 set global state from it as needed.
12309 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
12310 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
12311 __sim_round_mode_thread.
12312 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
12313 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
12314 and global __sim_exceptions_global.
12315 (__sim_disabled_exceptions): Change to thread-local
12316 __sim_disabled_exceptions_thread and global
12317 __sim_disabled_exceptions_global.
12318 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12319 and global __sim_round_mode_global.
12320 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
12321 (SIM_SET_GLOBAL): Likewise.
12322 * sysdeps/powerpc/soft-fp/sfp-machine.h
12323 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
12324 __sim_round_mode_thread.
12325 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
12326 __sim_disabled_exceptions_thread.
12327 (__sim_exceptions): Change to __sim_exceptions_thread.
12328 (__sim_disabled_exceptions): Change to
12329 __sim_disabled_exceptions_thread.
12330 (__sim_round_mode): Change to __sim_round_mode_thread.
12331 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
12332 thread-local floating-point state and set global state from it as
12333 needed.
12334 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
12335 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
12336 (__sim_disabled_exceptions): Remove extern declaration.
12337 (feenableexcept): Use thread-local floating-point state and set
12338 global state from it as needed.
12339 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
12340 extern declaration.
12341 (__sim_disabled_exceptions): Likewise.
12342 (__sim_round_mode): Likewise.
12343 (__fegetenv): Use thread-local floating-point state.
12344 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
12345 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12346 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
12347 floating-point state and set global state from it as needed.
12348 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
12349 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
12350 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
12351 Likewise.
12352 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
12353 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
12354 Likewise.
12355 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
12356 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
12357 Use __sim_round_mode_thread.
12358 * math/test-fenv-tls.c: New file.
12359 * math/Makefile (tests): Add test-fenv-tls.
12360 ($(objpfx)test-fenv-tls): Depend on
12361 $(common-objpfx)nptl/libpthread.so.
12362
b5449b12
AS
123632013-11-19 Andreas Schwab <schwab@suse.de>
12364
12365 * locale/programs/locale.c (show_info): Decode wordarray elements.
12366 * locale/categories.def (LC_MONETARY): Add element for
12367 _NL_MONETARY_CRNCYSTR.
12368 * locale/C-monetary.c (conversion_rate): New variable.
12369 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
12370 element.
12371
e186536b
CM
123722013-11-18 Chris Metcalf <cmetcalf@tilera.com>
12373
12374 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
12375 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
12376
5c349950
PP
123772013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12378
12379 * elf/Makefile (tst-auxv): New test.
12380 * elf/tst-auxv.c: New
12381 * elf/rtld.c (dl_main): Adjust AT_EXECFN
12382
699df45b
JM
123832013-11-18 Joseph Myers <joseph@codesourcery.com>
12384
12385 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
12386 (hidden_proto): Caller changed.
12387 (hidden_tls_proto): New macro.
12388 (libc_hidden_tls_proto): Likewise.
12389 (rtld_hidden_tls_proto): Likewise.
12390 (libm_hidden_tls_proto): Likewise.
12391 (libresolv_hidden_tls_proto): Likewise.
12392 (librt_hidden_tls_proto): Likewise.
12393 (libdl_hidden_tls_proto): Likewise.
12394 (libnss_files_hidden_tls_proto): Likewise.
12395 (libnsl_hidden_tls_proto): Likewise.
12396 (libnss_nisplus_hidden_tls_proto): Likewise.
12397 (libutil_hidden_tls_proto): Likewise.
12398
b7589107
OB
123992013-11-18 Ondřej Bílka <neleai@seznam.cz>
12400
12401 [BZ #10253]
12402 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
12403 (decompose_rpath): Defer expansion to fillin_rpath.
12404 (_dl_init_paths): Pass linkmap to fillin_rpath.
12405
250c23bd
RS
124062013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12407
12408 * benchtests/Makefile: Add strsep.
12409 * benchtests/bench-strsep.c: New file: strsep benchtest.
12410 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
12411
a7931fcf
AS
124122013-11-18 Andreas Schwab <schwab@suse.de>
12413
12414 * locale/programs/locale.c (show_info) [case byte]: Check for
12415 '\377' instead of '\177'.
12416 * locale/C-monetary.c (not_available): Always use "\377".
12417 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
12418 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
12419 detect unavailable sign_posn locale elements.
12420 * locale/localeconv.c (__localeconv): For grouping and
12421 mon_grouping handle "\177" and "\377" like no grouping.
12422 (INT_ELEM): New macro. Use it to set all numeric members.
12423 * locale/programs/ld-monetary.c (monetary_read)
12424 <tok_mon_grouping>: Normalize single -1 to the empty string.
12425 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
12426 Likewise.
12427
728dab0e
OB
124282013-11-07 Ondřej Bílka <neleai@seznam.cz>
12429
12430 [BZ #16055]
12431 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
12432 when we match (nil).
12433 * stdio-common/tst-sscanf.c (struct test): Add testcase.
12434
66294491
JM
124352013-11-16 Joseph Myers <joseph@codesourcery.com>
12436
ce665817
JM
12437 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
12438 (NO_TEST_INLINE): Update value.
12439 (ERRNO_UNCHANGED): Likewise.
12440 (ERRNO_EDOM): Likewise.
12441 (ERRNO_ERANGE): Likewise.
12442 (IGNORE_RESULT): Likewise.
12443 (check_float_internal): Check signs of NaN results if
12444 TEST_NAN_SIGN used.
12445 (check_complex): Pass TEST_NAN_SIGN flag through to second
12446 check_float_internal call.
12447 (copysign_test_data): Add tests with quiet NaNs as second
12448 argument. Use TEST_NAN_SIGN.
12449 (fabs_test_data): Add test of negative quiet NaN argument. Use
12450 TEST_NAN_SIGN.
12451 (signbit_test_data): Add tests of quiet NaN argument.
12452 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
12453
ee1466a9
JM
12454 * math/gen-libm-test.pl (show_exceptions): Take extra argument
12455 $ignore_result.
12456 (parse_args): Handle function results specified as IGNORE.
12457 * math/libm-test.inc (IGNORE_RESULT): New macro.
12458 (check_float_internal): Do not check numerical result if flag
12459 IGNORE_RESULT set.
12460 (check_complex): Pass through IGNORE_RESULT to second
12461 check_float_internal call.
12462 (check_int): Do not check numerical result if flag IGNORE_RESULT
12463 set.
12464 (check_long): Likewise.
12465 (check_bool): Likewise.
12466 (check_longlong): Likewise.
12467 (lrint_test_data): Add tests of infinite and NaN arguments.
12468 (lrint_tonearest_test_data): Likewise.
12469 (lrint_towardzero_test_data): Likewise.
12470 (lrint_downward_test_data): Likewise.
12471 (lrint_upward_test_data): Likewise.
12472 (llrint_test_data): Likewise.
12473 (llrint_tonearest_test_data): Likewise.
12474 (llrint_towardzero_test_data): Likewise.
12475 (llrint_downward_test_data): Likewise.
12476 (llrint_upward_test_data): Likewise.
12477 (lround_test_data): Likewise.
12478 (llround_test_data): Likewise.
12479
14407b7e
JM
12480 * math/libm-test.inc (NO_TEST_INLINE): New macro.
12481 (ERRNO_UNCHANGED): Update value.
12482 (ERRNO_EDOM): Likewise.
12483 (ERRNO_ERANGE): Likewise.
12484 (NO_TEST_INLINE_FLOAT): New macro.
12485 (NO_TEST_INLINE_DOUBLE): Likewise.
12486 (enable_test): New function.
12487 (RUN_TEST_f_f): Check enable_test before running test.
12488 (RUN_TEST_2_f): Likewise.
12489 (RUN_TEST_fff_f): Likewise.
12490 (RUN_TEST_c_f): Likewise.
12491 (RUN_TEST_f_f1): Likewise.
12492 (RUN_TEST_fF_f1): Likewise.
12493 (RUN_TEST_fI_f1): Likewise.
12494 (RUN_TEST_ffI_f1): Likewise.
12495 (RUN_TEST_c_c): Likewise.
12496 (RUN_TEST_cc_c): Likewise.
12497 (RUN_TEST_f_i): Likewise.
12498 (RUN_TEST_f_i_tg): Likewise.
12499 (RUN_TEST_ff_i_tg): Likewise.
12500 (RUN_TEST_f_b): Likewise.
12501 (RUN_TEST_f_b_tg): Likewise.
12502 (RUN_TEST_f_l): Likewise.
12503 (RUN_TEST_f_L): Likewise.
12504 (RUN_TEST_fFF_11): Likewise.
12505 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
12506 conditionals.
12507 (cosh_test_data): Likewise.
12508 (exp_test_data): Likewise.
12509 (expm1_test_data): Likewise.
12510 (hypot_test_data): Likewise.
12511 (pow_test_data): Likewise.
12512 (sinh_test_data): Likewise.
12513 (tanh_test_data): Likewise.
12514 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
12515 flags argument.
12516
ca07f197
JM
12517 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
12518 tests with quiet NaN input and output.
12519 (acosh_test_data): Likewise.
12520 (asin_test_data): Likewise.
12521 (asinh_test_data): Likewise.
12522 (atan_test_data): Likewise.
12523 (atanh_test_data): Likewise.
12524 (atan2_test_data): Likewise.
12525 (cbrt_test_data): Likewise.
12526 (cos_test_data): Likewise.
12527 (cosh_test_data): Likewise.
12528 (erf_test_data): Likewise.
12529 (erfc_test_data): Likewise.
12530 (exp_test_data): Likewise.
12531 (exp10_test_data): Likewise.
12532 (exp2_test_data): Likewise.
12533 (expm1_test_data): Likewise.
12534 (hypot_test_data): Likewise.
12535 (j0_test_data): Likewise.
12536 (j1_test_data): Likewise.
12537 (jn_test_data): Likewise.
12538 (lgamma_test_data): Likewise.
12539 (log_test_data): Likewise.
12540 (log10_test_data): Likewise.
12541 (log1p_test_data): Likewise.
12542 (log2_test_data): Likewise.
12543 (pow_test_data): Likewise.
12544 (scalb_test_data): Likewise.
12545 (sin_test_data): Likewise.
12546 (sincos_test_data): Likewise.
12547 (sinh_test_data): Likewise.
12548 (tan_test_data): Likewise.
12549 (tanh_test_data): Likewise.
12550 (tgamma_test_data): Likewise.
12551 (y0_test_data): Likewise.
12552 (y1_test_data): Likewise.
12553 (yn_test_data): Likewise.
12554
66294491
JM
12555 [BZ #16167]
12556 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
12557 argument being NaN and avoid computations with second argument in
12558 that case.
12559 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12560 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
12561 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12562
1820b143
CL
125632013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
12564
12565 * locale/iso-639.def: Add Chitwani Tharu (the).
12566
714bd261
AS
125672013-11-14 Andreas Schwab <schwab@suse.de>
12568
12569 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
12570 word instead of empty string.
12571
7ab44563
AZ
125722013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12573
12574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12575 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
12576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12577 (__fe_nomask_env): Likewise.
12578
e8470ea2
SE
125792013-11-13 Steve Ellcey <sellcey@mips.com>
12580
12581 * benchtests/bench-timing.h: Include time.h.
12582
17c1d9f0
L
125832013-11-13 H.J. Lu <hongjiu.lu@intel.com>
12584
12585 [BZ #15997]
12586 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
12587 to 3.4.0 for x32.
12588 * sysdeps/unix/sysv/linux/configure: Regenerated.
12589
9310c284
JM
125902013-11-13 Joseph Myers <joseph@codesourcery.com>
12591
12592 [BZ #16151]
12593 * stdlib/strtod_l.c (round_and_return): Do not consider
12594 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
12595 exponent one less than half the least subnormal exponent.
12596 * stdlib/test-strtod-round-data: Add more tests.
12597 * stdlib/tst-strtod-round.c (tests): Regenerated.
12598
7a2ad8cf
AZ
125992013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12600
12601 [BZ #14143]
12602 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
12603 (__fe_mask_env): Likewise.
12604 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
12605 libm_hidden_proto and add function prototype.
12606 (__fe_mask_env): Add function prototype.
12607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12608 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
12609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
12610 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
12611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12612 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
12613
50727aa7
MS
126142013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12615
b2f386c1 12616 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
12617 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
12618
a615be46
MS
126192013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12620
12621 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
12622 of htab_find_slot().
12623
7ddace62
DM
126242013-11-11 David S. Miller <davem@davemloft.net>
12625
12626 [BZ #16150]
12627 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
12628 symbol in the non-vis3 case in static builds.
12629 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
12630 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
12631 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
12632 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
12633
9182aa67
JK
126342013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12635
12636 [BZ #387]
12637 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
12638 it is empty.
12639
450a2e2d
AZ
126402013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12641
b2f386c1
SP
12642 * benchtests/Makefile: Add bench-strtod.
12643 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 12644
8ec3f656
AS
126452013-11-11 Andreas Schwab <schwab@suse.de>
12646
12647 [BZ #16153]
12648 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
12649 terminating NUL in key length.
12650
76a9b998
AZ
126512013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12652
12653 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12654 Add artificial ODP entry for vDSO symbol for PPC64.
12655 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
12656 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
12657
e4368156
OB
126582013-11-07 Ondřej Bílka <neleai@seznam.cz>
12659
12660 [BZ #15374]
12661 * nss/getent.c (services_keys): Recognize services starting with digit.
12662
8d6bb57c
DM
126632013-11-06 David S. Miller <davem@davemloft.net>
12664
12665 [BZ #15985]
12666 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
12667 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
12668
e256c421
WN
126692013-11-06 Will Newton <will.newton@linaro.org>
12670
12671 * manual/memory.texi (Malloc Examples): Remove register
12672 keyword from examples.
12673
f6e12daa 126742013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 12675
f6e12daa 12676 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 12677
9d880655
AS
126782013-11-04 Joseph Myers <joseph@codesourcery.com>
12679
fd2f9486 12680 [BZ #6981]
9d880655
AS
12681 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
12682 depending on [__GCC_IEC_559 > 0].
12683 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
12684 depending on [__GCC_IEC_559_COMPLEX > 0].
12685
ae129d3c
CL
126862013-11-03 Chris Leonard <cjl@sugarlabs.org>
12687
12688 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
12689 to iso-639.def.
12690
4a15c2a4 126912013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
12692
12693 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
12694
8b35e35d
OB
126952013-11-01 Ondřej Bílka <neleai@seznam.cz>
12696
12697 [BZ #16112]
12698 * malloc/malloc (malloc_info): Do not handle first bin as
12699 special case.
12700
1d70fd6c
CL
127012013-11-01 Chris Leonard <cjl@sugarlabs.org>
12702
12703 * locale/iso-639.def: Add Central Nahuatl (nhn).
12704
8c5c2600
BH
127052013-11-01 Bruno Haible <bruno@clisp.org>
12706
12707 [BZ #7003]
12708 * manual/math.texi (BSD Random): Specify range upper bound as
12709 in POSIX.
12710
da5579c2
CL
127112013-10-31 Chris Leonard <cjl@sugarlabs.org>
12712
12713 * locale/iso-639.def: Add Meadow Mari (mhr).
12714
5d30d853
OB
127152013-10-31 Ondřej Bílka <neleai@seznam.cz>
12716
12717 [BZ #14752], [BZ #15763]
12718 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
12719 Validate name.
12720 * rt/tst_shm.c: Add test for escaping directory.
12721
a4966c61
AS
127222013-10-31 Andreas Schwab <schwab@suse.de>
12723
8a43e768 12724 [BZ #15917]
a4966c61
AS
12725 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
12726 followed by 'x' as part of digit sequence.
12727 * stdio-common/tst-sscanf.c (double_tests2): New tests.
12728
28d708c4
MAP
127292013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
12730
12731 [BZ #16037]
12732 * configure.ac: allow GNU Make 4.0 and greater.
12733 * configure: Regenerated.
12734
a56ee40b
WN
127352013-10-30 Will Newton <will.newton@linaro.org>
12736
12737 [BZ #16038]
12738 * malloc/hooks.c (memalign_check): Limit alignment to the
12739 maximum representable power of two.
12740 * malloc/malloc.c (__libc_memalign): Likewise.
12741 * malloc/tst-memalign.c (do_test): Add test for very
12742 large alignment values.
12743 * malloc/tst-posix_memalign.c (do_test): Likewise.
12744
c6e4925d
OB
127452013-10-30 Ondřej Bílka <neleai@seznam.cz>
12746
12747 [BZ #11087]
12748 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
12749 (munmap_chunk): Likewise.
12750 (mremap_chunk): Likewise.
12751
127522013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 12753
8a43e768 12754 [BZ #15799]
bbea82f7
OB
12755 * stdlib/div.c (div): Remove obsolete code.
12756 * stdlib/ldiv.c (ldiv): Likewise.
12757 * stdlib/lldiv.c (lldiv): Likewise.
12758
977f4b31
SP
127592013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12760
12761 [BZ #16071]
12762 * nss/nss_files/files-XXX.c (get_contents_ret): New
12763 enumerator.
12764 (get_contents): New function.
12765 (internal_getent): Use it. Expand size of LINEBUFLEN.
12766
cb8a6dbd
MF
127672013-10-30 Mike Frysinger <vapier@gentoo.org>
12768
12769 * configure.in: Moved to ...
12770 * configure.ac: ... here. Change reference to configure.in
12771 to configure.ac.
12772 * sysdeps/arm/preconfigure.ac: ... here.
12773 configure.in to configure.ac.
12774 * sysdeps/gnu/configure.in: Moved to ...
12775 * sysdeps/gnu/configure.ac: ... here.
12776 * sysdeps/i386/configure.in: Moved to ...
12777 * sysdeps/i386/configure.ac: ... here.
12778 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
12779 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
12780 * sysdeps/mach/configure.in: Moved to ...
12781 * sysdeps/mach/configure.ac: ... here.
12782 * sysdeps/mach/hurd/configure.in: Moved to ...
12783 * sysdeps/mach/hurd/configure.ac: ... here.
12784 * sysdeps/powerpc/configure.in: Moved to ...
12785 * sysdeps/powerpc/configure.ac: ... here.
12786 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
12787 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
12788 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
12789 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
12790 * sysdeps/s390/s390-32/configure.in: Moved to ...
12791 * sysdeps/s390/s390-32/configure.ac: ... here.
12792 * sysdeps/s390/s390-64/configure.in: Moved to ...
12793 * sysdeps/s390/s390-64/configure.ac: ... here.
12794 * sysdeps/sh/configure.in: Moved to ...
12795 * sysdeps/sh/configure.ac: ... here.
12796 * sysdeps/sparc/configure.in: Moved to ...
12797 * sysdeps/sparc/configure.ac: ... here.
12798 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
12799 * sysdeps/unix/sysv/linux/configure.ac: ... here.
12800 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
12801 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
12802 * sysdeps/x86_64/configure.in: Moved to ...
12803 * sysdeps/x86_64/configure.ac: ... here.
12804 * sysdeps/x86_64/preconfigure.in: Moved to ...
12805 * sysdeps/x86_64/preconfigure.ac: ... here.
12806 * aclocal.m4: Change reference to configure.in to configure.ac.
12807 * config.h.in: Likewise.
12808 * manual/install.texi: Likewise.
12809 * manual/maint.texi: Likewise.
12810 * Makefile: Likewise.
12811 * malloc/Makefile: Likewise.
12812 * nscd/Makefile: Likewise.
12813 * Makeconfig: Change reference to configure.in and
12814 preconfigure.in to configure.ac and preconfigure.ac
12815 respectively.
12816 * INSTALL: Regenerated.
12817 * configure: Likewise.
12818 * sysdeps/gnu/configure: Likewise.
12819 * sysdeps/i386/configure: Likewise.
12820 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
12821 * sysdeps/mach/configure: Likewise.
12822 * sysdeps/mach/hurd/configure: Likewise.
12823 * sysdeps/powerpc/configure: Likewise.
12824 * sysdeps/powerpc/powerpc32/configure: Likewise.
12825 * sysdeps/powerpc/powerpc64/configure: Likewise.
12826 * sysdeps/s390/s390-32/configure: Likewise.
12827 * sysdeps/s390/s390-64/configure: Likewise.
12828 * sysdeps/sh/configure: Likewise.
12829 * sysdeps/sparc/configure: Likewise.
12830 * sysdeps/unix/sysv/linux/configure: Likewise.
12831 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
12832 * sysdeps/x86_64/configure: Likewise.
12833 * sysdeps/x86_64/preconfigure: Likewise.
12834
36a4953a
AS
128352013-10-29 Andreas Schwab <schwab@suse.de>
12836
12837 * stdio-common/Makefile (tst-swscanf-ENV): Define.
12838
c79a1204
SP
128392013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12840
dfa1b402
SP
12841 * benchtests/pow-inputs: Add new inputs.
12842
54f73d9c
SP
12843 * benchtests/exp-inputs: Add new inputs.
12844
c79a1204
SP
12845 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
12846 conditional check for return value.
12847 (__cos32): Likewise.
12848
67beb545 128492013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
12850
12851 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
12852 to provide a boost for large inputs with word alignment.
12853 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
12854 implementation based on optimized PPC64 strcpy.
12855 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
12856 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
12857 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
12858 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
12859
151659f6
OB
128602013-10-25 Ondřej Bílka <neleai@seznam.cz>
12861
482a077e 12862 [BZ #2801]
151659f6
OB
12863 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
12864
10b0f26b
OB
128652013-10-25 Ondřej Bílka <neleai@seznam.cz>
12866
12867 [BZ #14876]
12868 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
12869 * time/tst-strptime.c (day_tests): Add testcase.
12870
ca42d35e
OB
128712013-10-25 Ondřej Bílka <neleai@seznam.cz>
12872
482a077e 12873 [BZ #14029]
ca42d35e
OB
12874 * manual/pattern.texi: Acknowledge that fnmatch can fail.
12875
52e6d801
FB
128762013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
12877
12878 [BZ #16074]
12879 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
12880 MAP_FAILED on error.
12881
7cbcdb36
SP
128822013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12883
12884 [BZ #16072]
12885 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
12886 heap for large requests.
12887
894f3f10
AM
128882013-10-25 Aurelien Jarno <aurelien@aurel32.net>
12889
12890 [BZ #9954]
12891 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
12892 result if the result has no associated interface.
12893 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
12894 interface for all 127.X.Y.Z addresses.
12895
b85545a6
CL
128962013-10-24 Chris Leonard <cjl@sugarlabs.org>
12897
12898 * locale/iso-639.def: Add Ligurian (lij)
12899
d1f23d46
OB
129002013-10-21 Ondřej Bílka <neleai@seznam.cz>
12901
12902 [BZ #15825]
12903 * sunrpc/rpc_main.c: Document rpcgen -5.
12904
4db5b08f
MS
129052013-10-19 Michael Stahl <mstahl@redhat.com>
12906
12907 * elf/rtld.c (do_preload): Print the reason why preloading failed.
12908
a471e96a
OB
129092013-10-19 Ondřej Bílka <neleai@seznam.cz>
12910
d1f23d46 12911 [BZ #10278]
a471e96a
OB
12912 * posix/glob.c: Match only directories when trailing slash is present.
12913 * posix/tst-gnuglob.c (my_opendir): Do not open files.
12914 (main): Add testcase.
12915
45c30c61
OB
129162013-10-19 Ondřej Bílka <neleai@seznam.cz>
12917
12918 [BZ #15670]
12919 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
12920
484c12fb
CD
129212013-10-18 Carlos O'Donell <carlos@redhat.com>
12922
3d7dc513
CD
12923 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
12924 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
12925 AUTH_DES and cindex for FIPS 140-2.
12926 (DES Encryption): Add cindex FIPS 46-3.
12927
484c12fb
CD
12928 * locale/locarchive.h (struct locarhandle): Add fname.
12929 * locale/programs/localedef.c (main): Pass ARGV[remaining]
12930 if an optional argument was specified to --list-archive,
12931 otherwise NULL.
12932 * locale/programs/locarchive.c (show_archive_content): Take new
12933 argument fname and pass it via ah.fname to open_archive.
12934 * locale/programs/localedef.h: Update decl.
12935 (open_archive): If AH->fname is non-null, open that file
12936 rather than the default file name, and don't ignore ENOENT.
12937 (create_archive): Set AH.fname to NULL.
12938 (delete_locales_from_archive): Likewise.
12939 (add_locales_to_archive): Likewise.
12940 * locale/programs/locfile.c (write_all_categories): Likewise.
12941
3c8325fb
JM
129422013-10-18 Joseph Myers <joseph@codesourcery.com>
12943 Aldy Hernandez <aldyh@redhat.com>
12944
12945 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
12946 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
12947 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
12948 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
12949 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
12950 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
12951 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
12952 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
12953 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
12954 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
12955 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
12956 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
12957 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
12958 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
12959 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
12960 Likewise.
12961 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
12962 Likewise.
12963 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
12964 Likewise.
12965 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
12966 Likewise.
12967 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
12968 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
12969 Likewise.
12970 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
12971 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
12972 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
12973 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
12974 Likewise.
12975 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
12976 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
12977 * sysdeps/powerpc/preconfigure: Likewise.
12978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12979 Likewise.
12980 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
12981 Replace contents of file by #include of <fenv_libc.h>.
12982 * sysdeps/powerpc/soft-fp/sfp-machine.h
12983 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
12984 and <sys/prctl.h>.
12985 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
12986 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
12987 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
12988 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
12989 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
12990 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
12991 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
12992 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
12993 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
12994 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
12995 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
12996 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
12997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12998 Allow copysignl PLT reference to be missing.
12999
5abe0682
RS
130002013-10-18 Richard Sandiford <richard@codesourcery.com>
13001 Joseph Myers <joseph@codesourcery.com
13002
13003 [BZ #15948]
13004 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
13005 single character.
13006 (add_to_tablewc): Assert sequence of wide characters is nonempty.
13007
c7738d08
SP
130082013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13009
13010 * elf/tst-tls-dlinfo.c: Don't include tls.h.
13011 * elf/tst-tls1.c: Likewise.
13012 * elf/tst-tls10.h: Likewise.
13013 * elf/tst-tls14.c: Likewise.
13014 * elf/tst-tls2.c: Likewise.
13015 * elf/tst-tls3.c: Likewise.
13016 * elf/tst-tls4.c: Likewise.
13017 * elf/tst-tls5.c: Likewise.
13018 * elf/tst-tls6.c: Likewise.
13019 * elf/tst-tls7.c: Likewise.
13020 * elf/tst-tls8.c: Likewise.
13021 * elf/tst-tls9.c: Likewise.
13022 * elf/tst-tlsmod1.c: Likewise.
13023 * elf/tst-tlsmod13.c: Likewise.
13024 * elf/tst-tlsmod13a.c: Likewise.
13025 * elf/tst-tlsmod14a.c: Likewise.
13026 * elf/tst-tlsmod16a.c: Likewise.
13027 * elf/tst-tlsmod16b.c: Likewise.
13028 * elf/tst-tlsmod2.c: Likewise.
13029 * elf/tst-tlsmod3.c: Likewise.
13030 * elf/tst-tlsmod4.c: Likewise.
13031 * elf/tst-tlsmod5.c: Likewise.
13032 * elf/tst-tlsmod6.c: Likewise.
13033
0bfcf2c7
OB
130342013-10-18 Ondřej Bílka <neleai@seznam.cz>
13035
13036 [BZ #12486]
13037 * malloc/malloc.c: remove checks for statistics.
13038
264aad1e
OB
130392013-10-17 Ondřej Bílka <neleai@seznam.cz>
13040
13041 [BZ #15277]
13042 * inet/inet_net.c (inet_network): Detect additional invalid strings.
13043 * inet/tst-network.c: Add testcase.
13044
b957ced8
AS
130452013-10-17 Andreas Schwab <schwab@suse.de>
13046
13047 [BZ #15218]
13048 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
13049 to determine canonical name.
13050
c5d5d574
OB
130512013-10-17 Ondřej Bílka <neleai@seznam.cz>
13052
13053 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
13054 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
13055 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13056 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13057 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13058 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13059 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13060 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13061 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13062 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13063 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13064 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13065 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13066 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13067 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13068 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13069 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13070 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13071 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13072 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13073 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13074 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13075 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13076 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
13077 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
13078 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13079 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13080 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
13081 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13082 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
13083 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13084 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13085 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13086 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13087 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13088 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13089 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13090 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13091 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13092 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13093 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13094 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13095 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13096 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13097 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13098 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13099 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13100 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13101 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13102 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13103 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13104 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13105 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13106 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13107 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13108 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13109 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13110 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13111
e5c2c2d0
JM
131122013-10-17 Joseph Myers <joseph@codesourcery.com>
13113
13114 [BZ #16041]
13115 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
13116 make result into a quiet NaN.
13117
51ca9e29
JM
131182013-10-16 Joseph Myers <joseph@codesourcery.com>
13119
13120 * soft-fp/adddf3.c: Fix horizontal whitespace.
13121 * soft-fp/addsf3.c: Likewise.
13122 * soft-fp/addtf3.c: Likewise.
13123 * soft-fp/divdf3.c: Likewise.
13124 * soft-fp/divsf3.c: Likewise.
13125 * soft-fp/divtf3.c: Likewise.
13126 * soft-fp/double.h: Likewise.
13127 * soft-fp/eqdf2.c: Likewise.
13128 * soft-fp/eqsf2.c: Likewise.
13129 * soft-fp/eqtf2.c: Likewise.
13130 * soft-fp/extenddftf2.c: Likewise.
13131 * soft-fp/extended.h: Likewise.
13132 * soft-fp/extendsfdf2.c: Likewise.
13133 * soft-fp/extendsftf2.c: Likewise.
13134 * soft-fp/extendxftf2.c: Likewise.
13135 * soft-fp/fixdfdi.c: Likewise.
13136 * soft-fp/fixdfsi.c: Likewise.
13137 * soft-fp/fixdfti.c: Likewise.
13138 * soft-fp/fixsfdi.c: Likewise.
13139 * soft-fp/fixsfsi.c: Likewise.
13140 * soft-fp/fixsfti.c: Likewise.
13141 * soft-fp/fixtfdi.c: Likewise.
13142 * soft-fp/fixtfsi.c: Likewise.
13143 * soft-fp/fixtfti.c: Likewise.
13144 * soft-fp/fixunsdfdi.c: Likewise.
13145 * soft-fp/fixunsdfsi.c: Likewise.
13146 * soft-fp/fixunsdfti.c: Likewise.
13147 * soft-fp/fixunssfdi.c: Likewise.
13148 * soft-fp/fixunssfsi.c: Likewise.
13149 * soft-fp/fixunssfti.c: Likewise.
13150 * soft-fp/fixunstfdi.c: Likewise.
13151 * soft-fp/fixunstfsi.c: Likewise.
13152 * soft-fp/fixunstfti.c: Likewise.
13153 * soft-fp/floatdidf.c: Likewise.
13154 * soft-fp/floatdisf.c: Likewise.
13155 * soft-fp/floatditf.c: Likewise.
13156 * soft-fp/floatsidf.c: Likewise.
13157 * soft-fp/floatsisf.c: Likewise.
13158 * soft-fp/floatsitf.c: Likewise.
13159 * soft-fp/floattidf.c: Likewise.
13160 * soft-fp/floattisf.c: Likewise.
13161 * soft-fp/floattitf.c: Likewise.
13162 * soft-fp/floatundidf.c: Likewise.
13163 * soft-fp/floatundisf.c: Likewise.
13164 * soft-fp/floatunditf.c: Likewise.
13165 * soft-fp/floatunsidf.c: Likewise.
13166 * soft-fp/floatunsisf.c: Likewise.
13167 * soft-fp/floatunsitf.c: Likewise.
13168 * soft-fp/floatuntidf.c: Likewise.
13169 * soft-fp/floatuntisf.c: Likewise.
13170 * soft-fp/floatuntitf.c: Likewise.
13171 * soft-fp/fmadf4.c: Likewise.
13172 * soft-fp/fmasf4.c: Likewise.
13173 * soft-fp/fmatf4.c: Likewise.
13174 * soft-fp/gedf2.c: Likewise.
13175 * soft-fp/gesf2.c: Likewise.
13176 * soft-fp/getf2.c: Likewise.
13177 * soft-fp/ledf2.c: Likewise.
13178 * soft-fp/lesf2.c: Likewise.
13179 * soft-fp/letf2.c: Likewise.
13180 * soft-fp/muldf3.c: Likewise.
13181 * soft-fp/mulsf3.c: Likewise.
13182 * soft-fp/multf3.c: Likewise.
13183 * soft-fp/negdf2.c: Likewise.
13184 * soft-fp/negsf2.c: Likewise.
13185 * soft-fp/negtf2.c: Likewise.
13186 * soft-fp/op-1.h: Likewise.
13187 * soft-fp/op-2.h: Likewise.
13188 * soft-fp/op-4.h: Likewise.
13189 * soft-fp/op-8.h: Likewise.
13190 * soft-fp/op-common.h: Likewise.
13191 * soft-fp/quad.h: Likewise.
13192 * soft-fp/single.h: Likewise.
13193 * soft-fp/soft-fp.h: Likewise.
13194 * soft-fp/sqrtdf2.c: Likewise.
13195 * soft-fp/sqrtsf2.c: Likewise.
13196 * soft-fp/sqrttf2.c: Likewise.
13197 * soft-fp/subdf3.c: Likewise.
13198 * soft-fp/subsf3.c: Likewise.
13199 * soft-fp/subtf3.c: Likewise.
13200 * soft-fp/truncdfsf2.c: Likewise.
13201 * soft-fp/trunctfdf2.c: Likewise.
13202 * soft-fp/trunctfsf2.c: Likewise.
13203 * soft-fp/trunctfxf2.c: Likewise.
13204 * soft-fp/unorddf2.c: Likewise.
13205 * soft-fp/unordsf2.c: Likewise.
13206 * soft-fp/unordtf2.c: Likewise.
13207
9ebb0332
JM
132082013-10-15 Joseph Myers <joseph@codesourcery.com>
13209
13210 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
13211 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
13212
4b1a6d8b
OB
132132013-10-15 Ondřej Bílka <neleai@seznam.cz>
13214
13215 * elf/dl-libc.c: Clear initfini list after freeing.
13216
1e145589
JM
132172013-10-14 Joseph Myers <joseph@codesourcery.com>
13218
13219 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
13220 * soft-fp/addsf3.c: Likewise.
13221 * soft-fp/addtf3.c: Likewise.
13222 * soft-fp/divdf3.c: Likewise.
13223 * soft-fp/divsf3.c: Likewise.
13224 * soft-fp/divtf3.c: Likewise.
13225 * soft-fp/double.h: Likewise.
13226 * soft-fp/eqdf2.c: Likewise.
13227 * soft-fp/eqsf2.c: Likewise.
13228 * soft-fp/eqtf2.c: Likewise.
13229 * soft-fp/extenddftf2.c: Likewise.
13230 * soft-fp/extended.h: Likewise.
13231 * soft-fp/extendsfdf2.c: Likewise.
13232 * soft-fp/extendsftf2.c: Likewise.
13233 * soft-fp/extendxftf2.c: Likewise.
13234 * soft-fp/fixdfdi.c: Likewise.
13235 * soft-fp/fixdfsi.c: Likewise.
13236 * soft-fp/fixdfti.c: Likewise.
13237 * soft-fp/fixsfdi.c: Likewise.
13238 * soft-fp/fixsfsi.c: Likewise.
13239 * soft-fp/fixsfti.c: Likewise.
13240 * soft-fp/fixtfdi.c: Likewise.
13241 * soft-fp/fixtfsi.c: Likewise.
13242 * soft-fp/fixtfti.c: Likewise.
13243 * soft-fp/fixunsdfdi.c: Likewise.
13244 * soft-fp/fixunsdfsi.c: Likewise.
13245 * soft-fp/fixunsdfti.c: Likewise.
13246 * soft-fp/fixunssfdi.c: Likewise.
13247 * soft-fp/fixunssfsi.c: Likewise.
13248 * soft-fp/fixunssfti.c: Likewise.
13249 * soft-fp/fixunstfdi.c: Likewise.
13250 * soft-fp/fixunstfsi.c: Likewise.
13251 * soft-fp/fixunstfti.c: Likewise.
13252 * soft-fp/floatdidf.c: Likewise.
13253 * soft-fp/floatdisf.c: Likewise.
13254 * soft-fp/floatditf.c: Likewise.
13255 * soft-fp/floatsidf.c: Likewise.
13256 * soft-fp/floatsisf.c: Likewise.
13257 * soft-fp/floatsitf.c: Likewise.
13258 * soft-fp/floattidf.c: Likewise.
13259 * soft-fp/floattisf.c: Likewise.
13260 * soft-fp/floattitf.c: Likewise.
13261 * soft-fp/floatundidf.c: Likewise.
13262 * soft-fp/floatundisf.c: Likewise.
13263 * soft-fp/floatunsidf.c: Likewise.
13264 * soft-fp/floatunsisf.c: Likewise.
13265 * soft-fp/floatuntidf.c: Likewise.
13266 * soft-fp/floatuntisf.c: Likewise.
13267 * soft-fp/floatuntitf.c: Likewise.
13268 * soft-fp/fmadf4.c: Likewise.
13269 * soft-fp/fmasf4.c: Likewise.
13270 * soft-fp/fmatf4.c: Likewise.
13271 * soft-fp/gedf2.c: Likewise.
13272 * soft-fp/gesf2.c: Likewise.
13273 * soft-fp/getf2.c: Likewise.
13274 * soft-fp/ledf2.c: Likewise.
13275 * soft-fp/lesf2.c: Likewise.
13276 * soft-fp/letf2.c: Likewise.
13277 * soft-fp/muldf3.c: Likewise.
13278 * soft-fp/mulsf3.c: Likewise.
13279 * soft-fp/multf3.c: Likewise.
13280 * soft-fp/negdf2.c: Likewise.
13281 * soft-fp/negsf2.c: Likewise.
13282 * soft-fp/negtf2.c: Likewise.
13283 * soft-fp/op-1.h: Likewise.
13284 * soft-fp/op-2.h: Likewise.
13285 * soft-fp/op-4.h: Likewise.
13286 * soft-fp/op-8.h: Likewise.
13287 * soft-fp/op-common.h: Likewise.
13288 * soft-fp/quad.h: Likewise.
13289 * soft-fp/single.h: Likewise.
13290 * soft-fp/soft-fp.h: Likewise.
13291 * soft-fp/sqrtdf2.c: Likewise.
13292 * soft-fp/sqrtsf2.c: Likewise.
13293 * soft-fp/sqrttf2.c: Likewise.
13294 * soft-fp/subdf3.c: Likewise.
13295 * soft-fp/subsf3.c: Likewise.
13296 * soft-fp/subtf3.c: Likewise.
13297 * soft-fp/truncdfsf2.c: Likewise.
13298 * soft-fp/trunctfdf2.c: Likewise.
13299 * soft-fp/trunctfsf2.c: Likewise.
13300 * soft-fp/trunctfxf2.c: Likewise.
13301 * soft-fp/unorddf2.c: Likewise.
13302 * soft-fp/unordsf2.c: Likewise.
13303 * soft-fp/unordtf2.c: Likewise.
13304
17c48a60
OB
133052013-10-14 Ondřej Bílka <neleai@seznam.cz>
13306
13307 [BZ #15672]
13308 * misc/error.c (error_tail): Fix possible buffer overflow.
13309
cabba934
OB
133102013-10-14 Aurelien Jarno <aurelien@aurel32.net>
13311
13312 [BZ #13028]
13313 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
13314 address.
13315
94bf958a
PM
133162013-10-14 P. J. McDermott <pj@pehjota.net>
13317
13318 [BZ #832]
13319 * elf/ldd.bash.in (try_trace): New function. Delete previous code
13320 testing pipefail option.
13321
71b4dea7
JM
133222013-10-12 Joseph Myers <joseph@codesourcery.com>
13323
13324 * soft-fp/double.h: Indent preprocessor directives inside #if.
13325 * soft-fp/extended.h: Likewise.
13326 * soft-fp/op-2.h: Likewise.
13327 * soft-fp/op-4.h: Likewise.
13328 * soft-fp/op-common.h: Likewise.
13329 * soft-fp/quad.h: Likewise.
13330 * soft-fp/single.h: Likewise.
13331 * soft-fp/soft-fp.h: Likewise.
13332
55602758
YC
133332013-10-12 Yuri Chornoivan <yurchor@ukr.net>
13334
13335 * iconv/iconv_prog.c: Fix typos.
13336 * stdio-common/psiginfo-data.h: Likewise.
13337
9cd83302
RT
133382013-10-12 Reuben Thomas <rrt@sc3d.org>
13339
13340 [BZ #15764]
13341 * locale/setlocale.c: Fix typo.
13342
99fd9f47
JM
133432013-10-12 Joseph Myers <joseph@codesourcery.com>
13344
b7ea74f0
JM
13345 [BZ #16036]
13346 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
13347 signaling NaN arguments.
13348 * soft-fp/unordsf2.c (__unordsf2): Likewise.
13349 * soft-fp/unordtf2.c (__unordtf2): Likewise.
13350
8a509447
JM
13351 [BZ #14910]
13352 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
13353 unordered operands.
13354 * soft-fp/gesf2.c (__gesf2): Likewise.
13355 * soft-fp/getf2.c (__getf2): Likewise.
13356 * soft-fp/ledf2.c (__ledf2): Likewise.
13357 * soft-fp/lesf2.c (__lesf2): Likewise.
13358 * soft-fp/letf2.c (__letf2): Likewise.
13359
98998e9f
JM
13360 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
13361 * soft-fp/eqsf2.c (__eqsf2): Likewise.
13362 * soft-fp/eqtf2.c (__eqtf2): Likewise.
13363 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
13364 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
13365 * soft-fp/fixdfti.c (__fixdfti): Likewise.
13366 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
13367 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
13368 * soft-fp/fixsfti.c (__fixsfti): Likewise.
13369 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
13370 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
13371 * soft-fp/fixtfti.c (__fixtfti): Likewise.
13372 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
13373 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
13374 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
13375 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
13376 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
13377 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
13378 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
13379 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
13380 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
13381 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
13382 * soft-fp/floatdisf.c (__floatdisf): Likewise.
13383 * soft-fp/floatsisf.c (__floatsisf): Likewise.
13384 * soft-fp/floattidf.c (__floattidf): Likewise.
13385 * soft-fp/floattisf.c (__floattisf): Likewise.
13386 * soft-fp/floattitf.c (__floattitf): Likewise.
13387 * soft-fp/floatundidf.c (__floatundidf): Likewise.
13388 * soft-fp/floatundisf.c (__floatundisf): Likewise.
13389 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
13390 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
13391 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
13392 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
13393 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
13394 * soft-fp/gesf2.c (__gesf2): Likewise.
13395 * soft-fp/getf2.c (__getf2): Likewise.
13396 * soft-fp/ledf2.c (__ledf2): Likewise.
13397 * soft-fp/lesf2.c (__lesf2): Likewise.
13398 * soft-fp/letf2.c (__letf2): Likewise.
13399
8edc4a11
JM
13400 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
13401 Undefine and redefine.
13402 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
13403 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
13404 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
13405 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
13406 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13407 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
13408 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13409 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
13410 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13411 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
13412 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13413 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
13414 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13415 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
13416 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13417
8399acaf
JM
13418 [BZ #16032]
13419 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
13420 without decrementing exponent if mantissa >= that for the
13421 denominator, not >.
13422 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
13423 denominator, not >. Decrement exponent in < case instead of
13424 incrementing in >= case.
13425 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
13426 without decrementing exponent if mantissa >= that for the
13427 denominator, not >.
13428
99fd9f47
JM
13429 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
13430 computing saturated result for unsigned overflow.
13431
10e1cf6b
SP
134322013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13433 Jeff Law <law@redhat.com>
13434
13435 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
13436 (atan2Mp): Add systemtap probe marker.
13437 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
13438 (__ieee754_log): Add systemtap probe marker.
13439 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
13440 (atanMp): Add systemtap probe marker.
13441 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
13442 (tanMp): Add systemtap probe marker.
13443 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
13444 (__slowexp): Add systemtap probe marker.
13445 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
13446 (__slowpow): Add systemtap probe marker.
13447 * manual/probes.texi: Document probes.
13448
3d110c7c
EB
134492013-10-11 Eric Biggers <ebiggers3@gmail.com>
13450
13451 [BZ #15362]
13452 * libio/fileops.c (_IO_new_file_write): Return count of bytes
13453 written.
13454 (_IO_new_file_xsputn): Don't return EOF if nothing has been
13455 written.
13456 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
13457 written to buffer but not flushed.
13458 * libio/iofwrite_u.c: Likewise.
13459 * libio/iopadn.c: Return bytes returned even if EOF was
13460 encountered.
13461 * libio/iowpadn.c: Likewise.
13462 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
13463 if _IO_padn does not write the whole buffer.
13464 [!COMPILE_WPRINTF] (PAD): Likewise.
13465
75b4202a
DM
134662013-10-10 David S. Miller <davem@davemloft.net>
13467
13468 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
13469 directory block.
13470
6c6352e6
JM
134712013-10-10 Joseph Myers <joseph@codesourcery.com>
13472
33b853c3
JM
13473 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
13474 instead of FSF address.
13475 * soft-fp/fixdfti.c: Likewise.
13476 * soft-fp/fixsfti.c: Likewise.
13477 * soft-fp/fixtfti.c: Likewise.
13478 * soft-fp/fixunsdfti.c: Likewise.
13479 * soft-fp/fixunssfti.c: Likewise.
13480 * soft-fp/fixunstfti.c: Likewise.
13481 * soft-fp/floattidf.c: Likewise.
13482 * soft-fp/floattisf.c: Likewise.
13483 * soft-fp/floattitf.c: Likewise.
13484 * soft-fp/floatuntidf.c: Likewise.
13485 * soft-fp/floatuntisf.c: Likewise.
13486 * soft-fp/floatuntitf.c: Likewise.
13487 * soft-fp/trunctfxf2.c: Likewise.
13488
6c6352e6
JM
13489 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
13490 * soft-fp/fixdfti.c: Likewise.
13491 * soft-fp/fixsfti.c: Likewise.
13492 * soft-fp/fixtfti.c: Likewise.
13493 * soft-fp/fixunsdfti.c: Likewise.
13494 * soft-fp/fixunssfti.c: Likewise.
13495 * soft-fp/fixunstfti.c: Likewise.
13496 * soft-fp/floattidf.c: Likewise.
13497 * soft-fp/floattisf.c: Likewise.
13498 * soft-fp/floattitf.c: Likewise.
13499 * soft-fp/floatuntidf.c: Likewise.
13500 * soft-fp/floatuntisf.c: Likewise.
13501 * soft-fp/floatuntitf.c: Likewise.
13502 * soft-fp/trunctfxf2.c: Likewise.
13503
3bf78b71
DM
135042013-10-10 David S. Miller <davem@davemloft.net>
13505
13506 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13507
6f10289e
JM
135082013-10-10 Joseph Myers <joseph@codsourcery.com>
13509
bd878fc0
JM
13510 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13511 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
13512 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
13513 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
13514 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
13515 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
13516 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
13517
6f10289e
JM
13518 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
13519 for NaNs before doing comparisons on argument.
13520 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
13521 Likewise.
13522
321e2684
WN
135232013-10-10 Will Newton <will.newton@linaro.org>
13524
13525 * malloc/hooks.c (memalign_check): Ensure the value of bytes
13526 passed to _int_memalign does not overflow.
13527
40fefba1
TR
135282013-10-10 Torvald Riegel <triegel@redhat.com>
13529
13530 * scripts/bench.pl: Add include-sources directive.
13531 * benchtests/README: Update documentation.
13532
2ae21ed2
JM
135332013-10-10 Joseph Myers <joseph@codesourcery.com>
13534
dcc2dd3f
JM
13535 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
13536 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
13537 instead of FP_INIT_ROUNDMODE.
13538 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
13539 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
13540
2ae21ed2
JM
13541 [BZ #16034]
13542 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
13543 copy class of input value.
13544 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
13545 not handle exceptions.
13546 * soft-fp/negsf2.c (__negsf2): Likewise.
13547 * soft-fp/negtf2.c (__negtf2): Likewise.
13548 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
13549
cb8f9562
JM
135502013-10-09 Joseph Myers <joseph@codesourcery.com>
13551
13552 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
13553 semicolon. From Linux kernel.
13554
5b60c59d
AB
135552013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
13556
13557 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
13558
b86835ca
YC
135592013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
13560
13561 [BZ #156]
13562 * manual/socket.texi: Added statement about buffer
13563 for gethostbyname2_r.
13564
e7044ea7
OB
135652013-10-08 Ondřej Bílka <neleai@seznam.cz>
13566
13567 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
13568 Use .p2align directive instead, throughout.
13569 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13570 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
13571 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
13572 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13573 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13574 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
13575 * sysdeps/x86_64/strchr.S: Likewise.
13576 * sysdeps/x86_64/strrchr.S: Likewise.
13577
09544cbc
SP
135782013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13579
88576635
SP
13580 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
13581
e7b2d1dd
SP
13582 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
13583
09544cbc
SP
13584 * sysdeps/generic/math_private.h (__mpsin1): Remove
13585 declaration.
13586 (__mpcos1): Likewise.
13587 (__mpsin): New argument __range_reduce.
13588 (__mpcos): Likewise.
13589 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13590 (slow): Use __mpsin and __mpcos.
13591 (slow1): Likewise.
13592 (slow2): Likewise.
13593 (sloww): Likewise.
13594 (sloww1): Likewise.
13595 (sloww2): Likewise.
13596 (bsloww): Likewise.
13597 (bsloww1): Likewise.
13598 (bsloww2): Likewise.
13599 (cslow2): Likewise.
13600 (csloww): Likewise.
13601 (csloww1): Likewise.
13602 (csloww2): Likewise.
13603 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
13604 range_reduce. Merge in __mpsin1.
13605 (__mpcos): Likewise.
13606 (__mpsin1): Remove.
13607 (__mpcos1): Likewise.
13608
7602d070
JM
136092013-10-07 Joseph Myers <joseph@codesourcery.com>
13610
13611 * locale/loadlocale.c (_nl_intern_locale_data): Use
13612 LOCFILE_ALIGNED_P.
13613 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
13614 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
13615 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
13616 obstack data is appropriately aligned.
13617 (obstack_int32_grow_fast): Likewise.
13618 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
13619 * locale/programs/locfile.c (add_locale_uint32): Likewise.
13620 (add_locale_uint32_array): Likewise.
13621
a357259b
SP
136222013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13623
13624 * benchtests/Makefile: Remove ARGLIST and RET variables.
13625 ($(objpfx)bench-%.c): Pass only function name to the script.
13626 * benchtests/README: Update documentation.
13627 * benchtests/acos-inputs: Add new directives.
13628 * benchtests/acosh-inputs: Likewise.
13629 * benchtests/asin-inputs: Likewise.
13630 * benchtests/asinh-inputs: Likewise.
13631 * benchtests/atan-inputs: Likewise.
13632 * benchtests/atanh-inputs: Likewise.
13633 * benchtests/cos-inputs: Likewise.
13634 * benchtests/cosh-inputs: Likewise.
13635 * benchtests/exp-inputs: Likewise.
13636 * benchtests/log-inputs: Likewise.
13637 * benchtests/pow-inputs: Likewise.
13638 * benchtests/rint-inputs: Likewise.
13639 * benchtests/sin-inputs: Likewise.
13640 * benchtests/sinh-inputs: Likewise.
13641 * benchtests/tan-inputs: Likewise.
13642 * benchtests/tanh-inputs: Likewise.
13643 * scripts/bench.pl: Add support for new directives.
13644
9ec1b13d
AM
136452013-10-07 Alan Modra <amodra@gmail.com>
13646
13647 * README: Fix careless merge.
13648
8b7d57cd
AM
136492013-10-05 Alan Modra <amodra@gmail.com>
13650
13651 * NEWS: Mention powerpc64le support and bugs fixed.
13652 * README: Both big-endian and little-endian powerpc64 supported.
13653
7b7bab13
ST
136542013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13655
57f41c40
AS
13656 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
13657 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
13658 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
13659 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
13660
d39baad1
RA
136612013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
13662
13663 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
13664 match prototype.
13665
cd78f7e7
JM
136662013-10-04 Joseph Myers <joseph@codesourcery.com>
13667
29d73d86
JM
13668 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
13669 Move -mhard-float appending from
13670 ports/sysdeps/powerpc/powerpc32/Makefile.
13671 [$(with-fp) = yes] (ASFLAGS): Likewise.
13672 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
13673 * sysdeps/powerpc/nofpu: Move directory from
13674 ports/sysdeps/powerpc/nofpu.
13675 * sysdeps/powerpc/soft-fp: Move directory from
13676 ports/sysdeps/powerpc/soft-fp.
13677 * sysdeps/powerpc/powerpc32/405: Move directory from
13678 ports/sysdeps/powerpc/powerpc32/405.
13679 * sysdeps/powerpc/powerpc32/440: Move directory from
13680 ports/sysdeps/powerpc/powerpc32/440.
13681 * sysdeps/powerpc/powerpc32/464: Move directory from
13682 ports/sysdeps/powerpc/powerpc32/464.
13683 * sysdeps/powerpc/powerpc32/476: Move directory from
13684 ports/sysdeps/powerpc/powerpc32/476.
13685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
13686 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
13687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
13688 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
13689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
13690 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
13691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
13692 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
13693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
13694 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
13695 * README: Update for powerpc-*-linux-gnu software floating point
13696 support in libc.
13697
e246b347
JM
13698 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
13699 case to powerpc/powerpc32*.
13700 * sysdeps/unix/sysv/linux/configure: Regenerated.
13701
89c2003e
JM
13702 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
13703 (_FPU_MASK_OM): Define as 0x04.
13704 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
13705 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
13706 0x00c10080.
13707 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
13708 0x0000003c.
13709 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
13710
cd78f7e7
JM
13711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
13712 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13713 getcontext_e500.
13714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
13715 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13716 setcontext_e500.
13717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
13718 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
13719 and setcontext_e500.
13720
c755294d
CL
137212013-10-04 Chris Leonard <cjl@sugarlabs,.org>
13722
13723 * locale/iso-3166.def: Update iso-1366.def and related occurrences
13724
e16d221c
SP
137252013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13726
13727 * manual/threads.texi (Default Thread Attributes): Fix typo.
13728
215c7d43
WN
137292013-10-04 Will Newton <will.newton@linaro.org>
13730
13731 * malloc/Makefile: Add tst-memalign.
13732 * malloc/tst-memalign.c: New file.
13733
27d0461b
WN
13734 * malloc/tst-posix_memalign.c: Add comments.
13735 (do_test): Add comments and call free on all potentially
13736 allocated pointers. Add space after cast.
13737
1bc92709
WN
13738 * malloc/tst-pvalloc.c: Add comments.
13739 (do_test): Add comments and call free on all potentially
13740 allocated pointers. Remove duplicate check for NULL pointer.
13741 Add space after cast.
13742
66a9be9d
WN
13743 * malloc/tst-valloc.c: Add comments.
13744 (do_test): Add comments and call free on all potentially
13745 allocated pointers. Remove duplicate check for NULL pointer.
13746 Add space after cast.
13747
4cb81307
AM
137482013-10-04 Alan Modra <amodra@gmail.com>
13749
13750 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13751 Use stdint types in rather than __attribute__((mode())).
13752 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13753
f8e3e9f3
AM
137542013-10-04 Alan Modra <amodra@gmail.com>
13755
13756 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13757 Correct handling of unaligned relocs for little-endian.
13758 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13759
8f9ebb08
AM
137602013-10-04 Alan Modra <amodra@gmail.com>
13761
13762 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
13763 * configure: Regenerate.
13764 * nptl/shlib-versions: Powerpc*le starts at 2.18.
13765 * shlib-versions: Likewise.
13766
0edf96c2
AM
137672013-10-04 Alan Modra <amodra@gmail.com>
13768
13769 * string/tester.c (test_memrchr): Increment reported test cycle.
13770
e0f7a380
AM
137712013-10-04 Alan Modra <amodra@gmail.com>
13772
13773 * string/test-memcpy.c (do_one_test): When reporting errors, print
13774 string address and don't overrun end of string.
13775
466b0393
AM
137762013-10-04 Alan Modra <amodra@gmail.com>
13777
13778 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
13779 insrdi. Make better use of reg selection to speed exit slightly.
13780 Schedule entry path a little better. Remove useless "are we done"
13781 checks on entry to main loop. Handle wrapping around zero address.
13782 Correct main loop count. Handle single left-over word from main
13783 loop inline rather than by using loop_small. Remove extra word
13784 case in loop_small caused by wrong loop count. Add little-endian
13785 support.
13786 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13787 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
13788 cache hint.
13789 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13790 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
13791 support. Avoid rlwimi.
13792 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
13793
3be87c77
AM
137942013-10-04 Alan Modra <amodra@gmail.com>
13795
13796 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 13797 insrdi. Formatting.
3be87c77
AM
13798 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
13799 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13800 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13801 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13802 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13803 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
13804
759cfef3
AM
138052013-10-04 Alan Modra <amodra@gmail.com>
13806
13807 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
13808 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13809 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13810 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
13811 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13812 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13813 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13814 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13815 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
13816 use of regs. Use power7 mtocrf. Tidy function tails.
13817
fe6e95d7
AM
138182013-10-04 Alan Modra <amodra@gmail.com>
13819
13820 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
13821 Formatting. Consistently use rXXX register defines or rN defines.
13822 Use early exit labels that avoid restoring unused non-volatile regs.
13823 Make cr field use more consistent with rWORDn compares. Rename
13824 regs used as shift registers for unaligned loop, using rN defines
13825 for short lifetime/multiple use regs.
13826 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13827 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
13828 addi 1,1,64 to pop stack frame. Simplify return value code.
13829 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13830
664318c3
AM
138312013-10-04 Alan Modra <amodra@gmail.com>
13832
13833 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
13834 support. Correct typos, formatting. Optimize tail. Use insrdi
13835 rather than rlwimi.
13836 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
13837 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
13838 little-endian support. Correct typos.
13839 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
13840 rather than rlwimi.
13841 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
13842 in loop and entry code to keep "and." results.
13843 (strchr): Add little-endian support. Comment. Move cntlzd
13844 earlier in tail.
13845 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
13846
43b84013
AM
138472013-10-04 Alan Modra <amodra@gmail.com>
13848
13849 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
13850 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
13851 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
13852 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
13853
8a7413f9
AM
138542013-10-04 Alan Modra <amodra@gmail.com>
13855
13856 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
13857 (rTMP): Define as r11.
13858 (strcmp): Add little-endian support. Optimise tail.
13859 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
13860 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13861 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13862 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13863 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13864 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13865 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13866
33ee81de
AM
138672013-10-04 Alan Modra <amodra@gmail.com>
13868
13869 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
13870 little-endian support. Remove unnecessary "are we done" tests.
13871 Handle "s" wrapping around zero and extremely large "size".
13872 Correct main loop count. Handle single left-over word from main
13873 loop inline rather than by using small_loop. Correct comments.
13874 Delete "zero" tail, use "end_max" instead.
13875 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
13876
db9b4570
AM
138772013-10-04 Alan Modra <amodra@gmail.com>
13878
13879 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
13880 support. Don't branch over align.
13881 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
13882 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
13883 support. Rearrange tmp reg use to suit. Comment.
13884 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
13885
f7c399cf
AM
138862013-10-04 Alan Modra <amodra@gmail.com>
13887
13888 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
13889
0b2c2ace
AM
138902013-10-04 Alan Modra <amodra@gmail.com>
13891
13892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
13893 conditional form of branch and link when obtaining pc.
13894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13895
02f04a6c
AM
138962013-10-04 Alan Modra <amodra@gmail.com>
13897
13898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
13899 HIWORD/LOWORD.
13900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
13901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
13902
9b874b2f
AM
139032013-10-04 Alan Modra <amodra@gmail.com>
13904
13905 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
13906 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
13907 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13908 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
13909 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13910 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13911 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
13912 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13913 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
13914 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
13915
be1e5d31
AB
139162013-10-04 Anton Blanchard <anton@au1.ibm.com>
13917 Alistair Popple <alistair@ozlabs.au.ibm.com>
13918 Alan Modra <amodra@gmail.com>
13919
13920 [BZ #15723]
13921 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
13922 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
13923 _dl_hwcap access for little-endian.
13924 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
13925 destroy vmx regs when saving unaligned.
13926 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
13927 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
13928 destroy vmx regs when saving unaligned.
13929
fef13a78
AM
139302013-10-04 Alan Modra <amodra@gmail.com>
13931
13932 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
13933 Don't use a union to pack hi/low value.
13934
76a66d51
AB
139352013-10-04 Anton Blanchard <anton@au1.ibm.com>
13936
13937 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
13938 for little-endian.
13939 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13940 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
13941 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
13942 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13943 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13944
6a31fe7f
AM
139452013-10-04 Alan Modra <amodra@gmail.com>
13946
13947 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
13948 constants to usual value for .cst8 section, and remove redundant
13949 high address load.
13950 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
13951 constant for 0x1p52. Load little-endian words of double from
13952 correct stack offsets.
13953
7b88401f
AM
139542013-10-04 Alan Modra <amodra@gmail.com>
13955
13956 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
13957 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
13958 words of double from correct stack offsets.
13959 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13960 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
13961 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13962 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13963 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13964 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13965 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13966 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13967 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13968 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13969 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13970 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13971 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13972 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13973 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13974 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
13975 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13976
9c008155
AM
139772013-10-04 Alan Modra <amodra@gmail.com>
13978
13979 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
13980 64-bit int/double union.
13981 (_FPU_SETCW): Likewise.
13982 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
13983 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
13984
da13146d
AM
139852013-10-04 Alan Modra <amodra@gmail.com>
13986
13987 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
13988 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
13989
603e8410
AM
139902013-10-04 Alan Modra <amodra@gmail.com>
13991
13992 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
13993 use vector int constants.
13994 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
13995
4a28b3ca
AB
139962013-10-04 Anton Blanchard <anton@au1.ibm.com>
13997
13998 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
13999 array with long long.
14000 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
14001 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
14002 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
14003 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
14004 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
14005 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
14006 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
14007 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
14008 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
14009 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
14010 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
14011 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
14012 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
14013
2ca85d2b
AB
140142013-10-04 Anton Blanchard <anton@au1.ibm.com>
14015
14016 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
14017 (__signbit): Likewise. Correct for little-endian.
14018 (__signbitl): Call __signbit.
14019 (lrint): Correct for little-endian.
14020 (lrintf): Call lrint.
14021
62a728ae
AM
140222013-10-04 Alan Modra <amodra@gmail.com>
14023
14024 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
14025 union 32-bit int array member with 64-bit int array.
14026 (t515, tm256): Double rather than long double.
14027 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
14028
32c301df
AM
140292013-10-04 Alan Modra <amodra@gmail.com>
14030
14031 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
14032 Delete.
14033 (IEEE854_LONG_DOUBLE_BIAS): Delete.
14034 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
14035 version of math_ldbl.h.
14036
650ef4bd
AM
140372013-10-04 Alan Modra <amodra@gmail.com>
14038
14039 [BZ #15734], [BZ #15735]
14040 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
14041 all uses of ieee875 long double macros and unions. Simplify test
14042 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
14043 ldbl_extract_mantissa value for ix,iy exponents. Properly
14044 normalize after ldbl_extract_mantissa, and don't add hidden bit
14045 already handled. Don't treat low word of ieee854 mantissa like
14046 low word of IBM long double and mask off bit when testing for
14047 zero.
14048 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
14049 all uses of ieee875 long double macros and unions. Simplify tests
14050 for 0.0L and inf. Correct double adjustment of k. Delete dead code
14051 adjusting ha,hb. Simplify code setting kld. Delete two600 and
14052 two1022, instead use their values. Recognise that tests for large
14053 "a" and small "b" are mutually exclusive. Rename vars. Comment.
14054 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
14055 Rewrite all uses of ieee875 long double macros and unions. Simplify
14056 test for 0.0L and nan. Correct negation.
14057 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
14058 ieee875 long double macros and unions. Correct output for large
14059 magnitude x. Correct absolute value calculation.
14060 (__erfcl): Likewise.
14061 * math/libm-test.inc: Add tests for errors discovered in IBM long
14062 double versions of fmodl, remainderl, erfl and erfcl.
14063
765714ca
AM
140642013-10-04 Alan Modra <amodra@gmail.com>
14065
14066 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
14067 all uses of ieee854 long double macros and unions. Simplify tests
14068 for long doubles that are fully specified by the high double.
14069 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14070 Likewise.
14071 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
14072 Remove dead code too.
14073 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14074 (__ieee754_ynl): Likewise.
14075 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
14076 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
14077 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14078 Remove dead code too.
14079 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14080 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
14081 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
14082 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
14083 Simplify.
14084 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
14085 Simplify.
14086 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
14087 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
14088 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
14089 Comment on variable precision.
14090 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
14091 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14092 Likewise.
14093 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14094 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14095 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14096 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14097 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
14098
4ebd120c
AM
140992013-10-04 Alan Modra <amodra@gmail.com>
14100
14101 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
14102 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
14103 all uses of ieee854 long double macros and unions.
14104 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14105 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14106 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
14107 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
14108 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
14109 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14110 Likewise.
14111 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
14112 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14113 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
14114 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14115 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14116 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14117 Simplify sign and nan test too.
14118 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
14119 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
14120 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
14121 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
14122 Likewise.
14123 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14124 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
14125 Likewise.
14126 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14127 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14128 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
14129 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
14130 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
14131 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
14132
1b6adf88
AM
141332013-10-04 Alan Modra <amodra@gmail.com>
14134
14135 * stdio-common/printf_size.c (__printf_size): Don't use
14136 union ieee854_long_double in fpnum union.
14137 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
14138 signbit macro to retrieve sign from long double.
14139 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
14140 retrieve sign from long double.
14141 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
14142 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
14143 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
14144 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14145 * math/test-misc.c (main): Don't use union ieee854_long_double.
14146
4cf69995
AM
141472013-10-04 Alan Modra <amodra@gmail.com>
14148
14149 [BZ #15680]
14150 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
14151 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
14152 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
14153 calculation. Remove unnecessary test for denormal exponent.
14154 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
14155 Correct handling of denormals. Avoid undefined shift behaviour.
14156 Correct normalisation of low mantissa when low double is denormal.
14157 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
14158 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
14159 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
14160 Correct normalisation of low mantissa. Test for overflow of high
14161 mantissa and normalise.
14162 (ldbl_nearbyint): Use more readable constant for two52.
14163 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
14164 (__mpn_construct_long_double): Fix test for overflow of high
14165 mantissa and correct normalisation. Avoid undefined shift.
14166
9605ca6c
AM
141672013-10-04 Alan Modra <amodra@gmail.com>
14168
14169 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14170 (union ibm_extended_long_double): Define as an array of ieee754_double.
14171 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
14172 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
14173 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
14174 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14175 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14176 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
14177 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14178 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14179 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14180 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
14181 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14182
975569d0
JM
141832013-10-03 Joseph Myers <joseph@codesourcery.com>
14184
d3d23756
JM
14185 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
14186 page size instead of calling getpagesize.
14187
975569d0
JM
14188 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
14189 (LOCFILE_ALIGN_MASK): Likewise.
14190 (LOCFILE_ALIGN_UP): Likewise.
14191 (LOCFILE_ALIGNED_P): Likewise.
14192 * locale/programs/ld-collate.c (collate_output): Use the new
14193 macros instead of __alignof__ (int32_t).
14194 * locale/weight.h (findidx): Likewise.
14195
b1fe1f2b
OB
141962013-10-03 Ondřej Bílka <neleai@seznam.cz>
14197
14198 [BZ #431]
14199 * manual/string.texi: Fix strncat and wcsncat.
14200
5f855e35
BM
142012013-10-03 Brooks Moses <bmoses@google.com>
14202
14203 [BZ #15915]
14204 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
14205 * Makerules: ...here, and adjust associated comments.
14206
3cef6009
WN
142072013-10-02 Will Newton <will.newton@linaro.org>
14208
14209 * malloc/Makefile: Add tst-pvalloc.
14210 * malloc/tst-pvalloc.c: New file.
14211
7815420b
WN
142122013-10-02 Will Newton <will.newton@linaro.org>
14213
14214 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
14215 improve test coverage.
14216
4868b204
WN
142172013-10-02 Will Newton <will.newton@linaro.org>
14218
14219 * malloc/Makefile: Add tst-posix_memalign.
14220 * malloc/tst-posix_memalign.c: New file.
14221
29c793b3
EB
142222013-10-01 Eric Blake <eblake@redhat.com>
14223
14224 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
14225 Use __THROWNL rather than __THROW on static functions.
14226
fd967522
PM
142272013-09-30 Petr Machata <pmachata@redhat.com>
14228
14229 * elf/elf.h (R_AARCH64_ABS16): New macro.
14230 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
14231 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
14232 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
14233 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
14234 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
14235 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
14236 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
14237 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
14238 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
14239 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
14240 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
14241 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
14242 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
14243 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
14244 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
14245 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
14246 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
14247 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
14248 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
14249 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
14250 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
14251 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
14252 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
14253 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
14254 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
14255 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
14256 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
14257 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
14258 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
14259 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
14260 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
14261 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
14262 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
14263 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
14264 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
14265 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
14266 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
14267 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
14268 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
14269 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
14270 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
14271 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
14272 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
14273 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
14274 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
14275 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
14276 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
14277 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
14278 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
14279 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
14280 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
14281 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
14282 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
14283 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
14284 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
14285 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
14286 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
14287 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
14288 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
14289 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
14290 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
14291 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
14292 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
14293 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
14294 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
14295 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
14296 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
14297 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
14298 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
14299 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
14300 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
14301 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
14302 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
14303 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
14304 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
14305 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
14306 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
14307 (R_AARCH64_TLSDESC_LDR): Likewise.
14308 (R_AARCH64_TLSDESC_ADD): Likewise.
14309 (R_AARCH64_TLSDESC_CALL): Likewise.
14310
b2179107
AS
143112013-09-30 Andreas Schwab <schwab@suse.de>
14312
14313 [BZ #15048]
14314 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
14315 the nss database lookup.
14316 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14317 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14318
47f28d0a
MF
143192013-09-28 Mike Frysinger <vapier@gentoo.org>
14320
14321 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
14322
143232013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
14324
14325 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
14326 ${Bash-specific parameter/pattern/string} parameter expansion.
14327 * sysdeps/unix/make-syscalls.sh: Likewise.
14328
f4518a17
KK
143292013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14330
14331 * sysdeps/sh/stackguard-macros.h: New file.
14332
dc1a95c7
OB
143332013-09-26 Ondřej Bílka <neleai@seznam.cz>
14334
14335 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14336 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
14337 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
14338 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
14339 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14340 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
14341
5ebbff8f
AZ
143422013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14343
14344 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
14345 Fix thread ID register.
14346
4fd2cf9f
JM
143472013-09-25 Joseph Myers <joseph@codesourcery.com>
14348
14349 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
14350 [POSIX || UNIX98]: Require rather than permitting all symbols from
14351 <time.h>.
14352 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
14353 element of struct sched_param.
14354 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
14355 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
14356 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
14357 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
14358 constant.
14359
12c22bc4
OL
143602013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
14361
14362 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
14363 argument calculation.
14364
a03d8ea7
JM
143652013-09-24 Joseph Myers <joseph@codesourcery.com>
14366
14367 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
14368 Expect macro.
14369 [POSIX] (pthread_attr_t): Do not require type.
14370 [POSIX] (pthread_cond_t): Likewise.
14371 [POSIX] (pthread_condattr_t): Likewise.
14372 [POSIX] (pthread_key_t): Likewise.
14373 [POSIX] (pthread_mutex_t): Likewise.
14374 [POSIX] (pthread_mutexattr_t): Likewise.
14375 [POSIX] (pthread_once_t): Likewise.
14376 [POSIX] (pthread_t): Likewise.
14377 [POSIX-based standards] (pthread_atfork): Expect function.
14378
6055173a
JM
143792013-09-24 Joseph Myers <joseph@codesourcery.com>
14380 Richard Sandiford <richard@codesourcery.com>
14381
14382 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
14383 (swap_endianness_p): New extern variable.
14384 (set_big_endian): New inline function.
14385 (maybe_swap_uint32): Likewise.
14386 (maybe_swap_uint32_array): Likewise.
14387 (maybe_swap_uint32_obstack): Likewise.
14388 * locale/programs/locfile.c: Include <stdbool.h>.
14389 (swap_endianness_p): New variable.
14390 (add_locale_uint32): Call maybe_swap_uint32.
14391 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
14392 (write_locale_data): Call maybe_swap_uint32_array.
14393 * locale/programs/ld-collate.c (obstack_int32_grow): Call
14394 maybe_swap_uint32.
14395 (obstack_int32_grow_fast): Likewise.
14396 (output_weightwc): Call maybe_swap_uint32_obstack.
14397 (collate_output): Likewise.
14398 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
14399 (OPT_LITTLE_ENDIAN): Likewise.
14400 (options): Add --little-endian and --big-endian options.
14401 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
14402 * locale/programs/locarchive.c: Include "locfile.h".
14403 (GET): New macro.
14404 (SET): Likewise.
14405 (INC): Likewise.
14406 (create_archive): Use the new macros to access fields of
14407 structures directly mapped from or written to locale archives.
14408 (oldlocrecentcmp): Likewise.
14409 (enlarge_archive): Likewise.
14410 (insert_name): Likewise.
14411 (add_alias): Likewise.
14412 (add_locale): Likewise.
14413 (delete_locales_from_archive): Likewise.
14414 (show_archive_content): Likewise.
14415 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
14416 locale data.
14417
39bf0bb4
RM
144182013-09-24 Roland McGrath <roland@hack.frob.com>
14419
14420 * manual/freemanuals.texi: Updated from (newly) canonical copy at
14421 http://www.gnu.org/doc/freemanuals.texi.
14422 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
14423
f02eed10
WN
144242013-09-24 Will Newton <will.newton@linaro.org>
14425
14426 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
14427 macro.
14428
a3a6c312
JM
144292013-09-23 Joseph Myers <joseph@codesourcery.com>
14430
14431 * locale/hashval.h (compute_hashval): Interpret bytes of key as
14432 unsigned char.
14433
107375ac
MR
144342013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
14435
14436 * manual/threads.texi (POSIX Threads): Fix a typo.
14437
141f3a77
SP
144382013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14439
303e567a
SP
14440 [BZ #14547]
14441 * string/tst-strcoll-overflow.c: New test case.
14442 * string/Makefile (xtests): Add tst-strcoll-overflow.
14443 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
14444 cache if string sizes may cause integer overflow.
14445
141f3a77
SP
14446 [BZ #14547]
14447 * string/strcoll_l.c (coll_seq): New members rule, idx,
14448 save_idx and back_us.
14449 (get_next_seq_nocache): New function.
14450 (do_compare_nocache): New function.
14451 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
14452 when malloc fails.
14453
c61b4d41
CD
144542013-09-23 Carlos O'Donell <carlos@redhat.com>
14455
0b1f8e35
CD
14456 [BZ #15754]
14457 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
14458 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
14459 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
14460
c61b4d41
CD
14461 [BZ #15754]
14462 * elf/Makefile (tests): Add tst-ptrguard1.
14463 (tests-static): Add tst-ptrguard1-static.
14464 (tst-ptrguard1-ARGS): Define.
14465 (tst-ptrguard1-static-ARGS): Define.
14466 * elf/tst-ptrguard1.c: New file.
14467 * elf/tst-ptrguard1-static.c: New file.
14468 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
14469 * sysdeps/i386/stackguard-macros.h: Likewise.
14470 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14471 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14472 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14473 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14474 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14475 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14476
144772013-09-23 Hector Marco <hecmargi@upv.es>
14478 Ismael Ripoll <iripoll@disca.upv.es>
14479 Carlos O'Donell <carlos@redhat.com>
14480
14481 [BZ #15754]
14482 * sysdeps/generic/stackguard-macros.h: Define
14483 __pointer_chk_guard_local and POINTER_CHK_GUARD.
14484 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
14485 Define __pointer_chk_guard_local.
14486 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
14487 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
14488
f5f4e7b4
VV
144892013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
14490
14491 [BZ #15859]
14492 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
14493
5bb43a43
AS
144942013-09-20 Andreas Schwab <schwab@linux-m68k.org>
14495
14496 * include/string.h (__ffs): Declare as hidden.
14497 * string/ffs.c (__ffs): Define as hidden.
14498 * sysdeps/i386/ffs.c (__ffs): Likewise.
14499 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
14500 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
14501 * sysdeps/s390/ffs.c (__ffs): Likewise.
14502 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
14503
3ea5be54
AO
145042013-09-20 Alexandre Oliva <aoliva@redhat.com>
14505
ffb89e53
AO
14506 * NEWS: Mention malloc probes.
14507
322dea08
AO
14508 * malloc/arena.c (new_heap): New memory_heap_new probe.
14509 (grow_heap): New memory_heap_more probe.
14510 (shrink_heap): New memory_heap_less probe.
14511 (heap_trim): New memory_heap_free probe.
14512 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
14513 (systrim): New memory_sbrk_less probe.
14514 * manual/probes.texi: Document them.
14515
655673f3
AO
14516 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
14517 * manual/probes.texi: Document it.
14518
35fed6f1
AO
14519 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
14520 (__libc_realloc): Add memory_realloc_retry probe.
14521 (__libc_memalign): Add memory_memalign_retry probe.
14522 (__libc_valloc): Add memory_valloc_retry probe.
14523 (__libc_pvalloc): Add memory_pvalloc_retry probe.
14524 (__libc_calloc): Add memory_calloc_retry probe.
14525 * manual/probes.texi: Document them.
14526
6999d38c
AO
14527 * malloc/arena.c (get_free_list): Add probe
14528 memory_arena_reuse_free_list.
14529 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
14530 and memory_arena_reuse.
14531 (arena_get2) [!PER_THREAD]: Likewise.
14532 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
14533 memory_arena_reuse_realloc.
14534 * manual/probes.texi: Document them.
14535
0653427f
AO
14536 * malloc/malloc.c (__libc_free): Add
14537 memory_mallopt_free_dyn_thresholds probe.
14538 (__libc_mallopt): Add multiple memory_mallopt probes.
14539 * manual/probes.texi: Document them.
14540
3ea5be54
AO
14541 * malloc/malloc.c: Include stap-probe.h.
14542 (__libc_mallopt): Add memory_mallopt probe.
14543 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
14544 * manual/probes.texi: New.
14545 * manual/Makefile (chapters): Add probes.
14546 * manual/threads.texi: Set next node.
14547
e35696c3 145482013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 14549
e35696c3
CL
14550 [BZ #15963, #13985]
14551 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
14552 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
14553 Add `Chinese' to `nan' entry name.
14554
4aafb73c
SP
145552013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14556
14557 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
14558 (POLYNOMIAL): Likewise.
14559 (TAYLOR_SINCOS): Likewise.
14560 (TAYLOR_SLOW): Likewise.
14561 (__sin): Use TAYLOR_SINCOS.
14562 (__cos): Likewise.
14563 (slow): Use TAYLOR_SLOW.
14564 (sloww): Likewise.
14565 (bsloww): Likewise.
14566 (csloww): Likewise.
14567
d84f25c7
LD
145682013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14569
14570 * stdlib/strtod_l.c: Fix buffer overrun.
14571
5eea0404
SP
145722013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14573
7849ff93
SP
14574 * benchtests/Makefile (bench): Add sincos.
14575 * benchtests/bench-sincos.c: New file.
14576
cfa3c886
SP
14577 * math/libm-test.inc (cos_test_data): New test inputs.
14578 (sin_test_data): Likewise.
14579
b348e1e3
SP
14580 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
14581 macro.
14582 (__sin): Use it.
14583 (__cos): Likewise.
14584 (slow1): Likewise.
14585 (slow2): Likewise.
14586 (sloww1): Likewise.
14587 (sloww2): Likewise.
14588 (bsloww1): Likewise.
14589 (bsloww2): Likewise.
14590 (cslow2): Likewise.
14591 (csloww1): Likewise.
14592 (csloww2): Likewise.
14593
6cce25f8
SP
14594 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
14595 function.
14596 (__sin): Use it.
14597 (__cos): Likewise.
14598
5eea0404
SP
14599 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
14600 gotos.
14601 (__cos): Likewise.
14602
9c21573c
MR
146032013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
14604
14605 * config.h.in (HAVE_MIPS_NAN2008): New macro.
14606 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
14607 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
14608 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
14609 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
14610 * elf/cache.c (print_entry): Handle the new cache flags.
14611
24d22e65
JM
146122013-09-18 Joseph Myers <joseph@codesourcery.com>
14613 Aldy Hernandez <aldyh@redhat.com>
14614
14615 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
14616 Change condition to [_SOFT_FLOAT].
14617 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
14618 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
14619 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
14620 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
14621 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
14622 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
14623 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
14624 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
14625 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
14626 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
14627 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
14628 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
14629 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
14630 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
14631 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
14632 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
14633 declaration.
14634
d13ef066
JM
146352013-09-18 Joseph Myers <joseph@codesourcery.com>
14636
2e071de0
JM
14637 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
14638 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14639 (__longjmp): Use LOAD_GP to load saved GPRs.
14640 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
14641 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14642 (__sigsetjmp): Use SAVE_GP to save GPRs.
14643
d13ef066
JM
14644 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
14645 Do not append -msoft-float.
14646 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
14647
97a0650b
SP
146482013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14649
14650 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
14651
11ca09e9
JM
146522013-09-17 Joseph Myers <joseph@codesourcery.com>
14653
14654 [BZ #15966]
14655 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
14656 (_FPU_GETCW): Use initial "__" on variable and field names but not
14657 on macro parameter name.
14658 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
14659 parentheses around reference to macro parameter.
14660
08ffcf34
RS
146612013-09-13 Richard Sandiford <richard@codesourcery.com>
14662
14663 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
14664 prototype.
14665 (ctype_startup): Use uint32_t in cast and sizeof for
14666 ctype->charnames.
14667
ae7080d3
JL
146682013-09-11 Jia Liu <proljc@gmail.com>
14669
14670 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
14671 __daddr_t_defined.
14672 [__FreeBSD__]: Likewise.
14673
5905e7b3
OB
146742013-09-11 Ondřej Bílka <neleai@seznam.cz>
14675
14676 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14677 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
14678 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
14679 (strchr): Remove __strchr_sse42 ifunc selection.
14680 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
14681 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
14682
b987c776
WN
146832013-09-11 Will Newton <will.newton@linaro.org>
14684
14685 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
14686 parameter to RES. Remove hardcoded 1000 value.
14687 * benchtests/bench-skeleton.c (main): Pass RES parameter
14688 to TIMING_INIT and multiply result by 1000.
14689
ddf985af
AZ
146902013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14691
14692 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14693
ffdd3181
AS
146942013-09-11 Andreas Schwab <schwab@suse.de>
14695
14696 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
14697 if not defined.
14698 (O_TMPFILE) [__USE_GNU]: Define.
14699 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
14700 Define.
14701
b73ed247
WN
147022013-09-11 Will Newton <will.newton@linaro.org>
14703
14704 [BZ #15857]
14705 * malloc/malloc.c (__libc_memalign): Check the value of bytes
14706 does not overflow.
14707
55e17aad
WN
147082013-09-11 Will Newton <will.newton@linaro.org>
14709
14710 [BZ #15856]
14711 * malloc/malloc.c (__libc_valloc): Check the value of bytes
14712 does not overflow.
14713
1159a193
WN
147142013-09-11 Will Newton <will.newton@linaro.org>
14715
14716 [BZ #15855]
14717 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
14718 does not overflow.
14719
5905e7b3 147202013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
14721
14722 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
14723 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14724 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14725 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14726 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14727
cdfc721b
AM
147282013-09-10 Allan McRae <allan@archlinux.org>
14729
aa04af00
AM
14730 [BZ #15748]
14731 * manual/arith.texi (Parsing of Floats): Clarify
14732 cross-reference.
14733
cdfc721b
AM
14734 [BZ #15849]
14735 * manual/install.texi (Running make install): Mention
14736 --enable-pt-chown.
14737 * INSTALL: Regenerated.
14738
95e7cf29
MR
147392013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14740
14741 * csu/init-first.c (_init): Remove the !SHARED condition around
14742 FPU control word initialization.
14743 * elf/dl-support.c (_dl_fpu_control): New variable.
14744 (_dl_aux_init) <AT_FPUCW>: Initialize it.
14745 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
14746 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
14747 * math/test-fpucw-static.c: New file.
14748 * math/test-fpucw-ieee.c: New file.
14749 * math/test-fpucw-ieee-static.c: New file.
14750 * math/Makefile (tests): Add `test-fpucw-ieee' and
14751 `$(tests-static)'.
14752 (tests-static): New variable.
14753 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
14754 dependency to...
14755 [($(build-shared),yes)]
14756 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
14757 ... this.
14758 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
14759 New dependency.
14760
83e43bf0
AM
147612013-09-09 Allan McRae <allan@archlinux.org>
14762
a9f5ce09
AM
14763 [BZ #15939]
14764 * manual/string.texi (Collation Functions): Fix typo in
14765 strcoll example.
14766 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
14767
34829bc2
AM
14768 [BZ #15893]
14769 * stdlib/isomac.c (get_null_defines): Fix memory leak.
14770
3932737d
AM
14771 [BZ #15892]
14772 * libio/memstream.c (open_memstream): Fix memory leak.
14773 * libio/wmemstream.c (open_wmemstream): Likewise.
14774
83e43bf0
AM
14775 [BZ #15895]
14776 * nscd/netgroupcache.c: Fix nesting of ifdefs.
14777
0c66b8e9
WN
147782013-09-09 Will Newton <will.newton@linaro.org>
14779
14780 * malloc/Makefile: Add tst-realloc to tests.
14781 * malloc/tst-realloc.c: New file.
14782
f6b00fd1
AM
147832013-09-09 Allan McRae <allan@archlinux.org>
14784
14785 [BZ #15844]
14786 * COPYING: Update from GNU website to fix FSF address.
14787 * COPYING.LIB: Likewise.
14788
eec55e16
DM
147892013-09-06 David S. Miller <davem@davemloft.net>
14790
14791 * po/zh_TW.po: Update Chinese (traditional) translation from
14792 translation project.
14793
1ecbb381
RS
147942013-09-06 Richard Sandiford <richard@codesourcery.com>
14795 Joseph Myers <joseph@codesourcery.com>
14796
14797 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
14798 "localeinfo.h".
14799 (obstack_chunk_alloc): New macro.
14800 (obstack_chunk_free): Likewise.
14801 (record_offset): New function.
14802 (init_locale_data): Likewise.
14803 (align_locale_data): Likewise.
14804 (add_locale_empty): Likewise.
14805 (add_locale_raw_data): Likewise.
14806 (add_locale_raw_obstack): Likewise.
14807 (add_locale_string): Likewise.
14808 (add_locale_wstring): Likewise.
14809 (add_locale_uint32): Likewise.
14810 (add_locale_uint32_array): Likewise.
14811 (add_locale_char): Likewise.
14812 (start_locale_structure): Likewise.
14813 (end_locale_structure): Likewise.
14814 (start_locale_prelude): Likewise.
14815 (end_locale_prelude): Likewise.
14816 (write_locale_data): Take locale_file structure rather than an
14817 iovec.
14818 * locale/programs/locfile.h: Include "obstack.h".
14819 (struct locale_file): Change to store locale file contents instead
14820 of header.
14821 (init_locale_data): New prototype.
14822 (align_locale_data): Likewise.
14823 (add_locale_empty): Likewise.
14824 (add_locale_raw_data): Likewise.
14825 (add_locale_raw_obstack): Likewise.
14826 (add_locale_string): Likewise.
14827 (add_locale_wstring): Likewise.
14828 (add_locale_uint32): Likewise.
14829 (add_locale_uint32_array): Likewise.
14830 (add_locale_char): Likewise.
14831 (start_locale_structure): Likewise.
14832 (end_locale_structure): Likewise.
14833 (start_locale_prelude): Likewise.
14834 (end_locale_prelude): Likewise.
14835 (write_locale_data): Update prototype.
14836 * locale/programs/3level.h (struct TABLE): Remove result field.
14837 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
14838 Use new locale_file interface.
14839 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
14840 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
14841 * locale/programs/ld-address.c (address_output): Use new
14842 locale_file interface.
14843 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
14844 NO_ADD_LOCALE.
14845 (collate_finish): Don't call collseq_table_finalize.
14846 (collate_output): Use new locale_file interface.
14847 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
14848 in file.
14849 (NO_FINALIZE): Change to NO_ADD_LOCALE.
14850 (TABLE): Move defines earlier in file.
14851 (ELEMENT): Likewise.
14852 (DEFAULT): Likewise.
14853 (wctrans_table_add): Move macro and inline function earlier in
14854 file.
14855 (struct wctype_table): Move type earlier in file.
14856 (add_locale_wctype_table): New static prototype.
14857 (struct locale_ctype_t): Use logical types instead of struct iovec
14858 pointers for members.
14859 (ctype_output): Use new locale_file interface.
14860 (wctype_table_finalize): Change to add_locale_wctype_table. Use
14861 new locale_file interface.
14862 (allocate_arrays): Update for use of new locale_file interface.
14863 * locale/programs/ld-identification.c (identification_output): Use
14864 new locale_file interface.
14865 * locale/programs/ld-measurement.c (measurement_output): Likewise.
14866 * locale/programs/ld-messages.c (messages_output): Likewise.
14867 * locale/programs/ld-monetary.c (monetary_output): Likewise.
14868 * locale/programs/ld-name.c (name_output): Likewise.
14869 * locale/programs/ld-numeric.c (numeric_output): Likewise.
14870 * locale/programs/ld-paper.c (paper_output): Likewise.
14871 * locale/programs/ld-telephone.c (telephone_output): Likewise.
14872 * locale/programs/ld-time.c (time_output): Likewise.
14873
e029e2e5
AZ
148742013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14875
14876 * benchtests/Makefile: Add memrchr benchmark.
14877 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
14878 benchmark as memrchr.
14879 * benchtests/bench-memrchr-ifunc.c: New file.
14880 * benchtests/bench-memrchr.c: New file.
14881
bbf6e8e4
WN
148822013-09-06 Will Newton <will.newton@linaro.org>
14883
14884 * benchtests/Makefile (string-bench): Add memcpy.
14885
6c82a2f8
CD
148862013-09-05 Carlos O'Donell <carlos@redhat.com>
14887 Cong Wang <amwang@redhat.com>
14888
e732c5f0 14889 [BZ #15850]
6c82a2f8
CD
14890 * sysdeps/unix/sysv/linux/bits/in.h
14891 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
14892 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
14893 before __USE_KERNEL_IPV6_DEFS uses.
14894 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
14895 IPPROTO_BEETPH.
14896 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
14897 sockaddr_in6, or ipv6_mreq.
14898
5430fc65
AZ
148992013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14900
14901 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
14902 memory access for final bytes in some large inputs.
14903 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
14904
4660856c
AZ
149052013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14906
14907 * string/test-memrchr.c: New file.
14908 * string/test-memrchr-ifunc.c: New file.
14909 * string/Makefile: Add new memrchr testcase.
14910
bb8ea713
MF
149112013-09-05 Mike Frysinger <vapier@gentoo.org>
14912
14913 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
14914 fanotify_init returns EPERM.
14915
b92a20b5
JM
149162013-09-04 Joseph Myers <joseph@codesourcery.com>
14917
14918 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
14919 errors.
14920 (top level): Treat second token from macro or constant entries for
14921 allowed headers as allowed.
14922 * include/complex.h: Condition internal declarations on
14923 [!_ISOMAC].
14924 * include/fenv.h: Condition include of <stdbool.h> and internal
14925 declarations on [!_ISOMAC].
7447ccd9
CL
14926
149272013-09-04 Chris Leonard <cjl@sugarlabs,.org>
14928
3e181dda 14929 [BZ #15923]
7447ccd9
CL
14930 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
14931
3f2e46a4
JM
149322013-09-04 Joseph Myers <joseph@codesourcery.com>
14933
14934 * configure.in (--enable-versioning): Remove configure option.
14935 (libc_cv_asm_symver_directive): Remove configure test.
14936 (libc_cv_ld_version_script_option): Likewise.
14937 (VERSIONING): Remove variable and AC_SUBST.
14938 (DO_VERSIONING): Remove AC_DEFINE.
14939 * configure: Regenerated.
14940 * config.h.in (DO_VERSIONING): Remove macro.
14941 * Makerules [$(versioning) = yes]: Change conditionals to
14942 [$(build-shared) = yes].
14943 * config.make.in (versioning): Remove variable.
14944 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
14945 [$(build-shared) = yes].
14946 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
14947 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
14948 * elf/Makefile [$(versioning) = yes]: Change conditionals to
14949 [$(build-shared) = yes].
14950 * extra-lib.mk [$(versioning) = yes]: Likewise.
14951 * hurd/Makefile [$(versioning) = yes]: Likewise.
14952 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
14953 [SHARED].
14954 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
14955 [SHARED].
14956 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14957 [SHARED && !NO_HIDDEN].
14958 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
14959 [SHARED].
14960 [SHARED && DO_VERSIONING]: Likewise..
14961 * libio/Makefile [$(versioning) = yes]: Change conditionals to
14962 [$(build-shared) = yes].
14963 * manual/install.texi (--disable-versioning): Remove
14964 documentation.
14965 * INSTALL: Regenerated.
14966 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
14967 to [SHARED].
14968 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
14969 [$(build-shared) = yes].
14970 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
14971 * sysdeps/i386/i686/multiarch/strstr-c.c
14972 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14973 [SHARED && !NO_HIDDEN].
14974 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
14975 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
14976 * sysdeps/powerpc/powerpc32/dl-machine.c
14977 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
14978 * sysdeps/powerpc/powerpc32/sysdep.h
14979 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
14980 to [SHARED && PIC && !NO_HIDDEN].
14981 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
14982 conditional to [SHARED].
14983
44558701
WN
149842013-09-04 Will Newton <will.newton@linaro.org>
14985
14986 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
14987 * benchtests/bench-string.h: Include bench-timing.h instead
14988 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
14989 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
14990 call to HP_TIMING_DIFF_INIT.
14991 * benchtests/bench-memccpy.c: Use bench-timing.h macros
14992 instead of hp-timing.h macros.
14993 * benchtests/bench-memchr.c: Likewise.
14994 * benchtests/bench-memcmp.c: Likewise.
14995 * benchtests/bench-memcpy.c: Likewise.
14996 * benchtests/bench-memmem.c: Likewise.
14997 * benchtests/bench-memmove.c: Likewise.
14998 * benchtests/bench-memset.c: Likewise.
14999 * benchtests/bench-rawmemchr.c: Likewise.
15000 * benchtests/bench-strcasecmp.c: Likewise.
15001 * benchtests/bench-strcasestr.c: Likewise.
15002 * benchtests/bench-strcat.c: Likewise.
15003 * benchtests/bench-strchr.c: Likewise.
15004 * benchtests/bench-strcmp.c: Likewise.
15005 * benchtests/bench-strcpy.c: Likewise.
15006 * benchtests/bench-strcpy_chk.c: Likewise.
15007 * benchtests/bench-strlen.c: Likewise.
15008 * benchtests/bench-strncasecmp.c: Likewise.
15009 * benchtests/bench-strncat.c: Likewise.
15010 * benchtests/bench-strncmp.c: Likewise.
15011 * benchtests/bench-strncpy.c: Likewise.
15012 * benchtests/bench-strnlen.c: Likewise.
15013 * benchtests/bench-strpbrk.c: Likewise.
15014 * benchtests/bench-strrchr.c: Likewise.
15015 * benchtests/bench-strspn.c: Likewise.
15016 * benchtests/bench-strstr.c: Likewise.
15017
cae16d66
WN
150182013-09-04 Will Newton <will.newton@linaro.org>
15019
15020 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
15021
ffa3cd7f
JM
150222013-09-03 Joseph Myers <joseph@codesourcery.com>
15023
15024 [BZ #15427]
15025 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
15026 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
15027 * math/libm-test.inc (lgamma_test_data): Add more tests.
15028 * sysdeps/i386/fpu/libm-test-ulps: Update.
15029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15030
8f02859f
OB
150312013-09-03 Ondřej Bílka <neleai@seznam.cz>
15032
15033 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
15034 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15035 Add ifunc.
15036 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15037 Add strcmp-sse2-unaligned
15038 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
15039
18d43716
MF
150402013-09-02 Mike Frysinger <vapier@gentoo.org>
15041
15042 * Versions.def (libc): Add GLIBC_2.19.
15043
ac444012
MF
150442013-09-02 Mike Frysinger <vapier@gentoo.org>
15045
15046 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
15047 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
15048
b7835e32
JM
150492013-09-02 Joseph Myers <joseph@codesourcery.com>
15050
15051 [BZ #14155]
15052 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
15053 intermediate calculations in recurrence.
15054 (__ieee754_ynf): Likewise.
15055 * math/libm-test.inc (jn_test_data): Do not allow spurious
15056 underflow exception. Add more tests.
15057 (yn_test_data): Add more tests.
15058 * sysdeps/i386/fpu/libm-test-ulps: Update.
15059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15060
8220f4f0
OB
150612013-09-02 Ondřej Bílka <neleai@seznam.cz>
15062
15063 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
15064
f24a6d08
OB
150652013-08-30 Ondřej Bílka <neleai@seznam.cz>
15066
15067 * csu/init-first.c: Fix then/than typos.
15068 * locale/programs/ld-collate.c: Likewise.
15069 * locale/programs/linereader.h: Likewise.
15070 * manual/charset.texi: Likewise.
15071 * manual/filesys.texi: Likewise.
15072 * manual/stdio.texi: Likewise.
15073 * manual/string.texi: Likewise.
15074 * stdlib/fmtmsg.c: Likewise.
15075 * sysdeps/i386/stpncpy.S: Likewise.
15076 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15077 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15078 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15079 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15080
382466e0
OB
150812013-08-30 Ondřej Bílka <neleai@seznam.cz>
15082
15083 * elf/dl-open.c: Fix typos.
15084 * iconvdata/gbbig5.c: Likewise.
15085 * iconvdata/iso-2022-jp.c: Likewise.
15086 * iconv/gconv_int.h: Likewise.
15087 * iconv/loop.c: Likewise.
15088 * nis/rpcsvc/nis.h: Likewise.
15089 * resolv/ns_name.c: Likewise.
15090 * stdio-common/vfscanf.c: Likewise.
15091 * streams/stropts.h: Likewise.
15092 * sunrpc/rpc_thread.c: Likewise.
15093 * sysdeps/i386/strpbrk.S: Likewise.
15094 * sysdeps/ieee754/k_standard.c: Likewise.
15095 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15096 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15097 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
15098 * sysdeps/mach/hurd/profil.c: Likewise.
15099 * sysdeps/s390/dl-procinfo.h: Likewise.
15100 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
15101 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15102 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
15103 * sysdeps/x86_64/dl-trampoline.S: Likewise.
15104 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
15105
0186c6e9
OB
151062013-08-30 Ondřej Bílka <neleai@seznam.cz>
15107
15108 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
15109 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
15110
d4e16af1
OB
151112013-08-29 Ondřej Bílka <neleai@seznam.cz>
15112
15113 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
15114 aix specific files.
15115 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
15116 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
15117 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
15118 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
15119 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
15120 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
15121 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
15122 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
15123
88335980
TS
151242013-08-29 Thomas Schwinge <thomas@codesourcery.com>
15125 Roland McGrath <roland@hack.frob.com>
15126
15127 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
15128 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15129
ed479b02
ST
151302013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
15131
15132 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
15133 __executable_start symbol instead of _start.
15134
f1cc4c86
TS
151352013-08-29 Thomas Schwinge <thomas@codesourcery.com>
15136
d821f07c
TS
15137 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
15138 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
15139 Move macros to...
15140 * sysdeps/gnu/ldsodefs.h: ... this new file.
15141
c54290cf
TS
15142 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
15143 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
15144 instead of ELFOSABI_LINUX.
15145
0007fc9b 15146 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
15147 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
15148 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
15149 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
15150 Likewise.
15151 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
15152 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
15153 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
15154 Likewise.
15155 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15156 (ibm_extended_long_double): Add ieee_nan member.
15157 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
15158 (do_test): New function.
15159
f1cc4c86
TS
15160 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
15161 TEST_TRUNC.
15162 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
15163 functions, renamed from truncdfsf_test, trunctfsf_test,
15164 trunctfdf_test.
15165 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
15166 functions.
15167 (do_test): Run all these.
15168
6f65e668
OB
151692013-08-29 Ondřej Bílka <neleai@seznam.cz>
15170
15171 * argp/argp-help.c: Fix typos.
15172 * argp/argp-parse.c: Likewise.
15173 * debug/backtracesyms.c: Likewise.
15174 * elf/elf.h: Likewise.
15175 * malloc/malloc.c: Likewise.
15176 * nis/nis_print.c: Likewise.
15177 * resolv/res_comp.c: Likewise.
15178 * stdlib/stdlib.h: Likewise.
15179 * sunrpc/clnt_tcp.c: Likewise.
15180 * sunrpc/clnt_udp.c: Likewise.
15181 * sunrpc/clnt_unix.c: Likewise.
15182 * sysdeps/unix/bsd/ptsname.c: Likewise.
15183 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15184 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
15185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
15186 Likewise.
15187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
15188 Likewise.
15189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
15190 Likewise.
6f65e668
OB
15191 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15192
3a309239
SP
151932013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15194
15195 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
15196 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15197
3b813b29
MF
151982013-08-27 Mike Frysinger <vapier@gentoo.org>
15199
15200 [BZ #15897]
15201 * dlfcn/Makefile (tests): Add bug-dl-leaf.
15202 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
15203 ($(objpfx)bug-dl-leaf): New rule.
15204 ($(objpfx)bug-dl-leaf.so): Likewise.
15205 ($(objpfx)bug-dl-leaf.out): Likewise.
15206 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
15207 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
15208 * dlfcn/bug-dl-leaf.c: New test.
15209 * dlfcn/bug-dl-leaf-lib.c: Likewise.
15210 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
15211 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
15212 (dlclose): Likewise.
15213 (dlmopen): Likewise.
15214
8cc3269f
RM
152152013-08-27 Roland McGrath <roland@hack.frob.com>
15216
7f9d0034
RM
15217 * include/netdb.h [!_ISOMAC]:
15218 Don't include <tls.h>.
15219 (h_errno, __libc_h_errno): Move declaration and macros out of
15220 [_LIBC_REENTRANT].
15221
fb431262
RM
15222 * include/resolv.h [_RESOLV_H_]:
15223 Don't include <tls.h>.
15224 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
15225 * resolv/res_libc.c: Don't include <tls.h>.
15226 (_res): Use __attribute__ ((nocommon)) in place of
15227 __attribute__ ((section (".bss"))).
15228
bd81123a
RM
15229 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
15230 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
15231
c4e42566
RM
15232 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
15233
f890a59b
RM
15234 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
15235 only under [SIOCGIFCONF && SIOCGIFNETMASK].
15236
15237 * resolv/res_mkquery.c: Include <sys/time.h>.
15238
5d1f0a09
RM
15239 * inet/ifreq.c: Moved to ...
15240 * sysdeps/unix/ifreq.c: ... here.
15241 * inet/ifreq.c: New file, true stub version.
15242
6fcf28b3
RM
15243 * socket/sa_len.c: New file.
15244 * socket/Makefile (aux): Add it.
15245 * sysdeps/unix/sysv/linux/Makefile
15246 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
15247 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
15248 and #include <socket/sa_len.c>.
15249 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
15250 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
15251
e041fb8b
RM
15252 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
15253 * bits/socket.h: ... here.
15254
8cc3269f
RM
15255 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
15256 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
15257 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
15258
5d228a43
AS
152592013-08-27 Andreas Schwab <schwab@suse.de>
15260
45b8accc
AS
15261 [BZ #15736]
15262 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
15263 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
15264 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
15265 * string/test-strcasecmp.c (test_main): Run tests in several
15266 locales.
15267 * string/test-strncasecmp.c (test_main): Likewise.
15268
5d228a43
AS
15269 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
15270 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
15271 to __strcasecmp_nonascii and __strncasecmp_nonascii.
15272 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
15273 (__strncasecmp_ssse3) [PIC]: Likewise.
15274
59d112a4
RM
152752013-08-26 Roland McGrath <roland@hack.frob.com>
15276
53234cc3
RM
15277 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
15278
59d112a4
RM
15279 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
15280 instead of explicitly declaring xdecrypt.
15281 * nis/nss_nis/nis-publickey.c: Likewise.
15282
595aba70
SP
152832013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15284
15285 [BZ #15890]
15286 * nscd/aicache.c: Include res_hconf.h.
15287 (addhstaiX): Initialize res_hconf.
15288
ffabd393
AS
152892013-08-26 Andreas Schwab <schwab@suse.de>
15290
15291 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
15292 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
15293
e0a69f5c
SP
152942013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15295
15296 * nscd/aicache.c (addhstaiX): Fix indentation.
15297
8c12f01d
MF
152982013-08-25 Mike Frysinger <vapier@gentoo.org>
15299
15300 * configure.ac: Quote $build_pt_chown test.
15301 * configure: Regenerated.
15302
8fe89494
JM
153032013-08-23 Joseph Myers <joseph@codesourcery.com>
15304
15305 [BZ #15532]
15306 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
15307 * math/s_cexpf.c (__cexpf): Likewise.
15308 * math/s_cexpl.c (__cexpl): Likewise.
15309 * math/libm-test.inc (cexp_test_data): Correct expected return
15310 value for NaN + i0. Add another test.
15311
75b181d6
DM
153122013-08-22 David S. Miller <davem@davemloft.net>
15313
15314 * po/ca.po: Update Catalan translation from translation project.
936241e4 15315 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 15316
acd06bb1
JM
153172013-08-21 Joseph Myers <joseph@codesourcery.com>
15318
15319 [BZ #15797]
15320 * math/s_fdim.c (__fdim): Check for infinite arguments if result
15321 is infinite, not alongside NaN test.
15322 * math/s_fdimf.c (__fdimf): Likewise.
15323 * math/s_fdiml.c (__fdiml): Likewise.
15324 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
15325 errno is unchanged.
15326
c0c3f78a
OB
153272013-08-21 Ondřej Bílka <neleai@seznam.cz>
15328
15329 * argp/argp-help.c: Fix typos.
15330 * crypt/speeds.c: Likewise.
15331 * csu/check_fds.c: Likewise.
15332 * elf/dl-load.c: Likewise.
15333 * elf/dl-open.c: Likewise.
15334 * elf/reldep3.c: Likewise.
15335 * elf/reldep.c: Likewise.
15336 * elf/sprof.c: Likewise.
15337 * iconv/iconv_charmap.c: Likewise.
15338 * iconv/skeleton.c: Likewise.
15339 * iconv/strtab.c: Likewise.
15340 * io/lockf64.c: Likewise.
15341 * libio/libioP.h: Likewise.
15342 * resolv/gai_notify.c: Likewise.
15343 * resolv/ns_name.c: Likewise.
15344 * resolv/ns_samedomain.c: Likewise.
15345 * resolv/res_send.c: Likewise.
15346 * stdlib/random.c: Likewise.
15347 * sunrpc/rpc/xdr.h: Likewise.
15348 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
15349 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15350 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15351 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15352 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15353 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15354 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15355 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15356 * sysdeps/mach/hurd/check_fds.c: Likewise.
15357 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15358 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15359 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15360 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15361 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15362 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15363 * sysdeps/pthread/aio_notify.c: Likewise.
15364 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
15365 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
15366 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
15367 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15368 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15369
46ed1038
LD
153702013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15371
15372 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
15373 version if bit_Slow_SSE4_2 is set.
15374 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15375 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15376
d400dcac
AZ
153772013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15378
15379 [BZ #15867]
15380 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
15381 trampoline stack frame information.
15382 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
15383 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
15384 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
15385 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
15386 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
15387 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15388 (_libc_vdso_platform_setup): Initialize the signal trampolines.
15389 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
15390 sa_flags value.
15391 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
15392 interrupting a syscall and set with option SA_SIGINFO.
15393
42c8fdd8
JM
153942013-08-20 Joseph Myers <joseph@codesourcery.com>
15395
c980f2f4
JM
15396 [BZ #15531]
15397 * math/s_cproj.c (__cproj): Only return an infinity if one part of
15398 argument is infinite.
15399 * math/s_cprojf.c (__cprojf): Likewise.
15400 * math/s_cprojl.c (__cprojl): Likewise.
15401 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
15402 * math/libm-test.inc (cproj_test_data): Add more tests.
15403
0716c4fc
JM
15404 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
15405
42c8fdd8
JM
15406 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
15407 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
15408 size. Use __ffs to determine corresponding shift.
15409
b31469d0
JM
154102013-08-20 Joseph Myers <joseph@codesourcery.com>
15411 Roland McGrath <roland@hack.frob.com>
15412
15413 * Makefile (INSTALL): Remove trailing blank lines from output of
15414 makeinfo.
15415
4e39af6e
AK
154162013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15417
15418 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
15419 Align 32 bit compat elf_greg to 8 bytes.
15420
f315524e
AA
154212013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
15422
15423 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
15424
1326ba1a
SP
154252013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15426
15427 * string/strcoll_l.c (coll_seq): New structure.
15428 (get_next_seq_cached): New function.
15429 (get_next_seq): New function.
15430 (do_compare): New function.
15431 (STRCOLL): Use GNU style definition. Simplify implementation
15432 by using get_next_seq, get_next_seq_cached and do_compare.
15433
91ce4085
FW
154342013-08-16 Florian Weimer <fweimer@redhat.com>
15435
15436 [BZ #14699]
15437 CVE-2013-4237
15438 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
15439 member.
15440 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
15441 member.
15442 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
15443 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
15444 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
15445 conditional.
15446 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
15447 GETDENTS_64BIT_ALIGNED.
15448 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15449 * manual/filesys.texi (Reading/Closing Directory): Document
15450 ENAMETOOLONG return value of readdir_r. Recommend readdir more
15451 strongly.
15452 * manual/conf.texi (Limits for Files): Add portability note to
15453 NAME_MAX, PATH_MAX.
15454 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
15455
ca0a6bc4
AS
154562013-08-13 Andreas Schwab <schwab@suse.de>
15457
15458 [BZ #15749]
15459 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
15460 of fabs.
15461 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
15462 LDBL_MAX_EXP >= 16384]: Add tests for it.
15463
6c1fd795
DM
154642013-08-12 David S. Miller <davem@davemloft.net>
15465
15466 * version.h (RELEASE): Set to "development".
15467 (VERSION): Set to "2.18.90".
15468 * NEWS: Add 2.19 section.
15469
31ad488d
DM
154702013-08-03 David S. Miller <davem@davemloft.net>
15471
15472 * po/ko.po: Update Korean translation from translation project.
15473
db24e684
DM
154742013-08-01 David S. Miller <davem@davemloft.net>
15475
15476 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
15477 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
15478 Bilka.
15479
f723285b
DM
154802013-07-30 David S. Miller <davem@davemloft.net>
15481
15482 * po/fr.po: Update French translation from translation project.
15483
3cbc52db
DM
154842013-07-28 David S. Miller <davem@davemloft.net>
15485
30bbc0cc
DM
15486 * po/cs.po: Update Czech translation from translation project.
15487
3cbc52db
DM
15488 * po/sv.po: Update Swedish translation from translation project.
15489
d492e6d0
DM
154902013-07-27 David S. Miller <davem@davemloft.net>
15491
f1a7f492
DM
15492 * po/eo.po: Update Esperanto translation from translation project.
15493
90e62a4a
DM
15494 * po/vi.po: Update Vietnamese translation from translation project.
15495
d492e6d0
DM
15496 * po/de.po: Update German translation from translation project.
15497
d4baa62d
DM
154982013-07-26 David S. Miller <davem@davemloft.net>
15499
641aa7b4
DM
15500 * po/bg.po: Update Bulgarian translation from translation project.
15501
d4baa62d
DM
15502 * po/nl.po: Update Dutch translation from translation project.
15503 * po/pl.po: Update Polish translation from translation project.
15504 * po/ru.po: Update Russian translation from translation project.
15505
61a9dcb9
DM
155062013-07-24 David S. Miller <davem@davemloft.net>
15507
15508 * po/libc.pot: Update.
15509
7b1f8b58
AZ
155102013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15511
15512 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
15513 variable page size.
15514 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
15515 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
15516 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
15517
a8fc7a03
AK
155182013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15519
15520 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
15521
e4608715
CD
155222013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15523 Andreas Schwab <schwab@suse.de>
15524 Roland McGrath <roland@hack.frob.com>
15525 Joseph Myers <joseph@codesourcery.com>
15526 Carlos O'Donell <carlos@redhat.com>
15527
15528 [BZ #15755]
15529 * config.h.in: Define HAVE_PT_CHOWN.
15530 * config.make.in (build-pt-chown): New variable.
15531 * configure.in (--enable-pt_chown): New configure option.
15532 * configure: Regenerate.
15533 * login/Makefile: Include Makeconfig. Build pt_chown only if
15534 build-pt-chown is enabled.
15535 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
15536 pt_chown to fix pty ownership.
15537 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
15538 CLOSE_ALL_FDS.
15539 * manual/install.texi (Configuring and compiling): Mention
15540 --enable-pt_chown. Add @findex for grantpt.
15541 * INSTALL: Regenerate.
15542
da2d62df
DM
155432013-07-20 David S. Miller <davem@davemloft.net>
15544
15545 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
15546 difference between 32-bit and 64-bit.
15547
d7e06450
CD
155482013-07-15 Carlos O'Donell <carlos@redhat.com>
15549
15550 [BZ #15711]
15551 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
15552 Avoid system header dependency with -ffreestanding.
15553 ($(objpfx)bits/syscall%d): Likewise.
15554
f959cfd7
DM
155552013-07-13 David S. Miller <davem@davemloft.net>
15556
15557 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
15558 underflows from atanl/atan2l due to bug 15319.
15559 (casinh_test_data): Likewise.
15560
c61f8513
DM
155612013-07-07 David S. Miller <davem@davemloft.net>
15562
15563 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
15564
72c90ed0
JA
155652013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
15566
15567 * sysdeps/i386/fpu/libm-test-ulps: Update.
15568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15569
52dfbe13
SP
155702013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15571
15572 * configure.in (--enable-lock-elision): Fix message text.
15573 * INSTALL: Regenerate.
15574 * configure: Regenerate.
15575
3f169543
AZ
155762013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15577
15578 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15579
521c6785
AJ
155802013-07-03 Andreas Jaeger <aj@suse.de>
15581
15582 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
15583 define.
15584 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
15585 (ptrace_peeksiginfo_args): Add.
15586 (__ptrace_peeksiginfo_flags): Add.
15587 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15588 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15589 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15590
d2cc15cb
AM
155912013-07-03 Allan McRae <allan@archlinux.org>
15592
15593 * sysdeps/i386/fpu/libm-test-ulps: Update.
15594
3aaeeca7
DM
155952013-07-02 David S. Miller <davem@davemloft.net>
15596
15597 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15598
5314ed1a
MT
155992013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
15600
15601 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15602
67338156
JM
156032013-07-02 Joseph Myers <joseph@codesourcery.com>
15604
15605 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15607
1717da59
AK
156082013-07-02 Andi Kleen <ak@linux.intel.com>
15609
15610 * config.h.in (ENABLE_LOCK_ELISION): Add.
15611 * configure.in (--enable-lock-elision): Add option.
15612 * manual/install.texi: Document --enable lock elision.
15613 * configure: Regenerate
15614 * INSTALL: Regenerate.
15615
1c81621c
L
156162013-07-02 H.J. Lu <hongjiu.lu@intel.com>
15617
15618 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
15619 SSE4.2 strcasecmp for libc.a.
15620 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
15621
77f01ab5
JM
156222013-07-02 Joseph Myers <joseph@codesourcery.com>
15623
15624 [BZ #13304]
15625 * soft-fp/op-common.h (_FP_FMA): New macro.
15626 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
15627 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
15628 (_FP_MUL_MEAT_1_imm): ... here.
15629 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
15630 (_FP_MUL_MEAT_1_wide): ... here.
15631 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
15632 (_FP_MUL_MEAT_1_hard): ... here.
15633 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
15634 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
15635 (_FP_MUL_MEAT_2_wide): ... here.
15636 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
15637 (_FP_MUL_MEAT_2_wide_3mul): ... here.
15638 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
15639 (_FP_MUL_MEAT_2_gmp): ... here.
15640 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
15641 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
15642 (_FP_MUL_MEAT_4_wide): ... here.
15643 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
15644 (_FP_MUL_MEAT_4_gmp): ... here.
15645 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
15646 (_FP_WFRACBITS_DW_S): Likewise.
15647 (_FP_WFRACXBITS_DW_S): Likewise.
15648 (_FP_HIGHBIT_DW_S): Likewise.
15649 (FP_FMA_S): Likewise.
15650 (_FP_FRAC_HIGH_DW_S): Likewise.
15651 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
15652 (_FP_WFRACBITS_DW_D): Likewise.
15653 (_FP_WFRACXBITS_DW_D): Likewise.
15654 (_FP_HIGHBIT_DW_D): Likewise.
15655 (FP_FMA_D): Likewise.
15656 (_FP_FRAC_HIGH_DW_D): Likewise.
15657 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
15658 (_FP_WFRACBITS_DW_E): Likewise.
15659 (_FP_WFRACXBITS_DW_E): Likewise.
15660 (_FP_HIGHBIT_DW_E): Likewise.
15661 (FP_FMA_E): Likewise.
15662 (_FP_FRAC_HIGH_DW_E): Likewise.
15663 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
15664 (_FP_WFRACBITS_DW_Q): Likewise.
15665 (_FP_WFRACXBITS_DW_Q): Likewise.
15666 (_FP_HIGHBIT_DW_Q): Likewise.
15667 (FP_FMA_Q): Likewise.
15668 (_FP_FRAC_HIGH_DW_Q): Likewise.
15669 * soft-fp/fmasf4.c: New file.
15670 * soft-fp/fmadf4.c: Likewise.
15671 * soft-fp/fmatf4.c: Likewise.
15672
6308fd9a
LD
156732013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15674
15675 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15676 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
15677 Silvermont.
15678 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
15679 macro.
15680 (index_Slow_SSE4_2): Likewise.
15681 (index_Prefer_PMINUB_for_stringop): Likewise.
15682 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
15683 bit_Slow_SSE4_2 is set.
15684 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15685 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15686
89cd9569
RA
156872013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15688
15689 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
15690 rtld_global._dl_hwcap2.
15691 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
15692 POWER8.
15693 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
15694 POWER8 feature descriptions defined in _dl_hwcap2.
15695 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
15696 string handling for POWER8 feature bits.
15697 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
15698 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
15699 _dl_powerpc_cap_flags.
15700 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
15701 * sysdeps/powerpc/rtld-global-offsets.sym
15702 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
15703 _dl_hwcap2 in the rtld_global_ro structure.
15704
1ae8bfe0
RA
157052013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15706
15707 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
15708 hardware capabilities in support of AT_HWCAP2.
15709 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
15710 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
15711 GLRO(dl_hwcap2).
15712 (_dl_show_auxv): Add support for calling _dl_procinfo to display
15713 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
15714 explicitly the unknown a_type display mechanism is used.
15715 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
15716 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
15717 struct member.
15718 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
15719 to macro prototype for AT_HWCAP2 support.
15720 * sysdeps/i386/dl-procinfo.h: Likewise.
15721 * sysdeps/s390/dl-procinfo.h: Likewise.
15722 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
15723 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
15724 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
15725 return -1 for unknown a_type display fallback.
15726 * sysdeps/sparc/dl-procinfo.h: Likewise.
15727 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
15728 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
15729
8fbec010
JM
157302013-06-28 Joseph Myers <joseph@codesourcery.com>
15731
15732 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
15733 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
15734
0432680e
PY
157352013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
15736
15737 [BZ #12492]
15738 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
15739 mprotect making __stack_prot writable.
15740
ce61a2ad
NF
157412013-06-28 Nathan Froyd <froydnj@codesourcery.com>
15742 Joseph Myers <joseph@codesourcery.com>
15743
15744 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
15745 as being properly aligned.
15746
f91f1c0f
MR
157472013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
15748
3d0f5d0c
MR
15749 * dlfcn/modstatic5.c: New file.
15750 * dlfcn/tststatic5.c: New file.
15751 * dlfcn/Makefile (tests): Add tststatic5.
15752 (tests-static): Likewise.
15753 (modules-names): Add modstatic5.
15754 (tststatic5-ENV): New variable.
15755 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
15756
f91f1c0f
MR
15757 [BZ #15022]
15758 * elf/dl-support.c (_dl_main_map): New variable.
15759 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
15760 (_dl_nns, _dl_load_adds): Set to 1.
15761 (_dl_initial_searchlist): Refer to _dl_main_map.
15762 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
15763 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
15764 call to _dl_get_origin.
15765 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
15766 around call_map.
15767 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
15768 * dlfcn/modstatic3.c: New file.
15769 * dlfcn/tststatic3.c: New file.
15770 * dlfcn/tststatic4.c: New file.
15771 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
15772 (tests-static): Likewise.
15773 (modules-names): Add modstatic3.
15774 (tststatic3-ENV, tststatic4-ENV): New variables.
15775 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
15776 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
15777
cbe7d24b
JM
157782013-06-26 Joseph Myers <joseph@codesourcery.com>
15779
15780 * configure.in (CC): Require GCC version 4.4 or later.
15781 * configure: Regenerated.
15782 * manual/install.texi (Tools for Compilation): Update GCC version
15783 requirement.
15784 * INSTALL: Regenerated.
15785
11b8a0e1
LD
157862013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15787
15788 [BZ #15674]
bb5bb87c
L
15789 * string/test-memcmp.c (check2): New.
15790 (main): Call check2.
15791
11b8a0e1
LD
15792 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
15793
b0037103
MR
157942013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
15795
15796 [BZ #15022]
15797 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
15798 over to...
15799 (dl_open_worker) [!SHARED]: ... here.
15800
c18c701d
RA
158012013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15802
15803 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
15804
1d17fa5f
RH
158052013-06-25 Richard Henderson <rth@redhat.com>
15806
15807 * locale/programs/locarchive.c: Include <libc-internal.h>
15808
8fcb833a
JM
158092013-06-25 Joseph Myers <joseph@codesourcery.com>
15810
15811 * manual/texinfo.tex: Update to version 2013-06-21.17, with
15812 trailing whitespace removed.
15813
17db6e8d
MF
158142013-06-24 Mike Frysinger <vapier@gentoo.org>
15815
15816 [BZ #10283]
17db6e8d
MF
15817 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
15818 * locale/programs/locarchive.c: Include libc-mmap.h.
15819 (prepare_address_space): Take two new outputs (the mmap base and len).
15820 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
15821 values.
15822 (create_archive): Declare new mmap base and len values for
15823 prepare_address_space, and store the result in ah.
15824 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
15825 (enlarge_archive): If ah->mmap_base is not NULL, use that and
15826 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15827 Declare new mmap base and len values for
15828 prepare_address_space, and store the result in new_ah.
15829 (open_archive): Declare new mmap base and len values for
15830 prepare_address_space, and store the result in ah.
15831 (close_archive): If ah->mmap_base is not NULL, use that and
15832 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15833 * sysdeps/generic/libc-mmap.h: New file.
15834
d605071e
MF
158352013-06-24 Mike Frysinger <vapier@gentoo.org>
15836
15837 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
15838 (ALIGN_UP): Likewise.
15839 (PTR_ALIGN_DOWN): Likewise.
15840 (PTR_ALIGN_UP): Likewise.
15841
2f063a6e
RA
158422013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15843
15844 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
15845 entry mapped to PPC_PLATFORM_POWER8.
15846 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
15847 POWER8.
15848 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
15849 (_dl_string_platform): Add case for exporting platform position for
15850 POWER8.
15851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
15852 search path to sysdeps/powerpc/powerpc32/power8 directory.
15853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
15854 search path to sysdeps/powerpc/powerpc64/power8 directory.
15855 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
15856 power7 directories.
15857 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
15858 power7 directories.
15859
a31ee4b3
SP
158602013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15861
a74ca98f
SP
15862 * INSTALL: Regenerate.
15863
a31ee4b3
SP
15864 * nscd/connections.c (nscd_init): Fix comment.
15865
695c378f
JM
158662013-06-22 Joseph Myers <joseph@codesourcery.com>
15867
d8412221
JM
15868 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
15869
695c378f
JM
15870 [BZ #15667]
15871 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
15872 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
15873
d1d54715
MR
158742013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15875
15876 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
15877 DL_DST_REQ_STATIC.
15878 (DL_DST_REQ_STATIC): Remove macro.
15879
8fdda7af
JM
158802013-06-21 Joseph Myers <joseph@codesourcery.com>
15881
15882 [BZ #7006]
15883 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
15884 with a shift of 0 bits.
15885
f3bc5e5a
MR
158862013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15887
15888 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
15889 $(tststatic-ENV).
15890
be09e8c9
KK
158912013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15892
15893 [BZ #15655]
15894 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
15895
85c2e611
AZ
158962013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15897
15898 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
15899 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
15900 accepts -fno-tree-loop-distribute-patterns.
15901 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
15902 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
15903 recursive call.
15904 * string/memset.c (memset): Likewise.
15905 * string/test-memmove.c (simple_memmove): Disable loop transformation
15906 to library calls.
15907 * string/test-memset.c (simple_memset): Likewise.
15908 * benchtests/bench-memmove.c (simple_memmove): Likewise.
15909 * benchtests/bench-memset.c (simple_memset): Likewise.
15910 * configure: Regenerated.
15911
c91e0825
JM
159122013-06-20 Joseph Myers <joseph@codesourcery.com>
15913
b8c792af
JM
15914 * math/test-misc.c (main): Ignore fesetround failure when failures
15915 of subsequent rounding tests would be ignored.
15916
c91e0825
JM
15917 [BZ #15654]
15918 * math/fedisblxcpt.c (fedisableexcept): Return 0.
15919 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
15920 * math/fegetenv.c (__fegetenv): Return 0.
15921 * math/fegetexcept.c (fegetexcept): Return 0.
15922 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
15923 FE_TONEAREST.
15924 * math/feholdexcpt.c (feholdexcept): Return 0.
15925 * math/fesetenv.c (__fesetenv): Return 0.
15926 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
15927 argument FE_TONEAREST.
15928 * math/feupdateenv.c (__feupdateenv): Return 0.
15929 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
15930
bfcacbde
RM
159312013-06-18 Roland McGrath <roland@hack.frob.com>
15932
15933 * elf/rtld-Rules (rtld-compile-command.S): New variable.
15934 (rtld-compile-command.s, rtld-compile-command.c): New variables.
15935 ($(objpfx)rtld-%.os rules): Use them.
15936
e55a9b25
AZ
159372013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15938
15939 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
15940 fields.
15941
346d65b3
RM
159422013-06-17 Roland McGrath <roland@hack.frob.com>
15943
12086fb4
RM
15944 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
15945 length of target pattern, then descending length of dependency pattern.
15946 * configure.in (AWK): Require gawk 3.1.2 or newer.
15947 * manual/install.texi (Tools for Compilation): Say that we do.
15948 * configure: Regenerated.
15949
346d65b3
RM
15950 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
15951 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
15952 * scripts/sysd-rules.awk: ... this new script.
15953 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
15954 than a glob-style pattern.
15955
1a846317
JM
159562013-06-17 Joseph Myers <joseph@codesourcery.com>
15957
15958 * math/test-misc.c (main): Do not treat incorrectly rounded
15959 conversions as failure unless ROUNDING_TESTS passes.
15960
8fc75e6f
JM
159612013-06-15 Joseph Myers <joseph@codesourcery.com>
15962
3711a167
JM
15963 [BZ #15631]
15964 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
15965 restore exception state around main square root computation, then
15966 check for inexactness explicitly.
15967
8fc75e6f
JM
15968 * math/libm-test.inc (fma_test_data): Add another test.
15969
61dd6208
SP
159702013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15971
adf23d2c
SP
15972 * manual/threads.texi (Non-POSIX Extensions): New document
15973 node. Document pthread_getattr_default_np and
15974 pthread_setattr_default_np.
15975
61dd6208
SP
15976 * Versions.def (libpthread): Add GLIBC_2.18.
15977 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
15978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15979 Likewise.
15980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15981 Likewise.
15982 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15983 Likewise.
15984 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15985 Likewise.
15986 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
15987 Likewise.
15988 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15989 Likewise.
15990 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15991 Likewise.
15992 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15993 Likewise.
15994 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15995 Likewise.
15996
d086fc7b
LD
159972013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15998
15999 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16000 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
16001
747ef469
SP
160022013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16003 H.J. Lu <hjl.tools@gmail.com>
16004
16005 [BZ #15627]
16006 * sysdeps/x86_64/rtld-memset.c: Remove file.
16007 * sysdeps/x86_64/rtld-memset.S: New file.
16008
1b2feed2
JM
160092013-06-14 Joseph Myers <joseph@codesourcery.com>
16010
16011 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
16012 (test_in_one_mode): Take arguments for whether the rounding mode
16013 is supported for each floating-point type.
16014 (do_test): Pass new arguments to test_in_one_mode using
16015 ROUNDING_TESTS.
16016
a58ad3f8
RM
160172013-06-13 Roland McGrath <roland@hack.frob.com>
16018
16019 * posix/tst-waitid.c (do_test): Distinguish different instances of
16020 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
16021 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
16022 before entering the kernel for waitpid.
16023
c204ab28
SP
160242013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16025
16026 * NEWS: Fix note on clock function precision. Text by Roland
16027 McGrath.
16028
f4a29fba
RM
160292013-06-13 Roland McGrath <roland@hack.frob.com>
16030
16031 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
16032 it into place only when and if the sanity check passes.
16033
1f24b9ad
JM
160342013-06-13 Joseph Myers <joseph@codesourcery.com>
16035
16036 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
16037 output for whether conversion result is exact. Take argument
16038 indicating whether type is IBM long double.
16039 (round_for_all): Change need_exact field to ibm_ld.
16040 * stdlib/tst-strtod-round.c (struct exactness): New type.
16041 (struct test): Change bool ld_ok field to struct exactness exact.
16042 (TEST): Update all definitions for change to field.
16043 (tests): Regenerate array contents.
16044 (test_in_one_mode): Take pointer to new field instead of old ld_ok
16045 field value. Check for IBM long double here.
16046 (do_test): Update calls to test_in_one_mode.
16047
58206c68
SP
160482013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16049
16050 [BZ #12515]
16051 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
16052 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
16053
2d6f4c5b 160542013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
16055
16056 [BZ #15605]
16057 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
16058 generated by the compiler on loop optimizations.
16059 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
16060 general definitions.
16061
94f2c076
JM
160622013-06-12 Joseph Myers <joseph@codesourcery.com>
16063
16064 * math/bug-nextafter.c: Include <math-tests.h>.
16065 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16066 the relevant type.
16067 * math/bug-nexttoward.c: Include <math-tests.h>.
16068 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16069 the relevant type.
16070 * math/test-misc.c: Include <math-tests.h>.
16071 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16072 the relevant type.
16073
e0e50a0a
AJ
160742013-06-12 Andreas Jaeger <aj@suse.de>
16075
16076 * po/ia.po: Update Interlingua translation from translation
16077 project.
16078
25061094
SP
160792013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16080
16081 * include/fenv.h: Include stdbool.h.
16082 (struct rm_ctx): New structure.
16083 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
16084 Define macro.
16085 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
16086 (SET_RESTORE_ROUNDF): Likewise.
16087 (SET_RESTORE_ROUNDL): Likewise.
16088 (SET_RESTORE_ROUND_NOEX): Likewise.
16089 (SET_RESTORE_ROUND_NOEXF): Likewise.
16090 (SET_RESTORE_ROUND_NOEXL): Likewise.
16091 (SET_RESTORE_ROUND_53BIT): Likewise.
16092 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
16093 (libc_feresetround_noexf_ctx): Likewise.
16094 (libc_feresetround_noexl_ctx): Likewise.
16095 (libc_feholdsetround_53bit_ctx): Likewise.
16096 (libc_feresetround_53bit_ctx): Likewise.
16097 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
16098 (libc_feholdexcept_setround_sse_ctx): New function.
16099 (libc_fesetenv_sse_ctx): Likewise.
16100 (libc_feupdateenv_sse_ctx): Likewise.
16101 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
16102 (libc_feholdexcept_setround_387_ctx): Likewise.
16103 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
16104 (libc_feholdsetround_387_prec_ctx): Likewise.
16105 (libc_feholdsetround_387_ctx): Likewise.
16106 (libc_feholdsetround_387_53bit_ctx): Likewise.
16107 (libc_feholdsetround_sse_ctx): Likewise.
16108 (libc_feresetround_sse_ctx): Likewise.
16109 (libc_feresetround_387_ctx): Likewise.
16110 (libc_feupdateenv_387_ctx): Likewise.
16111 (libc_feholdexcept_setroundf_ctx): Define macro.
16112 (libc_fesetenvf_ctx): Likewise.
16113 (libc_feupdateenvf_ctx): Likewise.
16114 (libc_feholdsetroundf_ctx): Likewise.
16115 (libc_feresetroundf_ctx): Likewise.
16116 (libc_feholdexcept_setround_ctx): Likewise.
16117 (libc_fesetenv_ctx): Likewise.
16118 (libc_feupdateenv_ctx): Likewise.
16119 (libc_feholdsetround_ctx): Likewise.
16120 (libc_feresetround_ctx): Likewise.
16121 (libc_feholdexcept_setroundl_ctx): Likewise.
16122 (libc_feupdateenvl_ctx): Likewise.
16123 (libc_feholdsetroundl_ctx): Likewise.
16124 (libc_feresetroundl_ctx): Likewise.
16125 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
16126 (libc_feresetround_53bit_ctx): Likewise.
16127
59b30555
SP
161282013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16129
16130 * locale/iso-639.def: Convert to UTF-8.
16131
f1d73d30
JM
161322013-06-11 Joseph Myers <joseph@codesourcery.com>
16133
16134 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
16135 (EXCEPTION_TESTS_double): Likewise.
16136 (EXCEPTION_TESTS_long_double): Likewise.
16137 (EXCEPTION_TESTS): Likewise.
16138 * math/libm-test.inc (test_exceptions): Only test exceptions if
16139 EXCEPTION_TESTS (FLOAT).
16140
94aca5e7
SP
161412013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16142
16143 * benchtests/Makefile (string-bench): Add strcpy_chk and
16144 stpcpy_chk.
16145 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
16146 * benchtests/bench-stpcpy_chk.c: New file.
16147 * benchtests/bench-strcpy_chk-ifunc.c: New file.
16148 * benchtests/bench-strcpy_chk.c: New file.
16149 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
16150 code.
16151 (do_test): Likewise.
16152
fac0c5f2
RA
161532013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16154
16155 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
16156 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
16157 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
16158 with tabs where appropriate.
16159 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
16160 dl-procinfo.h.
16161 [PPC_PLATFORM_PPC440]: Likewise.
16162 [PPC_PLATFORM_PPC464]: Likewise.
16163 [PPC_PLATFORM_PPC476]: Likewise.
16164 (_dl_string_platform): Add support for detecting ppc405, ppc440,
16165 ppc464, and ppc476 platform strings merging from ports/
16166 dl-procinfo.h.
16167
f22bc486
AS
161682013-06-11 Andreas Schwab <schwab@suse.de>
16169
16170 [BZ #14991]
16171 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
16172 (from_ucs4_idx): Regenerate.
16173 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
16174 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
16175 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
16176 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
16177 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
16178 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
16179 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
16180 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
16181 from FROM_LOOP and TO_LOOP specific macros.
16182 (BODY): Handle combining characters.
16183 * iconvdata/BIG5HKSCS.irreversible: Update.
16184 * iconvdata/BIG5HKSCS.precomposed: New file.
16185 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
16186 characters.
16187 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
16188
c1f75dc3
SP
161892013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16190
4eacded2
SP
16191 * include/sys/time.h: Fix indentation and add copyright header.
16192
fec799f8
SP
16193 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
16194 (do_test): Likewise.
16195 * string/test-memchr.c (do_one_test): Likewise.
16196 (do_test): Likewise.
16197 * string/test-memcmp.c (do_one_test): Likewise.
16198 (do_test): Likewise.
16199 * string/test-memcpy.c (do_one_test): Likewise.
16200 (do_test): Likewise.
16201 * string/test-memmem.c (do_one_test): Likewise.
16202 (do_test): Likewise.
16203 (do_random_tests): Likewise.
16204 * string/test-memmove.c (do_one_test): Likewise.
16205 (do_test): Likewise.
16206 * string/test-memset.c (do_one_test): Likewise.
16207 (do_test): Likewise.
16208 * string/test-rawmemchr.c (do_one_test): Likewise.
16209 (do_test): Likewise.
16210 * string/test-strcasecmp.c (do_one_test): Likewise.
16211 (do_test): Likewise.
16212 * string/test-strcasestr.c (do_one_test): Likewise.
16213 (do_test): Likewise.
16214 * string/test-strcat.c (do_one_test): Likewise.
16215 (do_test): Likewise.
16216 * string/test-strchr.c (do_one_test): Likewise.
16217 (do_test): Likewise.
16218 * string/test-strcmp.c (do_one_test): Likewise.
16219 (do_test): Likewise.
16220 * string/test-strcpy.c (do_one_test): Likewise.
16221 (do_test): Likewise.
16222 * string/test-string.h: Likewise.
16223 (test_init): Likewise.
16224 * string/test-strlen.c (do_one_test): Likewise.
16225 (do_test): Likewise.
16226 * string/test-strncasecmp.c (do_one_test): Likewise.
16227 (do_test): Likewise.
16228 * string/test-strncat.c (do_one_test): Likewise.
16229 (do_test): Likewise.
16230 * string/test-strncmp.c (do_one_test): Likewise.
16231 (do_test_limit): Likewise.
16232 (do_test): Likewise.
16233 * string/test-strncpy.c (do_one_test): Likewise.
16234 (do_test): Likewise.
16235 * string/test-strnlen.c (do_one_test): Likewise.
16236 (do_test): Likewise.
16237 * string/test-strpbrk.c (do_one_test): Likewise.
16238 (do_test): Likewise.
16239 * string/test-strrchr.c (do_one_test): Likewise.
16240 (do_test): Likewise.
16241 * string/test-strspn.c (do_one_test): Likewise.
16242 (do_test): Likewise.
16243 * string/test-strstr.c (do_one_test): Likewise.
16244 (do_test): Likewise.
16245
97020474
SP
16246 * benchtests/Makefile (string-bench): Add string benchmarks.
16247 * benchtests/bench-bcopy-ifunc.c: New file.
16248 * benchtests/bench-bcopy.c: New file.
16249 * benchtests/bench-bzero-ifunc.c: New file.
16250 * benchtests/bench-bzero.c: New file.
16251 * benchtests/bench-memccpy-ifunc.c: New file.
16252 * benchtests/bench-memccpy.c: New file.
16253 * benchtests/bench-memchr-ifunc.c: New file.
16254 * benchtests/bench-memchr.c: New file.
16255 * benchtests/bench-memcmp-ifunc.c: New file.
16256 * benchtests/bench-memcmp.c: New file.
16257 * benchtests/bench-memmem-ifunc.c: New file.
16258 * benchtests/bench-memmem.c: New file.
16259 * benchtests/bench-memmove-ifunc.c: New file.
16260 * benchtests/bench-memmove.c: New file.
16261 * benchtests/bench-mempcpy-ifunc.c: New file.
16262 * benchtests/bench-mempcpy.c: New file.
16263 * benchtests/bench-memset-ifunc.c: New file.
16264 * benchtests/bench-memset.c: New file.
16265 * benchtests/bench-rawmemchr-ifunc.c: New file.
16266 * benchtests/bench-rawmemchr.c: New file.
16267 * benchtests/bench-stpcpy-ifunc.c: New file.
16268 * benchtests/bench-stpcpy.c: New file.
16269 * benchtests/bench-stpncpy-ifunc.c: New file.
16270 * benchtests/bench-stpncpy.c: New file.
16271 * benchtests/bench-strcasecmp-ifunc.c: New file.
16272 * benchtests/bench-strcasecmp.c: New file.
16273 * benchtests/bench-strcasestr-ifunc.c: New file.
16274 * benchtests/bench-strcasestr.c: New file.
16275 * benchtests/bench-strcat-ifunc.c: New file.
16276 * benchtests/bench-strcat.c: New file.
16277 * benchtests/bench-strchr-ifunc.c: New file.
16278 * benchtests/bench-strchr.c: New file.
16279 * benchtests/bench-strchrnul-ifunc.c: New file.
16280 * benchtests/bench-strchrnul.c: New file.
16281 * benchtests/bench-strcmp-ifunc.c: New file.
16282 * benchtests/bench-strcmp.c: New file.
16283 * benchtests/bench-strcpy-ifunc.c: New file.
16284 * benchtests/bench-strcpy.c: New file.
16285 * benchtests/bench-strcspn-ifunc.c: New file.
16286 * benchtests/bench-strcspn.c: New file.
16287 * benchtests/bench-strlen-ifunc.c: New file.
16288 * benchtests/bench-strlen.c: New file.
16289 * benchtests/bench-strncasecmp-ifunc.c: New file.
16290 * benchtests/bench-strncasecmp.c: New file.
16291 * benchtests/bench-strncat-ifunc.c: New file.
16292 * benchtests/bench-strncat.c: New file.
16293 * benchtests/bench-strncmp-ifunc.c: New file.
16294 * benchtests/bench-strncmp.c: New file.
16295 * benchtests/bench-strncpy-ifunc.c: New file.
16296 * benchtests/bench-strncpy.c: New file.
16297 * benchtests/bench-strnlen-ifunc.c: New file.
16298 * benchtests/bench-strnlen.c: New file.
16299 * benchtests/bench-strpbrk-ifunc.c: New file.
16300 * benchtests/bench-strpbrk.c: New file.
16301 * benchtests/bench-strrchr-ifunc.c: New file.
16302 * benchtests/bench-strrchr.c: New file.
16303 * benchtests/bench-strspn-ifunc.c: New file.
16304 * benchtests/bench-strspn.c: New file.
16305 * benchtests/bench-strstr-ifunc.c: New file.
16306 * benchtests/bench-strstr.c: New file.
16307
c1f75dc3
SP
16308 * benchtests/Makefile: Disable parallel execution of targets.
16309 (string-bench): Add memcpy.
16310 (benchset): New variable to store a list of benchmark sets.
16311 (bench-func): Renamed from bench.
16312 (bench-set): New target.
16313 (bench): Depend on bench-func and bench-set.
16314 * benchtests/README: Add section on benchmark sets.
16315 * benchtests/bench-memcpy-ifunc.c: New file.
16316 * benchtests/bench-memcpy.c: New file.
16317 * benchtests/bench-string.h: New file.
16318
50fd745b
AS
163192013-06-11 Andreas Schwab <schwab@suse.de>
16320
16321 [BZ #15577]
16322 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
16323 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
16324 values in the triple.
16325 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
16326 terminator in the group key.
16327
3ee7e9fe
AJ
163282013-06-11 Andreas Jaeger <aj@suse.de>
16329
16330 * po/zh_TW.po: Update Chinese (traditional) translation from
16331 translation project.
16332
89fb6835
SP
163332013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16334
16335 * include/time.h (__clock_gettime): Add libc_hidden_proto.
16336 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
16337 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
16338 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16339 (clock_getcpuclockid): Likewise.
16340 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
16341 Add weak_alias and libc_hidden_def.
16342 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
16343 * rt/clock_gettime.c (clock_gettime): Rename to
16344 __clock_gettime. Add weak_alias and libc_hidden_def.
16345 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
16346 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
16347 __clock_nanosleep. Add weak_alias and libc_hidden_def.
16348 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
16349 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
16350 Likewise.
16351 * rt/clock_settime.c (clock_settime): Rename to
16352 __clock_settime. Add weak_alias and libc_hidden_def.
16353 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
16354
0efa6f8b
JM
163552013-06-10 Joseph Myers <joseph@codesourcery.com>
16356
b8c61b4b
JM
16357 * mach/err_boot.sub: Remove trailing whitespace.
16358 * mach/err_ipc.sub: Likewise.
16359 * mach/err_mach.sub: Likewise.
16360
0efa6f8b
JM
16361 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
16362 (ROUNDING_TESTS_double): Likewise.
16363 (ROUNDING_TESTS_long_double): Likewise.
16364 (ROUNDING_TESTS): Likewise.
16365 * math/libm-test.inc: Include <math-tests.h>.
16366 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
16367 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16368 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16369 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16370
50b818bf
SP
163712013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16372
16373 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
16374 of assigning.
16375
60d2f8f3
JM
163762013-06-08 Joseph Myers <joseph@codesourcery.com>
16377
4902d2c3
JM
16378 * sysdeps/gnu/errlist.awk: Do not generate space at end of
16379 otherwise empty TRANS lines.
16380 * sysdeps/gnu/errlist.c: Regenerated.
16381
60d2f8f3
JM
16382 * catgets/gencat.c (error_print): Use (void) in function
16383 definition.
16384 * crypt/crypt_util.c (__init_des): Likewise.
16385 * crypt/speeds.c (Stop): Likewise.
16386 (main): Likewise.
16387 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
16388 * inet/ruserpass.c (token): Likewise.
16389 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
16390 * intl/localealias.c (extend_alias_table): Likewise.
16391 * intl/plural-exp.c (init_germanic_plural): Likewise.
16392 * libio/fcloseall.c (__fcloseall): Likewise.
16393 * libio/genops.c (_IO_flush_all): Likewise.
16394 (_IO_flush_all_linebuffered): Likewise.
16395 (_IO_cleanup): Likewise.
16396 (_IO_iter_begin): Likewise.
16397 (_IO_iter_end): Likewise.
16398 (_IO_list_lock): Likewise.
16399 (_IO_list_unlock): Likewise.
16400 (_IO_list_resetlock): Likewise.
16401 * libio/getchar.c (getchar): Likewise.
16402 * libio/getchar_u.c (getchar_unlocked): Likewise.
16403 * libio/getwchar.c (getwchar): Likewise.
16404 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
16405 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
16406 * login/getpt.c (__getpt): Likewise.
16407 * login/tst-utmp.c (main): Likewise.
16408 * malloc/hooks.c (__malloc_check_init): Likewise.
16409 * malloc/malloc.c (__malloc_stats): Likewise.
16410 * malloc/mtrace.c (tr_break): Likewise.
16411 (mtrace): Likewise.
16412 (muntrace): Likewise.
16413 * misc/fstab.c (endfsent): Likewise.
16414 * misc/getclktck.c (__getclktck): Likewise.
16415 * misc/getdtsz.c (__getdtablesize): Likewise.
16416 * misc/gethostid.c (gethostid): Likewise.
16417 * misc/getpagesize.c (__getpagesize): Likewise.
16418 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
16419 (__get_nprocs): Likewise.
16420 (__get_phys_pages): Likewise.
16421 (__get_avphys_pages): Likewise.
16422 * misc/getttyent.c (getttyent): Likewise.
16423 (setttyent): Likewise.
16424 (endttyent): Likewise.
16425 * misc/getusershell.c (getusershell): Likewise.
16426 (endusershell): Likewise.
16427 (setusershell): Likewise.
16428 (initshells): Likewise.
16429 * misc/hsearch.c (__hdestroy): Likewise.
16430 * misc/sync.c (sync): Likewise.
16431 * misc/syslog.c (closelog_internal): Likewise.
16432 (closelog): Likewise.
16433 * misc/ttyslot.c (ttyslot): Likewise.
16434 * misc/vhangup.c (vhangup): Likewise.
16435 * posix/fork.c (__fork): Likewise.
16436 * posix/getegid.c (__getegid): Likewise.
16437 * posix/geteuid.c (__geteuid): Likewise.
16438 * posix/getgid.c (__getgid): Likewise.
16439 * posix/getpid.c (__getpid): Likewise.
16440 * posix/getppid.c (__getppid): Likewise.
16441 * posix/getuid.c (__getuid): Likewise.
16442 * posix/pause.c (pause): Likewise.
16443 * posix/setpgrp.c (setpgrp): Likewise.
16444 * posix/setsid.c (__setsid): Likewise.
16445 * posix/test-vfork.c (noop): Likewise.
16446 * resolv/gethnamaddr.c (_endhtent): Likewise.
16447 (_gethtent): Likewise.
16448 (ht_endhostent): Likewise.
16449 (gethostent): Likewise.
16450 (dns_service): Likewise.
16451 * stdlib/drand48.c (drand48): Likewise.
16452 * stdlib/lrand48.c (lrand48): Likewise.
16453 * stdlib/mrand48.c (mrand48): Likewise.
16454 * stdlib/rand.c (rand): Likewise.
16455 * stdlib/random.c (__random): Likewise.
16456 * stdlib/setenv.c (clearenv): Likewise.
16457 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
16458 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
16459 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
16460 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
16461 (__get_nprocs): Likewise.
16462 (__get_phys_pages): Likewise.
16463 (__get_avphys_pages): Likewise.
16464 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
16465 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
16466 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
16467 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
16468 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
16469 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
16470 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
16471 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
16472 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
16473 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
16474 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
16475 * sysdeps/mach/hurd/sync.c (sync): Likewise.
16476 * sysdeps/posix/clock.c (clock): Likewise.
16477 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
16478 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
16479 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
16480 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
16481 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
16482 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
16483 (__get_nprocs_conf): Likewise.
16484 (__get_phys_pages): Likewise.
16485 (__get_avphys_pages): Likewise.
16486 * time/clock.c (clock): Likewise.
16487 * time/tzset.c (__tzname_max): Likewise.
16488
2e09a79a
JM
164892013-06-07 Joseph Myers <joseph@codesourcery.com>
16490
16491 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
16492 (__bswap_32): Do not use "register".
16493 * crypt/crypt.c (_ufc_doit_r): Likewise.
16494 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16495 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16496 * gmon/gmon.c (__monstartup): Likewise.
16497 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
16498 * hurd/hurdmalloc.c (more_memory): Likewise.
16499 (malloc): Likewise.
16500 (free): Likewise.
16501 (realloc): Likewise.
16502 (malloc_fork_prepare): Likewise.
16503 (malloc_fork_parent): Likewise.
16504 (malloc_fork_child): Likewise.
16505 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
16506 (_svcauth_des): Likewise.
16507 * inet/inet_lnaof.c (inet_lnaof): Likewise.
16508 * inet/inet_net.c (inet_network): Likewise.
16509 * inet/inet_netof.c (inet_netof): Likewise.
16510 * inet/rcmd.c (__validuser2_sa): Likewise.
16511 * io/fts.c (fts_open): Likewise.
16512 (fts_load): Likewise.
16513 (fts_close): Likewise.
16514 (fts_read): Likewise.
16515 (fts_children): Likewise.
16516 (fts_build): Likewise.
16517 (fts_stat): Likewise.
16518 (fts_sort): Likewise.
16519 (fts_alloc): Likewise.
16520 (fts_lfree): Likewise.
16521 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
16522 (_IO_file_xsgetn): Likewise.
16523 (_IO_file_xsgetn_mmap): Likewise.
16524 * libio/iofopncook.c (_IO_cookie_read): Likewise.
16525 (_IO_cookie_write): Likewise.
16526 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
16527 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
16528 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
16529 * malloc/obstack.c (_obstack_begin): Likewise.
16530 (_obstack_begin_1): Likewise.
16531 (_obstack_newchunk): Likewise.
16532 (_obstack_allocated_p): Likewise.
16533 (obstack_free): Likewise.
16534 (_obstack_memory_used): Likewise.
16535 * misc/getttyent.c (getttynam): Likewise.
16536 (getttyent): Likewise.
16537 (skip): Likewise.
16538 (value): Likewise.
16539 * misc/getusershell.c (initshells): Likewise.
16540 * misc/syslog.c (__vsyslog_chk): Likewise.
16541 * misc/ttyslot.c (ttyslot): Likewise.
16542 * nis/nis_hash.c (__nis_hash): Likewise.
16543 * posix/fnmatch_loop.c (FCT): Likewise.
16544 * posix/getconf.c (print_all): Likewise.
16545 (main): Likewise.
16546 * posix/getopt.c (exchange): Likewise.
16547 * posix/glob.c (globfree): Likewise.
16548 (prefix_array): Likewise.
16549 (__glob_pattern_type): Likewise.
16550 * resolv/arpa/nameser.h (NS_GET16): Likewise.
16551 (NS_GET32): Likewise.
16552 (NS_PUT16): Likewise.
16553 (NS_PUT32): Likewise.
16554 * resolv/gethnamaddr.c (getanswer): Likewise.
16555 (gethostbyname2): Likewise.
16556 (gethostbyaddr): Likewise.
16557 (_gethtent): Likewise.
16558 (_gethtbyname2): Likewise.
16559 (_gethtbyaddr): Likewise.
16560 * resolv/ns_print.c (dst_s_get_int16): Likewise.
16561 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
16562 * resolv/res_init.c (__res_vinit): Likewise.
16563 (net_mask): Likewise.
16564 * resolv/res_mkquery.c (outchar): Likewise.
16565 (PRINT): Likewise.
16566 * stdio-common/printf_fp.c (outchar): Likewise.
16567 (PRINT): Likewise.
16568 * stdio-common/printf_fphex.c (outchar): Likewise.
16569 (PRINT): Likewise.
16570 * stdio-common/printf_size.c (outchar): Likewise.
16571 (PRINT): Likewise.
16572 * stdio-common/test_rdwr.c (main): Likewise.
16573 * stdio-common/tfformat.c (matches): Likewise.
16574 * stdio-common/vfprintf.c (outchar): Likewise.
16575 (printf_unknown): Likewise.
16576 (buffered_vfprintf): Likewise.
16577 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16578 * stdio-common/xbug.c (AppendToBuffer): Likewise.
16579 (ReadFile): Likewise.
16580 * stdlib/qsort.c (SWAP): Likewise.
16581 (_quicksort): Likewise.
16582 * stdlib/setenv.c (__add_to_environ): Likewise.
16583 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16584 * stdlib/strtol_l.c (__strtol_l): Likewise.
16585 * stdlib/tst-strtod.c (main): Likewise.
16586 * stdlib/tst-strtol.c (main): Likewise.
16587 * stdlib/tst-strtoll.c (main): Likewise.
16588 * string/bits/string2.h (__strcmp_cc): Likewise.
16589 (__strcmp_cg): Likewise.
16590 (__strcspn_c1): Likewise.
16591 (__strcspn_c2): Likewise.
16592 (__strcspn_c3): Likewise.
16593 (__strspn_c1): Likewise.
16594 (__strspn_c2): Likewise.
16595 (__strspn_c3): Likewise.
16596 (__strsep_1c): Likewise.
16597 (__strsep_2c): Likewise.
16598 (__strsep_3c): Likewise.
16599 * string/memccpy.c (__memccpy): Likewise.
16600 * string/stpcpy.c (__stpcpy): Likewise.
16601 * string/strcmp.c (strcmp): Likewise.
16602 * string/strrchr.c (strrchr): Likewise.
16603 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
16604 Likewise.
16605 * sysdeps/mach/hurd/getcwd.c
16606 (_hurd_canonicalize_directory_name_internal): Likewise.
16607 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
16608 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
16609 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
16610 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
16611 Likewise, in both definitions.
16612 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
16613 definitions.
16614 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
16615 64] (__bswap_64): Likewise.
16616 * time/test_time.c (main): Likewise.
16617 * time/tzfile.c (__tzfile_read): Likewise.
16618 (__tzfile_compute): Likewise.
16619 * time/tzset.c (__tzset_parse_tz): Likewise.
16620 (tzset_internal): Likewise.
16621 (compute_change): Likewise.
16622 * wcsmbs/wcscat.c (__wcscat): Likewise.
16623 * wcsmbs/wcschr.c (wcschr): Likewise.
16624 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
16625 * wcsmbs/wcscspn.c (wcscspn): Likewise.
16626 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
16627 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
16628 * wcsmbs/wcsspn.c (wcsspn): Likewise.
16629 * wcsmbs/wcsstr.c (wcsstr): Likewise.
16630 * wcsmbs/wmemchr.c (wmemchr): Likewise.
16631 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16632 * wcsmbs/wmemset.c (wmemset): Likewise.
16633
9e54314b
JM
166342013-06-06 Joseph Myers <joseph@codesourcery.com>
16635
16636 * scripts/config.guess: Update to version 2013-05-16.
16637 * scripts/config.sub: Update to version 2013-04-24.
16638 * scripts/install-sh: Update to version 2011-11-20.07.
16639 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
16640 * scripts/move-if-change: Update to version 2012-01-06 07:23.
16641
350635a5
OB
166422013-06-06 Ondřej Bílka <neleai@seznam.cz>
16643
16644 * debug/fgetws_u_chk.c: Fix leading whitespaces.
16645 * elf/sln.c: Likewise.
16646 * hurd/hurd/ioctl.h: Likewise.
16647 * hurd/hurdmalloc.c: Likewise.
16648 * hurd/xattr.c: Likewise.
16649 * include/shlib-compat.h: Likewise.
16650 * inet/ruserpass.c: Likewise.
16651 * libio/iofgets_u.c: Likewise.
16652 * libio/iofgetws_u.c: Likewise.
16653 * locale/programs/ld-identification.c: Likewise.
16654 * locale/programs/ld-time.c: Likewise.
16655 * mach/msg-destroy.c: Likewise.
16656 * nss/nss_files/files-netgrp.c: Likewise.
16657 * resolv/res_data.c: Likewise.
16658 * soft-fp/op-1.h: Likewise.
16659 * soft-fp/op-2.h: Likewise.
16660 * soft-fp/op-4.h: Likewise.
16661 * soft-fp/op-common.h: Likewise.
16662 * stdio-common/printf_fphex.c: Likewise.
16663 * stdlib/strtod_l.c: Likewise.
16664 * sunrpc/rpc/clnt.h: Likewise.
16665 * sysdeps/generic/framestate.c: Likewise.
16666 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16667 * sysdeps/i386/bsd-setjmp.S: Likewise.
16668 * sysdeps/i386/__longjmp.S: Likewise.
16669 * sysdeps/i386/setjmp.S: Likewise.
16670 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16671 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16672 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16673 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16674 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16675 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16676 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16677 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16678 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16679 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16680 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16681 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16682 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16683 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16684 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16685 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16686 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16687 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
16688 * sysdeps/ieee754/support.c: Likewise.
16689 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16690 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
16691 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
16692 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
16693 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
16694 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
16695 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
16696 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
16697 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
16698 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
16699 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
16700 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
16701 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
16702 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
16703 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
16704 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
16705 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16707
44a988af
OB
167082013-06-05 Ondřej Bílka <neleai@seznam.cz>
16709
25506f09 16710 * posix/transbug.c: Remove executable mode.
44a988af 16711
9c84384c
JM
167122013-06-05 Joseph Myers <joseph@codesourcery.com>
16713
16714 * crypt/speeds.c: Remove trailing whitespace.
16715 * dlfcn/default.c: Likewise.
16716 * elf/ifuncdep2.c: Likewise.
16717 * elf/ifuncmain1.c: Likewise.
16718 * elf/ifuncmain1vis.c: Likewise.
16719 * elf/testobj.h: Likewise.
16720 * elf/tst-stackguard1.c: Likewise.
16721 * gmon/sys/gmon.h: Likewise.
16722 * hurd/hurdmsg.c: Likewise.
16723 * hurd/new-fd.c: Likewise.
16724 * hurd/ports-get.c: Likewise.
16725 * iconvdata/ibm1008_420.c: Likewise.
16726 * inet/tst-getni1.c: Likewise.
16727 * inet/tst-getni2.c: Likewise.
16728 * libio/ioungetc.c: Likewise.
16729 * libio/wfiledoalloc.c: Likewise.
16730 * manual/libm-err-tab.pl: Likewise.
16731 * math/w_dremf.c: Likewise.
16732 * misc/ftruncate.c: Likewise.
16733 * posix/bug-glob2.c: Likewise.
16734 * posix/tst-pcre.c: Likewise.
16735 * posix/wait4.c: Likewise.
16736 * resolv/README: Likewise.
16737 * resolv/res_debug.h: Likewise.
16738 * resolv/tst-inet_ntop.c: Likewise.
16739 * setjmp/bug269-setjmp.c: Likewise.
16740 * soft-fp/extended.h: Likewise.
16741 * soft-fp/op-1.h: Likewise.
16742 * soft-fp/op-2.h: Likewise.
16743 * soft-fp/op-4.h: Likewise.
16744 * soft-fp/op-8.h: Likewise.
16745 * soft-fp/testit.c: Likewise.
16746 * stdio-common/bug16.c: Likewise.
16747 * stdlib/random.c: Likewise.
16748 * sunrpc/rpcsvc/rquota.x: Likewise.
16749 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
16750 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16751 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16752 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16753 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16754 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16755 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16756 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16757 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16758 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16759 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16760 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16761 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16762 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16763 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16764 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16765 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16766 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16767 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16768 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16769 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16770 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16771 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
16772 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16773 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16774 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16775 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16776 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16777 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16778 * sysdeps/ieee754/s_lib_version.c: Likewise.
16779 * sysdeps/mach/hurd/check_fds.c: Likewise.
16780 * sysdeps/mach/hurd/getsockname.c: Likewise.
16781 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
16782 * sysdeps/mach/hurd/recvfrom.c: Likewise.
16783 * sysdeps/powerpc/bits/link.h: Likewise.
16784 * sysdeps/powerpc/dl-procinfo.c: Likewise.
16785 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
16786 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
16787 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
16788 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16789 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16790 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
16791 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16792 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
16793 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16794 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
16795 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16796 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
16797 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16798 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16799 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16800 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16801 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16802 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16803 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16804 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16805 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
16806 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16807 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16808 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
16809 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16810 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16811 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16812 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16813 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16814 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16815 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16816 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16817 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16818 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
16819 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16820 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
16821 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16822 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
16823 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
16824 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
16825 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
16826 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
16827 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
16828 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16829 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
16830 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
16831 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16832 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
16833 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
16834 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16835 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16836 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16837 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16838 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
16839 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
16840 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
16841 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16842 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
16843 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
16844 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
16845 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
16846 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
16847 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16848 * sysdeps/powerpc/sysdep.h: Likewise.
16849 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16850 * sysdeps/s390/s390-64/sub_n.S: Likewise.
16851 * sysdeps/sh/dl-trampoline.S: Likewise.
16852 * sysdeps/sh/memset.S: Likewise.
16853 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
16854 * sysdeps/sh/strlen.S: Likewise.
16855 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
16856 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
16857 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
16858 * sysdeps/sparc/sparc32/rem.S: Likewise.
16859 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
16860 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
16861 * sysdeps/sparc/sparc32/strchr.S: Likewise.
16862 * sysdeps/sparc/sparc32/udiv.S: Likewise.
16863 * sysdeps/sparc/sparc32/urem.S: Likewise.
16864 * sysdeps/sparc/sparc64/add_n.S: Likewise.
16865 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16866 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
16867 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
16868 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
16869 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
16870 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
16871 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
16872 * sysdeps/unix/bsd/times.c: Likewise.
16873 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
16874 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
16875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16878 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
16879 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16880 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
16881 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
16882 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
16883 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
16884 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16885 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
16886 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16887 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16888 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
16889 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16890 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
16891 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
16892 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
16893 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
16894 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
16895 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16896 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
16897 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
16898 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
16899 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
16900 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16901 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
16902 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
16903 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
16904 * sysdeps/x86_64/strcspn.S: Likewise.
16905
869378a5
RA
169062013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16907
16908 * locale/C-translit.h: Revert #include <stdint.h> because this is a
16909 generated file. Regenerate properly from gen-translit.pl.
16910 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
16911 locale/C-translit.h.
16912
840e2943
AS
169132013-06-05 Andreas Schwab <schwab@suse.de>
16914
16915 [BZ #15100]
16916 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
16917 week as 6 instead of -1.
16918 * time/tst-strptime.c (day_tests): Add test case.
16919
4c60cb0c
SP
169202013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16921
16922 * sysdeps/generic/math_private.h
16923 (libc_feholdexcept_setround_53bit): Replace with
16924 libc_feholdsetround_53bit.
16925 (libc_feupdateenv_53bit): Replace with
16926 libc_feresetround_53bit.
16927 (SET_RESTORE_ROUND_53BIT): Adjust.
16928
d180203e
SP
169292013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16930
96df079a
SP
16931 * string/test-strchrnul.c: Add copyright header.
16932
d180203e
SP
16933 * posix/tst-getaddrinfo4.c: Increase test timeout.
16934
8b0ccb2d
CD
169352013-06-03 Carlos O'Donell <carlos@redhat.com>
16936
16937 [BZ #15536]
16938 * math/libm-test.inc (MAX_EXP): Remove
16939 (MIN_EXP): Define.
16940 (ulp): Use MIN_EXP - MANT_DIG.
16941 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
16942
3b3c4d40
CD
169432013-05-31 Carlos O'Donell <carlos@redhat.com>
16944
16945 * po/be.po: Revert last change.
16946 * po/zh_CN.po: Likewise.
16947 * po/header.pot: Likewise.
16948
fab7ce3f
JM
169492013-05-31 Joseph Myers <joseph@codesourcery.com>
16950
16951 * Makefile ($(common-objpfx)linkobj/libc.so): Define
16952 link-libc-deps to empty as target-specific variable.
16953 * Makerules (link-libc-args): New variable.
16954 (libc-for-link): Likewise.
16955 (link-libc-deps): Likewise.
16956 (lib%.so): Depend on $(link-libc-deps). Link with
16957 $(link-libc-args).
16958 (build-module): Link with $(link-libc-args).
16959 (build-module-asneeded): Likewise.
16960 (build-module-helper-objlist): Filter out $(link-libc-deps) from
16961 list of objects.
16962 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
16963 target-specific variable.
16964 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
16965 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
16966 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
16967 libc.
16968 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
16969 libc and ld.so.
16970 ($(objpfx)libpcprofile.so): Likewise.
16971 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
16972 libc_nonshared.a.
16973 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
16974 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
16975 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
16976 $(link-libc-deps).
16977 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
16978 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
16979 * login/Makefile ($(objpfx)libutil.so): Likewise.
16980 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
16981 * math/Makefile ($(objpfx)libm.so): Likewise.
16982 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
16983 $(objpfx)libnsl.so): Define libc-for-link as target-specific
16984 variable instead of depending directly on libc.
16985 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
16986 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
16987 $(link-libc-deps).
16988 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
16989 libc.
16990 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
16991 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
16992 ($(objpfx)libanl.so): Likewise.
16993 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
16994 ld.so.
16995 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
16996 $(link-libc-deps).
16997 * sysdeps/i386/fpu/Makefile: Remove file.
16998 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
16999 ($(objpfx)libm.so): Remove dependency on ld.so.
17000
eca5920c
PF
170012013-05-30 Patsy Franklin <pfrankli@redhat.com>
17002
17003 [BZ # 15553]
17004 * nis/yp_xdr.c (XDRMAXNAME): Define.
17005 (XDRMAXRECORD): Define.
17006 (xdr_domainname): Use XDRMAXNAME.
17007 (xdr_mapname): Likewise.
17008 (xdr_peername): Likewise.
17009 (xdr_keydat): Use XDRMAXRECORD.
17010 (xdr_valdat): Likewise.
17011
170122013-05-30 Jeff Law <law@redhat.com>
96945714
JL
17013
17014 [BZ #14256]
17015 * manual/errno.texi (ESTALE): Update to account for more than
17016 just NFS file systems.
17017 * sysdeps/gnu/errlist.c: Regenerated.
17018
b9375348
SP
170192013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17020
17021 [BZ #15465]
17022 * elf/Makefile (tests): Add tst-null-argv.
17023 (modules-names): Add tst-null-argv-lib.
17024 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
17025 (tst-null-argv-ENV): Set environment for tst-null-argv.
17026 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
17027 (RTLD_PROGNAME): New macro.
17028 * elf/tst-null-argv.c: New test case.
17029 * elf/tst-null-argv-lib.c: Library for test case.
17030 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
17031 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
17032 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
17033 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
17034 * elf/dl-init.c (call_init): Likewise.
17035 (_dl_init): Likewise.
17036 * elf/dl-load.c (print_search_path): Likewise.
17037 (_dl_map_object): Likewise.
17038 * elf/dl-lookup.c (do_lookup_x): Likewise.
17039 (add_dependency): Likewise.
17040 (_dl_lookup_symbol_x): Likewise.
17041 (_dl_debug_bindings): Likewise.
17042 * elf/dl-open.c (_dl_show_scope): Likewise.
17043 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17044 * elf/dl-version.c (match_symbol): Likewise.
17045 (_dl_check_map_versions): Likewise.
17046 * elf/rtld.c (dl_main): Likewise.
17047 (print_unresolved): Use RTLD_PROGNAME.
17048 (print_missing_version): Likewise.
17049 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
17050 (elf_machine_rela): Likewise.
17051 * sysdeps/powerpc/powerpc32/dl-machine.c
17052 (__process_machine_rela): Likewise.
17053 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17054 Likewise.
17055 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17056 Likewise.
17057 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17058 Likewise.
17059 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17060 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
17061 Likewise.
17062 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
17063 Likewise.
17064 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17065
8a9f20c8
CD
170662013-05-28 Carlos O'Donell <carlos@redhat.com>
17067
17068 * po/be.po: Add descriptive title.
17069 * po/zh_CN.po: Likewise.
17070 * po/header.pot: Likewise.
17071
0e60d68e
MF
170722013-05-28 Mike Frysinger <vapier@gentoo.org>
17073
17074 * locale/programs/locarchive.c (create_archive): Inlucde fname in
17075 error message.
17076 (enlarge_archive): Likewise.
17077
56b672e9
BN
170782013-05-28 Ben North <ben@redfrontdoor.org>
17079
17080 * manual/arith.texi (frexp): It is the magnitude of the return
17081 value which lies in [0.5, 1), not the return value itself.
17082
5e056687
AZ
170832013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17084
17085 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17086
2b66ef5d
TS
170872013-05-26 Thomas Schwinge <thomas@codesourcery.com>
17088
528c2405
TS
17089 * stdio-common/bug26.c (main): Correct fscanf template.
17090
07b4c13d
TS
17091 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
17092 declare _dl_skip_args.
17093
ec9dd97c
TS
17094 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
17095 Don't declare.
17096
2b66ef5d
TS
17097 * manual/platform.texi: Add missing @end deftypefun.
17098
4f8dfe27
JM
170992013-05-24 Joseph Myers <joseph@codesourcery.com>
17100
0323d086
JM
17101 [BZ #15529]
17102 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
17103 bit of mantissa of 2^16382.
17104 * math/libm-test.inc (hypot_test_data): Add more tests.
17105
dd4259b9
JM
17106 * math/libm-test.inc: Add drem and pow10 to list of tested
17107 functions.
17108 (pow10_test): New function.
17109 (drem_test): Likewise.
17110 (drem_test_tonearest): Likewise.
17111 (drem_test_towardzero): Likewise.
17112 (drem_test_downward): Likewise.
17113 (drem_test_upward): Likewise.
17114 (main): Call the new functions.
17115
4f8dfe27
JM
17116 * math/libm-test.inc (finite_test_data): Remove.
17117 (finite_test): Run tests from isfinite_test_data.
17118 (gamma_test_data): Remove.
17119 (gamma_test): Run tests from lgamma_test_data.
17120 * sysdeps/i386/fpu/libm-test-ulps: Update.
17121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17122
d116b7c4
AZ
171232013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17124
17125 * manual/platform.texi: Add PowerPC PPR function set documentation.
17126 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
17127 implementation.
17128
e96e3767
CD
171292013-05-24 Carlos O'Donell <carlos@redhat.com>
17130
17131 * math/libm-test.inc (MAX_EXP): Define.
17132 (ULPDIFF): Define.
17133 (ulp): New function.
17134 (check_float_internal): Use ULPDIFF.
17135 (cpow_test): Disable failing test.
17136 (check_ulp): Test ulp() implemetnation.
17137 (main): Call check_ulp before starting tests.
17138
b679a606
JM
171392013-05-24 Joseph Myers <joseph@codesourcery.com>
17140
e8bdba36
JM
17141 * math/gen-libm-test.pl (generate_testfile): Do not handle
17142 START_DATA and END_DATA.
17143 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
17144 END_DATA.
17145 (acos_tonearest_test_data): Likewise.
17146 (acos_towardzero_test_data): Likewise.
17147 (acos_downward_test_data): Likewise.
17148 (acos_upward_test_data): Likewise.
17149 (acosh_test_data): Likewise.
17150 (asin_test_data): Likewise.
17151 (asin_tonearest_test_data): Likewise.
17152 (asin_towardzero_test_data): Likewise.
17153 (asin_downward_test_data): Likewise.
17154 (asin_upward_test_data): Likewise.
17155 (asinh_test_data): Likewise.
17156 (atan_test_data): Likewise.
17157 (atanh_test_data): Likewise.
17158 (atan2_test_data): Likewise.
17159 (cabs_test_data): Likewise.
17160 (cacos_test_data): Likewise.
17161 (cacosh_test_data): Likewise.
17162 (carg_test_data): Likewise.
17163 (casin_test_data): Likewise.
17164 (casinh_test_data): Likewise.
17165 (catan_test_data): Likewise.
17166 (catanh_test_data): Likewise.
17167 (cbrt_test_data): Likewise.
17168 (ccos_test_data): Likewise.
17169 (ccosh_test_data): Likewise.
17170 (ceil_test_data): Likewise.
17171 (cexp_test_data): Likewise.
17172 (cimag_test_data): Likewise.
17173 (clog_test_data): Likewise.
17174 (clog10_test_data): Likewise.
17175 (conj_test_data): Likewise.
17176 (copysign_test_data): Likewise.
17177 (cos_test_data): Likewise.
17178 (cos_tonearest_test_data): Likewise.
17179 (cos_towardzero_test_data): Likewise.
17180 (cos_downward_test_data): Likewise.
17181 (cos_upward_test_data): Likewise.
17182 (cosh_test_data): Likewise.
17183 (cosh_tonearest_test_data): Likewise.
17184 (cosh_towardzero_test_data): Likewise.
17185 (cosh_downward_test_data): Likewise.
17186 (cosh_upward_test_data): Likewise.
17187 (cpow_test_data): Likewise.
17188 (cproj_test_data): Likewise.
17189 (creal_test_data): Likewise.
17190 (csin_test_data): Likewise.
17191 (csinh_test_data): Likewise.
17192 (csqrt_test_data): Likewise.
17193 (ctan_test_data): Likewise.
17194 (ctan_tonearest_test_data): Likewise.
17195 (ctan_towardzero_test_data): Likewise.
17196 (ctan_downward_test_data): Likewise.
17197 (ctan_upward_test_data): Likewise.
17198 (ctanh_test_data): Likewise.
17199 (ctanh_tonearest_test_data): Likewise.
17200 (ctanh_towardzero_test_data): Likewise.
17201 (ctanh_downward_test_data): Likewise.
17202 (ctanh_upward_test_data): Likewise.
17203 (erf_test_data): Likewise.
17204 (erfc_test_data): Likewise.
17205 (exp_test_data): Likewise.
17206 (exp_tonearest_test_data): Likewise.
17207 (exp_towardzero_test_data): Likewise.
17208 (exp_downward_test_data): Likewise.
17209 (exp_upward_test_data): Likewise.
17210 (exp10_test_data): Likewise.
17211 (exp2_test_data): Likewise.
17212 (expm1_test_data): Likewise.
17213 (fabs_test_data): Likewise.
17214 (fdim_test_data): Likewise.
17215 (finite_test_data): Likewise.
17216 (floor_test_data): Likewise.
17217 (fma_test_data): Likewise.
17218 (fma_towardzero_test_data): Likewise.
17219 (fma_downward_test_data): Likewise.
17220 (fma_upward_test_data): Likewise.
17221 (fmax_test_data): Likewise.
17222 (fmin_test_data): Likewise.
17223 (fmod_test_data): Likewise.
17224 (fpclassify_test_data): Likewise.
17225 (frexp_test_data): Likewise.
17226 (gamma_test_data): Likewise.
17227 (hypot_test_data): Likewise.
17228 (ilogb_test_data): Likewise.
17229 (isfinite_test_data): Likewise.
17230 (isgreater_test_data): Likewise.
17231 (isgreaterequal_test_data): Likewise.
17232 (isinf_test_data): Likewise.
17233 (isless_test_data): Likewise.
17234 (islessequal_test_data): Likewise.
17235 (islessgreater_test_data): Likewise.
17236 (isnan_test_data): Likewise.
17237 (isnormal_test_data): Likewise.
17238 (issignaling_test_data): Likewise.
17239 (isunordered_test_data): Likewise.
17240 (j0_test_data): Likewise.
17241 (j1_test_data): Likewise.
17242 (jn_test_data): Likewise.
17243 (ldexp_test_data): Likewise.
17244 (lgamma_test_data): Likewise.
17245 (lrint_test_data): Likewise.
17246 (lrint_tonearest_test_data): Likewise.
17247 (lrint_towardzero_test_data): Likewise.
17248 (lrint_downward_test_data): Likewise.
17249 (lrint_upward_test_data): Likewise.
17250 (llrint_test_data): Likewise.
17251 (llrint_tonearest_test_data): Likewise.
17252 (llrint_towardzero_test_data): Likewise.
17253 (llrint_downward_test_data): Likewise.
17254 (llrint_upward_test_data): Likewise.
17255 (log_test_data): Likewise.
17256 (log10_test_data): Likewise.
17257 (log1p_test_data): Likewise.
17258 (log2_test_data): Likewise.
17259 (logb_test_data): Likewise.
17260 (logb_downward_test_data): Likewise.
17261 (lround_test_data): Likewise.
17262 (llround_test_data): Likewise.
17263 (modf_test_data): Likewise.
17264 (nearbyint_test_data): Likewise.
17265 (nextafter_test_data): Likewise.
17266 (nexttoward_test_data): Likewise.
17267 (pow_test_data): Likewise.
17268 (pow_tonearest_test_data): Likewise.
17269 (pow_towardzero_test_data): Likewise.
17270 (pow_downward_test_data): Likewise.
17271 (pow_upward_test_data): Likewise.
17272 (remainder_test_data): Likewise.
17273 (remainder_tonearest_test_data): Likewise.
17274 (remainder_towardzero_test_data): Likewise.
17275 (remainder_downward_test_data): Likewise.
17276 (remainder_upward_test_data): Likewise.
17277 (remquo_test_data): Likewise.
17278 (rint_test_data): Likewise.
17279 (rint_tonearest_test_data): Likewise.
17280 (rint_towardzero_test_data): Likewise.
17281 (rint_downward_test_data): Likewise.
17282 (rint_upward_test_data): Likewise.
17283 (round_test_data): Likewise.
17284 (scalb_test_data): Likewise.
17285 (scalbn_test_data): Likewise.
17286 (scalbln_test_data): Likewise.
17287 (signbit_test_data): Likewise.
17288 (sin_test_data): Likewise.
17289 (sin_tonearest_test_data): Likewise.
17290 (sin_towardzero_test_data): Likewise.
17291 (sin_downward_test_data): Likewise.
17292 (sin_upward_test_data): Likewise.
17293 (sincos_test_data): Likewise.
17294 (sinh_test_data): Likewise.
17295 (sinh_tonearest_test_data): Likewise.
17296 (sinh_towardzero_test_data): Likewise.
17297 (sinh_downward_test_data): Likewise.
17298 (sinh_upward_test_data): Likewise.
17299 (sqrt_test_data): Likewise.
17300 (tan_test_data): Likewise.
17301 (tan_tonearest_test_data): Likewise.
17302 (tan_towardzero_test_data): Likewise.
17303 (tan_downward_test_data): Likewise.
17304 (tan_upward_test_data): Likewise.
17305 (tanh_test_data): Likewise.
17306 (tgamma_test_data): Likewise.
17307 (trunc_test_data): Likewise.
17308 (y0_test_data): Likewise.
17309 (y1_test_data): Likewise.
17310 (yn_test_data): Likewise.
17311 (significand_test_data): Likewise.
17312
b679a606
JM
17313 * math/gen-libm-test.pl (@functions): Remove variable.
17314 (generate_testfile): Don't handle START and END lines.
17315 * math/libm-test.inc (START): New macro.
17316 (END): Likewise.
17317 (END_COMPLEX): Likewise.
17318 (acos_test): Use END macro without arguments.
17319 (acos_test_tonearest): Likewise.
17320 (acos_test_towardzero): Likewise.
17321 (acos_test_downward): Likewise.
17322 (acos_test_upward): Likewise.
17323 (acosh_test): Likewise.
17324 (asin_test): Likewise.
17325 (asin_test_tonearest): Likewise.
17326 (asin_test_towardzero): Likewise.
17327 (asin_test_downward): Likewise.
17328 (asin_test_upward): Likewise.
17329 (asinh_test): Likewise.
17330 (atan_test): Likewise.
17331 (atanh_test): Likewise.
17332 (atan2_test): Likewise.
17333 (cabs_test): Likewise.
17334 (cacos_test): Use END_COMPLEX macro without arguments.
17335 (cacosh_test): Likewise.
17336 (carg_test): Use END macro without arguments.
17337 (casin_test): Use END_COMPLEX macro without arguments.
17338 (casinh_test): Likewise.
17339 (catan_test): Likewise.
17340 (catanh_test): Likewise.
17341 (cbrt_test): Use END macro without arguments.
17342 (ccos_test): Use END_COMPLEX macro without arguments.
17343 (ccosh_test): Likewise.
17344 (ceil_test): Use END macro without arguments.
17345 (cexp_test): Use END_COMPLEX macro without arguments.
17346 (cimag_test): Use END macro without arguments.
17347 (clog_test): Use END_COMPLEX macro without arguments.
17348 (clog10_test): Likewise.
17349 (conj_test): Likewise.
17350 (copysign_test): Use END macro without arguments.
17351 (cos_test): Likewise.
17352 (cos_test_tonearest): Likewise.
17353 (cos_test_towardzero): Likewise.
17354 (cos_test_downward): Likewise.
17355 (cos_test_upward): Likewise.
17356 (cosh_test): Likewise.
17357 (cosh_test_tonearest): Likewise.
17358 (cosh_test_towardzero): Likewise.
17359 (cosh_test_downward): Likewise.
17360 (cosh_test_upward): Likewise.
17361 (cpow_test): Use END_COMPLEX macro without arguments.
17362 (cproj_test): Likewise.
17363 (creal_test): Use END macro without arguments.
17364 (csin_test): Use END_COMPLEX macro without arguments.
17365 (csinh_test): Likewise.
17366 (csqrt_test): Likewise.
17367 (ctan_test): Likewise.
17368 (ctan_test_tonearest): Likewise.
17369 (ctan_test_towardzero): Likewise.
17370 (ctan_test_downward): Likewise.
17371 (ctan_test_upward): Likewise.
17372 (ctanh_test): Likewise.
17373 (ctanh_test_tonearest): Likewise.
17374 (ctanh_test_towardzero): Likewise.
17375 (ctanh_test_downward): Likewise.
17376 (ctanh_test_upward): Likewise.
17377 (erf_test): Use END macro without arguments.
17378 (erfc_test): Likewise.
17379 (exp_test): Likewise.
17380 (exp_test_tonearest): Likewise.
17381 (exp_test_towardzero): Likewise.
17382 (exp_test_downward): Likewise.
17383 (exp_test_upward): Likewise.
17384 (exp10_test): Likewise.
17385 (exp2_test): Likewise.
17386 (expm1_test): Likewise.
17387 (fabs_test): Likewise.
17388 (fdim_test): Likewise.
17389 (finite_test): Likewise.
17390 (floor_test): Likewise.
17391 (fma_test): Likewise.
17392 (fma_test_towardzero): Likewise.
17393 (fma_test_downward): Likewise.
17394 (fma_test_upward): Likewise.
17395 (fmax_test): Likewise.
17396 (fmin_test): Likewise.
17397 (fmod_test): Likewise.
17398 (fpclassify_test): Likewise.
17399 (frexp_test): Likewise.
17400 (gamma_test): Likewise.
17401 (hypot_test): Likewise.
17402 (ilogb_test): Likewise.
17403 (isfinite_test): Likewise.
17404 (isgreater_test): Likewise.
17405 (isgreaterequal_test): Likewise.
17406 (isinf_test): Likewise.
17407 (isless_test): Likewise.
17408 (islessequal_test): Likewise.
17409 (islessgreater_test): Likewise.
17410 (isnan_test): Likewise.
17411 (isnormal_test): Likewise.
17412 (issignaling_test): Likewise.
17413 (isunordered_test): Likewise.
17414 (j0_test): Likewise.
17415 (j1_test): Likewise.
17416 (jn_test): Likewise.
17417 (ldexp_test): Likewise.
17418 (lgamma_test): Likewise.
17419 (lrint_test): Likewise.
17420 (lrint_test_tonearest): Likewise.
17421 (lrint_test_towardzero): Likewise.
17422 (lrint_test_downward): Likewise.
17423 (lrint_test_upward): Likewise.
17424 (llrint_test): Likewise.
17425 (llrint_test_tonearest): Likewise.
17426 (llrint_test_towardzero): Likewise.
17427 (llrint_test_downward): Likewise.
17428 (llrint_test_upward): Likewise.
17429 (log_test): Likewise.
17430 (log10_test): Likewise.
17431 (log1p_test): Likewise.
17432 (log2_test): Likewise.
17433 (logb_test): Likewise.
17434 (logb_test_downward): Likewise.
17435 (lround_test): Likewise.
17436 (llround_test): Likewise.
17437 (modf_test): Likewise.
17438 (nearbyint_test): Likewise.
17439 (nextafter_test): Likewise.
17440 (nexttoward_test): Likewise.
17441 (pow_test): Likewise.
17442 (pow_test_tonearest): Likewise.
17443 (pow_test_towardzero): Likewise.
17444 (pow_test_downward): Likewise.
17445 (pow_test_upward): Likewise.
17446 (remainder_test): Likewise.
17447 (remainder_test_tonearest): Likewise.
17448 (remainder_test_towardzero): Likewise.
17449 (remainder_test_downward): Likewise.
17450 (remainder_test_upward): Likewise.
17451 (remquo_test): Likewise.
17452 (rint_test): Likewise.
17453 (rint_test_tonearest): Likewise.
17454 (rint_test_towardzero): Likewise.
17455 (rint_test_downward): Likewise.
17456 (rint_test_upward): Likewise.
17457 (round_test): Likewise.
17458 (scalb_test): Likewise.
17459 (scalbn_test): Likewise.
17460 (scalbln_test): Likewise.
17461 (signbit_test): Likewise.
17462 (sin_test): Likewise.
17463 (sin_test_tonearest): Likewise.
17464 (sin_test_towardzero): Likewise.
17465 (sin_test_downward): Likewise.
17466 (sin_test_upward): Likewise.
17467 (sincos_test): Likewise.
17468 (sinh_test): Likewise.
17469 (sinh_test_tonearest): Likewise.
17470 (sinh_test_towardzero): Likewise.
17471 (sinh_test_downward): Likewise.
17472 (sinh_test_upward): Likewise.
17473 (sqrt_test): Likewise.
17474 (tan_test): Likewise.
17475 (tan_test_tonearest): Likewise.
17476 (tan_test_towardzero): Likewise.
17477 (tan_test_downward): Likewise.
17478 (tan_test_upward): Likewise.
17479 (tanh_test): Likewise.
17480 (tgamma_test): Likewise.
17481 (trunc_test): Likewise.
17482 (y0_test): Likewise.
17483 (y1_test): Likewise.
17484 (yn_test): Likewise.
17485 (significand_test): Likewise.
17486
bae143d2
OB
174872013-05-24 Ondřej Bílka <neleai@seznam.cz>
17488
17489 [BZ #15381]
17490 * libio/genops.c (_IO_no_init): Initialize wide struct info.
17491
9323d39b
EM
174922013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
17493
d4ea44a0 17494 [BZ #14894]
9323d39b
EM
17495 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
17496 __ppc_mdoio and __ppc_mdoom.
17497 * manual/platform.texi: Document new functions __ppc_yield,
17498 __ppc_mdoio and __ppc_mdoom.
17499
13e23af7
CD
175002013-05-22 Carlos O'Donell <carlos@redhat.com>
17501
17502 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
17503 (main): Mention "tls" pseudo-hwcap is legacy.
17504 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
17505
351fe550
JM
175062013-05-22 Joseph Myers <joseph@codesourcery.com>
17507
17508 * math/gen-libm-test.pl (parse_args): Output only string of
17509 arguments as text for test name, not full call or descriptions of
17510 tests for extra outputs.
17511 (generate_testfile): Do not pass function name to parse_args.
17512 Generate this_func variable from START.
17513 * math/libm-test.inc (struct test_f_f_data): Rename test_name
17514 field to arg_str.
17515 (struct test_ff_f_data): Likewise.
17516 (test_ff_f_data_nexttoward): Likewise.
17517 (struct test_fi_f_data): Likewise.
17518 (struct test_fl_f_data): Likewise.
17519 (struct test_if_f_data): Likewise.
17520 (struct test_fff_f_data): Likewise.
17521 (struct test_c_f_data): Likewise.
17522 (struct test_f_f1_data): Likewise. Remove field extra_name.
17523 (struct test_fF_f1_data): Likewise.
17524 (struct test_ffI_f1_data): Likewise.
17525 (struct test_c_c_data): Rename test_name field to arg_str.
17526 (struct test_cc_c_data): Likewise.
17527 (struct test_f_i_data): Likewise.
17528 (struct test_ff_i_data): Likewise.
17529 (struct test_f_l_data): Likewise.
17530 (struct test_f_L_data): Likewise.
17531 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
17532 and extra2_name.
17533 (COMMON_TEST_SETUP): New macro.
17534 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
17535 (COMMON_TEST_CLEANUP): Likewise.
17536 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
17537 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
17538 macros.
17539 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
17540 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
17541 macros.
17542 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
17543 (RUN_TEST_fff_f): Take argument string. Call new setup and
17544 cleanup macros.
17545 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
17546 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
17547 macros.
17548 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
17549 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
17550 macros.
17551 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17552 (RUN_TEST_fF_f1): Take argument string. Call new setup and
17553 cleanup macros.
17554 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17555 (RUN_TEST_fI_f1): Take argument string. Call new setup and
17556 cleanup macros.
17557 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17558 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
17559 cleanup macros.
17560 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17561 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
17562 macros.
17563 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
17564 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
17565 macros.
17566 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
17567 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
17568 macros.
17569 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
17570 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
17571 cleanup macros.
17572 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
17573 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
17574 cleanup macros.
17575 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
17576 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
17577 macros.
17578 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
17579 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
17580 cleanup macros.
17581 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
17582 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
17583 macros.
17584 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
17585 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
17586 macros.
17587 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
17588 (RUN_TEST_fFF_11): Take argument string. Call new setup and
17589 cleanup macros.
17590 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
17591
85118d4d
EBM
175922013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17593
17594 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
17595 to _sifields.sigfault.
17596 (si_addr_lsb): Define new macro.
17597 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17598 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17599 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
17600
7a44c18f
CD
176012013-05-03 Carlos O'Donell <carlos at redhat.com>
17602
17603 [BZ #15441]
17604 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
17605 returns -1.
17606 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
17607 null return -1.
17608 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
17609 loading the domain.
17610
b50a7181
JM
176112013-05-22 Joseph Myers <joseph@codesourcery.com>
17612
17613 * math/gen-libm-test.pl (parse_args): Do not include expected
17614 result in test name.
17615 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
17616 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17617 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17618 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17619 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17621
051063c8
SP
176222013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17623
3ce9e010
SP
17624 * benchtests/Makefile: Sort function entries.
17625
051063c8
SP
17626 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
17627 tanh, asinh, acosh, atanh.
17628 * benchtests/acos-inputs: New file.
17629 * benchtests/acosh-inputs: New file.
17630 * benchtests/asin-inputs: New file.
17631 * benchtests/asinh-inputs: New file.
17632 * benchtests/atanh-inputs: New file.
17633 * benchtests/cosh-inputs: New file.
17634 * benchtests/log-inputs: New file.
17635 * benchtests/sinh-inputs: New file.
17636 * benchtests/tanh-inputs: New file.
17637
47c22455
DL
176382013-05-21 Dmitry V. Levin <ldv@altlinux.org>
17639
17640 [BZ #15339]
17641 * posix/tst-getaddrinfo4.c: New test.
17642 * posix/Makefile (tests): Add it.
17643
3d04f5db
SP
176442013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17645
17646 [BZ #15339]
17647 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
17648 when no services were used.
17649 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
17650 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
17651
d5dd6189
AS
176522013-05-21 Andreas Schwab <schwab@suse.de>
17653
17654 [BZ #15014]
17655 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
17656 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
17657 successful.
17658 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
17659 redundant variable declarations and reallocation of buffer when
17660 parsing as IPv6 address. Always set NSS status when called from
17661 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
17662 buffer too small. Correct computation of needed size.
17663 * nss/Makefile (tests): Add test-digits-dots.
17664 * nss/test-digits-dots.c: New test.
17665
fef94eab
SP
176662013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17667
17668 * benchtests/Makefile: Remove instructions for adding
17669 benchmark tests.
17670 * benchtests/README: New file to explain how to execute and
17671 enhance the benchmark tests.
17672
e39adf43
AS
176732013-05-21 Andreas Schwab <schwab@suse.de>
17674
17675 [BZ #15493]
17676 * setjmp/Makefile (tests): Add tst-sigsetjmp.
17677 * setjmp/tst-sigsetjmp.c: New test.
17678
b2b671b6
OB
176792013-05-20 Ondřej Bílka <neleai@seznam.cz>
17680
17681 * sysdeps/x86_64/memset.S (memset): New implementation.
17682 (__bzero): Likewise.
17683 (__memset_tail): New function.
17684
2d48b41c
OB
176852013-05-20 Ondřej Bílka <neleai@seznam.cz>
17686
17687 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
17688 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
17689 __memcpy_sse2_unaligned ifunc selection.
17690 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17691 Add memcpy-sse2-unaligned.S.
17692 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17693 Add: __memcpy_sse2_unaligned.
17694
f16cc3eb
JM
176952013-05-19 Joseph Myers <joseph@codesourcery.com>
17696
3e694268
JM
17697 [BZ #15490]
17698 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
17699 math_force_eval before restoring floating-point envrionment.
17700 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
17701 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
17702 Likewise.
17703 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
17704 <math_private.h>.
17705 (__nearbyintl): Use math_force_eval before restoring
17706 floating-point environment.
17707 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
17708
db62a907
JM
17709 * math/gen-libm-test.pl (special_functions): Remove.
17710 (parse_args): Don't handle TEST_extra. Handle functions with no
17711 return value.
17712 * math/libm-test.inc (struct test_sincos_data): Replace with
17713 struct test_fFF_11_data.
17714 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
17715 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
17716 (sincos_test_data): Change element type to struct
17717 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
17718 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
17719 RUN_TEST_LOOP_sincos.
17720 * math/README.libm-test: Don't mention special handling of
17721 individual functions.
17722 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
17723 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17724 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17725 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17726 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17728
f16cc3eb
JM
17729 * math/gen-libm-test.pl (get_variable): Remove function.
17730 (parse_args): Don't show pointer parameters to call in test
17731 names. Use "extra output N" in test names for extra outputs
17732 rather than naming variables.
17733
3779b5b6
JM
177342013-05-18 Joseph Myers <joseph@codesourcery.com>
17735
2ee094ff
JM
17736 [BZ #15488]
17737 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
17738 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
17739 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
17740 double tests.
17741 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
17742 disable.
17743 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
17744 check_long_double.
17745
3779b5b6
JM
17746 * math/gen-libm-test.pl (@tests): Remove variable.
17747 ($count): Likewise.
17748 (new_test): Remove function.
17749 (show_exceptions): New function.
17750 (special_functions): Use show_exceptions instead of new_test.
17751 (parse_args): Likewise.
17752 (generate_testfile): Pass only function name in generated call to
17753 print_max_error or print_complex_max_error.
17754 (get_ulps): Do not handle complex tests specially.
17755 (output_test): Rename to ...
17756 (get_all_ulps_for_test): ... this. Return a string rather than
17757 printing to a file. Require ulps to be present.
17758 (output_ulps): Generate arrays rather than #defines.
17759 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
17760 (struct ulp_data): New type.
17761 (BUILD_COMPLEX_ULP): Remove macro.
17762 (compare_ulp_data): New function.
17763 (find_ulps): Likewise.
17764 (find_test_ulps): Likewise.
17765 (find_function_ulps): Likewise.
17766 (find_complex_function_ulps): Likewise.
17767 (print_max_error): Determine allowed ulps using
17768 find_function_ulps.
17769 (print_complex_max_error): Determine allowed ulps using
17770 find_complex_function_ulps.
17771 (check_float_internal): Determine max ulps using find_test_ulps.
17772 (check_float): Do not take max_ulp parameter. Update call to
17773 check_float_internal.
17774 (check_complex): Likewise.
17775 (check_int): Do not take max_ulp parameter.
17776 (check_long): Likewise.
17777 (check_bool): Likewise.
17778 (check_longlong): Likewise.
17779 (struct test_f_f_data): Remove max_ulp field.
17780 (struct test_ff_f_data): Likewise.
17781 (struct test_ff_f_data_nexttoward): Likewise.
17782 (struct test_fi_f_data): Likewise.
17783 (struct test_fl_f_data): Likewise.
17784 (struct test_if_f_data): Likewise.
17785 (struct test_fff_f_data): Likewise.
17786 (struct test_c_f_data): Likewise.
17787 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
17788 (struct test_fF_f1_data): Likewise.
17789 (struct test_ffI_f1_data): Likewise.
17790 (struct test_c_c_data): Remove max_ulp field.
17791 (struct test_cc_c_data): Likewise.
17792 (struct test_f_i_data): Likewise.
17793 (struct test_ff_i_data): Likewise.
17794 (struct test_f_l_data): Likewise.
17795 (struct test_f_L_data): Likewise.
17796 (struct test_sincos_data): Likewise.
17797 (RUN_TEST_f_f): Do not handle ulps.
17798 (RUN_TEST_LOOP_f_f): Likewise.
17799 (RUN_TEST_2_f): Likewise.
17800 (RUN_TEST_LOOP_2_f): Likewise.
17801 (RUN_TEST_fff_f): Likewise.
17802 (RUN_TEST_LOOP_fff_f): Likewise.
17803 (RUN_TEST_c_f): Likewise.
17804 (RUN_TEST_LOOP_c_f): Likewise.
17805 (RUN_TEST_f_f1): Likewise.
17806 (RUN_TEST_LOOP_f_f1): Likewise.
17807 (RUN_TEST_fF_f1): Likewise.
17808 (RUN_TEST_LOOP_fF_f1): Likewise.
17809 (RUN_TEST_fI_f1): Likewise.
17810 (RUN_TEST_LOOP_fI_f1): Likewise.
17811 (RUN_TEST_ffI_f1): Likewise.
17812 (RUN_TEST_LOOP_ffI_f1): Likewise.
17813 (RUN_TEST_c_c): Likewise.
17814 (RUN_TEST_LOOP_c_c): Likewise.
17815 (RUN_TEST_cc_c): Likewise.
17816 (RUN_TEST_LOOP_cc_c): Likewise.
17817 (RUN_TEST_f_i): Likewise.
17818 (RUN_TEST_LOOP_f_i): Likewise.
17819 (RUN_TEST_f_i_tg): Likewise.
17820 (RUN_TEST_LOOP_f_i_tg): Likewise.
17821 (RUN_TEST_ff_i_tg): Likewise.
17822 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17823 (RUN_TEST_f_b): Likewise.
17824 (RUN_TEST_LOOP_f_b): Likewise.
17825 (RUN_TEST_f_b_tg): Likewise.
17826 (RUN_TEST_LOOP_f_b_tg): Likewise.
17827 (RUN_TEST_f_l): Likewise.
17828 (RUN_TEST_LOOP_f_l): Likewise.
17829 (RUN_TEST_f_L): Likewise.
17830 (RUN_TEST_LOOP_f_L): Likewise.
17831 (RUN_TEST_sincos): Likewise.
17832 (RUN_TEST_LOOP_sincos): Likewise.
17833
8269107f
JM
178342013-05-17 Joseph Myers <joseph@codesourcery.com>
17835
bb38759d
JM
17836 [BZ #15480]
17837 [BZ #15485]
17838 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
17839 main case of finite arguments, set rounding mode to FE_TONEAREST
17840 and discard exceptions.
17841 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
17842 exceptions.
17843 (remainder_tonearest_test_data): New variable.
17844 (remainder_test_tonearest): New function.
17845 (remainder_towardzero_test_data): New variable.
17846 (remainder_test_towardzero): New function.
17847 (remainder_downward_test_data): New variable.
17848 (remainder_test_downward): New function.
17849 (remainder_upward_test_data): New variable.
17850 (remainder_test_upward): New function.
17851 (main): Call the new test functions.
17852
a00bdcf0
JM
17853 * math/libm-test.inc (struct test_f_f1_data): Remove field
17854 extra_init.
17855 (struct test_fF_f1_data): Likewise.
17856 (struct test_ffI_f1_data): Likewise.
17857 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
17858 based on value of EXTRA_EXPECTED.
17859 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17860 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
17861 EXTRA_VAR based on value of EXTRA_EXPECTED.
17862 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17863 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
17864 EXTRA_VAR based on value of EXTRA_EXPECTED.
17865 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17866 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
17867 EXTRA_VAR based on value of EXTRA_EXPECTED.
17868 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17869 * math/gen-libm-test.pl (parse_args): Don't output initializers
17870 for extra output values.
17871
de407f79
JM
17872 * math/libm-test.inc (check_int): Expect result to be exactly
17873 equal to expected value and do not handle ulps.
17874 (check_long): Likewise.
17875 (check_longlong): Likewise.
17876
8269107f
JM
17877 * math/libm-test.inc (ceil_test_data): Test for "inexact"
17878 exceptions.
17879 (cimag_test_data): Likewise.
17880 (conj_test_data): Likewise.
17881 (copysign_test_data): Likewise.
17882 (cproj_test_data): Likewise.
17883 (creal_test_data): Likewise.
17884 (fabs_test_data): Likewise.
17885 (fdim_test_data): Likewise.
17886 (finite_test_data): Likewise.
17887 (floor_test_data): Likewise.
17888 (fmax_test_data): Likewise.
17889 (fmin_test_data): Likewise.
17890 (fmod_test_data): Likewise.
17891 (fpclassify_test_data): Likewise.
17892 (frexp_test_data): Likewise.
17893 (ilogb_test_data): Likewise.
17894 (isfinite_test_data): Likewise.
17895 (isgreater_test_data): Likewise.
17896 (isgreaterequal_test_data): Likewise.
17897 (isinf_test_data): Likewise.
17898 (isless_test_data): Likewise.
17899 (islessequal_test_data): Likewise.
17900 (islessgreater_test_data): Likewise.
17901 (isnan_test_data): Likewise.
17902 (isnormal_test_data): Likewise.
17903 (issignaling_test_data): Likewise.
17904 (isunordered_test_data): Likewise.
17905 (ldexp_test_data): Likewise.
17906 (lrint_test_data): Likewise.
17907 (lrint_test_data) [TEST_FLOAT]: Disable one test.
17908 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
17909 (lrint_tonearest_test_data): Test for "inexact" exceptions.
17910 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17911 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
17912 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17913 test input.
17914 (lrint_towardzero_test_data): Test for "inexact" exceptions.
17915 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17916 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
17917 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
17918 that test input.
17919 (lrint_downward_test_data): Test for "inexact" exceptions.
17920 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17921 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
17922 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17923 test input.
17924 (lrint_upward_test_data): Test for "inexact" exceptions.
17925 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
17926 test input.
17927 (llrint_test_data): Test for "inexact" exceptions.
17928 (llrint_test_data) [TEST_FLOAT]: Disable one test.
17929 (llrint_tonearest_test_data): Test for "inexact" exceptions.
17930 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17931 (llrint_towardzero_test_data): Test for "inexact" exceptions.
17932 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17933 (llrint_downward_test_data): Test for "inexact" exceptions.
17934 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17935 (llrint_upward_test_data): Test for "inexact" exceptions.
17936 (logb_test_data): Likewise.
17937 (logb_downward_test_data): Likewise.
17938 (nextafter_test_data): Likewise.
17939 (nexttoward_test_data): Likewise.
17940 (remainder_test_data): Likewise.
17941 (remquo_test_data): Likewise.
17942 (scalbn_test_data): Likewise.
17943 (scalbln_test_data): Likewise.
17944 (signbit_test_data): Likewise.
17945 (sqrt_test_data): Likewise.
17946 (significand_test_data): Likewise.
17947
48a18de1
SP
179482013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17949
17950 [BZ #15424]
17951 * benchtests/bench-modf.c (struct args): Mark arg0 as
17952 volatile.
17953 * scripts/bench.pl: Mark members of struct args as volatile.
17954
13d3b41a
AZ
179552013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17956
68191c1d 17957 [BZ # 15497]
13d3b41a
AZ
17958 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
17959 negative infinity on POWER6 or lower.
17960 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
17961
2848b105
MR
179622013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
17963
17964 [BZ #15442]
17965 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
17966 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
17967 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
17968 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
17969 (_FP_SETQNAN): New macro.
17970 (_FP_SETQNAN_SEMIRAW): Likewise.
17971 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
17972 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
17973 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
17974 (FP_EXTEND): Use _FP_FRAC_SNANP.
17975 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
17976 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
17977 into account.
17978 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17979 New macro.
17980 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17981 Likewise.
17982
323e5cb7
JM
179832013-05-16 Joseph Myers <joseph@codesourcery.com>
17984
c58b274f
JM
17985 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
17986 with DIVIDE_BY_ZERO_EXCEPTION.
17987 (gamma_test_data): Likewise.
17988 (lgamma_test_data): Likewise.
17989 (log_test_data): Likewise.
17990 (log10_test_data): Likewise.
17991 (log2_test_data): Likewise.
17992 (tgamma_test_data): Likewise.
17993
0ab34904
JM
17994 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
17995 (acos_test_tonearest): Likewise.
17996 (acos_test_towardzero): Likewise.
17997 (acos_test_downward): Likewise.
17998 (acos_test_upward): Likewise.
17999 (acosh_test): Likewise.
18000 (asin_test): Likewise.
18001 (asin_test_tonearest): Likewise.
18002 (asin_test_towardzero): Likewise.
18003 (asin_test_downward): Likewise.
18004 (asin_test_upward): Likewise.
18005 (asinh_test): Likewise.
18006 (atan_test): Likewise.
18007 (atanh_test): Likewise.
18008 (atan2_test): Likewise.
18009 (cabs_test): Likewise.
18010 (cacos_test): Likewise.
18011 (cacosh_test): Likewise.
18012 (casin_test): Likewise.
18013 (casinh_test): Likewise.
18014 (catan_test): Likewise.
18015 (catanh_test): Likewise.
18016 (cbrt_test): Likewise.
18017 (ccos_test): Likewise.
18018 (ccosh_test): Likewise.
18019 (cexp_test): Likewise.
18020 (clog_test): Likewise.
18021 (clog10_test): Likewise.
18022 (cos_test): Likewise.
18023 (cos_test_tonearest): Likewise.
18024 (cos_test_towardzero): Likewise.
18025 (cos_test_downward): Likewise.
18026 (cos_test_upward): Likewise.
18027 (cosh_test): Likewise.
18028 (cosh_test_tonearest): Likewise.
18029 (cosh_test_towardzero): Likewise.
18030 (cosh_test_downward): Likewise.
18031 (cosh_test_upward): Likewise.
18032 (cpow_test): Likewise.
18033 (csin_test): Likewise.
18034 (csinh_test): Likewise.
18035 (csqrt_test): Likewise.
18036 (ctan_test): Likewise.
18037 (ctan_test_tonearest): Likewise.
18038 (ctan_test_towardzero): Likewise.
18039 (ctan_test_downward): Likewise.
18040 (ctan_test_upward): Likewise.
18041 (ctanh_test): Likewise.
18042 (ctanh_test_tonearest): Likewise.
18043 (ctanh_test_towardzero): Likewise.
18044 (ctanh_test_downward): Likewise.
18045 (ctanh_test_upward): Likewise.
18046 (erf_test): Likewise.
18047 (erfc_test): Likewise.
18048 (exp_test): Likewise.
18049 (exp_test_tonearest): Likewise.
18050 (exp_test_towardzero): Likewise.
18051 (exp_test_downward): Likewise.
18052 (exp_test_upward): Likewise.
18053 (exp10_test): Likewise.
18054 (exp2_test): Likewise.
18055 (expm1_test): Likewise.
18056 (fmod_test): Likewise.
18057 (gamma_test): Likewise.
18058 (hypot_test): Likewise.
18059 (j0_test): Likewise.
18060 (j1_test): Likewise.
18061 (jn_test): Likewise.
18062 (lgamma_test): Likewise.
18063 (log_test): Likewise.
18064 (log10_test): Likewise.
18065 (log1p_test): Likewise.
18066 (log2_test): Likewise.
18067 (logb_test_downward): Likewise.
18068 (pow_test): Likewise.
18069 (pow_test_tonearest): Likewise.
18070 (pow_test_towardzero): Likewise.
18071 (pow_test_downward): Likewise.
18072 (pow_test_upward): Likewise.
18073 (remainder_test): Likewise.
18074 (remquo_test): Likewise.
18075 (sin_test): Likewise.
18076 (sin_test_tonearest): Likewise.
18077 (sin_test_towardzero): Likewise.
18078 (sin_test_downward): Likewise.
18079 (sin_test_upward): Likewise.
18080 (sincos_test): Likewise.
18081 (sinh_test): Likewise.
18082 (sinh_test_tonearest): Likewise.
18083 (sinh_test_towardzero): Likewise.
18084 (sinh_test_downward): Likewise.
18085 (sinh_test_upward): Likewise.
18086 (sqrt_test): Likewise.
18087 (tan_test): Likewise.
18088 (tan_test_tonearest): Likewise.
18089 (tan_test_towardzero): Likewise.
18090 (tan_test_downward): Likewise.
18091 (tan_test_upward): Likewise.
18092 (tanh_test): Likewise.
18093 (tgamma_test): Likewise.
18094 (y0_test): Likewise.
18095 (y1_test): Likewise.
18096 (yn_test): Likewise.
18097
323e5cb7
JM
18098 * math/gen-libm-test.pl (adjust_arg): Remove function.
18099 (special_function): Remove argument $in_func. Only handle
18100 generating output for tables of tests, not inside functions.
18101 (parse_args): Likewise.
18102 (generate_testfile): Remove variable $in_func. Update call to
18103 parse_args.
18104 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
18105 (MINUS_ZERO_INIT): Rename macro to minus_zero.
18106 (PLUS_INFTY_INIT): Rename macro to plus_infty.
18107 (MINUS_INFTY_INIT): Rename macro to minus_infty.
18108 (QNAN_VALUE_INIT): Rename macro to qnan_value.
18109 (MAX_VALUE_INIT): Rename macro to max_value.
18110 (MIN_VALUE_INIT): Rename macro to min_value.
18111 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
18112 (plus_zero): Remove variable.
18113 (minus_zero): Likewise.
18114 (plus_infty): Likewise.
18115 (minus_infty): Likewise.
18116 (qnan_value): Likewise.
18117 (max_value): Likewise.
18118 (min_value): Likewise.
18119 (min_subnorm_value): Likewise.
18120
e054f494
RA
181212013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18122
18123 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
18124 uint64_t or uint32_t usage.
18125 * crypt/sha256-block.c: Likewise.
18126 * crypt/sha256-crypt.c: Likewise.
18127 * crypt/sha256.c: Likewise.
18128 * crypt/sha512-block.c: Likewise.
18129 * crypt/sha512-crypt.c: Likewise.
18130 * crypt/sha512.c: Likewise.
18131 * debug/backtrace-tst.c: Likewise.
18132 * debug/pcprofiledump.c: Likewise.
18133 * elf/cache.c: Likewise.
18134 * elf/dl-cache.c: Likewise.
18135 * elf/dl-misc.c: Likewise.
18136 * elf/dl-profile.c: Likewise.
18137 * elf/dl-support.c: Likewise.
18138 * elf/ldconfig.c: Likewise.
18139 * elf/sprof.c: Likewise.
18140 * iconv/dummy-repertoire.c: Likewise.
18141 * iconv/iconv_charmap.c: Likewise.
18142 * iconv/skeleton.c: Likewise.
18143 * iconvdata/8bit-generic.c: Likewise.
18144 * iconvdata/cp737.h: Likewise.
18145 * iconvdata/cp775.h: Likewise.
18146 * iconvdata/ibm1008.h: Likewise.
18147 * iconvdata/ibm1025.h: Likewise.
18148 * iconvdata/ibm1046.h: Likewise.
18149 * iconvdata/ibm1097.h: Likewise.
18150 * iconvdata/ibm1112.h: Likewise.
18151 * iconvdata/ibm1122.h: Likewise.
18152 * iconvdata/ibm1123.h: Likewise.
18153 * iconvdata/ibm1124.h: Likewise.
18154 * iconvdata/ibm1129.h: Likewise.
18155 * iconvdata/ibm1130.h: Likewise.
18156 * iconvdata/ibm1132.h: Likewise.
18157 * iconvdata/ibm1133.h: Likewise.
18158 * iconvdata/ibm1137.h: Likewise.
18159 * iconvdata/ibm1140.h: Likewise.
18160 * iconvdata/ibm1141.h: Likewise.
18161 * iconvdata/ibm1142.h: Likewise.
18162 * iconvdata/ibm1143.h: Likewise.
18163 * iconvdata/ibm1144.h: Likewise.
18164 * iconvdata/ibm1145.h: Likewise.
18165 * iconvdata/ibm1146.h: Likewise.
18166 * iconvdata/ibm1147.h: Likewise.
18167 * iconvdata/ibm1148.h: Likewise.
18168 * iconvdata/ibm1149.h: Likewise.
18169 * iconvdata/ibm1153.h: Likewise.
18170 * iconvdata/ibm1154.h: Likewise.
18171 * iconvdata/ibm1155.h: Likewise.
18172 * iconvdata/ibm1156.h: Likewise.
18173 * iconvdata/ibm1157.h: Likewise.
18174 * iconvdata/ibm1158.h: Likewise.
18175 * iconvdata/ibm1160.h: Likewise.
18176 * iconvdata/ibm1161.h: Likewise.
18177 * iconvdata/ibm1162.h: Likewise.
18178 * iconvdata/ibm1163.h: Likewise.
18179 * iconvdata/ibm1164.h: Likewise.
18180 * iconvdata/ibm1166.h: Likewise.
18181 * iconvdata/ibm1167.h: Likewise.
18182 * iconvdata/ibm12712.h: Likewise.
18183 * iconvdata/ibm1390.h: Likewise.
18184 * iconvdata/ibm1399.h: Likewise.
18185 * iconvdata/ibm16804.h: Likewise.
18186 * iconvdata/ibm4517.h: Likewise.
18187 * iconvdata/ibm4899.h: Likewise.
18188 * iconvdata/ibm4909.h: Likewise.
18189 * iconvdata/ibm4971.h: Likewise.
18190 * iconvdata/ibm5347.h: Likewise.
18191 * iconvdata/ibm803.h: Likewise.
18192 * iconvdata/ibm856.h: Likewise.
18193 * iconvdata/ibm901.h: Likewise.
18194 * iconvdata/ibm902.h: Likewise.
18195 * iconvdata/ibm9030.h: Likewise.
18196 * iconvdata/ibm9066.h: Likewise.
18197 * iconvdata/ibm921.h: Likewise.
18198 * iconvdata/ibm922.h: Likewise.
18199 * iconvdata/ibm9448.h: Likewise.
18200 * iconvdata/isiri-3342.h: Likewise.
18201 * iconvdata/jis0201.h: Likewise.
18202 * include/link.h: Likewise.
18203 * include/netdb.h: Likewise.
18204 * inet/check_native.c: Likewise.
18205 * inet/check_pf.c: Likewise.
18206 * inet/getipv4sourcefilter.c: Likewise.
18207 * inet/getnameinfo.c: Likewise.
18208 * inet/getsourcefilter.c: Likewise.
18209 * inet/htonl.c: Likewise.
18210 * inet/setipv4sourcefilter.c: Likewise.
18211 * inet/setsourcefilter.c: Likewise.
18212 * inet/test-inet6_opt.c: Likewise.
18213 * inet/tst-network.c: Likewise.
18214 * locale/C-collate.c: Likewise.
18215 * locale/C-ctype.c: Likewise.
18216 * locale/C-time.c: Likewise.
18217 * locale/C-translit.h: Likewise.
18218 * locale/loadarchive.c: Likewise.
18219 * locale/programs/3level.h: Likewise.
18220 * locale/programs/charmap.c: Likewise.
18221 * locale/programs/charmap.h: Likewise.
18222 * locale/programs/ld-address.c: Likewise.
18223 * locale/programs/ld-collate.c: Likewise.
18224 * locale/programs/ld-ctype.c: Likewise.
18225 * locale/programs/ld-identification.c: Likewise.
18226 * locale/programs/ld-measurement.c: Likewise.
18227 * locale/programs/ld-messages.c: Likewise.
18228 * locale/programs/ld-monetary.c: Likewise.
18229 * locale/programs/ld-name.c: Likewise.
18230 * locale/programs/ld-numeric.c: Likewise.
18231 * locale/programs/ld-paper.c: Likewise.
18232 * locale/programs/ld-telephone.c: Likewise.
18233 * locale/programs/ld-time.c: Likewise.
18234 * locale/programs/linereader.c: Likewise.
18235 * locale/programs/locale.c: Likewise.
18236 * locale/programs/locarchive.c: Likewise.
18237 * locale/programs/locfile.h: Likewise.
18238 * locale/programs/repertoire.c: Likewise.
18239 * locale/programs/simple-hash.c: Likewise.
18240 * locale/programs/simple-hash.h: Likewise.
18241 * malloc/memusage.c: Likewise.
18242 * malloc/memusagestat.c: Likewise.
18243 * nis/nis_defaults.c: Likewise.
18244 * nis/nis_hash.c: Likewise.
18245 * nis/nis_print.c: Likewise.
18246 * nis/nis_xdr.c: Likewise.
18247 * nscd/connections.c: Likewise.
18248 * nscd/hstcache.c: Likewise.
18249 * nscd/nscd_gethst_r.c: Likewise.
18250 * nscd/nscd_getserv_r.c: Likewise.
18251 * nscd/nscd_helper.c: Likewise.
18252 * nscd/servicescache.c: Likewise.
18253 * nss/makedb.c: Likewise.
18254 * nss/nss_db/db-XXX.c: Likewise.
18255 * nss/nss_db/db-initgroups.c: Likewise.
18256 * nss/nss_db/db-netgrp.c: Likewise.
18257 * nss/nss_files/files-network.c: Likewise.
18258 * nss/nss_files/files-parse.c: Likewise.
18259 * posix/bug-regex5.c: Likewise.
18260 * posix/fnmatch_loop.c: Likewise.
18261 * posix/regcomp.c: Likewise.
18262 * posix/regexec.c: Likewise.
18263 * posix/tst-rfc3484-2.c: Likewise.
18264 * posix/tst-rfc3484-3.c: Likewise.
18265 * posix/tst-rfc3484.c: Likewise.
18266 * resolv/nss_dns/dns-canon.c: Likewise.
18267 * resolv/nss_dns/dns-network.c: Likewise.
18268 * resolv/res_init.c: Likewise.
18269 * resolv/res_mkquery.c: Likewise.
18270 * resolv/tst-aton.c: Likewise.
18271 * stdlib/cxa_atexit.c: Likewise.
18272 * stdlib/cxa_finalize.c: Likewise.
18273 * stdlib/gen-fpioconst.c: Likewise.
18274 * stdlib/strtol_l.c: Likewise.
18275 * string/tst-endian.c: Likewise.
18276 * sunrpc/auth_des.c: Likewise.
18277 * sunrpc/clnt_udp.c: Likewise.
18278 * sunrpc/rtime.c: Likewise.
18279 * sunrpc/svcauth_des.c: Likewise.
18280 * sunrpc/xdr.c: Likewise.
18281 * sunrpc/xdr_intXX_t.c: Likewise.
18282 * sunrpc/xdr_rec.c: Likewise.
18283 * sysdeps/generic/ldconfig.h: Likewise.
18284 * sysdeps/generic/ldsodefs.h: Likewise.
18285 * sysdeps/generic/memusage.h: Likewise.
18286 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18287 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
18288 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
18289 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18290 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18291 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18292 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18293 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18294 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18295 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18296 * sysdeps/posix/getaddrinfo.c: Likewise.
18297 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18298 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18299 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18300 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18301 * sysdeps/powerpc/test-gettimebase.c: Likewise.
18302 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18303 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
18304 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
18305 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
18306 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
18307 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18308 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18309 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
18310 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
18311 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
18312 * sysdeps/x86_64/dl-tls.h: Likewise.
18313 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
18314 * time/alt_digit.c: Likewise.
18315 * time/era.c: Likewise.
18316 * wcsmbs/tst-c16c32-1.c: Likewise.
18317
8c75f674
JM
183182013-05-16 Joseph Myers <joseph@codesourcery.com>
18319
18320 * math/libm-test.inc (struct test_sincos_data): New type.
18321 (RUN_TEST_LOOP_sincos): New macro.
18322 (sincos_test_data): New variable.
18323 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
18324
e6e49e59
RH
183252013-05-16 Richard Henderson <rth@redhat.com>
18326
18327 * math/atest-exp2.c (LIMB64): New macro.
18328 (CONSTSZ): New macro.
18329 (mp_exp1, mp_exp_m1, mp_log2): New variables.
18330 (hexdig): Move ...
18331 (print_mpn_fp): ... to function scope.
18332 (read_mpn_hex): Remove.
18333 (get_log2): Remove.
18334 (exp2_mpn): Use mp_log2.
18335 (main): Use mp_exp1.
18336
15c7c18d
JM
183372013-05-16 Joseph Myers <joseph@codesourcery.com>
18338
105a07df
JM
18339 * math/libm-test.inc: Remove comment about not testing "inexact"
18340 exceptions.
18341 (INEXACT_EXCEPTION): New macro.
18342 (NO_INEXACT_EXCEPTION): Likewise.
18343 (INVALID_EXCEPTION_OK): Update value.
18344 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18345 (OVERFLOW_EXCEPTION_OK): Likewise.
18346 (UNDERFLOW_EXCEPTION_OK): Likewise.
18347 (IGNORE_ZERO_INF_SIGN): Likewise.
18348 (ERRNO_UNCHANGED): Likewise.
18349 (ERRNO_EDOM): Likewise.
18350 (ERRNO_ERANGE): Likewise.
18351 (test_exceptions): Handle testing "inexact" exceptions.
18352 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
18353 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
18354 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
18355 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
18356 INEXACT_EXCEPTION.
18357 (rint_towardzero_test_data): Likewise.
18358 (rint_downward_test_data): Likewise.
18359 (rint_upward_test_data): Likewise.
18360
e9eee333
JM
18361 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
18362 with OVERFLOW_EXCEPTION.
18363 (exp10_test_data): Likewise.
18364 (exp2_test_data): Likewise.
18365 (expm1_test_data): Likewise.
18366 (lgamma_test_data): Likewise.
18367 (pow_test_data): Likewise.
18368 (tgamma_test_data): Likewise.
18369 (yn_test_data): Remove duplicate test of overflow.
18370
1c38ff73
JM
18371 * math/libm-test.inc (struct test_cc_c_data): New type.
18372 (RUN_TEST_LOOP_cc_c): New macro.
18373 (cpow_test_data): New variable.
18374 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
18375
15c7c18d
JM
18376 * math/libm-test.inc (struct test_f_L_data): New type.
18377 (RUN_TEST_LOOP_f_L): New macro.
18378 (llrint_test_data): New variable.
18379 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
18380 (llrint_tonearest_test_data): New variable.
18381 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
18382 (llrint_towardzero_test_data): New variable.
18383 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
18384 (llrint_downward_test_data): New variable.
18385 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
18386 (llrint_upward_test_data): New variable.
18387 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
18388 (llround_test_data): New variable.
18389 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
18390
f137ff13
PC
183912013-05-13 Peter Collingbourne <pcc@google.com>
18392
18393 * math/atest-exp2.c (get_log2): Remove const attribute.
18394
3608cb24
JM
183952013-05-15 Joseph Myers <joseph@codesourcery.com>
18396
18397 * math/libm-test.inc (struct test_f_l_data): New type.
18398 (RUN_TEST_LOOP_f_l): New macro.
18399 (lrint_test_data): New variable.
18400 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
18401 (lrint_tonearest_test_data): New variable.
18402 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
18403 (lrint_towardzero_test_data): New variable.
18404 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
18405 (lrint_downward_test_data): New variable.
18406 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
18407 (lrint_upward_test_data): New variable.
18408 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
18409 (lround_test_data): New variable.
18410 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
18411
39b1f617
PC
184122013-05-15 Peter Collingbourne <pcc@google.com>
18413
1deff3dc
PC
18414 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
18415 (EXTRACT_WORDS64) Use where appropriate.
18416 (INSERT_WORDS64) Likewise.
18417
791f3ba0
PC
18418 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
18419 constraints with x constraints.
18420 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
18421
39b1f617
PC
18422 * malloc/obstack.c (_obstack_compat): Add initializer.
18423
12fba011
EM
184242013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
18425
18426 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
18427 si_trapno and add si_addr_lsb to _sifields.sigfault.
18428 (si_trapno): Remove macro.
18429 (si_addr_lsb): Define new macro.
18430 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18431
d369f531
JM
184322013-05-15 Joseph Myers <joseph@codesourcery.com>
18433
b861c6c4
JM
18434 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
18435 instead of TEST_f_l.
18436 (llrint_test_tonearest): Likewise.
18437 (llrint_test_towardzero): Likewise.
18438 (llrint_test_downward): Likewise.
18439 (llrint_test_upward): Likewise.
18440 (llround_test): Likewise.
18441
7abeee12
JM
18442 * math/libm-test.inc (struct test_f_i_data): Add comment.
18443 (RUN_TEST_LOOP_f_b): New macro.
18444 (RUN_TEST_LOOP_f_b_tg): Likewise.
18445 (finite_test_data): New variable.
18446 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
18447 (isfinite_test_data): New variable.
18448 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18449 (isinf_test_data): New variable.
18450 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18451 (isnan_test_data): New variable.
18452 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18453 (isnormal_test_data): New variable.
18454 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18455 (issignaling_test_data): New variable.
18456 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18457 (signbit_test_data): New variable.
18458 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18459
cbe8c4d3
JM
18460 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
18461 with INVALID_EXCEPTION.
18462 (acosh_test_data): Likewise.
18463 (asin_test_data): Likewise.
18464 (atanh_test_data): Likewise.
18465 (fmod_test_data): Likewise.
18466 (log_test_data): Likewise.
18467 (log10_test_data): Likewise.
18468 (log2_test_data): Likewise.
18469 (pow_test_data): Likewise.
18470 (sqrt_test_data): Likewise.
18471 (y0_test_data): Likewise.
18472 (y1_test_data): Likewise.
18473 (yn_test_data): Likewise.
18474
5575c0e5
JM
18475 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
18476 function contents.
18477
d369f531
JM
18478 * math/libm-test.inc (struct test_ff_i_data): New type.
18479 (RUN_TEST_LOOP_ff_i_tg): New macro.
18480 (isgreater_test_data): New variable.
18481 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18482 (isgreaterequal_test_data): New variable.
18483 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18484 (isless_test_data): New variable.
18485 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18486 (islessequal_test_data): New variable.
18487 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18488 (islessgreater_test_data): New variable.
18489 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18490 (isunordered_test_data): New variable.
18491 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18492
781fd748
DM
184932013-05-14 David S. Miller <davem@davemloft.net>
18494
18495 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18496
87aa21df
JM
184972013-05-14 Joseph Myers <joseph@codesourcery.com>
18498
5e908270
JM
18499 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
18500
f71172e5
JM
18501 * math/libm-test.inc (struct test_fF_f1_data): Change type of
18502 extra_test to int.
18503 (struct test_f_i_data): Change type of max_ulp to int.
18504
8cfa635a
JM
18505 * math/libm-test.inc (test_ffI_f1_data): New type.
18506 (RUN_TEST_LOOP_ffI_f1): New macro.
18507 (remquo_test_data): New variable.
18508 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
18509
2bcb36b2
JM
18510 * setjmp/tst-setjmp-fp.c: New file.
18511 * setjmp/Makefile (tests): Add tst-setjmp-fp.
18512 (link-libm): New variable.
18513 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
18514
acbd839a
JM
18515 * math/libm-test.inc (struct test_f_i_data): New type.
18516 (RUN_TEST_LOOP_f_i): New macro.
18517 (RUN_TEST_LOOP_f_i_tg): Likewise.
18518 (fpclassify_test_data): New variable.
18519 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
18520 (ilogb_test_data): New variable.
18521 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
18522
e414d745
JM
18523 * math/libm-test.inc (scalbln_test): Correct function name in END
18524 call.
18525
d9c2a0fd
JM
18526 * math/libm-test.inc (struct test_f_f1_data): Add comment.
18527 (RUN_TEST_LOOP_fI_f1): New macro.
18528 (frexp_test_data): New variable.
18529 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
18530
9dc9095d
JM
18531 * math/libm-test.inc (struct test_fF_f1_data): New type.
18532 (RUN_TEST_LOOP_fF_f1): New macro.
18533 (modf_test_data): New variable.
18534 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
18535
87aa21df
JM
18536 * math/libm-test.inc (struct test_f_f1_data): New type.
18537 (RUN_TEST_LOOP_f_f1): New macro.
18538 (gamma_test_data): New variable.
18539 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18540 (lgamma_test_data): New variable.
18541 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18542
141af660
CD
185432013-05-13 Carlos O'Donell <carlos@redhat.com>
18544
18545 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
18546 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
18547 (main): Comment "tls" pseudo-hwcap.
18548
6d33265c
JM
185492013-05-13 Joseph Myers <joseph@codesourcery.com>
18550
68fc074c
JM
18551 * math/libm-test.inc (struct test_fl_f_data): New type.
18552 (RUN_TEST_LOOP_fl_f): New variable.
18553 (scalbln_test_data): New variable.
18554 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
18555
243216e1
JM
18556 * math/libm-test.inc (struct test_fi_f_data): New type.
18557 (RUN_TEST_LOOP_fi_f): New macro.
18558 (ldexp_test_data): New variable.
18559 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
18560 (scalbn_test_data): New variable.
18561 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
18562
6a1992e2
JM
18563 * math/libm-test.inc (struct test_c_f_data): New type.
18564 (RUN_TEST_LOOP_c_f): New macro.
18565 (cabs_test_data): New variable.
18566 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
18567 (carg_test_data): New variable.
18568 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
18569 (cimag_test_data): New variable.
18570 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
18571 (creal_test_data): New variable.
18572 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
18573
0e400df5
JM
18574 * math/libm-test.inc (struct test_if_f_data): New type.
18575 (RUN_TEST_LOOP_if_f): New macro.
18576 (jn_test_data): New variable.
18577 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
18578 (yn_test_data): New variable.
18579 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
18580
6d33265c
JM
18581 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
18582
f98ece5f
AZ
185832013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18584
18585 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
18586 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
18587
0f7d347b
SP
185882013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18589
43fe811b
SP
18590 * benchtests/Makefile (CPPFLAGS-nonlib): Add
18591 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
18592 (bench-deps): Add bench-timing.h.
18593 * benchtests-bench-skeleton.c: Include bench-timing.h.
18594 (main): Use TIMING_* macros instead of clock_gettime.
18595 * benchtests/bench-timing.h: New file.
18596
0f7d347b
SP
18597 [BZ #14582]
18598 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
18599 Renamed from _LIB_VERSION.
18600 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
18601
601a3a5f
JM
186022013-05-12 Joseph Myers <joseph@codesourcery.com>
18603
4f184d30
JM
18604 * math/libm-test.inc (struct test_fff_f_data): New type.
18605 (RUN_TEST_LOOP_fff_f): New macro.
18606 (fma_test_data): New variable.
18607 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
18608 (fma_towardzero_test_data): New variable.
18609 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
18610 (fma_downward_test_data): New variable.
18611 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
18612 (fma_upward_test_data): New variable.
18613 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
18614
08198877
JM
18615 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
18616 (struct test_c_c_data): New type.
18617 (RUN_TEST_LOOP_c_c): New macro.
18618 (cacos_test_data): New variable.
18619 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
18620 (cacosh_test_data): New variable.
18621 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
18622 (casin_test_data): New variable.
18623 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
18624 (casinh_test_data): New variable.
18625 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
18626 (catan_test_data): New variable.
18627 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
18628 (catanh_test_data): New variable.
18629 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
18630 (ccos_test_data): New variable.
18631 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
18632 (ccosh_test_data): New variable.
18633 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
18634 (cexp_test_data): New variable.
18635 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
18636 (clog_test_data): New variable.
18637 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
18638 (clog10_test_data): New variable.
18639 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
18640 (conj_test_data): New variable.
18641 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
18642 (cproj_test_data): New variable.
18643 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
18644 (csin_test_data): New variable.
18645 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
18646 (csinh_test_data): New variable.
18647 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
18648 (csqrt_test_data): New variable.
18649 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
18650 (ctan_test_data): New variable.
18651 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
18652 (ctan_tonearest_test_data): New variable.
18653 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18654 (ctan_towardzero_test_data): New variable.
18655 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18656 (ctan_downward_test_data): New variable.
18657 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18658 (ctan_upward_test_data): New variable.
18659 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18660 (ctanh_test_data): New variable.
18661 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
18662 (ctanh_tonearest_test_data): New variable.
18663 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18664 (ctanh_towardzero_test_data): New variable.
18665 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18666 (ctanh_downward_test_data): New variable.
18667 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18668 (ctanh_upward_test_data): New variable.
18669 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18670 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
18671 of BUILD_COMPLEX.
18672
601a3a5f
JM
18673 * math/libm-test.inc (struct test_ff_f_data): New type.
18674 (struct test_ff_f_data_nexttoward): Likewise.
18675 (RUN_TEST_LOOP_2_f): New macro.
18676 (RUN_TEST_LOOP_ff_f): Likewise.
18677 (atan2_test_data): New variable.
18678 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
18679 (copysign_test_data): New variable.
18680 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
18681 (fdim_test_data): New variable.
18682 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
18683 (fmax_test_data): New variable.
18684 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
18685 (fmin_test_data): New variable.
18686 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
18687 (fmod_test_data): New variable.
18688 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
18689 (hypot_test_data): New variable.
18690 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
18691 (nextafter_test_data): New variable.
18692 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
18693 (nexttoward_test_data): New variable.
18694 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
18695 (pow_test_data): New variable.
18696 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
18697 (pow_tonearest_test_data): New variable.
18698 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
18699 (pow_towardzero_test_data): New variable.
18700 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
18701 (pow_downward_test_data): New variable.
18702 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
18703 (pow_upward_test_data): New variable.
18704 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
18705 (remainder_test_data): New variable.
18706 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
18707 (scalb_test_data): New variable.
18708 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
18709 * sysdeps/i386/fpu/libm-test-ulps: Update.
18710
74c57478
JM
187112013-05-11 Joseph Myers <joseph@codesourcery.com>
18712
8329e4da
JM
18713 * math/libm-test.inc (fma_test): Use max_value instead of local
18714 variable fltmax.
18715 (nextafter_test): Likewise.
18716
74c57478
JM
18717 * math/libm-test.inc (acos_towardzero_test_data): New variable.
18718 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18719 (acos_downward_test_data): New variable.
18720 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18721 (acos_upward_test_data): New variable.
18722 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18723 (acosh_test_data): New variable.
18724 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
18725 (asin_test_data): New variable.
18726 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
18727 (asin_tonearest_test_data): New variable.
18728 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18729 (asin_towardzero_test_data): New variable.
18730 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18731 (asin_downward_test_data): New variable.
18732 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18733 (asin_upward_test_data): New variable.
18734 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18735 (asinh_test_data): New variable.
18736 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
18737 (atan_test_data): New variable.
18738 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
18739 (atanh_test_data): New variable.
18740 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
18741 (cbrt_test_data): New variable.
18742 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
18743 (ceil_test_data): New variable.
18744 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
18745 (cos_test_data): New variable.
18746 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
18747 (cos_tonearest_test_data): New variable.
18748 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18749 (cos_towardzero_test_data): New variable.
18750 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18751 (cos_downward_test_data): New variable.
18752 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18753 (cos_upward_test_data): New variable.
18754 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18755 (cosh_test_data): New variable.
18756 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
18757 (cosh_tonearest_test_data): New variable.
18758 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18759 (cosh_towardzero_test_data): New variable.
18760 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18761 (cosh_downward_test_data): New variable.
18762 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18763 (cosh_upward_test_data): New variable.
18764 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18765 (erf_test_data): New variable.
18766 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
18767 (erfc_test_data): New variable.
18768 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
18769 (exp_test_data): New variable.
18770 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
18771 (exp_tonearest_test_data): New variable.
18772 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18773 (exp_towardzero_test_data): New variable.
18774 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18775 (exp_downward_test_data): New variable.
18776 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18777 (exp_upward_test_data): New variable.
18778 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18779 (exp10_test_data): New variable.
18780 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
18781 (exp2_test_data): New variable.
18782 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
18783 (expm1_test_data): New variable.
18784 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
18785 (fabs_test_data): New variable.
18786 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
18787 (floor_test_data): New variable.
18788 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
18789 (j0_test_data): New variable.
18790 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
18791 (j1_test_data): New variable.
18792 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
18793 (log_test_data): New variable.
18794 (log_test): Run tests with RUN_TEST_LOOP_f_f.
18795 (log10_test_data): New variable.
18796 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
18797 (log1p_test_data): New variable.
18798 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
18799 (log2_test_data): New variable.
18800 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
18801 (logb_test_data): New variable.
18802 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
18803 (logb_downward_test_data): New variable.
18804 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18805 (nearbyint_test_data): New variable.
18806 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
18807 (rint_test_data): New variable.
18808 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
18809 (rint_tonearest_test_data): New variable.
18810 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18811 (rint_towardzero_test_data): New variable.
18812 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18813 (rint_downward_test_data): New variable.
18814 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18815 (rint_upward_test_data): New variable.
18816 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18817 (round_test_data): New variable.
18818 (round_test): Run tests with RUN_TEST_LOOP_f_f.
18819 (sin_test_data): New variable.
18820 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
18821 (sin_tonearest_test_data): New variable.
18822 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18823 (sin_towardzero_test_data): New variable.
18824 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18825 (sin_downward_test_data): New variable.
18826 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18827 (sin_upward_test_data): New variable.
18828 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18829 (sinh_test_data): New variable.
18830 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
18831 (sinh_tonearest_test_data): New variable.
18832 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18833 (sinh_towardzero_test_data): New variable.
18834 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18835 (sinh_downward_test_data): New variable.
18836 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18837 (sinh_upward_test_data): New variable.
18838 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18839 (sqrt_test_data): New variable.
18840 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
18841 (tan_test_data): New variable.
18842 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
18843 (tan_tonearest_test_data): New variable.
18844 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18845 (tan_towardzero_test_data): New variable.
18846 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18847 (tan_downward_test_data): New variable.
18848 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18849 (tan_upward_test_data): New variable.
18850 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18851 (tanh_test_data): New variable.
18852 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
18853 (tgamma_test_data): New variable.
18854 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
18855 (trunc_test_data): New variable.
18856 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
18857 (y0_test_data): New variable.
18858 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
18859 (y1_test_data): New variable.
18860 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
18861 (significand_test_data): New variable.
18862 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
18863
7187d844
CG
188642013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
18865
18866 [BZ #12387]
18867 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
18868
f63fae73
PT
188692013-05-10 Pino Toscano <toscano.pino@tiscali.it>
18870
18871 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
18872
8a67a4b3
AJ
188732013-05-10 Andreas Jaeger <aj@suse.de>
18874
18875 [BZ #15448]
18876 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
18877 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
18878
51df539d
JM
188792013-05-10 Joseph Myers <joseph@codesourcery.com>
18880
18881 * math/gen-libm-test.pl (adjust_arg): New function.
18882 (special_functions): Handle generating output in both functions
18883 and arrays.
18884 (parse_args): Likewise.
18885 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
18886 $in_func argument to parse_args.
18887 * math/libm-test.inc (struct test_f_f_data): New type.
18888 (IF_ROUND_INIT_): New macro.
18889 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
18890 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18891 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18892 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18893 (ROUND_RESTORE_): Likewise.
18894 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
18895 (ROUND_RESTORE_FE_TONEAREST): Likewise.
18896 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
18897 (ROUND_RESTORE_FE_UPWARD): Likewise.
18898 (RUN_TEST_LOOP_f_f): New macro.
18899 (acos_test_data): New variable.
18900 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
18901 (acos_tonearest_test_data): New variable.
18902 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18903
5c637fe5
SP
189042013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18905
18906 * benchtests/bench-skeleton.c (startup): Fix coding style.
18907
ab2b9461
JM
189082013-05-10 Joseph Myers <joseph@codesourcery.com>
18909
18910 [BZ #6809]
18911 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
18912 negative infinity argument.
18913 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
18914 negative infinity argument.
18915 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
18916 negative infinity argument.
18917 * math/libm-test.inc (tgamma_test): Expect errno to be set for
18918 domain errors.
18919
4c0fe6fe
FW
189202013-05-10 Florian Weimer <fweimer@redhat.com>
18921
18922 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
18923 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
18924 * iconv/iconv_prog.c (main): Likewise.
18925 * locale/programs/charmap-dir.c (charmap_readdir)
18926 (fopen_uncompressed): Likewise.
18927 * locale/programs/locfile.c (siblings_uncached)
18928 (write_locale_data): Use lstat64 instead of lstat.
18929 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
18930 stat.
18931
a3375d29
AJ
189322013-05-10 Andreas Jaeger <aj@suse.de>
18933
18934 [BZ #15395]
18935 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
18936 localization.
18937 Include <locale.h>.
18938
36129722
CD
189392013-05-09 Carlos O'Donell <carlos@redhat.com>
18940
18941 * elf/dl-close.c (_dl_close_worker): Add comments.
18942
faa7f811
JM
189432013-05-09 Joseph Myers <joseph@codesourcery.com>
18944
ed41ffef
JM
18945 [BZ #15359]
18946 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
18947 high part of pi/2.
18948 (__ieee754_rem_pio2l): Update comments.
18949
d0213cd0
JM
18950 [BZ #15429]
18951 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
18952 high part of pi/2.
18953 (__ieee754_rem_pio2l): Update comments.
18954
0d3e777a
JM
18955 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
18956 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
18957
24f56066
JM
18958 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
18959 M_PI_4l.
18960
faa7f811
JM
18961 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
18962 (M_PI_34_LOG10El): Likewise.
18963 (M_PI2_LOG10El): Likewise.
18964 (M_PI4_LOG10El): Likewise.
18965 (M_PI_LOG10El): Likewise.
18966
e9a5e0fd
AZ
189672013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18968
18969 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18970
d8cd06db
JM
189712013-05-08 Joseph Myers <joseph@codesourcery.com>
18972
a0d9f9d7
JM
18973 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
18974 (MINUS_ZERO_INIT): Likewise.
18975 (PLUS_INFTY_INIT): Likewise.
18976 (MINUS_INFTY_INIT): Likewise.
18977 (QNAN_VALUE_INIT): Likewise.
18978 (MAX_VALUE_INIT): Likewise.
18979 (MIN_VALUE_INIT): Likewise.
18980 (MIN_SUBNORM_VALUE_INIT): Likewise.
18981 (plus_zero): Initialize with PLUS_ZERO_INIT.
18982 (minus_zero): Initialize with MINUS_ZERO_INIT.
18983 (plus_infty): Initialize with PLUS_INFTY_INIT.
18984 (minus_infty): Initialize with MINUS_INFTY_INIT.
18985 (qnan_value): Initialize with QNAN_VALUE_INIT.
18986 (max_value): Initialize with MAX_VALUE_INIT.
18987 (min_value): Initialize with MIN_VALUE_INIT.
18988 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
18989
ae08db3b
JM
18990 * math/libm-test.inc (RUN_TEST_if_f): New macro.
18991 (jn_test): Use TEST_if_f instead of TEST_ff_f.
18992 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
18993 (yn_test): Use TEST_if_f instead of TEST_ff_f.
18994
f44bf14a
JM
18995 * math/libm-test.inc (RUN_TEST_f_f): New macro.
18996 (RUN_TEST_2_f): Likewise.
18997 (RUN_TEST_ff_f): Likewise.
18998 (RUN_TEST_fi_f): Likewise.
18999 (RUN_TEST_fl_f): Likewise.
19000 (RUN_TEST_fff_f): Likewise.
19001 (RUN_TEST_c_f): Likewise.
19002 (RUN_TEST_f_f1): Likewise.
19003 (RUN_TEST_fF_f1): Likewise.
19004 (RUN_TEST_fI_f1): Likewise.
19005 (RUN_TEST_ffI_f1): Likewise.
19006 (RUN_TEST_c_c): Likewise.
19007 (RUN_TEST_cc_c): Likewise.
19008 (RUN_TEST_f_i): Likewise.
19009 (RUN_TEST_f_i_tg): Likewise.
19010 (RUN_TEST_ff_i_tg): Likewise.
19011 (RUN_TEST_f_b): Likewise.
19012 (RUN_TEST_f_b_tg): Likewise.
19013 (RUN_TEST_f_l): Likewise.
19014 (RUN_TEST_f_L): Likewise.
19015 (RUN_TEST_sincos): Likewise.
19016 * math/gen-libm-test.pl (new_test): Take new argument to indicate
19017 whether to show exceptions. Do not include ");\n" in return
19018 value.
19019 (special_functions): Output call to RUN_TEST_sincos instead of
19020 check_float calls. Update calls to new_test.
19021 (parse_args): Output call to single RUN_TEST_* macro instead of
19022 check_* calls and other assignments. Update calls to new_test.
19023
d8cd06db
JM
19024 [BZ #2546]
19025 [BZ #2560]
19026 [BZ #5159]
19027 [BZ #15426]
19028 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
19029 input to result for tgamma overflow.
19030 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
19031 (gamma_coeff): New variable.
19032 (NCOEFF): New macro.
19033 (gamma_positive): New function.
19034 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
19035 underflow here. Use gamma_positive instead of exp (lgamma) for
19036 other arguments.
19037 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
19038 (gamma_coeff): New variable.
19039 (NCOEFF): New macro.
19040 (gammaf_positive): New function.
19041 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
19042 underflow here. Use gamma_positive instead of exp (lgamma) for
19043 other arguments.
19044 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
19045 (gamma_coeff): New variable.
19046 (NCOEFF): New macro.
19047 (gammal_positive): New function.
19048 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
19049 underflow here. Use gamma_positive instead of exp (lgamma) for
19050 other arguments.
19051 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
19052 (gamma_coeff): New variable.
19053 (NCOEFF): New macro.
19054 (gammal_positive): New function.
19055 (__ieee754_gammal_r): Handle positive infinity, overflow and
19056 underflow here. Handle NaN the same as positive infinity. Remove
19057 check x < 0xffffffff for negative integers. Use gamma_positive
19058 instead of exp (lgamma) for other arguments.
19059 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
19060 (gamma_coeff): New variable.
19061 (NCOEFF): New macro.
19062 (gammal_positive): New function.
19063 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
19064 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
19065 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
19066 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
19067 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
19068 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
19069 * sysdeps/generic/math_private.h (__gamma_productf): New
19070 prototype.
19071 (__gamma_product): Likewise.
19072 (__gamma_productl): Likewise.
19073 * math/Makefile (libm-calls): Add gamma_product.
19074 * math/libm-test.inc (tgamma_test): Add more tests.
19075 * sysdeps/i386/fpu/libm-test-ulps: Update.
19076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19077
bb7cf681
OB
190782013-05-08 Ondřej Bílka <neleai@seznam.cz>
19079
19080 * benchtests/bench-skeleton.c (main): Preheat CPU.
19081
ba853947
AJ
190822013-05-07 Aurelien Jarno <aurelien@aurel32.net>
19083
19084 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
19085
8347c74c
RM
190862013-05-07 Roland McGrath <roland@hack.frob.com>
19087
19088 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
19089 and _dl_skip_args_internal.
19090
e8dd4791
CD
190912013-05-07 Carlos O'Donell <carlos@redhat.com>
19092
19093 * manual/message.texi (Message Translation): Talk about users.
19094 Message to key mapping impacts design.
19095
c7405830
RM
190962013-05-06 Roland McGrath <roland@hack.frob.com>
19097
a9173057
RM
19098 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
19099
976e2f03
RM
19100 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
19101
9723ffc5
RM
19102 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
19103 * sysdeps/wordsize-64/glob64.c: ... here.
19104
962e6658
RM
19105 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
19106 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
19107 New macros.
19108
ee586a6d
RM
19109 * debug/getlogin_r_chk.c: Moved to ...
19110 * login/getlogin_r_chk.c: ... here.
19111 * debug/Makefile (routines): Move getlogin_r_chk to ...
19112 * login/Makefile (routines): ... here.
19113 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
19114 * login/Versions (libc: GLIBC_2.4): ... here.
19115
355f9165
RM
19116 * io/poll.c (__poll): Renamed from poll.
19117 Add libc_hidden_def.
19118 (poll): Define as weak alias.
19119
bd9ffde6
RM
19120 * debug/ptsname_r_chk.c: Moved to ...
19121 * login/ptsname_r_chk.c: ... here.
19122 * debug/Makefile (routines): Move ptsname_r_chk to ...
19123 * login/Makefile (routines): ... here.
19124 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
19125 * login/Versions (libc: GLIBC_2.4): ... here.
19126
8fb16a04
RM
19127 * posix/getlogin.c: Moved to ...
19128 * login/getlogin.c: ... here.
19129 * posix/getlogin_r.c: Moved to ...
19130 * login/getlogin_r.c: ... here.
19131 * posix/getlogin_r.c: Moved to ...
19132 * login/getlogin_r.c: ... here.
19133 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
19134 * login/Makefile (routines): ... here.
19135 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
19136 * login/Versions (libc: GLIBC_2.0): ... here.
19137
b99b892f
RM
19138 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
19139 (setrlimit): Define as weak alias.
19140
c7405830
RM
19141 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
19142 Call __ names for open, ftruncate, and close.
19143 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
19144 (truncate): Define as weak alias.
19145
5bf96de5
JM
191462013-05-06 Joseph Myers <joseph@codesourcery.com>
19147
9ea3513c
JM
19148 * math/gen-libm-test.pl (parse_args): Initialize x before each
19149 test of frexp, modf and remquo.
19150
5bf96de5
JM
19151 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
19152 test signgam value.
19153
16e616a7
AZ
191542013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19155
19156 [BZ #15418]
19157 [BZ #15419]
19158 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
19159 internal tests.
19160 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19161
d5e82754
RM
191622013-05-06 Roland McGrath <roland@hack.frob.com>
19163
19164 * elf/dl-writev.h: New file.
19165 * elf/dl-misc.c: Include it.
19166 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
19167 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
19168
a7548d41
JM
191692013-05-04 Joseph Myers <joseph@codesourcery.com>
19170
b7dab1e4
JM
19171 * math/libm-test.inc (noXFails): Remove variable.
19172 (noXPasses): Likewise.
19173 (BUILD_COMPLEX_INT): Remove macro.
19174 (print_screen): Remove xfail argument.
19175 (print_screen_max_error): Likewise.
19176 (update_stats): Likewise.
19177 (print_max_error): Likewise. Update calls to other affected
19178 functions.
19179 (print_complex_max_error): Likewise.
19180 (test_single_exception): Update calls to print_screen.
19181 (test_single_errno): Likewise.
19182 (check_float_internal): Remove xfail argument. Update calls to
19183 other affected functions.
19184 (check_float): Likewise.
19185 (check_complex): Likewise.
19186 (check_int): Likewise.
19187 (check_long): Likewise.
19188 (check_bool): Likewise.
19189 (check_longlong): Likewise.
19190 (main): Don't print noXFails and noXPasses.
19191 * math/gen-libm-test.pl (top level): Don't mention expected
19192 failure handling in comment.
19193 (new_test): Don't handle expected failures.
19194 (parse_args): Don't mention expected failure handling in comment.
19195 (generate_testfile): Don't handle expected failures.
19196 (parse_ulps): Likewise.
19197 (print_ulps_file): Likewise.
19198 (get_failure): Remove function.
19199 (output_test): Don't handle expected failures.
19200 * make/README.libm-test: Don't mention expected failure handling.
19201
a7548d41
JM
19202 * math/libm-test.inc (plus_zero): Make const. Add initializer.
19203 (minus_zero): Likewise.
19204 (plus_infty): Likewise.
19205 (minus_infty): Likewise.
19206 (qnan_value): Likewise.
19207 (max_value): Likewise.
19208 (min_value): Likewise.
19209 (min_subnorm_value): Likewise.
19210 (initialize): Do not initialize those variables dynamically.
19211
60bfd54c
RM
192122013-05-03 Roland McGrath <roland@hack.frob.com>
19213
cc0e6ed8
RM
19214 * io/open.c (__open_2): Moved to ...
19215 * io/open_2.c: ... this new file.
19216 * io/open64.c (__open64_2): Moved to ...
19217 * io/open64_2.c: ... this new file.
19218 * io/openat.c (__openat_2): Moved to ...
19219 * io/openat_2.c: ... this new file.
19220 * io/openat64.c (__openat64_2): Moved to ...
19221 * io/openat64_2.c: ... this new file.
19222 * io/Makefile (routines): Add them.
19223 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
19224 * sysdeps/unix/sysv/linux/open_2.c: File removed.
19225 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
19226 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
19227 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
19228 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
19229 (__openat64): Add hidden_ver.
19230 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
19231 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
19232
60bfd54c
RM
19233 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
19234 Separately conditionalize setting of GLRO(dl_sysinfo) so
19235 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
19236 as well, but the actual setting is only under [NEED_DL_SYSINFO].
19237
83e7640f
AZ
192382013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19239
19240 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
19241 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
19242 definition.
19243 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
19244 * sysdeps/unix/sysv/linux/powerpc/init-first.c
19245 (_libc_vdso_platform_setup): Add __vdso_time initialization.
19246 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
19247 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
19248
d5dc2af3
JM
192492013-05-03 Joseph Myers <joseph@codesourcery.com>
19250
c31a5b1e
JM
19251 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
19252 test signgam value.
19253
d5dc2af3
JM
19254 * math/libm-test.inc (hypot_test): Do not use
19255 IGNORE_ZERO_INF_SIGN.
19256
164fd39d
AJ
192572013-05-03 Andreas Jaeger <aj@suse.de>
19258
19259 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
19260 Linux 3.9.
19261 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
19262 (PF_MAX): Adjust for VSOCK change.
19263
8237f48c
AZ
192642013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19265
19266 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19267
9df02941
CD
192682013-05-02 Carlos O'Donell <carlos@redhat.com>
19269
19270 [BZ #15264]
19271 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
19272 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
19273 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
19274
d422395e
DM
192752013-05-02 David S. Miller <davem@davemloft.net>
19276
19277 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19278
a07c5731
OB
192792013-05-01 Ondřej Bílka <neleai@seznam.cz>
19280
19281 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
19282
1324e37f
RM
192832013-05-01 Roland McGrath <roland@hack.frob.com>
19284
19285 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
19286
0695940b
RS
192872013-05-01 Richard Smith <richard@metafoo.co.uk>
19288
bb5f27ad 19289 [BZ #14952]
0695940b
RS
19290 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
19291 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19292 Use __attribute__ ((__gnu_inline__)).
19293 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19294 Don't use __attribute__ ((__gnu_inline__)).
19295
10de07f5
JM
192962013-05-01 Joseph Myers <joseph@codesourcery.com>
19297
19298 [BZ #15423]
19299 * math/s_catan.c (__catan): Handle small real or imaginary part of
19300 input specially to avoid spurious underflow.
19301 * math/s_catanf.c (__catanf): Likewise.
19302 * math/s_catanh.c (__catanh): Likewise.
19303 * math/s_catanhf.c (__catanhf): Likewise.
19304 * math/s_catanhl.c (__catanhl): Likewise.
19305 * math/s_catanl.c (__catanl): Likewise.
19306 * math/libm-test.inc (catan_test): Add more tests.
19307 (catanh_test): Likewise.
19308 * sysdeps/i386/fpu/libm-test-ulps: Update.
19309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19310
cb4d5414
AZ
193112013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19312
19313 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19314
caf84319
JM
193152013-04-30 Joseph Myers <joseph@codesourcery.com>
19316
19317 [BZ #15416]
19318 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
19319 accurately for denominator in atan2.
19320 * math/s_catanf.c (__catanf): Likewise.
19321 * math/s_catanh.c (__catanh): Likewise.
19322 * math/s_catanhf.c (__catanhf): Likewise.
19323 * math/s_catanhl.c (__catanhl): Likewise.
19324 * math/s_catanl.c (__catanl): Likewise.
19325 * math/libm-test.inc (catan_test): Add more tests.
19326 (catanh_test): Likewise.
19327 * sysdeps/i386/fpu/libm-test-ulps: Update.
19328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19329
d569c6ee
SP
193302013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19331
6dbe713d
SP
19332 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
19333
f0ee064b
SP
19334 * benchtests/Makefile (bench): Remove slow benchmarks.
19335 * benchtests/atan-inputs: Add slow benchmark inputs.
19336 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
19337 (BENCH_FUNC): Accept variant offset.
19338 (VARIANT): Define.
19339 * benchtests/bench-skeleton.c (main): Run benchmark for each
19340 variant.
19341 * benchtests/cos-inputs: Add slow benchmark inputs.
19342 * benchtests/exp-inputs: Likewise.
19343 * benchtests/pow-inputs: Likewise.
19344 * benchtests/sin-inputs: Likewise.
19345 * benchtests/slowatan-inputs: Remove.
19346 * benchtests/slowatan.c: Remove.
19347 * benchtests/slowcos-inputs: Remove.
19348 * benchtests/slowcos.c: Remove.
19349 * benchtests/slowexp-inputs: Remove.
19350 * benchtests/slowexp.c: Remove.
19351 * benchtests/slowpow-inputs: Remove.
19352 * benchtests/slowpow.c: Remove.
19353 * benchtests/slowsin-inputs: Remove.
19354 * benchtests/slowsin.c: Remove.
19355 * benchtests/slowtan-inputs: Remove.
19356 * benchtests/slowtan.c: Remove.
19357 * benchtests/tan-inputs: Add slow benchmark inputs.
19358 * scripts/bench.pl: Parse comments and directives.
19359
d569c6ee
SP
19360 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
19361 in CPPFLAGS.
19362 ($(objpfx)bench-%.c): Remove *-ITER.
19363 * benchtests/bench-modf.c: Remove definition of ITER.
19364 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
19365 (main): Loop for DURATION seconds instead of fixed number of
19366 iterations.
19367 * scripts/bench.pl: Don't expect iterations in parameters.
19368
a6a242fe
RM
193692013-04-29 Roland McGrath <roland@hack.frob.com>
19370
19371 * io/fchdir.c (__fchdir): Renamed from fchdir.
19372 (fchdir): Define as weak alias.
19373
f2da7793
JM
193742013-04-29 Joseph Myers <joseph@codesourcery.com>
19375
19376 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
19377 (ERRNO_EDOM): Likewise.
19378 (ERRNO_ERANGE): Likewise.
19379 (noErrnoTests): New variable.
19380 (init_max_error): Set errno to 0.
19381 (test_single_errno): New function.
19382 (test_errno): Likewise.
19383 (check_float_internal): Call test_errno. Set errno to 0.
19384 (check_complex): Refer to errno tests in comment.
19385 (check_int): Call test_errno. Set errno to 0.
19386 (check_long): Likewise.
19387 (check_bool): Likewise.
19388 (check_longlong): Likewise.
19389 (cos_test): Use ERRNO_* flags for errno tests instead of
19390 check_int.
19391 (expm1_test): Likewise.
19392 (fmod_test): Likewise.
19393 (ilogb_test): Likewise.
19394 (lgamma_test): Likewise.
19395 (pow_test): Likewise.
19396 (remainder_test): Likewise.
19397 (sin_test): Likewise.
19398 (tan_test): Likewise.
19399 (yn_test): Likewise.
19400 (initialize): Set errno to 0.
19401 (main): Print number of errno tests.
19402 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
19403
b1a36ceb
AJ
194042013-04-29 Andreas Jaeger <aj@suse.de>
19405
c3ed8088
AJ
19406 [BZ #15084]
19407 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
19408 and RES_USEVC.
19409
f1a24198
AJ
19410 [BZ #15085]
19411 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
19412 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
19413 unimplemented.
19414
9ce3b2cb
AJ
19415 [BZ #15380]
19416 * stdlib/random.c (__initstate): Return NULL if
19417 __initstate fails.
19418
f1a24198 19419 [BZ #15086]
b1a36ceb
AJ
19420 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
19421 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
19422 RES_SNGLKUPREOP.
19423
7e7b6f36
AZ
194242013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19425
19426 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19427
4d14f449
JM
194282013-04-29 Joseph Myers <joseph@codesourcery.com>
19429
19430 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
19431 of individual tests.
19432 (casin_test): Likewise.
19433 (casinh_test): Likewise.
19434
5b4217d7
JM
194352013-04-27 Joseph Myers <joseph@codesourcery.com>
19436
19437 [BZ #15409]
19438 * math/s_catan.c (__catan): Handle arguments with large real or
19439 imaginary part separately without squaring.
19440 * math/s_catanf.c (__catanf): Likewise.
19441 * math/s_catanh.c (__catanh): Likewise.
19442 * math/s_catanhf.c (__catanhf): Likewise.
19443 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19444 and redefine.
19445 (__catanhl): Handle arguments with large real or imaginary part
19446 separately without squaring.
19447 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19448 and redefine.
19449 (__catanl): Handle arguments with large real or imaginary part
19450 separately without squaring.
19451 * math/libm-test.inc (catan_test): Add more tests.
19452 (catanh_test): Likewise.
19453 * sysdeps/i386/fpu/libm-test-ulps: Update.
19454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19455
4220c3ef
AJ
194562013-04-27 Andreas Jaeger <aj@suse.de>
19457
19458 [BZ #15007]
19459 * stdlib/stdlib.h: Update guards for qecvt.
19460 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
19461 <stdlib.h>.
19462
4721b2d1
AM
194632013-04-27 Allan McRae <allan@archlinux.org>
19464
19465 * sysdeps/i386/fpu/libm-test-ulps: Update.
19466
f0302940
JM
194672013-04-26 Joseph Myers <joseph@codesourcery.com>
19468
9457fd95
JM
19469 [BZ #15406]
19470 * math/s_catan.c: Include <float.h>.
19471 (__catan): Ensure underflow exception occurs for underflowed
19472 result.
19473 * math/s_catanf.c: Include <float.h>.
19474 (__catanf): Ensure underflow exception occurs for underflowed
19475 result.
19476 * math/s_catanh.c: Include <float.h>.
19477 (__catanh): Ensure underflow exception occurs for underflowed
19478 result.
19479 * math/s_catanhf.c: Include <float.h>.
19480 (__catanhf): Ensure underflow exception occurs for underflowed
19481 result.
19482 * math/s_catanhl.c: Include <float.h>.
19483 (__catanhl): Ensure underflow exception occurs for underflowed
19484 result.
19485 * math/s_catanl.c: Include <float.h>.
19486 (__catanl): Ensure underflow exception occurs for underflowed
19487 result.
19488 * math/libm-test.inc (catan_test): Add more tests.
19489 (catanh_test): Likewise.
19490
f0302940
JM
19491 [BZ #15405]
19492 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
19493 underflowed result.
19494 * math/s_ccoshf.c (__ccoshf): Likewise.
19495 * math/s_ccoshl.c (__ccoshl): Likewise.
19496 * math/s_csin.c (__csin): Likewise.
19497 * math/s_csinf.c (__csinf): Likewise.
19498 * math/s_csinh.c (__csinh): Likewise.
19499 * math/s_csinhf.c (__csinhf): Likewise.
19500 * math/s_csinhl.c (__csinhl): Likewise.
19501 * math/s_csinl.c (__csinl): Likewise.
19502 * math/libm-test.inc (ccos_test): Add more tests.
19503 (ccosh_test): Likewise.
19504 (csin_test): Likewise.
19505 (csinh_test): Likewise.
19506
aa630f59
AZ
195072013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19508
19509 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
19510 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
19511 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
19512 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
19513 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
19514 powerpc/power5+/fpu folders.
19515 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
19516
19517
1b835983
MT
195182013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
19519
19520 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19521
73709b26
JM
195222013-04-25 Joseph Myers <joseph@codesourcery.com>
19523
19524 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
19525 additions to variable.
19526 [$(config-machine) = x86_64] (modules-names): Likewise.
19527 ($(objpfx)tst-audit3): Remove dependency.
19528 ($(objpfx)tst-audit3.out): Likewise.
19529 ($(objpfx)tst-audit4): Likewise.
19530 ($(objpfx)tst-audit4.out): Likewise.
19531 ($(objpfx)tst-audit5): Likewise.
19532 ($(objpfx)tst-audit5.out): Likewise.
19533 ($(objpfx)tst-audit6): Likewise.
19534 ($(objpfx)tst-audit6.out): Likewise.
19535 ($(objpfx)tst-audit7): Likewise.
19536 ($(objpfx)tst-audit7.out): Likewise.
19537 (tst-audit3-ENV): Remove variable.
19538 (tst-audit4-ENV): Likewise.
19539 (tst-audit5-ENV): Likewise.
19540 (tst-audit6-ENV): Likewise.
19541 (tst-audit7-ENV): Likewise.
19542 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
19543 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
19544 addition to variable.
19545 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
19546 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
19547 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
19548 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
19549 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
19550 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
19551 tst-audit3, tst-audit4 and tst-audit5.
19552 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
19553 tst-audit6 and tst-audit7.
19554 [$(subdir) = elf] (modules-names): Add audit modules for those
19555 tests.
19556 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
19557 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
19558 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
19559 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
19560 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
19561 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
19562 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
19563 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
19564 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
19565 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
19566 [$(subdir) = elf] (tst-audit3-ENV): New variable.
19567 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
19568 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
19569 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
19570 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
19571 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
19572 Likewise.
19573 [$(subdir) = elf && $(config-cflags-avx) = yes]
19574 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
19575 [$(subdir) = elf && $(config-cflags-avx) = yes]
19576 (CFLAGS-tst-auditmod4a.c): Likewise.
19577 [$(subdir) = elf && $(config-cflags-avx) = yes]
19578 (CFLAGS-tst-auditmod4b.c): Likewise.
19579 [$(subdir) = elf && $(config-cflags-avx) = yes]
19580 (CFLAGS-tst-auditmod6b.c): Likewise.
19581 [$(subdir) = elf && $(config-cflags-avx) = yes]
19582 (CFLAGS-tst-auditmod6c.c): Likewise.
19583 [$(subdir) = elf && $(config-cflags-avx) = yes]
19584 (CFLAGS-tst-auditmod7b.c): Likewise.
19585 * elf/tst-audit3.c: Move to ...
19586 * sysdeps/x86_64/tst-audit3.c: ... here.
19587 * elf/tst-audit4.c: Move to ...
19588 * sysdeps/x86_64/tst-audit4.c: ... here.
19589 * elf/tst-audit5.c: Move to ...
19590 * sysdeps/x86_64/tst-audit5.c: ... here.
19591 * elf/tst-audit6.c: Move to ...
19592 * sysdeps/x86_64/tst-audit6.c: ... here.
19593 * elf/tst-audit7.c: Move to ...
19594 * sysdeps/x86_64/tst-audit7.c: ... here.
19595 * elf/tst-auditmod3a.c: Move to ...
19596 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
19597 * elf/tst-auditmod3b.c: Move to ...
19598 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
19599 * elf/tst-auditmod4a.c: Move to ...
19600 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
19601 * elf/tst-auditmod4b.c: Move to ...
19602 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
19603 * elf/tst-auditmod5a.c: Move to ...
19604 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
19605 * elf/tst-auditmod5b.c: Move to ...
19606 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
19607 * elf/tst-auditmod6a.c: Move to ...
19608 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
19609 * elf/tst-auditmod6b.c: Move to ...
19610 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
19611 * elf/tst-auditmod6c.c: Move to ...
19612 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
19613 * elf/tst-auditmod7a.c: Move to ...
19614 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
19615 * elf/tst-auditmod7b.c: Move to ...
19616 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
19617
1ef74943
PP
196182013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
19619
19620 [BZ #15366]
19621 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
19622 define unconditionally.
19623 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
19624 define unconditionally.
19625 (INT8_C, INT16_C, etc.): Likewise.
19626
93fd48c5
MR
196272013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
19628
ae9552cf
MR
19629 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
19630 __ehdr_start with hidden visibility.
19631
93fd48c5
MR
19632 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
19633
418601aa
CD
196342013-04-24 Carlos O'Donell <carlos@redhat.com>
19635
19636 * math/libm-test.inc (cos_test): Use accurate hex constants.
19637 (sincost_test): Likewise.
19638
2f38fbfe
JM
196392013-04-24 Joseph Myers <joseph@codesourcery.com>
19640
5e221800
JM
19641 * math/libm-test.inc (catan_test): Add more tests.
19642 (catanh_test): Likewise.
19643
77f143fd
JM
19644 * math/s_catanf.c (__catanf): Use suffixed floating-point
19645 constants.
19646 * math/s_catanhf.c (__catanhf): Likewise.
19647 * math/s_catanhl.c (__catanhl): Likewise.
19648 * math/s_catanl.c (__catanl): Likewise.
19649
2f38fbfe
JM
19650 [BZ #15394]
19651 * math/s_catan.c (__catan): Calculate imaginary part of result
19652 with log1p not log unless computing log of number close to 0.
19653 * math/s_catanf.c (__catanf): Likewise.
19654 * math/s_catanl.c (__catanl): Likewise.
19655 * math/s_catanh.c (__catanh): Calculate real part of result with
19656 log1p not log unless computing log of number close to 0.
19657 * math/s_catanhf.c (__catanhf): Likewise.
19658 * math/s_catanhl.c (__catanhl): Likewise.
19659 * math/libm-test.inc (catan_test): Add more tests.
19660 (catanh_test): Likewise.
19661 * sysdeps/i386/fpu/libm-test-ulps: Update.
19662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19663
45d69176
SP
196642013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19665
19666 * benchtests/Makefile: Mention files in which fast and slow
19667 paths of math functions are implemented.
19668
87f51853
RM
196692013-04-23 Roland McGrath <roland@hack.frob.com>
19670
19671 * sysdeps/posix/timespec_get.c: New file.
19672
3c026539
AZ
196732013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19674
19675 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
19676 POWER.
19677 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
19678 for POWER.
19679 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
19680 powerpc/power5/fpu folders.
19681 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
19682 * benchtests/Makefile: Add modf testcase.
19683 * benchtests/bench-modf.c: New file: Benchmark test for mo
19684
ff491d14
SP
196852013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
19686
19687 [BZ #14888]
19688 * time/Makefile (tests): Add tst-strptime-whitespace.
19689 * time/strptime_l.c (get_number): Use ISSPACE.
19690 (__strptime_internal): Likewise.
19691 * time/tst-strptime-whitespace.c: New test case.
19692
7ed3f4e8
AS
196932013-04-23 Andreas Schwab <schwab@linux-m68k.org>
19694
19695 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
19696 member.
19697 (_nss_files_init): Set it here.
19698
5c95f7b6
HC
196992013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
19700
19701 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
19702 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
19703 unsigned.
19704
d34c9158
JBG
197052013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
19706
19707 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
19708
2169712d
SP
197092013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19710
19711 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
19712 size just once.
19713
29c5de99
DM
197142013-04-21 David S. Miller <davem@davemloft.net>
19715
19716 * po/ru.po: Update Russion translation from translation project.
19717
ccdad15d
AC
197182013-04-17 Adam Conrad <adconrad@0c3.net>
19719
19720 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
19721 and setfsgid.
19722
0f122b8d
CD
197232013-04-17 Carlos O'Donell <carlos@redhat.com>
19724
5c5b07da 19725 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 19726 * configure: Regenerate.
5c5b07da 19727 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
19728 Add example to error message.
19729 * sysdeps/i386/configure: Regenerate.
19730
037714dd
SP
197312013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19732
19733 * benchtests/Makefile (bench): Add cos, tan, slowcos and
19734 slowtan.
19735 * benchtests/cos-inputs: New file.
19736 * benchtests/slowcos-inputs: New file.
19737 * benchtests/slowcos.c: New file.
19738 * benchtests/slowtan-inputs: New file.
19739 * benchtests/slowtan.c: New file.
19740 * benchtests/tan-inputs: New file.
19741
e913141d
RM
197422013-04-16 Roland McGrath <roland@hack.frob.com>
19743
19744 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
19745 considered kosher.
19746
a2964074
SP
197472013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19748
4856bcd2
SP
19749 * benchtests/Makefile: Include cppflags-iterator.mk to add
19750 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
19751
a2964074
SP
19752 * Makefile.in (bench-clean): New target.
19753 * benchtests/Makefile (bench-clean): Likewise.
19754
9fbf9aca
DH
197552013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
19756
19757 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
19758
207d1e2a
TS
197592013-04-15 Thomas Schwinge <thomas@codesourcery.com>
19760
19761 * stdio-common/tstdiomisc.c: Fix coding-style violation.
19762
306dfba9
AS
197632013-04-15 Andreas Schwab <schwab@suse.de>
19764
19765 * nscd/grpcache.c (cache_addgr): Properly check for short write.
19766 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19767 * nscd/pwdcache.c (cache_addpw): Likewise.
19768 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
19769 more than recsize.
19770
206a6699
SP
197712013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19772
19773 * benchtests/Makefile (bench): Write all output to
19774 bench-out.tmp together.
19775
0582f6b3
AS
197762013-04-15 Andreas Schwab <schwab@suse.de>
19777
19778 * nscd/nscd.c (main): Don't fork again after closing files.
19779
acb4325f
SP
197802013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19781
5cb26d0a
SP
19782 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
19783
acb4325f
SP
19784 * benchtests/Rules (bench-deps): Collect dependencies into a
19785 single variable. Add Makefile to dependencies.
19786 ($(objpfx)bench-%.c): Depend on bench-deps.
19787
47792506
RM
197882013-04-12 Roland McGrath <roland@hack.frob.com>
19789 Xavier Roche <roche+kml2@exalead.com>
19790
19791 [BZ #15361]
19792 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
19793 just that it's a file descriptor.
19794 * manual/llio.texi (Synchronizing AIO Operations): Update description
19795 for EBADF error from aio_fsync.
19796
8fc1bee5
SP
197972013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19798
19799 * Rules (bench): Move target definition...
19800 * benchtests/Makefile: ... here.
19801
aba5e333
CD
198022013-04-11 Carlos O'Donell <carlos@redhat.com>
19803
19804 * math/libm-test.inc (cos_test): Fix PI/2 test.
19805 (sincos_test): Likewise.
19806 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
19807 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
19808
273cdee8
AS
198092013-04-11 Andreas Schwab <schwab@suse.de>
19810
6ecec3b6
AS
19811 [BZ #13988]
19812 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
19813 accept exponent character only when digits were seen.
19814 * stdio-common/Makefile (tests): Add bug26.
19815 * stdio-common/bug26.c: New file.
19816
273cdee8
AS
19817 [BZ #14293]
19818 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
19819 non-freeable.
19820
8da491f5
SP
198212013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19822
01dc6df9
SP
19823 * Makeconfig (rtld-prefix): Define built linker prefix.
19824 * Rules (run-bench): Use it.
19825 * math/Makefile (run-regen-ulps): Likewise.
19826
8da491f5
SP
19827 * Rules (bench): Remove eval.
19828
abe7f530
SP
198292013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19830 Roland McGrath <roland@hack.frob.com>
19831 Ondrej Bilka <neleai@seznam.cz>
19832
19833 [BZ #15346]
19834 * time/getdate.c: Include ctype.h and alloca.h.
19835 (__getdate_r): Trim leading and trailing spaces of input.
19836 * time/tst-getdate.c (tests): Add tests with leading and
19837 trailing spaces.
19838
61c23e62
RM
198392013-04-08 Roland McGrath <roland@hack.frob.com>
19840
19841 [BZ #14280]
19842 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
19843 when computing value.
19844
7208a313
CD
198452013-04-06 Carlos O'Donell <carlos@redhat.com>
19846
085b2d41
CD
19847 * math/README.libm-test (How can I generate "libm-test-ulps"?):
19848 Use testrun.sh to run libm tests.
19849
7208a313
CD
19850 [BZ #15309]
19851 * elf/dl-open.c (dl_open_worker): memset all of seen array.
19852
872c0acd
MM
198532013-04-06 Marko Myllynen <myllynen@redhat.com>
19854
19855 [BZ #15264]
19856 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
19857
26510bdd
CD
198582013-04-06 Carlos O'Donell <carlos@redhat.com>
19859
19860 * Makefile.in (regen-ulps): New target.
19861 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
19862 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
19863 [ifneq (no,$(PERL)] (regen-ulps): New target.
19864 [ifeq (no,$(PERL)] (regen-ulps): New target.
19865 * math/libm-test.inc (ulps_file_name): Define.
19866 (output_dir): New variable.
19867 (options): Add "output-dir" option.
19868 (parse_opt): Handle 'o' case.
19869 (main): If output_dir is non-NULL use it as a prefix
19870 otherwise use "".
19871 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
19872
a01f19c8
CD
198732013-04-06 Carlos O'Donell <carlos@redhat.com>
19874
19875 [BZ #10060, #10062]
19876 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
19877 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
19878 fail configure if __sync_val_compare_and_swap is not inlined.
19879 * sysdeps/i386/configure: Regenerate.
19880 * configure.in: Build for i686 when configured for i386.
19881 * configure: Regenerate.
19882 * README: Remove i386 reference.
19883
b7a329a5
CD
198842013-04-06 Carlos O'Donell <carlos@redhat.com>
19885
19886 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
19887 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19888
bf0f50df
TS
198892013-04-05 Thomas Schwinge <thomas@codesourcery.com>
19890
ee091edf
TS
19891 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
19892 (lmsnanval): New variables.
19893 (F): Add conversion tests.
19894 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
19895 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
19896
a8b792d6
TS
19897 * stdio-common/tstdiomisc.c (F): Properly collect individual
19898 tests' results.
19899
a1cbf437
TS
19900 [BZ #14686, #15336]
19901 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
19902 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
19903 Instead, use input NaN values or generate a qNaN by arithmetic
19904 operation. Also fix bugs to comply with the standard.
19905 * math/libm-test.inc (remainder_test): Add more tests.
19906
8b43a0c9
TS
19907 [BZ #15335, #15342]
19908 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
19909 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
19910 input NaN values or generate a qNaN by arithmetic operation.
19911
d91da4ce
TS
19912 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
19913 unreachable code.
19914
bf0f50df
TS
19915 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
19916 definitions.
19917
05e166c8
JM
199182013-04-03 Joseph Myers <joseph@codesourcery.com>
19919
19920 [BZ #14478]
19921 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
19922 underflowed result.
19923 * math/s_cexpf.c (__cexpf): Likewise.
19924 * math/s_cexpl.c (__cexpl): Likewise.
19925 * math/libm-test.inc (cexp_test): Add more tests.
19926
1cef1b19
AS
199272013-04-03 Andreas Schwab <schwab@suse.de>
19928
19929 [BZ #15330]
19930 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
19931 order arrays from heap if bigger than alloca cutoff.
19932
74d87055
TS
199332013-04-03 Thomas Schwinge <thomas@codesourcery.com>
19934
19935 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
19936 (SNAN_TESTS_double): Refer to GCC PR56831.
19937 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
19938 GCC PR56828.
19939
d755bba4
SP
199402013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19941
90d5d5bb
SP
19942 * Rules (bench): Move bench.out after the run is complete.
19943
73e0cd5d
SP
19944 * Rules (bench): Echo currently running benchmark.
19945
64aabd4b
SP
19946 * benchtests/Makefile (bench): Add atan and slowatan.
19947 * benchtests/atan-inputs: New file.
19948 * benchtests/slowatan-inputs: New file.
19949 * benchtests/slowatan.c: New file.
19950
c871eccd
SP
19951 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
19952 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
19953 its value.
19954
d755bba4
SP
19955 [BZ #15305]
19956 * sysdeps/unix/sysv/linux/kernel-features.h
19957 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
19958 __ASSUME_XFS_RESTRICTED_CHOWN.
19959 * sysdeps/unix/sysv/linux/pathconf.c
19960 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
19961 Save and restore errno.
19962
52ce4860
JM
199632013-04-02 Joseph Myers <joseph@codesourcery.com>
19964
19965 [BZ #15327]
19966 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
19967 arguments using __kernel_casinh.
19968 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
19969 arguments using __kernel_casinhf.
19970 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
19971 arguments using __kernel_casinhl.
19972 * math/libm-test.inc (cacosh_test): Add more tests.
19973 * sysdeps/i386/fpu/libm-test-ulps: Update.
19974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19975
81f311c2
SP
199762013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19977
e7906a47
SP
19978 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
19979 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
19980
92e3664b
SP
19981 * bench/Makefile (bench): Add sin and slowsin.
19982 * benchtests/sin-inputs: New file.
19983 * benchtests/slowsin-inputs: New file.
19984 * benchtests/slowsin.c: New file.
19985
81f311c2
SP
19986 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
19987 (bench): Add slowexp and slowpow.
19988 (exp-ITER): Increase iterations.
19989 (pow-ITER): Likewise.
19990 * benchtests/exp-inputs: Change input.
19991 * benchtests/pow-inputs: Likewise.
19992 * benchtests/slowexp-inputs: New file.
19993 * benchtests/slowexp.c: New file.
19994 * benchtests/slowpow-inputs: New file.
19995 * benchtests/slowpow.c: New file.
19996
ab0f1aa9
AZ
199972013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19998
19999 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
20000 instructions.
20001 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20002 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
20003 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20004 * benchtests/Makefile: Add rint benchtest.
20005 * benchtests/rint-inputs: Input for rint benchtest.
20006
57267616
TS
200072013-04-02 Thomas Schwinge <thomas@codesourcery.com>
20008
20009 * Versions.def (libm): Add GLIBC_2.18.
20010 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
20011 hidden libm prototypes.
20012 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
20013 * math/Makefile (libm-calls): Add s_issignaling.
20014 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
20015 __issignalingf, __issignalingl. Adjust all libm.abilist files.
20016 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
20017 declaration.
20018 * math/math.h [__USE_GNU] (issignaling): New macro.
20019 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
20020 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
20021 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
20022 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
20023 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
20024 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
20025 * manual/arith.texi (issignaling): New section.
20026 * manual/libm-err-tab.pl (@all_functions): Update comment.
20027 * math/gen-libm-test.pl (parse_args): Apply special handling for
20028 issignaling.
20029 * math/libm-test.inc (print_float, issignaling_test): New
20030 functions.
20031 (check_float_internal): Add issignaling checks.
20032 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
20033 default definition.
20034 * sysdeps/powerpc/math-tests.h: New file.
20035 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
20036 tests.
20037 * math/test-snan.c (TEST_FUNC): Likewise.
20038
6142896d
DM
200392013-03-30 David S. Miller <davem@davemloft.net>
20040
20041 * po/de.po: Update from translation team.
20042
ccc8cadf
JM
200432013-03-30 Joseph Myers <joseph@codesourcery.com>
20044
20045 [BZ #10357]
20046 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20047 imaginary part less than 1.0 and real part less than 0.5
20048 specially.
20049 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20050 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20051 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
20052 (cacos_test): Add more tests.
20053 (casin_test): Likewise.
20054 (casinh_test): Likewise.
20055 * sysdeps/i386/fpu/libm-test-ulps: Update.
20056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20057
0f6a8d4b
SP
200582013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20059
0d1029de
SP
20060 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
20061 ONE with its value.
20062
c2d94018
SP
20063 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
20064 (__pow_mp): Replace ONE and MONE with their values.
20065 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20066 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
20067 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20068 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
20069 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20070 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20071
27ec37f1
SP
20072 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
20073
a64d7e0e
SP
20074 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
20075 (__pow_mp): Replace ZERO and MZERO with their values.
20076 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20077 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20078 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20079 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20080 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20081 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
20082 (__sqr): Likewise.
20083
d26dd3eb
SP
20084 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
20085
0f6a8d4b
SP
20086 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
20087
e57b0c61
RM
200882013-03-28 Roland McGrath <roland@hack.frob.com>
20089
20090 * include/stdlib.h [!SHARED] (__call_tls_dtors):
20091 Declare with __attribute__ ((weak)).
20092 * stdlib/exit.c (__libc_atexit) [!SHARED]:
20093 Call __call_tls_dtors only if it's not NULL.
20094
356b3480
RM
200952013-03-28 Roland McGrath <roland@hack.frob.com>
20096
288f7d79
RM
20097 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
20098 didn't do it already, then set _dl_phdr and _dl_phnum based on the
20099 magic __ehdr_start linker symbol if it's defined.
20100 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
20101 them up here if it was already done.
20102
dc0a0263
RM
20103 * elf/dl-support.c (_dl_phdr): Make pointer to const.
20104 (_dl_aux_init): Use const in cast when setting it.
20105 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
20106 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
20107 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
20108
3d3436ae
RM
20109 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
20110 Declare them here.
20111 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
20112 * csu/libc-tls.c: Nor here.
20113 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
20114
356b3480
RM
20115 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
20116 (__libc_message): Never call vsyslog.
20117
b0f1246a
AM
201182013-03-28 Alan Modra <amodra@gmail.com>
20119
20120 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
20121 Define as empty.
20122 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
20123 Likewise.
20124
fbbe2b9a
AZ
201252013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20126
20127 [BZ #15214]
20128 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
20129 underflow.
20130 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20131
1728ab37
SP
201322013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20133
7a86be6e
SP
20134 [BZ #15304]
20135 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
20136 Don't add gid passed as argument.
20137
1728ab37
SP
20138 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
20139
3a7182a1
JM
201402013-03-27 Joseph Myers <joseph@codesourcery.com>
20141
20142 [BZ #15307]
20143 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20144 imaginary part between 1.0 and 1.5 and real part less than 0.5
20145 specially.
20146 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20147 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20148 * math/libm-test.inc (cacos_test): Add more tests.
20149 (casin_test): Likewise.
20150 (casinh_test): Likewise.
20151 * sysdeps/i386/fpu/libm-test-ulps: Update.
20152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20153
6f2e90e7
SP
201542013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20155
5739f705
SP
20156 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
20157 constants.
20158 (norm): Likewise.
20159 (denorm): Likewise.
20160 (__dbl_mp): Likewise.
20161 (add_magnitudes): Likewise.
20162 (sub_magnitudes): Likewise.
20163 (__add): Likewise.
20164 (__sub): Likewise.
20165 (__mul): Likewise.
20166 (__sqr): Likewise.
20167 (__inv): Likewise.
20168 (__dvd): Likewise.
20169
e375e83d
SP
20170 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
20171 commented code.
20172 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
20173 (__dubcos): Likewise.
20174 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
20175 (__ieee754_acos): Likewise.
20176 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20177 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
20178 (__exp1): Likewise.
20179 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20180 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20181 (log1): Likewise.
20182 (my_log2): Likewise.
20183 (checkint): Likewise.
20184 * sysdeps/ieee754/dbl-64/e_remainder.c
20185 (__ieee754_remainder): Likewise.
20186 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20187 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
20188 (bsloww): Likewise.
20189 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20190
6f2e90e7
SP
20191 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20192 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
20193 MANTISSA_STORE_T to store computations on mantissa. Use
20194 macros for rounding and division.
20195 (denorm): Likewise.
20196 (__dbl_mp): Likewise.
20197 (add_magnitudes): Likewise.
20198 (sub_magnitudes): Likewise.
20199 (__mul): Likewise.
20200 (__sqr): Likewise.
20201 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
20202 powers of two in terms of TWOPOW macro.
20203 (mp_no): Make type of mantissa as MANTISSA_T.
20204 [!RADIXI]: Define RADIXI.
20205 [!TWO52]: Define TWO52.
20206 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20207
fce14d4e
AZ
202082013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20209
20210 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
20211 llroundl symbol when building for PPC32.
20212
9ad027fb
MW
202132013-03-24 Mark H Weaver <mhw@netris.org>
20214
20215 * manual/arith.texi (Normalization Functions): Fix prototypes for
20216 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
20217
e42a38dd
AZ
202182013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20219
20220 [BZ #13889]
20221 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
20222 high value to check if expl overflow.
20223 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
20224 to check for underflow and overflow.
20225 * math/libm-test.inc: Add exp test.
20226
2e0fb521
DL
202272013-03-21 Dmitry V. Levin <ldv@altlinux.org>
20228
20229 [BZ #11120]
20230 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
20231 with NOT_IN_libc.
20232
b5784d95
AZ
202332013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20234
20235 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
20236 symbol.
20237
5aa4a1a1
TS
202382013-03-21 Thomas Schwinge <thomas@codesourcery.com>
20239
bdef0be7
TS
20240 * math/gen-libm-test.pl (parse_args, special_functions): Properly
20241 wrap blocks consisting of several statements.
20242
5aa4a1a1
TS
20243 * sysdeps/generic/math-tests.h: New file.
20244 * sysdeps/i386/fpu/math-tests.h: Likewise.
20245 * math/test-snan.c: Include it.
20246 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
20247
98c48fe5
JM
202482013-03-21 Joseph Myers <joseph@codesourcery.com>
20249
20250 [BZ #15285]
20251 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
20252 (__ieee754_j0l): Do not improve calculations using cos of twice
20253 input for inputs above LDBL_MAX / 2.0L.
20254 (__ieee754_y0l): Likewise.
20255 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
20256 (__ieee754_j1l): Do not improve calculations using cos of twice
20257 input for inputs above LDBL_MAX / 2.0L.
20258 (__ieee754_y1l): Likewise.
20259 * math/libm-test.inc (j0_test): Add another test.
20260 (j1_test): Likewise.
20261 (y0_test): Likewise.
20262 (y1_test): Likewise.
20263 * sysdeps/i386/fpu/libm-test-ulps: Update.
20264
3775a8bc
SP
202652013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20266
20267 * Rules ($(objpfx)bench-%.c): Include code from a C source
20268 file.
20269
0a1b2ae6
JM
202702013-03-21 Joseph Myers <joseph@codesourcery.com>
20271
20272 [BZ #15287]
20273 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20274 imaginary part 1.0 and real part less than 0.5 specially.
20275 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20276 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20277 * math/libm-test.inc (cacos_test): Add more tests.
20278 (casin_test): Likewise.
20279 (casinh_test): Likewise.
20280 * sysdeps/i386/fpu/libm-test-ulps: Update.
20281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20282
b33d4ce4
SP
202832013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20284
20285 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
20286 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
20287
bef0b507
JM
202882013-03-20 Joseph Myers <joseph@codesourcery.com>
20289
20290 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
20291 * config.make.in (config-cflags-sse4): Remove variable.
20292 (config-cflags-avx): Likewise.
20293 (config-cflags-sse2avx): Likewise.
20294 (config-cflags-novzeroupper): Likewise.
20295 (config-asflags-i686): Likewise.
20296 (have-mfma4): Likewise.
20297 (have-as-vis3): Likewise.
20298 (MIG): Likewise.
20299 * configure.in (MIG): Do not AC_SUBST.
20300 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
20301 (libc_cv_cc_sse4): Do not AC_SUBST.
20302 (libc_cv_cc_avx): Likewise.
20303 (libc_cv_cc_sse2avx): Likewise.
20304 (libc_cv_cc_novzeroupper): Likewise.
20305 (libc_cv_cc_fma4): Likewise.
20306 (libc_cv_as_i686): Likewise.
20307 (libc_cv_sparc_as_vis3): Likewise.
20308 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
20309 LIBC_CONFIG_VAR.
20310 (config-asflags-i686): Likewise.
20311 (config-cflags-avx): Likewise.
20312 (config-cflags-sse2avx): Likewise.
20313 (have-mfma4): Likewise.
20314 (config-cflags-novzeroupper): Likewise.
20315 * sysdeps/mach/configure.in (MIG): Likewise.
20316 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
20317 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
20318 LIBC_CONFIG_VAR.
20319 (config-cflags-avx): Likewise.
20320 (config-cflags-sse2avx): Likewise.
20321 (have-mfma4): Likewise.
20322 (config-cflags-novzeroupper): Likewise.
20323 * configure: Regenerated.
20324 * sysdeps/i386/configure: Likewise.
20325 * sysdeps/mach/configure: Likewise.
20326 * sysdeps/sparc/configure: Likewise.
20327 * sysdeps/x86_64/configure: Likewise.
20328
912cc4b3
RM
203292013-03-20 Roland McGrath <roland@hack.frob.com>
20330
20331 [BZ #14812]
20332 * locale/programs/localedef.c (options): Put N_ translation marker
20333 on argument names, not just descriptions.
20334
04eed2b0
MS
203352013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20336
20337 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
20338
a065ceff
OB
203392013-03-20 Ondřej Bílka <neleai@seznam.cz>
20340
9bb2a810 20341 [BZ #14176]
a065ceff
OB
20342 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
20343
a600e5ce
RM
203442013-03-19 Roland McGrath <roland@hack.frob.com>
20345
20346 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
20347 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
20348 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
20349 [!BEFORE_ABORT] (before_abort): New function.
20350 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
20351 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
20352 (writev_for_fatal): New function.
20353 (WRITEV_FOR_FATAL): New macro; call that.
20354 (backtrace_and_maps): New function.
20355 (BEFORE_ABORT): New macro; call that.
20356 (struct str_list): Type removed.
20357 (__libc_message, __libc_fatal): Functions removed.
20358 Include <sysdeps/posix/libc_fatal.c> instead.
20359
6b18bea6
JM
203602013-03-19 Joseph Myers <joseph@codesourcery.com>
20361
20362 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
20363 constants.
20364 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
20365 double constants.
20366
aaa8cb4b
AS
203672013-03-19 Andreas Schwab <schwab@suse.de>
20368
44673770
AS
20369 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
20370 * sysdeps/gnu/configure: Regenerate.
20371
aaa8cb4b
AS
20372 * configure.in: Substitute libc_cv_rtlddir.
20373 * configure: Regenerate.
20374 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
20375 * Makeconfig (rtlddir, inst_rtlddir): New variables.
20376 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
20377 * elf/Makefile (install-others, CFLAGS-interp.c)
20378 (ldso_install, common-ldd-rewrite): Likewise.
20379 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
20380 $(inst_slibdir)/$(rtld-installed-name).
20381 * scripts/rellns-sh: Add -p option.
20382 * Makerules (make-shlib-link): Use rellns-sh to get relative name
20383 for source.
20384
d3cfc668
SP
203852013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20386
20387 * manual/nptl.texi: Renamed to ...
20388 * manual/threads.texi: ... this.
20389 * manual/Makefile (chapters): Update.
20390
0e2b9cdd
RM
203912013-03-18 Roland McGrath <roland@hack.frob.com>
20392
20393 [BZ #14812]
20394 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
20395 on argument names, not just descriptions.
0e2b9cdd
RM
20396 * malloc/memusagestat.c (options): Likewise.
20397 * nss/getent.c (options): Likewise.
63270c24
RM
20398
203992013-03-18 Benno Schulenberg <bensberg@justemail.net>
20400
20401 [BZ #14812]
20402 * iconv/iconv_prog.c (options): Put N_ translation marker
20403 on argument names, not just descriptions.
20404 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 20405
b2e1393c
OB
204062013-03-18 Ondrej Bilka <neleai@seznam.cz>
20407
20408 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
20409 implementation which is faster on all x86_64 architectures.
20410 Tested on AMD, Intel Nehalem, SNB, IVB.
20411 * sysdeps/x86_64/strnlen.S: Likewise.
20412
20413 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20414 Remove all multiarch strlen and strnlen versions.
20415 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20416 Remove strlen and strnlen related parts.
20417
20418 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
20419 Inline strlen part.
20420 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
20421
20422 * sysdeps/x86_64/multiarch/strlen.S: Remove.
20423 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
20424 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
20425 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
20426 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20427 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
20428
ec4ff04d
CD
204292013-03-17 Carlos O'Donell <carlos@redhat.com>
20430
20431 * manual/memory.texi (Malloc Tunable Parameters):
20432 Sort parameters alphabetically. Add comments for missing entries.
20433
cd18e90a
DM
204342013-03-17 David S. Miller <davem@davemloft.net>
20435
20436 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20437
2a185d32
JM
204382013-03-16 Joseph Myers <joseph@codesourcery.com>
20439
d2f9799e
JM
20440 [BZ #15283]
20441 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
20442 for arguments at most half maximum finite value.
20443 * math/libm-test.inc (j0_test): Add more tests.
20444 (j1_test): Likewise.
20445 (y0_test): Likewise.
20446 (y1_test): Likewise.
20447 * sysdeps/i386/fpu/libm-test-ulps: Update.
20448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20449
2a185d32
JM
20450 [BZ #14155]
20451 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
20452 1 / x and functions P and Q for arguments above 0x1p256L.
20453 (__ieee754_y0l): Likewise.
20454 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20455 (__ieee754_y1l): Likewise.
20456 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
20457 (j1_test): Likewise.
20458 (y0_test): Likewise.
20459 (y1_test): Likewise.
20460
6cbec759
TS
204612013-03-16 Thomas Schwinge <thomas@codesourcery.com>
20462
20463 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
20464 variable.
20465
bc16e260
RM
204662013-03-15 Roland McGrath <roland@hack.frob.com>
20467
aefc9b8c
RM
20468 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
20469 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
20470 zero since it's initialized to EXEC_PAGESIZE.
20471
bc16e260
RM
20472 * sysdeps/unix/sysv/linux/ldsodefs.h
20473 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
20474 * sysdeps/generic/ldsodefs.h: ... here.
20475
a57da955
TS
204762013-03-15 Thomas Schwinge <thomas@codesourcery.com>
20477
af00a34d
TS
20478 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
20479
495ded2c
TS
20480 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
20481 math/test-snan.c.
20482 * math/test-snan.c: Renamed from
20483 sysdeps/powerpc/fpu/test-powerpc-snan.c.
20484 * math/Makefile (tests): Add test-snan.
20485 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
20486 test-powerpc-snan.
20487
777b0332
TS
20488 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
20489 SUFFIX. Initialize qNaN_var with __builtin_nan family of
20490 functions.
20491 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
20492 __builtin_nan family of functions.
20493 * math/libm-test.inc (initialize): Initialize qnan_value with
20494 __builtin_nan family of functions.
20495 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
20496 Remove variables.
20497 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
20498 Remove functions.
20499 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
20500 storage class. Initialize qNaN_var and sNaN_var with
20501 __builtin_nan and __builtin_nans families of functions,
20502 respectively.
20503
64d063b8
TS
20504 * math/libm-test.inc (acosh_test): Also test with qNaN input.
20505 (sqrt_test): Remove duplicate test with qNaN input.
20506 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
20507 (round_test, signbit_test, significand_test): Note missing +/-Inf
20508 as well as qNaN tests.
20509
67e971f1
TS
20510 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
20511 qNaN_var. Fix a few strings, too.
20512 * math/libm-test.inc (nan_value): Rename to qnan_value.
20513 * math/gen-libm-test.pl (%beautify): Adjust to that.
20514 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
20515 * math/test-misc.c (main): Likewise.
20516 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
20517 to __qnan_bytes, and __qnan_union, respectively.
20518 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
20519 Likewise.
20520 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
20521 and lqnanval, respectively.
20522 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
20523 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
20524 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
20525 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
20526
64487e12
TS
20527 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
20528 * math/test-misc.c (main) [__x86_64__]: Enable test for long
20529 doubles.
20530
e015e27b
TS
20531 * math/test-misc.c (main): Fix copy'n'pastos.
20532 * misc/tst-efgcvt.c (special): Likewise.
20533
a57da955
TS
20534 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
20535 Remove declarations.
20536
1e380345
SP
205372013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20538
20539 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
20540 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
20541 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
20542 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
20543
ef26eece
AZ
205442013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20545
20546 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
20547 macro to return vdso values correctly in IFUNC implementations.
20548 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
20549 Optimization by using IFUNC.
20550
8cfdb7e0
SP
205512013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20552 Richard Henderson <rth@redhat.com>
20553 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20554
20555 * Makefile.in (bench): New target.
20556 * NEWS: Mention the benchmark framework.
20557 * Rules (bench): Likewise.
20558 (binaries-bench): Generate binaries for functions to
20559 benchmark.
20560 * benchtests/Makefile: New makefile for benchmark tests.
20561 * benchtests/bench-skeleton.c: New skeleton file for benchmark
20562 programs.
20563 * benchtests/exp-inputs: New input file for EXP function.
20564 * benchtests/pow-inputs: New input file for POW function.
20565 * scripts/bench.pl: New script to generate source files for
20566 benchmark programs.
20567
bcda9880
SP
205682013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20569
d22ca8cd
SP
20570 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20571 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
20572 computations on mantissa. Use macros for rounding and
20573 division.
20574 (denorm): Likewise.
20575 (__dbl_mp): Likewise.
20576 (add_magnitudes): Likewise.
20577 (sub_magnitudes): Likewise.
20578 (__mul): Likewise.
20579 (__sqr): Likewise.
20580 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
20581 powers of two in terms of TWOPOW macro.
20582 (mp_no): Make type of mantissa as MANTISSA_T.
20583 [!RADIXI]: Define RADIXI.
20584 [!TWO52]: Define TWO52.
20585 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20586
bcda9880
SP
20587 * manual/nptl.texi (cindex): Modify threads to pthreads.
20588
06d5adfb
JM
205892013-03-15 Joseph Myers <joseph@codesourcery.com>
20590
20591 * sysdeps/x86_64/preconfigure: Regenerated.
20592
41c7328e
JM
205932013-03-14 Joseph Myers <joseph@codesourcery.com>
20594
20595 [BZ #14155]
20596 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
20597 0x1p28 and above.
20598 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
20599 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
20600 0x1p28 and above.
20601 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
20602 * math/libm-test.inc (j0_test): Do not allow one spurious
20603 underflow exception.
20604 (y1_test): Likewise.
20605
e25cfa60
SP
206062013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20607
0409959c
SP
20608 * manual/Makefile (chapters): Add nptl.
20609 * manual/debug.texi (Debugging Support): Add link to Threads
20610 chapter.
20611 * manual/nptl.texi: New file.
20612
e25cfa60
SP
20613 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
20614
58a1335e
PB
206152013-03-14 Petr Baudis <pasky@ucw.cz>
20616
20617 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
20618 for non-NULL pointer before the memory validity test. Pointed
20619 out by Holger Brunck <holger.brunck@keymile.com>.
20620
9dc7c64f
AS
206212013-03-13 Andreas Schwab <schwab@suse.de>
20622
20623 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
20624 instead of .os.
20625
54206aa6
JM
206262013-03-13 Joseph Myers <joseph@codesourcery.com>
20627
20628 * timezone/zic.c: Update from tzcode 2013b.
20629
e98cdb38
CD
206302013-03-12 Carlos O'Donell <carlos@redhat.com>
20631
20632 * manual/install.texi (Configuring and compiling):
20633 Mention i686 and i586.
20634 * INSTALL: Regenerate.
20635
9967e003
RM
206362013-03-12 Roland McGrath <roland@hack.frob.com>
20637
20638 * sysdeps/init_array/elf-init.c: New file.
20639 * csu/elf-init.c
20640 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
20641 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
20642
20643 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
20644 __gmon_start__ as global, but as static with a .preinit_array pointer.
20645 * sysdeps/init_array/gmon-start.c: New file. Use that.
20646 * sysdeps/init_array/crti.S: New file, empty except for comments.
20647 * sysdeps/init_array/crtn.S: Likewise.
20648
e6b5a293 206492013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
20650
20651 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
20652 definining bcopy.
80f844c9
OB
20653 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20654 Remove Prefer_SSE_for_memop.
20655 * sysdeps/x86_64/multiarch/init-arch.h: Remove
20656 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
20657 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
20658 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20659 memset-x86-64.
80f844c9 20660 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 20661 Remove bzero, memset ifunc support.
80f844c9
OB
20662 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
20663 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
20664 * sysdeps/x86_64/multiarch/memset.S: Likewise.
20665 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20666
fb6b0fcb
AS
206672013-03-11 Andreas Schwab <schwab@suse.de>
20668
20669 [BZ #15234]
20670 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
20671 by SHLIB_COMPAT.
20672 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
20673 (GLIBC_2.16): Remove pthread_atfork.
20674
3e6bd4b1
PP
206752013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
20676
20677 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
20678 (ptestcases.h): Likewise.
20679
222d7f00
RM
206802013-03-08 Roland McGrath <roland@hack.frob.com>
20681
20682 * Makeconfig ($(common-objpfx)config.status): Depend on
20683 sysdeps/*/preconfigure{,.in} too.
20684
1ba4f030
JM
206852013-03-08 Joseph Myers <joseph@codesourcery.com>
20686
a222d91a
JM
20687 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
20688 (__free_hook): Use void * instead of __malloc_ptr_t.
20689 (__malloc_hook): Likewise.
20690 (__realloc_hook): Likewise.
20691 (__memalign_hook): Likewise.
20692 (__after_morecore_hook): Likewise.
20693 * malloc/arena.c (save_malloc_hook): Likewise.
20694 (save_free_hook): Likewise.
20695 * malloc/hooks.c (malloc_hook_ini): Likewise.
20696 (realloc_hook_ini): Likewise.
20697 (memalign_hook_ini): Likewise.
20698 * malloc/malloc.c (malloc_hook_ini): Likewise.
20699 (realloc_hook_ini): Likewise.
20700 (memalign_hook_ini): Likewise.
20701 (__free_hook): Likewise.
20702 (__malloc_hook): Likewise.
20703 (__realloc_hook): Likewise.
20704 (__memalign_hook): Likewise.
20705 (__libc_malloc): Likewise.
20706 (__libc_free): Likewise.
20707 (__libc_realloc): Likewise.
20708 (__libc_memalign): Likewise.
20709 (__libc_valloc): Likewise.
20710 (__libc_pvalloc): Likewise.
20711 (__libc_calloc): Likewise.
20712 (__posix_memalign): Likewise.
20713 * malloc/morecore.c (__sbrk): Likewise.
20714 (__default_morecore): Likewise.
20715
5cc45e10
JM
20716 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
20717
dd54b864
JM
20718 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
20719 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
20720 __malloc_ptrdiff_t.
20721
1ba4f030
JM
20722 * malloc/malloc.h (__malloc_size_t): Remove macro.
20723 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
20724 __malloc_size_t.
20725 (old_memalign_hook): Likewise.
20726 (old_realloc_hook): Likewise.
20727 (struct hdr): Likewise.
20728 (flood): Likewise.
20729 (mallochook): Likewise.
20730 (memalignhook): Likewise.
20731 (reallochook): Likewise.
20732 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
20733 (tr_old_realloc_hook): Likewise.
20734 (tr_old_memalign_hook): Likewise.
20735 (tr_mallochook): Likewise.
20736 (tr_reallochook): Likewise.
20737 (tr_memalignhook): Likewise.
20738
edf66e57
AZ
207392013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20740
20741 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
20742 default_ldbl_pack and using as default implementation.
20743 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
20744 implementation.
20745 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
20746 redundant definition.
20747 (ldbl_insert_mantissa): Likewise.
20748 (ldbl_canonicalize): Likewise.
20749 (ldbl_nearbyint): Likewise.
20750 (ldbl_pack): Rename to ldbl_pack_ppc.
20751 (ldbl_unpack): Rename to ldbl_unpack_ppc.
20752 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
20753 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
20754
6d9145d8
SP
207552013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20756
20757 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
20758 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
20759 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
20760 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
20761 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
20762 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
20763 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
20764 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
20765
4dd4e157
AJ
207662013-03-07 Andreas Jaeger <aj@suse.de>
20767
20768 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20769 bits/mman-linux.h.
20770
adbb8027
SP
207712013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20772
ce544b5b
SP
20773 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
20774 Include mpa.h and declare __MPEXP.
20775 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
20776 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20777 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20778 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
20779 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20780 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20781 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
20782
4cc149fd
SP
20783 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
20784 (__slowpow): Use long double EXPL and LOGL functions to
20785 compute POW.
20786 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20787 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20788 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
20789 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20790 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20791 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
20792
e6ebd4a7
SP
20793 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
20794 intermediate variable to calculate exponent.
20795 (__sqr): Likewise.
20796 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20797 Likewise.
20798 (__sqr): Likewise.
20799
82a9811d
SP
20800 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
20801 [!NO__SQR]: Define __sqr.
20802 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
20803 and NO__SQR. Remove all code except __mul and __sqr. Include
20804 sysdeps/ieee754/dbl-64/mpa.c.
20805 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20806
adbb8027
SP
20807 [BZ #12723]
20808 * posix/Makefile (tests): Add tst-pathconf.
20809 * posix/tst-pathconf.c: New test case.
20810 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
20811 _PC_PIPE_BUF.
20812 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
20813
39120df9
PF
208142013-03-06 Patsy Franklin <pfrankli@redhat.com>
20815
20816 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
20817
67525cb8
AJ
208182013-03-06 Andreas Jaeger <aj@suse.de>
20819
664a9ce4
AJ
20820 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
20821 definition via __MAP_ANONYMOUS.
20822
8e39047d
AJ
20823 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
20824 it's not part of Linux headers.
20825
67525cb8
AJ
20826 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
20827 (MAP_HUGE_MASK): Define.
20828
20829 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20830 Define.
20831 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20832 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20833 Define.
20834 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20835 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20836 Define.
20837 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20838 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
20839 Define.
20840 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20841
20842 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
20843 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
20844 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
20845 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
20846 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
20847 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
20848
20849 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20850 Handle f2fs.
20851
20852 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20853 Handle f2fs and efivarfs.
20854
20855 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
20856 f2fs.
20857
20858 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
20859 (EFIVARFS_MAGIC): Add.
20860 (F2FS_LINK_MAX): Add.
20861
e1b42695
PP
208622013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20863
20864 * stdio-common/vfprintf.c: Replace __builtin_expect with
20865 __glibc_unlikely.
20866
2d67d91a
JM
208672013-03-06 Joseph Myers <joseph@codesourcery.com>
20868
20869 [BZ #13550]
20870 * sysdeps/generic/bp-sym.h: Remove file.
20871 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
20872 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
20873 <bp-sym.h> and <bp-asm.h>.
20874 (__longjmp): Don't use BP_SYM.
20875 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
20876 and <bp-asm.h>.
20877 (memcpy): Don't use BP_SYM.
20878 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
20879 <bp-sym.h> and <bp-asm.h>.
20880 (memcpy): Don't use BP_SYM.
20881 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
20882 <bp-asm.h>.
20883 (memcpy): Don't use BP_SYM.
20884 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
20885 <bp-asm.h>.
20886 (memset): Don't use BP_SYM.
20887 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20888 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20889 (__bzero): Don't use BP_SYM.
20890 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20891 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20892 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
20893 <bp-sym.h> and <bp-asm.h>.
20894 (memcmp): Don't use BP_SYM. Remove comment about bounded
20895 pointers.
20896 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
20897 <bp-sym.h> and <bp-asm.h>.
20898 (memcpy): Don't use BP_SYM.
20899 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
20900 <bp-sym.h> and <bp-asm.h>.
20901 (memset): Don't use BP_SYM.
20902 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20903 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20904 (__bzero): Don't use BP_SYM.
20905 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20906 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20907 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
20908 <bp-sym.h> and <bp-asm.h>.
20909 (strncmp): Don't use BP_SYM. Remove comment about bounded
20910 pointers.
20911 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
20912 <bp-sym.h> and <bp-asm.h>.
20913 (memcpy): Don't use BP_SYM.
20914 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
20915 <bp-sym.h> and <bp-asm.h>.
20916 (memset): Don't use BP_SYM.
20917 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20918 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20919 (__bzero): Don't use BP_SYM.
20920 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20921 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20922 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
20923 <bp-sym.h> and <bp-asm.h>.
20924 (__memchr): Don't use BP_SYM.
20925 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
20926 <bp-sym.h> and <bp-asm.h>.
20927 (memcmp): Don't use BP_SYM. Remove comment about bounded
20928 pointers.
20929 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
20930 <bp-sym.h> and <bp-asm.h>.
20931 (memcpy): Don't use BP_SYM.
20932 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
20933 <bp-sym.h> and <bp-asm.h>.
20934 (__mempcpy): Don't use BP_SYM.
20935 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
20936 <bp-sym.h> and <bp-asm.h>.
20937 (__memrchr): Don't use BP_SYM.
20938 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
20939 <bp-sym.h> and <bp-asm.h>.
20940 (memset): Don't use BP_SYM.
20941 (__bzero): Likewise.
20942 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
20943 <bp-sym.h> and <bp-asm.h>.
20944 (__rawmemchr): Don't use BP_SYM.
20945 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
20946 <bp-sym.h> and <bp-asm.h>.
20947 (__STRCMP): Don't use BP_SYM.
20948 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
20949 <bp-sym.h> and <bp-asm.h>.
20950 (strchr): Don't use BP_SYM.
20951 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
20952 <bp-sym.h> and <bp-asm.h>.
20953 (__strchrnul): Don't use BP_SYM.
20954 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
20955 <bp-sym.h> and <bp-asm.h>.
20956 (strlen): Don't use BP_SYM.
20957 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
20958 <bp-sym.h> and <bp-asm.h>.
20959 (strncmp): Don't use BP_SYM. Remove comment about bounded
20960 pointers.
20961 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
20962 <bp-sym.h> and <bp-asm.h>.
20963 (__strnlen): Don't use BP_SYM.
20964 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
20965 <bp-sym.h> and <bp-asm.h>.
20966 (__GI__setjmp): Don't use BP_SYM.
20967 (_setjmp): Likewise.
20968 (__sigsetjmp): Likewise.
20969 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
20970 (L(start_addresses)): Don't use BP_SYM.
20971 (_start): Likewise.
20972 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
20973 <bp-asm.h>.
20974 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
20975 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
20976 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20977 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20978 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
20979 <bp-asm.h>.
20980 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
20981 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
20982 about bounded pointers.
20983 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20984 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20985 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
20986 <bp-asm.h>.
20987 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20988 about bounded pointers. Remove GKM FIXME comments.
20989 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20990 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
20991 <bp-asm.h>.
20992 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
20993 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
20994 Remove GKM FIXME comments.
20995 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20996 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20997 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
20998 <bp-asm.h>.
20999 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21000 about bounded pointers. Remove GKM FIXME comment.
21001 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
21002 and <bp-asm.h>.
21003 (strncmp): Don't use BP_SYM. Remove comment about bounded
21004 pointers.
21005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
21006 <bp-sym.h> and <bp-asm.h>.
21007 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
21009 <bp-sym.h> and <bp-asm.h>.
21010 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21011 comment.
21012
cdcf361f
PP
210132013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21014
21015 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
21016 call free(NULL).
21017
3c4a2b15
DM
210182013-03-05 David S. Miller <davem@davemloft.net>
21019
21020 * po/es.po: Update from translation team.
21021
cdcf361f 210222013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
21023
21024 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
21025 <bits/mman-linux.h>.
21026 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21027 is fine.
21028 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
21029 <bits/mman-linux.h> to end of file.
21030 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21031 is fine.
21032 * sysdeps/unix/sysv/linux/x86/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/sparc/bits/mman.h: Move include of
21037 <bits/mman-linux.h> to end of file.
21038
21039 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
21040 (MCL_CURRENT, MCL_FUTURE): Define here.
21041
5f67c04f
AK
210422013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21043
8a4473cc 21044 [BZ #15232]
5f67c04f
AK
21045 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
21046 attribute_hidden.
21047 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21048
c3e94a95
AK
210492013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21050
21051 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
21052 fourth parameter needed for rt_sigprocmask syscall.
21053 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21054 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21055 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
21056 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21057 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21058 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
21059
cfb6382a
JM
210602013-03-04 Joseph Myers <joseph@codesourcery.com>
21061
21062 [BZ #13550]
21063 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
21064 comment about bounded pointers.
21065 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
21066 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
21067
539d8e01
AJ
210682013-03-04 Andreas Jaeger <aj@suse.de>
21069
21070 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
21071 common definitions.
21072
21073 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
21074 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
21075 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
21076 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21077 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
21078 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21079
2e167a70 210802013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
21081
21082 [BZ #15055]
21083 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
21084 __ieee754_sqrl instead of __sqrl.
21085
68508633
JM
210862013-03-01 Joseph Myers <joseph@codesourcery.com>
21087
21088 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
21089 * sysdeps/powerpc/fpu_control.h: ... here.
21090 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
21091 * sysdeps/powerpc/bits/fenvinline.h: ... here.
21092 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
21093 * sysdeps/powerpc/bits/mathinline.h: ... here.
21094
7775448e
RM
210952013-03-01 Roland McGrath <roland@hack.frob.com>
21096
21097 * elf/dl-hwcaps.c (_dl_important_hwcaps):
21098 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
21099 to just [NEED_DL_SYSINFO_DSO].
21100 * elf/dl-support.c: Likewise.
21101 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21102 * elf/rtld.c (dl_main): Likewise.
21103 * elf/setup-vdso.h (setup_vdso): Likewise.
21104 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
21105 * sysdeps/unix/sysv/linux/dl-sysdep.c
21106 (_dl_discover_osversion): Likewise.
21107
4e9b5995
CD
211082013-03-01 Carlos O'Donell <carlos@redhat.com>
21109
21110 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
21111 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21112
e23872c8
SP
211132013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
21114
e5c74c63
SP
21115 * NEWS: Mention libm performance improvements and non-x86 PI
21116 futex support.
21117
e23872c8
SP
21118 * csu/libc-start.c (__pthread_initialize_minimal): Change
21119 function arguments.
21120 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21121
b5510883
JM
211222013-02-28 Joseph Myers <joseph@codesourcery.com>
21123
21124 [BZ #13550]
21125 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
21126 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
21127 <bp-sym.h> and <bp-asm.h>.
21128 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21129 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
21130 and <bp-asm.h>.
21131 (memcpy): Don't use BP_SYM.
21132 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
21133 <bp-asm.h>.
21134 (__mpn_add_n): Don't use BP_SYM.
21135 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
21136 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
21137 and <bp-asm.h>.
21138 (__mpn_addmul_1): Don't use BP_SYM.
21139 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21140 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
21141 <bp-sym.h>.
21142 (_setjmp): Don't use BP_SYM.
21143 (__novmx_setjmp): Likewise.
21144 (__GI__setjmp): Likewise.
21145 (__vmx_setjmp): Likewise.
21146 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
21147 <bp-sym.h>.
21148 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
21149 (__bzero): Don't use BP_SYM.
21150 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21151 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21152 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
21153 <bp-sym.h> and <bp-asm.h>.
21154 (memcpy): Don't use BP_SYM.
21155 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
21156 <bp-sym.h> and <bp-asm.h>.
21157 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21158 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
21159 <bp-sym.h> and <bp-asm.h>.
21160 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21161 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
21162 <bp-asm.h>.
21163 (__mpn_lshift): Don't use BP_SYM.
21164 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21165 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
21166 <bp-asm.h>.
21167 (memset): Don't use BP_SYM.
21168 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21169 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21170 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
21171 <bp-asm.h>.
21172 (__mpn_mul_1): Don't use BP_SYM.
21173 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21174 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
21175 <bp-sym.h> and <bp-asm.h>.
21176 (memcmp): Don't use BP_SYM.
21177 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
21178 <bp-sym.h> and <bp-asm.h>.
21179 (memcpy): Don't use BP_SYM.
21180 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
21181 <bp-sym.h> and <bp-asm.h>.
21182 (memset): Don't use BP_SYM.
21183 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
21184 <bp-sym.h> and <bp-asm.h>.
21185 (strncmp): Don't use BP_SYM.
21186 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
21187 <bp-sym.h> and <bp-asm.h>.
21188 (memcpy): Don't use BP_SYM.
21189 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
21190 <bp-sym.h> and <bp-asm.h>.
21191 (memset): Don't use BP_SYM.
21192 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
21193 <bp-sym.h> and <bp-asm.h>.
21194 (__memchr): Don't use BP_SYM.
21195 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
21196 <bp-sym.h> and <bp-asm.h>.
21197 (memcmp): Don't use BP_SYM.
21198 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
21199 <bp-sym.h> and <bp-asm.h>.
21200 (memcpy): Don't use BP_SYM.
21201 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
21202 <bp-sym.h> and <bp-asm.h>.
21203 (__mempcpy): Don't use BP_SYM.
21204 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
21205 <bp-sym.h> and <bp-asm.h>.
21206 (__memrchr): Don't use BP_SYM.
21207 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
21208 <bp-sym.h> and <bp-asm.h>.
21209 (memset): Don't use BP_SYM.
21210 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
21211 <bp-sym.h> and <bp-asm.h>.
21212 (__rawmemchr): Don't use BP_SYM.
21213 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
21214 <bp-sym.h> and <bp-asm.h>.
21215 (__STRCMP): Don't use BP_SYM.
21216 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
21217 <bp-sym.h> and <bp-asm.h>.
21218 (strchr): Don't use BP_SYM.
21219 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
21220 <bp-sym.h> and <bp-asm.h>.
21221 (__strchrnul): Don't use BP_SYM.
21222 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
21223 <bp-sym.h> and <bp-asm.h>.
21224 (strlen): Don't use BP_SYM.
21225 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
21226 <bp-sym.h> and <bp-asm.h>.
21227 (strncmp): Don't use BP_SYM.
21228 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
21229 <bp-sym.h> and <bp-asm.h>.
21230 (__strnlen): Don't use BP_SYM.
21231 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
21232 <bp-asm.h>.
21233 (__mpn_rshift): Don't use BP_SYM.
21234 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21235 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
21236 <bp-sym.h> and <bp-asm.h>.
21237 (__sigsetjmp): Don't use BP_SYM.
21238 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
21239 (L(start_addresses)): Don't use BP_SYM.
21240 (_start): Likewise.
21241 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
21242 <bp-asm.h>.
21243 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
21244 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21245 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21246 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
21247 <bp-asm.h>.
21248 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
21249 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21250 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21251 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
21252 <bp-asm.h>.
21253 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
21254 comments.
21255 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21256 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
21257 <bp-asm.h>.
21258 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
21259 FIXME comments.
21260 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21261 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21262 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
21263 <bp-asm.h>.
21264 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
21265 comment.
21266 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
21267 and <bp-asm.h>.
21268 (strncmp): Don't use BP_SYM,
21269 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
21270 <bp-asm.h>.
21271 (__mpn_sub_n): Don't use BP_SYM.
21272 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21273 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
21274 and <bp-asm.h>.
21275 (__mpn_submul_1): Don't use BP_SYM.
21276 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
21278 <bp-sym.h> and <bp-asm.h>.
21279 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
21281 <bp-sym.h> and <bp-asm.h>.
21282 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21283 comment.
21284
8d19fe64
SP
212852013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21286
21287 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
21288 Use ZK to minimize writes to Z.
21289 (sub_magnitudes): Simplify code a bit.
21290 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
21291 Use ZK to minimize writes to Z.
21292 (sub_magnitudes): Simplify code a bit.
21293
85bd816a
RM
212942013-02-27 Roland McGrath <roland@hack.frob.com>
21295
21296 * csu/gmon-start.c: Add special exception to license text.
21297
b5977bf2
RH
212982013-02-27 Richard Henderson <rth@redhat.com>
21299
21300 * scripts/config.guess: Update from config.git.
21301 * scripts/config.sub: Likewise.
21302
11d6e2f2
SP
213032013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21304
09c14ed2
SP
21305 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
21306
a688864e
SP
21307 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
21308
6295157a
SP
21309 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
21310
b8de2202
SP
21311 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
21312
11d6e2f2
SP
21313 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
21314
7e80ddb8
RM
213152013-02-26 Roland McGrath <roland@hack.frob.com>
21316
21317 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
21318 [$(build-shared = yes].
7e80ddb8 21319
7da6d9ed
SP
213202013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21321
45f05884
SP
21322 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
21323 (__mul): Reduce iterations for calculating mantissa.
21324
2236d359
SP
21325 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
21326 MPTWO.
21327 (__mpranred): Likewise.
21328
7da6d9ed
SP
21329 [BZ #15160]
21330 * malloc/memusagestat.c (main): Draw graphs for heap and stack
21331 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
21332
b7688c42
PE
213332013-02-26 Paul Eggert <eggert@cs.ucla.edu>
21334
21335 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
21336 Define __attribute__.
21337
53a5c423
SP
213382013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21339
21340 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
21341 unused.
21342 * posix/regex_internal.h (__attribute): Remove.
21343 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
21344 (re_string_context_at): Likewise.
21345 (bitset_not): Use __attribute__ and mark function as possibly
21346 unused.
21347 (bitset_merge): Likewise.
21348 (bitset_mask): Likewise.
21349 (re_string_char_size_at): Likewise.
21350 (re_string_wchar_at): Likewise.
21351 (re_string_elem_size_at): Likewise.
21352
60f5a8b5
SP
213532013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21354
2a983a2e
SP
21355 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
21356 code.
21357 (cc32): Likewise.
21358
e69804d1
SP
21359 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
21360 (__acr): Likewise.
21361 (__cpy): Likewise.
21362 (norm): Likewise.
21363 (denorm): Likewise.
21364 (__dbl_mp): Likewise.
21365 (add_magnitudes): Likewise.
21366 (sub_magnitudes): Likewise.
21367 (__mul): Likewise.
21368 (__inv): Likewise.
21369
2f22a1e8
SP
21370 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
21371 style.
21372
8930ddc7
SP
21373 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
21374 style.
21375
dc60cb11
SP
21376 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
21377 code.
21378
60f5a8b5
SP
21379 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
21380 up changes with default code.
21381 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
21382 Likewise.
21383
b4d1fd33
AM
213842013-02-24 Allan McRae <allan@archlinux.org>
21385
faf6f8bc
AM
21386 * manual/socket.texi (The Internet Namespace): Order menu items
21387 to match that in the file.
21388
b4d1fd33
AM
21389 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
21390 node listing of the info page menu.
21391
2366713d
JM
213922013-02-21 Joseph Myers <joseph@codesourcery.com>
21393
21394 [BZ #13550]
21395 * sysdeps/i386/bp-asm.h: Remove file.
21396 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21397 (PARMS): Do not use macros from bp-asm.h.
21398 (S1): Likewise.
21399 (S2): Likewise.
21400 (SIZE): Likewise.
21401 (__mpn_add_n): Do not use BP_SYM
21402 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
21403 "bp-asm.h".
21404 (PARMS): Do not use macros from bp-asm.h.
21405 (S1): Likewise.
21406 (SIZE): Likewise.
21407 (__mpn_addmul_1): Do not use BP_SYM
21408 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
21409 "bp-asm.h".
21410 (PARMS): Do not use macros from bp-asm.h.
21411 (SIGMSK): Likewise.
21412 (_setjmp): Likewise. Do not use BP_SYM.
21413 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
21414 "bp-asm.h".
21415 (PARMS): Do not use macros from bp-asm.h.
21416 (SIGMSK): Likewise.
21417 (setjmp): Likewise. Do not use BP_SYM.
21418 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
21419 "bp-asm.h".
21420 (PARMS): Do not use macros from bp-asm.h.
21421 (__frexp): Do not use BP_SYM.
21422 (frexp): Likewise.
21423 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
21424 "bp-asm.h".
21425 (PARMS): Do not use macros from bp-asm.h.
21426 (__frexpf): Do not use BP_SYM.
21427 (frexpf): Likewise.
21428 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
21429 "bp-asm.h".
21430 (PARMS): Do not use macros from bp-asm.h.
21431 (__frexpl): Do not use BP_SYM.
21432 (frexpl): Likewise.
21433 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
21434 "bp-asm.h".
21435 (PARMS): Do not use macros from bp-asm.h.
21436 (__remquo): Do not use BP_SYM.
21437 (remquo): Likewise.
21438 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
21439 "bp-asm.h".
21440 (PARMS): Do not use macros from bp-asm.h.
21441 (__remquof): Do not use BP_SYM.
21442 (remquof): Likewise.
21443 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
21444 "bp-asm.h".
21445 (PARMS): Do not use macros from bp-asm.h.
21446 (__remquol): Do not use BP_SYM.
21447 (remquol): Likewise.
21448 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
21449 "bp-asm.h".
21450 (PARMS): Do not use macros from bp-asm.h.
21451 (DEST): Likewise.
21452 (SRC): Likewise.
21453 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
21454 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
21455 "bp-asm.h".
21456 (PARMS): Do not use macros from bp-asm.h.
21457 (strlen): Do not use BP_SYM.
21458 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
21459 "bp-asm.h".
21460 (PARMS): Do not use macros from bp-asm.h.
21461 (S1): Likewise.
21462 (S2): Likewise.
21463 (SIZE): Likewise.
21464 (__mpn_add_n): Do not use BP_SYM.
21465 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
21466 "bp-asm.h".
21467 (PARMS): Do not use macros from bp-asm.h.
21468 (S1): Likewise.
21469 (SIZE): Likewise.
21470 (__mpn_addmul_1): Do not use BP_SYM.
21471 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
21472 weak_alias.
21473 (bzero): Likewise.
21474 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
21475 "bp-asm.h".
21476 (PARMS): Do not use macros from bp-asm.h.
21477 (S): Likewise.
21478 (SIZE): Likewise.
21479 (__mpn_lshift): Do not use BP_SYM.
21480 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
21481 "bp-asm.h".
21482 (PARMS): Do not use macros from bp-asm.h.
21483 (DEST): Likewise.
21484 (SRC): Likewise.
21485 (LEN): Likewise.
21486 (memcpy): Likewise. Do not use BP_SYM.
21487 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
21488 libc_hidden_def and weak_alias.
21489 (mempcpy): Do not use BP_SYM in weak_alias.
21490 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
21491 "bp-asm.h".
21492 (PARMS): Do not use macros from bp-asm.h.
21493 (DEST): Likewise.
21494 (LEN): Likewise.
21495 [!BZERO_P] (CHR): Likewise.
21496 (memset): Likewise. Do not use BP_SYM.
21497 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
21498 "bp-asm.h".
21499 (PARMS): Do not use macros from bp-asm.h.
21500 (S1): Likewise.
21501 (SIZE): Likewise.
21502 (__mpn_mul_1): Do not use BP_SYM.
21503 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
21504 "bp-asm.h".
21505 (PARMS): Do not use macros from bp-asm.h.
21506 (S): Likewise.
21507 (SIZE): Likewise.
21508 (__mpn_rshift): Do not use BP_SYM.
21509 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
21510 "bp-asm.h".
21511 (PARMS): Do not use macros from bp-asm.h.
21512 (STR): Likewise.
21513 (CHR): Likewise.
21514 (strchr): Likewise. Do not use BP_SYM.
21515 (index): Do not use BP_SYM in weak_alias.
21516 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
21517 "bp-asm.h".
21518 (PARMS): Do not use macros from bp-asm.h.
21519 (DEST): Likewise.
21520 (SRC): Likewise.
21521 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
21522 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
21523 "bp-asm.h".
21524 (PARMS): Do not use macros from bp-asm.h.
21525 (strlen): Do not use BP_SYM.
21526 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
21527 "bp-asm.h".
21528 (PARMS): Do not use macros from bp-asm.h.
21529 (S1): Likewise.
21530 (S2): Likewise.
21531 (SIZE): Likewise.
21532 (__mpn_sub_n): Do not use BP_SYM.
21533 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
21534 "bp-asm.h".
21535 (PARMS): Do not use macros from bp-asm.h.
21536 (S1): Likewise.
21537 (SIZE): Likewise.
21538 (__mpn_submul_1): Do not use BP_SYM.
21539 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
21540 "bp-asm.h".
21541 (PARMS): Do not use macros from bp-asm.h.
21542 (S1): Likewise.
21543 (S2): Likewise.
21544 (SIZE): Likewise.
21545 (__mpn_add_n): Do not use BP_SYM.
21546 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
21547 weak_alias.
21548 (bzero): Likewise.
21549 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
21550 "bp-asm.h".
21551 (PARMS): Do not use macros from bp-asm.h.
21552 (BLK2): Likewise.
21553 (LEN): Likewise.
21554 (memcmp): Do not use BP_SYM.
21555 (bcmp): Do not use BP_SYM in weak_alias.
21556 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
21557 "bp-asm.h".
21558 (PARMS): Do not use macros from bp-asm.h.
21559 (DEST): Likewise.
21560 (SRC): Likewise.
21561 (LEN): Likewise.
21562 (memcpy): Likewise. Do not use BP_SYM.
21563 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
21564 "bp-asm.h".
21565 (PARMS): Do not use macros from bp-asm.h.
21566 (DEST): Likewise.
21567 (SRC): Likewise.
21568 (LEN): Likewise.
21569 (memmove): Likewise. Do not use BP_SYM.
21570 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
21571 "bp-asm.h".
21572 (PARMS): Do not use macros from bp-asm.h.
21573 (DEST): Likewise.
21574 (SRC): Likewise.
21575 (LEN): Likewise.
21576 (__mempcpy): Likewise. Do not use BP_SYM.
21577 (mempcpy): Do not use BP_SYM in weak_alias.
21578 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
21579 "bp-asm.h".
21580 (PARMS): Do not use macros from bp-asm.h.
21581 (DEST): Likewise.
21582 (LEN): Likewise.
21583 [!BZERO_P] (CHR): Likewise.
21584 (memset): Likewise. Do not use BP_SYM.
21585 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
21586 "bp-asm.h".
21587 (PARMS): Do not use macros from bp-asm.h.
21588 (STR2): Likewise.
21589 (strcmp): Do not use BP_SYM.
21590 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
21591 "bp-asm.h".
21592 (PARMS): Do not use macros from bp-asm.h.
21593 (STR): Likewise.
21594 (DELIM): Likewise.
21595 [USE_AS_STRTOK_R] (SAVE): Likewise.
21596 (FUNCTION): Likewise. Do not use BP_SYM.
21597 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
21598 aliases.
21599 (strtok_r): Likewise.
21600 (__GI___strtok_r): Likewise.
21601 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21602 (PARMS): Do not use macros from bp-asm.h.
21603 (S): Likewise.
21604 (SIZE): Likewise.
21605 (__mpn_lshift): Do not use BP_SYM.
21606 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21607 (PARMS): Do not use macros from bp-asm.h.
21608 (STR): Likewise.
21609 (CHR): Likewise.
21610 (__memchr): Do not use BP_SYM.
21611 (memchr): Do not use BP_SYM in weak_alias.
21612 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21613 (PARMS): Do not use macros from bp-asm.h.
21614 (BLK2): Likewise.
21615 (LEN): Likewise.
21616 (memcmp): Do not use BP_SYM.
21617 (bcmp): Do not use BP_SYM in weak_alias.
21618 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
21619 (PARMS): Do not use macros from bp-asm.h.
21620 (S1): Likewise.
21621 (SIZE): Likewise.
21622 (__mpn_mul_1): Do not use BP_SYM.
21623 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
21624 "bp-asm.h".
21625 (PARMS): Do not use macros from bp-asm.h.
21626 (STR): Likewise.
21627 (CHR): Likewise.
21628 (__rawmemchr): Do not use BP_SYM.
21629 (rawmemchr): Do not use BP_SYM in weak_alias.
21630 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21631 (PARMS): Do not use macros from bp-asm.h.
21632 (S): Likewise.
21633 (SIZE): Likewise.
21634 (__mpn_rshift): Do not use BP_SYM.
21635 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21636 (PARMS): Do not use macros from bp-asm.h.
21637 (SIGMSK): Likewise.
21638 (__sigsetjmp): Likewise. Do not use BP_SYM.
21639 * sysdeps/i386/start.S: Do not include "bp-sym.h".
21640 (_start): Do not use BP_SYM.
21641 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
21642 (PARMS): Do not use macros from bp-asm.h.
21643 (DEST): Likewise.
21644 (SRC): Likewise.
21645 (__stpcpy): Likewise. Do not use BP_SYM.
21646 (stpcpy): Do not use BP_SYM in weak_alias.
21647 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
21648 "bp-asm.h".
21649 (PARMS): Do not use macros from bp-asm.h.
21650 (DEST): Likewise.
21651 (SRC): Likewise.
21652 (LEN): Likewise.
21653 (__stpncpy): Likewise. Do not use BP_SYM.
21654 (stpncpy): Do not use BP_SYM in weak_alias.
21655 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21656 (PARMS): Do not use macros from bp-asm.h.
21657 (STR): Likewise.
21658 (CHR): Likewise.
21659 (strchr): Likewise. Do not use BP_SYM.
21660 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
21661 "bp-asm.h".
21662 (PARMS): Do not use macros from bp-asm.h.
21663 (STR): Likewise.
21664 (CHR): Likewise.
21665 (__strchrnul): Likewise. Do not use BP_SYM.
21666 (strchrnul): Do not use BP_SYM in weak_alias.
21667 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
21668 "bp-asm.h".
21669 (PARMS): Do not use macros from bp-asm.h.
21670 (STOP): Likewise.
21671 (strcspn): Do not use BP_SYM.
21672 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
21673 "bp-asm.h".
21674 (PARMS): Do not use macros from bp-asm.h.
21675 (STR): Likewise.
21676 (STOP): Likewise.
21677 (strpbrk): Likewise. Do not use BP_SYM.
21678 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
21679 "bp-asm.h".
21680 (PARMS): Do not use macros from bp-asm.h.
21681 (STR): Likewise.
21682 (CHR): Likewise.
21683 (strrchr): Likewise. Do not use BP_SYM.
21684 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
21685 (PARMS): Do not use macros from bp-asm.h.
21686 (SKIP): Likewise.
21687 (strspn): Do not use BP_SYM.
21688 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
21689 (PARMS): Do not use macros from bp-asm.h.
21690 (STR): Likewise.
21691 (DELIM): Likewise.
21692 (SAVE): Likewise.
21693 (FUNCTION): Likewise. Do not use BP_SYM.
21694 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
21695 aliases.
21696 (strtok_r): Likewise.
21697 (__GI___strtok_r): Likewise.
21698 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21699 (PARMS): Do not use macros from bp-asm.h.
21700 (S1): Likewise.
21701 (S2): Likewise.
21702 (SIZE): Likewise.
21703 (__mpn_sub_n): Do not use BP_SYM.
21704 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
21705 "bp-asm.h".
21706 (PARMS): Do not use macros from bp-asm.h.
21707 (S1): Likewise.
21708 (SIZE): Likewise.
21709 (__mpn_submul_1): Do not use BP_SYM.
21710 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
21711 <bp-sym.h>.
21712 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
21713 and <bp-asm.h>.
21714 (PARMS): Do not use macros from bp-asm.h.
21715 (FLAGS): Likewise.
21716 (PTID): Likewise.
21717 (TLS): Likewise.
21718 (CTID): Likewise.
21719 (__clone): Do not use BP_SYM.
21720 (clone): Do not use BP_SYM in weak_alias.
21721 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
21722 and <bp-asm.h>.
21723 (PARMS): Do not use macros from bp-asm.h.
21724 (LEN): Likewise.
21725 (__mmap64): Do not use BP_SYM.
21726 (mmap64): Do not use BP_SYM in weak_alias.
21727 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21728 <bp-sym.h> and <bp-asm.h>.
21729 (PARMS): Do not use macros from bp-asm.h.
21730 (__posix_fadvise64_l64): Do not use BP_SYM.
21731 * sysdeps/unix/sysv/linux/i386/semtimedop.S
21732 (PARMS): Do not use macros from bp-asm.h.
21733 (NSOPS): Likewise.
21734 (semtimedop): Do not use BP_SYM.
21735 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
21736 and <bp-asm.h>.
21737
582a3cff
AM
217382013-02-21 Allan McRae <allan@archlinux.org>
21739
21740 * manual/message.texi (Charset conversion in gettext):
21741 Move @end statement to beginning of line.
21742
bab8a695
SP
217432013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21744
80945231
SP
21745 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
21746 static.
21747 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21748 Likewise.
21749
bab8a695
SP
21750 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
21751 (denorm): Likewise.
21752 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
21753 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
21754
e21d7aa7
AK
217552013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21756
21757 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
21758 tail-call to the resolved function if pltexit isn't needed.
21759
4c7a4263
SP
217602013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21761
21762 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
21763 or Y being zero as being unlikely.
21764 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21765 Likewise.
21766
41f49342
CD
217672013-02-20 Carlos O'Donell <carlos@redhat.com>
21768
21769 * manual/nss.texi (System Databases and Name Service Switch):
21770 Remove frobnicate @pxref.
21771
50022a93
TS
217722013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21773
21774 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21775 __attribute__ ((unused)) to __attribute__ ((__unused__)).
21776
08cbd996
PM
217772013-02-20 Petr Machata <pmachata@redhat.com>
21778
21779 * elf/elf.h (R_ARM_TARGET1): New macro.
21780 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
21781 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
21782 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
21783 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
21784 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
21785 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
21786 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
21787 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
21788 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
21789 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
21790 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
21791 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
21792 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
21793 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
21794 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
21795 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
21796 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
21797 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
21798 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
21799 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
21800 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
21801 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
21802 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
21803 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
21804 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
21805 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
21806 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
21807 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
21808 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
21809 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
21810 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
21811 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
21812 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
21813 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
21814 (R_ARM_THM_GOT_BREL12): Likewise.
21815 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
21816 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
21817 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
21818 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
21819 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
21820 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
21821 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
21822 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
21823 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
21824
c7b275d6
TS
218252013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21826
21827 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21828 __attribute_used__ to __attribute__ ((unused)).
21829
20cd7fb3
SP
218302013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21831
21832 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
21833 powerpc mpa.c.
21834 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
21835 comment formatting.
21836 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
21837
92945b52
JM
218382013-02-19 Joseph Myers <joseph@codesourcery.com>
21839
21840 [BZ #13550]
21841 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
21842 Remove macro.
21843 (ENTER): Remove both macro definitions.
21844 (LEAVE): Likewise.
21845 (CHECK_BOUNDS_LOW): Likewise.
21846 (CHECK_BOUNDS_HIGH): Likewise.
21847 (CHECK_BOUNDS_BOTH): Likewise.
21848 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
21849 (RETURN_BOUNDED_POINTER): Likewise.
21850 (RETURN_NULL_BOUNDED_POINTER): Likewise.
21851 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
21852 (POP_ERRNO_LOCATION_RETURN): Likewise.
21853 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
21854 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21855 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
21856 macros.
21857 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21858 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
21859 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
21860 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
21861 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
21862 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
21863 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
21864 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
21865 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
21866 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
21867 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
21868 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
21869 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21870 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
21871 removed macros.
21872 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21873 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
21874 macros.
21875 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21876 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
21877 * sysdeps/i386/i586/memset.S (memset): Likewise.
21878 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
21879 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21880 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
21881 macros.
21882 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21883 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
21884 Change uses of L(2) to L(out).
21885 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
21886 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
21887 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
21888 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21889 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
21890 removed macros.
21891 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21892 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
21893 macros.
21894 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21895 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
21896 (RETURN): Do not use macro LEAVE.
21897 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
21898 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
21899 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
21900 * sysdeps/i386/i686/memset.S (memset): Likewise.
21901 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
21902 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
21903 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21904 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
21905 Likewise.
21906 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21907 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
21908 L(1_2) and L(1_3) into L(1).
21909 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21910 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
21911 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21912 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
21913 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21914 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
21915 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
21916 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21917 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
21918 macros.
21919 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
21920 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21921 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
21922 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
21923 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
21924 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21925 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
21926 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
21927 * sysdeps/i386/strcspn.S (strcspn): Likewise.
21928 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
21929 * sysdeps/i386/strrchr.S (strrchr): Likewise.
21930 * sysdeps/i386/strspn.S (strspn): Likewise.
21931 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
21932 conditional code.
21933 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21934 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
21935 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21936 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
21937 L(1_3) into L(1_1).
21938 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
21939 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21940 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
21941 macros.
21942 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21943
2389741a
JJ
219442013-02-19 Jakub Jelinek <jakub@redhat.com>
21945
21946 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
21947 macro.
21948
2016b3cd
SP
219492013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21950
e4f22324
SP
21951 * math/atest-exp.c (exp_mpn): Remove ROUND.
21952 * math/atest-exp2.c (exp_mpn): Likewise.
21953 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
21954
2016b3cd
SP
21955 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
21956 * stdlib/tst-tls-atexit-lib.c: Likewise.
21957 * stdlib/tst-tls-atexit.c: Likewise.
21958
4be9b544
MF
219592013-02-18 Mike Frysinger <vapier@gentoo.org>
21960
21961 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
21962 and __attribute_alloc_size__.
21963
2f62b9ee
MF
219642013-02-18 Mike Frysinger <vapier@gentoo.org>
21965
21966 * include/programs/xmalloc.h: Change __attribute_alloc_size to
21967 __attribute_alloc_size__.
21968 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
21969 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
21970
6ff444c4
MF
219712013-02-18 Mike Frysinger <vapier@gentoo.org>
21972
21973 * include/programs/xmalloc.h: New file.
21974 * catgets/gencat.c: Include it.
21975 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
21976 * elf/pldd.c: Likewise.
21977 * iconv/iconv_charmap.c: Likewise.
21978 * iconv/iconvconfig.c: Likewise.
21979 * iconv/strtab.c: Likewise.
21980 * locale/programs/locale.c: Likewise.
21981 * locale/programs/localedef.h: Likewise.
21982 * locale/programs/simple-hash.c: Likewise.
21983 * nscd/nscd.h: Likewise.
21984 * nss/makedb.c: Likewise.
21985 * sysdeps/generic/ldconfig.h: Likewise.
21986
be179c8a
SP
219872013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21988
ba384f6e
SP
21989 * Versions.def: Add GLIBC_2.18.
21990 * include/link.h (struct link_map): New member l_tls_dtor_count.
21991 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
21992 (__call_tls_dtors): Likewise.
21993 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
21994 __cxa_thread_atexit_impl.
21995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21996 Likewise.
21997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21998 Likewise.
21999 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22000 Likewise.
22001 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22002 Likewise.
22003 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22004 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
22005 Likewise.
22006 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
22007 Likewise.
22008 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22009 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22010 Likewise.
22011 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
22012 (tests): Add test case tst-tls-atexit.
22013 (modules-names): Add shared library for tst-tls-atexit.
85891aca 22014 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
22015 (GLIBC_PRIVATE): Add __call_tls_dtors.
22016 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
22017 for libstdc++.
22018 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
22019 * stdlib/tst-tls-atexit.c: New test case.
22020 * stdlib/tst-tls-atexit-lib.c: New test case.
22021
ffaa74cf 22022 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 22023
be179c8a
SP
22024 * elf/Versions (ld): Add _dl_find_dso_for_object.
22025 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
22026 * elf/dl-open.c (_dl_find_dso_for_object): New function.
22027 (dl_open_worker): Use _dl_find_dso_for_object.
22028 * elf/dl-sym.c (do_sym): Likewise.
22029 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
22030
f78b5caa
AK
220312013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22032
22033 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
22034 Syntactic changes only.
22035 (_dl_runtime_profile): Do a tail-call to the resolved function.
22036
29691210
JM
220372013-02-17 Joseph Myers <joseph@codesourcery.com>
22038
22039 [BZ #13550]
22040 * sysdeps/x86_64/bp-asm.h: Remove file.
22041 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
22042 <bp-sym.h> and <bp-asm.h>.
22043 (__clone): Do not use BP_SYM.
22044 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
22045 <bp-sym.h> and <bp-asm.h>.
22046 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22047 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
22048 "bp-asm.h".
22049 (_setjmp): Do not use BP_SYM.
22050 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
22051 "bp-asm.h".
22052 (setjmp): Do not use BP_SYM.
22053 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
22054 libc_hidden_def.
22055 (mempcpy): Do not use BP_SYM in weak_alias.
22056 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
22057 "bp-asm.h".
22058 (strchr): Do not use BP_SYM.
22059 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
22060 "bp-asm.h".
22061 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
22062 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
22063 (_start): Do not use BP_SYM.
22064 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
22065 "bp-asm.h".
22066 (strcat): Do not use BP_SYM.
22067 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
22068 "bp-asm.h".
22069 (STRCMP): Do not use BP_SYM.
22070 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
22071 "bp-asm.h".
22072 (STRCPY): Do not use BP_SYM.
22073 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
22074 "bp-asm.h".
22075 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
22076 "bp-asm.h".
22077 (FUNCTION): Do not use BP_SYM.
22078 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
22079 weak_alias.
22080 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
22081
f238fd19
AJ
220822013-02-17 Andreas Jaeger <aj@suse.de>
22083
22084 * time/Versions: Sort entries.
22085 * string/Versions: Likewise.
22086 * resolv/Versions: Likewise.
22087 * posix/Versions: Likewise.
22088 * iconv/Versions: Likewise.
22089 * elf/Versions: Likewise.
22090 * wcsmbs/Versions: Likewise.
22091
bd07f23c 220922013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 22093
22af19f9
SP
22094 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
22095 loop termination condition.
22096
4709fe76
SP
22097 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
22098 variable to calculate EZ.
22099 (__sqr): Likewise.
2d0e0f29
SP
22100
22101 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
22102 the lower precision input.
22103
daaa7713
JM
221042013-02-15 Joseph Myers <joseph@codesourcery.com>
22105
22106 [BZ #13550]
22107 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
22108 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
22109 (run-via-rtld-prefix): Do not handle %-bp tests.
22110 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
22111 (all-object-suffixes): Remove .ob.
22112 (bppfx): Remove variable.
22113 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
22114 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
22115 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
22116 [$(build-bounded) = yes] (libtype.ob): Likewise.
22117 * Makerules (elide-routines.ob): Remove variable.
22118 (do-tests-clean): Do not handle *-bp.out.
22119 (common-mostlyclean): Do not handle *-bp and *-bp.out.
22120 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
22121 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
22122 (tests): Do not include $(tests-bp.out).
22123 (xtests): Do not include $(xtests-bp.out).
22124 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
22125 [$(build-bounded) = yes] ($(addprefix
22126 $(objpfx),$(binaries-bounded))): Remove rule.
22127 ($(objpfx)%-bp.out): Remove rule.
22128 * config.make.in (build-bounded): Remove variable.
22129 * crypt/Makefile [$(build-bounded) = yes]
22130 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
22131 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
22132 append to variable.
22133 [$(build-bounded) = yes] (install-lib): Likewise.
22134 [$(build-bounded) = yes] (generated): Likewise.
22135 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
22136 Remove rule.
22137 * intl/Makefile [$(build-bounded) = yes]
22138 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
22139 * math/Makefile [$(build-bounded) = yes]
22140 ($(tests:%=$(objpfx)%-bp): Likewise.
22141 * misc/Makefile [$(build-bounded) = yes]
22142 ($(objpfx)tst-tsearch-bp): Likewise.
22143 * nptl/Makeconfig (bounded-thread-library): Remove variable.
22144 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
22145 Remove dependency.
22146 * string/Makefile (o-objects.ob): Remove variable.
22147 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
22148 (CFLAGS-.ob): Remove variable.
22149 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
22150 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
22151 both definitions of variable.
22152 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
22153 (ASFLAGS-.ob): Remove variable.
22154
e97ed6dd
JM
221552013-02-14 Joseph Myers <joseph@codesourcery.com>
22156
2bdd4ca6
JM
22157 [BZ #13550]
22158 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
22159 Remove __BOUNDED_POINTERS__ from condition.
22160 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
22161 * string/bits/string2.h [!__NO_STRING_INLINES &&
22162 !__BOUNDED_POINTERS__]: Likewise.
22163 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
22164 Likewise.
22165 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
22166 Remove conditional code.
22167 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
22168 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
22169 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
22170 condition.
22171
e97ed6dd
JM
22172 [BZ #13550]
22173 * csu/libc-start.c: Do not include <bp-sym.h>.
22174 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
22175 * elf/dl-open.c: Do not include <bp-sym.h>.
22176 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
22177 * math/fegetenv.c: Do not include <bp-sym.h>.
22178 (fegetenv): Do not use BP_SYM in versioned symbols.
22179 * nptl/sysdeps/pthread/bits/libc-lockP.h
22180 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
22181 <bp-sym.h>.
22182 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22183 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
22184 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22185 (__pthread_mutex_destroy): Likewise.
22186 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22187 (__pthread_mutex_lock): Likewise.
22188 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22189 (__pthread_mutex_trylock): Likewise.
22190 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22191 (__pthread_mutex_unlock): Likewise.
22192 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22193 (__pthread_mutexattr_init): Likewise.
22194 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22195 (__pthread_mutexattr_destroy): Likewise.
22196 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22197 (__pthread_mutexattr_settype): Likewise.
22198 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22199 (__pthread_rwlock_init): Likewise.
22200 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22201 (__pthread_rwlock_destroy): Likewise.
22202 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22203 (__pthread_rwlock_rdlock): Likewise.
22204 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22205 (__pthread_rwlock_tryrdlock): Likewise.
22206 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22207 (__pthread_rwlock_wrlock): Likewise.
22208 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22209 (__pthread_rwlock_trywrlock): Likewise.
22210 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22211 (__pthread_rwlock_unlock): Likewise.
22212 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22213 (__pthread_key_create): Likewise.
22214 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22215 (__pthread_setspecific): Likewise.
22216 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22217 (__pthread_getspecific): Likewise.
22218 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
22219 Likewise.
22220 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22221 (_pthread_cleanup_push_defer): Likewise.
22222 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22223 (_pthread_cleanup_pop_restore): Likewise.
22224 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22225 (pthread_setcancelstate): Likewise.
22226 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
22227 <bp-sym.h>.
22228 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
22229 (memchr): Do not use BP_SYM in weak_alias.
22230 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
22231 (fegetenv): Do not use BP_SYM in versioned symbols.
22232 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
22233 (fesetenv): Do not use BP_SYM in versioned symbols.
22234 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22235 (feupdateenv): Do not use BP_SYM in versioned symbols.
22236 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22237 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22238 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
22239 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
22240 (open64): Do not use BP_SYM in weak_alias.
22241 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
22242 (fegetenv): Do not use BP_SYM in versioned symbols.
22243 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
22244 (fesetenv): Do not use BP_SYM in versioned symbols.
22245 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22246 (feupdateenv): Do not use BP_SYM in versioned symbols.
22247 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
22248 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
22249 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
22250 (feraiseexcept): Do not use BP_SYM in versioned symbols.
22251 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22252 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22253 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
22254 <bp-sym.h>.
22255 (__libc_start_main): Do not use BP_SYM.
22256
d6752ccd
SP
222572013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22258
cb57ce60
SP
22259 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
22260 redundant return line.
22261 (norm): Likewise.
22262 (denorm): Likewise.
22263 (dbl_mp): Likewise.
22264 (sub_magnitudes): Likewise.
22265 (__add): Likewise.
22266 (__sub): Likewise.
22267 (__mul): Likewise.
22268 (__inv): Likewise.
22269 (__dvd): Likewise.
22270 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
22271 (norm): Likewise.
22272 (denorm): Likewise.
22273 (dbl_mp): Likewise.
22274 (sub_magnitudes): Likewise.
22275 (__add): Likewise.
22276 (__sub): Likewise.
22277 (__mul): Likewise.
22278 (__inv): Likewise.
22279 (__dvd): Likewise.
22280
f414520d
SP
22281 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
22282 instead of __mul.
22283 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22284 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
22285 (cc32): Likewise.
22286
d6752ccd
SP
22287 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
22288 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
22289 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
22290 of __mul for squares.
22291 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
22292 function
22293 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
22294 Likewise.
22295 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
22296 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22297
70d9946a
JM
222982013-02-13 Joseph Myers <joseph@codesourcery.com>
22299
22300 [BZ #13550]
22301 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
22302 code.
22303 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
22304 prototype or function definition. Rename ubp_* variables and
22305 parameters. Remove argv definitions conditional on
22306 [__BOUNDED_POINTERS__].
22307 * debug/backtrace.c (__backtrace): Do not use __unbounded.
22308 * elf/dl-runtime.c (_dl_fixup): Likewise.
22309 * include/set-hooks.h (RUN_HOOK): Likewise.
22310 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
22311 definition.
22312 * string/strcpy.c (strcpy): Do not use __unbounded.
22313 * sysdeps/generic/frame.h (struct layout): Likewise.
22314 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
22315 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
22316 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
22317 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
22318 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
22319 (__backtrace): Likewise.
22320 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
22321 use __ptrvalue.
22322 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
22323 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22324 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
22325 Likewise.
22326 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
22327 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
22328 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22329 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22330 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
22331 Do not use __unbounded.
22332 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
22333 Rename __unboundedrlimits parameter to rlimits in prototype.
22334 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
22335 Do not use __unbounded.
22336 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
22337 not use __ptrvalue.
22338 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22339 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
22340 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22341 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
22342 __ptrvalue or __unbounded.
22343 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
22344 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
22345 use __unbounded.
22346 (__new_msgctl): Do not use __ptrvalue.
22347 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
22348 __unbounded.
22349 (__libc_msgrcv): Do not use __ptrvalue.
22350 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
22351 startup_info): Do not use __unbounded.
22352 (__libc_start_main): Likewise. Rename ubp_* variables and
22353 parameters. Remove argv definitions conditional on
22354 [__BOUNDED_POINTERS__].
22355 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
22356 __ptrvalue.
22357 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
22358 use __unbounded.
22359 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
22360 or __ptrvalue.
22361 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
22362 use __unbounded.
22363 (__new_shmctl): Do not use __ptrvalue.
22364 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
22365 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
22366 Likewise.
22367 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
22368 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
22369 (__libc_sigaction): Likewise.
22370 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
22371 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
22372 Likewise.
22373 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22374
cc7834d6
OB
223752013-02-13 Ondřej Bílka <neleai@seznam.cz>
22376
ffb1ec7b 22377 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
22378
22379 * string/mempcpy.c: Implement by calling memcpy.
22380
bdf02814
SP
223812013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22382
c2af38aa
SP
22383 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
22384
4e92d59e
SP
22385 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
22386 evaluation.
22387
909279a5
SP
22388 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
22389 values in the mantissa.
22390
bdf02814
SP
22391 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
22392 minimize writes to Z.
22393 (sub_magnitudes): Simplify code a bit.
22394
cd525923
RM
223952013-02-12 Roland McGrath <roland@hack.frob.com>
22396
22397 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
22398 from the message. The linker prefixes all warnings with that already.
22399
7e2f0d2d
AS
224002013-02-12 Andreas Schwab <schwab@suse.de>
22401
a445af0b
AS
22402 [BZ #15078]
22403 * posix/regexec.c (extend_buffers): Add parameter min_len.
22404 (check_matching): Pass minimum needed length.
22405 (clean_state_log_if_needed): Likewise.
22406 (get_subexp): Likewise.
22407 * posix/Makefile (tests): Add bug-regex34.
22408 (bug-regex34-ENV): Define.
22409 * posix/bug-regex34.c: New file.
22410
7e2f0d2d
AS
22411 [BZ #11561]
22412 * posix/regcomp.c (parse_bracket_exp): When looking up collating
22413 elements compare against the byte sequence of it, not its name.
22414 * posix/Makefile (tests): Add bug-regex35.
22415 (bug-regex35-ENV): Define.
22416 * posix/bug-regex35.c: New file.
22417
a175b684
TV
224182013-02-11 Tom de Vries <tom@codesourcery.com>
22419
22420 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
22421 comment.
22422 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
22423 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
22424 (CHECK_EOL): Add undef.
22425
310998fe 224262013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
22427
22428 * bits/stdlib-bsearch.h: New file.
22429 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 22430 * stdlib/stdlib.h: Likewise.
41eda41d 22431
8ded91fb
RM
224322013-02-11 Roland McGrath <roland@hack.frob.com>
22433
22434 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
22435 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
22436 declaration.
22437 * manual/search.texi (Array Search Function): Add missing const in
22438 lfind prototype.
22439 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
22440 declaration to use rlim_t.
22441 (Basic Scheduling Functions): Remove erroneous const from
22442 sched_getparam prototype. Remove erroneous * from
22443 sched_get_priority_max and sched_get_priority_min prototypes.
22444 (Resource Usage): Fix summary @comment on vtimes to refer to
22445 sys/vtimes.h rather than vtimes.h.
22446 Add missing *s in vtimes prototype.
22447 (Limits on Resources): Fix ulimit prototype to return long int.
22448 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
22449 prototypes to use long int rather than double.
22450 (BSD Random): Fix initstate and setstate to use char *, not void *.
22451 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
22452 prototype to make second argument 'struct aiocb64 *const[]'.
22453 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
22454 (Status of AIO Operations): Remove erroneous const in aio_return and
22455 aio_return64 prototypes.
22456 (Synchronizing I/O): Fix sync prototype to return void.
22457 * manual/startup.texi (Suboptions): Remove an erroneous const in
22458 getsubopt prototype.
22459 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
22460 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
22461 use size_t rather than int.
22462 (Scanning All Users): Likewise for getpwent_r.
22463 (Setting Groups): Add missing const to setgroups prototype.
22464 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
22465 * manual/socket.texi (Host Names): Fix gethostbyaddr and
22466 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
22467 'const void *' rather than 'const char *'.
22468 (Host Address Functions): Likewise for inet_ntop.
22469 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
22470 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
22471 ssize_t for return value.
22472 (Sending Data): Likewise for send, sendto, sendmsg.
22473 (Socket Option Functions): Add a missing const in setsockopt prototype.
22474 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
22475 use wchar_t for the argument.
22476 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
22477 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
22478 take no arguments.
22479 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
22480 double/float/long double for second argument.
22481 Fix return types of significand, significandf, significandl.
22482 * manual/filesys.texi (Setting Permissions): Use mode_t for second
22483 argument in fchmod prototype.
22484 (File Owner): Use uid_t and gid_t in fchown prototype.
22485 (File Times): Add const to utimes, futimes, and lutimes prototypes.
22486 (Making Special Files): Use mode_t and dev_t in mknod prototype.
22487 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
22488 use 'const struct dirent **' as argument types to CMP function pointer
22489 argument.
22490 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
22491 (File Times): Fix summary magic @comment for struct utimbuf and utime
22492 to refer to utime.h, not time.h.
22493 * manual/string.texi (Argz Functions): Add missing const in
22494 argz_extract and argz_next prototypes.
22495 (Finding Tokens in a String): Likewise for basename.
22496 (String/Array Comparison): Fix typo in wcscasecmp prototype.
22497 (Copying and Concatenation): Fix typo in wmemmove prototype.
22498 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
22499 (Signal Stack): Remove erroneous const in sigstack prototype.
22500 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
22501 prototype.
22502 (Simple Calendar Time): Likewise for stime.
22503 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
22504 prototype.
22505 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
22506 say sys/sysctl.h instead.
22507 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
22508 and vsyslog prototypes.
22509
fe77fe6d
TV
225102013-02-11 Tom de Vries <tom@codesourcery.com>
22511
22512 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
22513 Remove.
22514
3a09b620
RM
225152013-02-11 Roland McGrath <roland@hack.frob.com>
22516
22517 * misc/sys/mman.h: Fix typo in mremap comment.
22518
550a0b89
RM
225192013-02-08 Roland McGrath <roland@hack.frob.com>
22520
22521 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
22522 the '\0' terminator.
22523
a2da1673
JM
225242013-02-08 Joseph Myers <joseph@codesourcery.com>
22525
22526 [BZ #13550]
22527 * debug/segfault.c: Don't include <bp-checks.h>.
22528 * sysdeps/generic/bp-checks.h: Remove file.
22529 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
22530 (__GETDENTS): Don't use CHECK_N.
22531 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
22532 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
22533 (__getgroups): Don't use CHECK_N.
22534 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
22535 (setgroups): Don't use CHECK_N.
22536 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
22537 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
22538 (__libc_msgrcv): Don't use CHECK_N.
22539 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
22540 (__libc_msgsnd): Don't use CHECK_N.
22541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
22542 <bp-checks.h>.
22543 (__libc_pread): Don't use CHECK_N.
22544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
22545 include <bp-checks.h>.
22546 (__libc_pread64): Don't use CHECK_N.
22547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
22548 include <bp-checks.h>.
22549 (__libc_pwrite): Don't use CHECK_N.
22550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
22551 include <bp-checks.h>.
22552 (__libc_pwrite64): Don't use CHECK_N.
22553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
22554 <bp-checks.h>.
22555 (__libc_pread): Don't use CHECK_N.
22556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
22557 include <bp-checks.h>.
22558 (__libc_pread64): Don't use CHECK_N.
22559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
22560 include <bp-checks.h>.
22561 (__libc_pwrite): Don't use CHECK_N.
22562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
22563 include <bp-checks.h>.
22564 (__libc_pwrite64): Don't use CHECK_N.
22565 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
22566 (do_pread): Don't use CHECK_N.
22567 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
22568 (do_pread64): Don't use CHECK_N.
22569 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
22570 (do_pwrite): Don't use CHECK_N.
22571 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
22572 (do_pwrite64): Don't use CHECK_N.
22573 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
22574 (__libc_readv): Don't use CHECK_N.
22575 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
22576 (semop): Don't use CHECK_N.
22577 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
22578 <bp-checks.h>.
22579 (semtimedop): Don't use CHECK_N.
22580 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
22581 (__libc_pread): Don't use CHECK_N.
22582 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
22583 <bp-checks.h>.
22584 (__libc_pread64): Don't use CHECK_N.
22585 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
22586 <bp-checks.h>.
22587 (__libc_pwrite): Don't use CHECK_N.
22588 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
22589 <bp-checks.h>.
22590 (__libc_pwrite64): Don't use CHECK_N.
22591 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
22592 <bp-checks.h>.
22593 (__libc_msgrcv): Don't use CHECK_N.
22594 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
22595 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
22596 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
22597 (__libc_writev): Don't use CHECK_N.
22598
b84660a8
RM
225992013-02-08 Roland McGrath <roland@hack.frob.com>
22600
7f3e75f8
RM
22601 * string/strcpy.c: Removed unused variable.
22602
b84660a8
RM
22603 * Makeconfig (+sysdep-includes): Define with := rather than =.
22604 Use an existing include/ subdir of each sysdeps dir before it.
22605
471514d3
CD
226062013-02-08 Carlos O'Donell <carlos@redhat.com>
22607
22608 * nscd/connection.c (register_traced_file): Comment function.
22609 [HAVE_INOTIFY] (union __inev): Define.
22610 [HAVE_INOTIFY] (inotify_check_files): New function.
22611 [HAVE_INOTIFY] (clear_db_cache): Likewise.
22612 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
22613 clear_db_cache.
22614 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
22615
b2d3c3be
CD
226162013-02-08 Carlos O'Donell <carlos@redhat.com>
22617
22618 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
22619 loaded if not already and that a failure is permanent.
22620
b39949d2
CD
226212013-02-08 Carlos O'Donell <carlos@redhat.com>
22622
ddacd1db 22623 [BZ #15006]
b39949d2
CD
22624 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
22625 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
22626
b2c9eff4
JM
226272013-02-08 Joseph Myers <joseph@codesourcery.com>
22628
f3aae3f3
JM
22629 [BZ #13550]
22630 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
22631 (CHECK_1_NULL_OK): Likewise.
22632 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
22633 (__fxstat): Do not use CHECK_1.
22634 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
22635 <bp-checks.h>.
22636 (___fxstat64): Do not use CHECK_1.
22637 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
22638 <bp-checks.h>.
22639 (__fxstatat): Do not use CHECK_1.
22640 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
22641 <bp-checks.h>.
22642 (__fxstatat64): Do not use CHECK_1.
22643 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
22644 <bp-checks.h>.
22645 (__fxstat): Do not use CHECK_1.
22646 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
22647 <bp-checks.h>.
22648 (__fxstatat): Do not use CHECK_1.
22649 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22650 <bp-checks.h>.
22651 (__getresgid): Do not use CHECK_1.
22652 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22653 <bp-checks.h>.
22654 (__getresuid): Do not use CHECK_1.
22655 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
22656 <bp-checks.h>.
22657 (__lxstat): Do not use CHECK_1.
22658 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22659 <bp-checks.h>.
22660 (__old_msgctl): Do not use CHECK_1.
22661 (__new_msgctl): Likewise.
22662 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
22663 <bp-checks.h>.
22664 (__new_setrlimit): Do not use CHECK_1.
22665 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22666 <bp-checks.h>.
22667 (__old_shmctl): Do not use CHECK_1.
22668 (__new_shmctl): Likewise.
22669 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
22670 <bp-checks.h>.
22671 (__xstat): Do not use CHECK_1.
22672 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
22673 (__lxstat): Do not use CHECK_1.
22674 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
22675 <bp-checks.h>.
22676 (___lxstat64): Do not use CHECK_1.
22677 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
22678 (__old_msgctl): Do not use CHECK_1.
22679 (__new_msgctl): Likewise.
22680 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
22681 <bp-checks.h>.
22682 (__gettimeofday): Do not use CHECK_1.
22683 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
22684 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
22685 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
22686 <bp-checks.h>.
22687 (__gettimeofday): Do not use CHECK_1.
22688 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
22689 (__old_shmctl): Do not use CHECK_1_NULL_OK.
22690 (__new_shmctl): Do not use CHECK_1.
22691 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
22692 <bp-checks.h>.
22693 (do_sigtimedwait): Do not use CHECK_1.
22694 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
22695 <bp-checks.h>.
22696 (do_sigwaitinfo): Do not use CHECK_1.
22697 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
22698 <bp-checks.h>.
22699 (msgctl): Do not use CHECK_1.
22700 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
22701 <bp-checks.h>.
22702 (shmctl): Do not use CHECK_1.
22703 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
22704 (ustat): Do not use CHECK_1.
22705 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
22706 <bp-checks.h>.
22707 (__fxstat): Do not use CHECK_1.
22708 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
22709 <bp-checks.h>.
22710 (__fxstatat): Do not use CHECK_1.
22711 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
22712 <bp-checks.h>.
22713 (__lxstat): Do not use CHECK_1.
22714 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
22715 <bp-checks.h>.
22716 (__xstat): Do not use CHECK_1.
22717 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
22718 (__xstat): Do not use CHECK_1.
22719 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
22720 (___xstat64): Do not use CHECK_1.
22721
b2c9eff4
JM
22722 [BZ #13550]
22723 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
22724 definitions.
22725 (CHECK_BOUNDS_HIGH): Likewise.
22726 * string/strcpy.c: Do not include <bp-checks.h>.
22727 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
22728
f1d70dad
RM
227292013-02-07 Roland McGrath <roland@hack.frob.com>
22730
22731 * nscd/nscd-client.h (__nscd_drop_map_ref):
22732 Add __attribute__ ((unused)).
22733 * nis/nss-nisplus.h (niserr2nss): Likewise.
22734
22735 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
22736 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
22737
22738 * csu/libc-tls.c (init_static_tls, init_slotinfo):
22739 Remove inline keyword.
22740 * include/rounding-mode.h (round_away): Likewise.
22741 * libio/wfileops.c (adjust_wide_data): Likewise.
22742 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
22743 (__m128i_strloadu_tolower): Likewise.
22744 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
22745 (__m128i_strloadu_tolower): Likewise.
22746 * time/mktime.c (ydhms_diff): Likewise.
22747 * locale/elem-hash.h (elem_hash): Likewise.
22748 * locale/setlocale.c (setdata): Likewise.
22749 * posix/regex_internal.h (re_string_char_size_at): Likewise.
22750 (re_string_wchar_at): Likewise.
22751 (bitset_not, bitset_merge, bitset_mask): Likewise.
22752 [!(__GNUC__ > 3)] (inline): Remove macro.
22753 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
22754 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
22755 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
22756 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
22757 * string/memcmp.c (memcmp_bytes): Likewise.
22758 * locale/programs/locarchive.c (compute_hashval): Likewise.
22759 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
22760 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
22761 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
22762 * nss/getent.c (print_rpc, print_protocols): Likewise.
22763 (print_passwd, print_group, print_aliases): Likewise.
22764 * nis/nss-nisplus.h (niserr2nss): Likewise.
22765 * nscd/connections.c (restart_p): Likewise.
22766 Change return type to bool.
22767
eab55bfb
RM
227682013-02-05 Roland McGrath <roland@hack.frob.com>
22769
7bd642f5
RM
22770 * Makeconfig (all-Depend-files): Add existing
22771 $(sorted-subdirs:=/Depend) files.
22772 (all-subdirs): Remove nss.
22773 * sysdeps/unix/inet/Subdirs: Add it here instead.
22774 * hesiod/Depend: New file.
22775
573c29b2
RM
22776 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
22777 instead of calling alloca.
22778
b2e25af0
RM
22779 * io/lseek.c (__lseek): Rename to __libc_lseek.
22780 Define __lseek as an alias.
22781
eab55bfb
RM
22782 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
22783
9a0d1941
CD
227842013-02-04 Carlos O'Donell <carlos@redhat.com>
22785
22786 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
22787 else clause and remove check for non-standard endianness.
22788
b83bbec4
DM
227892013-02-04 David S. Miller <davem@davemloft.net>
22790
22791 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22792
6277fdab
JM
227932013-02-04 Joseph Myers <joseph@codesourcery.com>
22794
22795 [BZ #13550]
22796 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
22797 (__ubp_memchr): Remove prototype.
22798 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
22799 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22800 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
22801 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22802 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
22803 Remove alias.
22804 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
22805 (__ubp_memchr): Likewise.
22806 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
22807 (__ubp_memchr): Likewise.
22808 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
22809 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
22810 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
22811 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
22812 CHECK_STRING.
22813 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22814 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
22815 (__getcwd): Do not use CHECK_STRING.
22816 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22817 <bp-checks.h>.
22818 (__real_chown): Do not use CHECK_STRING.
22819 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
22820 <bp-checks.h>.
22821 (fchownat): Do not use CHECK_STRING.
22822 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
22823 CHECK_STRING.
22824 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22825 <bp-checks.h>.
22826 (__lchown): Do not use CHECK_STRING.
22827 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22828 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22829 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22830 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22832 include <bp-checks.h>.
22833 (truncate64): Do not use CHECK_STRING.
22834 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22835 <bp-checks.h>.
22836 (__real_chown): Do not use CHECK_STRING.
22837 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22838 <bp-checks.h>.
22839 (__lchown): Do not use CHECK_STRING.
22840 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22841 <bp-checks.h>.
22842 (__chown): Do not use CHECK_STRING.
22843 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
22844 <bp-checks.h>.
22845 (truncate64): Do not use CHECK_STRING.
22846 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
22847 Likewise.
22848 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
22849 (__xmknod): Do not use CHECK_STRING.
22850 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
22851 <bp-checks.h>.
22852 (__xmknodat): Do not use CHECK_STRING.
22853 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22854 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
22855
903ae060
AS
228562013-02-04 Andreas Schwab <schwab@suse.de>
22857
22858 [BZ #14142]
22859 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
22860 * include/netdb.h: Likewise for h_errno.
22861 * elf/tst-stackguard1.c: Include <tls.h>.
22862
542f9466
JK
228632013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
22864
22865 * elf/link.h (struct link_map): Extend the l_addr comment.
22866 * include/link.h (struct link_map): Likewise.
22867
e782a927
JM
228682013-02-01 Joseph Myers <joseph@codesourcery.com>
22869
22870 [BZ #13550]
22871 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
22872 (BOUNDED_1): Remove macro.
22873 * debug/backtrace.c: Don't include <bp-checks.h>.
22874 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
22875 (__backtrace): Likewise.
22876 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
22877 <bp-checks.h>.
22878 (__backtrace): Don't use BOUNDED_1.
22879 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
22880 <bp-checks.h>.
22881 (__backtrace): Don't use BOUNDED_1.
22882 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
22883 (__backtrace): Don't use BOUNDED_1.
22884 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
22885 (shmat): Don't use BOUNDED_N.
22886
8cf28c5e
JM
228872013-01-31 Joseph Myers <joseph@codesourcery.com>
22888
3a7ac8a0
JM
22889 [BZ #13550]
22890 * sysdeps/generic/bp-start.h: Remove file.
22891 * csu/libc-start.c: Don't include <bp-start.h>.
22892 (LIBC_START_MAIN): Set up __environ directly instead of using
22893 INIT_ARGV_and_ENVIRON.
22894 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
22895 <bp-start.h>.
22896
f3499f95
JM
22897 [BZ #13550]
22898 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
22899 definitions.
22900 (CHECK_FCNTL): Likewise.
22901 (CHECK_N_PAGES): Likewise.
22902
32a45bea
JM
22903 [BZ #13550]
22904 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
22905 definitions.
22906 (CHECK_SIGSET_NULL_OK): Likewise.
22907 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
22908 <bp-checks.h>.
22909 (sigpending): Don't use CHECK_SIGSET.
22910 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
22911 <bp-checks.h>.
22912 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22913 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
22914 <bp-checks.h>.
22915 (do_sigsuspend): Don't use CHECK_SIGSET.
22916 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
22917 use CHECK_SIGSET.
22918 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
22919 (do_sigwait): Don't use CHECK_SIGSET.
22920 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
22921 use CHECK_SIGSET.
22922 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
22923 include <bp-checks.h>.
22924 (sigpending): Don't use CHECK_SIGSET.
22925 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
22926 include <bp-checks.h>.
22927 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22928 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
22929 <bp-checks.h>.
22930 (sigpending): Don't use CHECK_SIGSET.
22931 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
22932 <bp-checks.h>.
22933 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22934
2e8a5c8c
JM
22935 [BZ #13550]
22936 * sysdeps/generic/bp-semctl.h: Remove file.
22937 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
22938 <bp-checks.h> and <bp-semctl.h>.
22939 (__old_semctl): Don't use CHECK_SEMCTL.
22940 (__new_semctl): Likewise.
22941 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
22942 and <bp-semctl.h>.
22943 (__old_semctl): Don't use CHECK_SEMCTL.
22944 (__new_semctl): Likewise.
22945 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
22946 <bp-checks.h> and <bp-semctl.h>.
22947 (__old_semctl): Don't use CHECK_SEMCTL.
22948 (__new_semctl): Likewise.
22949 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
22950 <bp-checks.h> and <bp-semctl.h>.
22951 (semctl): Don't use CHECK_SEMCTL.
22952
c2d54929
JM
22953 [BZ #13550]
22954 * Makerules (elide-bp-thunks): Remove variable.
22955 (elide-routines.oS): Don't use $(elide-bp-thunks).
22956 (elide-routines.os): Likewise.
22957 (elide-routines.o): Likewise.
22958 (elide-routines.op): Likewise.
22959 (elide-routines.og): Likewise.
22960 (objects): Don't use $(bp-thunks).
22961 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
22962 include.
22963 (common-generated): Do not add s-proto-bp.d.
22964 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
22965 (int): Likewise.
22966 (typ): Likewise.
22967 Do not generate makefile rules for bounded-pointer thunks.
22968 * sysdeps/generic/bp-thunks.h: Remove file.
22969 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
22970 * sysdeps/unix/s-proto-bp.S: Likewise.
22971
8cf28c5e
JM
22972 [BZ #15062]
22973 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
22974 parts of result separately when argument is not close to line from
22975 -i to i and one part of argument is small.
22976 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22977 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22978 * math/libm-test.inc (cacos_test): Add more tests.
22979 (casin_test): Likewise.
22980 (casinh_test): Likewise.
22981 * sysdeps/i386/fpu/libm-test-ulps: Update.
22982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22983
c4e33b8d
DM
229842013-01-31 David S. Miller <davem@davemloft.net>
22985
22986 * po/de.po: Update from translation team.
22987
3b60b421
MK
229882013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
22989
22990 * time/tzfile.c: Include stdint.h for SIZE_MAX.
22991
bb931195
TS
229922013-01-25 Thomas Schwinge <thomas@codesourcery.com>
22993
b5a5da23
TS
22994 * configure.in (_AC_PROG_CC_C89): New definition.
22995 * configure: Regenerate.
22996
bb931195
TS
22997 * configure.in (AC_PROG_CPP): New definition.
22998 * configure: Regenerate.
22999
8c53a12c
JM
230002013-01-23 Joseph Myers <joseph@codesourcery.com>
23001
23002 * debug/tst-backtrace.h: New file.
23003 * debug/tst-backtrace2.c: Include tst-backtrace.h.
23004 (ret): Remove variable.
23005 (x): Likewise.
23006 (FAIL): Remove macro.
23007 (NO_INLINE): Likewise.
23008 (fn1): Use match function instead of strstr.
23009 * debug/tst-backtrace3.c: Include tst-backtrace.h.
23010 (ret): Remove variable.
23011 (x): Likewise.
23012 (FAIL): Remove macro.
23013 (NO_INLINE): Likewise.
23014 (fn): Use match function instead of strstr.
23015 * debug/tst-backtrace4.c: Include tst-backtrace.h.
23016 (ret): Remove variable.
23017 (x): Likewise.
23018 (FAIL): Remove macro.
23019 (NO_INLINE): Likewise.
23020 (handle_signal): Use match function instead of strstr.
23021 * debug/tst-backtrace5.c: Include tst-backtrace.h.
23022 (ret): Remove variable.
23023 (x): Likewise.
23024 (FAIL): Remove macro.
23025 (NO_INLINE): Likewise.
23026 (handle_signal): Use match function instead of strstr.
23027
4858fa2a
RM
230282013-01-23 Roland McGrath <roland@hack.frob.com>
23029
23030 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
23031
bae8e7f5
DM
230322013-01-23 David S. Miller <davem@davemloft.net>
23033
23034 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
23035 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
23036 argument of CAS if possible.
23037 * sysdeps/sparc/sparc64/bits/atomic.h
23038 (__arch_compare_and_exchange_val_32_acq): Likewise.
23039 (__arch_compare_and_exchange_val_64_acq): Likewise.
23040
9cbbc4ae
PT
230412013-01-23 Pino Toscano <toscano.pino@tiscali.it>
23042
23043 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
23044 * sysdeps/posix/ulimit.c: ... this.
92a601b8 23045 Include <limits.h>.
67b3f58c 23046 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 23047
5655a0b5
AC
230482013-01-23 Adam Conrad <adconrad@0c3.net>
23049
23050 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
23051 (LDFLAGS-tst-array5): Likewise.
23052
052aff95
JM
230532013-01-23 Joseph Myers <joseph@codesourcery.com>
23054
23055 [BZ #15036]
23056 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
23057 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
23058 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
23059 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
23060
7c1e01aa
DM
230612013-01-21 David S. Miller <davem@davemloft.net>
23062
23063 * sysdeps/sparc/backtrace.c: New file.
23064 * sysdeps/sparc/sparc32/backtrace.h: New file.
23065 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
23066 * sysdeps/sparc/sparc64/backtrace.h: New file.
23067 * sysdeps/sparc/sparc64/backtrace.c: Delete.
23068 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
23069 -funwind-tables.
23070
ab087e0a
AS
230712013-01-21 Andreas Schwab <schwab@suse.de>
23072
23073 [BZ #15020]
23074 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
23075 closed its stdout.
23076
ed689c2f
AS
230772013-01-20 Andreas Schwab <schwab@linux-m68k.org>
23078
23079 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
23080 "mpa2.h".
23081 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23082
31d470ac
JM
230832013-01-18 Joseph Myers <joseph@codesourcery.com>
23084 Mark Mitchell <mark@codesourcery.com>
23085 Tom de Vries <tom@codesourcery.com>
23086 Paul Pluzhnikov <ppluzhnikov@google.com>
23087
23088 * debug/tst-backtrace2.c: New file.
23089 * debug/tst-backtrace3.c: Likewise.
23090 * debug/tst-backtrace4.c: Likewise.
23091 * debug/tst-backtrace5.c: Likewise.
23092 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
23093 (CFLAGS-tst-backtrace3.c): Likewise.
23094 (CFLAGS-tst-backtrace4.c): Likewise.
23095 (CFLAGS-tst-backtrace5.c): Likewise.
23096 (LDFLAGS-tst-backtrace2): Likewise.
23097 (LDFLAGS-tst-backtrace3): Likewise.
23098 (LDFLAGS-tst-backtrace4): Likewise.
23099 (LDFLAGS-tst-backtrace5): Likewise.
23100 (tests): Add new tests tst-backtrace2, tst-backtrace3,
23101 tst-backtrace4 and tst-backtrace5.
23102
90567f30 231032013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
23104 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23105
23106 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
23107 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
23108 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
23109 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
23110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23111 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
23112 "+r" and remove output regs list as redundant. Add explicit inline
23113 asm to specify register of return val to work around compiler codegen
23114 bug. Remove (int) cast on return value. Add return type parameter to
23115 use in macro so that this macro does not truncate return value for
23116 64-bit values.
23117 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
23118 pass to INTERNAL_VSYSCALL_NCS.
23119 (INLINE_VSYSCALL): Add 'long int' as return type to
23120 INTERNAL_VSYSCALL_NCS macro invocation.
23121 (INTERNAL_VSYSCALL): Add 'long int' as return type to
23122 INTERNAL_VSYSCALL_NCS macro invocation.
23123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23124
d3b9ea61
SP
231252013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23126
0b57daeb
SP
23127 [BZ #14496]
23128 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
23129 Fix application of SIMD FP exception mask.
23130
caa99d06
SP
23131 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
23132 mp_no from a power of two.
23133 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
23134 __mpexp_twomm1. Use __pow_mp.
23135
d3b9ea61
SP
23136 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
23137 multiplication.
23138
1dbaee3c
DM
231392013-01-17 David S. Miller <davem@davemloft.net>
23140
23141 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23142
728d7b43
JM
231432013-01-17 Joseph Myers <joseph@codesourcery.com>
23144
23145 [BZ #15023]
23146 * include/complex.h: Condition contents on [!_COMPLEX_H].
23147 (__kernel_casinhf): New prototype.
23148 (__kernel_casinh): Likewise.
23149 (__kernel_casinhl): Likewise.
23150 * math/Makefile (libm_calls): Add k_casinh.
23151 * math/k_casinh.c: New file.
23152 * math/k_casinhf.c: Likewise.
23153 * math/k_casinhl.c: Likewise.
23154 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
23155 finite nonzero arguments.
23156 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
23157 finite nonzero arguments.
23158 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
23159 finite nonzero arguments.
23160 * math/s_casinh.c: Do not include <float.h>.
23161 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
23162 * math/s_casinhf.c: Do not include <float.h>.
23163 (__casinhf): Move code for finite nonzero arguments to
23164 k_casinhf.c.
23165 * math/s_casinhl.c: Do not include <float.h>.
23166 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
23167 redefine.
23168 (__casinhl): Move code for finite nonzero arguments to
23169 k_casinhl.c.
23170 * math/libm-test.inc (cacos_test): Add more tests.
23171 * sysdeps/i386/fpu/libm-test-ulps: Update.
23172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23173
2a26ef3a
PT
231742013-01-17 Pino Toscano <toscano.pino@tiscali.it>
23175
23176 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
23177 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
23178 [!HAVE_MREMAP]: Remove [defined linux] case.
23179 * malloc/arena.c: Do not include <malloc-sysdep.h>.
23180
a897655d
SP
231812013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23182
23183 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
23184
881ebe89 231852013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
23186
23187 * elf/elf.h (R_386_SIZE32): New relocation.
23188 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
23189 R_386_SIZE32.
23190 (elf_machine_rela): Likewise.
23191 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23192 R_X86_64_SIZE64 and R_X86_64_SIZE32.
23193
59981e9b
JM
231942013-01-17 Joseph Myers <joseph@codesourcery.com>
23195
23196 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
23197 (FP_FAST_FMA): Do not define.
23198 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
23199 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
23200 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
23201 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
23202 !_SOFT_FLOAT]: Likewise.
23203 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
23204 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
23205 value.
23206 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
23207 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
23208 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
23209 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
23210 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
23211 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
23212 file.
23213
cfa8054f
AS
232142013-01-16 Andreas Schwab <schwab@suse.de>
23215
23216 [BZ #14327]
23217 * include/stdlib.h (__mktemp): Add declaration.
23218 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
23219 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
23220
dd930cc5
SP
232212013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23222
881ebe89
SP
23223 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
23224 definitions.
23225 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23226 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
23227 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
23228 definitions here.
23229 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
23230 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
23231 definitions.
23232 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
23233 and ONE.
23234 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
23235 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
23236 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
23237 definitions.
23238 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
23239 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
23240 definitions.
23241 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 23242
dd930cc5
SP
23243 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
23244
c19a9f89
DM
232452013-01-15 David S. Miller <davem@davemloft.net>
23246
1aa61767
DM
23247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23248 trunc{,f} to libm-sysdep_routes.
23249 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
23251 file.
23252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
23253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
23254 file.
23255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
23256 file.
23257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
23258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
23259 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
23260 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
23261 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
23262 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
23263 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
23264 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
23265
c42d5e98
DM
23266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23267 nearbyint{,f} to libm-sysdep_routes.
23268 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
23270 New file.
23271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
23272 file.
23273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
23274 New file.
23275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
23276 file.
23277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
23278 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
23279 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
23280 file.
23281 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
23282 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
23283 file.
23284 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
23285 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
23286 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
23287
c19a9f89
DM
23288 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23289 libc_feholdexcept and libc_fesetenv.
23290
357679d2
MF
232912013-01-15 Mike Frysinger <vapier@gentoo.org>
23292
23293 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
23294
65a82e3d
DM
232952013-01-14 David S. Miller <davem@davemloft.net>
23296
8b954ab9
DM
23297 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
23298 (SPARC_ASM_VIS2_IFUNC): Likewise.
23299 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
23300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
23301 use of 'siam' instruction.
23302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
23303 Likewise.
23304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
23305 Likewise.
23306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
23307 Likewise.
23308 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
23309 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
23310 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
23311 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
23312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
23313 file.
23314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
23315 file.
23316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
23317 file.
23318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
23319 file.
23320 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
23321 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
23322 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
23323 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
23324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
23325 new VIS2 routines.
23326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23329 Likewise.
23330 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23331 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23332 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23333 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
23335 routines to libm-sysdep_routines.
23336 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23337
65a82e3d
DM
23338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23339 fdim/fdimf to libm-sysdep_routines.
23340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
23341 file.
23342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
23343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
23344 file.
23345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
23346 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
23347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
23348 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
23349 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
23350 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
23351 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
23352
e34ab705
SP
233532013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23354
2a91b573
SP
23355 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
23356 to optimize copies.
23357
1066a534
SP
23358 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
23359 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23360 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23361
e34ab705
SP
23362 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
23363 local variable MPTWO.
23364 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23365 Likewise.
23366
aba5e596
MF
233672013-01-13 Mike Frysinger <vapier@gentoo.org>
23368
23369 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
23370 GLOB_NOESCAPE.
23371
e557e9e5
MF
233722013-01-13 Mike Frysinger <vapier@gentoo.org>
23373
23374 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
23375
0428cec9
MF
233762013-01-13 Mike Frysinger <vapier@gentoo.org>
23377
23378 * manual/pattern.texi (glob_t): Document gl_flags.
23379 (glob64_t): Likewise.
23380
8794a964
DM
233812013-01-11 David S. Miller <davem@davemloft.net>
23382
66438c3f
RM
23383 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
23384 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
23385 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
23386 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
23387 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
23388 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
23389 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
23390 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
23391 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
23392 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
23393 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
23394 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
23395 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
23396
4ae4244d
DM
23397 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23398 sparc V9 rather than using V8 code.
23399 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23400 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23401
8794a964
DM
23402 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23403 Move to...
23404 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
23405 Here.
23406
6270516e
RM
234072013-01-11 Roland McGrath <roland@hack.frob.com>
23408
23409 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
23410 not in the main loop.
23411 * configure: Regenerated.
23412
6a57d931
JM
234132013-01-11 Joseph Myers <joseph@codesourcery.com>
23414
23415 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
23416 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
23417 to just #else.
23418 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
23419 [!__GLIBC_HAVE_LONG_LONG] case.
23420 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
23421 condition to just #else.
23422 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
23423 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
23424 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
23425 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
23426 unconditional.
23427 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
23428 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23429 #elif condition to just #else.
23430 * sysdeps/unix/sysv/linux/sys/sysmacros.h
23431 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
23432 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23433 #elif condition to just #else.
23434
0e8529e9
SE
234352013-01-11 Steve Ellcey <sellcey@mips.com>
23436
23437 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
23438 (EF_MIPS_ARCH_64): Fix value.
23439 (EF_MIPS_ARCH_32R2): New.
23440 (EF_MIPS_ARCH_64R2): New.
23441
740b3dbe
L
234422013-01-11 H.J. Lu <hongjiu.lu@intel.com>
23443
23444 * Makeconfig (+link-pie-before-libc): New.
23445 (+link-pie-after-libc): Likewise.
23446 (+link-pie-tests): Likewise.
23447 (+link-pie): Rewritten.
23448 (link-before-libc): Remove $(config-LDFLAGS).
23449 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
23450 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
23451 (config-LDFLAGS): Renamed to ...
23452 (rtld-LDFLAGS): This.
23453 (rtld-tests-LDFLAGS): New macro.
23454 (link-libc-rpath-link): Likewise.
23455 (link-libc-tests-rpath-link): Likewise.
23456 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
23457 (link-libc): Prepand $(link-libc-rpath-link).
23458 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
23459 (test-program-prefix): New macro.
23460 (test-via-rtld-prefix): Likewise.
23461 (test-program-cmd): Likewise.
23462 (host-test-program-cmd): Likewise.
23463 * Makefile ($(common-objpfx)testrun.sh): Replace
23464 $(run-program-prefix) with $(test-program-prefix).
23465 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
23466 $(rtld-LDFLAGS).
23467 ($(common-objpfx)shlib.lds): Likewise.
23468 (build-module-helper): Likewise.
23469 ($(common-objpfx)format.lds): Likewise.
23470 * Rules (binaries-pie-tests): New.
23471 (binaries-pie-notests): Likewise.
23472 (binaries-pie): Rewritten.
23473 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
23474 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
23475 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
23476 (make-test-out): Replace $(host-built-program-cmd) with
23477 $(host-test-program-cmd).
23478 * config.make.in (build-hardcoded-path-in-tests): New variable.
23479 * configure.in (--enable-hardcoded-path-in-tests): New configure
23480 option.
23481 (hardcoded_path_in_tests): New AC_SUBST.
23482 * configure: Regenerated.
23483 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
23484 $(built-program-cmd) with $(test-program-cmd).
23485 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
23486 (test_program_cmd): This.
23487 * elf/Makefile ($(objpfx)order.out): Run test with
23488 $(test-program-prefix).
23489 ($(objpfx)order2.out): Likewise.
23490 ($(objpfx)tst-initorder.out): Likewise.
23491 ($(objpfx)tst-initorder2.out): Likewise.
23492 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
23493 $(test-program-cmd).
23494 ($(objpfx)tst-array1-static.out): Likewise.
23495 ($(objpfx)tst-array2.out): Likewise.
23496 ($(objpfx)tst-array3.out): Likewise.
23497 ($(objpfx)tst-array4.out): Likewise.
23498 ($(objpfx)tst-array5.out): Likewise.
23499 ($(objpfx)tst-array5-static.out): Likewise.
23500 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
23501 $(test-program-cmd).
23502 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
23503 $(run-program-prefix) with $(test-program-prefix).
23504 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
23505 (test_program_prefix): This.
23506 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
23507 $(run-program-prefix) with $(test-program-prefix).
23508 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
23509 (test_program_prefix): This.
23510 * iconvdata/tst-tables.sh: Likewise.
23511 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
23512 $(run-program-prefix) with $(test-program-prefix).
23513 ($(objpfx)tst-translit.out): Likewise.
23514 ($(objpfx)tst-gettext2.out): Likewise.
23515 ($(objpfx)tst-gettext4.out): Likewise.
23516 ($(objpfx)tst-gettext6.out): Likewise.
23517 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
23518 (test_program_prefix): This.
23519 * intl/tst-gettext2.sh: Likewise.
23520 * intl/tst-gettext4.sh Likewise.
23521 * intl/tst-gettext6.sh: Likewise.
23522 * intl/tst-translit.sh: Likewise.
23523 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
23524 with $(test-program-cmd).
23525 * libio/Makefile ($(objpfx)test-freopen.out): Replace
23526 $(run-program-prefix) with $(test-program-prefix).
23527 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
23528 (test_program_prefix): This.
23529 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
23530 $(run-program-prefix) with $(test-program-prefix).
23531 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
23532 (test_program_prefix): This.
23533 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
23534 * posix/Makefile ($(objpfx)globtest.out): Replace
23535 $(run-via-rtld-prefix) and $(test-wrapper) with
23536 $(test-program-prefix) and $(test-via-rtld-prefix).
23537 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
23538 $(test-program-prefix).
23539 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
23540 $(host-test-program-cmd).
23541 (tst-spawn-ARGS): Likewise.
23542 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
23543 $(test-program-prefix).
23544 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
23545 (test_via_rtld_prefix): This.
23546 (test_wrapper): Renamed to ...
23547 (test_program_prefix): This.
23548 (run_program_prefix): Replaced by test_program_prefix.
23549 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
23550 (test_program_prefix): This.
23551 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
23552 with $(host-test-program-cmd).
23553 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
23554 $(run-program-prefix) with $(test-program-prefix).
23555 ($(objpfx)tst-printf.out): Likewise.
23556 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
23557 $(test-program-cmd).
23558 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
23559 (test_program_prefix): This.
23560 * stdio-common/tst-unbputc.sh: Likewise.
23561 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
23562 $(run-program-prefix) with $(test-program-prefix).
23563 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
23564 (test_program_prefix): This.
23565 * string/Makefile ($(objpfx)tst-svc.out): Replace
23566 $(built-program-cmd) with $(test-program-cmd).
23567
c6fe55cf
AJ
235682013-01-11 Andreas Jaeger <aj@suse.de>
23569
23570 [BZ #15003]
23571 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
23572 value. Sync with Linux 3.7.
23573
9e6919c8
DM
235742013-01-10 David S. Miller <davem@davemloft.net>
23575
23576 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
23577 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23578 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23579
1c9f1a02
RM
235802013-01-10 Roland McGrath <roland@hack.frob.com>
23581
23582 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
23583 never set.
23584 * configure: Regenerated.
23585
b9de2dde
DM
235862013-01-10 David S. Miller <davem@davemloft.net>
23587
23588 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23589 sparc V9 rather than using V8 code.
23590 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23591 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23592
e7f68ef4
RM
235932013-01-10 Roland McGrath <roland@hack.frob.com>
23594
23595 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
23596 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
23597 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
23598 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
23599 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
23600 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
23601 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
23602 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
23603 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
23604 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
23605 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
23606 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
23607 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
23608 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
23609 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
23610 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
23611 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
23612 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
23613 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
23614 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
23615 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
23616 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
23617 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
23618 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
23619 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
23620 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
23621 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
23622
5a47cc9c
DM
236232013-01-10 David S. Miller <davem@davemloft.net>
23624
23625 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23626
4cf8f209
L
236272013-01-10 H.J. Lu <hongjiu.lu@intel.com>
23628
23629 * posix/Makefile (tests-static): New variable.
23630 (tests): Add $(tests-static).
23631 (tst-exec-static-ARGS): New variable.
23632 (tst-spawn-static-ARGS): Likewise.
23633 * posix/tst-exec-static.c: New file.
23634 * posix/tst-spawn-static.c: Likewise.
23635 * posix/tst-exec.c: Support run directly.
23636 * posix/tst-spawn.c: Likewise.
23637
fed0faa1
JM
236382013-01-10 Joseph Myers <joseph@codesourcery.com>
23639
828beb13
JM
23640 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
23641 long.
23642 * math/bits/mathcalls.h (llrint): Likewise.
23643 (llround): Likewise.
23644 * stdlib/stdlib.h (struct drand48_data): Likewise.
23645 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
23646 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
23647 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
23648 Likewise.
23649 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
23650 Likewise.
23651 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
23652 (elf_greg_t): Likewise.
23653 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
23654 (__jmp_buf): Likewise.
23655 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
23656 definitions.
23657 (llrint): Likewise, for all definitions.
23658 (llrintl): Likewise.
23659
fed0faa1
JM
23660 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
23661 Remove [__GNUC__] condition.
23662 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
23663 condition to just [__USE_ISOC99].
23664 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
23665
1a20cb20
L
236662013-01-10 H.J. Lu <hongjiu.lu@intel.com>
23667
23668 [BZ #14200]
23669 * sysdeps/unix/sysv/linux/x86/bits/environments.h
23670 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
23671 defined.
23672 (_POSIX_V6_ILP32_OFF32): Likewise.
23673 (_XBS5_ILP32_OFF32): Likewise.
23674 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
23675 (__ILP32_OFFBIG_LDFLAGS): Likewise.
23676
751b85f7
SP
236772013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23678
7490eb81
SP
23679 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
23680
751b85f7
SP
23681 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
23682 doubles __mpexp_twomm1. Adjust usage.
23683 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
23684 Remove.
23685
988197f0
AS
236862013-01-10 Andreas Schwab <schwab@suse.de>
23687
23688 [BZ #14964]
23689 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
23690 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
23691
e83d7298
DM
236922013-01-09 David S. Miller <davem@davemloft.net>
23693
034ed64b 23694 [BZ #15003]
57f41c40
AS
23695 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
23696 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
23697 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
23698 (TCP_FASTOPEN): Define.
e83d7298
DM
23699 (tcp_repair_opt): New structure.
23700 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
23701 enum values.
57f41c40
AS
23702 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
23703 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
23704 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
23705 (tcp_cookie_transactions): New structure.
23706
d5e0b9bd
AB
237072013-01-09 Anton Blanchard <anton@samba.org>
23708
23709 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
23710 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
23711 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
23712 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
23713
0c07e3ea
JM
237142013-01-09 Joseph Myers <joseph@codesourcery.com>
23715
23716 * include/features.h (__USE_ANSI): Remove.
23717
232f7002
RM
237182013-01-09 Roland McGrath <roland@hack.frob.com>
23719
ad98e30c
RM
23720 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
23721
232f7002
RM
23722 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
23723
950c99ca
SP
237242013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
23725
b5792741
SP
23726 * sysdeps/s390/fpu/libm-test-ulps: Update.
23727
47cf2278
SP
23728 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23729
950c99ca
SP
23730 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
23731 (__acr): Likewise.
23732 (__cpy): Likewise.
23733 (norm): Likewise.
23734 (denorm): Likewise.
23735 (__mp_dbl): Likewise.
23736 (__dbl_mp): Likewise.
23737 (add_magnitudes): Likewise.
23738 (sub_magnitudes): Likewise.
23739 (__add): Likewise.
23740 (__sub): Likewise.
23741 (__mul): Likewise.
23742 (__inv): Likewise.
23743 (__dvd): Likewise.
23744 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
23745 (__acr): Likewise.
23746 (__cpy): Likewise.
23747 (norm): Likewise.
23748 (denorm): Likewise.
23749 (__mp_dbl): Likewise.
23750 (__dbl_mp): Likewise.
23751 (add_magnitudes): Likewise.
23752 (sub_magnitudes): Likewise.
23753 (__add): Likewise.
23754 (__sub): Likewise.
23755 (__mul): Likewise.
23756 (__inv): Likewise.
23757 (__dvd): Likewise.
23758 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
23759 (__acr): Likewise.
23760 (__cpy): Likewise.
23761 (norm): Likewise.
23762 (denorm): Likewise.
23763 (__mp_dbl): Likewise.
23764 (__dbl_mp): Likewise.
23765 (add_magnitudes): Likewise.
23766 (sub_magnitudes): Likewise.
23767 (__add): Likewise.
23768 (__sub): Likewise.
23769 (__mul): Likewise.
23770 (__inv): Likewise.
23771 (__dvd): Likewise.
23772
eede9df9
JM
237732013-01-08 Joseph Myers <joseph@codesourcery.com>
23774
23775 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
23776 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
23777 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
23778 2 && __USE_EXTERN_INLINES]: Likewise.
23779
c40ea3d9
AJ
237802013-01-08 Andreas Jaeger <aj@suse.de>
23781
23782 [BZ# 14985]
23783 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
23784 Remove.
23785 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23786 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23787
2ccdea26
AB
237882013-01-07 Anton Blanchard <anton@samba.org>
23789
23790 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
23791 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23792 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
23793 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23794 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23795 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23796 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
23797 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23798 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23799 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23800 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23801 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23802 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23803 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23804 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23805 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23806 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23807 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23808 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23809 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23810 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23811 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
23812 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23813 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23814 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
23815 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23816 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23817 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23818 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
23819 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23820 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23821 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23822 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23823 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23824 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23825 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23826 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23827 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23828 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
23829 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23830 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
23831 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23832 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23833
a9708fed
JM
238342013-01-07 Joseph Myers <joseph@codesourcery.com>
23835
375607b9
JM
23836 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
23837 (__MALLOC_PMT): Likewise.
23838 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
23839 [__GNUC__], only on [_LIBC].
23840 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23841 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
23842 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23843 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
23844 forward declaration.
23845 (realloc_hook_ini): Likewise.
23846 (memalign_hook_ini): Likewise.
23847 (__libc_memalign): Do not use __MALLOC_PMT in variable
23848 declaration.
23849 (__libc_valloc): Likewise.
23850 (__libc_pvalloc): Likewise.
23851 (__libc_calloc): Likewise.
23852 (__posix_memalign): Likewise.
23853
a9708fed
JM
23854 [BZ #14996]
23855 * math/s_casinh.c: Include <float.h>.
23856 (__casinh): Do not do computation with squaring and square root
23857 for large arguments.
23858 * math/s_casinhf.c: Include <float.h>.
23859 (__casinhf): Do not do computation with squaring and square root
23860 for large arguments.
23861 * math/s_casinhl.c: Include <float.h>.
23862 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
23863 (__casinhl): Do not do computation with squaring and square root
23864 for large arguments.
23865 * math/libm-test.inc (casin_test): Add more tests.
23866 (casinh_test): Likewise.
23867 * sysdeps/i386/fpu/libm-test-ulps: Update.
23868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23869
afec409a
L
238702013-01-04 H.J. Lu <hongjiu.lu@intel.com>
23871
23872 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
23873 (__x86_64_raw_data_cache_size): Likewise.
23874 (__x86_64_data_cache_size_half): Likewise.
23875 (__x86_64_raw_data_cache_size_half): Likewise.
23876 (__x86_64_shared_cache_size): Likewise.
23877 (__x86_64_raw_shared_cache_size): Likewise.
23878 (__x86_64_shared_cache_size_half): Likewise.
23879 (__x86_64_raw_shared_cache_size_half): Likewise.
23880 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
23881 to ...
23882 (__x86_data_cache_size): This.
23883 (__x86_64_raw_data_cache_size): Renamed to ...
23884 (__x86_raw_data_cache_size): This.
23885 (__x86_64_data_cache_size_half): Renamed to ...
23886 (__x86_data_cache_size_half): This.
23887 (__x86_64_raw_data_cache_size_half): Renamed to ...
23888 (__x86_raw_data_cache_size_half): This.
23889 (__x86_64_shared_cache_size): Renamed to ...
23890 (__x86_shared_cache_size): This.
23891 (__x86_64_raw_shared_cache_size): Renamed to ...
23892 (__x86_raw_shared_cache_size): This.
23893 (__x86_64_shared_cache_size_half): Renamed to ...
23894 (__x86_shared_cache_size_half): This.
23895 (__x86_64_raw_shared_cache_size_half): Renamed to ...
23896 (__x86_raw_shared_cache_size_half): This.
23897 * sysdeps/x86_64/memcpy.S: Updated.
23898 * sysdeps/x86_64/memset.S: Likewise.
23899 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23900 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23901 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23902
0b3986d0
DM
239032013-01-04 David S. Miller <davem@davemloft.net>
23904
23905 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23906
e47686e9
AS
239072013-01-04 Andreas Schwab <schwab@linux-m68k.org>
23908
d643bac1
AS
23909 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
23910 1 to avoid redefinition warning.
23911 (__USE_GNU): Don't define.
23912 (init_signaling_nan): Protoize.
23913
e47686e9
AS
23914 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23915
b18decba
SP
239162013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23917
fffb407f
SP
23918 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
23919 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
23920 (__cpymn): Likewise.
23921 (norm): Remove commented code.
23922 (denorm): Likewise.
23923 (__mp_dbl): Likewise.
23924 (__inv): Likewise.
23925 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
23926 (__cpymn): Likewise.
23927 (norm): Remove commented code.
23928 (denorm): Likewise.
23929 (__mp_dbl): Likewise.
23930 (__inv): Likewise.
23931
b18decba
SP
23932 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
23933 mp_no value for 1.0 and 2.0.
23934 (norm): Use RADIXI instead of radixi.d.
23935 (denorm): Likewise.
23936 (__mul): Use 0.0 instead of zero.d.
23937 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
23938 mp_no value for 1.0 and 2.0.
23939 (norm): Use RADIXI instead of radixi.d.
23940 (denorm): Likewise.
23941 (__mul): Use 0.0 instead of zero.d.
23942
cdc1c96f
JM
239432013-01-04 Joseph Myers <joseph@codesourcery.com>
23944
23945 [BZ #14994]
23946 * math/s_casinh.c (__casinh): Reduce finite argument to first
23947 quadrant then set signs of results at the end.
23948 * math/s_casinhf.c (__casinhf): Likewise.
23949 * math/s_casinhl.c (__casinhl): Likewise.
23950 * math/libm-test.inc (casin_test): Add more tests.
23951 (casinh_test): Likewise.
23952 * sysdeps/i386/fpu/libm-test-ulps: Update.
23953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23954
302913e1
SP
239552013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23956
6420d207
SP
23957 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
23958
a9e48ab4
SP
23959 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
23960
b7837264
SP
23961 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
23962 declarations.
23963 (denorm): Likewise.
23964 (__mp_dbl): Likewise.
23965 (__inv): Likewise.
23966
f8af25d2
SP
23967 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
23968 and adjust the header comment.
23969
302913e1
SP
23970 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
23971 variable name from declaration.
23972
5d7dd1ca
L
239732013-01-03 H.J. Lu <hongjiu.lu@intel.com>
23974
23975 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23976 Initialize COMMON_CPUID_INDEX_7 element.
23977 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
23978 (CPUID_RTM): Likewise.
23979 (HAS_RTM): Likewise.
23980 (COMMON_CPUID_INDEX_7): New enum.
23981
2f5f40f4
AS
239822013-01-03 Andreas Schwab <schwab@linux-m68k.org>
23983
23984 [BZ #14981]
23985 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
23986 size is zero, record memory as freed.
23987
4056f4a0
AJ
239882013-01-03 Andreas Jaeger <aj@suse.de>
23989
23990 * po/ia.po: Add new Interlingua translation.
23991
ab15736f 239922012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
23993
23994 * locale/programs/localedef.c: Fix description of '--posix' flag.
23995
568035b7
JM
239962013-01-02 Joseph Myers <joseph@codesourcery.com>
23997
e6898b8d
JM
23998 * NEWS: Update dates in second copyright notice.
23999 * README: Update copyright dates in example.
24000 * manual/libc.texinfo: Update copyright dates.
24001 * scripts/test-installation.pl: Update copyright date in --version
24002 output.
24003
0e2f9562
JM
24004 * hurd/ctty-input.c: Fix copyright notice formatting.
24005 * hurd/ctty-output.c: Likewise.
24006 * hurd/dtable.c: Likewise.
24007 * hurd/hurd-raise.c: Likewise.
24008 * hurd/hurdprio.c: Likewise.
24009 * hurd/msgportdemux.c: Likewise.
24010 * misc/sys/file.h: Likewise.
24011 * misc/sys/ioctl.h: Likewise.
24012 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24013 * sysdeps/mach/hurd/chdir.c: Likewise.
24014 * sysdeps/mach/hurd/fchdir.c: Likewise.
24015 * sysdeps/mach/hurd/rename.c: Likewise.
24016 * sysdeps/mach/hurd/rmdir.c: Likewise.
24017 * sysdeps/mach/hurd/seekdir.c: Likewise.
24018 * sysdeps/mach/hurd/setsid.c: Likewise.
24019 * sysdeps/posix/wait3.c: Likewise.
24020
568035b7
JM
24021 * All files with FSF copyright notices: Update copyright dates
24022 using scripts/update-copyrights.
24023 * intl/plural.c: Regenerated.
24024 * locale/programs/charmap-kw.h: Likewise.
24025 * locale/programs/locfile-kw.h: Likewise.
24026
da08f647
SP
240272013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24028
0f5477af
SP
24029 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
24030 four values.
24031
44e0d4c2
SP
24032 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
24033 calculation loop and add branch prediction.
24034
4d55b4e5
SP
24035 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
24036 check access beyond bounds of m1np.
24037
da08f647
SP
24038 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24039 MPTWO.
24040 (__inv): Remove local variable MPTWO to use the global
24041 constant.
24042 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
24043 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24044 variable MPTWO.
24045 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
24046 MP3HALFS static const.
24047
8e051029
DM
240482013-01-01 David S. Miller <davem@davemloft.net>
24049
24050 * po/ca.po: Update from translation team.
24051
f4cf5f2d
JM
240522013-01-01 Joseph Myers <joseph@codesourcery.com>
24053
24054 * scripts/update-copyrights: New file.
24055 * Makeconfig: Reformat copyright notice.
24056 * ctype/ctype.h: Likewise.
24057 * debug/swprintf_chk.c: Likewise.
24058 * elf/dl-cache.c: Likewise.
24059 * elf/dl-debug.c: Likewise.
24060 * elf/dl-object.c: Likewise.
24061 * grp/initgroups.c: Likewise.
24062 * hurd/Makefile: Likewise.
24063 * hurd/hurd/signal.h: Likewise.
24064 * hurd/hurdfault.c: Likewise.
24065 * hurd/hurdioctl.c: Likewise.
24066 * hurd/hurdlookup.c: Likewise.
24067 * hurd/intr-msg.c: Likewise.
24068 * iconv/gconv_open.c: Likewise.
24069 * libio/swprintf.c: Likewise.
24070 * locale/lc-ctype.c: Likewise.
24071 * locale/nl_langinfo.c: Likewise.
24072 * mach/Machrules: Likewise.
24073 * mach/Makefile: Likewise.
24074 * malloc/obstack.h: Likewise.
24075 * manual/Makefile: Likewise.
24076 * manual/tsort.awk: Likewise.
24077 * misc/bits/stab.def: Likewise.
24078 * nis/nis_print_group_entry.c: Likewise.
24079 * nis/nis_table.c: Likewise.
24080 * nis/nss_compat/compat-pwd.c: Likewise.
24081 * nis/nss_compat/compat-spwd.c: Likewise.
24082 * po/Makefile: Likewise.
24083 * posix/fnmatch.c: Likewise.
24084 * posix/regex.h: Likewise.
24085 * resolv/Makefile: Likewise.
24086 * resolv/nss_dns/dns-network.c: Likewise.
24087 * resolv/res_hconf.c: Likewise.
24088 * scripts/gen-sorted.awk: Likewise.
24089 * soft-fp/soft-fp.h: Likewise.
24090 * stdio-common/printf.h: Likewise.
24091 * stdlib/monetary.h: Likewise.
24092 * stdlib/random.c: Likewise.
24093 * stdlib/random_r.c: Likewise.
24094 * sysdeps/generic/Makefile: Likewise.
24095 * sysdeps/gnu/Makefile: Likewise.
24096 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24097 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24098 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24099 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24100 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24101 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24102 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24103 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24104 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24105 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24106 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24107 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24108 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24109 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24110 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
24111 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24112 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24113 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24114 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24115 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24116 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24117 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24118 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24119 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24120 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
24121 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24122 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24123 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
24124 * sysdeps/mach/hurd/errnos.awk: Likewise.
24125 * sysdeps/mach/hurd/fork.c: Likewise.
24126 * sysdeps/mach/hurd/getcwd.c: Likewise.
24127 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
24128 * sysdeps/mach/hurd/mmap.c: Likewise.
24129 * sysdeps/mach/hurd/utimes.c: Likewise.
24130 * sysdeps/mach/hurd/xmknod.c: Likewise.
24131 * sysdeps/posix/profil.c: Likewise.
24132 * sysdeps/posix/readdir_r.c: Likewise.
24133 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24134 * sysdeps/powerpc/bits/setjmp.h: Likewise.
24135 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
24136 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24137 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24138 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24139 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24140 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24141 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24142 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24143 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24144 * sysdeps/pthread/lio_listio.c: Likewise.
24145 * sysdeps/sparc/dl-procinfo.h: Likewise.
24146 * sysdeps/unix/i386/sysdep.S: Likewise.
24147 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
24148 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
24149 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
24150 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
24151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24152 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
24153 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
24154 * sysdeps/unix/sysv/linux/speed.c: Likewise.
24155 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
24156 * sysdeps/wordsize-32/divdi3.c: Likewise.
24157 * time/sys/time.h: Likewise.
24158 * wcsmbs/Makefile: Likewise.
24159
0549fbba
DM
241602013-01-01 David S. Miller <davem@davemloft.net>
24161
a141f1a7
DM
24162 * po/fr.po: Update from translation team.
24163
0549fbba
DM
24164 * catgets/gencat.c: Update copyright year.
24165 * csu/version.c: Likewise.
24166 * debug/catchsegv.sh: Likewise.
24167 * debug/pcprofiledump.c: Likewise.
24168 * debug/xtrace.sh: Likewise.
24169 * elf/ldconfig.c: Likewise.
24170 * elf/ldd.bash.in: Likewise.
24171 * elf/pldd.c: Likewise.
24172 * elf/sotruss.ksh: Likewise.
24173 * elf/sprof.c: Likewise.
24174 * iconv/iconv_prog.c: Likewise.
24175 * iconv/iconvconfig.c: Likewise.
24176 * locale/programs/locale.c: Likewise.
24177 * locale/programs/localedef.c: Likewise.
24178 * login/programs/pt_chown.c: Likewise.
24179 * malloc/memusage.sh: Likewise.
24180 * malloc/memusagestat.c: Likewise.
24181 * malloc/mtrace.pl: Likewise.
24182 * nscd/nscd.c: Likewise.
24183 * nss/getent.c: Likewise.
24184 * nss/makedb.c: Likewise.
24185 * posix/getconf.c: Likewise.
24186
18ea052c
SP
241872012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24188
24189 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
24190 numbers.
24191
9c89fca6
MF
241922012-12-30 Mike Frysinger <vapier@gentoo.org>
24193
24194 * math/bits/mathcalls.h (modf): Use __nonnull.
24195
085ec079
SP
241962012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24197
24198 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
24199 (split): Use macro CN instead of the bare value.
24200 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
24201 could be used.
24202 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
24203 instead of the bare value.
24204 (power1): Likewise.
24205
6d9f97e1
SP
242062012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24207
d63f73be
SP
24208 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
24209 __ATAN_TWOM.
24210 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24211
6d9f97e1
SP
24212 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
24213 their values.
24214 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24215 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24216 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
24217 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24218
4c4febf5
AJ
242192012-12-28 Andreas Jaeger <aj@suse.de>
24220
af5843ef
AJ
24221 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
24222 values are from Linux 3.7.
24223
4c4febf5
AJ
24224 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
24225 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
24226
99136f82
SP
242272012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24228
2f216c3c 24229 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
24230 TRUE case.
24231
99136f82
SP
24232 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
24233 (norm): Likewise.
24234 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
24235 variables with preprocessor constants.
24236 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24237 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24238 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24239
7fffbdff
BH
242402012-12-27 Bruno Haible <bruno@clisp.org>
24241
24242 [BZ #14317]
24243 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
24244 only if needed.
24245
b76eb5f0
SP
242462012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24247
31a7fe5c
SP
24248 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
24249 and use variable directly.
24250 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
24251
b76eb5f0
SP
24252 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24253 MPONE.
24254 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
24255 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24256 variable MPONE.
24257 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24258 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24259 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
24260 include directive. Remove local variable MPONE.
24261 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
24262 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
24263 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24264
2c8bfe7d
DM
242652012-12-25 David S. Miller <davem@davemloft.net>
24266
24267 * version.h (RELEASE): Set to "development".
24268 (VERSION): Set to "2.17.90".
24269 * NEWS: Add 2.18 section.
24270
147d03b0
DM
242712012-12-21 David S. Miller <davem@davemloft.net>
24272
24273 * po/hr.po: Update from translation team.
24274
a8ebb2b9
AK
242752012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24276
24277 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
24278
95b4f1b6
SE
242792012-12-19 Steve Ellcey <sellcey@mips.com>
24280
b2d94007 24281 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 24282
cedb2a90
MS
242832012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24284
24285 * manual/contrib.texi (Contributors): Spelling correction.
24286
bbf527d6
DM
242872012-12-15 David S. Miller <davem@davemloft.net>
24288
24289 * po/ru.po: Update from translation team.
24290
bc38c906
DM
242912012-12-13 David S. Miller <davem@davemloft.net>
24292
85429b1a
DM
24293 * NEWS: Mention IFUNC testsuite enhancements.
24294
d283e353
DM
24295 * po/pl.po: Update from translation team.
24296 * po/bg.po: Likewise.
24297
bc38c906
DM
24298 * manual/contrib.texi (Contributors): Update entries for Hongjiu
24299 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
24300
a181b0d7
DM
243012012-12-11 David S. Miller <davem@davemloft.net>
24302
4641d57e
DM
24303 * po/sv.po: Update from translation team.
24304
f7bc6495
DM
24305 * po/vi.po: Update from translation team.
24306
6fc9048f
DM
24307 * po/cs.po: Update from translation team.
24308
a181b0d7
DM
24309 * po/de.po: Update from translation team.
24310 * po/eo.po: Likewise.
24311 * po/nl.po: Likewise.
24312
f70bfe80
SP
243132012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24314
3c8b4190
SP
24315 [BZ #14246]
24316 * manual/argp.texi (Argp Helper Functions): Move node to follow
24317 Argp Parsing State.
24318
f70bfe80
SP
24319 [BZ #14872]
24320 * manual/conf.texi (Limits on File System Capacity): Mention if
24321 terminating null is included in the max size.
24322
188f0adf
AJ
243232012-12-10 Andreas Jaeger <aj@suse.de>
24324
24325 * po/cs.po: Update from translation team.
24326
56e7d3ad
SP
243272012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24328
24329 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
24330 void pointer and cast to uintptr_t.
24331 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
24332 path.
24333 * sysdeps/s390/s390-64/memcpy.S: Likewise.
24334 * sysdeps/s390/s390-64/memset.S: Likewise.
24335
76f2d2ea 243362012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
24337
24338 [BZ #14833]
24339 * menual/message.texi (Message Translation): Fix typos.
24340 (Helper programs for gettext): Likewise.
24341
67cbf9a2
AS
243422012-12-07 Andreas Schwab <schwab@linux-m68k.org>
24343
24344 [BZ #14898]
24345 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
24346 Change to -1.
24347
682d0e9a
DM
243482012-12-07 David S. Miller <davem@davemloft.net>
24349
24350 * po/libc.pot: Update.
24351
573cd484
RH
243522012-12-07 Richard Henderson <rth@redhat.com>
24353
7e9da188 24354 [BZ #10114]
573cd484
RH
24355 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
24356 normal/normal case to before the switch.
24357 (_FP_DIV): Likewise.
24358
e933a943
MF
243592012-12-06 Carlos O'Donell <carlos@systemhalted.org>
24360 Mike Frysinger <vapier@gentoo.org>
24361
24362 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
24363 check for __NR_fadvise64_64.
24364
82123268
CM
243652012-12-06 Chris Metcalf <cmetcalf@tilera.com>
24366
24367 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
24368 0, not just to plain "0" as a statement.
24369 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
24370 with cw.
24371
d9814526
JM
243722012-12-06 Joseph Myers <joseph@codesourcery.com>
24373
24374 * NEWS: Use sourceware.org in Bugzilla URL.
24375
7728c574
SP
243762012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
24377
f16946dd
SP
24378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24379 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24380
5704bbcb
SP
24381 * stdio-common/tst-put-error.c (do_test): Add newline to the
24382 padded test to ensure flush.
24383
17aa0516
JL
243842012-12-05 Jeff Law <law@redhat.com>
24385
24386 * sunrpc/etc.rpc (fedfs_admin): Add entry.
24387
363313b5
JM
243882012-12-05 Joseph Myers <joseph@codesourcery.com>
24389
effbd42a
JM
24390 * README: Don't refer to ports add-on as distributed separately.
24391 Mention AArch64 in list of systems supported in the ports add-on.
24392
87600365
JM
24393 * LICENSES: Add more non-FSF copyright and license notices.
24394
a0d7066a
JM
24395 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
24396 ((unused)).
24397
66ca5a5b
JM
24398 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
24399
363313b5
JM
24400 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
24401 10000 as width of padded output.
24402
b37984ad
JM
244032012-12-04 Joseph Myers <joseph@codesourcery.com>
24404
9003570a
JM
24405 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
24406
b37984ad
JM
24407 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
24408 variable LX with __attribute__ ((unused)).
24409 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24410 Likewise.
24411 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24412 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24413 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
24414 with __attribute__ ((unused)).
24415
c8df52ec
DM
244162012-12-04 David S. Miller <davem@abraco.davemloft.net>
24417
24418 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
24419
b3b099af
JM
244202012-12-04 Joseph Myers <joseph@codesourcery.com>
24421
c33aa6e3
JM
24422 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
24423 (CFLAGS-nldbl-acos.c): New variable.
24424 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
24425 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
24426 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
24427 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
24428 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
24429 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
24430 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
24431 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
24432 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
24433 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
24434 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
24435 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
24436 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
24437 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
24438 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
24439 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
24440 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
24441 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
24442 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
24443 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
24444 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
24445 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
24446 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
24447 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
24448 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
24449 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
24450 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
24451 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
24452 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
24453 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
24454 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
24455 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
24456 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
24457 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
24458 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
24459 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
24460 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
24461 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
24462 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
24463 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
24464 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
24465 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
24466 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
24467 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
24468 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
24469 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
24470 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
24471 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
24472 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
24473 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
24474 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
24475 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
24476 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
24477 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
24478 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
24479 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
24480 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
24481 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
24482 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
24483 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
24484 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
24485 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
24486 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
24487 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
24488 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
24489 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
24490 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
24491 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
24492 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
24493 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
24494 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
24495 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
24496 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
24497 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
24498 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
24499 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
24500 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
24501 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
24502 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
24503 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
24504 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
24505 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
24506 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
24507 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
24508 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
24509 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
24510 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
24511 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
24512 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
24513 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
24514 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
24515 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
24516 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
24517 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
24518 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
24519 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
24520 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
24521
20f0018d
JM
24522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24523 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24524
b3b099af
JM
24525 [BZ #14914]
24526 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
24527 whole low double instead of just low 47 bits when splitting values
24528 into two parts.
24529
029264d1
AM
245302012-12-03 Allan McRae <allan@archlinux.org>
24531
24532 * manual/stdio.texi (Predefined Printf Handlers): Remove
24533 @hsep and @vsep usage.
24534
c9d6789e
MF
245352012-12-03 Mike Frysinger <vapier@gentoo.org>
24536
24537 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
24538 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
24539
4b7634a5
JL
245402012-12-03 Jeff Law <law@redhat.com>
24541
24542 * time/sys/time.h (settimeofday): Do not mark TV argument
24543 as __nonnull.
24544
eb6cbd24
MF
245452012-12-01 Mike Frysinger <vapier@gentoo.org>
24546
24547 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
24548 when currently writing and seek to current position when not.
24549 * libio/Makefile (tests): Remove bug-fclose1.
24550 * libio/bug-fclose1.c: Delete.
24551
f638872a
JM
245522012-12-01 Joseph Myers <joseph@codesourcery.com>
24553
24554 * manual/arith.texi (feenableexcept): Fix typo.
24555 (fedisableexcept): Likewise.
24556
48085d14
RM
245572012-11-30 Roland McGrath <roland@hack.frob.com>
24558
24559 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
24560 second, differently-typed declaration, rather than a cast.
24561
1a538b9f
SP
245622012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24563
24564 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
24565 * include/rpc/svc.h: ... here.
24566
d07f2ff1 245672012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
24568
24569 [BZ #13013]
24570 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
24571 depending n and resplen2 to catch cases where answer
24572 equals answerp2.
24573
c93ec1f0
CD
245742012-11-29 Carlos O'Donell <carlos@systemhalted.org>
24575
24576 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
24577 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
24578
37db69de
MF
245792012-11-29 Mike Frysinger <vapier@gentoo.org>
24580
24581 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
24582
e10c4e4f
RM
245832012-11-29 Roland McGrath <roland@hack.frob.com>
24584
24585 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
24586
2af1b328
JL
245872012-11-28 Jeff Law <law@redhat.com>
24588
24589 [BZ #13761]
24590 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
24591 dataset_temporary. Track alloca usage into alloca_used.
24592 If dataset is large allocate and release it via malloc/free.
24593
111db5b1
FW
245942012-06-04 Florian Weimer <fweimer@redhat.com>
24595
f06cc227 24596 [BZ #14197]
111db5b1
FW
24597 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
24598
dd694abd
DM
245992012-11-28 David S. Miller <davem@davemloft.net>
24600
24601 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24602
9984dd01
JM
246032012-11-28 Joseph Myers <joseph@codesourcery.com>
24604
24605 [BZ #14803]
24606 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
24607 of pi/2 rounded to nearest to 64 bits.
24608 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
24609 nearest to 64 bits.
24610 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
24611 bits.
24612
14bc93a9
JL
246132012-11-28 Jeff Law <law@redhat.com>
24614 Martin Osvald <mosvald@redhat.com>
24615
24616 [BZ #14889]
24617 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
24618 * sunrpc/svc.c: Include time.h.
24619 (__svc_accept_failed): New function.
24620 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
24621 any reason other than EINTR, call __svc_accept_failed.
24622 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
24623 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
24624
e3c6aa3a
AS
246252012-11-28 Andreas Schwab <schwab@suse.de>
24626
24627 * scripts/abilist.awk: Also handle indirect functions in .opd
24628 section.
24629
1bead169
JM
246302012-11-28 Joseph Myers <joseph@codesourcery.com>
24631
24632 [BZ #13881]
24633 * sysdeps/x86/fpu/powl_helper.c: New file.
24634 * sysdeps/x86/fpu/Makefile: Likewise.
24635 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
24636 (p3): New object.
24637 (__ieee754_powl): Use __powl_helper for finite arguments except
24638 integer exponents below 8.
24639 * sysdeps/x86_64/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 * math/libm-test.inc (pow_test): Add more tests and enable some
24644 previously disabled tests.
24645 * sysdeps/i386/fpu/libm-test-ulps: Update.
24646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24647
0817d63d
SP
246482012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24649 Carlos O'Donell <carlos_odonell@mentor.com>
24650
24651 * nss/makedb.c (is_prime): Assert that input is odd and greater
24652 than 4. Note that fact in a comment too.
24653 (next_prime): Add 4 to input.
24654
de2fd463
SP
246552012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24656
24657 [BZ #11741]
24658 * libio/Makefile (tests): Add test case tst-fwrite-error.
24659 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
24660 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
24661 * libio/tst-fwrite-error.c: New test case.
24662
c515fb51
L
246632012-11-26 H.J. Lu <hongjiu.lu@intel.com>
24664
24665 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
24666 before casting to void *.
24667 * include/libc-internal.h (__pointer_type): New macro.
24668 (__integer_if_pointer_type_sub): Likewise.
24669 (__integer_if_pointer_type): Likewise.
24670 (cast_to_integer): Likewise.
24671 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
24672 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
24673 before casting to atomic64_t.
24674 (atomic_exchange_acq): Likewise.
24675 (__arch_exchange_and_add_body): Likewise.
24676 (__arch_add_body): Likewise.
24677 (atomic_add_negative): Likewise.
24678 (atomic_add_zero): Likewise.
24679
4cf77aa9
JM
246802012-11-26 Joseph Myers <joseph@codesourcery.com>
24681
24682 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
24683 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
24684 (add_fdes): Likewise.
24685 (linear_search_fdes): Likewise.
24686 (binary_search_unencoded_fdes): Likewise.
24687
d260b3b4
AS
246882012-11-26 Andreas Schwab <schwab@linux-m68k.org>
24689
24690 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
24691
67060746
AC
246922012-11-24 Adam Conrad <adconrad@0c3.net>
24693
24694 * configure.in: Autodetect C++ header directories.
24695 * configure: Regenerated.
24696
800938a1
MF
246972012-11-23 Mike Frysinger <vapier@gentoo.org>
24698
24699 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
24700
4e6e34e6
AS
247012012-11-23 Andreas Schwab <schwab@linux-m68k.org>
24702
24703 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24704
7c7feb47
JM
247052012-11-22 Joseph Myers <joseph@codesourcery.com>
24706
7184dcdf
JM
24707 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
24708 LDBL_MANT_DIG == 106]: Disable some tests.
24709 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24710 Likewise.
24711 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24712 Likewise.
24713
0a42601f
JM
24714 [BZ #14871]
24715 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
24716 input for small inputs. Return +/- pi/2 for large inputs.
24717 * math/libm-test.inc (atan_test): Add more tests.
24718
79c9b9fe
JM
24719 * sysdeps/generic/unwind-dw2-fde-glibc.c
24720 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
24721 __attribute__ ((unused)).
24722
c60d3bf2
JM
24723 [BZ #14645]
24724 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
24725 x * y if x and y are nonzero and z is zero.
24726
ef1e0867
JM
24727 [BZ #14811]
24728 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
24729 nonzero exponents with absolute value below 0x1p-117 to +/-
24730 0x1p-117.
24731
1468ded3
JM
24732 [BZ #14869]
24733 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
24734 up arguments below 2**-450, not just those below 2**-500.
24735 * math/libm-test.inc (hypot_test): Add another test.
24736
8e27e3cc
JM
24737 [BZ #14868]
24738 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
24739 Return a+b for ratio over 2**120, not 2**60.
24740 * math/libm-test.inc (hypot_test): Add another test.
24741
c9c0279b
JM
24742 * math/libm-test.inc (clog_test): Use
24743 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
24744 (clog10_test): Likewise.
24745
7c7feb47
JM
24746 [BZ #6778]
24747 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
24748
fff1530e
AS
247492012-11-22 Andreas Schwab <schwab@suse.de>
24750
24751 * sysdeps/i386/fpu/libm-test-ulps: Update.
24752
94558d30
PT
247532012-11-22 Pino Toscano <toscano.pino@tiscali.it>
24754
24755 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
24756 printf output with newline.
24757
7e1be741
L
247582012-11-21 H.J. Lu <hongjiu.lu@intel.com>
24759
6bfea974
L
24760 [BZ #14865]
24761 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
24762 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
24763 -z nodlopen, -z initfirst and -z execstack support.
24764 * configure: Regenerated.
24765
7e1be741
L
24766 * elf/elf.h (DF_1_NODIRECT): New macro.
24767 (DF_1_IGNMULDEF): Likewise.
24768 (DF_1_NOKSYMS): Likewise.
24769 (DF_1_NOHDR): Likewise.
24770 (DF_1_EDITED): Likewise.
24771 (DF_1_NORELOC): Likewise.
24772 (DF_1_SYMINTPOSE): Likewise.
24773 (DF_1_GLOBAUDIT): Likewise.
24774 (DF_1_SINGLETON): Likewise.
24775 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
24776 DT_1_SUPPORTED_MASK bits.
24777 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
24778
105ce2ce
CD
247792012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
24780
24781 * sysdeps/unix/make-syscalls.sh: Document prefixes.
24782
123be9de
TS
247832012-11-20 Thomas Schwinge <thomas@codesourcery.com>
24784
d072f3f7
TS
24785 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
24786 macro.
24787
123be9de
TS
24788 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
24789 (sendmmsg): Move declarations...
24790 * socket/sys/socket.h: ... here.
24791 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
24792 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
24793 include it from...
24794 * socket/recvmmsg.c: ... this new file.
24795 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
24796 (sendmmsg): Rename to __sendmmsg, create weak alias and make
24797 definition of __sendmmsg hidden.
24798 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
24799 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
24800 Move ENOSYS stub into and include it from...
24801 * socket/sendmmsg.c: ... this new file.
24802 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
24803 (sysdep_routines): Move recvmmsg and sendmmsg...
24804 * socket/Makefile (routines): ... here.
24805 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
24806 (GLIBC_PRIVATE): Add __sendmmsg.
24807 * include/sys/socket.h (__sendmmsg): Add declarations.
24808 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
24809 sendmmsg.
24810
cf9a5d18
JM
248112012-11-20 Joseph Myers <joseph@codesourcery.com>
24812
24813 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
24814 variable I1 with __attribute__ ((unused)).
24815 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24816
ecd4caf9
JM
248172012-11-19 Joseph Myers <joseph@codesourcery.com>
24818
be14d48f
JM
24819 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
24820 DUMMY variables with __attribute__ ((unused)).
24821
ecd4caf9
JM
24822 * bits/byteswap.h: Include <bits/types.h>.
24823 (__bswap_64): Use __uint64_t instead of unsigned long long int.
24824
986cab95
PT
248252012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24826
24827 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
24828 string_t. Do not manually set errno.
24829 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
24830 length with __strnlen. Make sure to both set errno and return it on
24831 failure.
24832
6d33cc9d
DM
248332012-11-19 David S. Miller <davem@davemloft.net>
24834
24835 With help from Joseph Myers.
24836 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
24837 very large arguments properly.
24838 * math/libm-test.inc (atan_test): New tests.
24839 (atan2_test): New tests.
24840 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24841 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24842
ee663277
JM
248432012-11-19 Joseph Myers <joseph@codesourcery.com>
24844
877f2d8e
JM
24845 [BZ #14856]
24846 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
24847 Define to 3.
24848
116fc08a
JM
24849 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
24850 [POSIX] (EADDRNOTAVAIL): Likewise.
24851 [POSIX] (EAFNOSUPPORT): Likewise.
24852 [POSIX] (EALREADY): Likewise.
24853 [POSIX] (ECONNABORTED): Likewise.
24854 [POSIX] (ECONNREFUSED): Likewise.
24855 [POSIX] (ECONNRESET): Likewise.
24856 [POSIX] (EDESTADDRREQ): Likewise.
24857 [POSIX] (EDQUOT): Likewise.
24858 [POSIX] (EHOSTUNREACH): Likewise.
24859 [POSIX] (EIDRM): Likewise.
24860 [POSIX] (EISCONN): Likewise.
24861 [POSIX] (ELOOP): Likewise.
24862 [POSIX] (EMULTIHOP): Likewise.
24863 [POSIX] (ENETDOWN): Likewise.
24864 [POSIX] (ENETUNREACH): Likewise.
24865 [POSIX] (ENOBUFS): Likewise.
24866 [POSIX] (ENODATA): Likewise.
24867 [POSIX] (ENOLINK): Likewise.
24868 [POSIX] (ENOMSG): Likewise.
24869 [POSIX] (ENOPROTOOPT): Likewise.
24870 [POSIX] (ENOSR): Likewise.
24871 [POSIX] (ENOSTR): Likewise.
24872 [POSIX] (ENOTCONN): Likewise.
24873 [POSIX] (ENOTSOCK): Likewise.
24874 [POSIX] (EOPNOTSUPP): Likewise.
24875 [POSIX] (EOVERFLOW): Likewise.
24876 [POSIX] (EPROTO): Likewise.
24877 [POSIX] (EPROTONOSUPPORT): Likewise.
24878 [POSIX] (EPROTOTYPE): Likewise.
24879 [POSIX] (ESTALE): Likewise.
24880 [POSIX] (ETIME): Likewise.
24881 [POSIX] (ETXTBSY): Likewise.
24882 [POSIX] (EWOULDBLOCK): Likewise.
24883 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
24884 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
24885 [POSIX] (SEEK_CUR): Likewise.
24886 [POSIX] (SEEK_END): Likewise.
24887 [POSIX || UNIX98] (mode_t): Do not require.
24888 [POSIX] (off_t): Likewise.
24889 [POSIX] (pid_t): Likewise.
24890 [POSIX] (sys/stat.h): Do not allow header.
24891 [POSIX] (unistd.h): Likewise.
24892 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
24893 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
24894 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
24895 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
24896 require.
24897 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
24898 sigevent): Specify elements.
24899 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
24900 entry.
24901 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
24902 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
24903
a483863f
JM
24904 * conform/data/cpio.h-data [POSIX]: Disable whole file.
24905 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
24906 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
24907 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
24908 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
24909 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
24910 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
24911 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
24912 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
24913 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
24914 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
24915 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
24916 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
24917 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
24918 Likewise.
24919 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
24920 Likewise.
24921 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
24922 Likewise.
24923 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
24924 Likewise.
24925 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
24926 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
24927 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
24928 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
24929 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
24930 Specify lower bound on value.
24931 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
24932 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
24933 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
24934 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
24935 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
24936 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
24937 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
24938 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
24939 value.
24940 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
24941 as optional.
24942 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
24943 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
24944 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
24945 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
24946 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
24947 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
24948 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
24949 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
24950 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
24951 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
24952 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
24953 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
24954 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
24955 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
24956 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
24957 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
24958 entry.
24959 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
24960 optional.
24961 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
24962 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
24963 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
24964 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
24965 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
24966 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
24967 Likewise.
24968 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
24969 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
24970 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
24971 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
24972 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
24973 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
24974 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
24975 as optional.
24976 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
24977 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
24978 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
24979 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
24980 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
24981 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
24982 specify as optional.
24983 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
24984 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
24985 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
24986 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
24987 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
24988 [XPG3] (NL_LANGMAX): Likewise.
24989 [POSIX || XPG3] (NL_MSGMAX): Likewise.
24990 [POSIX || XPG3] (NL_NMAX): Likewise.
24991 [POSIX || XPG3] (NL_SETMAX): Likewise.
24992 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
24993 [XPG3] (NZERO): Likewise.
24994 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
24995 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
24996 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
24997 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
24998 (REG_ERANGE): Expect.
24999 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
25000 optional-constant.
25001 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
25002 Use (void) in prototype.
25003 [POSIX] (*_t): Allow.
25004 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
25005 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
25006 (WRDE_BADVAL): Expect.
25007
5ba924e3
JM
25008 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
25009 expect.
25010 [XPG3 || XPG4] (O_RSYNC): Likewise.
25011 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
25012 Likewise.
25013 [XPG3 || XPG4] (pthread_sigmask): Likewise.
25014 [XPG3 || XPG4] (sigqueue): Likewise.
25015 [XPG3 || XPG4] (sigtimedwait): Likewise.
25016 [XPG3 || XPG4] (sigwaitinfo): Likewise.
25017 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
25018 [XPG3 || XPG4] (vsnprintf): Likewise.
25019 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
25020 Likewise.
25021 [XPG3 || XPG4] (blksize_t): Likewise.
25022 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
25023 Likewise.
25024 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
25025 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25026 [XPG3 || XPG4] (struct itimerspec): Likewise.
25027 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
25028 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
25029 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
25030 [XPG3 || XPG4] (clockid_t): Likewise.
25031 [XPG3 || XPG4] (timer_t): Likewise.
25032 [XPG3 || XPG4] (clock_getres): Likewise.
25033 [XPG3 || XPG4] (clock_gettime): Likewise.
25034 [XPG3 || XPG4] (clock_settime): Likewise.
25035 [XPG3 || XPG4] (nanosleep): Likewise.
25036 [XPG3 || XPG4] (timer_create): Likewise.
25037 [XPG3 || XPG4] (timer_delete): Likewise.
25038 [XPG3 || XPG4] (timer_gettime): Likewise.
25039 [XPG3 || XPG4] (timer_getoverrun): Likewise.
25040 [XPG3 || XPG4] (timer_settime): Likewise.
25041 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
25042 [XPG3 || XPG4] (getlogin_r): Likewise.
25043 [XPG3 || XPG4] (pread): Likewise.
25044 [XPG3 || XPG4] (pthread_atfork): Likewise.
25045 [XPG3 || XPG4] (pwrite): Likewise.
25046
ee663277
JM
25047 [BZ #14835]
25048 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
25049 <bits/siginfo.h>.
25050
942caa16
PT
250512012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25052
e19af380
PT
25053 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
25054 finalizing MALLSTREAM.
25055
942caa16
PT
25056 * sysdeps/mach/hurd/syncfs.c: New file.
25057
cfde9b46
SP
250582012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25059
25060 [BZ #14719]
25061 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
25062 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
25063 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
25064 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
25065 (_nss_dns_gethostbyname4_r): Likewise.
25066 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
25067 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
25068
f6da27e5
PH
250692012-11-19 Peng Haitao <penght@cn.fujitsu.com>
25070
25071 [BZ #13763]
25072 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
25073
6665d4a2
SM
250742012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
25075
1f51ee92
SM
25076 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
25077 * elf/cache.c (print_entry): Print ",AArch64" for
25078 FLAG_AARCH64_LIB64
25079
6665d4a2
SM
25080 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
25081 * elf/cache.c (print_entry): Print ",hard-float" for
25082 FLAG_ARM_LIBHF.
25083
05b227bd
DM
250842012-11-18 David S. Miller <davem@davemloft.net>
25085
25086 With help from Joseph Myers.
25087 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
25088 cutoff to 2**-13.
25089 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
25090 cutoff to 2**-25.
25091 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
25092 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
25093 small.
25094 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
25095 * math/libm-test.inc (y0_test): New tests.
25096 (y1_test): New tests.
25097 * sysdeps/i386/fpu/libm-test-ulps: Update.
25098 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25099 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25100
786b0b67
AS
251012012-11-18 Andreas Schwab <schwab@linux-m68k.org>
25102
25103 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
25104 64-bit targets.
25105 * configure: Regenerated.
25106
8e18b86d
DM
251072012-11-17 David S. Miller <davem@davemloft.net>
25108
25109 [BZ #14811]
25110 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
25111 nonzero exponents with absolute value below 0x1p-128 to +/-
25112 0x1p-128.
25113
531f1ae0
JM
251142012-11-17 Joseph Myers <joseph@codesourcery.com>
25115
12df29e2
JM
25116 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
25117
150dc1a0
JM
25118 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
25119
531f1ae0
JM
25120 * posix/getconf-speclist.c: New file.
25121 * posix/posix-envs.def: Likewise.
25122 * posix/confstr.c (START_ENV_GROUP): New macro.
25123 (END_ENV_GROUP): Likewise.
25124 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25125 (KNOWN_PRESENT_ENV_STRING): Likewise.
25126 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25127 (UNKNOWN_ENVIRONMENT): Likewise.
25128 (confstr): Include posix-envs.def instead of handling
25129 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
25130 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
25131 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
25132 (END_ENV_GROUP): Likewise.
25133 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25134 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25135 (UNKNOWN_ENVIRONMENT): Likewise.
25136 (__sysconf): Include posix-envs.def instead of handling associated
25137 cases directly here.
25138 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
25139 preprocessing getconf-speclist.c rather than running getconf or
25140 generating empty file.
25141
a93f9cbc
PT
251422012-11-16 Pino Toscano <toscano.pino@tiscali.it>
25143
25144 * scripts/check-local-headers.sh: Ignore 'mach' headers.
25145
d64d9f87
AL
251462012-11-16 Andrej Lajovic <natrij@gmail.com>
25147
25148 [BZ #14672]
25149 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
25150
447885eb
DM
251512012-11-16 David S. Miller <davem@davemloft.net>
25152
25153 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
25154 smaller than LDBL_EPSILON/2.0L, just return xm1.
25155
bcbf9830
L
251562012-11-16 H.J. Lu <hongjiu.lu@intel.com>
25157
25158 * elf/tst-array1.c (init): Set constructor priority to 1000.
25159 (fini): Set destructor priority to 1000.
25160 * elf/tst-array2dep.c: Likewise.
25161
2b766585
SP
251622012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25163
25164 [BZ #11741]
25165 * libio/fileops.c (_IO_new_file_write): Correctly return error.
25166 (_IO_new_file_xsputn): Also return EOF if none of the input
25167 data was written when overflow failed.
25168 * libio/iopadn.c (_IO_padn): Likewise.
25169 * libio/iowpadn.c (_IO_wpadn): Likewise.
25170 * stdio-common/tst-put-error.c: Add copyright notice.
25171 (do_test): Add case for printing padded string.
25172 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
25173 _IO_padn returned error.
25174 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
25175 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
25176 return EOF.
25177
b1848fde
SP
251782012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25179
25180 * libio/libioP.h: Add comment note that the references to C++
25181 bits are now obsolete.
25182
2fd89785
MS
251832012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25184
25185 * math/libm-test.inc (check_complex): Use asprintf.
25186
e3ea5409
JM
251872012-11-14 Joseph Myers <joseph@codesourcery.com>
25188
25189 * debug/pcprofiledump.c (print_version): Update copyright year.
25190 * malloc/memusagestat.c (print_version): Likewise.
25191
2e64d265
L
251922012-11-14 H.J. Lu <hongjiu.lu@intel.com>
25193
25194 [BZ #14831]
25195 * elf/Makefile (tests): Add tst-audit8.
25196 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
25197 ($(objpfx)tst-audit8.out): New target.
25198 (tst-audit8-ENV): New variable.
25199 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
25200 audit if l_reloc_result is NULL.
25201 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
25202 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
25203 * elf/tst-audit8.c: New file.
25204
c485e4d2
MS
252052012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25206
25207 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
25208 * misc/Makefile (CFLAGS-select.c): Define.
25209 * posix/Makefile (CFLAGS-pause.c): Define.
25210
3a0d900a
DM
252112012-11-13 David S. Miller <davem@davemloft.net>
25212
25213 * crypt/Makefile: Move test targets after toplevel Rules
25214 inclusion. Grab any necessary sysdep routines when linking.
25215 * crypt/md5.c (md5_process_block): Remove define, we will always
25216 name it __md5_process_block.
25217 (md5_finish_ctx): Update md5_process_block call.
25218 (md5_stream): Likewise.
25219 (md5_process_bytes): Likewise.
25220 (md5_process_block): Rename to __md5_process_block and move to ...
25221 * crypt/md5-block.c: ... here.
25222 * crypt/sha256.c (sha256_process_block): Move to ...
25223 * crypt/sha256-block.c: ... here.
25224 * crypt/sha512.c (sha512_process_block): Move to ...
25225 * crypt/sha512-block.c: ... here.
25226 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
25227 path.
25228 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
25229 * sysdeps/sparc/sparc64/multiarch/Makefile
25230 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
25231 crypt subdir.
25232 (localedef-aux): Add md5 crypto assembler when in locale subdir.
25233 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
25234 multiarch changes.
25235 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
25236 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
25237 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
25238 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
25239 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
25240 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
25241 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
25242 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
25243 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
25244 file.
25245 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
25246 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
25247 file.
25248 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
25249
8ca89318
JM
252502012-11-13 Joseph Myers <joseph@codesourcery.com>
25251
e27d476a
JM
25252 * timezone/tzselect.ksh: Update from tzcode git revision
25253 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
25254 * timezone/zdump.c: Likewise.
25255 * timezone/zic.c: Likewise.
25256 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
25257 in TZVERSION setting, not $(PKGVERSION).
25258 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
25259 REPORT_BUGS_TO settings.
25260
8ca89318
JM
25261 [BZ #14838]
25262 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
25263 macro.
25264
47594329
MS
252652012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25266
25267 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
25268 detection to immediately after _FP_ROUND().
25269 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
25270 bits are 0.
25271
640ac3f1
DM
252722012-11-11 David S. Miller <davem@davemloft.net>
25273
25274 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
25275 inttypes.h
25276 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
25277 __close rather than their public counterparts.
25278
3d2577bb
JM
252792012-11-10 Joseph Myers <joseph@codesourcery.com>
25280
25281 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
25282 file.
25283 [UNIX98] (sem_timedwait): Do not expect.
25284 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
25285 [XPG4 || UNIX98] (sockatmark): Do not expect.
25286 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
25287 (clock_getcpuclockid): Do not expect.
25288 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
25289 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
25290 Do not expect.
25291 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
25292 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
25293 [UNIX98] (vwscanf): Likewise.
25294 [UNIX98] (vswscanf): Likewise.
25295
fb1ae1ee
JM
252962012-11-09 Joseph Myers <joseph@codesourcery.com>
25297
9ec6f8bd
JM
25298 * timezone/version.h: Remove file.
25299 * timezone/README: Do not refer to version.h.
25300 * timezone/Makefile ($(objpfx)zic.o): New dependency on
25301 $(objpfx)version.h.
25302 ($(objpfx)zdump.o): Likewise.
c3f81911 25303 ($(objpfx)version.h): New target.
9ec6f8bd 25304
0aa8f8a1
JM
25305 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
25306 2012i.
25307 * timezone/README: Don't mention modification to tzselect.ksh.
25308 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
25309 work on unmodified tzselect.ksh. Substitute version numbers in
25310 tzselect.ksh.
25311
4e87147f
JM
25312 * Makefile (format-me): Remove.
25313 (INSTALL): Adjust indentation. Use commands directly instead of
25314 using $(format-me).
25315
8b748aed
JM
25316 * aclocal.m4 (ACX_PKGVERSION): New macro.
25317 (ACX_BUGURL): Likewise.
25318 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
25319 (PKGVERSION): New AC_DEFINE_UNQUOTED.
25320 (REPORT_BUGS_TO): Likewise.
25321 * configure: Regenerated.
25322 * config.h.in (PKGVERSION): New macro.
25323 (REPORT_BUGS_TO): Likewise.
25324 * config.make.in (PKGVERSION): New variable.
25325 (PKGVERSION_TEXI): Likewise.
25326 (REPORT_BUGS_TO): Likewise.
25327 (REPORT_BUGS_TEXI): Likewise.
25328 * Makefile (format-me): Use -I$(common-objpfx)manual.
25329 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
25330 ($(common-objpfx)manual/%): New target.
25331 (manual/%): Remove target.
25332 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
25333 (print_version): Use PKGVERSION.
25334 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
25335 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
25336 and REPORT_BUGS_TO.
25337 ($(objpfx)xtrace): Likewise.
25338 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
25339 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
25340 (print_version): Use PKGVERSION.
25341 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
25342 (do_version): Use PKGVERSION.
25343 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
25344 REPORT_BUGS_TO.
25345 (common-ldd-rewrite): Likewise.
25346 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
25347 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
25348 (print_version): Use PKGVERSION.
25349 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
25350 * elf/pldd.c (argp_program_bug_address): Remove variable.
25351 (more_help): New function.
25352 (argp): Use more_help.
25353 (print_version): Use PKGVERSION.
25354 * elf/sln.c (main): Use PKGVERSION.
25355 (usage): Use REPORT_BUGS_TO.
25356 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
25357 (top level): Use PKGVERSION.
25358 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
25359 (print_version): Use PKGVERSION.
25360 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
25361 (print_version): Use PKGVERSION.
25362 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
25363 (print_version): Use PKGVERSION.
25364 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
25365 (print_version): Use PKGVERSION.
25366 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
25367 (print_version): Use PKGVERSION.
25368 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
25369 (print_version): Use PKGVERSION.
25370 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
25371 and BUGURL.
25372 ($(objpfx)memusage): Likewise.
25373 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
25374 (do_version): Use PKGVERSION.
25375 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
25376 (print_version): Use PKGVERSION.
25377 * malloc/mtrace.pl ($PACKAGE): Remove variable.
25378 ($PKGVERSION): New variable.
25379 ($REPORT_BUGS_TO): Likewise.
25380 (usage): Use $REPORT_BUGS_TO.
25381 (top level): Use $PKGVERSION.
25382 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
25383 ($(objpfx)pkgvers.texi): New rule.
25384 ($(objpfx)stamp-pkgvers): Likewise.
25385 * manual/install.texi: Include pkgvers.texi.
25386 (--with-pkgversion): Document new configure option.
25387 (--with-bugurl): Likewise.
25388 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
25389 than necessarily for this particular distribution. Use
25390 REPORT_BUGS_TO for where to report bugs.
25391 * INSTALL: Regenerated.
25392 * manual/libc.texinfo: Include pkgvers.texi.
25393 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
25394 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
25395 (print_version): Use PKGVERSION.
25396 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
25397 (print_version): Use PKGVERSION.
25398 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
25399 (print_version): Use PKGVERSION.
25400 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
25401 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
25402 macro.
25403 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
25404 (print_version): Use PKGVERSION.
25405 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
25406 (print_version): Use PKGVERSION.
25407 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
25408 and PKGVERSION.
25409
92e4b6a9
JM
25410 * timezone/checktab.awk: Update from tzcode 2012i.
25411 * timezone/ialloc.c: Likewise.
25412 * timezone/private.h: Likewise.
25413 * timezone/scheck.c: Likewise.
25414 * timezone/tzfile.h: Likewise.
25415 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
25416 (TZVERSION): Hardcode tzcode version number.
25417 * timezone/zdump.c: Update from tzcode 2012i.
25418 * timezone/zic.c: Likewise.
25419 * timezone/version.h: New file.
25420 * timezone/README: Describe version.h. Update upstream location.
25421
9bde902c
JM
25422 [BZ #14824]
25423 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
25424 (mktemp): Enable declaration.
25425 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
25426 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
25427 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
25428 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
25429 Likewise.
25430 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
25431 Likewise.
25432 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
25433 Likewise.
25434 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
25435 Likewise.
25436 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
25437 Likewise.
25438 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
25439 Likewise.
25440
fb1ae1ee
JM
25441 [BZ #14821]
25442 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
25443 offset in buffer as u_int32_t not u_long. Consistently use memcpy
25444 for copies of such integer values.
25445 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25446 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25447
2c1adbcb
AJ
254482012-11-09 Andreas Jaeger <aj@suse.de>
25449
25450 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
25451 definitions and declarations that are provided by
25452 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25453
d0f8457e
AK
254542012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25455
3a235abb 25456 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
25457 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
25458 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
25459 definition.
25460
57241e26
MS
254612012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25462
25463 * elf/elf.h: Update comment before AArch64 relocations.
25464
60e8270d
DM
254652012-11-07 David S. Miller <davem@davemloft.net>
25466
25467 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
25468 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25469 (__start_context): Declare.
25470 (__makecontext_ret): Delete.
25471 (__makecontext): Hook up __start_context instead of
25472 __makecontext_ret.
25473 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
25474 (sysdep_routines): Add __start_context when in stdlib.
25475
0fbb0fbc
JM
254762012-11-07 Joseph Myers <joseph@codesourcery.com>
25477
25478 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
25479 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
25480 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
25481 hardcoded "nm".
25482 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
25483 (READELF): New variable. Use it instead of hardcoded "readelf".
25484
eb48db7e
L
254852012-11-07 H.J. Lu <hongjiu.lu@intel.com>
25486
25487 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
25488 * sysdeps/x86/Makefile: Here.
25489 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
25490 * sysdeps/x86/tst-xmmymm.sh: This.
25491
05bcf62a
JM
254922012-11-07 Joseph Myers <joseph@codesourcery.com>
25493
c4b6cf53
JM
25494 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
25495 expectations.
25496 [UNIX98] (pthread_barrier_t): Do not expect.
25497 [UNIX98] (pthread_barrierattr_t): Likewise.
25498 [UNIX98] (pthread_spinlock_t): Likewise.
25499 [UNIX98] (pthread_barrier_destroy): Likewise.
25500 [UNIX98] (pthread_barrier_init): Likewise.
25501 [UNIX98] (pthread_barrier_wait): Likewise.
25502 [UNIX98] (pthread_barrierattr_destroy): Likewise.
25503 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
25504 [UNIX98] (pthread_barrierattr_init): Likewise.
25505 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
25506 [UNIX98] (pthread_getcpuclockid): Likewise.
25507 [UNIX98] (pthread_mutex_timedlock): Likewise.
25508 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
25509 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
25510 [UNIX98] (pthread_sigmask): Likewise.
25511 [UNIX98] (pthread_spin_destroy): Likewise.
25512 [UNIX98] (pthread_spin_init): Likewise.
25513 [UNIX98] (pthread_spin_lock): Likewise.
25514 [UNIX98] (pthread_spin_trylock): Likewise.
25515 [UNIX98] (pthread_spin_unlock): Likewise.
25516 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
25517 Do not expect.
25518 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
25519 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
25520 [XPG3 || XPG4] (pthread_cond_t): Likewise.
25521 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
25522 [XPG3 || XPG4] (pthread_key_t): Likewise.
25523 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
25524 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
25525 [XPG3 || XPG4] (pthread_once_t): Likewise.
25526 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
25527 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
25528 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
25529 [XPG3 || XPG4] (pthread_t): Likewise.
25530
cbe6e120
JM
25531 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
25532 not expect.
25533 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
25534
1b126443
JM
25535 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
25536 Change function return type to int.
25537
b961a573
JM
25538 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
25539 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
25540 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
25541 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
25542 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
25543 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
25544 [!POSIX] (posix_madvise): Likewise.
25545 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
25546 && !UNIX98].
25547 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
25548 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
25549 (mode_t): Likewise.
25550 (posix_mem_offset): Likewise.
25551 (posix_typed_mem_get_info): Likewise.
25552 (posix_typed_mem_open): Likewise.
25553
9e188909
JM
25554 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
25555 Change condition to [XOPEN2K8].
25556
05bcf62a
JM
25557 * conform/conformtest.pl: Preprocess allow-header data with -x c
25558 instead of from stdin.
25559 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
25560 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
25561 [C99-based standards] (cerfc): Likewise.
25562 [C99-based standards] (cexp2): Likewise.
25563 [C99-based standards] (cexpm1): Likewise.
25564 [C99-based standards] (clog10): Likewise.
25565 [C99-based standards] (clog1p): Likewise.
25566 [C99-based standards] (clog2): Likewise.
25567 [C99-based standards] (clgamma): Likewise.
25568 [C99-based standards] (ctgamma): Likewise.
25569 [C99-based standards] (cerff): Likewise.
25570 [C99-based standards] (cerfcf): Likewise.
25571 [C99-based standards] (cexp2f): Likewise.
25572 [C99-based standards] (cexpm1f): Likewise.
25573 [C99-based standards] (clog10f): Likewise.
25574 [C99-based standards] (clog1pf): Likewise.
25575 [C99-based standards] (clog2f): Likewise.
25576 [C99-based standards] (clgammaf): Likewise.
25577 [C99-based standards] (ctgammaf): Likewise.
25578 [C99-based standards] (cerfl): Likewise.
25579 [C99-based standards] (cerfcl): Likewise.
25580 [C99-based standards] (cexp2l): Likewise.
25581 [C99-based standards] (cexpm1l): Likewise.
25582 [C99-based standards] (clog10l): Likewise.
25583 [C99-based standards] (clog1pl): Likewise.
25584 [C99-based standards] (clog2l): Likewise.
25585 [C99-based standards] (clgammal): Likewise.
25586 [C99-based standards] (ctgammal): Likewise.
25587 * conform/data/inttypes.h-data [C99-based standards]: Include
25588 stdint.h-data. Remove all expectations for stdint.h contents.
25589 [C99-based standards] (PRI*): Do not allow.
25590 [C99-based standards] (SCN*): Likewise.
25591 [C99-based standards] (*_t): Likewise.
25592 [C99-based-standards] (PRId8): Expect macro.
25593 [C99-based-standards] (PRIi8): Likewise.
25594 [C99-based-standards] (PRIo8): Likewise.
25595 [C99-based-standards] (PRIu8): Likewise.
25596 [C99-based-standards] (PRIx8): Likewise.
25597 [C99-based-standards] (PRIX8): Likewise.
25598 [C99-based-standards] (SCNd8): Likewise.
25599 [C99-based-standards] (SCNi8): Likewise.
25600 [C99-based-standards] (SCNo8): Likewise.
25601 [C99-based-standards] (SCNu8): Likewise.
25602 [C99-based-standards] (SCNx8): Likewise.
25603 [C99-based-standards] (PRIdLEAST8): Likewise.
25604 [C99-based-standards] (PRIiLEAST8): Likewise.
25605 [C99-based-standards] (PRIoLEAST8): Likewise.
25606 [C99-based-standards] (PRIuLEAST8): Likewise.
25607 [C99-based-standards] (PRIxLEAST8): Likewise.
25608 [C99-based-standards] (PRIXLEAST8): Likewise.
25609 [C99-based-standards] (SCNdLEAST8): Likewise.
25610 [C99-based-standards] (SCNiLEAST8): Likewise.
25611 [C99-based-standards] (SCNoLEAST8): Likewise.
25612 [C99-based-standards] (SCNuLEAST8): Likewise.
25613 [C99-based-standards] (SCNxLEAST8): Likewise.
25614 [C99-based-standards] (PRIdFAST8): Likewise.
25615 [C99-based-standards] (PRIiFAST8): Likewise.
25616 [C99-based-standards] (PRIoFAST8): Likewise.
25617 [C99-based-standards] (PRIuFAST8): Likewise.
25618 [C99-based-standards] (PRIxFAST8): Likewise.
25619 [C99-based-standards] (PRIXFAST8): Likewise.
25620 [C99-based-standards] (SCNdFAST8): Likewise.
25621 [C99-based-standards] (SCNiFAST8): Likewise.
25622 [C99-based-standards] (SCNoFAST8): Likewise.
25623 [C99-based-standards] (SCNuFAST8): Likewise.
25624 [C99-based-standards] (SCNxFAST8): Likewise.
25625 [C99-based-standards] (PRId16): Likewise.
25626 [C99-based-standards] (PRIi16): Likewise.
25627 [C99-based-standards] (PRIo16): Likewise.
25628 [C99-based-standards] (PRIu16): Likewise.
25629 [C99-based-standards] (PRIx16): Likewise.
25630 [C99-based-standards] (PRIX16): Likewise.
25631 [C99-based-standards] (SCNd16): Likewise.
25632 [C99-based-standards] (SCNi16): Likewise.
25633 [C99-based-standards] (SCNo16): Likewise.
25634 [C99-based-standards] (SCNu16): Likewise.
25635 [C99-based-standards] (SCNx16): Likewise.
25636 [C99-based-standards] (PRIdLEAST16): Likewise.
25637 [C99-based-standards] (PRIiLEAST16): Likewise.
25638 [C99-based-standards] (PRIoLEAST16): Likewise.
25639 [C99-based-standards] (PRIuLEAST16): Likewise.
25640 [C99-based-standards] (PRIxLEAST16): Likewise.
25641 [C99-based-standards] (PRIXLEAST16): Likewise.
25642 [C99-based-standards] (SCNdLEAST16): Likewise.
25643 [C99-based-standards] (SCNiLEAST16): Likewise.
25644 [C99-based-standards] (SCNoLEAST16): Likewise.
25645 [C99-based-standards] (SCNuLEAST16): Likewise.
25646 [C99-based-standards] (SCNxLEAST16): Likewise.
25647 [C99-based-standards] (PRIdFAST16): Likewise.
25648 [C99-based-standards] (PRIiFAST16): Likewise.
25649 [C99-based-standards] (PRIoFAST16): Likewise.
25650 [C99-based-standards] (PRIuFAST16): Likewise.
25651 [C99-based-standards] (PRIxFAST16): Likewise.
25652 [C99-based-standards] (PRIXFAST16): Likewise.
25653 [C99-based-standards] (SCNdFAST16): Likewise.
25654 [C99-based-standards] (SCNiFAST16): Likewise.
25655 [C99-based-standards] (SCNoFAST16): Likewise.
25656 [C99-based-standards] (SCNuFAST16): Likewise.
25657 [C99-based-standards] (SCNxFAST16): Likewise.
25658 [C99-based-standards] (PRId32): Likewise.
25659 [C99-based-standards] (PRIi32): Likewise.
25660 [C99-based-standards] (PRIo32): Likewise.
25661 [C99-based-standards] (PRIu32): Likewise.
25662 [C99-based-standards] (PRIx32): Likewise.
25663 [C99-based-standards] (PRIX32): Likewise.
25664 [C99-based-standards] (SCNd32): Likewise.
25665 [C99-based-standards] (SCNi32): Likewise.
25666 [C99-based-standards] (SCNo32): Likewise.
25667 [C99-based-standards] (SCNu32): Likewise.
25668 [C99-based-standards] (SCNx32): Likewise.
25669 [C99-based-standards] (PRIdLEAST32): Likewise.
25670 [C99-based-standards] (PRIiLEAST32): Likewise.
25671 [C99-based-standards] (PRIoLEAST32): Likewise.
25672 [C99-based-standards] (PRIuLEAST32): Likewise.
25673 [C99-based-standards] (PRIxLEAST32): Likewise.
25674 [C99-based-standards] (PRIXLEAST32): Likewise.
25675 [C99-based-standards] (SCNdLEAST32): Likewise.
25676 [C99-based-standards] (SCNiLEAST32): Likewise.
25677 [C99-based-standards] (SCNoLEAST32): Likewise.
25678 [C99-based-standards] (SCNuLEAST32): Likewise.
25679 [C99-based-standards] (SCNxLEAST32): Likewise.
25680 [C99-based-standards] (PRIdFAST32): Likewise.
25681 [C99-based-standards] (PRIiFAST32): Likewise.
25682 [C99-based-standards] (PRIoFAST32): Likewise.
25683 [C99-based-standards] (PRIuFAST32): Likewise.
25684 [C99-based-standards] (PRIxFAST32): Likewise.
25685 [C99-based-standards] (PRIXFAST32): Likewise.
25686 [C99-based-standards] (SCNdFAST32): Likewise.
25687 [C99-based-standards] (SCNiFAST32): Likewise.
25688 [C99-based-standards] (SCNoFAST32): Likewise.
25689 [C99-based-standards] (SCNuFAST32): Likewise.
25690 [C99-based-standards] (SCNxFAST32): Likewise.
25691 [C99-based-standards] (PRId64): Likewise.
25692 [C99-based-standards] (PRIi64): Likewise.
25693 [C99-based-standards] (PRIo64): Likewise.
25694 [C99-based-standards] (PRIu64): Likewise.
25695 [C99-based-standards] (PRIx64): Likewise.
25696 [C99-based-standards] (PRIX64): Likewise.
25697 [C99-based-standards] (SCNd64): Likewise.
25698 [C99-based-standards] (SCNi64): Likewise.
25699 [C99-based-standards] (SCNo64): Likewise.
25700 [C99-based-standards] (SCNu64): Likewise.
25701 [C99-based-standards] (SCNx64): Likewise.
25702 [C99-based-standards] (PRIdLEAST64): Likewise.
25703 [C99-based-standards] (PRIiLEAST64): Likewise.
25704 [C99-based-standards] (PRIoLEAST64): Likewise.
25705 [C99-based-standards] (PRIuLEAST64): Likewise.
25706 [C99-based-standards] (PRIxLEAST64): Likewise.
25707 [C99-based-standards] (PRIXLEAST64): Likewise.
25708 [C99-based-standards] (SCNdLEAST64): Likewise.
25709 [C99-based-standards] (SCNiLEAST64): Likewise.
25710 [C99-based-standards] (SCNoLEAST64): Likewise.
25711 [C99-based-standards] (SCNuLEAST64): Likewise.
25712 [C99-based-standards] (SCNxLEAST64): Likewise.
25713 [C99-based-standards] (PRIdFAST64): Likewise.
25714 [C99-based-standards] (PRIiFAST64): Likewise.
25715 [C99-based-standards] (PRIoFAST64): Likewise.
25716 [C99-based-standards] (PRIuFAST64): Likewise.
25717 [C99-based-standards] (PRIxFAST64): Likewise.
25718 [C99-based-standards] (PRIXFAST64): Likewise.
25719 [C99-based-standards] (SCNdFAST64): Likewise.
25720 [C99-based-standards] (SCNiFAST64): Likewise.
25721 [C99-based-standards] (SCNoFAST64): Likewise.
25722 [C99-based-standards] (SCNuFAST64): Likewise.
25723 [C99-based-standards] (SCNxFAST64): Likewise.
25724 [C99-based-standards] (PRIdMAX): Likewise.
25725 [C99-based-standards] (PRIiMAX): Likewise.
25726 [C99-based-standards] (PRIoMAX): Likewise.
25727 [C99-based-standards] (PRIuMAX): Likewise.
25728 [C99-based-standards] (PRIxMAX): Likewise.
25729 [C99-based-standards] (PRIXMAX): Likewise.
25730 [C99-based-standards] (SCNdMAX): Likewise.
25731 [C99-based-standards] (SCNiMAX): Likewise.
25732 [C99-based-standards] (SCNoMAX): Likewise.
25733 [C99-based-standards] (SCNuMAX): Likewise.
25734 [C99-based-standards] (SCNxMAX): Likewise.
25735 [C99-based-standards] (PRIdPTR): Likewise.
25736 [C99-based-standards] (PRIiPTR): Likewise.
25737 [C99-based-standards] (PRIoPTR): Likewise.
25738 [C99-based-standards] (PRIuPTR): Likewise.
25739 [C99-based-standards] (PRIxPTR): Likewise.
25740 [C99-based-standards] (PRIXPTR): Likewise.
25741 [C99-based-standards] (SCNdPTR): Likewise.
25742 [C99-based-standards] (SCNiPTR): Likewise.
25743 [C99-based-standards] (SCNoPTR): Likewise.
25744 [C99-based-standards] (SCNuPTR): Likewise.
25745 [C99-based-standards] (SCNxPTR): Likewise.
25746 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
25747 allow.
25748 * conform/data/stdint.h-data: Update comments to clarify
25749 requirements.
25750 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
25751 type.
25752 [C99-based standards] (INT8_MAX): Likewise.
25753 [C99-based standards] (INT16_MIN): Likewise.
25754 [C99-based standards] (INT16_MAX): Likewise.
25755 [C99-based standards] (INT32_MIN): Likewise.
25756 [C99-based standards] (INT32_MAX): Likewise.
25757 [C99-based standards] (INT64_MIN): Likewise.
25758 [C99-based standards] (INT64_MAX): Likewise.
25759 [C99-based standards] (UINT8_MAX): Likewise.
25760 [C99-based standards] (UINT16_MAX): Likewise.
25761 [C99-based standards] (UINT32_MAX): Likewise.
25762 [C99-based standards] (UINT64_MAX): Likewise.
25763 [C99-based standards] (INT_LEAST8_MIN): Likewise.
25764 [C99-based standards] (INT_LEAST8_MAX): Likewise.
25765 [C99-based standards] (INT_LEAST16_MIN): Likewise.
25766 [C99-based standards] (INT_LEAST16_MAX): Likewise.
25767 [C99-based standards] (INT_LEAST32_MIN): Likewise.
25768 [C99-based standards] (INT_LEAST32_MAX): Likewise.
25769 [C99-based standards] (INT_LEAST64_MIN): Likewise.
25770 [C99-based standards] (INT_LEAST64_MAX): Likewise.
25771 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
25772 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
25773 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
25774 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
25775 [C99-based standards] (INT_FAST8_MIN): Likewise.
25776 [C99-based standards] (INT_FAST8_MAX): Likewise.
25777 [C99-based standards] (INT_FAST16_MIN): Likewise.
25778 [C99-based standards] (INT_FAST16_MAX): Likewise.
25779 [C99-based standards] (INT_FAST32_MIN): Likewise.
25780 [C99-based standards] (INT_FAST32_MAX): Likewise.
25781 [C99-based standards] (INT_FAST64_MIN): Likewise.
25782 [C99-based standards] (INT_FAST64_MAX): Likewise.
25783 [C99-based standards] (UINT_FAST8_MAX): Likewise.
25784 [C99-based standards] (UINT_FAST16_MAX): Likewise.
25785 [C99-based standards] (UINT_FAST32_MAX): Likewise.
25786 [C99-based standards] (UINT_FAST64_MAX): Likewise.
25787 [C99-based standards] (INTPTR_MIN): Likewise.
25788 [C99-based standards] (INTPTR_MAX): Likewise.
25789 [C99-based standards] (UINTPTR_MAX): Likewise.
25790 [C99-based standards] (INTMAX_MIN): Likewise.
25791 [C99-based standards] (INTMAX_MAX): Likewise.
25792 [C99-based standards] (UINTMAX_MAX): Likewise.
25793 [C99-based standards] (PTRDIFF_MIN): Likewise.
25794 [C99-based standards] (PTRDIFF_MAX): Likewise.
25795 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
25796 [C99-based standards] (SIZE_MAX): Likewise.
25797 [C99-based standards] (WCHAR_MAX): Likewise.
25798 [C99-based standards] (WINT_MAX): Likewise.
25799 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
25800 constraint on value.
25801 [C99-based standards] (WCHAR_MIN): Likewise.
25802 [C99-based standards] (WINT_MIN): Likewise.
25803 [C99-based standards] (*_t): Allow.
25804 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
25805 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
25806 Include math.h-data and complex.h-data. Remove all expectations
25807 of math.h and complex.h contents.
25808 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
25809 at end of line.
25810 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
25811 (struct tm): Expect tag.
25812 [C99-based-standards] (wcstof): Expect function.
25813 [C99-based-standards] (wcstold): Likewise.
25814 [C99-based-standards] (wcstoll): Likewise.
25815 [C99-based-standards] (wcstoull): Likewise.
25816 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
25817 macro-int-constant. Specify type.
25818 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
25819 constraint on value.
25820 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25821 Specify type.
25822 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
25823 Specify value.
25824 [ISO C standards]: Do not allow headers.
25825 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
25826 wcs[abcdefghijklmnopqrstuvwxyz]*.
25827 [ISO C standards] (*_t): Do not allow.
25828 * conform/data/wctype.h-data [C99-based standards] (iswblank):
25829 Expect function.
25830 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
25831 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25832 Specify type.
25833 [ISO C standards]: Do not allow headers.
25834 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
25835 is[abcdefghijklmnopqrstuvwxyz]*.
25836 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
25837 to[abcdefghijklmnopqrstuvwxyz]*.
25838 [ISO C standards] (*_t): Do not allow.
25839 * conform/data/stdalign.h-data: New file.
25840 * conform/data/stdbool.h-data: Likewise.
25841 * conform/data/stdnoreturn.h-data: Likewise.
25842
7514feb8
RM
258432012-11-07 Roland McGrath <roland@hack.frob.com>
25844
25845 [BZ #14815]
25846 * manual/filesys.texi (Directory Entries): Typo fix.
25847 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
25848
19b2ecfc
MS
258492012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25850
25851 * elf/elf.h (EM_AARCH64): New macro.
25852 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
25853 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
25854 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
25855 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
25856 (R_AARCH64_TLSDESC): Likewise.
25857 (NT_ARM_TLS): Likewise.
25858 (NT_ARM_HW_BREAK): Likewise.
25859 (NT_ARM_HW_WATCH): Likewise.
25860
60e235ee
JM
258612012-11-07 Joseph Myers <joseph@codesourcery.com>
25862
25863 [BZ #14811]
25864 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
25865 (__ieee754_powl): Saturate nonzero exponents with absolute value
25866 below 0x1p-79 to +/- 0x1p-79.
25867 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
25868 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
25869 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
25870 nonzero exponents with absolute value below 0x1p-32 to +/-
25871 0x1p-32.
25872 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
25873 (__ieee754_powl): Saturate nonzero exponents with absolute value
25874 below 0x1p-79 to +/- 0x1p-79.
25875 * math/libm-test.inc (pow_test): Add more tests.
25876
0ab234b7
AK
258772012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25878
25879 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
25880 _dl_s390_cap_flags with kernel. Increase string length.
25881 (_dl_s390_platforms): Add z196 and zEC12.
25882
45832f74
JM
258832012-11-07 Joseph Myers <joseph@codesourcery.com>
25884
25885 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
25886 Change XOPEN21K to XOPEN2K.
25887
19218757
MK
258882012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
25889
25890 * string/memmove.c: Use memcpy when possible.
25891
c5f45721
AJ
258922012-11-06 Andreas Jaeger <aj@suse.de>
25893
25894 * po/eo.po: Update from translation team.
25895
82477c28
JM
258962012-11-06 Joseph Myers <joseph@codesourcery.com>
25897
25898 [BZ #14793]
25899 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
25900 exponent and small x and y exponents, scale x or y up. Increase
25901 by 2 the exponent used in scaling up.
25902 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25903 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25904 * math/libm-test.inc (fma_test): Add more tests.
25905 (fma_test_towardzero): Likewise.
25906 (fma_test_downward): Likewise.
25907 (fma_test_upward): Likewise.
25908
99252c8c
JM
259092012-11-05 Joseph Myers <joseph@codesourcery.com>
25910
acfa885f
JM
25911 [BZ #14805]
25912 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
25913 fenv_t *.
25914
99252c8c
JM
25915 [BZ #14801]
25916 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
25917 namespace for names of struct fields.
25918 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
25919 fenv_t fields.
25920 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25921 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
25922
d6d98dea
ST
259232012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
25924
25925 [BZ #3665]
25926 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
25927
e10bb107
TS
259282012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25929
25930 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
25931 PTR_DEMANGLE.
25932
25933 [BZ #5246]
25934 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
25935 PTR_DEMANGLE.
25936
a0c2940d
JM
259372012-11-04 Joseph Myers <joseph@codesourcery.com>
25938
25939 [BZ #14797]
25940 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
25941 definitely overflow as x * y not x * y + z.
25942 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25943 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25944 * math/libm-test.inc (fma_test): Add more tests.
25945 (fma_test_towardzero): Likewise.
25946 (fma_test_downward): Likewise.
25947 (fma_test_upward): Likewise.
25948
b830319d
TS
259492012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25950
25951 [BZ #157]
25952
25953 * include/stub-tag.h: Remove file.
25954 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
25955 '#include' of it.
25956 * manual/maint.texi (Porting): Don't reference it.
25957 * Makerules ($(objpfx)stubs): Likewise.
25958 * dirent/closedir.c: Don't include <stub-tag.h>.
25959 * dirent/dirfd.c: Likewise.
25960 * dirent/fdopendir.c: Likewise.
25961 * dirent/getdents.c: Likewise.
25962 * dirent/getdents64.c: Likewise.
25963 * dirent/opendir.c: Likewise.
25964 * dirent/readdir.c: Likewise.
25965 * dirent/readdir64.c: Likewise.
25966 * dirent/readdir64_r.c: Likewise.
25967 * dirent/readdir_r.c: Likewise.
25968 * dirent/rewinddir.c: Likewise.
25969 * dirent/seekdir.c: Likewise.
25970 * dirent/telldir.c: Likewise.
25971 * gmon/profil.c: Likewise.
25972 * grp/setgroups.c: Likewise.
25973 * inet/if_index.c: Likewise.
25974 * io/access.c: Likewise.
25975 * io/chdir.c: Likewise.
25976 * io/chmod.c: Likewise.
25977 * io/chown.c: Likewise.
25978 * io/close.c: Likewise.
25979 * io/dup.c: Likewise.
25980 * io/dup2.c: Likewise.
25981 * io/dup3.c: Likewise.
25982 * io/euidaccess.c: Likewise.
25983 * io/faccessat.c: Likewise.
25984 * io/fchdir.c: Likewise.
25985 * io/fchmod.c: Likewise.
25986 * io/fchmodat.c: Likewise.
25987 * io/fchown.c: Likewise.
25988 * io/fchownat.c: Likewise.
25989 * io/fcntl.c: Likewise.
25990 * io/flock.c: Likewise.
25991 * io/fstatfs.c: Likewise.
25992 * io/fstatfs64.c: Likewise.
25993 * io/fstatvfs.c: Likewise.
25994 * io/fstatvfs64.c: Likewise.
25995 * io/futimens.c: Likewise.
25996 * io/fxstat.c: Likewise.
25997 * io/fxstat64.c: Likewise.
25998 * io/fxstatat.c: Likewise.
25999 * io/fxstatat64.c: Likewise.
26000 * io/getcwd.c: Likewise.
26001 * io/isatty.c: Likewise.
26002 * io/lchmod.c: Likewise.
26003 * io/lchown.c: Likewise.
26004 * io/link.c: Likewise.
26005 * io/linkat.c: Likewise.
26006 * io/lseek.c: Likewise.
26007 * io/lseek64.c: Likewise.
26008 * io/lxstat64.c: Likewise.
26009 * io/mkdir.c: Likewise.
26010 * io/mkdirat.c: Likewise.
26011 * io/mkfifo.c: Likewise.
26012 * io/mkfifoat.c: Likewise.
26013 * io/open.c: Likewise.
26014 * io/open64.c: Likewise.
26015 * io/openat.c: Likewise.
26016 * io/openat64.c: Likewise.
26017 * io/pipe.c: Likewise.
26018 * io/pipe2.c: Likewise.
26019 * io/poll.c: Likewise.
26020 * io/posix_fadvise.c: Likewise.
26021 * io/posix_fadvise64.c: Likewise.
26022 * io/posix_fallocate.c: Likewise.
26023 * io/posix_fallocate64.c: Likewise.
26024 * io/read.c: Likewise.
26025 * io/readlink.c: Likewise.
26026 * io/readlinkat.c: Likewise.
26027 * io/rmdir.c: Likewise.
26028 * io/sendfile.c: Likewise.
26029 * io/sendfile64.c: Likewise.
26030 * io/statfs.c: Likewise.
26031 * io/statfs64.c: Likewise.
26032 * io/statvfs.c: Likewise.
26033 * io/statvfs64.c: Likewise.
26034 * io/symlink.c: Likewise.
26035 * io/symlinkat.c: Likewise.
26036 * io/ttyname.c: Likewise.
26037 * io/ttyname_r.c: Likewise.
26038 * io/umask.c: Likewise.
26039 * io/unlink.c: Likewise.
26040 * io/unlinkat.c: Likewise.
26041 * io/utime.c: Likewise.
26042 * io/utimensat.c: Likewise.
26043 * io/write.c: Likewise.
26044 * io/xmknod.c: Likewise.
26045 * io/xmknodat.c: Likewise.
26046 * io/xstat.c: Likewise.
26047 * io/xstat64.c: Likewise.
26048 * login/getpt.c: Likewise.
26049 * login/grantpt.c: Likewise.
26050 * login/unlockpt.c: Likewise.
26051 * math/e_acoshl.c: Likewise.
26052 * math/e_acosl.c: Likewise.
26053 * math/e_asinl.c: Likewise.
26054 * math/e_atan2l.c: Likewise.
26055 * math/e_atanhl.c: Likewise.
26056 * math/e_coshl.c: Likewise.
26057 * math/e_expl.c: Likewise.
26058 * math/e_fmodl.c: Likewise.
26059 * math/e_gammal_r.c: Likewise.
26060 * math/e_hypotl.c: Likewise.
26061 * math/e_j0l.c: Likewise.
26062 * math/e_j1l.c: Likewise.
26063 * math/e_jnl.c: Likewise.
26064 * math/e_lgammal_r.c: Likewise.
26065 * math/e_log10l.c: Likewise.
26066 * math/e_log2l.c: Likewise.
26067 * math/e_logl.c: Likewise.
26068 * math/e_powl.c: Likewise.
26069 * math/e_rem_pio2l.c: Likewise.
26070 * math/e_sinhl.c: Likewise.
26071 * math/e_sqrtl.c: Likewise.
26072 * math/fclrexcpt.c: Likewise.
26073 * math/fedisblxcpt.c: Likewise.
26074 * math/feenablxcpt.c: Likewise.
26075 * math/fegetenv.c: Likewise.
26076 * math/fegetexcept.c: Likewise.
26077 * math/fegetround.c: Likewise.
26078 * math/feholdexcpt.c: Likewise.
26079 * math/fesetenv.c: Likewise.
26080 * math/fesetround.c: Likewise.
26081 * math/feupdateenv.c: Likewise.
26082 * math/fgetexcptflg.c: Likewise.
26083 * math/fraiseexcpt.c: Likewise.
26084 * math/fsetexcptflg.c: Likewise.
26085 * math/ftestexcept.c: Likewise.
26086 * math/k_cosl.c: Likewise.
26087 * math/k_rem_pio2l.c: Likewise.
26088 * math/k_sinl.c: Likewise.
26089 * math/k_tanl.c: Likewise.
26090 * math/s_asinhl.c: Likewise.
26091 * math/s_atanl.c: Likewise.
26092 * math/s_cbrtl.c: Likewise.
26093 * math/s_erfl.c: Likewise.
26094 * math/s_expm1l.c: Likewise.
26095 * math/s_log1pl.c: Likewise.
26096 * math/s_tanhl.c: Likewise.
26097 * misc/acct.c: Likewise.
26098 * misc/brk.c: Likewise.
26099 * misc/chflags.c: Likewise.
26100 * misc/chroot.c: Likewise.
26101 * misc/fchflags.c: Likewise.
26102 * misc/fgetxattr.c: Likewise.
26103 * misc/flistxattr.c: Likewise.
26104 * misc/fremovexattr.c: Likewise.
26105 * misc/fsetxattr.c: Likewise.
26106 * misc/fsync.c: Likewise.
26107 * misc/ftruncate.c: Likewise.
26108 * misc/futimes.c: Likewise.
26109 * misc/futimesat.c: Likewise.
26110 * misc/getdomain.c: Likewise.
26111 * misc/getdtsz.c: Likewise.
26112 * misc/gethostid.c: Likewise.
26113 * misc/gethostname.c: Likewise.
26114 * misc/getloadavg.c: Likewise.
26115 * misc/getpagesize.c: Likewise.
26116 * misc/getsysstats.c: Likewise.
26117 * misc/getxattr.c: Likewise.
26118 * misc/gtty.c: Likewise.
26119 * misc/ioctl.c: Likewise.
26120 * misc/lgetxattr.c: Likewise.
26121 * misc/listxattr.c: Likewise.
26122 * misc/llistxattr.c: Likewise.
26123 * misc/lremovexattr.c: Likewise.
26124 * misc/lsetxattr.c: Likewise.
26125 * misc/lutimes.c: Likewise.
26126 * misc/madvise.c: Likewise.
26127 * misc/mincore.c: Likewise.
26128 * misc/mlock.c: Likewise.
26129 * misc/mlockall.c: Likewise.
26130 * misc/mmap.c: Likewise.
26131 * misc/mprotect.c: Likewise.
26132 * misc/msync.c: Likewise.
26133 * misc/munlock.c: Likewise.
26134 * misc/munlockall.c: Likewise.
26135 * misc/munmap.c: Likewise.
26136 * misc/preadv.c: Likewise.
26137 * misc/preadv64.c: Likewise.
26138 * misc/ptrace.c: Likewise.
26139 * misc/pwritev.c: Likewise.
26140 * misc/pwritev64.c: Likewise.
26141 * misc/readv.c: Likewise.
26142 * misc/reboot.c: Likewise.
26143 * misc/remap_file_pages.c: Likewise.
26144 * misc/removexattr.c: Likewise.
26145 * misc/revoke.c: Likewise.
26146 * misc/select.c: Likewise.
26147 * misc/setdomain.c: Likewise.
26148 * misc/setegid.c: Likewise.
26149 * misc/seteuid.c: Likewise.
26150 * misc/sethostid.c: Likewise.
26151 * misc/sethostname.c: Likewise.
26152 * misc/setregid.c: Likewise.
26153 * misc/setreuid.c: Likewise.
26154 * misc/setxattr.c: Likewise.
26155 * misc/sstk.c: Likewise.
26156 * misc/stty.c: Likewise.
26157 * misc/swapoff.c: Likewise.
26158 * misc/swapon.c: Likewise.
26159 * misc/sync.c: Likewise.
26160 * misc/syncfs.c: Likewise.
26161 * misc/syscall.c: Likewise.
26162 * misc/truncate.c: Likewise.
26163 * misc/ualarm.c: Likewise.
26164 * misc/usleep.c: Likewise.
26165 * misc/ustat.c: Likewise.
26166 * misc/utimes.c: Likewise.
26167 * misc/vhangup.c: Likewise.
26168 * misc/writev.c: Likewise.
26169 * posix/_exit.c: Likewise.
26170 * posix/alarm.c: Likewise.
26171 * posix/execve.c: Likewise.
26172 * posix/fexecve.c: Likewise.
26173 * posix/fork.c: Likewise.
26174 * posix/fpathconf.c: Likewise.
26175 * posix/getaddrinfo.c: Likewise.
26176 * posix/getegid.c: Likewise.
26177 * posix/geteuid.c: Likewise.
26178 * posix/getgid.c: Likewise.
26179 * posix/getgroups.c: Likewise.
26180 * posix/getlogin.c: Likewise.
26181 * posix/getlogin_r.c: Likewise.
26182 * posix/getpgid.c: Likewise.
26183 * posix/getpid.c: Likewise.
26184 * posix/getppid.c: Likewise.
26185 * posix/getresgid.c: Likewise.
26186 * posix/getresuid.c: Likewise.
26187 * posix/getsid.c: Likewise.
26188 * posix/getuid.c: Likewise.
26189 * posix/glob64.c: Likewise.
26190 * posix/nanosleep.c: Likewise.
26191 * posix/pathconf.c: Likewise.
26192 * posix/pause.c: Likewise.
26193 * posix/posix_madvise.c: Likewise.
26194 * posix/pread.c: Likewise.
26195 * posix/pread64.c: Likewise.
26196 * posix/pwrite.c: Likewise.
26197 * posix/pwrite64.c: Likewise.
26198 * posix/sched_getaffinity.c: Likewise.
26199 * posix/sched_getp.c: Likewise.
26200 * posix/sched_gets.c: Likewise.
26201 * posix/sched_primax.c: Likewise.
26202 * posix/sched_primin.c: Likewise.
26203 * posix/sched_rr_gi.c: Likewise.
26204 * posix/sched_setaffinity.c: Likewise.
26205 * posix/sched_setp.c: Likewise.
26206 * posix/sched_sets.c: Likewise.
26207 * posix/sched_yield.c: Likewise.
26208 * posix/setgid.c: Likewise.
26209 * posix/setlogin.c: Likewise.
26210 * posix/setpgid.c: Likewise.
26211 * posix/setresgid.c: Likewise.
26212 * posix/setresuid.c: Likewise.
26213 * posix/setsid.c: Likewise.
26214 * posix/setuid.c: Likewise.
26215 * posix/sleep.c: Likewise.
26216 * posix/spawni.c: Likewise.
26217 * posix/sysconf.c: Likewise.
26218 * posix/times.c: Likewise.
26219 * posix/wait.c: Likewise.
26220 * posix/wait3.c: Likewise.
26221 * posix/wait4.c: Likewise.
26222 * posix/waitpid.c: Likewise.
26223 * resolv/gai_sigqueue.c: Likewise.
26224 * resource/getpriority.c: Likewise.
26225 * resource/getrlimit.c: Likewise.
26226 * resource/getrusage.c: Likewise.
26227 * resource/nice.c: Likewise.
26228 * resource/setpriority.c: Likewise.
26229 * resource/setrlimit.c: Likewise.
26230 * resource/ulimit.c: Likewise.
26231 * rt/aio_cancel.c: Likewise.
26232 * rt/aio_fsync.c: Likewise.
26233 * rt/aio_read.c: Likewise.
26234 * rt/aio_sigqueue.c: Likewise.
26235 * rt/aio_suspend.c: Likewise.
26236 * rt/aio_write.c: Likewise.
26237 * rt/clock_getres.c: Likewise.
26238 * rt/clock_gettime.c: Likewise.
26239 * rt/clock_nanosleep.c: Likewise.
26240 * rt/clock_settime.c: Likewise.
26241 * rt/lio_listio.c: Likewise.
26242 * rt/mq_close.c: Likewise.
26243 * rt/mq_getattr.c: Likewise.
26244 * rt/mq_notify.c: Likewise.
26245 * rt/mq_open.c: Likewise.
26246 * rt/mq_receive.c: Likewise.
26247 * rt/mq_send.c: Likewise.
26248 * rt/mq_setattr.c: Likewise.
26249 * rt/mq_timedreceive.c: Likewise.
26250 * rt/mq_timedsend.c: Likewise.
26251 * rt/mq_unlink.c: Likewise.
26252 * rt/shm_open.c: Likewise.
26253 * rt/shm_unlink.c: Likewise.
26254 * rt/timer_create.c: Likewise.
26255 * rt/timer_delete.c: Likewise.
26256 * rt/timer_getoverr.c: Likewise.
26257 * rt/timer_gettime.c: Likewise.
26258 * rt/timer_settime.c: Likewise.
26259 * setjmp/__longjmp.c: Likewise.
26260 * setjmp/setjmp.c: Likewise.
26261 * signal/kill.c: Likewise.
26262 * signal/killpg.c: Likewise.
26263 * signal/raise.c: Likewise.
26264 * signal/sigaction.c: Likewise.
26265 * signal/sigaltstack.c: Likewise.
26266 * signal/sigblock.c: Likewise.
26267 * signal/sigignore.c: Likewise.
26268 * signal/sigintr.c: Likewise.
26269 * signal/signal.c: Likewise.
26270 * signal/sigpause.c: Likewise.
26271 * signal/sigpending.c: Likewise.
26272 * signal/sigqueue.c: Likewise.
26273 * signal/sigreturn.c: Likewise.
26274 * signal/sigset.c: Likewise.
26275 * signal/sigsetmask.c: Likewise.
26276 * signal/sigstack.c: Likewise.
26277 * signal/sigsuspend.c: Likewise.
26278 * signal/sigtimedwait.c: Likewise.
26279 * signal/sigvec.c: Likewise.
26280 * signal/sigwait.c: Likewise.
26281 * signal/sigwaitinfo.c: Likewise.
26282 * signal/sysv_signal.c: Likewise.
26283 * socket/accept.c: Likewise.
26284 * socket/accept4.c: Likewise.
26285 * socket/bind.c: Likewise.
26286 * socket/connect.c: Likewise.
26287 * socket/getpeername.c: Likewise.
26288 * socket/getsockname.c: Likewise.
26289 * socket/getsockopt.c: Likewise.
26290 * socket/isfdtype.c: Likewise.
26291 * socket/listen.c: Likewise.
26292 * socket/recv.c: Likewise.
26293 * socket/recvfrom.c: Likewise.
26294 * socket/recvmsg.c: Likewise.
26295 * socket/send.c: Likewise.
26296 * socket/sendmsg.c: Likewise.
26297 * socket/sendto.c: Likewise.
26298 * socket/setsockopt.c: Likewise.
26299 * socket/shutdown.c: Likewise.
26300 * socket/sockatmark.c: Likewise.
26301 * socket/socket.c: Likewise.
26302 * socket/socketpair.c: Likewise.
26303 * stdio-common/ctermid.c: Likewise.
26304 * stdio-common/cuserid.c: Likewise.
26305 * stdio-common/remove.c: Likewise.
26306 * stdio-common/rename.c: Likewise.
26307 * stdio-common/renameat.c: Likewise.
26308 * stdio-common/tempname.c: Likewise.
26309 * stdlib/getcontext.c: Likewise.
26310 * stdlib/makecontext.c: Likewise.
26311 * stdlib/setcontext.c: Likewise.
26312 * stdlib/swapcontext.c: Likewise.
26313 * stdlib/system.c: Likewise.
26314 * streams/fattach.c: Likewise.
26315 * streams/fdetach.c: Likewise.
26316 * streams/getmsg.c: Likewise.
26317 * streams/getpmsg.c: Likewise.
26318 * streams/putmsg.c: Likewise.
26319 * streams/putpmsg.c: Likewise.
26320 * sysdeps/unix/bsd/getpt.c: Likewise.
26321 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
26322 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
26323 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26325 Likewise.
26326 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
26327 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26328 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
26329 * sysvipc/msgctl.c: Likewise.
26330 * sysvipc/msgget.c: Likewise.
26331 * sysvipc/msgrcv.c: Likewise.
26332 * sysvipc/msgsnd.c: Likewise.
26333 * sysvipc/semctl.c: Likewise.
26334 * sysvipc/semget.c: Likewise.
26335 * sysvipc/semop.c: Likewise.
26336 * sysvipc/semtimedop.c: Likewise.
26337 * sysvipc/shmat.c: Likewise.
26338 * sysvipc/shmctl.c: Likewise.
26339 * sysvipc/shmdt.c: Likewise.
26340 * sysvipc/shmget.c: Likewise.
26341 * termios/tcdrain.c: Likewise.
26342 * termios/tcflow.c: Likewise.
26343 * termios/tcflush.c: Likewise.
26344 * termios/tcgetattr.c: Likewise.
26345 * termios/tcgetpgrp.c: Likewise.
26346 * termios/tcsendbrk.c: Likewise.
26347 * termios/tcsetattr.c: Likewise.
26348 * termios/tcsetpgrp.c: Likewise.
26349 * time/adjtime.c: Likewise.
26350 * time/clock.c: Likewise.
26351 * time/getitimer.c: Likewise.
26352 * time/gettimeofday.c: Likewise.
26353 * time/setitimer.c: Likewise.
26354 * time/settimeofday.c: Likewise.
26355 * time/stime.c: Likewise.
26356 * time/time.c: Likewise.
26357
263582012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 26359
a20492cf
PT
26360 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
26361 /usr/old/bin.
26362
72e182e3
PT
26363 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
26364 instead of spaces.
26365 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
26366
fbeafede
JM
263672012-11-03 Joseph Myers <joseph@codesourcery.com>
26368
5b5b04d6
JM
26369 [BZ #14796]
26370 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
26371 FE_TONEAREST before applying Dekker multiplication and Knuth
26372 addition. Clear inexact exceptions and check for exact zero
26373 results afterwards.
26374 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26375 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26376 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26377 * math/libm-test.inc (fma_test): Add more tests.
26378 (fma_test_towardzero): Likewise.
26379 (fma_test_downward): Likewise.
26380 (fma_test_upward): Likewise.
26381 * sysdeps/generic/math_private.h (default_libc_fesetround): New
26382 function.
26383 (libc_fesetround): New macro.
26384 (libc_fesetroundf): Likewise.
26385 (libc_fesetroundl): Likewise.
26386 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
26387 function.
26388 (libc_fesetround_387): Likewise.
26389 (libc_fesetroundf): New macro.
26390 (libc_fesetround): Likewise.
26391 (libc_fesetroundl): Likewise.
26392 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
26393 function.
26394 (libc_fesetroundf): New macro.
26395 (libc_fesetround): Likewise.
26396 (libc_fesetroundl): Likewise.
26397 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
26398 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
26399 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
26400 libm_hidden_ver.
26401 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
26402 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
26403 libm_hidden_def.
26404 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
26405 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
26406 libm_hidden_ver.
26407 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
26408 libm_hidden_def.
26409
fbeafede
JM
26410 [BZ #3439]
26411 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
26412 integer constant usable in #if and use that to give value to enum
26413 constant.
26414 (FE_DIVBYZERO): Likewise.
26415 (FE_UNDERFLOW): Likewise.
26416 (FE_OVERFLOW): Likewise.
26417 (FE_INVALID): Likewise.
26418 (FE_INVALID_SNAN): Likewise.
26419 (FE_INVALID_ISI): Likewise.
26420 (FE_INVALID_IDI): Likewise.
26421 (FE_INVALID_ZDZ): Likewise.
26422 (FE_INVALID_IMZ): Likewise.
26423 (FE_INVALID_COMPARE): Likewise.
26424 (FE_INVALID_SOFTWARE): Likewise.
26425 (FE_INVALID_SQRT): Likewise.
26426 (FE_INVALID_INTEGER_CONVERSION): Likewise.
26427 (FE_TONEAREST): Likewise.
26428 (FE_TOWARDZERO): Likewise.
26429 (FE_UPWARD): Likewise.
26430 (FE_DOWNWARD): Likewise.
26431 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
26432 (FE_DIVBYZERO): Likewise.
26433 (FE_OVERFLOW): Likewise.
26434 (FE_UNDERFLOW): Likewise.
26435 (FE_INEXACT): Likewise.
26436 (FE_TONEAREST): Likewise.
26437 (FE_DOWNWARD): Likewise.
26438 (FE_UPWARD): Likewise.
26439 (FE_TOWARDZERO): Likewise.
26440 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
26441 (FE_UNDERFLOW): Likewise.
26442 (FE_OVERFLOW): Likewise.
26443 (FE_DIVBYZERO): Likewise.
26444 (FE_INVALID): Likewise.
26445 (FE_TONEAREST): Likewise.
26446 (FE_TOWARDZERO): Likewise.
26447 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
26448 (FE_OVERFLOW): Likewise.
26449 (FE_UNDERFLOW): Likewise.
26450 (FE_DIVBYZERO): Likewise.
26451 (FE_INEXACT): Likewise.
26452 (FE_TONEAREST): Likewise.
26453 (FE_TOWARDZERO): Likewise.
26454 (FE_UPWARD): Likewise.
26455 (FE_DOWNWARD): Likewise.
26456 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
26457 (FE_DIVBYZERO): Likewise.
26458 (FE_OVERFLOW): Likewise.
26459 (FE_UNDERFLOW): Likewise.
26460 (FE_INEXACT): Likewise.
26461 (FE_TONEAREST): Likewise.
26462 (FE_DOWNWARD): Likewise.
26463 (FE_UPWARD): Likewise.
26464 (FE_TOWARDZERO): Likewise.
26465
105ca950
CM
264662012-11-02 Chris Metcalf <cmetcalf@tilera.com>
26467
26468 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
26469
a542b389
AS
264702012-11-03 Andreas Schwab <schwab@linux-m68k.org>
26471
26472 * scripts/cross-test-ssh.sh (command): Use newlines to separate
26473 commands. Quote $PWD.
26474 (blacklist_exports): Don't use remove_newlines. Replace "declare
26475 -x" by "export".
26476 (remove_newlines): Remove.
26477
f62c8abc
L
264782012-11-02 H.J. Lu <hongjiu.lu@intel.com>
26479
26480 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
26481 * stdlib/stdlib.h (atof): Moved to ...
26482 * include/bits/stdlib-float.h: Here. New file.
26483 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
26484 * stdlib/bits/stdlib-float.h: New file.
26485 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
26486 -mno-sse -mno-mmx.
26487 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
26488 <xmmintrin.h>.
26489
0155d5b2
JM
264902012-11-02 Joseph Myers <joseph@codesourcery.com>
26491
a68d0680
JM
26492 * conform/conformtest.pl (@headers): Add fenv.h.
26493 * conform/data/fenv.h-data: New file.
26494 * include/fenv.h [_ISOMAC]: Disable all contents of file except
26495 include of <math/fenv.h>.
26496
caf7f573
JM
26497 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
26498 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
26499 && !UNIX98]. Enables tests for XOPEN2K8.
26500 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
26501 POSIX2008]: Likewise.
26502
6c073ad6
JM
26503 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
26504 (struct rusage): Do not expect type or its members.
26505
0155d5b2
JM
26506 [BZ #3439]
26507 * math/math.h (FP_NAN): Define macro to integer constant usable in
26508 #if and use that to give value to enum constant.
26509 (FP_INFINITE): Likewise.
26510 (FP_ZERO): Likewise.
26511 (FP_SUBNORMAL): Likewise.
26512 (FP_NORMAL): Likewise.
26513
b5dcacb4
AS
265142012-11-02 Andreas Schwab <schwab@linux-m68k.org>
26515
26516 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
26517 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
26518 arguments.
26519
f7934be8
RM
265202012-11-02 Roland McGrath <roland@hack.frob.com>
26521
26522 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
26523 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
26524 autoconf-time if not.
26525 * configure.in: Remove AC_PREREQ.
26526
d7d08bde
TMQMF
265272012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26528
26529 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
26530 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
26531 of the internal implementation.
26532
dcdae19a
JM
265332012-11-02 Joseph Myers <joseph@codesourcery.com>
26534
26535 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
26536 except include of <misc/sys/syslog.h>.
26537
d6cffd3e
AS
265382012-11-01 Andreas Schwab <schwab@linux-m68k.org>
26539
26540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
26541 function returns with a NULL context exit with zero.
26542
b3563932
TMQMF
265432012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26544
26545 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
26546
b288a93d
L
265472012-11-01 H.J. Lu <hongjiu.lu@intel.com>
26548
26549 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
26550 (run_program_cmd): This.
26551 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
26552 (tst_langinfo): New variable. Use it.
26553
a2421a68
SAS
265542012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
26555
26556 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
26557 floating point opcodes.
26558
6f796e1b
TS
265592012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26560
7402596b
TS
26561 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
26562 variable.
26563
d0d4f868
TS
26564 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
26565
6f796e1b
TS
26566 * sysdeps/mach/hurd/powerpc: Remove directory.
26567 * sysdeps/mach/powerpc: Likewise.
26568
4da224a2
AS
265692012-11-01 Andreas Schwab <schwab@linux-m68k.org>
26570
26571 * scripts/check-local-headers.sh: Ignore c++ headers.
26572
341dd673
TS
265732012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26574
26575 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
26576 __libc_cleanup_region_start argument.
26577
473611b2
JM
265782012-11-01 Joseph Myers <joseph@codesourcery.com>
26579
26580 [BZ #14784]
26581 [BZ #14785]
26582 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
26583 x * y using scaling, not as x * y + z.
26584 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26585 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26586 * math/libm-test.inc (fma_test): Add more tests.
26587 (fma_test_towardzero): Likewise.
26588 (fma_test_downward): Likewise.
26589 (fma_test_upward): Likewise.
26590
4078da3d
TS
265912012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26592
26593 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
26594
903252aa
JM
265952012-10-31 Joseph Myers <joseph@codesourcery.com>
26596
26597 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
26598 New variable.
26599
cbc818d0
TS
266002012-10-31 Thomas Schwinge <thomas@codesourcery.com>
26601
26602 * rt/tst-shm.c (worker): Correct checking for mmap failure.
26603
5a03cb1e
AS
266042012-10-31 Andreas Schwab <schwab@linux-m68k.org>
26605
26606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26607 Fix sort order.
26608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26609 Likewise.
26610
90aff2ff
TMQMF
266112012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26612
26613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26614 Fix the order of the list for glibc 2.17.
26615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26616 Likewise.
26617
1818fcb7
AS
266182012-10-31 Andreas Schwab <schwab@linux-m68k.org>
26619
26620 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26621
ef82f4da
JM
266222012-10-31 Joseph Myers <joseph@codesourcery.com>
26623
16a0e2ec
JM
26624 [BZ #14610]
26625 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
26626 for low part of x being zero before using __atanl (y).
26627 * math/libm-test.inc (atan2_test): Add another test.
26628
0eb69512
JM
26629 * manual/install.texi (Configuring and compiling): Document
26630 general use of test-wrapper and test-wrapper-env.
26631 * INSTALL: Regenerated.
26632
ef82f4da
JM
26633 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
26634 (__fma): Do not extract and scale down low bits on after-rounding
26635 systems when result rounded to normal precision would have normal
26636 exponent.
26637 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
26638 (__fmal): 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-96/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 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
26646 macro.
26647 (fma_test): Add more tests.
26648 (fma_test_towardzero): Likewise.
26649 (fma_test_downward): Likewise.
26650 (fma_test_upward): Likewise.
26651
954ef0d9
L
266522012-10-30 H.J. Lu <hongjiu.lu@intel.com>
26653
26654 * sysdeps/i386/tininess.h: Renamed to ...
26655 * sysdeps/x86/tininess.h: This.
26656 * sysdeps/x86_64/tininess.h: Removed.
26657
df61ffb2
JM
266582012-10-30 Joseph Myers <joseph@codesourcery.com>
26659
26660 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
26661 input. Use $(build-program-cmd).
26662 ($(objpfx)tst-array1-static.out): Likewise.
26663 ($(objpfx)tst-array2.out): Likewise.
26664 ($(objpfx)tst-array3.out): Likewise.
26665 ($(objpfx)tst-array4.out): Likewise.
26666 ($(objpfx)tst-array5.out): Likewise.
26667 ($(objpfx)tst-array5-static.out): Likewise.
26668
01767843
CM
266692012-10-30 Chris Metcalf <cmetcalf@tilera.com>
26670
47cc1490
CM
26671 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
26672 if defined.
26673
01767843
CM
26674 * nss/nsswitch.h (nss_interface_function): Provide new
26675 macro for use with NSS functions.
26676 * grp/initgroups.c: Use new macro.
26677 * nss/getXXbyYY.c: Likewise.
26678 * nss/getXXbyYY_r.c: Likewise.
26679 * nss/getXXent.c: Likewise.
26680 * nss/getXXent_r.c: Likewise.
26681 * sysdeps/posix/getaddrinfo.c: Likewise.
26682
8321aa97
AJ
266832012-10-30 Andreas Jaeger <aj@suse.de>
26684
26685 * po/ru.po: Update Russion translation from translation project.
26686
2a27fd6d
JM
266872012-10-30 Joseph Myers <joseph@codesourcery.com>
26688
8627a232
JM
26689 [BZ #14152]
26690 [BZ #14783]
26691 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
26692 result and shift together with sticky bit instead of replicating
26693 round-to-nearest rounding.
26694 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26695 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26696 * math/libm-test.inc (fma_test): Add more tests. Do not permit
26697 missing underflow exceptions.
26698 (fma_test_towardzero): Add more tests.
26699 (fma_test_downward): Likewise.
26700 (fma_test_upward): Likewise.
26701
2a27fd6d
JM
26702 [BZ #14047]
26703 * sysdeps/generic/tininess.h: New file.
26704 * sysdeps/i386/tininess.h: Likewise.
26705 * sysdeps/sh/tininess.h: Likewise.
26706 * sysdeps/x86_64/tininess.h: Likewise.
26707 * stdlib/tst-strtod-underflow.c: Likewise.
26708 * stdlib/tst-tininess.c: Likewise.
26709 * stdlib/strtod_l.c: Include <tininess.h>.
26710 (round_and_return): Do not set errno for exact underflow cases.
26711 Force an underflow exception when setting errno for underflow.
26712 Determine underflow based on rounding to normal precision if
26713 TININESS_AFTER_ROUNDING.
26714 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
26715 ERANGE for exact underflow cases.
26716 * stdlib/Makefile (tests): Add tst-tininess and
26717 tst-strtod-underflow.
26718 ($(objpfx)tst-tininess): Use $(link-libm).
26719 ($(objpfx)tst-strtod-underflow): Likewise.
26720
e7170363
AJ
267212012-10-30 Andreas Jaeger <aj@suse.de>
26722
e5088dc6
AJ
26723 [BZ#14767]
26724 * elf/Makefile (tests): Remove conditional for have-initfini-array
26725 since this is now always required and the variable does not exist
26726 anymore.
26727 (tests-static): Likewise.
26728 (modules-names): Likewise.
26729
e7170363 26730 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
26731
26732 * elf/tst-array1.c (fini_array): Make writeable so that it can be
26733 merged with constructor/destructor.
26734 (init_array): Likewise.
26735 * elf/tst-array2dep.c (fini_array): Likewise.
26736 (init_array): Likewise.
26737
60457d8a
MF
267382012-10-29 Mike Frysinger <vapier@gentoo.org>
26739
26740 * manual/message.texi: Delete @cartouche tags.
26741
8bece752
PT
267422012-10-29 Pino Toscano <toscano.pino@tiscali.it>
26743
94ce799f
PT
26744 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
26745 EOPNOTSUPP.
26746 * sysdeps/mach/hurd/fsync.c: Likewise.
26747
8bece752
PT
26748 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
26749 [_POSIX_REALTIME_SIGNALS]: Change condition to
26750 [_POSIX_REALTIME_SIGNALS > 0].
26751
86ebe6b1
AJ
267522012-10-27 Andreas Jaeger <aj@suse.de>
26753
26754 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
26755 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
26756 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
26757 [__WORDSIZE != 64]: Likewise.
26758
54399c08
L
267592012-10-26 H.J. Lu <hongjiu.lu@intel.com>
26760
26761 * iconvdata/tst-table.sh: Remove ${SHELL}.
26762 * iconvdata/tst-tables.sh: Likewise.
26763
e2211bed
DM
267642012-10-25 David S. Miller <davem@davemloft.net>
26765
26766 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26767 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
26768 of strtoull.
26769
f303f97c
DM
26770 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
26771 ifunc-impl-list.c
26772 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26773 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
26774 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
26775 file.
26776
1e9d84cd
RM
267772012-10-25 Roland McGrath <roland@hack.frob.com>
26778
26779 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26780 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
26781 __getdirentries.
26782
df381762
JM
267832012-10-25 Joseph Myers <joseph@codesourcery.com>
26784 Jim Blandy <jimb@codesourcery.com>
26785
26786 * scripts/cross-test-ssh.sh: New file.
26787 * manual/install.texi (Configuring and compiling): Document use of
26788 cross-test-ssh.sh.
26789 * INSTALL: Regenerated.
26790
bff64913
PT
267912012-10-25 Pino Toscano <toscano.pino@tiscali.it>
26792
26793 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
26794 EOPNOTSUPP.
26795
25fe8932
JM
267962012-10-25 Joseph Myers <joseph@codesourcery.com>
26797
26798 * Makeconfig (run-program-prefix): Fix comment.
26799
cc1290d0
JM
268002012-10-24 Joseph Myers <joseph@codesourcery.com>
26801 Jim Blandy <jimb@codesourcery.com>
26802
26803 * Makeconfig (test-wrapper): New variable,
26804 (test-wrapper-env): Likewise.
26805 [$(cross-compiling) = yes && $(test-wrapper) != ""]
26806 (run-built-tests): Define to yes.
26807 (run-program-prefix): Use $(test-wrapper).
26808 (built-program-cmd): Likewise.
26809 * Rules (make-test-out): Use $(test-wrapper-env) and
26810 $(host-built-program-cmd).
26811 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
26812 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
26813 tst-pathopt.sh.
26814 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
26815 $(test-wrapper-env) to tst-rtld-load-self.sh.
26816 ($(objpfx)order2.out): Use $(test-wrapper).
26817 ($(objpfx)tst-initorder.out): Likewise.
26818 ($(objpfx)tst-initorder2.out): Likewise.
26819 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
26820 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
26821 (test_wrapper_env): New variable. Use it to run ld.so.
26822 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
26823 Use it to run ld.so.
26824 (test_wrapper_env): Likewise.
26825 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
26826 $(test-wrapper) to run-iconv-test.sh.
26827 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
26828 (ICONV): Use $test_wrapper.
26829 * posix/Makefile ($(objpfx)globtest.out): Pass
26830 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
26831 globtest.sh, not $(run-program-prefix).
26832 * posix/globtest.sh (run_via_rtld_prefix): New variable.
26833 (test_wrapper): Likewise.
26834 (test_wrapper_env): Likewise. Use it to run globtest with HOME
26835 set together with run_via_rtld_prefix.
26836 (run_program_prefix): Define in terms of test_wrapper and
26837 run_via_rtld_prefix.
26838
6e6249d0
RM
268392012-10-24 Roland McGrath <roland@hack.frob.com>
26840
26841 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
26842 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
26843 Targets removed.
26844
26845 [BZ #14743]
26846 * include/time.h: Remove librt_hidden_proto (clock_gettime).
26847 Declare __clock_getres, __clock_gettime, __clock_settime,
26848 __clock_nanosleep, and __clock_getcpuclockid.
26849 * rt/clock_gettime.c: Define __clock_gettime as an alias.
26850 Remove librt_hidden_def (clock_gettime).
26851 * sysdeps/unix/clock_gettime.c: Likewise.
26852 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
26853 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
26854 * rt/clock_getres.c: Define __clock_getres as an alias.
26855 * sysdeps/posix/clock_getres.c: Likewise.
26856 * rt/clock_settime.c: Define __clock_settime as an alias.
26857 * sysdeps/unix/clock_settime.c: Likewise.
26858 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
26859 * sysdeps/unix/clock_nanosleep.c: Likewise.
26860 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
26861 * rt/clock-compat.c: New file.
26862 * rt/Makefile (librt-routines): Add clock-compat and move
26863 $(clock-routines) to ...
26864 (routines): ... here, new variable.
26865 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
26866 Don't add get_clockfreq here.
26867 * rt/Versions (libc: GLIBC_2.17): New version set.
26868 Add clock_* symbols here.
26869 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
26870 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
26871 (GLIBC_2.17): Add clock_* symbols.
26872 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26873 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26874 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26876 Likewise.
26877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26878 Likewise.
26879 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26880 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26881 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26883 * NEWS: Mention the move.
26884
26885 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26886 Use __open, __read, __close rather than their public counterparts.
26887 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26888 (__get_clockfreq_via_cpuinfo): Likewise.
26889 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
26890 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
26891
26892 * config.h.in (HAVE_IFUNC): New #undef.
26893 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
26894 was successful.
26895 * configure: Regenerated.
26896
0cae3f4b
MF
268972012-10-24 Mike Frysinger <vapier@gentoo.org>
26898
26899 * configure.in: Move READELF check to start of file.
26900 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
26901 libc_cv_asm_gnu_indirect_function in the process.
26902 * configure: Regenerated.
26903
8175a253
MF
269042012-10-24 Mike Frysinger <vapier@gentoo.org>
26905
26906 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
26907 send the output to /dev/null.
26908 (libc_cv_cc_with_libunwind): Likewise.
26909 (libc_cv_as_noexecstack): Likewise.
26910 * configure: Regenerate.
26911
0708a7d1
JM
269122012-10-24 Joseph Myers <joseph@codesourcery.com>
26913
10b40d85
JM
26914 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
26915
0708a7d1
JM
26916 * posix/globtest.sh (TMPDIR): Do not set.
26917 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
26918 (testout): Likewise.
26919
9fddec1a
AJ
269202012-10-24 Andreas Jaeger <aj@suse.de>
26921
3a8db22f
AJ
26922 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
26923 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
26924 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
26925 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
26926 posix_fadvise64, posix_fallocate64.
26927
9fddec1a
AJ
26928 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
26929 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
26930 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
26931 Likewise.
26932 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
26933 Likewise.
26934 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
26935
26936 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
26937 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
26938 <bits/fcntl-linux.h>.
26939 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
26940
26941 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
26942 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
26943 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
26944 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
26945 [__WORDSIZE != 64]: Likewise.
26946
ebfd1bbd
JM
269472012-10-23 Joseph Myers <joseph@codesourcery.com>
26948
03ac099f
JM
26949 * Makeconfig (run-built-tests): New variable.
26950 * Rules [$(cross-compiling) = yes]: Change condition to
26951 [$(run-built-tests) = no].
26952 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
26953 to [$(run-built-tests) = yes].
26954 * elf/Makefile [$(cross-compiling) = no]: Likewise
26955 * grp/Makefile [$(cross-compiling) = no]: Likewise.
26956 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
26957 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
26958 * intl/Makefile [$(cross-compiling) = no]: Likewise.
26959 * io/Makefile [$(cross-compiling) = no]: Likewise.
26960 * libio/Makefile [$(cross-compiling) = no]: Likewise.
26961 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
26962 * misc/Makefile [$(cross-compiling) = no]: Likewise.
26963 * posix/Makefile [$(cross-compiling) = no]: Likewise.
26964 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
26965 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
26966 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
26967 * string/Makefile [$(cross-compiling) = no]: Likewise.
26968
ebfd1bbd
JM
26969 * posix/Makefile ($(objpfx)globtest.out): Pass
26970 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
26971 $(rtld-installed-name).
26972 * posix/globtest.sh (elf_objpfx): Remove variable.
26973 (rtld_installed_name): Likewise.
26974 (library_path): Likewise.
26975 (run_program_prefix): New variable. Use for running globtest
26976 binary.
26977
166bca24
JB
269782012-10-23 Jim Blandy <jimb@codesourcery.com>
26979 Joseph Myers <joseph@codesourcery.com>
26980
26981 * Makeconfig (host-built-program-cmd): New variable.
26982 * elf/Makefile (tst-stackguard1-ARGS): Use
26983 $(host-built-program-cmd).
26984 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
26985 (tst-spawn-ARGS): Likewise.
26986 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
26987
88866099
JM
269882012-10-23 Joseph Myers <joseph@codesourcery.com>
26989 Jim Blandy <jimb@codesourcery.com>
26990
26991 * Makeconfig (run-via-rtld-prefix): New variable.
26992 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
26993 (built-program-cmd): Likewise.
26994
b4b4c296
AJ
269952012-10-22 Andreas Jaeger <aj@suse.de>
26996
26997 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
26998 __O_RSYNC if it exists, otherwise to O_SYNC.
26999
6fb54a22
JB
270002012-10-22 Jim Blandy <jimb@codesourcery.com>
27001 Joseph Myers <joseph@codesourcery.com>
27002
27003 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
27004 /dev/null.
27005 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
27006 from /dev/null
27007 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
27008 /dev/null.
27009
481b90b9
AJ
270102012-10-22 Andreas Jaeger <aj@suse.de>
27011
2a0e2669
AJ
27012 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
27013 Define always.
27014 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
27015
76e38f9a
AJ
27016 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27017 bits/fcntl-linux.h.
27018
7cd37b43
AJ
27019 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
27020 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
27021
481b90b9
AJ
27022 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
27023 to __O_LARGEFILE.
27024 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
27025 to __O_LARGEFILE.
27026
aba75984
JB
270272012-10-21 Jim Blandy <jimb@codesourcery.com>
27028 Joseph Myers <joseph@codesourcery.com>
27029
27030 * config.make.in (NM): New variable.
27031
88d4247f
AJ
270322012-10-21 Andreas Jaeger <aj@suse.de>
27033
27034 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
27035 definitions and declarations that are provided by
27036 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27037
f2eed205
L
270382012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27039
27040 [BZ #14683]
27041 * elf/Makefile (tests-static): Add tst-leaks1-static.
27042 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
27043 ($(objpfx)tst-leaks1-static): New rule.
27044 ($(objpfx)tst-leaks1-static-mem): Likewise.
27045 (tst-leaks1-static-ENV): New macro.
27046 * elf/dl-open.c (dl_open_worker): Check the main application
27047 only if SHARED is defined.
27048 * elf/tst-leaks1-static.c: New file.
27049
335e6931
AJ
270502012-10-20 Andreas Jaeger <aj@suse.de>
27051
27052 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
27053 generic values for Linux.
27054 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
27055 and declarations that are provided by <bits/fcntl-linux.h> and
27056 include <bits/fcntl-linux.h>.
27057 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27058 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27059
ac5c94d3
RM
270602012-10-20 Roland McGrath <roland@hack.frob.com>
27061
27062 * io/fcntl.h: Move include of <bits/types.h> to the top and
27063 include it unconditionally.
27064
de54b33a
L
270652012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27066
228cfb01
L
27067 * wcsmbs/Makefile (tests-ifunc): New variable.
27068 (tests): Add $(tests-ifunc).
27069 * wcsmbs/test-wcschr-ifunc.c: New file.
27070 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27071 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27072 * wcsmbs/test-wcslen-ifunc.c: Likewise.
27073 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27074 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27075
69f07e5f
L
27076 * string/Makefile (tests-ifunc): New variable.
27077 (tests): Add $(tests-ifunc).
27078 * string/test-memccpy.c (TEST_NAME): New macro.
27079 * string/test-memchr.c (TEST_NAME): Likewise.
27080 * string/test-memcmp.c (TEST_NAME): Likewise.
27081 * string/test-memcpy.c (TEST_NAME): Likewise.
27082 * string/test-memmem.c (TEST_NAME): Likewise.
27083 * string/test-memmove.c (TEST_NAME): Likewise.
27084 * string/test-memset.c (TEST_NAME): Likewise.
27085 * string/test-rawmemchr.c (TEST_NAME): Likewise.
27086 * string/test-stpcpy.c (TEST_NAME): Likewise.
27087 * string/test-stpncpy.c (TEST_NAME): Likewise.
27088 * string/test-strcasecmp.c (TEST_NAME): Likewise.
27089 * string/test-strcasestr.c (TEST_NAME): Likewise.
27090 * string/test-strcat.c (TEST_NAME): Likewise.
27091 * string/test-strchr.c (TEST_NAME): Likewise.
27092 * string/test-strcmp.c(TEST_NAME): Likewise.
27093 * string/test-strcpy.c (TEST_NAME): Likewise.
27094 * string/test-strcspn.c (TEST_NAME): Likewise.
27095 * string/test-strlen.c (TEST_NAME): Likewise.
27096 * string/test-strncasecmp.c (TEST_NAME): Likewise.
27097 * string/test-strncmp.c (TEST_NAME): Likewise.
27098 * string/test-strncpy.c (TEST_NAME): Likewise.
27099 * string/test-strnlen.c (TEST_NAME): Likewise.
27100 * string/test-strpbrk.c (TEST_NAME): Likewise.
27101 * string/test-strrchr.c (TEST_NAME): Likewise.
27102 * string/test-strspn.c (TEST_NAME): Likewise.
27103 * string/test-strstr.c (TEST_NAME): Likewise.
27104 * string/test-bcopy-ifunc.c: New file.
27105 * string/test-bzero-ifunc.c: Likewise.
27106 * string/test-memccpy-ifunc.c: Likewise.
27107 * string/test-memchr-ifunc.c: Likewise.
27108 * string/test-memcmp-ifunc.c: Likewise.
27109 * string/test-memcpy-ifunc.c: Likewise.
27110 * string/test-memmem-ifunc.c: Likewise.
27111 * string/test-memmove-ifunc.c: Likewise.
27112 * string/test-mempcpy-ifunc.c: Likewise.
27113 * string/test-memset-ifunc.c: Likewise.
27114 * string/test-rawmemchr-ifunc.c: Likewise.
27115 * string/test-stpcpy-ifunc.c: Likewise.
27116 * string/test-stpncpy-ifunc.c: Likewise.
27117 * string/test-strcasecmp-ifunc.c: Likewise.
27118 * string/test-strcasestr-ifunc.c: Likewise.
27119 * string/test-strcat-ifunc.c: Likewise.
27120 * string/test-strchr-ifunc.c: Likewise.
27121 * string/test-strchrnul-ifunc.c: Likewise.
27122 * string/test-strcmp-ifunc.c: Likewise.
27123 * string/test-strcpy-ifunc.c: Likewise.
27124 * string/test-strcspn-ifunc.c: Likewise.
27125 * string/test-strlen-ifunc.c: Likewise.
27126 * string/test-strncasecmp-ifunc.c: Likewise.
27127 * string/test-strncat-ifunc.c: Likewise.
27128 * string/test-strncmp-ifunc.c: Likewise.
27129 * string/test-strncpy-ifunc.c: Likewise.
27130 * string/test-strnlen-ifunc.c: Likewise.
27131 * string/test-strpbrk-ifunc.c: Likewise.
27132 * string/test-strrchr-ifunc.c: Likewise.
27133 * string/test-strspn-ifunc.c: Likewise.
27134 * string/test-strstr-ifunc.c: Likewise.
27135
de54b33a
L
27136 * debug/Makefile (tests-ifunc): New variable.
27137 (tests): Add $(tests-ifunc).
27138 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
27139 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
27140 * debug/test-stpcpy_chk-ifunc.c: New file.
27141 * debug/test-strcpy_chk-ifunc.c: Likewise.
27142
88481c16
SP
271432012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27144
27145 [BZ #13601]
27146 * elf/dl-load.c (open_verify): Retry read if the entire ELF
27147 header is not read in.
27148
135948bd
JM
271492012-10-19 Joseph Myers <joseph@codesourcery.com>
27150
89f1c388
JM
27151 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
27152 script to $(SHELL) as $<. Pass $(common-objpfx) to script
27153 directly. Pass built executable to script as
27154 $(built-program-cmd).
27155 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
27156 $testprogram without using LD_LIBRARY_PATH and $ldso.
27157
e40a0d21
JM
27158 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
27159 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
27160 $(rtld-installed-name).
27161 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
27162 (rtld_installed_name): Likewise.
27163 (library_path): Likewise.
27164 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
27165 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
27166 $(run-program-prefix) to tst-tables.sh.
27167 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
27168 it to run tst-table-from and tst-table-to.
27169 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
27170 Pass it to tst-table.sh.
27171 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
27172 $(run-program-prefix) to tst-gettext.sh.
27173 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
27174 tst-translit.sh.
27175 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
27176 tst-gettext2.sh.
27177 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
27178 to run tst-gettext.
27179 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
27180 to run tst-gettext2.
27181 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
27182 to run tst-translit.
27183 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
27184 $(run-program-prefix) to tst-mtrace.sh.
27185 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
27186 to run tst-mtrace.
27187 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
27188 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
27189 $(rtld-installed-name).
27190 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
27191 (rtld_installed_name): Likewise.
27192 (run_program_prefix): New variable. Use it to run wordexp-test.
27193
728e272a
JM
27194 * Makeconfig (ARCH): Remove all definitions.
27195 (machine): Likewise.
27196 [ARCH]: Remove conditional code.
27197 [!objdir]: Give error.
27198 [!objdir] (objpfx): Remove.
27199 [!objdir] (common-objpfx): Likewise.
27200 [!objdir] (common-objdir): Likewise.
27201 * configure.in (config_makefile): Remove. Hardcode Makefile in
27202 AC_CONFIG_FILES call.
27203 * configure: Regenerated.
27204
d528cdcf
JM
27205 [BZ #13888]
27206 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
27207 or TMPDIR.
27208 (testout): Likewise.
27209
135948bd
JM
27210 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
27211 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
27212 $(rtld-installed-name).
27213 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
27214 (rtld_installed_name): Likwise.
27215 (runit): Remove function.
27216 (run_getconf): New variable, Use it for running getconf binary.
27217
38c78296
L
272182012-10-18 H.J. Lu <hongjiu.lu@intel.com>
27219
27220 [BZ #14716]
27221 * string/test-memmem.c (check_result): New function.
27222 (do_one_test): Use it.
27223 (check1): New function.
27224 (test_main): Use it.
27225
d077f65f
MT
272262012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
27227
27228 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
27229
ced52c71
JM
272302012-10-18 Joseph Myers <joseph@codesourcery.com>
27231
27232 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
27233 (_G_LSEEK64): Likewise.
27234 (_G_MMAP64): Likewise.
27235 (_G_FSTAT64): Likewise.
27236 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
27237 (_G_LSEEK64): Likewise.
27238 (_G_MMAP64): Likewise.
27239 (_G_FSTAT64): Likewise.
27240 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
27241 unconditional. Call __mmap64 directly.
27242 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
27243 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
27244 __lseek64 directly.
27245 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
27246 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
27247 __mmap64 directly.
27248 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
27249 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
27250 __lseek64 directly.
27251 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
27252 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
27253 __lseek64 directly.
27254 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
27255 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
27256 __lseek64 directly.
27257 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
27258 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
27259 __fxstat64 directly.
27260 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
27261 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
27262 unconditional.
27263 (freopen64) [!_G_OPEN64]: Remove conditional code.
27264 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
27265 unconditional.
27266 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
27267 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
27268 unconditional.
27269 (ftello64) [!_G_LSEEK64]: Remove conditional code.
27270 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
27271 unconditional.
27272 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27273 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
27274 unconditional.
27275 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
27276 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
27277 unconditional.
27278 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27279 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
27280 unconditional.
27281 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27282 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
27283 unconditional.
27284 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27285
b741de23
SP
272862012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27287
27288 [BZ #12140]
27289 * manual/memory.texi (Malloc Tunable Parameters): Add note
27290 about free list pointers overwriting some perturb bytes.
27291 Wording suggested by Roland McGrath.
27292
f9b9d9c9
JM
272932012-10-17 Joseph Myers <joseph@codesourcery.com>
27294
27295 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
27296 (lgamma_test): Likewise.
27297 (tgamma_test): Likewise.
27298
172a631a
FW
272992012-10-16 Florian Weimer <fweimer@redhat.com>
27300
27301 [BZ #14700]
27302 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
27303 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
27304
e9f37252
MK
273052012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
27306
27307 * NEWS: Mention BZ #14716.
27308 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
27309 when removing AVAILABLE1_USES_J macro.
27310
d394eb74
L
273112012-10-12 H.J. Lu <hongjiu.lu@intel.com>
27312
27313 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
27314 (__bswap_64): __uint64_t for unsigned 64-bit int.
27315
ca38dc17
AS
273162012-10-12 Andreas Schwab <schwab@linux-m68k.org>
27317
27318 * include/string.h (memmem): Declare libc hidden alias.
27319 * string/memmem.c (memmem): Define libc hidden alias.
27320 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
27321 __read, __close instead of open, read, close.
27322
9a387d1f
L
273232012-10-11 H.J. Lu <hongjiu.lu@intel.com>
27324
ac49ecaf
L
27325 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
27326 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
27327 global and hidden.
27328 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
27329 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
27330 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
27331 Likewise.
27332 (__rawmemchr_sse2): Likewise.
27333 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
27334 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
27335 (__strchr_sse2): Likewise.
27336 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
27337 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
27338 (__strcasecmp_sse2): Likewise.
27339 (__strncasecmp_sse2): Likewise.
27340 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
27341 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
27342 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
27343 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
27344 (__strrchr_sse2): Likewise.
27345 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
27346 ifunc-impl-list.c.
27347 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27348 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27349 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27350 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27351 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27352 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27353 * sysdeps/x86_64/multiarch/memset.S: Likewise.
27354 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27355 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
27356 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
27357 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
27358 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
27359 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
27360 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27361 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27362 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27363 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27364 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27365 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
27366 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
27367 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
27368 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
27369 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
27370 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27371 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
27372 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27373 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27374 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27375 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27376 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27377
b090e8ea
L
27378 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
27379 global and hidden.
27380 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
27381 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
27382 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
27383 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
27384 Likewise.
27385 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
27386 Likewise.
27387 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
27388 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
27389 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
27390 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
27391 ifunc-impl-list.c.
27392 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27393 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27394 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27395 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27396 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27397 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27398 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27399 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27400 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27401 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27402 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27403 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27404 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27405 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
27406 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
27407 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27408 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
27409 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
27410 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27411 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27412 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27413 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27414 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27415 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27416 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27417 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
27418 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
27419 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
27420 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
27421 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27422 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
27423 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27424 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27425 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
27426 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27427 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27428 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27429 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27430 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27431 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27432 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
27433
11dd4af6
L
27434 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
27435 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
27436 * include/ifunc-impl-list.h: New file.
27437 * misc/ifunc-impl-list.c: Likewise.
27438 * misc/Makefile (routines): Add ifunc-impl-list.
27439 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
27440 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
27441 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
27442 TEST_NAME]: New variables.
11dd4af6
L
27443 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
27444 are defined.
27445 (test_init): Call __libc_ifunc_impl_list to initialize
27446 func_list if TEST_IFUNC and TEST_NAME are defined.
27447
9a387d1f
L
27448 * string/Makefile (strop-tests): Add bcopy and bzero.
27449 * string/test-bcopy.c: New file.
27450 * string/test-bzero.c: Likewise.
27451 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
27452 defined.
27453 * string/test-memset.c: Support bzero test if TEST_BZERO is
27454 defined.
27455 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
27456 __libc_memmove.
27457 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
27458 __libc_memset.
27459 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
27460 of memset.
27461
472371b9
JM
274622012-10-10 Joseph Myers <joseph@codesourcery.com>
27463
1e4a9536
JM
27464 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
27465 * configure: Regenerated.
27466
d173d12e
JM
27467 * Makeconfig (+link-static-before-libc): Don't include
27468 $(link-static-libc).
27469
472371b9
JM
27470 * libio/libio.h (_IO_pos_t): Remove.
27471
89a3ad0b
AO
274722012-10-10 Alexandre Oliva <aoliva@redhat.com>
27473
27474 * NEWS: Add note about FIPS mode. Wording suggested by Roland
27475 McGrath.
27476
e7451425
AO
274772012-10-10 Alexandre Oliva <aoliva@redhat.com>
27478
27479 * crypt/crypt-entry.c: Include fips-private.h.
27480 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
27481 * crypt/md5c-test.c (main): Tolerate disabled MD5.
27482 * sysdeps/unix/sysv/linux/fips-private.h: New file.
27483 * sysdeps/generic/fips-private.h: New file, dummy fallback.
27484
4ba74a35
AO
274852012-10-10 Alexandre Oliva <aoliva@redhat.com>
27486
27487 * crypt/crypt-private.h: Include stdbool.h.
27488 (_ufc_setup_salt_r): Return bool.
27489 * crypt/crypt-entry.c: Include errno.h.
27490 (__crypt_r): Return NULL with EINVAL for bad salt.
27491 * crypt/crypt_util.c (bad_for_salt): New.
27492 (_ufc_setup_salt_r): Check that salt is long enough and within
27493 the specified alphabet.
27494 * crypt/badsalttest.c: New file.
27495 * crypt/Makefile (tests): Add it.
27496 ($(objpfx)badsalttest): New.
27497
f96f1242
MK
274982012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
27499
27500 * NEWS: Add entry for BZ #14602.
27501
0e8e0c1c
JM
275022012-10-09 Joseph Myers <joseph@codesourcery.com>
27503
27504 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
27505 type-generic.
27506 * math/libm-test.inc: Update comment listing what functions and
27507 macros are tested.
27508 (isgreater_test): New function.
27509 (isgreaterequal_test): Likewise.
27510 (isless_test): Likewise.
27511 (islessequal_test): Likewise.
27512 (islessgreater_test): Likewise.
27513 (isunordered_test): Likewise.
27514 (main): Call the new functions.
27515
273edc5e
RM
275162012-10-09 Roland McGrath <roland@hack.frob.com>
27517
b8493de0
RM
27518 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
27519 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
27520 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
27521 * sysdeps/i386/configure: Regenerated.
27522 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
27523 * sysdeps/mach/configure: Regenerated.
27524 * sysdeps/mach/hurd/configure: Regenerated.
27525 * sysdeps/powerpc/configure: Regenerated.
27526 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27527 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27528 * sysdeps/s390/s390-32/configure: Regenerated.
27529 * sysdeps/s390/s390-64/configure: Regenerated.
27530 * sysdeps/sh/configure: Regenerated.
27531 * sysdeps/sparc/configure: Regenerated.
27532 * sysdeps/unix/sysv/linux/configure: Regenerated.
27533 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
27534 * sysdeps/x86_64/configure: Regenerated.
27535
273edc5e
RM
27536 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
27537 defined. Don't check if MAP is NULL.
27538
c8450f70
JM
275392012-10-09 Joseph Myers <joseph@codesourcery.com>
27540
27541 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
27542 (_G_stat64): Likewise.
27543 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
27544 (_G_stat64): Likewise.
27545 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
27546 instead of struct _G_stat64.
27547 * libio/fileops.c (mmap_remap_check): Likewise.
27548 (decide_maybe_mmap): Likewise.
27549 (_IO_new_file_seekoff): Likewise.
27550 (_IO_file_stat): Likewise.
27551 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
27552 _G_off64_t.
27553 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
27554 instead of struct _G_stat64.
27555 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27556
57e605ba
MK
275572012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
27558
27559 [BZ #14602]
27560 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27561 Replace with ...
27562 (CHECK_EOL): New macro.
27563 (two_way_short_needle): Check beginning of haystack for EOL. Use
27564 CHECK_EOL.
27565 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27566 Replace with CHECK_EOL.
27567 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27568 Replace with CHECK_EOL.
27569
ef1bb361
JM
275702012-10-08 Joseph Myers <joseph@codesourcery.com>
27571
27572 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
27573 type-generic.
27574 * math/libm-test.inc: Update comment listing what functions and
27575 macros are tested.
27576 (finite_test): New function.
27577 (isinf_test): Likewise.
27578 (isnan_test): Likewise.
27579 (fpclassify_test): Test subnormal input.
27580 (isfinite_test): Likewise.
27581 (isnormal_test): Likewise.
27582 (main): Call the new functions.
27583
55f11534
JN
275842012-10-08 Jonathan Nieder <jrnieder@gmail.com>
27585
27586 [BZ #14660]
27587 * Makerules (%.dynsym): Force C locale when running
27588 $(OBJDUMP) --dynamic-syms.
27589
1ab29350
AS
275902012-10-08 Andreas Schwab <schwab@linux-m68k.org>
27591
27592 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
27593 <stdint.h>.
27594
f1ecb7ef
DM
275952012-10-06 David S. Miller <davem@davemloft.net>
27596
27597 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
27598 upper 32-bits of the length value in %o2 since we use branch-on-register
27599 tests which consider the entire 64-bit register.
27600
5d41d91a
L
276012012-10-06 H.J. Lu <hongjiu.lu@intel.com>
27602
27603 * string/test-strstr.c (check2): Add a test for page boundary.
27604
3baddb72
DM
276052012-10-05 David S. Miller <davem@davemloft.net>
27606
27607 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
27608 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
27609 file.
27610 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27611 sysdep_routines.
27612 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27613 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
27614 and bzero when HWCAP_SPARC_CRYPTO is present.
27615
9cee5585
L
276162012-10-05 H.J. Lu <hongjiu.lu@intel.com>
27617
d7e0dab9
L
27618 [BZ #14602]
27619 * string/test-strstr.c (check2): New function.
27620 (test_main): Call check2.
27621
03759f47
L
27622 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
27623 and bug-strchr1.
27624 * string/bug-strcasestr1.c (do_test): Moved to ...
27625 * string/test-strcasestr.c (check1): Here. New function.
27626 (do_one_test): Break out result checking code into ...
27627 (check_result): This. New function.
27628 (do_one_test): Call check_result.
27629 (test_main): Call check1.
27630 * string/bug-strchr1.c (do_test): Moved to ...
27631 * string/test-strchr.c (check1): Here. New function.
27632 (do_one_test): Break out result checking code into ...
27633 (check_result): This. New function.
27634 (do_one_test): Call check_result.
27635 (test_main): Call check1.
27636 * string/bug-strstr1.c (main): Moved to ...
046f153e 27637 * string/test-strstr.c (check1): Here. New function.
03759f47
L
27638 (do_one_test): Break out result checking code into ...
27639 (check_result): This. New function.
27640 (do_one_test): Call check_result.
27641 (test_main): Call check1.
27642 * string/bug-strcasestr1.c: Removed.
27643 * string/bug-strchr1.c: Likewise.
27644 * string/bug-strstr1.c: Likewise.
27645
53cea63e
L
27646 * elf/Makefile (dl-routines): Add hwcaps.
27647 * elf/dl-support.c (_dl_important_hwcaps): Removed.
27648 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
27649 (_dl_important_hwcaps): Moved to ...
27650 * elf/dl-hwcaps.c: Here. New file.
27651 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
27652
9cee5585 27653 [BZ #14557]
bb859b06
L
27654 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
27655 if IS_IN_rtld isn't defined.
27656
9cee5585
L
27657 * elf/dl-support.c (_dl_sysinfo_map): New.
27658 Include "get-dynamic-info.h" and "setup-vdso.h".
27659 (_dl_non_dynamic_init): Call setup_vdso.
27660 * elf/dynamic-link.h: Don't include <assert.h>.
27661 (elf_get_dynamic_info): Moved to ...
27662 * elf/get-dynamic-info.h: Here. New file.
27663 * elf/dynamic-link.h: Include "get-dynamic-info.h".
27664 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
27665 * elf/setup-vdso.h: Here. New file.
27666 * elf/rtld.c: Include "setup-vdso.h".
27667 (dl_main): Call setup_vdso.
27668
23c31b76
JM
276692012-10-05 Joseph Myers <joseph@codesourcery.com>
27670
28234b07
JM
27671 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
27672 creal in comment listing functions tested. List finite, isinf,
27673 isnan, isless, islessequal, isgreater, isgreaterequal,
27674 islessgreater, isunordered, lgamma_r and pow10 as functions and
27675 macros not tested. Mention which functions not tested are aliases
27676 for other functions. Fix typo. Note that signs of NaNs are not
27677 tested.
27678
23c31b76
JM
27679 * scripts/config.guess: Update from config.git.
27680 * scripts/config.sub: Likewise.
27681
9043e228
RM
276822012-10-04 Roland McGrath <roland@hack.frob.com>
27683
27684 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
27685 * misc/madvise.c (madvise): Renamed to __madvise.
27686 Make madvise a weak alias.
27687 * include/sys/mman.h: Declare __madvise.
27688 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
27689 * sysdeps/unix/syscalls.list
27690 (madvise): Make __madvise the strong name, and madvise a weak alias.
27691 * sysdeps/unix/sysv/linux/syscalls.list
27692 (madvise, mmap): Remove redundant entries.
27693 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
27694 * malloc/malloc.c (mtrim): Likewise.
27695 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
27696
f57f8055
RM
276972012-10-03 Roland McGrath <roland@hack.frob.com>
27698
27699 * sysdeps/mach/hurd/dl-cache.c: File removed.
27700 * config.h.in (USE_LDCONFIG): New #undef.
27701 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
27702 * configure: Regenerated.
27703 * elf/Makefile (dl-routines): Add dl-cache only under
27704 [$(use-ldconfig) = yes].
27705 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
27706 cache on [USE_LDCONFIG].
27707 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
27708 [USE_LDCONFIG].
27709 * elf/rtld.c (dl_main): Likewise.
27710
5bb0c10a
PT
277112012-10-03 Pino Toscano <toscano.pino@tiscali.it>
27712
27713 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
27714 _SC_LEVEL4_CACHE_LINESIZE.
27715
010188c6
RM
277162012-10-03 Roland McGrath <roland@hack.frob.com>
27717
27718 * sysdeps/unix/bsd/confstr.h: File removed.
27719
b6c5ec07
AO
277202012-10-02 Alexandre Oliva <aoliva@redhat.com>
27721
27722 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
27723 sys/sdt-config.h.
27724
408223d4
RM
277252012-10-02 Roland McGrath <roland@hack.frob.com>
27726
27727 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
27728 Make 'mapoff' field ElfW(Off) rather than off_t.
27729
bb9510dc
DL
277302012-10-02 Dmitry V. Levin <ldv@altlinux.org>
27731
fc997c6e
DL
27732 * nscd/Makefile: Remove nscd-cflags and all its users.
27733 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
27734 (CFLAGS-nonlib): Add compiler flags for nscd modules.
27735
bb9510dc
DL
27736 [BZ #10631]
27737 * malloc.c (malloc_printerr): Clarify error message.
27738
05699367
L
277392012-10-02 H.J. Lu <hongjiu.lu@intel.com>
27740
27741 [BZ #14648]
27742 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27743 Set bit_FMA_Usable if FMA is supported.
27744 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
27745 macro.
27746 (bit_FMA4_Usable): Updated.
27747 (index_FMA_Usable): New macro.
27748 (CPUID_FMA): Likewise
27749 (HAS_FMA): Defined with bit_FMA_Usable.
27750
51367701
RM
277512012-10-01 Roland McGrath <roland@hack.frob.com>
27752
27753 * bits/types.h (__swblk_t): Type removed.
27754 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
27755 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
27756 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27757 (__SWBLK_T_TYPE): Likewise.
27758 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27759 (__SWBLK_T_TYPE): Likewise.
27760 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27761 (__SWBLK_T_TYPE): Likewise.
27762 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27763 (__SWBLK_T_TYPE): Likewise.
27764
4d57bf63 277652012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 27766 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
27767
27768 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
27769 (xdr_mapname): Use YPMAXMAP as maxsize.
27770 (xdr_peername): Use YPMAXPEER as maxsize.
27771 (xdr_keydat): Use YPAXRECORD as maxsize.
27772 (xdr_valdat): Use YPMAXRECORD as maxsize.
27773
93c65d43
RM
277742012-10-01 Roland McGrath <roland@hack.frob.com>
27775
497a03d6
RM
27776 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
27777
93c65d43
RM
27778 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
27779 * csu/init-first.c: ... here.
27780 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
27781 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
27782 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
27783 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
27784 * sysdeps/i386/init-first.c: File removed.
27785 * sysdeps/sh/init-first.c: File removed.
27786
bec749fd
JM
277872012-10-01 Joseph Myers <joseph@codesourcery.com>
27788
27789 [BZ #14645]
27790 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
27791 if x * y might underflow to zero and z is zero.
27792 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27793 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27794 * math/libm-test.inc (min_subnorm_value): New variable.
27795 (fma_test): Add more tests.
27796 (fma_test_towardzero): Likewise.
27797 (fma_test_downward): Likewise
27798 (fma_test_upward): Likewise.
27799 (initialize): Set min_subnorm_value.
27800
8ec5b013
JM
278012012-09-29 Joseph Myers <joseph@codesourcery.com>
27802
27803 [BZ #14638]
27804 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
27805 0 + 0.
27806 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
27807 mode for addition resulting in exact zero.
27808 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
27809 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
27810 exact 0 + 0.
27811 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27812 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27813 * math/libm-test.inc (fma_test): Add more tests.
27814 (fma_test_towardzero): New function.
27815 (fma_test_downward): Likewise.
27816 (fma_test_upward): Likewise.
27817 (main): Call the new functions.
27818
b1fa802e
DM
278192012-09-28 David S. Miller <davem@davemloft.net>
27820
27821 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
27822
d3b9fd9e
RM
278232012-09-28 Roland McGrath <roland@hack.frob.com>
27824
ea4d37b3
RM
27825 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
27826 instead of SIGALRM.
27827
ac51c949
RM
27828 * sysdeps/gnu/_G_config.h: Moved to ...
27829 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
27830 * sysdeps/mach/hurd/_G_config.h: Moved to ...
27831 * sysdeps/generic/_G_config.h: ... here.
27832
28c195f7
RM
27833 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
27834
848917f9
RM
27835 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
27836
6bacf05b
RM
27837 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
27838 Conditionalize target on [libnss_test1.so-version].
27839
91363dbb
RM
27840 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
27841
cc87f7d8
RM
27842 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
27843 (elfobjdir): Move out of conditionals.
27844
b1c608fe
RM
27845 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
27846 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
27847 (__nss_lookup_function): Conditionalize label remove_from_tree on
27848 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 27849
1d9a6d96
DM
278502012-09-28 David S. Miller <davem@davemloft.net>
27851
27852 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
27853 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
27854 file.
27855 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27856 sysdep_routines.
27857 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27858 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
27859 when HWCAP_SPARC_CRYPTO is present.
27860
72581615
PT
278612012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27862
27863 * io/tst-mknodat.c: Create a FIFO instead of a socket.
27864
715a900c
JL
278652012-09-28 Andreas Schwab <schwab@linux-m68k.org>
27866
27867 [BZ #6530]
27868 * stdio-common/vfprintf.c (process_string_arg): Revert
27869 2000-07-22 change.
27870
278712011-09-28 Jonathan Nieder <jrnieder@gmail.com>
27872
27873 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
27874 for testcase.
27875 * stdio-common/tst-sprintf.c: Include <locale.h>
27876 (main): Test sprintf's handling of incomplete multibyte
27877 characters.
27878
9bac1d86
L
278792012-09-28 H.J. Lu <hongjiu.lu@intel.com>
27880
27881 * elf/dl-runtime.c (VERSYMIDX): Removed.
27882 * elf/dl-version.c (VERSYMIDX): Likewise.
27883 * elf/do-rel.h (VERSYMIDX): Likewise.
27884 (VALIDX): Likewise.
27885 * elf/dynamic-link.h (VERSYMIDX): Likewise.
27886 * elf/rtld.c (VALIDX): Likewise.
27887 (ADDRIDX): Likewise.
9bac1d86
L
27888 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
27889 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
27890 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
27891 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
27892 (VALIDX): Likewise.
27893 (ADDRIDX): Likewise.
9bac1d86 27894
b31606c0
PT
278952012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27896
27897 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
27898
11541177
JL
278992012-09-28 Dmitry V. Levin <ldv@altlinux.org>
27900
27901 [BZ #11438]
27902 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
27903 to global scope.
27904 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
27905 addresses are in the same scope as 192.0.2/24.
27906 * posix/gai.conf: Document new scope table defaults.
27907
adb26fae
SP
279082012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27909
27910 [BZ #5298]
27911 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
27912 for ftell. Compute offsets from write pointers instead.
27913 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27914
4573c6b0
SP
279152012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27916
27917 [BZ #14543]
27918 * libio/Makefile (tests): New test case tst-fseek.
27919 * libio/tst-fseek.c: New test case to verify that fseek/ftell
27920 combination works in wide mode.
27921 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
27922 state when the external buffer state changes.
27923
aa9bbfe6
DM
279242012-09-27 David S. Miller <davem@davemloft.net>
27925
27926 [BZ #14376]
27927 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
27928 pass reloc->r_addend in as the 'high' argument to
27929 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
27930
784421e7
DM
27931 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27932
c39bc8b8
PT
279332012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27934
27935 * rt/tst-aio2.c: Include <pthread.h>.
27936 * rt/tst-aio3.c: Likewise.
27937
1ccc2399
SE
279382012-09-27 Steve Ellcey <sellcey@mips.com>
27939
27940 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
27941
31ed4153
L
279422012-09-27 H.J. Lu <hongjiu.lu@intel.com>
27943
25f5f885
L
27944 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
27945 contents on [SHARED].
31ed4153 27946
b7bfe116
MP
279472012-09-26 Marek Polacek <polacek@redhat.com>
27948
27949 [BZ #14530]
27950 [BZ #13741]
27951 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
27952 for C++ and GCC <4.3 as well as for non GCC compilers.
27953
43c4edba
MT
279542012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
27955
27956 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27957
6a1bf82f
RM
279582012-09-25 Roland McGrath <roland@hack.frob.com>
27959
27960 * Makefile.in (all, install): Declare with .PHONY.
27961 Reported by Michael Hope <michael.hope@linaro.org>.
27962
8ad11b9a
TMQMF
279632012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27964
27965 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
27966 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
27967 system header.
27968 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
27969 Likewise.
27970 (sydep_routines): Add the new and the internal functions.
27971 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
27972 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
27973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
27974 (GLIBC_2.17): Add the new function.
27975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27976 (GLIBC_2.17): Likewise.
27977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
27978 (GLIBC_2.17): Likewise.
27979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
27980 (GLIBC_2.17): Likewise.
27981 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
27982
7e2fca8d
AM
279832012-09-25 Alan Modra <amodra@gmail.com>
27984
27985 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
27986 Add release barrier before setting once_control to say
27987 initialisation is done. Add hints on lwarx. Use macro in
27988 place of isync.
27989 (clear_once_control): Add release barrier.
27990
b87c4b24
JM
279912012-09-25 Joseph Myers <joseph@codesourcery.com>
27992
d032e0d2
JM
27993 [BZ #13629]
27994 * math/s_clog.c (__clog): Handle more values close to |z| = 1
27995 specially.
27996 * math/s_clog10.c (__clog10): Likewise.
27997 * math/s_clog10f.c (__clog10f): Likewise.
27998 * math/s_clog10l.c (__clog10l): Likewise.
27999 * math/s_clogf.c (__clogf): Likewise.
28000 * math/s_clogl.c (__clogl): Likewise.
28001 * math/Makefile (libm-calls): Add x2y2m1.
28002 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
28003 (__x2y2m1): Likewise.
28004 (__x2y2m1l): Likewise.
28005 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
28006 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
28007 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
28008 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28009 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
28010 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
28011 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
28012 * sysdeps/i386/fpu/libm-test-ulps: Update.
28013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28014
b87c4b24
JM
28015 [BZ #14621]
28016 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
28017 int as type of variable DEPTH.
28018 (glob): Use size_t instead of int as type of variables NEWCOUNT
28019 and OLD_PATHC.
28020
6d3bf199
LD
280212012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28022
22bf5c17
LD
28023 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28024 Add s_sincosf-sse2.
28025 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
28026 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
28027 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
28028 macros for using routine as __sincosf_ia32.
28029 Use macro for function declaration and weak_alias.
28030 * sysdeps/i386/fpu/libm-test-ulps: Update.
28031
28032 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
28033 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28034
28035 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
28036 subnormal argument.
28037 * math/s_cexpf.c (__cexpf): Likewise.
28038 * math/s_csinf.c (__csinf): Likewise.
28039 * math/s_csinhf.c (__csinhf): Likewise.
28040 * math/s_ctanf.c (__ctanf): Likewise.
28041 * math/s_ctanhf.c (__ctanhf): Likewise.
28042 * math/s_ccosh.c (__ccoshf): Likewise.
28043 * math/s_cexp.c (__cexpl): Likewise.
28044 * math/s_csin.c (__csin): Likewise.
28045 * math/s_csinh.c (__csinh): Likewise.
28046 * math/s_ctan.c (__ctan): Likewise.
28047 * math/s_ctanh.c (ctanh): Likewise.
28048 * math/s_ccoshl.c (__ccoshl): Likewise.
28049 * math/s_cexpl.c (__cexpl): Likewise.
28050 * math/s_csinl.c (__csinl): Likewise.
28051 * math/s_csinhl.c (__csinhl): Likewise.
28052 * math/s_ctanl.c (__ctanl): Likewise.
28053 * math/s_ctanhl.c (__ctanhl): Likewise.
28054
203e5603
JM
280552012-09-25 Joseph Myers <joseph@codesourcery.com>
28056
28057 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
28058 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
28059 (_IO_off_t): Define to __off_t, not _G_off_t.
28060 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
28061 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
28062 (_IO_wint_t): Define to wint_t, not _G_wint_t.
28063 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
28064 type of __dummy and __dummy2 fields.
28065 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
28066 (_G_ssize_t): Likewise.
28067 (_G_off_t): Likewise.
28068 (_G_pid_t): Likewise.
28069 (_G_uid_t): Likewise.
28070 (_G_wchar_t): Likewise.
28071 (_G_wint_t): Likewise.
28072 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
28073 (_G_ssize_t): Likewise.
28074 (_G_off_t): Likewise.
28075 (_G_pid_t): Likewise.
28076 (_G_uid_t): Likewise.
28077 (_G_wchar_t): Likewise.
28078 (_G_wint_t): Likewise.
28079 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
28080 (_G_ssize_t): Likewise.
28081 (_G_off_t): Likewise.
28082 (_G_pid_t): Likewise.
28083 (_G_uid_t): Likewise.
28084 (_G_wchar_t): Likewise.
28085 (_G_wint_t): Likewise.
28086
9fab36eb
SP
280872012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28088
28089 * malloc/arena.c: Include malloc-sysdep.h.
28090 (shrink_heap): Use check_may_shrink_heap to decide if madvise
28091 is sufficient to shrink the heap or an unmap is needed.
28092 * sysdeps/generic/malloc-sysdep.h: New file. Define
28093 new function check_may_shrink_heap.
28094 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
28095 new function check_may_shrink_heap.
28096
2b4f00d1
SP
280972012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28098
28099 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
28100 comments.
28101
9a9028b1
DL
281022012-09-24 Dmitry V. Levin <ldv@altlinux.org>
28103
57c69bef
DL
28104 * catgets/test-gencat.sh: Add "set -e".
28105 * elf/tst-pathopt.sh: Likewise.
28106 * grp/tst_fgetgrent.sh: Likewise.
28107 * iconvdata/run-iconv-test.sh: Likewise.
28108 * intl/tst-gettext.sh: Likewise.
28109 * intl/tst-gettext2.sh: Likewise.
28110 * intl/tst-gettext4.sh: Likewise.
28111 * intl/tst-gettext6.sh: Likewise.
28112 * intl/tst-translit.sh: Likewise.
28113 * io/ftwtest-sh: Likewise.
28114 * libio/test-freopen.sh: Likewise.
28115 * malloc/tst-mtrace.sh: Likewise.
28116 * posix/globtest.sh: Likewise.
28117 * posix/tst-getconf.sh: Likewise.
28118 * posix/wordexp-tst.sh: Likewise.
28119 * stdio-common/tst-printf.sh: Likewise.
28120 * stdio-common/tst-unbputc.sh: Likewise.
28121 * stdlib/tst-fmtmsg.sh: Likewise.
28122 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28123 * catgets/Makefile: Do not specify -e option when running
28124 testsuite shell scripts.
28125 * elf/Makefile: Likewise.
28126 * grp/Makefile: Likewise.
28127 * iconvdata/Makefile: Likewise.
28128 * intl/Makefile: Likewise.
28129 * io/Makefile: Likewise.
28130 * libio/Makefile: Likewise.
28131 * malloc/Makefile: Likewise.
28132 * posix/Makefile: Likewise.
28133 * stdio-common/Makefile: Likewise.
28134 * stdlib/Makefile: Likewise.
28135 * sysdeps/x86_64/Makefile: Likewise.
28136
9a9028b1
DL
28137 * io/ftwtest-sh: Add copyright header.
28138 * posix/globtest.sh: Likewise.
28139 * posix/tst-getconf.sh: Likewise.
28140 * posix/wordexp-tst.sh: Likewise.
28141 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28142
ced6f16e
L
281432012-09-24 H.J. Lu <hongjiu.lu@intel.com>
28144
94b32c39
L
28145 [BZ #13679]
28146 * Makeconfig (+link): Defined as $(+link-static) if
28147 $(build-shared) isn't yes.
28148 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
28149 isn't yes.
28150 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
28151
189e935b
L
28152 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
28153
ced6f16e
L
28154 [BZ #14562]
28155 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
28156 new chunk size with MALLOC_ALIGN_MASK.
28157
a9f8e53a
JM
281582012-09-24 Joseph Myers <joseph@codesourcery.com>
28159
28160 [BZ #5044]
28161 * stdio-common/printf_fphex.c: Include <stdbool.h> and
28162 <rounding-mode.h>.
28163 (__printf_fphex): Determine rounding using get_rounding_mode and
28164 round_away.
28165 * stdio-common/tst-printf-round.c (struct hex_test): New
28166 structure.
28167 (hex_tests): New variable.
28168 (test_hex_in_one_mode): New function.
28169 (do_test): Also run tests for hex float output.
28170
43153109
JM
281712012-09-21 Joseph Myers <joseph@codesourcery.com>
28172
28173 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28174 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28175 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
28176 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28177 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28178 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
28179 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28180 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28181
8a26625d
JM
281822012-09-20 Joseph Myers <joseph@codesourcery.com>
28183
28184 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
28185 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
28186 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
28187 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
28188
f3fd569c
DL
281892012-09-19 Dmitry V. Levin <ldv@altlinux.org>
28190
28191 [BZ #14579]
28192 * elf/rtld.c (dl_main): Limit the check for self loading to normal
28193 mode only.
28194 * elf/tst-rtld-load-self.sh: New test.
28195 * elf/Makefile: Run it.
28196
63bbedd4
JM
281972012-09-18 Joseph Myers <joseph@codesourcery.com>
28198
28199 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
28200 (tst-writev-ENV): Remove.
28201 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
28202
626f8b6a
CM
282032012-09-17 Chris Metcalf <cmetcalf@tilera.com>
28204
28205 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
28206
b7aaa4d6
JM
282072012-09-17 Joseph Myers <joseph@codesourcery.com>
28208
28209 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
28210 unconditional.
28211 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
28212 Likewise.
28213 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
28214 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
28215 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
28216 Likewise.
28217
65513990
L
282182012-09-14 H.J. Lu <hongjiu.lu@intel.com>
28219
28220 [BZ #14587]
28221 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
28222 * config.make.in (have-cpp-asm-debuginfo): Removed.
28223 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
28224 * configure: Regenerated.
28225
784761be
JM
282262012-09-14 Joseph Myers <joseph@codesourcery.com>
28227
28228 [BZ #5044]
28229 * stdio-common/printf_fp.c: Include <stdbool.h> and
28230 <rounding-mode.h>.
28231 (___printf_fp): Determine rounding using get_rounding_mode and
28232 round_away.
28233 * stdio-common/tst-printf-round.c: New file.
28234 * stdio-common/Makefile (tests): Add tst-printf-round.
28235 (link-libm): New variable.
28236 ($(objpfx)tst-printf-round): Depend in $(link-libm).
28237
9503345f
L
282382012-09-13 H.J. Lu <hongjiu.lu@intel.com>
28239
28240 [BZ #14576]
28241 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
28242 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
28243 Likewise.
28244 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
28245 Likewise.
28246
ad35fc00
JM
282472012-09-13 Joseph Myers <joseph@codesourcery.com>
28248
28249 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
28250 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28251 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28252 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28253
6c9b0f68
JM
282542012-09-12 Joseph Myers <joseph@codesourcery.com>
28255
28256 [BZ #14518]
28257 * include/rounding-mode.h: New file.
28258 * sysdeps/generic/get-rounding-mode.h: Likewise.
28259 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
28260 * stdlib/strtod_l.c: Include <rounding-mode.h>.
28261 (MAX_VALUE): New macro.
28262 (MIN_VALUE): Likewise.
28263 (overflow_value): New function.
28264 (underflow_value): Likewise.
28265 (round_and_return): Use overflow_value and underflow_value to
28266 determine return values in overflow and underflow cases. Use
28267 round_away to determine rounding depending on rounding mode.
28268 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
28269 determine return values in overflow and underflow cases.
28270 * stdlib/tst-strtod-round.c: Include <fenv.h>.
28271 (struct test_results): New structure.
28272 (struct test): Use struct test_results to store expected results
28273 for all rounding modes.
28274 (TEST): Include expected results for all rounding modes.
28275 (test_in_one_mode): New function.
28276 (do_test): Use test_in_one_mode to compute and check results.
28277 Check results for all rounding modes.
28278 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
28279 $(link-libm).
28280
19fcedd5
AM
282812012-12-09 Allan McRae <allan@archlinux.org>
28282
1e9d84cd 28283 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 28284
8bbfd2f1
JM
282852012-09-11 Joseph Myers <joseph@codesourcery.com>
28286
28287 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
28288 (_G_int32_t): Likewise.
28289 (_G_uint16_t): Likewise.
28290 (_G_uint32_t): Likewise.
28291 (_G_HAVE_BOOL): Likewise.
28292 (_G_HAVE_ATEXIT): Likewise.
28293 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28294 (_G_HAVE_IO_FILE_OPEN): Likewise.
28295 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
28296 (_G_int32_t): Likewise.
28297 (_G_uint16_t): Likewise.
28298 (_G_uint32_t): Likewise.
28299 (_G_HAVE_BOOL): Likewise.
28300 (_G_HAVE_ATEXIT): Likewise.
28301 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28302 (_G_HAVE_IO_FILE_OPEN): Likewise.
28303 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
28304 (_G_int32_t): Likewise.
28305 (_G_uint16_t): Likewise.
28306 (_G_uint32_t): Likewise.
28307 (_G_HAVE_BOOL): Likewise.
28308 (_G_HAVE_ATEXIT): Likewise.
28309 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28310 (_G_HAVE_IO_FILE_OPEN): Likewise.
28311
b1dc5912
L
283122012-09-11 H.J. Lu <hongjiu.lu@intel.com>
28313
28314 * csu/libc-tls.c: Update copyright years.
28315
0e886ef9
JM
283162012-09-10 Joseph Myers <joseph@codesourcery.com>
28317
28361c5e
JM
28318 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
28319 [!_G_USING_THUNKS]: Remove conditional code.
28320 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
28321 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
28322
0e886ef9
JM
28323 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
28324 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
28325 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28326 (_G_VTABLE_LABEL_PREFIX): Likewise.
28327 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28328 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28329 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28330 (_G_VTABLE_LABEL_PREFIX): Likewise.
28331 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28332 * sysdeps/mach/hurd/_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
bcba7aa2
L
283372012-09-10 H.J. Lu <hongjiu.lu@intel.com>
28338
28339 * libio/Makefile: Include ../Makeconfig before tests.
28340 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
28341 only if $(build-shared) is yes.
28342
06585ee8
L
28343 * iconv/gconv_db.c: Update copyright years.
28344
80ccd52c
LD
283452012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28346
28347 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
28348 unwind info if defined PIC. Fix special cases description.
28349 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
28350
28351 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
28352 DP_HI_MASK entry.
28353 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
28354
691bc9c1
L
283552012-09-07 H.J. Lu <hongjiu.lu@intel.com>
28356
3d9b46b3
L
28357 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
28358
de2139a9
L
28359 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
28360 is NULL.
28361
5ca78dd0
L
28362 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
28363 (LDLIBS-tst-chk4): This.
28364 (LDFLAGS-tst-chk5): Renamed to ...
28365 (LDLIBS-tst-chk5): This.
28366 (LDFLAGS-tst-chk6): Renamed to ...
28367 (LDLIBS-tst-chk6): This.
28368 (LDFLAGS-tst-lfschk4): Renamed to ...
28369 (LDLIBS-tst-lfschk4): This.
28370 (LDFLAGS-tst-lfschk5): Renamed to ...
28371 (LDLIBS-tst-lfschk5): This.
28372 (LDFLAGS-tst-lfschk6): Renamed to ...
28373 (LDLIBS-tst-lfschk6): This.
28374
691bc9c1
L
28375 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
28376 on $(common-objpfx)soversions.mk.
28377
65cafb1c
JM
283782012-09-07 Joseph Myers <joseph@codesourcery.com>
28379
28380 [BZ #10014]
28381 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
28382 example host name.
28383
c78ab094
SP
283842012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28385
28386 * malloc/arena.c (arena_get_retry): New function that gets
28387 another arena for the caller to try its request on.
28388 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
28389 current arena cannot fulfill the request.
28390 (__libc_memalign): Likewise.
28391 (__libc_memalign): Likewise.
28392 (__libc_pvalloc): Likewise.
28393 (__libc_calloc): Likewise.
28394
01f49f59
JT
283952012-09-05 John Tobey <john.tobey@gmail.com>
28396
28397 [BZ #13542]
28398 * manual/arith.texi (Operations on Complex): Fix description
28399 of carg branch cut.
28400
4c23fed5
JM
284012012-09-06 Joseph Myers <joseph@codesourcery.com>
28402
1d3c8572
JM
28403 [BZ #10014]
28404 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
28405 host name.
28406
4c23fed5
JM
28407 [BZ #10038]
28408 * manual/memory.texi (Memory): Make order of menu items match
28409 order of sections.
28410
04570aaa
L
284112012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28412
28413 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
28414 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
28415 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
28416
b80af2f4
L
284172012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28418
28419 * csu/libc-tls.c (static_dtv): Renamed to ...
28420 (_dl_static_dtv): This. Make it global.
28421 (_dl_initial_dtv): Removed.
28422 (__libc_setup_tls): Updated.
28423 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
28424 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
28425 DL_INITIAL_DTV.
28426
2abe9f15
PM
284272012-09-06 Petr Machata <pmachata@redhat.com>
28428
28429 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
28430 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
28431 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
28432 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
28433
0948c3af
L
284342012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28435
28436 [BZ #14545]
28437 * csu/libc-tls.c (_dl_initial_dtv): New variable.
28438 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
28439 freeing dtv[-1].
28440
a5055ad1
L
284412012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28442
28443 [BZ #14544]
28444 * Makeconfig (link-static-before-libc): Replace $(+prector)
28445 with $(+prectorT).
28446 (link-static-after-libc): Replace $(+postctor) with
28447 $(+postctorT).
28448 (link-bounded): Replace $(+prector)/$(+postctor) with
28449 $(+prectorT)/$(+postctorT).
28450 (+prectorT): New macro.
28451 (+postctorT): Likewise.
28452
ed8c2ecd
JM
284532012-09-06 Joseph Myers <joseph@codesourcery.com>
28454
28455 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
28456 (round_str): Handle values above the maximum for IBM long double
28457 as inexact.
28458 * stdlib/tst-strtod-round.c (tests): Regenerated.
28459
14c996c8
AK
284602012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28461
28462 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
28463 assembler flag.
28464 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
28465 zarch_nohighgprs around the zarch optimized routines.
28466 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28467 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28468 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
28469 for zarch.
28470
430d6ce6
DM
284712012-09-05 David S. Miller <davem@davemloft.net>
28472
28473 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28474
57f41c40
AS
28475 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
28476 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
28477 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
28478 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28479 entries.
28480
24d4e01b
AO
284812012-09-05 Alexandre Oliva <aoliva@redhat.com>
28482
28483 * malloc/arena.c: Fold copyright years.
28484 * malloc/mcheck.c, malloc/memusage.c: Likewise.
28485
61d58174
AO
284862012-09-05 Alexandre Oliva <aoliva@redhat.com>
28487
28488 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
28489
20196a5e
AO
284902012-09-05 Alexandre Oliva <aoliva@redhat.com>
28491
28492 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
28493
5c447383
AO
284942012-09-05 Alexandre Oliva <aoliva@redhat.com>
28495
28496 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
28497 change internal state upon failure.
28498
fad64255
AO
284992012-09-05 Alexandre Oliva <aoliva@redhat.com>
28500
28501 * malloc/mcheck.c (mcheck_check_all): Fix typo.
28502 * malloc/memusage.c (mmap): Likewise.
28503 (mmap64, mremap): Likewise. Adjust name in comment.
28504
1ffb8c90
SP
285052012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28506
28507 * libio/fileops.c: Fix typos in comments.
28508 * libio/oldfileops.c: Likewise.
28509 * libio/wfileops.c: Likewise.
28510
6ef9cc37
SP
285112012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28512
28513 [BZ #1349]
28514 * malloc/Makefile (tests): Add tst-malloc-usable test case.
28515 (tst-malloc-usable-ENV): Set environment for test case.
28516 * malloc/hooks.c (malloc_check_get_size): New function to get
28517 requested size.
28518 * malloc/malloc.c (musable): Use malloc_check_get_size.
28519 * malloc/tst-malloc-usable.c: New test case.
28520
4d038ae3
AS
285212012-09-05 Andreas Schwab <schwab@linux-m68k.org>
28522
28523 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
28524
c4e85184
AM
285252012-09-05 Allan McRae <allan@archlinux.org>
28526
b9dafc56 28527 [BZ #13966]
c4e85184
AM
28528 * configure.in (CXX_SYSINCLUDES): Use compiler output to
28529 determine header location.
28530 * configure: Regenerated.
28531
e1343020
AS
285322012-09-05 Andreas Schwab <schwab@linux-m68k.org>
28533
28534 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
28535 float format.
28536 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
28537 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
28538 format.
e1343020
AS
28539 (test): Regenerate.
28540
0a9f1987
DM
285412012-09-04 David S. Miller <davem@davemloft.net>
28542
28543 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
28544 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
28545 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
28546
29237804
FW
285472012-09-04 Florian Weimer <fweimer@redhat.com>
28548
28549 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
28550 failures.
28551
edb3cb88
FW
28552 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
28553
60160d83
JM
285542012-09-04 Joseph Myers <joseph@codesourcery.com>
28555
28556 [BZ #9914]
28557 * libio/iogetdelim.c: Include <limits.h>.
28558 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
28559 + len + 1 would overflow.
28560
bcd6c8dc
AJ
285612012-09-03 Andreas Jaeger <aj@suse.de>
28562
28563 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28564 * sysdeps/i386/fpu/libm-test-ulps: Update.
28565
4ffffbd2
LD
285662012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28567
28568 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28569 Add s_sinf-sse2, s_conf-sse2.
28570
28571 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
28572 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
28573 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
28574 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
28575
28576 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
28577 for using routine as __sinf_ia32.
28578 Use macro for function declaration and weak_alias.
28579 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
28580 for using routine as __cosf_ia32.
28581 Use macro for function declaration and weak_alias.
28582
28583 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
28584 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
28585
28586 * sysdeps/x86_64/fpu/s_sinf.S: New file.
28587 * sysdeps/x86_64/fpu/s_cosf.S: New file.
28588 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28589
28590 * math/libm-test.inc (cos_test): Add more test cases.
28591 (sin_test): Likewise.
28592 (sincos_test): Likewise.
28593
511fa286
AK
285942012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28595
28596 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
28597 (IFUNC_RESOLVE): Make pointers to the specialized implementations
28598 hidden.
28599 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28600
5f30cfec
L
286012012-09-02 H.J. Lu <hongjiu.lu@intel.com>
28602
28603 [BZ #14538]
28604 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
28605 first element of the GOT.
28606 (elf_machine_load_address): Return the difference between
28607 the runtime address of _DYNAMIC and elf_machine_dynamic ().
28608
0786794f
AM
286092012-09-01 Allan McRae <allan@archlinux.org>
28610
5f30cfec
L
28611 [BZ #13412]
28612 * configure.in (AWK): Require gawk version 3.0 or later.
28613 * configure: Regenerated.
0786794f 28614
26889eac
JM
286152012-09-01 Joseph Myers <joseph@codesourcery.com>
28616
28617 * sysdeps/unix/sysv/linux/kernel-features.h
28618 (__ASSUME_POSIX_CPU_TIMERS): Remove.
28619 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28620 [__NR_clock_getres]: Make code unconditional.
28621 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
28622 (clock_getcpuclockid): Remove code left unreachable by removal of
28623 conditionals.
28624 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
28625 code unconditional.
28626 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28627 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28628 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
28629 Make code unconditional.
28630 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28631 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28632 * sysdeps/unix/sysv/linux/clock_settime.c
28633 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
28634 conditional code.
28635 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
28636 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28637
d22e28b0
L
286382012-08-29 H.J. Lu <hongjiu.lu@intel.com>
28639
28640 [BZ #14476]
28641 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
28642 scripts/test-installation.pl.
28643
28644 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
28645 and $ld_so_version if it is set.
28646
050af9c4
SP
286472012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28648
28649 [BZ #14516]
28650 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
28651 failure if reading from procfs failed.
28652 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
28653
ad845c0b
JM
286542012-08-27 Joseph Myers <joseph@codesourcery.com>
28655
28656 * sysdeps/unix/sysv/linux/kernel-features.h
28657 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
28658 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28659 Remove conditional code.
28660 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28661 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
28662 Remove conditional code.
28663 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28664 * sysdeps/unix/sysv/linux/i386/fxstat.c
28665 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28666 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28667 * sysdeps/unix/sysv/linux/i386/fxstatat.c
28668 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28669 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28670 * sysdeps/unix/sysv/linux/i386/lxstat.c
28671 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28672 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28673 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
28674 Remove conditional code.
28675 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28676 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28677 Remove conditional code.
28678 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28679 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
28680 <kernel-features.h>.
28681 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
28682 Remove.
28683 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
28684 Remove conditional code.
28685 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28686 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
28687 Remove conditional.
28688
5dbf56af
MF
286892012-08-27 Mike Frysinger <vapier@gentoo.org>
28690
28691 [BZ #5400]
28692 * NEWS: Add fixed bug number.
28693
d6e70f43
JM
286942012-08-27 Joseph Myers <joseph@codesourcery.com>
28695
7efb4737
JM
28696 [BZ #14519]
28697 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
28698 underflowing exponent in case of negative sign.
28699 * stdlib/tst-strtod-round-data: Add more tests.
28700 * stdlib/tst-strtod-round.c (tests): Regenerated.
28701
af92131a
JM
28702 [BZ #3479]
28703 * stdlib/strtod_l.c (NDIG): Remove.
28704 (HEXNDIG): Likewise.
28705 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
28706 smallest representable value.
28707 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
28708 lie within an exact representation of 1/2 ulp of the result.
28709 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
28710 unconditionally.
28711 (TENS_P9_IDX): Define unconditionally.
28712 (TENS_P9_SIZE): Likewise.
28713 (TENS_P10_IDX): Likewise.
28714 (TENS_P10_SIZE): Likewise.
28715 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
28716 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
28717 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
28718 entries for 10^2^13 and 10^2^14.
28719 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
28720 (TENS_P13_IDX): Define.
28721 (TENS_P13_SIZE): Likewise.
28722 (TENS_P14_IDX): Likewise.
28723 (TENS_P14_SIZE): Likewise.
28724 (_fpioconst_pow10): Change array size to
28725 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
28726 unconditional.
28727 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
28728 1024]: Add entries for 10^2^13 and 10^2^14.
28729 [LAST_POW10 > _LAST_POW10]: Remove #error.
28730 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
28731 (_fpioconst_pow10): Change array size to
28732 FPIOCONST_POW10_ARRAY_SIZE.
28733 * stdlib/gen-fpioconst.c: New file.
28734 * stdlib/gen-tst-strtod-round.c: Likewise.
28735 * stdlib/tst-strtod-round-data: Likewise.
28736 * stdlib/tst-strtod-round.c: Likewise.
28737 * stdlib/Makefile (tests): Add tst-strtod-round.
28738
d6e70f43
JM
28739 [BZ #14459]
28740 * stdlib/strtod_l.c: Include <stdint.h>.
28741 (NDEBUG): Do not define.
28742 (round_and_return): Change EXPONENT parameter to type intmax_t.
28743 Rearrange calculations to avoid internal overflow possibilities.
28744 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
28745 Rearrange calculations to avoid internal overflow possibilities.
28746 Assert that number fits inside MPNSIZE limbs.
28747 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
28748 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
28749 calculations and add assertions to avoid internal overflow
28750 possibilities. Add casts to avoid signed/unsigned operations.
28751 * stdlib/tst-strtod-overflow.c: New file.
28752 * stdlib/Makefile (tests): Add tst-strtod-overflow.
28753
1f529f7d
MP
287542012-08-25 Marek Polacek <polacek@redhat.com>
28755
28756 * time/time.h: Fix some typos in comments.
28757
59a629f1
RM
287582012-08-23 Roland McGrath <roland@hack.frob.com>
28759
28760 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
28761 * posix/tst-rfc3484-2.c: Likewise.
28762 * posix/tst-rfc3484-3.c: Likewise.
28763
d3bafbc9
SM
287642012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
28765
28766 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
28767 (EF_ARM_ABI_FLOAT_HARD): Likewise.
28768
4efcc022
JM
287692012-08-23 Joseph Myers <joseph@codesourcery.com>
28770
28771 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
28772 #include of fxstatat64.c.
28773
3cc3ef96
RM
287742012-08-22 Roland McGrath <roland@hack.frob.com>
28775
f04e2132
RM
28776 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
28777 * shadow/getspent_r.c: Likewise.
28778 * shadow/getspnam.c: Likewise.
28779 * shadow/getspnam_r.c: Likewise.
28780 * gshadow/getsgent.c: Likewise.
28781 * gshadow/getsgent_r.c: Likewise.
28782 * gshadow/getsgnam.c: Likewise.
28783 * gshadow/getsgnam_r.c: Likewise.
28784 * inet/getnetbyad.c: Likewise.
28785 * inet/getnetbyad_r.c: Likewise.
28786 * inet/getnetbynm.c: Likewise.
28787 * inet/getnetbynm_r.c: Likewise.
28788 * inet/getnetent.c: Likewise.
28789 * inet/getnetent_r.c: Likewise.
28790 * inet/getproto.c: Likewise.
28791 * inet/getproto_r.c: Likewise.
28792 * inet/getprtent.c: Likewise.
28793 * inet/getprtent_r.c: Likewise.
28794 * inet/getprtname.c: Likewise.
28795 * inet/getprtname_r.c: Likewise.
28796 * inet/getrpcbyname.c: Likewise.
28797 * inet/getrpcbyname_r.c: Likewise.
28798 * inet/getrpcbynumber.c: Likewise.
28799 * inet/getrpcbynumber_r.c: Likewise.
28800 * inet/getrpcent.c: Likewise.
28801 * inet/getrpcent_r.c: Likewise.
28802 * inet/getaliasent.c: Likewise.
28803 * inet/getaliasent_r.c: Likewise.
28804 * inet/getaliasname.c: Likewise.
28805 * inet/getaliasname_r.c: Likewise.
28806 * nscd/getgrgid_r.c: Likewise.
28807 * nscd/getgrnam_r.c: Likewise.
28808 * nscd/gethstbyad_r.c: Likewise.
28809 * nscd/gethstbynm3_r.c: Likewise.
28810 * nscd/getpwnam_r.c: Likewise.
28811 * nscd/getpwuid_r.c: Likewise.
28812 * nscd/getsrvbynm_r.c: Likewise.
28813 * nscd/getsrvbypt_r.c: Likewise.
28814 * nscd/gai.c: Likewise.
28815
c53d909c
RM
28816 * configure.in (build_nscd): New substituted variable, set
28817 by --disable-build-nscd and defaults to $use_nscd.
28818 * configure: Regenerated.
28819 * config.make.in (build-nscd): New substituted variable.
28820 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
28821 Change conditional to require [$(build-nscd) = yes] as well.
28822 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
28823
3cc3ef96
RM
28824 [BZ# 13696]
28825 * configure.in (use_nscd): New substituted variable, set by
28826 --disable-nscd. If enabled, define USE_NSCD.
28827 * configure: Regenerated.
28828 * config.h.in: Add USE_NSCD.
28829 * config.make.in (use-nscd): New substituted variable.
28830 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
28831 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
28832 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
28833 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
28834 (CFLAGS-getgrnam_r.c): Likewise.
28835 (CFLAGS-initgroups.c): Likewise.
28836 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
28837 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
28838 Variables removed.
28839 * inet/getnetgrent_r.c
28840 (nscd_setnetgrent): New function, broken out of ...
28841 (setnetgrent): ... here. Call it.
28842 (innetgr): Conditionalize nscd bits on [USE_NSCD].
28843 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
28844 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
28845 * nscd/Makefile (routines, aux): Move definitions after include of
28846 Makeconfig. Conditionalize on [$(use-nscd) != no].
28847 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
28848 Conditionalize on [USE_NSCD].
28849 (is_nscd, nscd_init_cb): Likewise.
28850 (nss_load_library): Conditionalize init callback on [USE_NSCD].
28851 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
28852 * nss/nss_db/db-init.c: Likewise.
28853 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
28854 [USE_NSCD].
28855 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
28856 (make_request): Use it.
28857 (cache_valid_p): New function.
28858 (__check_pf): Use it.
28859 * NEWS: Add item for --disable-nscd.
28860
07e51550
DL
288612012-08-22 Dmitry V. Levin <ldv@altlinux.org>
28862
28863 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
28864 to support sed >= 4.2.1-20-ga9bf076.
28865 * configure: Regenerated.
28866
35a5b08b
RM
288672012-08-22 Roland McGrath <roland@hack.frob.com>
28868
28869 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
28870 Conditionalize whole body on [IREL].
28871
8479f23a
JL
288722012-08-22 Jeff Law <law@redhat.com>
28873
28874 [BZ #14505]
28875 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
28876 if the family is PF_UNSPEC.
28877
48da0b21
MF
288782012-08-22 Mike Frysinger <vapier@gentoo.org>
28879
28880 * Makerules (lib-version): Rename from V.
28881 (install-lib-nosubdir): Change V to lib-version.
28882
15d0da8c
WS
288832012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
28884
28885 [BZ #14252]
28886 * powerpc32/power6/wcschr.c: New file.
28887 * powerpc32/power6/wcscpy.c: New file.
28888 * powerpc32/power6/wcsrchr.c: New file.
28889 * powerpc64/power6/wcschr.c: New file.
28890 * powerpc64/power6/wcscpy.c: New file.
28891 * powerpc64/power6/wcsrchr.c: New file.
28892
bcca0895
MK
288932012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28894
28895 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
28896 (two_way_short_needle): Use it.
5a4aaa33
RM
28897 * string/strstr.c (AVAILABLE1_USES_J): Define.
28898 * string/strcasestr.c: Likewise.
99677e57
MK
28899
28900 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
28901 array references.
28902 * string/strcasestr.c (TOLOWER): Make side-effect safe.
28903
400726de
MK
28904 [BZ #11607]
28905 * NEWS: Add an entry.
28906 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
28907 define their defaults.
28908 (two_way_short_needle): Detect end-of-string on-the-fly.
28909 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
28910 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
28911 * string/bug-strcasestr1.c: New test.
28912 * string/Makefile: Run it.
28913
20a71f2c
MK
289142012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28915
28916 [BZ #11607]
28917 * string/str-two-way.h (two_way_short_needle): Optimize matching of
28918 the first character.
28919
21ad0558
RM
289202012-08-21 Roland McGrath <roland@hack.frob.com>
28921
28922 * csu/elf-init.c (__libc_csu_irel): Function removed.
28923 * csu/libc-start.c (apply_irel): New function.
28924 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
28925
0e1d9911
JM
289262012-08-21 Joseph Myers <joseph@codesourcery.com>
28927
28928 * sysdeps/unix/sysv/linux/kernel-features.h
28929 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
28930 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28931 <kernel-features.h>.
28932 [__NR_fadvise64_64]: Make code unconditional.
28933 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
28934 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28935 !__NR_fadvise64_64)]: Likewise.
28936 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28937 !__NR_fadvise64_64))]: Likewise.
28938 [__NR_fadvise64]: Make code unconditional.
28939 [!__NR_fadvise64]: Remove conditional code.
28940 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
28941 <kernel-features.h>.
28942 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28943 unconditional.
28944 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28945 conditional code.
28946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
28947 not include <kernel-features.h>.
28948 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28949 unconditional.
28950 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28951 conditional code.
28952 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
28953 include <kernel-features.h>.
28954 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28955 unconditional.
28956 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28957 conditional code.
28958
14a50c9d
WS
289592012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28960
28961 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
28962 slight instruction rearrangements per scrollpipe analysis.
28963 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28964
c0f4faf0
RM
289652012-08-20 Roland McGrath <roland@hack.frob.com>
28966
696da859
RM
28967 * manual/syslog.texi (syslog; vsyslog, closelog):
28968 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
28969 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
28970
c0f4faf0
RM
28971 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
28972 DSOCAPS to match condition on defining it.
28973
348363b2
JM
289742012-08-20 Joseph Myers <joseph@codesourcery.com>
28975
a35cbf28
JM
28976 * sysdeps/unix/sysv/linux/kernel-features.h
28977 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
28978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
28979 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28980 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
28982 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28983 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
28985 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28986 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28987
445f7ecd
JM
28988 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
28989 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
28990
348363b2
JM
28991 * sysdeps/unix/sysv/linux/kernel-features.h
28992 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
28993 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
28994 unconditional.
28995 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28996 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
28997 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28998 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28999 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
29000 Make code unconditional.
29001 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29002 (__mmap64) [!__NR_mmap2]: Likewise.
29003 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
29004 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29005 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29006 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
29007 [__NR_mmap2]: Make code unconditional.
29008 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29009 (__mmap64) [!__NR_mmap2]: Likewise.
29010
bc5bc0e5
AK
290112012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29012
29013 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
29014
88d506de
AJ
290152012-08-18 Andreas Jaeger <aj@suse.de>
29016
29017 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
29018
493387d2
MF
290192012-08-18 Mike Frysinger <vapier@gentoo.org>
29020
29021 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
29022 * include/unistd.h (__have_sock_cloexec): Likewise.
29023 (__have_pipe2): Likewise.
29024 (__have_dup3): Likewise.
29025
a277af22
MF
290262012-08-18 Mike Frysinger <vapier@gentoo.org>
29027
29028 [BZ #9685]
29029 * include/unistd.h (__have_pipe2): Change define into an extern int.
29030 (__have_dup3): Likewise.
29031 * socket/have_sock_cloexec.c: Include fcntl.h.
29032 (__have_pipe2): New variable.
29033 (__have_dup3): Likewise.
29034
fdab8fd3
MF
290352012-08-17 Mike Frysinger <vapier@gentoo.org>
29036
29037 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
29038
31035e80
MP
290392012-08-17 Marek Polacek <polacek@redhat.com>
29040
29041 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
29042 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
29043
3bd9e993
RM
290442012-08-17 Roland McGrath <roland@hack.frob.com>
29045
c91c505f
RM
29046 * configure.in: Add AC_SUBST for sysheaders.
29047 * configure: Regenerated.
29048 * config.make.in (sysheaders): New substituted variable.
29049
7c6f9d53
RM
29050 * sysdeps/unix/mkfifo.c: Moved ...
29051 * sysdeps/posix/mkfifo.c: ... here.
29052 * sysdeps/unix/mkfifoat.c: Moved ...
29053 * sysdeps/posix/mkfifoat.c: ... here.
29054
29055 * sysdeps/unix/utime.c: Moved ...
29056 * sysdeps/posix/utime.c: ... here.
29057
29058 * sysdeps/unix/time.c: Moved ...
29059 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
29060 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
29061 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
29062
29063 * sysdeps/unix/nice.c: Moved ...
29064 * sysdeps/posix/nice.c: ... here.
29065
29066 * sysdeps/unix/alarm.c: Moved ...
29067 * sysdeps/posix/alarm.c: ... here.
29068
3bd9e993
RM
29069 * intl/Makefile ($(codeset_mo)): Depend on the input file.
29070
d1f09384
JL
290712012-08-17 Jeff Law <law@redhat.com>
29072
29073 * intl/Makefile (codeset_mo): New variable.
29074 ($(codeset_mo)): New target.
29075 (tst-codeset.out): Depend on that. Remove explicit rule.
29076 (tst-gettext3.out, tst-gettext5.out): Likewise.
29077 (LOCPATH-ENV, tst-codeset-ENV): New variables.
29078 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
29079 * intl/tst-codeset.sh: Remove.
29080 * intl/tst-gettext3.sh: Likewise.
29081 * intl/tst-gettext5.sh: Likewise.
29082
2ae1ae5c
RM
290832012-08-17 Roland McGrath <roland@hack.frob.com>
29084
c31fdb83
RM
29085 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
29086 * sysdeps/unix/syscalls.list: ... here.
29087
a0844057
RM
29088 * sysdeps/posix/getaddrinfo.c
29089 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
29090 (gaiconf_init, gaiconf_reload): Use them.
29091 [!_STATBUF_ST_NSEC]
29092 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
29093 Define using time_t rather than struct timespec.
29094
750c1f2a
RM
29095 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
29096 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
29097 Macros removed.
29098 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
29099 [!NO_THREADS].
29100 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
29101 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
29102 Likewise.
29103
2ae1ae5c
RM
29104 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
29105 __libc_cleanup_push argument.
29106
e66a42f5
RM
29107 * bits/param.h: New file.
29108 * misc/sys/param.h: New file.
29109 * include/sys/param.h: New file.
29110 * misc/Makefile (headers): Add bits/param.h.
29111 * sysdeps/generic/sys/param.h: File removed.
29112 * sysdeps/unix/sysv/linux/bits/param.h: New file.
29113 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
29114 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 29115 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 29116
b7c08a66
RM
29117 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
29118 last change.
29119
b2e1c562
RM
29120 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
29121 [_IO_MTSAFE_IO].
29122 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
29123 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
29124 New macros.
29125
c75ccd4c
RM
29126 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
29127 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
29128 rather than -D_IO_MTSAFE_IO conditionally.
29129 * stdio-common/Makefile (CPPFLAGS): Likewise.
29130 * wcsmbs/Makefile (CPPFLAGS): Likewise.
29131 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
29132 Use $(libio-mtsafe).
29133 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
29134 of -D_IO_MTSAFE_IO.
29135 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
29136 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
29137 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
29138 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
29139 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
29140 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
29141 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
29142 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
29143 (CFLAGS-fread_u_chk.c): Likewise.
29144 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
29145 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
29146 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
29147 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
29148 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
29149 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
29150 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
29151 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
29152 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
29153
29154 * libio/Makefile: Test [$(libc-reentrant) = yes]
29155 instead of [$(filter %REENTRANT, $(defines)) nonempty].
29156
29157 * Makeconfig
29158 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
29159 * sysdeps/pthread/configure: File removed.
29160 * sysdeps/pthread/Makeconfig: New file.
29161 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
29162 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
29163
d9195db8
GB
291642012-08-16 Gary Benson <gbenson@redhat.com>
29165
29166 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
29167 unmapping the first object in a namespace.
29168
86466cd9
RM
291692012-08-16 Roland McGrath <roland@hack.frob.com>
29170
29171 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
29172 (__internal_setnetgrent): ... this. Add internal_function to
29173 definition. Add libc_hidden_def.
29174 (setnetgrent): Update caller.
29175 (internal_endnetgrent): Renamed to ...
29176 (__internal_endnetgrent): ... this. Add internal_function to
29177 definition. Add libc_hidden_def.
29178 (endnetgrent): Update caller.
29179 (internal_getnetgrent_r): Renamed to ...
29180 (__internal_getnetgrent_r): ... this. Add internal_function to
29181 definition. Add libc_hidden_def.
29182 (__getnetgrent_r): Update caller.
29183 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
29184
c3c8283c
JM
291852012-08-16 Joseph Myers <joseph@codesourcery.com>
29186
29187 * stdlib/longlong.h: Update from GCC.
29188
db1ee0a8
RM
291892012-08-16 Roland McGrath <roland@hack.frob.com>
29190
29191 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
29192 on _QL, which is set by umul_ppmm but never used.
29193 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
29194 variables, which are set by GMP macros but never used.
29195 * stdio-common/_itowa.c (_itowa): Likewise.
29196 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
29197 * stdlib/mod_1.c (mpn_mod_1): Likewise.
29198
30f69637
CD
291992012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
29200
29201 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
29202 struct La_sh_regs is not constant.
29203 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
29204 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
29205 and struct La_sparc64_regs are not constant.
29206
93a78ac4
JM
292072012-08-16 Joseph Myers <joseph@codesourcery.com>
29208
29209 * sysdeps/unix/sysv/linux/kernel-features.h
29210 (__ASSUME_POSIX_TIMERS): Remove.
29211 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29212 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29213 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
29214 Make code unconditional.
29215 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29216 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
29217 Make code unconditional.
29218 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29219 * sysdeps/unix/sysv/linux/clock_nanosleep.c
29220 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
29221 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29222 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
29223 Make code unconditional.
29224 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29225 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
29226 (__libc_missing_posix_timers): Remove.
29227
dd924cd7
RM
292282012-08-15 Roland McGrath <roland@hack.frob.com>
29229
4b4f2771
RM
29230 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
29231 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
29232
601c888b
RM
29233 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
29234
176790a7
RM
29235 * elf/dl-sym.c: Include <stdlib.h>.
29236
329bc018
RM
29237 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
29238 constants, which avoids warnings in 32-bit builds.
29239
e04e272d
RM
29240 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
29241 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
29242
952bf94a
RM
29243 * misc/lseek.c: File moved to ...
29244 * io/lseek.c: ... here.
29245
7c99b50a
RM
29246 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
29247
dd924cd7
RM
29248 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
29249 shifting LEN more than 31 bits at once.
29250
b3f479a8
LD
292512012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29252
29253 [BZ #14195]
8c4ae0d4
RM
29254 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
29255 segmentation fault for a case of two empty input strings.
b3f479a8
LD
29256 * string/test-strncasecmp.c (check1): Renamed to...
29257 (bz12205): ...this.
29258 (bz14195): Add new testcase for two empty input strings and N > 0.
29259 (test_main): Call new testcase, adapt for renamed function.
29260
9c55864e
AJ
292612012-08-15 Andreas Jaeger <aj@suse.de>
29262
29263 [BZ #14090]
29264 * crypt/md5test2.c: New test, based on test supplied by Serge
29265 Belyshev <belyshev@depni.sinp.msu.ru>.
29266 * crypt/Makefile (xtests): Add md5test-giant..
29267 * crypt/Makefile ($(objpfx)md5test-giant): Add.
29268
02dcb6c5
PE
292692012-08-15 Paul Eggert <eggert@cs.ucla.edu>
29270
29271 [BZ #14090]
29272 * crypt/md5.c (md5_process_block): Don't assume the buffer
29273 length is less than 2**32.
29274 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
29275 length is less than 2**64.
29276
a3f95dcc
RM
292772012-08-15 Roland McGrath <roland@hack.frob.com>
29278
be75d758
RM
29279 * string/str-two-way.h: Include <sys/param.h>.
29280 (MAX): Macro removed.
29281
7312ca90
RM
29282 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
29283 Move #define and #undef of memmove to just before and after
29284 including <string.h>.
29285
9a0a5486
RM
29286 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
29287 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
29288 and after including <string.h>. Move declarations of
29289 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
29290 to before #include "string/memmove.c".
29291
67cc348d
RM
29292 * include/dirent.h: Declare __getdirentries.
29293
a3f95dcc
RM
29294 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
29295 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
29296
ca98e171
MF
292972012-08-14 Mike Frysinger <vapier@gentoo.org>
29298
29299 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
29300 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
29301 * sysdeps/i386/configure: Regenerated.
29302 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
29303 STABS_CURRENT_FILE, and STABS_FUN.
29304 (END): Remove call to STABS_FUN_END.
29305 (STABS_CURRENT_FILE1): Delete.
29306 (STABS_CURRENT_FILE): Likewise.
29307 (STABS_FUN): Likewise.
29308 (STABS_FUN_END): Likewise.
29309 (STABS_FUN2): Likewise.
29310 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
29311 * sysdeps/x86_64/configure: Regenerated.
29312
5908bf46
RM
293132012-08-14 Roland McGrath <roland@hack.frob.com>
29314
29315 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 29316 * elf/dl-lookup.c: Likewise.
5908bf46 29317
f2c05b9e
JM
293182012-08-14 Joseph Myers <joseph@codesourcery.com>
29319
29320 * sysdeps/unix/sysv/linux/kernel-features.h
29321 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
29322 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
29323 unconditionally.
29324 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
29325 unconditionally.
29326 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
29327 condition on __ASSUME_CLONE_THREAD_FLAGS.
29328
e11f5155
AJ
293292012-08-14 Andreas Jaeger <aj@suse.de>
29330
29331 * sysdeps/i386/fpu/libm-test-ulps: Update.
29332
51a9ba86
MK
293332012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
29334
2fdd4f78
AJ
29335 * include/atomic.h (atomic_exchange_and_add): Split into ...
29336 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
29337 New atomic macros.
51a9ba86 29338
ba6cba9e
MT
293392012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
29340
29341 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29342
42443a47
JL
293432012-08-13 Jeff Law <law@redhat.com>
29344
29345 * manual/stdio.texi (snprintf): Clarify handling of the trailing
29346 null byte in the output string.
29347
121dce05
JM
293482012-08-10 Joseph Myers <joseph@codesourcery.com>
29349
29350 * sysdeps/unix/sysv/linux/kernel-features.h
29351 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
29352 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
29353 (__ASSUME_ARG_MAX_STACK_BASED): Define.
29354 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
29355 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
29356 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
29357 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
29358
bf51f568
JL
293592012-08-09 Jeff Law <law@redhat.com>
29360
29361 [BZ #13939]
29362 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
29363 When avoid_arena is set, don't retry in the that arena. Pick the
29364 next one, whatever it might be.
29365 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
29366 (arena_lock): Pass in new parameter to arena_get2.
29367 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
29368 arena_get2.
29369 (__libc_malloc): Unify retrying after main arena failure with
29370 __libc_memalign version.
29371 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
29372
f85fa270
L
293732012-08-09 H.J. Lu <hongjiu.lu@intel.com>
29374
29375 [BZ #14166]
29376 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
29377 to __redirect_strstr.
29378 (__strstr_sse42): Use typeof __redirect_strstr.
29379 (__strstr_ia32): Likewise.
29380 (__libc_strstr): New prototype.
29381 (strstr): Renamed to ...
29382 (__libc_strstr): This.
29383 (strstr): New strong alias of __libc_strstr.
29384 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29385 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
29386 __redirect_time.
29387 Include <time.h>.
29388 (__libc_time): New prototype.
29389 (time_ifunc): Replace time with __libc_time.
29390 (time): New strong alias and hidden definition of __libc_time.
29391 (__GI_time): Remove strong alias.
29392 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
29393 Include <stddef.h>.
29394 (memmove): Redefined to __redirect_memmove.
29395 (__memmove_sse2): Use typeof __redirect_memmove.
29396 (__memmove_ssse3): Likewise.
29397 (__memmove_ssse3_back): Likewise.
29398 (__libc_memmove): New prototype.
29399 (memmove): Renamed to ...
29400 (__libc_memmove): This.
29401 (memmove): New strong alias of __libc_memmove.
29402
33b4a91e
MS
294032012-08-08 Mark Salter <msalter@redhat.com>
29404
29405 * elf/elf.h
29406 (R_MN10300_TLS_GD): Define.
29407 (R_MN10300_TLS_LD): Likewise.
29408 (R_MN10300_TLS_LDO): Likewise.
29409 (R_MN10300_TLS_GOTIE): Likewise.
29410 (R_MN10300_TLS_IE): Likewise.
29411 (R_MN10300_TLS_LE): Likewise.
29412 (R_MN10300_TLS_DTPMOD): Likewise.
29413 (R_MN10300_TLS_DTPOFF): Likewise.
29414 (R_MN10300_TLS_TPOFF): Likewise.
29415 (R_MN10300_SYM_DIFF): Likewise.
29416 (R_MN10300_ALIGN): Likewise.
29417 (R_MN10300_NUM): Update.
29418
b36137f1
JM
294192012-08-08 Joseph Myers <joseph@codesourcery.com>
29420
29421 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
29422 Remove.
29423
cdd915fd
RM
294242012-08-08 Roland McGrath <roland@hack.frob.com>
29425
a2433aac
RM
29426 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
29427
cdd915fd
RM
29428 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
29429 sysdeps/unix -> sysdeps/posix move.
29430 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29431
bf9b740a
AM
294322012-08-07 Allan McRae <allan@archlinux.org>
29433
29434 [BZ #14303]
29435 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
29436 (SUNOS_CPP): Likewise.
29437 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
29438 not found.
29439 (open_input): Call CPP using execvp.
29440
93df14ee
JM
294412012-08-07 Joseph Myers <joseph@codesourcery.com>
29442
29443 * sysdeps/unix/sysv/linux/kernel-features.h
29444 (__ASSUME_PROT_GROWSUPDOWN): Remove.
29445 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29446 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29447 (__ASSUME_WAITID_SYSCALL): Likewise.
29448 * sysdeps/unix/sysv/linux/dl-execstack.c
29449 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
29450 code unconditional.
29451 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
29452 conditional code.
29453 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
29454 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
29455 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
29456 code.
29457 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
29458 unconditional.
29459 [__ASSUME_WAITID_SYSCALL]: Likewise.
29460 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
29461
d34689de
RM
294622012-08-07 Roland McGrath <roland@hack.frob.com>
29463
a281decc
RM
29464 * sysdeps/unix/closedir.c: Renamed to ...
29465 * sysdeps/posix/closedir.c: ... here.
29466 * sysdeps/unix/dirfd.c: Renamed to ...
29467 * sysdeps/posix/dirfd.c: ... here.
29468 * sysdeps/unix/dirstream.h: Renamed to ...
29469 * sysdeps/posix/dirstream.h: ... here.
29470 * sysdeps/unix/fdopendir.c: Renamed to ...
29471 * sysdeps/posix/fdopendir.c: ... here.
29472 * sysdeps/unix/opendir.c: Renamed to ...
29473 * sysdeps/posix/opendir.c: ... here.
29474 * sysdeps/unix/readdir.c: Renamed to ...
29475 * sysdeps/posix/readdir.c: ... here.
29476 * sysdeps/unix/readdir_r.c: Renamed to ...
29477 * sysdeps/posix/readdir_r.c: ... here.
29478 * sysdeps/unix/rewinddir.c: Renamed to ...
29479 * sysdeps/posix/rewinddir.c: ... here.
29480 * sysdeps/unix/seekdir.c: Renamed to ...
29481 * sysdeps/posix/seekdir.c: ... here.
29482 * sysdeps/unix/telldir.c: Renamed to ...
29483 * sysdeps/posix/telldir.c: ... here.
29484 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
29485 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
29486 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29487 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
29488
22895b47
RM
29489 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
29490 * bits/fcntl.h: ... here.
29491
707a53b6
RM
29492 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
29493 not 0.
29494 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
29495 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
29496 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
29497 (struct flock): Move l_start, l_len to the beginning.
29498 Use __pid_t for l_pid.
29499 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
29500 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
29501 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
29502 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
29503 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
29504 [__USE_LARGEFILE64] (struct flock64): New type.
29505 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
29506
f0bd3e25
RM
29507 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
29508 * bits/dirent.h: ... here.
29509
d34689de
RM
29510 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
29511 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
29512
6dad2c06
JM
295132012-08-07 Joseph Myers <joseph@codesourcery.com>
29514
29515 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29516 Change from 2.6.0 to 2.6.16.
29517 * sysdeps/unix/sysv/linux/configure: Regenerated.
29518 * sysdeps/unix/sysv/linux/kernel-features.h
29519 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
29520 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
29521 version.
29522 (__ASSUME_UTIMES): Likewise.
29523 (__ASSUME_CLONE_STOPPED): Remove.
29524 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
29525 architectures, not kernel version.
29526 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
29527 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29528 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29529 (__ASSUME_WAITID_SYSCALL): Likewise.
29530 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
29531 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
29532 * README: State 2.6.16 as minimum Linux kernel version. Do not
29533 refer to older versions.
29534
03af9520
RM
295352012-08-06 Roland McGrath <roland@hack.frob.com>
29536
8e49df1d
RM
29537 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
29538 Define alphasort64 as an alias.
29539 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
29540 Define versionsort64 as an alias.
29541 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
29542 Define scandir64 as an alias.
29543 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
29544 Define scandirat64 as an alias.
29545 * dirent/alphasort64.c (alphasort64):
29546 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
29547 * dirent/versionsort64.c: Likewise.
29548 * dirent/scandir64.c: Likewise.
29549 * dirent/scandirat64.c: Likewise.
29550 * sysdeps/wordsize-64/alphasort.c: File removed.
29551 * sysdeps/wordsize-64/alphasort64.c: File removed.
29552 * sysdeps/wordsize-64/scandir.c: File removed.
29553 * sysdeps/wordsize-64/scandir64.c: File removed.
29554 * sysdeps/wordsize-64/scandirat.c: File removed.
29555 * sysdeps/wordsize-64/scandirat64.c: File removed.
29556 * sysdeps/wordsize-64/versionsort.c: File removed.
29557 * sysdeps/wordsize-64/versionsort64.c: File removed.
29558 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
29559 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
29560 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
29561 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
29562 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
29563 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
29564 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
29565 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
29566
29567 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
29568 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29569 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
29570 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29571 [defined __arch64__ || defined __sparcv9]
29572 (__INO_T_MATCHES_INO64_T): New macro.
29573 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29574 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
29575 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
29576 * sysdeps/unix/sysv/linux/bits/dirent.h
29577 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
29578 (_DIRENT_MATCHES_DIRENT64): New macro.
29579
03af9520
RM
29580 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
29581 Define lockf64 as an alias.
29582 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
29583 Define fseeko64 as an alias.
29584 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
29585 Define ftello64 as an alias.
29586 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
29587 Define _IO_fgetpos64 and fgetpos64 as aliases.
29588 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
29589 Define _IO_fsetpos64 and fsetpos64 as aliases.
29590 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
29591 Conditionalize body on this.
29592 * libio/fseeko64.c: Likewise.
29593 * libio/ftello64.c: Likewise.
29594 * libio/iofgetpos64.c: Likewise.
29595 * libio/iofsetpos64.c: Likewise.
29596 * sysdeps/wordsize-64/lockf.c: File removed.
29597 * sysdeps/wordsize-64/lockf64.c: File removed.
29598 * sysdeps/wordsize-64/fseeko.c: File removed.
29599 * sysdeps/wordsize-64/fseeko64.c: File removed.
29600 * sysdeps/wordsize-64/ftello.c: File removed.
29601 * sysdeps/wordsize-64/ftello64.c: File removed.
29602 * sysdeps/wordsize-64/iofgetpos.c: File removed.
29603 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
29604 * sysdeps/wordsize-64/iofsetpos.c: File removed.
29605 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
29606 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
29607 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
29608 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
29609 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
29610 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
29611 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
29612 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
29613 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
29614 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
29615 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
29616
29617 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29618 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29619 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
29620 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29621 [defined __arch64__ || defined __sparcv9]
29622 (__OFF_T_MATCHES_OFF64_T): New macro.
29623 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29624 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29625 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29626 (__OFF_T_MATCHES_OFF64_T): New macro.
29627
c5757acd
L
296282012-08-06 H.J. Lu <hongjiu.lu@intel.com>
29629
29630 * stdlib/secure-getenv.c (__secure_getenv): Replace
29631 GLIBC_2_16 with GLIBC_2_17.
29632
3a31811e
L
296332012-08-06 H.J. Lu <hongjiu.lu@intel.com>
29634
29635 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
29636 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29637
faa2bccb
DM
296382012-08-03 David S. Miller <davem@davemloft.net>
29639
29640 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29641
85fe1997
JM
296422012-08-03 Joseph Myers <joseph@codesourcery.com>
29643
29644 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
29645 Remove.
29646 (__ASSUME_CORRECT_SI_PID): Likewise.
29647 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
29648 (__ASSUME_TMPFS_NAME): Likewise.
29649 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
29650 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
29651 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
29652 (HAVE_AUX_SECURE): Make definition unconditional.
29653 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
29654 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
29655
4f75b7a0
RM
296562012-08-03 Roland McGrath <roland@hack.frob.com>
29657
29658 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
29659 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
29660 * sysdeps/mach/hurd/eloop-threshold.h: New file.
29661 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29662 __eloop_threshold instead of SYMLOOP_MAX.
29663
29664 * sysdeps/generic/eloop-threshold.h: New file.
29665 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
29666 of MAXSYMLINKS.
29667 * elf/chroot_canon.c (chroot_canon): Likewise.
29668
7aab07e4
JM
296692012-08-03 Joseph Myers <joseph@codesourcery.com>
29670
29671 [BZ #13717]
29672 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29673 Change to 2.6.0 everywhere.
29674 * sysdeps/unix/sysv/linux/configure: Regenerated.
29675 * sysdeps/unix/sysv/linux/kernel-features.h
29676 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
29677 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
29678 kernel versions.
29679 (__ASSUME_POSIX_TIMERS): Define unconditionally.
29680 (__ASSUME_FUTEX_REQUEUE): Remove.
29681 (__ASSUME_STATFS64): Define unconditionally.
29682 (__ASSUME_AT_SECURE): Likewise.
29683 (__ASSUME_CORRECT_SI_PID): Likewise.
29684 (__ASSUME_TGKILL): Define without depending on kernel version for
29685 i386.
29686 (__ASSUME_UTIMES): Likewise.
29687 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
29688 kernel version.
29689 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
29690 (__ASSUME_TMPFS_NAME): Likewise.
29691 * README: Update reference to Linux kernel versions.
29692
b67e9372
MP
296932012-08-02 Marek Polacek <polacek@redhat.com>
29694
1f529f7d 29695 [BZ# 14150]
b67e9372
MP
29696 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
29697 libc_cv_asm_type_prefix with %.
29698 * configure: Regenerated.
d2441631
RM
29699 * include/libc-symbols.h: Remove comment about
29700 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
29701 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
29702 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
29703 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
29704 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
29705 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29706 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
29707 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
29708 * elf/tst-unique2mod1.c: Likewise.
29709 * elf/tst-unique1mod2.c: Likewise.
29710 * elf/tst-unique1mod1.c: Likewise.
29711 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
29712 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
29713 Replace ASM_TYPE_DIRECTIVE with .type.
29714 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29715 * sysdeps/i386/sysdep.h: Likewise.
29716 * sysdeps/x86_64/sysdep.h: Likewise.
29717 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
29718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29719 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 29720 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
29721 * sysdeps/powerpc/powerpc32/sysdep.h:
29722 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
29723 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29724 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29725 * sysdeps/i386/fpu/e_powf.S: Likewise.
29726 * sysdeps/i386/fpu/e_expl.S: Likewise.
29727 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29728 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29729 * sysdeps/i386/fpu/e_pow.S: Likewise.
29730 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29731 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29732 * sysdeps/i386/fpu/s_expm1.S: Likewise.
29733 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29734 * sysdeps/i386/fpu/e_log2.S: Likewise.
29735 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29736 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29737 * sysdeps/i386/fpu/e_powl.S: Likewise.
29738 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29739 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29740 * sysdeps/i386/fpu/e_logl.S: Likewise.
29741 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29742 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29743 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29744 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29745 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29746 * sysdeps/i386/fpu/e_log.S: Likewise.
29747 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29748 * sysdeps/i386/fpu/e_logf.S: Likewise.
29749 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29750 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29751 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29752 * sysdeps/i386/fpu/e_log10.S: Likewise.
29753 * sysdeps/i386/fpu/s_frexp.S: Likewise.
29754 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29755 * sysdeps/i386/fpu/s_asinh.S: Likewise.
29756 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29757 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29758 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
29759 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29760 * sysdeps/i386/i686/strtok.S: Likewise.
29761 * sysdeps/i386/i386-mcount.S: Likewise.
29762 * sysdeps/i386/strtok.S: Likewise.
29763 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
29764 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29765 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29766 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29767 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29768 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29769 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29770 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29771 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29772 * sysdeps/x86_64/_mcount.S: Likewise.
29773 * sysdeps/x86_64/strtok.S: Likewise.
29774 * sysdeps/sh/_mcount.S: Likewise.
29775
2747bf9a
RM
297762012-08-01 Roland McGrath <roland@hack.frob.com>
29777
29778 * libio/iofopen.c: Include <fcntl.h>.
29779 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
29780 (_IO_fopen64, fopen64): Define as aliases.
29781 * libio/iofopen64.c: Include <fcntl.h>.
29782 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
29783 Conditionalize body on this.
29784 * sysdeps/wordsize-64/iofopen.c: File removed.
29785 * sysdeps/wordsize-64/iofopen64.c: File removed.
29786
3fb791b8
MP
297872012-08-01 Marek Polacek <polacek@redhat.com>
29788
29789 * libc/Makeconfig: Use elf in place of binfmt-subdir.
29790 Use dlfcn directly instead of a variable.
29791 (binfmt-subdir): Do not define.
29792 (dlfcn): Likewise.
29793
a9f1039f
JM
297942012-08-01 Joseph Myers <joseph@codesourcery.com>
29795
23bddc06
JM
29796 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
29797 Remove all definitions.
29798 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
29799 <kernel-features.h>.
29800 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29801 (miss_F_GETOWN_EX): Remove all definitions.
29802 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
29803 macro definition.
29804 [!__ASSUME_FCNTL64]: Remove conditional code.
29805 [__ASSUME_FCNTL64]: Make code unconditional.
29806 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
29807 <kernel-features.h>.
29808 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29809 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
29810 (lockf64) [__NR_fcntl64]: Make code unconditional.
29811 (lockf64) [__ASSUME_FCNTL64]: Likewise.
29812
a9f1039f
JM
29813 * sysdeps/unix/sysv/linux/kernel-features.h
29814 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
29815 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
29816 Make code unconditional.
29817 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29818 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
29820 [__NR_vfork]: Make code unconditional.
29821 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29822 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
29824 [__NR_vfork]: Make code unconditional.
29825 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29826 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29827
09c0ee5f
RM
298282012-08-01 Roland McGrath <roland@hack.frob.com>
29829
48aec5b9
RM
29830 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
29831 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
29832
cd97c966
RM
29833 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29834 Define mkstemp64 as an alias.
3f55550c
RM
29835 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29836 Define mkstemps64 as an alias.
cd97c966
RM
29837 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29838 Define mkostemp64 as an alias.
b8625cfc
RM
29839 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29840 Define mkostemps64 as an alias.
cd97c966
RM
29841 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
29842 Conditionalize body on this.
29843 * misc/mkostemp64.c: Likewise.
b8625cfc 29844 * misc/mkostemps64.c: Likewise.
3f55550c 29845 * misc/mkstemps64.c: Likewise.
cd97c966
RM
29846 * sysdeps/wordsize-64/mkstemp64.c: File removed.
29847 * sysdeps/wordsize-64/mkostemp64.c: File removed.
29848 * sysdeps/wordsize-64/mkostemp.c: File removed.
29849 * sysdeps/wordsize-64/mkstemp.c: File removed.
29850 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
29851 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
29852 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
29853 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
29854
09c0ee5f
RM
29855 [BZ #14138]
29856 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
29857 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
29858 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
29859 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
29860
29861 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
29862 compat_symbol macros from <shlib-compat.h> rather than the underlying
29863 default_symbol_version and symbol_version macros, so that DEFAULT
29864 lines in shlib-versions are respected.
29865 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
29866
7e66ee51
FW
298672012-08-01 Florian Weimer <fweimer@redhat.com>
29868
29869 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
29870 Declare with warn_unused_result.
29871 (setgid, setregid, setegid, setresgid): Likewise.
29872 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
29873 Likewise.
29874 * WUR-REPORT: Remove set*id functions.
29875
d2a54255
PT
298762012-07-31 Pino Toscano <toscano.pino@tiscali.it>
29877
29878 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
29879
7ecdb005
RM
298802012-07-31 Roland McGrath <roland@hack.frob.com>
29881
b4180a5e 29882 [BZ #10191]
789bd351
RM
29883 * include/sys/socket.h (__libc_accept, __libc_accept4):
29884 Add attribute_hidden.
29885 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
29886
40ce302d
RM
29887 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
29888 use of PTR_MANGLE.
29889 * inet/getnetgrent_r.c (setup): Likewise.
29890
7ecdb005
RM
29891 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
29892
e2eabb2c
DM
298932012-07-31 David S. Miller <davem@davemloft.net>
29894
29895 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29896
d0419dbf
JM
298972012-07-31 Joseph Myers <joseph@codesourcery.com>
29898
29899 [BZ #13629]
29900 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
29901 value between 1.0 and 2.0 and smaller part has absolute value less
29902 than 1.0.
29903 * math/s_clog10.c (__clog10): Likewise.
29904 * math/s_clog10f.c (__clog10f): Likewise.
29905 * math/s_clog10l.c (__clog10l): Likewise.
29906 * math/s_clogf.c (__clogf): Likewise.
29907 * math/s_clogl.c (__clogl): Likewise.
29908 * math/libm-test.inc (clog_test): Add more tests.
29909 (clog10_test): Likewise.
29910 * sysdeps/i386/fpu/libm-test-ulps: Update.
29911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29912
2bc13872
FW
299132012-07-31 Florian Weimer <fweimer@redhat.com>
29914
29915 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
29916 Exit with zero in case no suitable GID is found, and write a
29917 message to standard error.
29918
bea9b193
RM
299192012-07-30 Roland McGrath <roland@hack.frob.com>
29920
29921 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
29922 rather than to 1.
29923 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
29924 (MAXPATHLEN): Removed.
29925 (NOGROUP, NODEV): New macros.
29926 (setbit, clrbit, isset, isclr): New macros.
29927 (howmany, roundup, powerof2): New macros.
29928 (DEV_BSIZE): New macro.
29929
29930 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
29931 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
29932
29933 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
29934 definition on [!__NO_LONG_DOUBLE_MATH].
29935
29936 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
29937 PTR_MANGLE and PTR_DEMANGLE.
29938
29939 * socket/accept4.c (accept4): Rename to __libc_accept4.
29940 Define accept4 as a weak alias.
29941
29942 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
29943 on [_DIRENT_HAVE_D_TYPE].
29944 * io/ftw.c (ftw_dir): Likewise.
29945
29946 * io/xmknod.c (__xmknod): Don't check PATH for being null.
29947
29948 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
29949
29950 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
29951 Use the BSD numbers rather than the arbitrary ones we had.
29952 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
29953 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
29954 (SIGXCPU, SIGXFSZ): New macros.
29955 (_NSIG): Now 32.
29956
29957 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
29958 initializer on [_LIBC_REENTRANT].
29959
29960 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
29961 definitions inside [_POSIX_MAPPED_FILES].
29962
29963 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
29964
29965 * dirent/opendir.c: Include <fcntl.h>.
29966
29967 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
29968 (__libc_getspecific): Likewise.
29969 (__libc_key_create): Likewise.
29970
29971 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
29972 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
29973 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
29974 (tmpfile64): Define as alias.
29975 * sysdeps/wordsize-64/tmpfile.c: File removed.
29976 * sysdeps/wordsize-64/tmpfile64.c: File removed.
29977 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
29978 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
29979
29980 * stdio-common/vfscanf.c: Include <stdbool.h>.
29981 * nss/makedb.c: Likewise.
29982 * stdio-common/_i18n_number.h: Likewise.
29983 * argp/argp-help.c: Likewise.
29984 * posix/wordexp.c: Likewise.
29985 * sysdeps/posix/spawni.c: Likewise.
29986 * nss/nss_files/files-initgroups.c: Likewise.
29987 * stdio-common/reg-modifier.c: Include <stdlib.h>.
29988 * nss/nss_files/files-initgroups.c: Likewise.
29989 * nss/nss_db/db-netgrp.c: Likewise.
29990 * nss/nss_db/db-initgroups.c: Likewise.
29991 * io/fchmodat.c: Include <sys/stat.h>.
29992
29993 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
29994 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
29995
29996 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
29997 [HAVE_MMAP].
29998
29999 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
30000 Add multiple inclusion protection.
30001
e5abc686
DM
300022012-07-27 David S. Miller <davem@davemloft.net>
30003
30004 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30005
815e6fa3
GB
300062012-07-27 Gary Benson <gbenson@redhat.com>
30007
30008 [BZ #14298]
30009 * elf/rtld.c: Include <stap-probe.h>.
30010 (dl_main): Added static probes "init_start" and "init_complete".
30011 * elf/dl-load.c: Include <stap-probe.h>.
30012 (lose): Take new parameter "nsid".
30013 Added static probe "map_failed".
30014 (_dl_map_object_from_fd): Pass namespace id to lose.
30015 Added static probe "map_start".
30016 (open_verify): Pass namespace id to lose.
30017 * elf/dl-open.c: Include <stap-probe.h>.
30018 (dl_open_worker) Added static probes "map_complete", "reloc_start"
30019 and "reloc_complete".
30020 * elf/dl-close.c: Include <stap-probe.h>.
30021 (_dl_close_worker): Added static probes "unmap_start" and
30022 "unmap_complete".
30023 * elf/rtld-debugger-interface.txt: New file documenting the above.
30024
9f98c16c
RM
300252012-07-26 Roland McGrath <roland@hack.frob.com>
30026
30027 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
30028 rather than a string variable.
30029 * sunrpc/rpc_main.c (h_output): Likewise.
30030 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
30031
f3c22df3
PT
300322012-07-26 Pino Toscano <toscano.pino@tiscali.it>
30033
30034 * inet/check_native.c: New file.
30035
3129cfc6
JM
300362012-07-26 Joseph Myers <joseph@codesourcery.com>
30037
da865e95
JM
30038 [BZ #13629]
30039 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
30040 if larger part has absolute value 1.0.
30041 * math/s_clog10.c (__clog10): Likewise.
30042 * math/s_clog10f.c (__clog10f): Likewise.
30043 * math/s_clog10l.c (__clog10l): Likewise.
30044 * math/s_clogf.c (__clogf): Likewise.
30045 * math/s_clogl.c (__clogl): Likewise.
30046 * math/libm-test.inc (clog_test): Add more tests.
30047 (clog10_test): Likewise.
30048 * sysdeps/i386/fpu/libm-test-ulps: Update.
30049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30050
3129cfc6
JM
30051 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
30052 (pltexit): Likewise.
30053 (La_regs): Likewise.
30054 (La_retval): Likewise.
30055 (int_retval): Likewise.
30056 Update #error for removed macros to refer only to definitions in
30057 tst-audit.h.
30058 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
30059 macro.
30060 (pltexit): Likewise.
30061 (La_regs): Likewise.
30062 (La_retval): Likewise.
30063 (int_retval): Likewise.
30064 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
30065 macro.
30066 (pltexit): Likewise.
30067 (La_regs): Likewise.
30068 (La_retval): Likewise.
30069 (int_retval): Likewise.
30070 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
30071 macro.
30072 (pltexit): Likewise.
30073 (La_regs): Likewise.
30074 (La_retval): Likewise.
30075 (int_retval): Likewise.
30076 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
30077 macro.
30078 (pltexit): Likewise.
30079 (La_regs): Likewise.
30080 (La_retval): Likewise.
30081 (int_retval): Likewise.
30082 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
30083 macro.
30084 (pltexit): Likewise.
30085 (La_regs): Likewise.
30086 (La_retval): Likewise.
30087 (int_retval): Likewise.
30088 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
30089 macro.
30090 (pltexit): Likewise.
30091 (La_regs): Likewise.
30092 (La_retval): Likewise.
30093 (int_retval): Likewise.
30094 * sysdeps/generic/tst-audit.h: Update comment to refer only to
30095 macro definitions in tst-audit.h.
30096 * sysdeps/i386/tst-audit.h: New file.
30097 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
30098 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
30099 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
30100 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
30101 * sysdeps/sh/tst-audit.h: Likewise.
30102 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
30103 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
30104 * sysdeps/x86_64/tst-audit.h: Likewise.
30105
bfc07087
AJ
301062012-07-26 Andreas Jaeger <aj@suse.de>
30107
b1b2aaf8
AJ
30108 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
30109 ptrace.
30110
30111 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
30112 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
30113 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
30114 PTRACE_O_MASK.
30115 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
30116 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
30117 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
30118
bfc07087
AJ
30119 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
30120 value.
30121
30122 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
30123 _sigsys.
30124 (si_call_addr, si_syscall, si_arch): Define new macro.
30125 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
30126 _sigsys.
30127 (si_call_addr, si_syscall, si_arch): Define new marcro.
30128 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
30129 _sigsys.
30130 (si_call_addr, si_syscall, si_arch): Define new macro.
30131 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
30132 _sigsys.
30133 (si_call_addr, si_syscall, si_arch): Define new macro.
30134
89b4b02f
JM
301352012-07-25 Joseph Myers <joseph@codesourcery.com>
30136
30137 [BZ #13717]
30138 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30139 Change to 2.4.21 where previously 2.4.1.
30140 * sysdeps/unix/sysv/linux/configure: Regenerated.
30141 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
30142 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
30143 Linux kernel version.
30144 (__ASSUME_STD_AUXV): Remove.
30145 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
30146 kernel version.
30147 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
30148 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
30149 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
30150 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
30151 (__ASSUME_NETLINK_SUPPORT): Likewise.
30152 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
30153 (__no_netlink_support): Remove conditional definition.
30154 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
30155 Remove.
30156 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30157 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
30158 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
30159 (if_nameindex_ioctl): Remove.
30160 (if_nameindex_netlink): Do not handle __no_netlink_support.
30161 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30162 code.
30163 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
30164 Remove conditional code.
30165 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30166 code.
30167 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
30168 unconditional.
30169 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30170 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
30171 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
30172 Remove.
30173 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
30174 [!__ASSUME_STD_AUXV]: Remove conditional code.
30175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
30176 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
30177 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
30178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
30179 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
30180 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30181 code.
30182 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30184 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
30185 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30186 conditional code.
30187 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30189 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30190 code.
30191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30192 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30193 conditional code.
30194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
30195 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30196 code unconditional.
30197 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30198 conditional code.
30199 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30200 unconditional.
30201 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30202 conditional code.
30203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30204 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30205 unconditional.
30206 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30207 conditional code.
30208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
30209 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30210 code unconditional.
30211 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30212 conditional code.
30213 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30214 unconditional.
30215 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30216 conditional code.
30217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
30218 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30219 code unconditional.
30220 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30221 conditional code.
30222 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30223 unconditional.
30224 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30225 conditional code.
30226
842a39cd
AS
302272012-07-25 Andreas Schwab <schwab@linux-m68k.org>
30228
30229 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
30230 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
30231 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
30232 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
30233 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
30234 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
30235 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
30236 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
30237 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
30238 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
30239 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
30240 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
30241 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
30242 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
30243 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
30244 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
30245 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
30246 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
30247 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
30248 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
30249 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
30250 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
30251 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30252
84b3fd84
FW
302532012-07-25 Florian Weimer <fweimer@redhat.com>
30254
30255 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
30256 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
30257 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
30258 Introduce __libc_secure_getenv.
0c7936d5
FW
30259 * stdlib/Versions (2.17): Add secure_getenv
30260 (GLIBC_PRIVATE): Add __libc_secure_getenv.
30261 * stdlib/secure-getenv.c: Rename __secure_getenv to
30262 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
30263 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
30264 * stdlib/tst-secure-getenv.c: New.
30265 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
30266 * manual/startup.texi (Environment Access): Document
30267 secure_getenv.
84b3fd84
FW
30268 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
30269 __libc_secure_getenv.
30270 * inet/ruserpass.c (ruserpass): Likewise.
30271 * malloc/mtrace.c (mtrace): Likewise.
30272 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 30273 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
30274 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
30275 * sysdeps/posix/tempname.c: Likewise. Evaluate
30276 HAVE_SECURE_GETENV.
30277 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 30278 __secure_getenv to __libc_secure_getenv.
84b3fd84 30279 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
30280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30281 Likewise.
30282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30283 Likewise.
30284 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30285 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30286 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30287 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30288 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30289 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30290 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 30291
56e49b71
JM
302922012-07-25 Joseph Myers <joseph@codesourcery.com>
30293
30294 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
30295 (struct La_i86_retval): Likewise.
30296 (struct La_x86_64_regs): Likewise.
30297 (struct La_x86_64_retval): Likewise.
30298 (struct La_x32_regs): Likewise.
30299 (struct La_x32_retval): Likewise.
30300 (struct La_ppc32_regs): Likewise.
30301 (struct La_ppc32_retval): Likewise.
30302 (struct La_ppc64_regs): Likewise.
30303 (struct La_ppc64_retval): Likewise.
30304 (struct La_sh_regs): Likewise.
30305 (struct La_sh_retval): Likewise.
30306 (struct La_s390_32_regs): Likewise.
30307 (struct La_s390_32_retval): Likewise.
30308 (struct La_s390_64_regs): Likewise.
30309 (struct La_s390_64_retval): Likewise.
30310 (struct La_sparc32_regs): Likewise.
30311 (struct La_sparc32_retval): Likewise.
30312 (struct La_sparc64_regs): Likewise.
30313 (struct La_sparc64_retval): Likewise.
30314 (struct audit_ifaces): Remove architecture-specific pltenter and
30315 pltexit members.
30316 * sysdeps/i386/ldsodefs.h: New file.
30317 * sysdeps/powerpc/ldsodefs.h: Likewise.
30318 * sysdeps/s390/ldsodefs.h: Likewise.
30319 * sysdeps/sh/ldsodefs.h: Likewise.
30320 * sysdeps/sparc/ldsodefs.h: Likewise.
30321 * sysdeps/x86_64/ldsodefs.h: Likewise.
30322
354691b7
MP
303232012-07-25 Marek Polacek <polacek@redhat.com>
30324
30325 [BZ #6808]
30326 * math/libm-test.inc (yn_test): Add another test.
30327 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
30328 to ERANGE when the result is +-Inf.
30329 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
30330 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
30331 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
30332 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
30333
bf9e2071
JM
303342012-07-24 Joseph Myers <joseph@codesourcery.com>
30335
30336 * conform/data/time.h-data (NULL): Use macro-constant. Require
30337 equal to 0.
30338 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
30339 clock_t.
30340 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
30341
57633811
TS
303422012-07-23 Thomas Schwinge <thomas@codesourcery.com>
30343
30344 * configure.in <sysdeps resolving>: Correct printing
30345 Implies_before.
30346 * configure: Regenerate.
30347
c23c33b0
TS
303482012-07-22 Thomas Schwinge <thomas@codesourcery.com>
30349
30350 * math/w_ilogb.c: Include <limits.h>.
30351 * math/w_ilogbl.c: Likewise.
30352
b5982523
JM
303532012-07-20 Joseph Myers <joseph@codesourcery.com>
30354
30355 * manual/lang.texi (__va_copy): Document primarily as ISO C99
30356 va_copy. Document allowing for unavailable va_copy only as
30357 pre-C99 compatibility.
30358 * manual/string.texi (Copying and Concatenation): Use va_copy
30359 instead of __va_copy in concat example.
30360
ac4ea442
PT
303612012-07-20 Pino Toscano <toscano.pino@tiscali.it>
30362
30363 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
30364 (__sendto): Use create_address_port. Initialize APORT and deallocate
30365 it if not null.
30366
f98eafbd
PT
30367 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
30368 with O_NOLINK passed to __file_name_lookup.
30369
898c7aab
PT
30370 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
30371 with O_NOLINK passed to __file_name_lookup.
30372
0ced335a
PT
30373 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
30374 negative N or less than NGIDS.
30375
b3404dbd
PT
30376 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
30377 type to string_t. Set ERANGE as errno and return it if NAME is not big
30378 enough. Use memcpy instead of strncpy.
30379
0f48659e
JM
303802012-07-20 Joseph Myers <joseph@codesourcery.com>
30381
30382 * elf/Makefile (check-data): Remove.
30383 (localplt.data): New vpath directive.
30384 ($(objpfx)check-localplt.out): Use localplt.data from vpath
30385 instead of $(check-data).
30386 * scripts/data/localplt-generic.data: Move to ...
30387 * sysdeps/generic/localplt.data: ... here.
30388 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
30389 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
30390 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
30391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30392 ... here.
30393 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
30394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30395 ... here.
30396 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
30397 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
30398 ... here.
30399 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
30400 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
30401 ... here.
30402 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
30403 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
30404 ... here.
30405 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
30406 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
30407 ... here.
30408
d37cbdaa
AZ
304092012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30410
30411 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
30412 PPC32 and PPC64 files.
30413 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
30414 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
30415
46f85fc2
AK
304162012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30417
30418 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
30419 __makecontext_ret to ...
30420 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
30421 ... here and call exit if uc_link is NULL. New file.
30422 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
30423 __makecontext_ret.S.
30424 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
30425 __makecontext_ret to ...
30426 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
30427 ... here and call exit if uc_link is NULL. New file.
30428 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
30429 __makecontext_ret.S.
30430
08f43f9b
AK
304312012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30432
30433 * elf/elf.h (R_390_IRELATIVE): New definition.
30434 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
30435 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
30436 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
30437 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30438 (elf_machine_lazy_rel): Likewise.
30439 * sysdeps/s390/dl-irel.h: New file.
30440 * sysdeps/s390/s390-64/memcpy.S: New asm code.
30441 * sysdeps/s390/s390-64/memset.S: New asm code.
30442 * sysdeps/s390/s390-64/memcmp.S: New asm code.
30443 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
30444 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
30445 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
30446 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
30447 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
30448 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
30449 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
30450 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
30451 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
30452 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
30453 * sysdeps/s390/s390-32/memcpy.S: New asm code.
30454 * sysdeps/s390/s390-32/memset.S: New asm code.
30455 * sysdeps/s390/s390-32/memcmp.S: New asm code.
30456
3b05db33
MP
304572012-07-17 Marek Polacek <polacek@redhat.com>
30458
30459 [BZ #14349]
30460 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
30461 * sysdeps/s390/s390-64/configure.in: Likewise.
30462 * sysdeps/sparc/configure.in: Likewise.
30463 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
30464 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
30465 * sysdeps/i386/configure.in: Likewise.
30466 * sysdeps/x86_64/configure.in: Likewise.
30467 * sysdeps/sh/configure.in: Likewise.
30468 * sysdeps/s390/s390-32/configure: Regenerated.
30469 * sysdeps/s390/s390-64/configure: Likewise.
30470 * sysdeps/x86_64/configure: Likewise.
30471 * sysdeps/sh/configure: Likewise.
30472 * sysdeps/powerpc/powerpc64/configure: Likewise.
30473 * sysdeps/powerpc/powerpc32/configure: Likewise.
30474 * sysdeps/sparc/configure: Likwise.
30475 * sysdeps/i386/configure: Likewise.
30476
a66877c6
MP
30477 * elf/dl-open.c: Comment fixes.
30478
cfc82fd8
JM
304792012-07-17 Joseph Myers <joseph@codesourcery.com>
30480
bd29910a
JM
30481 * Makefile [CXX] (check-data): Remove.
30482 [CXX] (c++-types.data): New vpath directive.
30483 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
30484 vpath. Do not allow for C++ type data being missing.
30485 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
30486 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
30487 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
30488 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
30489 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
30490 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
30491 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
30492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30493 ... here.
30494 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
30495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30496 ... here.
30497 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
30498 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
30499 ... here.
30500 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
30501 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
30502 ... here.
30503 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
30504 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
30505 ... here.
30506 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
30507 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
30508 ... here.
30509 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
30510 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
30511 ... here.
30512 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
30513 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
30514
cfc82fd8
JM
30515 * elf/tls-macros.h (TLS_LE): Move architecture-specific
30516 definitions to architecture-specific files.
30517 (TLS_IE): Likewise.
30518 (TLS_LD): Likewise.
30519 (TLS_GD): Likewise.
30520 * sysdeps/i386/tls-macros.h: New file.
30521 * sysdeps/powerpc/tls-macros.h: Likewise.
30522 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
30523 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
30524 * sysdeps/sh/tls-macros.h: Likewise.
30525 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
30526 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
30527 * sysdeps/x86_64/tls-macros.h: Likewise.
30528
f7db3170
TS
305292012-07-17 Thomas Schwinge <thomas@codesourcery.com>
30530
07cbfc23
TS
30531 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
30532 zero value for regular exit case.
30533
f7db3170
TS
30534 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
30535 (__start_context): Preserve zero value for regular exit case.
30536
dc97c227
TS
305372012-07-17 Thomas Schwinge <thomas@codesourcery.com>
30538 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30539
30540 * manual/setjmp.texi (setcontext): Clarify normal process
30541 termination when uc_link is the null pointer.
30542 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
30543 exit call.
30544
d0cd7d02
AS
305452012-07-16 Andreas Schwab <schwab@linux-m68k.org>
30546
30547 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
30548 preprocessor. Test for each exception mask separately.
30549
dd318934
AJ
305502012-07-16 Andreas Jaeger <aj@suse.de>
30551
30552 * po/ru.po: Update from translation team.
30553
8048311a
JM
305542012-07-15 Joseph Myers <joseph@codesourcery.com>
30555
30556 * conform/data/string.h-data (NULL): Use macro-constant. Require
30557 equal to 0.
30558 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30559 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30560 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
30561 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
30562 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30563
b637d46e
AJ
305642012-07-13 Andreas Jaeger <aj@suse.de>
30565
30566 * po/fr.po: Update from translation team.
30567
541428fe
MP
305682012-07-12 Marek Polacek <polacek@redhat.com>
30569
30570 [BZ #14173]
30571 * math/libm-test.inc (yn_test): Add test for BZ #14173.
30572 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
30573 loop condition.
30574
ec332e94
JM
305752012-07-12 Joseph Myers <joseph@codesourcery.com>
30576
30577 [BZ #13717]
30578 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30579 Change to 2.4.1 where previously 2.4.0.
30580 * sysdeps/unix/sysv/linux/configure: Regenerated.
30581 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
30582 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
30583 version.
30584 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
30585 (__ASSUME_AT_CLKTCK): Remove.
30586 (__ASSUME_AT_PAGESIZE): Likewise.
30587 (__ASSUME_AT_XID): Likewise.
30588 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
30589 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
30590 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
30591 unconditionally.
30592 (HAVE_AUX_PAGESIZE): Likewise.
30593 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
30594 [__ASSUME_AT_CLKTCK]: Make code unconditional.
30595 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
30596
7b6e99be
JB
305972012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
30598
30599 [BZ #14307]
30600 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
30601 the temporary buffer used to invoke __gethostbyname2_r,
30602 __gethostbyaddr_r and gethostbyname4_r to make room for struct
30603 host_data / struct gaih_addrtuple.
30604 * resolv/nss_dns/dns-host.c (global scope): Move definition of
30605 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
30606 header file nss/nsswitch.h.
30607 * nss/nsswitch.h (global scope): Add definition of implementation
30608 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
30609 resolv/nss_dns/dns-host.c).
30610
608404eb
AJ
306112012-07-11 Andreas Jaeger <aj@suse.de>
30612
30613 * po/fr.po: Update from translation team.
30614
71220aca
AJ
30615 * po/sv.po: Update from translation team
30616 * po/fr.po: Another update from translation team.
30617
28cfe843
AZ
306182012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30619
30620 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
30621 for subnormals or multiply small sinh result by itself.
30622 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30623 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30624
6b90f981
DM
306252012-07-11 David S. Miller <davem@davemloft.net>
30626
30627 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30628
c6825772
AS
306292012-07-10 Andreas Schwab <schwab@linux-m68k.org>
30630
30631 [BZ #14347]
30632 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
30633 (INTERNAL_MARK): Shift it here.
30634
7b8e0d49
MP
306352012-07-10 Marek Polacek <polacek@redhat.com>
30636
30637 [BZ #14151]
30638 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
30639 libc_cv_asm_global_directive with .globl.
30640 * configure: Regenerated.
30641 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
30642 with .globl.
30643 * sysdeps/i386/configure: Regenerated.
30644 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
30645 with .globl.
30646 * sysdeps/x86_64/configure: Regenerated.
30647 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
30648 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
30649 * elf/tst-unique2mod2.c: Likewise.
30650 * elf/tst-unique2mod1.c: Likewise.
30651 * elf/tst-unique1mod2.c: Likewise.
30652 * elf/tst-unique1mod1.c: Likewise.
30653 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30654 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30655 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30656 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30657 * sysdeps/mach/sysdep.h: Likewise.
30658 * sysdeps/i386/sysdep.h: Likewise.
30659 * sysdeps/i386/i386-mcount.S: Likewise.
30660 * sysdeps/x86_64/_mcount.S: Likewise.
30661 * sysdeps/x86_64/sysdep.h: Likewise.
30662 * sysdeps/sh/_mcount.S: Likewise.
30663 * sysdeps/sh/sysdep.h: Likewise.
30664 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
30665 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
30666 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
30667 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30668 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
30669 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
30670 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
30671 * locale/localeinfo.h: Likewise.
30672 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
30673 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
30674
6c55cda3
RM
306752012-07-09 Roland McGrath <roland@hack.frob.com>
30676
30677 [BZ #14336]
30678 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
30679 system".
30680 * manual/message.texi (The Uniforum approach): Likewise.
30681 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
30682 (glibc iconv Implementation): Likewise.
30683
638a572e
JM
306842012-07-09 Joseph Myers <joseph@codesourcery.com>
30685
30686 [BZ #14337]
30687 * math/s_clog.c (__clog): Avoid scaling a value down where that
30688 could result in underflow.
30689 * math/s_clog10.c (__clog10): Likewise.
30690 * math/s_clog10f.c (__clog10f): Likewise.
30691 * math/s_clog10l.c (__clog10l): Likewise.
30692 * math/s_clogf.c (__clogf): Likewise.
30693 * math/s_clogl.c (__clogl): Likewise.
30694 * math/libm-test.inc (clog_test): Add more tests.
30695 (clog10_test): Likewise.
30696 * sysdeps/i386/fpu/libm-test-ulps: Update.
30697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30698
261f4859
AS
306992012-07-06 Andreas Schwab <schwab@linux-m68k.org>
30700
0abaf3e4
AS
30701 [BZ #14283]
30702 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
30703 by 7 not 8 to examine high bit of fractional part.
30704
261f4859
AS
30705 [BZ #14042]
30706 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
30707 for call to __mcount_internal.
30708 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
30709 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
30710 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
30711
f17ac40d
JM
307122012-07-06 Joseph Myers <joseph@codesourcery.com>
30713
9ad63c23
JM
30714 [BZ #14154]
30715 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
30716 approximation for values within 0x1p-13f of an odd multiple of
30717 pi/4.
30718 * math/libm-test.inc (tan_test): Do not allow spurious underflow
30719 exception. Add more tests.
30720 * sysdeps/i386/fpu/libm-test-ulps: Update.
30721
f17ac40d
JM
30722 [BZ #6778]
30723 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
30724 inputs and return -1 for them. Do not check for +Inf in case not
30725 reachable for +Inf.
30726 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
30727 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
30728 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30729 and return -1 for them. Do not check for +Inf in case not
30730 reachable for +Inf.
30731 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
30732 define.
30733 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30734 and return -1 for them. Do not check for +Inf in case not
30735 reachable for +Inf.
30736 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
30737 spurious underflow.
30738 * sysdeps/i386/fpu/libm-test-ulps: Update.
30739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30740
fb21f89b
MF
307412012-07-06 Mike Frysinger <vapier@gentoo.org>
30742
30743 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
30744
cdfe2c5e
JM
307452012-07-05 Joseph Myers <joseph@codesourcery.com>
30746
30747 [BZ #14157]
30748 [BZ #14331]
30749 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
30750 could result in spurious underflow. Scale down values above
30751 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
30752 * math/s_csqrtf.c (__csqrtf): Likewise.
30753 * math/s_csqrtl.c (__csqrtl): Likewise.
30754 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
30755 spurious underflow.
30756 * sysdeps/i386/fpu/libm-test-ulps: Update.
30757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30758
70d35b67
AS
307592012-07-04 Andreas Schwab <schwab@linux-m68k.org>
30760
704bc459
AS
30761 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
30762 xopen-msg.sed.
30763 * catgets/xopen-msg.awk: New file.
30764 * catgets/xopen-msg.sed: Removed.
30765
70d35b67
AS
30766 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
30767 po2text.sed.
30768 * intl/po2test.awk: New file.
30769 * intl/po2test.sed: Removed.
30770
ca61cf32
JM
307712012-07-04 Joseph Myers <joseph@codesourcery.com>
30772
30773 [BZ #14328]
30774 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
30775 or multiply small sinh result by itself.
30776 * math/s_ctanf.c (__ctanf): Likewise.
30777 * math/s_ctanh.c (__ctanh): Likewise.
30778 * math/s_ctanhf.c (__ctanhf): Likewise.
30779 * math/s_ctanhl.c (__ctanhl): Likewise.
30780 * math/s_ctanl.c (__ctanl): Likewise.
30781 * math/libm-test.inc (ctan_test_tonearest): New function.
30782 (ctan_test_towardzero): Likewise.
30783 (ctan_test_downward): Likewise.
30784 (ctan_test_upward): Likewise.
30785 (ctanh_test_tonearest): Likewise.
30786 (ctanh_test_towardzero): Likewise.
30787 (ctanh_test_downward): Likewise.
30788 (ctanh_test_upward): Likewise.
30789 (main): Call these new functions.
30790 * sysdeps/i386/fpu/libm-test-ulps: Update.
30791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30792
ca48a46a
MF
307932012-07-03 Mike Frysinger <vapier@gentoo.org>
30794
30795 * .gitignore: Delete /ports entry.
30796
9d63d37d
AJ
307972012-07-03 Andreas Jaeger <aj@suse.de>
30798
30799 * po/bg.po: Update from translation team.
30800 * po/cs.po: Likewise.
30801 * po/de.po: Likewise.
30802 * po/hr.po: Likewise.
30803 * po/nl.pl: Likewise.
30804 * po/pl.po: Likewise.
30805 * po/vi.po: Likewise.
30806
370ca3d2
JM
308072012-07-03 Joseph Myers <joseph@codesourcery.com>
30808
95f5a9a8
JM
30809 * Makeconfig [!+link] (+link-before-libc): New variable.
30810 [!+link] (+link-after-libc): Likewise.
30811 [!+link] (+link-tests): Likewise.
30812 [!+link] (+link): Define in terms of $(+link-before-libc) and
30813 $(+link-after-libc).
30814 [!+link-static] (+link-static-before-libc): New variable.
30815 [!+link-static] (+link-static-after-libc): Likewise.
30816 [!+link-static] (+link-static-tests): Likewise.
30817 [!+link-static] (+link-static): Define in terms of
30818 $(+link-static-before-libc) and $(+link-static-after-libc).
30819 [build-shared] (link-libc-before-gnulib): New variable.
30820 [build-shared] (link-libc-tests): Likewise.
30821 [build-shared] (link-libc): Define in terms of
30822 $(link-libc-before-gnulib).
30823 [!build-shared] (link-libc-tests): New variable.
30824 (link-libc-static-tests): New variable.
30825 [!gnulib] (gnulib-arch): New variable.
30826 [!gnulib] (gnulib-tests): Likewise.
30827 [!gnulib] (static-gnulib-arch): Likewise.
30828 [!gnulib] (static-gnulib-tests): Likewise.
30829 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
30830 Define with "=" instead of ":=".
30831 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
30832 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
30833 * Rules (binaries-all-notests): New variable.
30834 (binaries-all-tests): Likewise.
30835 (binaries-static-notests): Likewise.
30836 (binaries-static-tests): Likewise.
30837 (binaries-all): Define using $(binaries-all-notests) and
30838 $(binaries-all-tests).
30839 (binaries-static): Define using $(binaries-static-notests) and
30840 $(binaries-static-tests).
30841 (binaries-shared-tests): New variable.
30842 (binaries-shared-notests): Likewise.
30843 (binaries-shared): Remove variable.
30844 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
30845 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
30846 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
30847 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
30848 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
30849 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
30850 * elf/Makefile (sln-modules): New variable.
30851 (extra-objs): Add $(sln-modules:=.o).
30852 (ldconfig-modules): Add static-stubs.
30853 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
30854 * elf/static-stubs.c: New file.
30855
7a845b2c
JM
30856 [BZ #14283]
30857 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
30858 by 7 not 8 to examine high bit of fractional part. Use volatile
30859 variables when splitting into final array of floats if
30860 __FLT_EVAL_METHOD__ != 0.
30861 * math/libm-test.inc (cos_test): Add another test.
30862 (sin_test): Likewise.
30863 * sysdeps/i386/fpu/libm-test-ulps: Update.
30864
e2283f38
JM
30865 [BZ #14273]
30866 * math/libm-test.inc (cosh_test): Add more tests.
30867
370ca3d2
JM
30868 * version.h (RELEASE): Set to "development".
30869 (VERSION): Set to "2.16.90".
30870
ee9247c3
CD
308712012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
30872
30873 * NEWS: Update copyright. Remove last-updated date.
30874 Mention math library bug fixes and timezone data changes.
30875 * README: Mention GNU/Hurd, x32, and HPPA support status.
30876
4648c381
TS
308772012-06-28 Thomas Schwinge <thomas@codesourcery.com>
30878
30879 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
30880
aac78a43
AJ
308812012-06-27 Andreas Jaeger <aj@suse.de>
30882
30883 * manual/contrib.texi (Contributors): Add Samuel Thibault.
30884
ed3dbfad
AJ
308852012-06-25 Andreas Jaeger <aj@suse.de>
30886
30887 * sysdeps/s390/fpu/libm-test-ulps: Update.
30888
4d0ee855
AS
308892012-06-23 Andreas Schwab <schwab@linux-m68k.org>
30890 Thomas Schwinge <thomas@codesourcery.com>
30891
30892 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
30893 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
30894 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
30895 fanotify_mark.
30896
af1bce34
TS
308972012-06-23 Thomas Schwinge <thomas@codesourcery.com>
30898
a9fa33ba
TS
30899 * sysdeps/mach/start.c: Remove file.
30900 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
30901 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
30902 * sysdeps/sh/init-first.c: Likewise.
30903
58f902b8
TS
30904 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
30905 registers for frame unwinding purposes, add CFI directives.
30906 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30907 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
30908 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
30909 Likewise.
30910
1518f58b
TS
30911 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
30912 __fortify_fail returning.
30913 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30914
db9b5059
TS
30915 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
30916 sysdeps/sh/____longjmp_chk.S.
30917 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
30918 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
30919 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
30920 (gen-as-const-headers): Append sigaltstack-offsets.sym.
30921
967705fe
TS
30922 * sysdeps/sh/abort-instr.h: New file.
30923 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
30924 process in case exit returns.
30925
a9def8c4
TS
30926 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
30927 initialize the GOT register before use.
30928
2a649725
TS
30929 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
30930 calculation of ARGC > 4.
30931
af1bce34
TS
30932 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
30933 meaningful names to some local labels.
30934
d230f50a
KK
309352012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30936 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30937
30938 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
30939 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
30940 (__arch_compare_and_exchange_val_16_acq): Likewise.
30941 (__arch_compare_and_exchange_val_32_acq): Likewise.
30942 (atomic_exchange_and_add): Fix gUSA sequence.
30943 (atomic_add): Likewise.
30944 (atomic_add_negative): Likewise.
30945 (atomic_add_zero): Likewise.
30946 (atomic_bit_test_set): Likewise.
30947
0479b305
AS
309482012-06-22 Andreas Schwab <schwab@redhat.com>
30949
30950 [BZ #13579]
30951 * include/link.h (struct link_map): Add l_free_initfini.
30952 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
30953 l_initfini.
30954 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
30955 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
30956 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
30957 set.
30958
0e3933b9
CD
309592012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
30960
30961 * configure.in: Use AC_LANG_SOURCE.
30962 * configure: Regenerate.
30963
4248b1b1
RM
309642012-06-22 Roland McGrath <roland@hack.frob.com>
30965
30966 * configure.in (libc_cv_localstatedir): New substituted variable.
30967 * configure: Regenerated.
30968 * config.make.in (localstatedir): New variable, substituted from
30969 libc_cv_localstatedir.
30970 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
30971 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
30972 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
30973 * sysdeps/gnu/configure: Regenerated.
30974
006dd861
JL
309752012-06-21 Jeff Law <law@redhat.com>
30976
30977 [BZ #14277]
30978 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
30979 free. Simplify list management for _LIBC case.
30980
79662d42
JM
309812012-06-21 Joseph Myers <joseph@codesourcery.com>
30982
b7abb4bf
JM
30983 [BZ #14273]
30984 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
30985 Clear sign bit of 64-bit integer value before comparing against
30986 overflow value.
30987
79662d42
JM
30988 * sysdeps/mach/configure: Regenerated.
30989
1f150908
L
309902012-06-21 H.J. Lu <hongjiu.lu@intel.com>
30991
30992 [BZ #14278]
30993 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
30994
28363bbf
JL
309952012-06-21 Jeff Law <law@redhat.com>
30996
30997 [BZ #13882]
30998 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
30999 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 31000 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
31001 * elf/dl-open.c (dl_open_worker): Likewise.
31002
09615db4
CD
310032012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
31004
31005 * scripts/list-sources.sh: Scan PORTS for translations.
31006 * po/libc.pot: Regenerated.
31007
2174c6dd
AJ
310082012-06-21 Andreas Jaeger <aj@suse.de>
31009
31010 [BZ #12194]
31011 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
31012 warning.
31013 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
31014 * bits/byteswap-16.h (__bswap_16): Likewise.
31015 * bits/byteswap.h (__bswap_constant_16): Likewise.
31016
3ee947b1
L
310172012-06-18 H.J. Lu <hongjiu.lu@intel.com>
31018
31019 [BZ #14117]
a2f34833
L
31020 * sysdeps/i386/fpu_control.h: Removed.
31021 * sysdeps/x86_64/fpu_control.h: Moved to ...
31022 * sysdeps/x86/fpu_control.h: Here.
31023
3ee947b1
L
31024 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
31025 (_FPU_SETCW): Likewise.
31026
ed1825f8
L
310272012-06-15 H.J. Lu <hongjiu.lu@intel.com>
31028
25f1282a
L
31029 [BZ #14117]
31030 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
31031 * sysdeps/x86/fpu/bits/mathinline.h: This.
31032 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
31033
ed1825f8
L
31034 [BZ #14050]
31035 [BZ #14117]
31036 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
31037 functions if __x86_64__ is defined.
31038
36d54b74
CLT
310392012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
31040
31041 * string/endian.h: Add !__ASSEMBLER__ condition for including
31042 conversion interfaces.
31043
10285c21
JM
310442012-06-15 Joseph Myers <joseph@codesourcery.com>
31045
31046 [BZ #14241]
31047 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
31048 of ABS(x) in calculating zero to negative powers other than odd
31049 integers.
31050 * math/libm-test.inc (pow_test): Add more tests.
31051
06c5abbd
AJ
310522012-06-15 Andreas Jaeger <aj@suse.de>
31053
31054 * manual/contrib.texi (Contributors): Update entry of Liubov
31055 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
31056 Machado Filho.
31057
a3aeac40
CH
310582012-06-15 Cyril Hrubis <metan@ucw.cz>
31059
31060 * string/string.h: Add __wur to GNU version of strerror_r.
31061
49bdf4c1
L
310622012-06-14 H.J. Lu <hongjiu.lu@intel.com>
31063
31064 [BZ #14229]
31065 * string/Makefile (tests): Add tst-strtok_r.
31066 * string/tst-strtok_r.c: New file.
31067 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
31068 RAX_LP/RDX_LP on SAVE_PTR.
31069
834f9b8d
RM
310702012-06-14 Roland McGrath <roland@hack.frob.com>
31071
31072 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
31073
75fa1921
JM
310742012-06-14 Joseph Myers <joseph@codesourcery.com>
31075
31076 * libm_test.inc (csqrt_test): Allow more spurious underflow
31077 exceptions.
31078 (j0_test): Likewise.
31079 (j1_test): Likewise.
31080 (y0_test): Likewise.
31081 (y1_test): Likewise.
31082
771766df
CD
310832012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
31084
31085 * po/Makefile (libc.pot): Use UTF-8 charset.
31086
ceb9e56b
PP
310872012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
31088
31089 [BZ #14210]
31090 Suppress sign-conversion warning from FD_SET.
31091 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
31092 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
31093 not unsigned long int.
31094 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
31095
ddb28975
L
310962012-06-12 H.J. Lu <hongjiu.lu@intel.com>
31097
31098 [BZ #14050]
31099 [BZ #14117]
31100 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
31101 __extern_always_inline instead of __extern_inline.
31102 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
31103 (__signbit): Likewise.
31104 (__signbitl): Support C++ namespace.
31105 (lrintf): New inline function.
31106 (lrint): Likewise.
31107 (llrintf): Likewise.
31108 (llrint): Likewise.
31109 (fmaxf): Likewise.
31110 (fmax): Likewise.
31111 (fminf): Likewise.
31112 (fmin): Likewise.
31113 (rint): Likewise.
31114 (rintf): Likewise.
31115 (ceil): Likewise.
31116 (ceilf): Likewise.
31117 (floor): Likewise.
31118 (floorf): Likewise.
31119 (nearbyint): Likewise.
31120 (nearbyintf): Likewise.
31121
d7b4fb26
TS
311222012-06-12 Thomas Schwinge <thomas@codesourcery.com>
31123
31124 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
31125 non-default versions.
31126
eb55f5c2
RM
311272012-06-11 Roland McGrath <roland@hack.frob.com>
31128
31129 [BZ #14218]
31130 * manual/argp.texi (Argp): Reword argp_parse description slightly.
31131
366af02c
TS
311322012-06-09 Thomas Schwinge <thomas@codesourcery.com>
31133
99ff6e5c
TS
31134 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
31135 (FE_UPWARD, FE_DOWNWARD): Don't define.
31136 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
31137 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31138
366af02c
TS
31139 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
31140 reading it.
31141 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31142 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31143
793ea851
KK
311442012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31145
31146 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31147 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
31148 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
31149 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
31150
a728a38f
L
311512012-06-06 H.J. Lu <hongjiu.lu@intel.com>
31152
31153 [BZ #14117]
c08010c7
L
31154 * sysdeps/i386/fpu/bits/fenv.h: Removed.
31155 * sysdeps/i386/fpu/Implies: New file.
31156 * sysdeps/x86_64/fpu/Implies: Likewise.
31157 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
31158 * sysdeps/x86/fpu/bits/fenv.h: This.
31159
a728a38f
L
31160 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
31161 __SSE_MATH__.
31162
6e230d11
SP
311632012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
31164
31165 [BZ #14134]
31166 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
31167 character 0xffff that matches the last element of the
31168 conversion table.
31169
1b671feb
AZ
311702012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31171
31172 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
31173 fmodl commit.
31174
6043738b
AZ
311752012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31176
31177 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
31178 values higher than 25.6283.
31179
34ae0b32
AZ
311802012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31181
31182 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
31183 subnormal exponent extraction and add some __builtin_expect.
31184 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
31185 Fix for subnormal mantissa calculation.
31186
1214ec8f
MF
311872012-06-04 Mike Frysinger <vapier@gentoo.org>
31188
31189 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
31190 cpu2 is -1 and errno is not ENOSYS.
31191
f3d1f93c
L
311922012-06-04 H.J. Lu <hongjiu.lu@intel.com>
31193
31194 [BZ #14117]
0e4a3cd7
L
31195 * sysdeps/i386/i486/bits/string.h: Renamed to ...
31196 * sysdeps/x86/bits/string.h: This.
31197 * sysdeps/x86_64/bits/string.h: Removed.
31198
6704c645
L
31199 * sysdeps/i386/i486/bits/string.h: Define inline functions only
31200 if not compiling for x86-64, but compiling for >= i486.
31201
48495318
L
31202 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
31203 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
31204
14adcbfc
L
31205 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
31206 New macro from Linux kernel 3.4.0.
31207 (FP_XSTATE_MAGIC2): Likewise.
31208 (FP_XSTATE_MAGIC2_SIZE): Likewise.
31209 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
31210 (struct _fpx_sw_bytes): New struct.
31211 (struct _xsave_hdr): Likewise.
31212 (struct _ymmh_state): Likewise.
31213 (struct _xstate): Likewise.
31214
68e408ab
L
31215 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
31216 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
31217 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
31218 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
31219 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
31220 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
31221
f3d1f93c
L
31222 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
31223 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
31224 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
31225 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
31226 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
31227 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
31228
d9dc34cd
TMQMF
312292012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31230
31231 [BZ #13743]
31232 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
31233 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
31234 (sysdep_headers): Include sys/platform/ppc.h.
31235 * sysdeps/powerpc/test-gettimebase.c: Test for
31236 __ppc_get_timebase() to catch future ISA opcode/insn changes.
31237 * manual/Makefile (appendices): Include platform.texi.
31238 * manual/contrib.texi (Contributors): Update @node pointers.
31239 * manual/maint.texi (Maintenance): Likewise.
31240 (Platform): New node.
31241 * manual/platform.texi: New file. Document the new features.
31242
4af3879c
SP
312432012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31244 Jakub Jelinek <jakub@redhat.com>
31245
31246 [BZ #14188]
31247 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
31248 where __builtin_expect is unavailable.
31249
2fd6ff13
DM
312502012-06-03 David S. Miller <davem@davemloft.net>
31251
31252 * stdlib/longlong.h: Updated from GCC.
31253
173f7220
AS
312542012-06-02 Andreas Schwab <schwab@linux-m68k.org>
31255
31256 [BZ #14042]
31257 * sysdeps/powerpc/powerpc32/mcount.c: New file.
31258 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
31259 __mcount_internal.
31260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31261 (GLIBC_2.16): Likewise.
31262
f34a1c6f
L
312632012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31264
31265 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
31266
88a4576f
JM
312672012-06-01 Joseph Myers <joseph@codesourcery.com>
31268
ea32bcdd
JM
31269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
31270 (default-abi): New variable.
31271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
31272 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
31273 variable.
31274 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
31275 Likewise.
31276 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
31277 Likewise.
31278 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
31279 Likewise.
31280
88a4576f
JM
31281 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
31282 definition. Document in comment.
31283
402fe938
DM
312842012-06-01 David S. Miller <davem@davemloft.net>
31285
31286 * stdlib/longlong.h: Updated from GCC.
31287
3553723f
L
312882012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31289
31290 [BZ #14117]
3bd872c4
L
31291 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
31292 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
31293 sys/debugreg.h sys/io.h here.
31294 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
31295 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
31296 sys/io.h.
31297 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
31298 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
31299 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
31300 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
31301 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
31302 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
31303
3553723f
L
31304 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
31305 Define only if __x86_64__ is defined.
31306
4842e4fe
JM
313072012-06-01 Joseph Myers <joseph@codesourcery.com>
31308
c5bfe3d5
JM
31309 [BZ #14048]
31310 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
31311 Use int64_t for variable i.
31312 * math/libm-test.inc (fmod_test): Add more tests.
31313
4842e4fe
JM
31314 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
31315 z computation is not scheduled after fetestexcept.
31316 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
31317 Use math_force_eval instead of asm to ensure calculation scheduled
31318 before exception test.
31319 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
31320 Ensure a1 + u.d computation is not scheduled after fetestexcept.
31321
efb73488
AJ
313222012-06-01 Aurelien Jarno <aurelien@aurel32.net>
31323
31324 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
31325 computation is not scheduled after fetestexcept.
31326
29bcce7c
L
313272012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31328
31329 [BZ #14117]
31330 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
31331 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
31332
73a68f94
AZ
313332012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31334
31335 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
31336 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
31337
67b6df78
L
313382012-05-31 H.J. Lu <hongjiu.lu@intel.com>
31339
edf2933a 31340 [BZ #14117]
ebc64a18
L
31341 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
31342 <bits/wordsize.h>.
31343 (__WCHAR_MIN): Support __WORDSIZE == 64.
31344 (__WCHAR_MAX): Likewise.
31345
edf2933a
L
31346 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
31347 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
31348
57c6cf40
L
31349 [BZ #14183]
31350 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
31351 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
31352
67b6df78 31353 [BZ #14117]
8eb6281e
L
31354 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
31355 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
31356
aac639f4
L
31357 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
31358 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
31359
67b6df78
L
31360 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
31361 Defined to 1 if __x86_64__ isn't defined.
31362 (_STAT_VER_LINUX_OLD): New.
31363 (st_atime): Remove duplicate.
31364 (st_mtime): Likewise.
31365 (st_ctime): Likewise.
31366
1c2cfe81
DM
313672012-05-31 David S. Miller <davem@davemloft.net>
31368
31369 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
31370 entries.
31371
5be8418c
AS
313722012-06-01 Andreas Schwab <schwab@linux-m68k.org>
31373
e7725326
AS
31374 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
31375 gen-libm-test.pl.
31376
5be8418c
AS
31377 [BZ #14132]
31378 * elf/dl-reloc.c: Include <_itoa.h>.
31379 (_dl_reloc_bad_type): Remove use of INTUSE.
31380 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
31381 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
31382 * stdio-common/psiginfo.c (psiginfo): Likewise.
31383 * stdio-common/psignal.c (psignal): Likewise.
31384 * string/strsignal.c (strsignal): Likewise.
31385 * include/signal.h (_sys_siglist): Declare hidden proto.
31386 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
31387 INTVARDEF with libc_hidden_data_def.
31388 * stdio-common/itoa-udigits.c: Likewise.
31389 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
31390 (_itoa_lower_digits_internal): Remove declaration.
31391 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
31392 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
31393 (_sys_sigabbrev_internal): Remove aliases.
31394 (_sys_siglist): Define hidden alias.
31395
507352f1
MT
313962012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
31397
31398 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31399 bits/sysctl.h.
31400
42bbb1c3
L
314012012-05-31 H.J. Lu <hongjiu.lu@intel.com>
31402
31403 [BZ #14117]
6bd784b6
L
31404 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
31405 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
31406
8bca20f0
L
31407 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
31408 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
31409 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
31410 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
31411 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
31412 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
31413
f9e890a9
L
31414 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
31415 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
31416 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
31417
471101a1
L
31418 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
31419 with __addr.
31420 (insw): Likewise.
31421 (insl): Likewise.
31422 (outsb): Likewise.
31423 (outsw): Likewise.
31424 (outsl): Likewise.
31425
6451c862
L
31426 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
31427 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
31428 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
31429
a254b8c9
L
31430 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
31431 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
31432 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
31433 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
31434 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
31435 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
31436
b8dfdd92
L
31437 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
31438 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
31439
578cd270
L
31440 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
31441 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
31442
de662f5f
L
31443 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
31444 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
31445 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
31446
25653439
L
31447 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
31448 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
31449 to ...
31450 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
31451
6bad24a0
L
31452 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
31453 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
31454 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
31455
42bbb1c3
L
31456 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
31457 for x86-64.
31458 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
31459
2d10d547
JM
314602012-05-31 Joseph Myers <joseph@codesourcery.com>
31461
31462 * math/math.h (M_El): Use two more decimal places.
31463 (M_LOG2El): Likewise.
31464 (M_LOG10El): Likewise.
31465 (M_LN2l): Likewise.
31466 (M_LN10l): Likewise.
31467 (M_PIl): Likewise.
31468 (M_PI_2l): Likewise.
31469 (M_PI_4l): Likewise.
31470 (M_1_PIl): Likewise.
31471 (M_2_PIl): Likewise.
31472 (M_2_SQRTPIl): Likewise.
31473 (M_SQRT2l): Likewise.
31474 (M_SQRT1_2l): Likewise.
31475
f230c29b
DM
314762012-05-31 David S. Miller <davem@davemloft.net>
31477
31478 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
31479 values between float registers.
31480 * sysdeps/sparc/sparc64/memset.S: Likewise.
31481 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31482
fed806c3
MF
314832012-05-31 Mike Frysinger <vapier@gentoo.org>
31484
31485 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
31486 -D_FORTIFY_SOURCE=1.
31487 (CPPFLAGS-tst-longjmp_chk.c): Define.
31488 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
31489 (CPPFLAGS-tst-longjmp_chk2.c): Define.
31490 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
31491 CFLAGS-tst-wchar-h.c.
31492
30917259
MP
314932012-05-31 Marek Polacek <polacek@redhat.com>
31494
31495 [BZ #14132]
31496 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
31497 __endmntent_internal): Remove declaration.
31498 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
31499 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
31500 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
31501
1c58d5dc
DM
315022012-05-30 David S. Miller <davem@davemloft.net>
31503
31504 * sysdeps/sparc/sparc32/soft-fp/q_util.c
31505 (___Q_simulate_exceptions): Use real FP ops rather than writing
31506 into the %fsr.
31507 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
31508 Likewise.
31509
7dc00e0d
L
315102012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31511
31512 [BZ #14117]
0bd53985
L
31513 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
31514 * sysdeps/x86/bits/xtitypes.h: This.
31515
3a257e66
L
31516 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
31517 * sysdeps/x86/bits/wordsize.h: This.
31518
62f62904
L
31519 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
31520 * sysdeps/x86/bits/huge_vall.h: This.
31521
404fe9d9
L
31522 * sysdeps/i386/bits/select.h: Removed.
31523 * sysdeps/x86_64/bits/select.h: Renamed to ...
31524 * sysdeps/x86/bits/select.h: This.
31525
d48d0446
L
31526 * sysdeps/i386/bits/setjmp.h: Removed.
31527 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
31528 * sysdeps/x86/bits/setjmp.h: This.
31529
7dc00e0d
L
31530 * sysdeps/i386/bits/mathdef.h: Removed.
31531 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
31532 * sysdeps/x86/bits/mathdef.h: This.
31533
03277f8f
AS
315342012-05-30 Andreas Schwab <schwab@linux-m68k.org>
31535
31536 [BZ #14132]
31537 * include/sys/socket.h (__connect_internal)
31538 (__libc_sa_len_internal): Remove declaration.
31539 (__connect, __libc_sa_len): Declare hidden_proto.
31540 (SA_LEN): Remove use of INTUSE.
31541 * socket/connect.c: Add libc_hidden_def.
31542 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
31543 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
31544 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
31545 alias.
31546 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
31547 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
31548 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
31549 of adding _internal alias.
31550
13764867
L
315512012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31552
31553 [BZ #14117]
6bd97696
L
31554 * sysdeps/i386/bits/link.h: Removed.
31555 * sysdeps/i386/bits/linkmap.h: Likewise.
31556 * sysdeps/x86_64/bits/link.h: Renamed to ...
31557 * sysdeps/x86/bits/link.h: This.
31558 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
31559 * sysdeps/x86/bits/linkmap.h: This.
31560
f726f0bb
L
31561 * sysdeps/i386/bits/endian.h: Removed.
31562 * sysdeps/x86_64/bits/endian.h: Renamed to ...
31563 * sysdeps/x86/bits/endian.h: This.
31564
13764867
L
31565 * sysdeps/i386/bits/byteswap.h: Removed.
31566 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31567 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
31568 * sysdeps/x86/bits/byteswap.h: This.
31569 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
31570 * sysdeps/x86/bits/byteswap-16.h: This.
31571 * sysdeps/i386/Implies: Add x86.
31572 * sysdeps/x86_64/Implies: Likewise.
31573
ae251b0b
DM
315742012-05-30 David S. Miller <davem@davemloft.net>
31575
31576 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
31577 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
31578 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
31579 (FP_TRAPPING_EXCEPTIONS): Define.
31580 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
31581 (FP_TRAPPING_EXCEPTIONS): Define.
31582 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
31583 subnormals only when inexact has been signalled or underflow
31584 exceptions are enabled.
31585 (_FP_PACK_CANONICAL): Likewise.
31586
d5c90867
L
315872012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31588
31589 [BZ #14183]
31590 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
31591 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
31592
63f1549e
RH
315932012-05-30 Richard Henderson <rth@twiddle.net>
31594
8d8f2279
RH
31595 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
31596 with #ifndef NOT_IN_libc.
31597
63f1549e
RH
31598 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
31599 marked to avoid plt entry.
31600
0ab0291b
L
316012012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31602
31603 [BZ #14112]
31604 * Makeconfig (default-abi): New macro.
31605 (abi-includes): Likewise.
31606 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
31607 $(abi-$(default-abi)-lib-soname) for soname if defined.
31608 ($(common-objpfx)gnu/lib-names.stmp): Generate from
31609 abi-variants.
31610 * Makefile (installed-stubs): Likewise.
31611 * include/stubs-biarch.h: Removed.
31612 * scripts/lib-names.awk: Only handle one library at a time.
31613 * scripts/soversions.awk: Remove WORDSIZE support.
31614 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
31615 entries.
31616 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
31617 Removed.
31618 (syscall-list-default-condition): Likewise.
31619 (syscall-list-default-condition): Likewise.
31620 (syscall-list-includes): Likewise.
31621 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
31622 syscall-list-* with abi-*. Handle undefined abi-variants.
31623 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
31624 * sysdeps/unix/sysv/linux/i386/Implies: New file.
31625 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
31626 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
31627 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
31628 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
31629 Removed.
31630 (syscall-list-32-options): Likewise.
31631 (syscall-list-32-condition): Likewise.
31632 (syscall-list-64-options): Likewise.
31633 (syscall-list-64-condition): Likewise.
31634 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
31635 macro.
31636 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
31637 Renamed to ...
31638 (abi-*): This.
31639 (abi-64-ld-soname): New macro.
31640 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
31641 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
31642 Renamed to ...
31643 (abi-*): This.
31644 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
31645 * sysdeps/x86_64/x32/shlib-versions: Likewise.
31646
4da0431d
JM
316472012-05-30 Joseph Myers <joseph@codesourcery.com>
31648
3a85279c
JM
31649 * sysdeps/unix/sysv/linux/kernel-features.h
31650 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
31651 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
31652 include <kernel-features.h>.
31653 [!__NR_ftruncate64]: Remove conditional code.
31654 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31655 [__NR_ftruncate64]: Make code unconditional.
31656 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31657 * sysdeps/unix/sysv/linux/truncate64.c: Do not
31658 include <kernel-features.h>.
31659 [!__NR_ftruncate64]: Remove conditional code.
31660 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31661 [__NR_ftruncate64]: Make code unconditional.
31662 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
31664 include <kernel-features.h>.
31665 [!__NR_ftruncate64]: Remove conditional code.
31666 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31667 [__NR_ftruncate64]: Make code unconditional.
31668 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31670 include <kernel-features.h>.
31671 [!__NR_ftruncate64]: Remove conditional code.
31672 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31673 [__NR_ftruncate64]: Make code unconditional.
31674 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31675
4da0431d
JM
31676 * configure.in (libc_cv_fpie): Weaken to a compile test using
31677 LIBC_TRY_CC_OPTION.
31678 * configure: Regenerated.
31679
11ef492c
AK
316802012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31681
31682 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
31683 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
31684 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
31685 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31686 Refreshed.
31687 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
31688 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
31689 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
31690 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
31691 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
31692 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31693 Refreshed.
31694
d66ef399
DM
316952012-05-27 David S. Miller <davem@davemloft.net>
31696
31697 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
31698 (___Q_zero): New.
31699 (__Q_simulate_exceptions): Return void. Change to simulate
31700 exceptions by writing into the %fsr.
31701 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
31702 (__Qp_handle_exceptions): Likewise.
31703 (numbers): Delete.
31704 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
31705 __Qp_handle_exceptions.
31706 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
31707 __Qp_handle_exceptions.
31708 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31709 as unused and give dummy FP_RND_NEAREST initializer.
31710 (FP_INHIBIT_RESULTS): Define.
31711 (___Q_simulate_exceptions): Update declaration.
31712 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
31713 formatting.
31714 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31715 as unused and give dummy FP_RND_NEAREST initializer.
31716 (__Qp_handle_exceptions): Update declaration.
31717 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
31718 formatting.
31719
04fb54b5
TS
317202012-05-27 Thomas Schwinge <thomas@codesourcery.com>
31721
31722 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
31723 the temporary FPU control word.
31724 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
31725 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
31726 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
31727 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31728 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
31729 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
31730 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
31731 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31732 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
31733 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
31734 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31735
3f99608f
KK
317362012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31737
31738 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
31739 fields.
31740
65a4de4e
CLT
317412012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
31742
31743 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
31744 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
31745 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
31746 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
31747 Likewise.
31748 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
31749 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
31750 Likewise.
31751
15749d40
UD
317522012-05-27 Ulrich Drepper <drepper@gmail.com>
31753
31754 * po/h.po: Update from translation team.
31755
25dbcb27
AS
317562012-05-26 Andreas Schwab <schwab@linux-m68k.org>
31757
3d3f8e55
AS
31758 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
31759
25dbcb27
AS
31760 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
31761 handling of denormals.
31762 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31763 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
31764 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31765 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31766 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31767 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
31768 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
31769 Likewise.
31770
7ad47a80 317712012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
31772
31773 [BZ #14152]
31774 * math/libm-test.inc (fma_test): Don't always expect underflow
31775 exception.
31776
9c6ea9fa
SP
317772012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31778
31779 [BZ #12416]
31780 * elf/tst-execstack.c: Include stackinfo.h.
31781 (do_test): Adjust test case to ensure that pthread_getattr_np
31782 behaviour remains the same after marking stack executable.
31783
a8239222
JM
317842012-05-25 Joseph Myers <joseph@codesourcery.com>
31785
31786 * sysdeps/unix/sysv/linux/kernel-features.h
31787 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
31788 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
31789 kernel-features.h.
31790 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31791 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31792 * sysdeps/unix/sysv/linux/i386/setrlimit.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
918b5606
L
317972012-05-25 H.J. Lu <hongjiu.lu@intel.com>
31798
31799 * configure.in: Define the default includes to being none.
31800 * configure: Regenerated.
31801
3a097cc7
RM
318022012-05-25 Roland McGrath <roland@hack.frob.com>
31803
8422c9a5
RM
31804 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
31805 * sysdeps/x86_64/setjmp.S: Likewise.
31806 * sysdeps/i386/bsd-setjmp.S: Likewise.
31807 * sysdeps/i386/bsd-_setjmp.S: Likewise.
31808 * sysdeps/i386/setjmp.S: Likewise.
31809 * sysdeps/i386/__longjmp.S: Likewise.
31810 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31811 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
31812
3a097cc7
RM
31813 * include/stap-probe.h: New file.
31814 * configure.in: Handle --enable-systemtap.
31815 * configure: Regenerated.
31816 * config.h.in (USE_STAP_PROBE): New #undef.
31817 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
31818 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
31819 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
31820
21708942
JM
318212012-05-25 Joseph Myers <joseph@codesourcery.com>
31822
31823 [BZ #13717]
31824 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31825 to 2.4.0 where earlier.
31826 * sysdeps/unix/sysv/linux/configure: Regenerated.
31827 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31828 <kernel-features.h>.
31829 [__ASSUME_32BITUIDS]: Make code unconditional.
31830 [!__ASSUME_32BITUIDS]: Remove conditional code.
31831 * sysdeps/unix/sysv/linux/i386/fchown.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/fchownat.c (fchownat)
31836 [__ASSUME_32BITUIDS]: Make code unconditional.
31837 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
31838 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
31839 <kernel-features.h>.
31840 [__ASSUME_32BITUIDS]: Make code unconditional.
31841 [!__ASSUME_32BITUIDS]: Remove conditional code.
31842 * sysdeps/unix/sysv/linux/i386/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
31879 <kernel-features.h>.
31880 [__NR_setresgid] (__setresgid): Do not declare.
31881 [__ASSUME_32BITUIDS]: Make code unconditional.
31882 [!__ASSUME_32BITUIDS]: Remove conditional code.
31883 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
31884 <kernel-features.h>.
31885 [__NR_setresuid] (__setresuid): Do not declare.
31886 [__ASSUME_32BITUIDS]: Make code unconditional.
31887 [!__ASSUME_32BITUIDS]: Remove conditional code.
31888 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
31889 <kernel-features.h>.
31890 [__ASSUME_32BITUIDS]: Make code unconditional.
31891 [!__ASSUME_32BITUIDS]: Remove conditional code.
31892 * sysdeps/unix/sysv/linux/i386/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
31929 (__ASSUME_SETRESUID_SYSCALL): Remove.
31930 (__ASSUME_SETRESGID_SYSCALL): Likewise.
31931 (__ASSUME_32BITUIDS): Likewise.
31932 (__ASSUME_LDT_WORKS): Likewise.
31933 (__ASSUME_O_DIRECTORY): Likewise.
31934 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
31935 architecture but not kernel version.
31936 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
31937 (__ASSUME_MMAP2_SYSCALL): Likewise.
31938 (__ASSUME_STAT64_SYSCALL): Likewise.
31939 (__ASSUME_IPC64): Likewise.
31940 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
31941 <kernel-features.h>.
31942 [__ASSUME_32BITUIDS]: Make code unconditional.
31943 [!__ASSUME_32BITUIDS]: Remove conditional code.
31944 * sysdeps/unix/sysv/linux/opendir.c: Do not include
31945 <kernel-features.h>.
31946 [__ASSUME_O_DIRECTORY]: Make code unconditional.
31947 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
31948 132096]: Remove conditional code.
31949 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
31950 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31951 <kernel-features.h>.
31952 [__ASSUME_32BITUIDS]: Make code unconditional.
31953 [!__ASSUME_32BITUIDS]: Remove conditional code.
31954 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.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/setegid.c: Do not include
31959 <kernel-features.h>.
31960 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
31961 unconditional.
31962 (__setresgid): Do not declare.
31963 [__ASSUME_32BITUIDS]: Make code unconditional.
31964 [!__ASSUME_32BITUIDS]: Remove conditional code.
31965 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
31966 <kernel-features.h>.
31967 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
31968 unconditional.
31969 (__setresuid): Do not declare.
31970 [__ASSUME_32BITUIDS]: Make code unconditional.
31971 [!__ASSUME_32BITUIDS]: Remove conditional code.
31972 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31973 <kernel-features.h>.
31974 [__ASSUME_32BITUIDS]: Make code unconditional.
31975 [!__ASSUME_32BITUIDS]: Remove conditional code.
31976 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
31977 <kernel-features.h>.
31978 [__ASSUME_32BITUIDS]: Make code unconditional.
31979 [!__ASSUME_32BITUIDS]: Remove conditional code.
31980
a386f1cc
RH
319812012-05-25 Richard Henderson <rth@twiddle.net>
31982
31983 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
31984 dl_hwcap to ifunc resolver.
31985 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
31986 elf_ifunc_invoke.
31987 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
31988 dl_hwcap to ifunc resolver.
31989 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
31990
b6550497
JM
319912012-05-24 Joseph Myers <joseph@codesourcery.com>
31992
31993 [BZ #14153]
31994 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
31995 for |x| <= 2**-26, not 2**-57.
31996 * math/libm-test.inc (acos_test): Do not allow spurious underflow
31997 exception.
31998
b0bc23a1
JL
319992012-05-24 Jeff Law <law@redhat.com>
32000
32001 * stdio-common/Makefile (tests): Add bug25.
32002 * stdio-common/bug25.c: New test.
32003
347c92e9
L
320042012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32005
32006 [BZ #13576]
32007 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
32008 multiple of MALLOC_ALIGNMENT in size.
32009 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
32010
6bcc8b3f
JM
320112012-05-24 Joseph Myers <joseph@codesourcery.com>
32012
32013 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
32014 Require >= 256.
32015 (FILENAME_MAX): Use macro-int-constant.
32016 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
32017 (_IOFBF): Use macro-int-constant.
32018 (_IOLBF): Likewise.
32019 (_IONBF): Likewise.
32020 (SEEK_CUR): Likewise.
32021 (SEEK_END): Likewise.
32022 (SEEK_SET): Likewise.
32023 (TMP_MAX): Likewise.
32024 (EOF): Use macro-int-constant. Require < 0.
32025 (NULL): Use macro-constant. Require == 0.
32026 (stdin): Require type to be FILE *.
32027 (stdout): Likewise.
32028 (stderr): Likewise.
32029 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
32030 macro-int-constant.
32031 (EXIT_SUCCESS): Likewise.
32032 (NULL): Use macro-constant. Require == 0.
32033 (RAND_MAX): Use macro-int-constant.
32034 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
32035 [C99-based standards] (strtof): Require function.
32036 [C99-based standards] (strtold): Likewise.
32037 [C99-based standards] (strtoll): Likewise.
32038 [C99-based standards] (strtoull): Likewise.
32039 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32040 [ISO || ISO99 || ISO11] (limits.h): Likewise.
32041 [ISO || ISO99 || ISO11] (math.h): Likewise.
32042 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
32043 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32044 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32045
d18ea0c5
AS
320462012-05-24 Andreas Schwab <schwab@linux-m68k.org>
32047
32048 [BZ #14132]
56d25bb8
AS
32049 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
32050 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
32051 * intl/dgettext.c (DCGETTEXT): Likewise.
32052 * intl/gettext.c (DCGETTEXT): Likewise.
32053 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
32054 * posix/regex_internal.h (gettext): Likewise.
32055 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
32056 Remove declaration.
32057 * include/argz.h (__argz_count_internal)
32058 (__argz_stringify_internal): Remove declaration.
32059 (__argz_count, __argz_stringify): Declare hidden proto.
32060 * intl/dcgettext.c: Remove use of INTDEF.
32061 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
32062 * string/argz-stringify.c: Likewise.
32063 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32064 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32065 Declare hidden proto.
d18ea0c5
AS
32066 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32067 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32068 Declare hidden proto.
32069 * include/stdio.h (__asprintf_internal): Don't declare.
32070 (__asprintf): Don't define as macro. Declare hidden proto.
32071 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
32072 (__fsetlocking): Declare hidden proto.
32073 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
32074 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
32075 hidden proto.
32076 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
32077 (_IO_setlinebuf): Remove use of INTUSE.
32078 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
32079 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
32080 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
32081 Remove declaration.
32082 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
32083 (_IO_do_flush): Remove use of INTUSE.
32084 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
32085 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
32086 (_IO_adjust_column, _IO_least_wmarker)
32087 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
32088 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
32089 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
32090 (_IO_default_doallocate, _IO_wdefault_doallocate)
32091 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
32092 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
32093 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
32094 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
32095 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
32096 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
32097 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
32098 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
32099 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
32100 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
32101 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
32102 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
32103 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
32104 proto.
32105 (_IO_flush_all_internal, _IO_adjust_column_internal)
32106 (_IO_default_uflow_internal, _IO_default_finish_internal)
32107 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
32108 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
32109 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
32110 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
32111 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
32112 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
32113 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
32114 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
32115 (_IO_file_close_internal, _IO_file_close_it_internal)
32116 (_IO_file_underflow_internal, _IO_file_overflow_internal)
32117 (_IO_file_init_internal, _IO_file_attach_internal)
32118 (_IO_file_fopen_internal, _IO_file_read_internal)
32119 (_IO_file_sync_internal, _IO_file_seek_internal)
32120 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
32121 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
32122 (_IO_str_underflow_internal, _IO_str_overflow_internal)
32123 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
32124 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
32125 (_IO_list_all_internal, _IO_link_in_internal)
32126 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
32127 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
32128 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
32129 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
32130 (_IO_do_write_internal, _IO_padn_internal)
32131 (_IO_getline_info_internal, _IO_getline_internal)
32132 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
32133 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
32134 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
32135 (_IO_vfscanf_internal, _IO_vfprintf_internal)
32136 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
32137 (_IO_init_internal, _IO_un_link_internal): Don't declare.
32138 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
32139 with libc_hidden_ver, remove use of INTUSE.
32140 * libio/genops.c: Likewise.
32141 * libio/freopen.c: Likewise.
32142 * libio/freopen64.c: Likewise.
32143 * libio/iofclose.c: Likewise.
32144 * libio/iofdopen.c: Likewise.
32145 * libio/iofflush.c: Likewise.
32146 * libio/iofflush_u.c: Likewise.
32147 * libio/iofgets.c: Likewise.
32148 * libio/iofgets_u.c: Likewise.
32149 * libio/iofopen.c: Likewise.
32150 * libio/iofopncook.c: Likewise.
32151 * libio/iofread.c: Likewise.
32152 * libio/iofread_u.c: Likewise.
32153 * libio/ioftell.c: Likewise.
32154 * libio/iofwrite.c: Likewise.
32155 * libio/iogetline.c: Likewise.
32156 * libio/iogets.c: Likewise.
32157 * libio/iogetwline.c: Likewise.
32158 * libio/iopadn.c: Likewise.
32159 * libio/iopopen.c: Likewise.
32160 * libio/ioseekoff.c: Likewise.
32161 * libio/ioseekpos.c: Likewise.
32162 * libio/iosetbuffer.c: Likewise.
32163 * libio/iosetvbuf.c: Likewise.
32164 * libio/ioungetc.c: Likewise.
32165 * libio/ioungetwc.c: Likewise.
32166 * libio/iovdprintf.c: Likewise.
32167 * libio/iovsprintf.c: Likewise.
32168 * libio/iovsscanf.c: Likewise.
32169 * libio/memstream.c: Likewise.
32170 * libio/obprintf.c: Likewise.
32171 * libio/oldfileops.c: Likewise.
32172 * libio/oldiofclose.c: Likewise.
32173 * libio/oldiofdopen.c: Likewise.
32174 * libio/oldiofopen.c: Likewise.
32175 * libio/oldiopopen.c: Likewise.
32176 * libio/oldstdfiles.c: Likewise.
32177 * libio/putc.c: Likewise.
32178 * libio/setbuf.c: Likewise.
32179 * libio/setlinebuf.c: Likewise.
32180 * libio/stdfiles.c: Likewise.
32181 * libio/strops.c: Likewise.
32182 * libio/vasprintf.c: Likewise.
32183 * libio/vscanf.c: Likewise.
32184 * libio/vsnprintf.c: Likewise.
32185 * libio/vswprintf.c: Likewise.
32186 * libio/wfiledoalloc.c: Likewise.
32187 * libio/wfileops.c: Likewise.
32188 * libio/wgenops.c: Likewise.
32189 * libio/wmemstream.c: Likewise.
32190 * libio/wstrops.c: Likewise.
32191 * libio/__fpurge.c: Likewise.
32192 * libio/__fsetlocking.c: Likewise.
32193 * assert/assert.c: Likewise.
32194 * debug/fgets_chk.c: Likewise.
32195 * debug/fgets_u_chk.c: Likewise.
32196 * debug/fread_chk.c: Likewise.
32197 * debug/fread_u_chk.c: Likewise.
32198 * debug/gets_chk.c: Likewise.
32199 * debug/obprintf_chk.c: Likewise.
32200 * debug/vasprintf_chk.c: Likewise.
32201 * debug/vdprintf_chk.c: Likewise.
32202 * debug/vsnprintf_chk.c: Likewise.
32203 * debug/vsprintf_chk.c: Likewise.
32204 * malloc/mtrace.c: Likewise.
32205 * misc/error.c: Likewise.
32206 * misc/syslog.c: Likewise.
32207 * stdio-common/asprintf.c: Likewise.
32208 * stdio-common/fxprintf.c: Likewise.
32209 * stdio-common/getw.c: Likewise.
32210 * stdio-common/isoc99_fscanf.c: Likewise.
32211 * stdio-common/isoc99_scanf.c: Likewise.
32212 * stdio-common/isoc99_vfscanf.c: Likewise.
32213 * stdio-common/isoc99_vscanf.c: Likewise.
32214 * stdio-common/isoc99_vsscanf.c: Likewise.
32215 * stdio-common/printf-prs.c: Likewise.
32216 * stdio-common/printf_fp.c: Likewise.
32217 * stdio-common/printf_fphex.c: Likewise.
32218 * stdio-common/printf_size.c: Likewise.
32219 * stdio-common/putw.c: Likewise.
32220 * stdio-common/scanf.c: Likewise.
32221 * stdio-common/sprintf.c: Likewise.
32222 * stdio-common/tmpfile.c: Likewise.
32223 * stdio-common/vfprintf.c: Likewise.
32224 * stdio-common/vfscanf.c: Likewise.
32225 * stdlib/strfmon_l.c: Likewise.
32226 * sunrpc/openchild.c: Likewise.
32227 * sunrpc/xdr_stdio.c: Likewise.
32228 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
32229 * sysdeps/mach/hurd/tmpfile.c: Likewise.
32230
d6c33fda
RM
322312012-05-24 Roland McGrath <roland@hack.frob.com>
32232
c1487492
RM
32233 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32234
32235 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
32236 in the third column, to generate for the shared library an IFUNC
32237 that uses _dl_vdso_vsym.
32238 * Makerules (COMPILE.c, compile-stdin.c): New variables.
32239 * Makeconfig (object-suffixes-noshared): New variable.
32240
32241 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
32242 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
32243 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
32244 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
32245
d6c33fda
RM
32246 [BZ #14132]
32247 * include/sys/time.h (__gettimeofday): Remove macro.
32248 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
32249 * time/gettimeofday.c (__gettimeofday): Remove #undef.
32250 Remove INTDEF.
32251 (__gettimeofday): Add libc_hidden_def.
32252 (gettimeofday): Add libc_hidden_weak.
32253 * sysdeps/mach/gettimeofday.c: Likewise.
32254 * sysdeps/posix/gettimeofday.c: Likewise.
32255 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
32256 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
32257 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
32258 (__gettimeofday_internal): Remove strong_alias.
32259 (__gettimeofday): Add libc_hidden_def.
32260 (gettimeofday): Add libc_hidden_weak.
32261 * sysdeps/unix/syscalls.list (gettimeofday):
32262 Remove __gettimeofday_internal alias.
32263
b5a2bbe6
L
322642012-05-24 Daniel Jacobowitz <drow@false.org>
32265 H.J. Lu <hongjiu.lu@intel.com>
32266
32267 [BZ #12495]
32268 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
32269 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
32270 (largebin_index_32_big): New.
32271 (largebin_index): Use it for 16-byte alignment.
32272 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
32273 correction with front_misalign.
32274
cfba4fda
L
322752012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32276
7f907421
L
32277 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
32278 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
32279 Likewise.
32280 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
32281 Likewise.
32282 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32283 Likewise.
32284 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
32285 Likewise.
32286 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
32287 Likewise.
32288 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
32289 Likewise.
32290 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
32291 Likewise.
32292 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32293 Likewise.
32294 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
32295 Likewise.
32296 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
32297 Likewise.
32298 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
32299 Likewise.
32300 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
32301 Likewise.
32302
cfba4fda
L
32303 * scripts/data/c++-types-x32-linux-gnu.data: New file.
32304 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
32305
80bad0cc
JM
323062012-05-24 Joseph Myers <joseph@codesourcery.com>
32307
7a25eb06
JM
32308 [BZ #10846]
32309 [BZ #14036]
32310 * math/libm-test.inc (exp_test): Add test from bug 14036.
32311 (pow_test): Add test from bug 10846.
32312
795405f9
JM
32313 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
32314 and other flags.
32315 (special_function): Do not include flags in test name.
32316 (parse_args): Likewise.
32317 * sysdeps/i386/fpu/libm-test-ulps: Update.
32318 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32319 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32320 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32322
80bad0cc
JM
32323 * math/gen-libm-test.pl (%beautify): Add entries for underflow
32324 exceptions.
32325 * math/libm-test.inc ("Philosophy"): Update comment about
32326 exception testing.
32327 (UNDERFLOW_EXCEPTION): New macro.
32328 (UNDERFLOW_EXCEPTION_OK): Likewise.
32329 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
32330 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
32331 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
32332 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
32333 (INVALID_EXCEPTION_OK): Update value.
32334 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32335 (OVERFLOW_EXCEPTION_OK): Likewise.
32336 (IGNORE_ZERO_INF_SIGN): Likewise.
32337 (test_exceptions): Handle underflow exceptions.
32338 (acos_test): Update for underflow exception expectations.
32339 (cexp_test): Likewise.
32340 (clog_test): Likewise.
32341 (clog10_test): Likewise.
32342 (csqrt_test): Likewise.
32343 (ctan_test): Likewise.
32344 (ctanh_test): Likewise.
32345 (exp_test): Likewise.
32346 (exp10_test): Likewise.
32347 (exp2_test): Likewise.
32348 (expm1_test): Likewise.
32349 (fma_test): Likewise.
32350 (j0_test): Likewise.
32351 (jn_test): Likewise.
32352 (nexttoward_test): Likewise.
32353 (pow_test): Likewise.
32354 (scalbn_test): Likewise.
32355 (scalbln_test): Likewise.
32356 (tan_test): Likewise.
32357 (y1_test): Likewise.
32358 * sysdeps/i386/fpu/libm-test-ulps: Update.
32359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32360
9e0e3d0b
DM
323612012-05-23 David S. Miller <davem@davemloft.net>
32362
32363 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32364 (__libc_sigaction): Remove unused local variables.
32365
ccd0a08f
L
323662012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32367
32368 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
32369
62bdf9a6
PE
323702012-05-23 Paul Eggert <eggert@cs.ucla.edu>
32371
f8591f80
PE
32372 mktime: avoid signed integer overflow
32373 * time/mktime.c (__mktime_internal): Do not mishandle the case
32374 where diff == INT_MIN.
32375
94c7d826
PE
32376 mktime: simplify computation of average
32377 * time/mktime.c (ranged_convert): Use new time_t_avg function
32378 instead of rolling our own (probably-slower) code.
32379
ce73d683
PE
32380 mktime: do not assume signed right shift propagates sign bit
32381 * time/mktime.c (isdst_differ): New static function.
32382 (__mktime_internal): No need to normalize tm_isdst now.
32383 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
32384 tm_isdst values.
32385
72a22e59
PE
32386 mktime: merge another wrapv change from gnulib
32387 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
32388 from some compilers.
32389
68605433
PE
32390 mktime: remove incorrect attempt at unusual arithmetics
32391 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
32392 The code didn't really work on such machines anyway.
32393 (TYPE_MINIMUM): Assume two's complement.
32394 (twos_complement_arithmetic): Verify that long_int and time_t
32395 are two's complement (or unsigned, in the latter case).
32396
03cf7fe3
PE
32397 mktime: check signed shifts on long_int and time_t, too
32398 * time/mktime.c (SHR): Check that shifts work as desired
32399 on the types long_int and time_t too, as SHR is used on
32400 such types.
32401
f04dfbc2
PE
32402 mktime: do not assume 'long' is wide enough
32403 * time/mktime.c (verify): Move decl up.
32404 (long_int): New type.
32405 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
32406 to remove assumption in the code that 'long' is wide enough to
32407 store year values. This assumption is not true on x32 and on
32408 some non-glibc platforms.
32409
62bdf9a6
PE
32410 mktime: merge wrapv change from gnulib
32411 * time/mktime.c (WRAPV): New macro.
32412 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
32413 (guess_time_tm, __mktime_internal): Do not assume that signed
32414 integer overflow wraps around; modern compilers generate code
32415 where this assumption is no longer valid.
32416
5e292e4f
L
324172012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32418
32419 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32420 Replace "jmp L(pseudo_end)" with "ret".
32421 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
32422 Likewise.
32423
8caf8c87
AJ
324242012-05-23 Andreas Jaeger <aj@suse.de>
32425
32426 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
32427 * sysdeps/unix/sysv/linux/poll.c: Remove file.
32428
1a09dc56
AJ
324292012-05-23 Andreas Jaeger <aj@suse.de>
32430 Maximilian Attems <max@stro.at>
32431
32432 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
32433 New macros.
32434
1c87aba0
L
324352012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32436
32437 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
32438 code so that pseudo_end is just ret and the stack pointer is
32439 correct also for static library in error case.
32440
40e45bd5
JM
324412012-05-23 Joseph Myers <joseph@codesourcery.com>
32442
c2670533
JM
32443 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
32444 move to syscalls.list.
32445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32449
40e45bd5
JM
32450 * manual/install.texi (Running make install): Do not mention Linux
32451 kernel version for which pt_chown is not needed.
32452 (Linux): Do not mention problems with nscd with 2.0 kernels.
32453 * INSTALL: Regenerated.
32454
be08eda5
AJ
324552012-05-23 Andreas Jaeger <aj@suse.de>
32456
32457 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
32458 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
32459 macro.
32460 * sysdeps/unix/sysv/linux/s390/bits/mman.h
32461 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32462 * sysdeps/unix/sysv/linux/sh/bits/mman.h
32463 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32464 * sysdeps/unix/sysv/linux/i386/bits/mman.h
32465 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32466 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
32467 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32468 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
32469 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32470 * sysdeps/unix/sysv/linux/bits/in.h
32471 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
32472
a6a056bb
RM
324732012-05-22 Roland McGrath <roland@hack.frob.com>
32474
32475 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
32476 (PREPARE_VERSION): Just use assert instead, it will be elided
32477 under [NDEBUG] anyway.
32478
c9009328
L
324792012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32480
32481 * sysdeps/unix/sysv/linux/Makefile: Include
32482 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 32483 (sysdep_routines): Remove sysctl.
c9009328
L
32484 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
32485 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
32486 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
32487 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
32488 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
32489
73338355
AJ
324902012-05-22 Andreas Jaeger <aj@suse.de>
32491
32492 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
32493 that pseudo_end is just ret and the stack pointer is correct also
32494 for static library in error case.
32495
d44638b0
PP
324962012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
32497
32498 [BZ #14122]
32499 * nss/nsswitch.c (defconfig_entries): New variable.
32500 (__nss_database_lookup): Don't leak defconfig entries.
32501 (nss_parse_service_list): Don't leak on error paths.
32502 (free_database_entries): New function.
32503 (free_defconfig): New function.
32504 (free_mem): Move common code to free_database_entries.
32505
31a39bd8
L
325062012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32507
da0331a8
L
32508 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
32509 Add arch_prctl.
32510 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
32511
31a39bd8
L
32512 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32513 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
32514 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
32515 New macro.
32516 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
32517 (INTERNAL_SYSCALL_TYPES): Likewise.
32518 (LOAD_ARGS_TYPES_[1-6]): Likewise.
32519 (LOAD_REGS_TYPES_[1-6]): Likewise.
32520 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
32521 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
32522
45470df3
AZ
325232012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32524
32525 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
32526 copysignl for GLIBC_2_0.
32527 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
32528 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
32529 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
32530 logbl for GLIBC_2_0.
32531 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
32532 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
32533
98a61bcb
L
325342012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32535
a4f6e481
L
32536 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
32537 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32538
f63d5db6
L
32539 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32540 Use "neg %eax".
32541
98a61bcb
L
32542 * time/mktime.c: Update copyright years.
32543
95770f14
PE
325442012-05-22 Paul Eggert <eggert@cs.ucla.edu>
32545
6226efbd
PE
32546 mktime: merge comment-quoting-style change from gnulib
32547 * time/mktime.c: Quote 'like this' in comments.
32548 The GNU coding standards suggest that we no longer quote `like this',
32549 as "`" and "'" are typically rendered asymmetrically nowadays.
32550 The typical gnulib style is to quote 'like this' when quoting
32551 code, and "like this" when quoting English.
32552
b99e4f78
PE
32553 * time/mktime.c (compile-command): Add "-I.".
32554
643e01e6
PE
32555 mktime: merge mktime-internal.h change from gnulib
32556 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
32557
2554247d
PE
32558 mktime: merge time_r change from gnulib
32559 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
32560
826dd0ab
PE
32561 mktime: merge DEBUG change from gnulib
32562 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
32563 case system <time.h> has a #define.
32564
bd83aabe
PE
32565 mktime: merge <sys/types.h> change from gnulib
32566 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
32567 since <time.t> is now guaranteed to define time_t.
32568
95770f14
PE
32569 mktime: merge HAVE_CONFIG_H change from gnulib
32570 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
32571
5e1a27a9
L
325722012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32573
0e44a77e
L
32574 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32575 Use "neg %eax".
32576
5e1a27a9
L
32577 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
32578 __rlim_t cast.
32579 (struct rusage): Use anonymous union to pad each field to
32580 __syscall_slong_t.
32581
46259bec
DM
325822012-05-21 David S. Miller <davem@davemloft.net>
32583
32584 * Makefules (o-iterator): Remove .s cases.
32585 (compile-command.s): Delete.
32586 (COMPILE.s): Delete.
32587 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
32588
59f0c22e
JM
325892012-05-21 Joseph Myers <joseph@codesourcery.com>
32590
32591 * configure.in (libc_cv_predef_stack_protector): Only consider
32592 "foobar" and "__stack_chk_fail" lines in libc_undefs.
32593 * configure: Regenerated.
32594
20c07380
L
325952012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32596
bbb3154b
L
32597 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32598 New macro. Use R*LP on int and pointer.
32599 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
32600 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
32601 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
32602 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
32603
20c07380
L
32604 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
32605 [__WORDSIZE_TIME64_COMPAT32] instead of
32606 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
32607 (struct utmp): Likewise.
32608 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
32609 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
32610 Renamed to ...
32611 (__WORDSIZE_TIME64_COMPAT32): This.
32612 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
32613 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
32614 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
32615 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
32616 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
32617 (__WORDSIZE_TIME64_COMPAT32): New macro.
32618
d8d1017e
AJ
326192012-05-21 Andreas Jaeger <aj@suse.de>
32620
32621 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
32622 only if [SHARED]. Add prototype for __wcschr_ia32.
32623
6c7fb145
RM
326242012-05-21 Roland McGrath <roland@hack.frob.com>
32625
32626 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
32627 of %rbp unmolested in the jmp_buf while mangling the low bits.
32628 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
32629 unmolested high bits of %rbp while demangling the low bits.
32630 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32631
66274218
AJ
326322012-05-21 Andreas Jaeger <aj@suse.de>
32633
07c58f8f
AJ
32634 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
32635 * sunrpc/svc_simple.c: Use it for registerrpc.
32636 * sunrpc/xcrypt.c: Use it for passwd2des.
32637
66274218
AJ
32638 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
32639
61f65140
L
326402012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32641
32642 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
32643 Don't define if [__SYSCALL_WORDSIZE != 32].
32644 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
32645 New macro.
32646
5fefb436
AJ
326472012-05-21 Bruno Haible <bruno@clisp.org>
32648 Andreas Jaeger <aj@suse.de>
32649
32650 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
32651 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
32652 inptr and inend for must_buffer_ch.
32653 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
32654 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
32655 * stdio-common/Makefile (tests): Remove bug15.
32656 (bug15-ENV): Remove macro.
32657 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
32658 anymore.
32659
d8e272ab
AJ
326602012-05-19 Andreas Jaeger <aj@suse.de>
32661 Roland McGrath <roland@hack.frob.com>
32662
32663 * manual/contrib.texi: Completely rewritten. It contains now an
32664 alphabetical list of contributors and their contributions.
32665
4a56a162
RH
326662012-05-21 Richard Henderson <rth@twiddle.net>
32667
32668 * misc/getauxval.c (__getauxval): Use unsigned long int.
32669 * misc/sys/auxv.h: Include <sys/cdefs.h>.
32670 (getauxval): Use unsigned long int.
32671
d024d23c
L
326722012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32673
32674 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32675
cbc00a03
RM
326762012-05-21 Roland McGrath <roland@hack.frob.com>
32677
32678 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
32679 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
32680 __alignof__ (long double).
32681
478143fa
AZ
326822012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32683
32684 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32685
c7683a6d
RH
326862012-05-20 Richard Henderson <rth@twiddle.net>
32687
32688 * misc/getauxval.c: New file.
32689 * misc/sys/auxv.h: New file.
32690 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
32691 (routines): Add getauxval.
32692 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
32693 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
32694 * elf/dl-sysdep.c (_dl_auxv): Remove.
32695 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
32696 * elf/dl-support.c (_dl_auxv): New variable.
32697 (_dl_aux_init): Initialize it.
32698 * manual/startup.texi (Auxiliary Vector): New node.
32699 * sysdeps/generic/bits/hwcap.h: New file.
32700 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
32701 * sysdeps/powerpc/sysdep.h: ... here. Include it.
32702 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
32703 * sysdeps/sparc/sysdep.h: ... here. Include it.
32704 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
32705 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
32706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32707 Update.
c7683a6d
RH
32708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
32709 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
32710 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
32711 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
32712 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32713 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32714 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
32715 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
32716
a6f1845d
AZ
327172012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32718
32719 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32720
cbcbe830
DM
327212012-05-19 David S. Miller <davem@davemloft.net>
32722
32723 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32724
e0b16cc2
JM
327252012-05-19 Joseph Myers <joseph@codesourcery.com>
32726
32727 [BZ #14123]
32728 * math/s_ccosh.c: Include <float.h>
32729 (__ccosh): Avoid internal overflow calculating sinh and cosh
32730 values before multiplying by sin and cos values.
32731 * math/s_ccoshf.c: Likewise.
32732 * math/s_ccoshl.c: Likewise.
32733 * math/s_csin.c: Likewise.
32734 * math/s_csinf.c: Likewise.
32735 * math/s_csinl.c: Likewise.
32736 * math/s_csinh.c: Likewise.
32737 * math/s_csinhf.c: Likewise.
32738 * math/s_csinhl.c: Likewise.
32739 * math/libm-test.inc (ccos_test): Add more tests.
32740 (ccosh_test): Likewise.
32741 (csin_test): Likewise.
32742 (csinh_test): Likewise.
32743 * sysdeps/i386/fpu/libm-test-ulps: Update.
32744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32745
6ad13e08
L
327462012-05-19 H.J. Lu <hongjiu.lu@intel.com>
32747
f66f0ce8
L
32748 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
32749 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
32750
6ad13e08
L
32751 * sysdeps/x86_64/x32/_itoa.h: Add comment.
32752
b1d072a7
JM
327532012-05-19 Joseph Myers <joseph@codesourcery.com>
32754
32755 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
32756 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
32757 * sysdeps/powerpc/soft-fp/Versions: Likewise.
32758 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
32759 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
32760 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
32761 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
32762 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
32763 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
32764 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
32765 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
32766 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
32767 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
32768 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
32769 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
32770 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
32771 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
32772 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
32773 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
32774 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
32775 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
32776 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
32777 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
32778 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
32779 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
32780 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
32781 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
32782 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
32783 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
32784 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
32785 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
32786
9eae47cb
AJ
327872012-05-18 Andreas Jaeger <aj@suse.de>
32788
32789 * csu/.gitignore: Delete.
32790
bb07f69f
L
327912012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32792
32793 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
32794 (timex): Use __syscall_slong_t.
32795
e6bdb741
AJ
327962012-05-18 Andreas Jaeger <aj@suse.de>
32797 Carlos O'Donell <carlos_odonell@mentor.com>
32798
32799 * manual/install.texi (Configuring and compiling): Update
32800 description about files modified in the source directory.
d6c33fda 32801 * INSTALL: Regenerated.
e6bdb741 32802
1b74487e
L
328032012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32804
32805 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
32806 value. Use "or" to set return value to -1.
32807 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
32808 negate return value.
32809
a88b64b9
TMQMF
328102012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32811
57f41c40
AS
32812 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
32813 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
32814 failure if the compiler has Graphite support disabled.
32815 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
32816 Likewise.
57f41c40
AS
32817 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
32818 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
32819 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
32820 Likewise.
32821
3707636e
L
328222012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32823
610b8622
L
32824 * sysdeps/x86_64/x32/_itoa.h: New file.
32825
7cd195df
L
32826 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
32827 getdents system call only if kernel and user dirents have the
32828 same d_ino and d_off.
32829
94b07d20
L
32830 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32831 LLONG_MAX != LONG_MAX.
32832 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32833 (_fitoa_word): Likewise.
32834
18298070
L
32835 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
32836 years.
32837 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
32838 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
32839 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
32840
553c7ea4
L
32841 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
32842 include <bits/wordsize.h>. Check __x86_64__ instead of
32843 __WORDSIZE.
32844 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
32845 if __x86_64__ is defined. Use anonymous union on fpstate.
32846
3707636e
L
32847 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
32848 anonymous union.
32849
b53ef01a
AS
328502012-05-18 Andreas Schwab <schwab@linux-m68k.org>
32851
37fb1dc0
AS
32852 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
32853 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
32854 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
32855 Refer to _rtld_local_ro instead of _rtld_global_ro.
32856 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
32857 Likewise.
32858 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
32859 Likewise.
32860 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
32861 Likewise.
32862 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
32863 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
32864 of _rtld_global, and rtld_progname instead of _dl_argv[0].
32865
b53ef01a
AS
32866 * sysdeps/powerpc/powerpc32/dl-machine.c
32867 (__elf_machine_runtime_setup) [PROF]: Don't reference
32868 _dl_prof_resolve.
32869
7a185db2
AJ
328702012-05-18 Andreas Jaeger <aj@suse.de>
32871
32872 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
32873 function only available for GCCs before 3.4 since GCC 3.4
32874 introduced a builtin.
32875 (lrint): Likewise.
32876 (llrintf): Likewise.
32877 (llrint): Likewise.
32878 (fmaxf): Likewise.
32879 (fmax): Likewise.
32880 (fminf): Likewise.
32881 (fmin): Likewise.
32882 (rint): Likewise.
32883 (rintf): Likewise.
32884 (nearbyint): Likewise.
32885 (nearbyintf): Likewise.
32886 (ceil): Likewise.
32887 (ceilf): Likewise.
32888 (floor): Likewise.
32889 (floorf): Likewise.
32890
3e5aef87
L
328912012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32892
428bd707
L
32893 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
32894 on both fields and cast pointer to __syscall_ulong_t.
32895
3e5aef87
L
32896 * bits/types.h (__fsword_t): New type.
32897 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
32898 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
32899 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32900 (__FSWORD_T_TYPE): Likewise.
32901 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32902 (__FSWORD_T_TYPE): Likewise.
32903 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32904 (__FSWORD_T_TYPE): Likewise.
32905 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
32906 (__FSWORD_T_TYPE): Likewise.
32907 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
32908 __SWORD_TYPE with __fsword_t.
32909 (statfs64): Likewise.
32910
1ba7c3dc
DM
329112012-05-17 David S. Miller <davem@davemloft.net>
32912
32913 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
32914
59910343
AJ
329152012-05-17 Andreas Jaeger <aj@suse.de>
32916
32917 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
32918 warning.
32919
2e4c1e9e
L
329202012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32921
32922 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
32923
de7f5ce7
AJ
329242012-05-17 Andreas Jaeger <aj@suse.de>
32925
32926 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
32927 when it is used.
32928
286abc3d
CM
329292012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32930
32931 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
32932
477cc68e
L
329332012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32934
32935 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
32936 * sysdeps/x86_64/tst-mallocalign1.c: New file.
32937
1a0994f5
CD
329382012-05-17 Andreas Jaeger <aj@suse.de>
32939 Carlos O'Donell <carlos_odonell@mentor.com>
32940
32941 [BZ #14059]
32942 * sysdeps/x86_64/multiarch/init-arch.h
32943 (bit_YMM_Usable): Rename to...
32944 (bit_AVX_Usable): ... this.
32945 (bit_FMA4_Usable): New macro.
32946 (bit_XMM_state): New macro.
32947 (bit_YMM_state): New macro.
32948 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
32949 [__ASSEMBLER__] (index_AVX_Usable): ... this.
32950 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
32951 (CPUID_OSXSAVE): New macro.
32952 (CPUID_AVX): New macro.
32953 (CPUID_FMA4): New macro.
32954 (index_YMM_Usable): Rename to...
32955 (index_AVX_Usable): ... this.
32956 (HAS_AVX): Use HAS_ARCH_FEATURE.
32957 (HAS_FMA4): Likewise.
32958 (HAS_YMM_USABLE): Remove.
32959 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32960 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
32961 are present.
32962 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
32963 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
32964 * sysdeps/x86_64/multiarch/Makefile: Likewise.
32965 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
32966 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
32967
0af797de
CM
329682012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32969
32970 * math/libm-test.c: Support platforms without multiple rounding modes.
32971 * math/bug-nextafter.c: Support platforms without FP exceptions.
32972 * math/bug-nexttoward.c: Likewise.
32973 * math/test-fenv.c: Likewise.
32974 * math/test-misc.c: Likewise.
32975 * stdlib/bug-getcontext.c: Likewise.
32976
e39745ff
AJ
329772012-05-17 Andreas Jaeger <aj@suse.de>
32978
32979 * manual/examples/search.c (critter_cmp): Change signature to
32980 avoid warnings.
32981 * manual/string.texi (Collation Functions): Likewise.
32982
48970aba
L
329832012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32984
32985 * bits/types.h: Fold copyright years.
32986 * bits/typesizes.h: Likewise.
32987 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
32988 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
32989 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
32990 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
32991 * time/time.h: Likewise.
32992
bedee953
PP
329932012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
32994
32995 [BZ #208]
32996 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
32997 in instead of returning them. Return void.
32998 (__libc_mallinfo): Accumulate over all arenas.
32999 (__malloc_stats): Adjust for change in int_mallinfo interface.
33000
61653dfb
RM
330012012-05-16 Roland McGrath <roland@hack.frob.com>
33002
30b99d79
RM
33003 [BZ #10375]
33004 * configure.in (NM): Add AC_CHECK_TOOL for it.
33005 (libc_extra_cflags): New substituted variable.
33006 Check for -fstack-protector being used implicitly.
33007 * configure: Regenerated.
33008 * config.make.in (config-extra-cflags): New variable,
33009 gets @libc_extra_cflags@.
33010 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
33011
61653dfb
RM
33012 [BZ #10375]
33013 * configure.in: Check for _FORTIFY_SOURCE being predefined.
33014 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
33015 * configure: Regenerated.
33016 * config.make.in (CPPUNDEFS): New substituted variable.
33017 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
33018 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
33019 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
33020
661768bb
L
330212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33022
33023 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
33024 (mq_attr): Use __syscall_slong_t.
33025
d4261567
L
330262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33027
33028 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
33029 Check __x86_64__ instead of __WORDSIZE.
33030 (_STAT_VER_LINUX): Likewise.
33031 (stat): Check __x86_64__ instead of __WORDSIZE. Use
33032 __syscall_ulong_t and __syscall_slong_t.
33033 (stat64): Likewise.
33034
cf3ff365
L
330352012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33036
33037 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
33038
76cf3e4d
L
330392012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33040
33041 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
33042
a637753a
L
330432012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33044
33045 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
33046 __syscall_ulong_t.
33047
d5e05119
L
33048 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
33049 include <bits/wordsize.h>. Check __x86_64__ instead of
33050 __WORDSIZE.
33051 (greg_t): Use "__extension__ long long int" if __x86_64__ is
33052 defined.
33053 (mcontext_t): Replace "unsigned long" with "unsigned long long".
33054
f62ee380
L
33055 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
33056 include <bits/wordsize.h>. Check __x86_64__ instead of
33057 __WORDSIZE.
33058 (user_regs_struct): Use "__extension__ unsigned long long"
33059 instead of "unsigned long" if __x86_64__ is defined.
33060 (user): Likewise. Pad after pointer field if __ILP32__ is
33061 defined.
33062
4e124ced
JM
330632012-05-16 Joseph Myers <joseph@codesourcery.com>
33064
6a3951a0
JM
33065 * configure.in (makeinfo): Require version 4.5 or later. Allow
33066 versions 5 to 9.
33067 * configure: Regenerated.
33068 * manual/install.texi (texinfo): Increase version requirement to
33069 4.5 or later.
33070 * INSTALL: Regenerated.
33071
4e124ced
JM
33072 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
33073
953ca31a
L
330742012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33075
33076 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
33077
617aca05
L
33078 * sysdeps/x86_64/x32/ffs.c: New file.
33079
5762f7ae
L
33080 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
33081 __syscall_ulong_t.
33082 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
33083 defined. Use __syscall_ulong_t.
33084 (shminfo): Use __syscall_ulong_t.
33085 (shm_info): Likewise.
33086
a26b6856
L
33087 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
33088 __syscall_ulong_t.
33089
cb2b9ef7
L
33090 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
33091 <bits/wordsize.h>.
33092 (msgqnum_t): Use __syscall_ulong_t.
33093 (msglen_t): Likewise.
33094 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
33095 __syscall_ulong_t.
33096
34683bb0
L
33097 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
33098 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33099
84a68786
L
33100 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
33101
48baa5f1
L
33102 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
33103 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
33104
180be88b
L
33105 * sysvipc/sys/msg.h (msgbuf): Replace long int with
33106 __syscall_slong_t.
33107
5e90c8ad
L
33108 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
33109 include <bits/wordsize.h>. Check __x86_64__ instead of
33110 __WORDSIZE.
33111
23dfb58b
L
33112 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
33113 "unsigned long long int" if __x86_64__ is defined.
33114 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
33115
ce5d54b0
L
33116 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
33117 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33118 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
33119
13dc9eac
L
33120 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
33121 <stdint.h>.
33122 (GET_PC): Cast to uintptr_t first.
33123 (GET_FRAME): Likewise.
33124 (GET_STACK): Likewise.
33125
a7895d15
L
33126 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
33127 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
33128 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
33129 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
33130 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
33131 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
33132 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
33133 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
33134 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
33135 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
33136 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
33137 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
33138 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33139 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
33140 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
33141 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
33142 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
33143 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
33144 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
33145 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
33146 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
33147 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
33148 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
33149 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
33150 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
33151 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
33152 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
33153 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
33154 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
33155
656416c9
AS
331562012-05-16 Andreas Schwab <schwab@linux-m68k.org>
33157
5bd66283
AS
33158 * Makerules (+depfiles): Also collect depfiles from .oS in
33159 $(extra-objs).
33160 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
33161 .oS, $(libnldbl-routines)).
33162
656416c9
AS
33163 * Makerules (native-compile-mkdep-flags): Define.
33164 * sunrpc/Makefile (extra-objs): Add $(addprefix
33165 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
33166 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
33167 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
33168 calling $(make-target-directory).
33169
a46f2169
L
331702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33171
33172 * bits/types.h (__snseconds_t): Removed.
33173 * time/time.h (struct timespec): Replace __snseconds_t with
33174 __syscall_slong_t.
33175 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
33176 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
33177 Likewise.
33178 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33179 (__SNSECONDS_T_TYPE): Likewise.
33180 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33181 (__SNSECONDS_T_TYPE): Likewise.
33182 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33183 (__SNSECONDS_T_TYPE): Likewise.
33184
6af6528b
L
331852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33186
33187 * sysdeps/mach/hurd/bits/typesizes.h
33188 (__SYSCALL_SLONG_TYPE): New macro.
33189 (__SYSCALL_ULONG_TYPE): Likewise.
33190
de986b56
L
331912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33192
33193 * bits/types.h (__syscall_slong_t): New type.
33194 (__syscall_ulong_t): Likewise.
33195
33196 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
33197 (__SYSCALL_ULONG_TYPE): Likewise.
33198 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33199 (__SYSCALL_SLONG_TYPE): Likewise.
33200 (__SYSCALL_ULONG_TYPE): Likewise.
33201 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33202 (__SYSCALL_SLONG_TYPE): Likewise.
33203 (__SYSCALL_ULONG_TYPE): Likewise.
33204 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33205 (__SYSCALL_SLONG_TYPE): Likewise.
33206 (__SYSCALL_ULONG_TYPE): Likewise.
33207
85736dc7
L
332082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33209
33210 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
33211 Add sigaltstack-offsets.sym.
33212 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
33213 <sigaltstack-offsets.h>.
33214 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
33215 longjmp_msg pointer.
33216 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
33217 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
33218 signal stack.
33219 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
33220
cc03b296
JM
332212012-05-15 Joseph Myers <joseph@codesourcery.com>
33222
a9538892
JM
33223 * elf/stackguard-macros.h: Remove file.
33224 * sysdeps/generic/stackguard-macros.h: New file.
33225 * sysdeps/i386/stackguard-macros.h: Likewise.
33226 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
33227 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
33228 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
33229 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
33230 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
33231 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
33232 * sysdeps/x86_64/stackguard-macros.h: Likewise.
33233 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
33234 <elf/stackguard-macros.h>.
33235
cc03b296
JM
33236 [BZ #14109]
33237 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
33238 __aligned__ in attribute.
33239 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
33240 (gregset_t): Likewise.
33241
93171016
L
332422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33243
33244 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
33245 * sysdeps/x86_64/64/Implies-after: Here. New file.
33246 * sysdeps/x86_64/x32/Implies-after: New file.
33247
d86813a0
L
332482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33249
33250 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
33251 and access return value for _dl_profile_fixup. Use R10_LP to
33252 load frame size.
33253
2953ec75
L
332542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33255
33256 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
33257
3b550e9e
L
332582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33259
33260 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
33261 * sysdeps/x86_64/x32/sysdep.h: New file.
33262
eda41706
L
332632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33264
33265 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
33266 * sysdeps/x86_64/setjmp.S: Likewise.
33267
9ea01d93
AZ
332682012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33269
33270 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
33271 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
33272 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
33273 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
33274 remove unused global constant.
33275
02a91938
CM
332762012-05-15 Chris Metcalf <cmetcalf@tilera.com>
33277
33278 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
33279 include of <not-cancel.h>.
33280
6540185f
RM
332812012-05-15 Roland McGrath <roland@hack.frob.com>
33282
33283 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
33284
509072a0
AJ
332852012-05-15 Jeff Law <law@redhat.com>
33286 Andreas Jaeger <aj@suse.de>
33287
33288 [BZ #13594]
33289 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
33290 out from...
33291 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
33292 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
33293 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
33294 code changing __hst_map_handle.map.
33295
ba75122d
RM
332962012-05-15 Roland McGrath <roland@hack.frob.com>
33297
33298 * configure.in (sysnames): Look for Implies-before and Implies-after
33299 files.
33300 * configure: Regenerated.
33301
890d8bd8
L
333022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33303
33304 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
33305 8-byte data alignment with LP_SIZE alignment.
33306
f6ee6623
L
333072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33308
33309 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
33310 into R10_LP.
33311
ea2626f6
L
333122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33313
33314 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
33315
085f715e
L
333162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33317
33318 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
33319 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
33320 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
33321 Likewise.
33322 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33323
be8498fc
L
333242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33325
33326 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
33327 (stackinfo_sub_sp): Likewise.
33328
70bc83b9
L
333292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33330
33331 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
33332 RAX_LP.
33333
9bc0b730
L
333342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33335
33336 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
33337 into R*_LP.
33338
6d2850e7
L
333392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33340
33341 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
33342 sizes into R*_LP.
33343
3cb84561
L
333442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33345
33346 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
33347
54e2ed81
L
333482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33349
33350 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
33351 into R11_LP and load __x86_64_shared_cache_size_half into
33352 R8_LP.
33353
8a17f349
L
333542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33355
33356 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
33357 R8_LP.
33358
777b1eea
AZ
333592012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33360
33361 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
33362 logb for POWER7.
33363 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
33364 logbf for POWER7.
33365 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
33366 logbl for POWER7.
33367 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
33368 powerpc32/power7/fpu/s_logb.c via #include.
33369 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
33370 powerpc32/power7/fpu/s_logbf.c via #include.
33371 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
33372 powerpc32/power7/fpu/s_logbl.c via #include.
33373
d20d4ac2
JM
333742012-05-15 Joseph Myers <joseph@codesourcery.com>
33375
33376 * README.libm: Remove file.
33377
6cdef1ab
L
333782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33379
33380 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
33381 count for x32. Use R*_LP and omit operand-size suffix.
33382
0b254d8f
L
333832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33384
33385 * shlib-versions: Move x86_64-.*-linux.* entries to ...
33386 * sysdeps/x86_64/64/shlib-versions: Here. New file.
33387 * sysdeps/x86_64/x32/shlib-versions: New file.
33388
ceb809dc
RM
333892012-05-14 Roland McGrath <roland@hack.frob.com>
33390
33391 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
33392 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
33393 Use _dl_fatal_printf instead.
33394
37f1abd4
JM
333952012-05-14 Joseph Myers <joseph@codesourcery.com>
33396
33397 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
33398 set if not set by the user. Do not allow for being unset.
33399 * sysdeps/unix/sysv/linux/configure: Regenerated.
33400
11de3a33
L
334012012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33402
33403 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
33404 the `q' suffix from lea and replace .quad with ASM_ADDR.
33405
e02f153a
L
334062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33407
33408 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
33409 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
33410 instead of $17.
33411 (PTR_DEMANGLE): Likewise.
33412
520ae0fd
L
334132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33414
33415 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
33416 (LP_OP): Likewise.
33417 (ASM_ADDR): Likewise.
33418 (RAX_LP): Likewise.
33419 (RBP_LP): Likewise.
33420 (RBX_LP): Likewise.
33421 (RCX_LP): Likewise.
33422 (RDI_LP): Likewise.
33423 (RSI_LP): Likewise.
33424 (RSP_LP): Likewise.
33425 (R8_LP): Likewise.
33426 (R9_LP): Likewise.
33427 (R10_LP): Likewise.
33428 (R10_LP): Likewise.
33429 (R11_LP): Likewise.
33430 (R12_LP): Likewise.
33431 (R13_LP): Likewise.
33432 (R14_LP): Likewise.
33433 (R15_LP): Likewise.
33434
b985be81
L
334352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33436
33437 * sysdeps/x86_64/x32/dl-machine.h: New file.
33438
6a4888ff
AJ
334392012-05-14 Andreas Jaeger <aj@suse.de>
33440
33441 * manual/Makefile (subdir): Remove export of subdir.
33442 (all): Remove target.
33443 (.PHONY): Remove all from list.
33444 (mkinstalldirs): Remove.
33445 (.PHONY): Remove installdirs from list.
33446 ($(inst_infodir)/libc.info): Use make-target-directory.
33447 (installdirs): Remove.
33448 (subdir_%): Remove.
33449 (glibc-targets): Remove.
33450 (lib): Remove.
33451 (stubs): Remove.
33452 ($(objpfx)stubs ../po/manual.pot): Remove.
33453 ($(objpfx)stamp%): Remove.
33454 (make-target-directory): Remove.
33455 (subdir_install): Remove.
33456 (routines): Remove.
33457 (aux): Remove.
33458 (sources): Remove.
33459 (objects): Remove.
33460 (headers): Remove.
33461
33462 [BZ #13750]
33463 * manual/.gitignore: Remove, it's not needed anymore.
33464 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
33465 all files in it.
33466 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
33467 directory.
33468 (texis): Renamed to $(objpfx)texis.
33469 (texis-path): New, contains path to generated files.
33470 (chapters.%): Use texis-path for complete path, add extra argument
33471 libc-texinfo.sh.
33472 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
33473 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
33474 (summary,texi, stamp-summary): Use complete path of
33475 files. Generate files in build dir.
33476 (dir-add.texi): Build in build dir.
33477 (libm-err.texi,stamp-libm-err): Likewise.
33478 (version.texi, stamp-version): Likewise.
33479 (.%c.texi): Likewise.
33480 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
33481 (mostlyclean): Remove target.
33482 (realclean): Remove target.
33483 (generated): Add new variable with contents from mostlyclean and
33484 realclean, remove entries duplicated in common-mostlyclean, add
33485 stamp-libm-err and stamp-version.
33486 (generated-dirs): Add libc directory.
33487 ($(inst_infodir)/libc.info): Install files from build dir.
33488
33489 * manual/install.texi (Configuring and compiling): Adjust since
33490 the info files are not part of the tar ball anymore.
33491
7ac77294
AJ
334922012-05-14 Andreas Jaeger <aj@suse.de>
33493
33494 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
33495 variable.
33496
ffb7875d
JM
334972012-05-14 Joseph Myers <joseph@codesourcery.com>
33498
33499 [BZ #13717]
33500 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33501 to 2.2.0 where earlier.
33502 * sysdeps/unix/sysv/linux/configure: Regenerated.
33503 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
33504 Remove conditional code.
33505 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
33506 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
33507 Remove conditional code.
33508 [!__NR_lchown]: Likewise.
33509 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33510 [__NR_lchown]: Likewise.
33511 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
33512 comment referencing __ASSUME_LCHOWN_SYSCALL.
33513 * sysdeps/unix/sysv/linux/i386/sigaction.c
33514 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33515 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33516 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
33517 Remove conditional code.
33518 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
33519 (__protocol_available): Remove #if 0 code.
33520 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
33521 conditional code.
33522 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
33523 * sysdeps/unix/sysv/linux/kernel-features.h
33524 (__ASSUME_GETCWD_SYSCALL): Don't define.
33525 (__ASSUME_REALTIME_SIGNALS): Likewise.
33526 (__ASSUME_PREAD_SYSCALL): Likewise.
33527 (__ASSUME_PWRITE_SYSCALL): Likewise.
33528 (__ASSUME_POLL_SYSCALL): Likewise.
33529 (__ASSUME_LCHOWN_SYSCALL): Likewise.
33530 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
33531 non-SPARC.
33532 (__ASSUME_SIOCGIFNAME): Don't define.
33533 (__ASSUME_MSG_NOSIGNAL): Likewise.
33534 (__ASSUME_SENDFILE): Define unconditionally.
33535 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
33536 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
33537 conditional code.
33538 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
33539 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
33540 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33541 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33542 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
33543 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33544 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
33546 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33547 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
33549 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33550 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
33552 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33553 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
33555 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33556 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
33558 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33559 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
33561 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33562 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
33564 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33565 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
33567 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33568 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33569 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
33570 Remove conditional code.
33571 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33572 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33573 Remove conditional code.
33574 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33575 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
33576 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
33577 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33578 Remove conditional code.
33579 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33580 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
33581 Remove conditional code.
33582 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33583 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
33584 Remove conditional code.
33585 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33586 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33587 Remove conditional code.
33588 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33589 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33590 Remove conditional code.
33591 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33592 * sysdeps/unix/sysv/linux/sh/pwrite64.c
33593 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33594 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33595 * sysdeps/unix/sysv/linux/sigaction.c
33596 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33597 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33598 * sysdeps/unix/sysv/linux/sigpending.c
33599 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33600 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33601 * sysdeps/unix/sysv/linux/sigprocmask.c
33602 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33603 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33604 * sysdeps/unix/sysv/linux/sigsuspend.c
33605 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33606 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33607 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33608 (__libc_missing_rt_sigs): Remove.
33609 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
33610 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
33611 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
33612 Remove conditional code.
33613 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
33614 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
33615 return 1.
33616 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
33617 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
33618 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
33619 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
33620
1bfb7291
AJ
336212012-05-14 Andreas Jaeger <aj@suse.de>
33622
caae5a81
AJ
33623 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
33624 it's not used in glibc.
33625 (__coshm1): Likewise.
33626 (__acosh1p): Likewise.
33627 (__sgn): Likewise.
33628
1bfb7291
AJ
33629 * manual/string.texi (Copying and Concatenation): Add missing
33630 variable in concat example.
33631 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
33632
c044d724
L
336332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33634
144c5467 33635 [BZ #14103]
c044d724
L
33636 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
33637 __builtin_clzl with __builtin_clzll.
33638
2523c62b
L
336392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33640
33641 [BZ #14104]
33642 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
33643 libc_freeres_ptr.
33644
d7bb4c42
LD
336452012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33646
33647 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
33648 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
33649 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
33650 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
33651
9dc4e1fb
MF
336522012-05-14 Mike Frysinger <vapier@gentoo.org>
33653
33654 * NEWS: Update ia64 info.
33655
c7df0112
AS
336562012-05-12 Andreas Schwab <schwab@linux-m68k.org>
33657
33658 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
33659 used as bcopy.
33660
dc70356c
TS
336612012-05-12 Thomas Schwinge <thomas@codesourcery.com>
33662
33663 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
33664 * sysdeps/unix/syscalls.list (dup3): Likewise.
33665 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
33666 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
33667
9fb1a21f
L
336682012-05-11 H.J. Lu <hongjiu.lu@intel.com>
33669
33670 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
33671 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
33672
4822a2a5
L
336732012-05-11 H.J. Lu <hongjiu.lu@intel.com>
33674
33675 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
33676 thread pointer.
33677 (TLS_IE): Use mov/add instead of movq/addq to load thread
33678 pointer.
33679 (TLS_GD_PREFIX): New.
33680 (TLS_GD): Use it.
33681
842b81d6
DM
336822012-05-11 David S. Miller <davem@davemloft.net>
33683
33684 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
33685 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
33686 (_FPU_SETCW): Likewise.
33687
1cf463cd
L
336882012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33689
33690 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
33691 is 32-byte aligned.
33692
60cc4a18
AS
336932012-05-11 Andreas Schwab <schwab@linux-m68k.org>
33694
33695 [BZ #11837]
33696 * iconvdata/gb18030.c: Update tables.
33697 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
33698 characters specially.
33699 (BODY for TO_LOOP): Add encoding of missing ranges.
33700
febb44a4
TS
337012012-05-11 Thomas Schwinge <thomas@codesourcery.com>
33702
33703 [BZ #13673]
33704 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
33705 * sysdeps/mach/hurd/dup3.c: Likewise.
33706 * sysdeps/mach/hurd/readlinkat.c: Likewise.
33707 * sysdeps/powerpc/memmove.c:: Likewise.
33708
0a10fb9e
L
337092012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33710
33711 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
33712 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
33713
df8a552f
L
337142012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33715
33716 * elf/elf.h (R_X86_64_RELATIVE64): New.
33717 (R_X86_64_NUM): Updated.
33718 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33719 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
33720 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
33721 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
33722 tst-quad1pie tst-quad2pie
33723 (modules-names): Add tst-quadmod1 tst-quadmod2.
33724 ($(objpfx)tst-quad1): New dependency.
33725 ($(objpfx)tst-quad2): Likewise.
33726 ($(objpfx)tst-quad1pie): Likewise.
33727 ($(objpfx)tst-quad2pie): Likewise.
33728 * sysdeps/x86_64/tst-quad1.c: New file.
33729 * sysdeps/x86_64/tst-quad1pie.c: New file.
33730 * sysdeps/x86_64/tst-quad2.c: Likewise.
33731 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
33732 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
33733 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
33734 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
33735 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
33736
f34d6f84
ST
337372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33738
f42d41d1
ST
33739 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
33740 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
33741 * streams/stropts.h (t_scalar_t): Define type.
33742
3c3571fc
ST
33743 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
33744 (_PATH_PRESERVE): Set to "/var/lib".
33745 (_PATH_RWHODIR): Set to "/var/spool/rwho".
33746
61f06bd3
ST
33747 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
33748 instead of int.
33749
918d4d71
ST
33750 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
33751 if __dir_mkfile succeeded.
33752
f34d6f84
ST
33753 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
33754 checking for _hurd_dtablesize. Unlock it right after having
33755 finished _hurd_dtable allocation.
33756
10589b4a
TS
337572012-05-10 Thomas Schwinge <thomas@schwinge.name>
33758
674cdbc7
TS
33759 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
33760 * sysdeps/mach/hurd/configure: Regenerated.
33761 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
33762 special-casing to...
33763 * sysdeps/gnu/configure.in: ... this new file.
33764 * sysdeps/unix/sysv/linux/configure: Regenerated.
33765 * sysdeps/gnu/configure: New generated file.
33766
8e41b99f
TS
33767 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
33768 for Linux: use nsec instead of usec, as well as:
33769 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
33770 members of type struct timespec.
33771 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
33772 New macros.
33773 (struct stat64): Likewise.
33774 (_STATBUF_ST_NSEC): New macro.
33775 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
33776
10589b4a
TS
33777 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33778 __strtoul_internal rather than strtoul.
33779
63643c85
PT
337802012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33781
33782 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
33783 and reject them.
33784
3faebe6a
ST
337852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33786
33787 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
33788 which preserves existing values.
33789 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
33790
c6474b07
PT
337912012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33792
33793 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
33794 TIMEOUT values. Return EINVAL for NFDS values either negative or
33795 greater than FD_SETSIZE.
33796
1043890b
ST
337972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33798
33799 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
33800 allocated, call __vm_protect to finish enabling the existing space, and
33801 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
33802 allocate the remainder.
33803
37ed8b9b
PT
338042012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33805
33806 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
33807 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
33808
db653660
ST
338092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33810
37ed8b9b
PT
33811 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
33812 sysdeps/mach/hurd/readlink.c.
b29d4053 33813
db653660
ST
33814 * posix/tst-sysconf.c (posix_options): Only use
33815 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
33816 _POSIX_SYNCHRONIZED_IO when they are defined
33817 * sysdeps/mach/hurd/bits/posix_opt.h:
33818 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
33819 (_XOPEN_REALTIME): Undefine macro.
33820 (_XOPEN_REALTIME_THREADS): Undefine macro.
33821 (_XOPEN_SHM): Undefine macro.
33822 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
33823 macro to -1.
33824 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
33825 macro to -1.
33826 (_POSIX_ASYNC_IO): Undefine macro.
33827 (_POSIX_PRIORITIZED_IO): Undefine macro.
33828 (_POSIX_SPIN_LOCKS): Define macro to -1.
33829
ee16e894
ST
33830 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
33831 SA_NODEFER, SA_RESETHAND.
33832 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
33833 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
33834 F_DUPFD_CLOEXEC.
33835
6103ae3b
TS
338362012-05-10 Thomas Schwinge <thomas@schwinge.name>
33837
33838 * elf/Makefile (pldd-modules): Define unconditionally.
33839
80b4e5f3
TS
338402012-05-10 Thomas Schwinge <thomas@schwinge.name>
33841
33842 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
33843
edadcbd6
ST
338442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33845
33846 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
33847 Return ENOENT when name is empty.
33848 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
33849
80694780
TS
338502012-05-10 Thomas Schwinge <thomas@schwinge.name>
33851
1792c087
TS
33852 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
33853
80694780
TS
33854 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
33855
6b645f0d
ST
338562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33857
80694780
TS
33858 Fix mlock in all cases except non-readable pages.
33859 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
33860 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 33861
6b645f0d
ST
33862 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
33863 (__mkdir): When path is `/', just fail with EEXIST.
33864 * sysdeps/mach/hurd/mkdirat.c: Likewise.
33865
e468f8a3
TS
338662012-05-10 Thomas Schwinge <thomas@schwinge.name>
33867
33868 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
33869 <sys/uio.h> (for writev).
33870 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
33871 and <sys/param.h> (for MIN).
33872
a4186cff
PT
338732012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33874
33875 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
33876 REQUESTED_TIME. Properly set the remaining time and return EINTR
33877 if interrupted.
33878
510bbf14
TS
338792012-05-10 Thomas Schwinge <thomas@schwinge.name>
33880
33881 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
33882 Depend on against $(link-rpcuserlibs).
33883
5d5722e8
ST
338842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33885
a4186cff
PT
33886 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
33887 (__libc_stack_end): Do not use attribute_relro.
33888 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
33889 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 33890 to libthread-provided value.
a4186cff
PT
33891 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
33892 attribute_relro.
5d5722e8 33893
37233df9
TS
338942012-05-10 Thomas Schwinge <thomas@schwinge.name>
33895
be971a2b
TS
33896 [BZ #3748]
33897 * bits/libc-lock.h (__libc_once_get): New macro.
33898 * sysdeps/mach/bits/libc-lock.h: Likewise.
33899 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
33900 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
33901 instead of using implementation details.
33902
37233df9
TS
33903 * libio/fileops.c: Unconditionally include <kernel-features.h>.
33904 * libio/freopen.c: Likewise.
33905 * libio/freopen64.c: Likewise.
33906 * misc/syslog.c: Likewise.
33907 * nscd/connections.c: Likewise.
33908 * nscd/netgroupcache.c: Likewise.
33909 * sysdeps/posix/getcwd.c: Likewise.
33910
38de94a5
RM
339112012-05-10 Roland McGrath <roland@hack.frob.com>
33912
33913 * math/w_ilogbf.c: Add #include <limits.h>.
33914
67530489
ST
339152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33916
a4186cff 33917 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
33918 path instead of returning without unlocking.
33919
67530489
ST
33920 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
33921 immediate-write ioctls.
33922 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
33923
5aa3a74a
TS
339242012-05-10 Thomas Schwinge <thomas@schwinge.name>
33925
18bad2ae
TS
33926 * sysdeps/mach/hurd/i386/init-first.c (init): Use
33927 __builtin_frame_address instead of making assumptions about the
33928 location of the return address relative to DATA. Force early load of
33929 the return address.
33930 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
33931 __builtin_frame_address.
33932
5aa3a74a
TS
33933 dup3 for GNU Hurd.
33934 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
33935 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
33936 implement dup3 and do some further code clean-ups.
33937 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
33938 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
33939
ecd0de9a
ST
339402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33941
cd9fa985
ST
33942 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
33943
a4186cff
PT
33944 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
33945 HURD_CRITICAL_END around holding _hurd_dtable_lock.
33946 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
33947 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
33948 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
33949 d->port.lock.
802ca5a5 33950
a4186cff
PT
33951 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
33952 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
33953 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 33954
bcf55240
TS
339552012-05-10 Thomas Schwinge <thomas@schwinge.name>
33956
6960eb42
TS
33957 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
33958 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
33959 definitions.
33960
eb43375f
TS
33961 accept4 for GNU Hurd.
33962 * include/sys/socket.h (__libc_accept4): New prototype.
33963 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
33964 to implement __libc_accept4.
33965 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
33966 __libc_accept4.
33967 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
33968
bcf55240
TS
33969 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
33970 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
33971 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
33972 signal-defines.sym.
33973
6178c55b
ST
339742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33975
a4186cff 33976 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 33977
6f080c2f
TS
339782012-05-10 Thomas Schwinge <thomas@schwinge.name>
33979
33980 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
33981 assertion on O_CLOEXEC flag.
33982 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
33983 * hurd/intern-fd.c: Likewise.
33984 * hurd/port2fd.c: Likewise.
33985
bcfe3a54
ST
339862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33987
33988 [BZ #3906]
33989 * bits/in.h (IPV6_PKTINFO): Define new macro.
33990 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
33991
89c9aa49
AZ
339922012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33993
33994 [BZ #13954]
33995 [BZ #13955]
33996 [BZ #13956]
33997 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
33998 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33999 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
34000 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34001 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34002 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34003 * math/libm-test.inc (logb_test) : Additional logb tests.
34004
021db4be
AJ
340052012-05-09 Andreas Schwab <schwab@linux-m68k.org>
34006 Andreas Jaeger <aj@suse.de>
34007
34008 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
34009 * configure: Regenerated.
34010 * config.h.in (LINK_OBSOLETE_RPC): New macro.
34011 * config.make.in (link-obsolete-rpc): New substituted variable.
34012 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
34013 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
34014 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34015 (shared-only-routines): Don't set it under [link-obsolete-rpc],
34016 so that libc.a contains the symbols.
34017 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34018 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
34019 * sunrpc/auth_none.c: Likewise.
34020 * sunrpc/auth_unix.c: Likewise.
34021 * sunrpc/authdes_prot.c: Likewise.
34022 * sunrpc/authuxprot.c: Likewise.
34023 * sunrpc/clnt_gen.c: Likewise.
34024 * sunrpc/clnt_perr.c: Likewise.
34025 * sunrpc/clnt_raw.c: Likewise.
34026 * sunrpc/clnt_simp.c: Likewise.
34027 * sunrpc/clnt_tcp.c: Likewise.
34028 * sunrpc/clnt_udp.c: Likewise.
34029 * sunrpc/clnt_unix.c: Likewise.
34030 * sunrpc/des_crypt.c: Likewise.
34031 * sunrpc/des_soft.c: Likewise.
34032 * sunrpc/get_myaddr.c: Likewise.
34033 * sunrpc/key_call.c: Likewise.
34034 * sunrpc/key_prot.c: Likewise.
34035 * sunrpc/netname.c: Likewise.
34036 * sunrpc/pm_getmaps.c: Likewise.
34037 * sunrpc/pm_getport.c: Likewise.
34038 * sunrpc/pmap_clnt.c: Likewise.
34039 * sunrpc/pmap_prot.c: Likewise.
34040 * sunrpc/pmap_prot2.c: Likewise.
34041 * sunrpc/pmap_rmt.c: Likewise.
34042 * sunrpc/publickey.c: Likewise.
34043 * sunrpc/rpc_cmsg.c: Likewise.
34044 * sunrpc/rpc_common.c: Likewise.
34045 * sunrpc/rpc_dtable.c: Likewise.
34046 * sunrpc/rpc_prot.c: Likewise.
34047 * sunrpc/rpc_thread.c: Likewise.
34048 * sunrpc/rtime.c: Likewise.
34049 * sunrpc/svc.c: Likewise.
34050 * sunrpc/svc_auth.c: Likewise.
34051 * sunrpc/svc_raw.c: Likewise.
34052 * sunrpc/svc_run.c: Likewise.
34053 * sunrpc/svc_tcp.c: Likewise.
34054 * sunrpc/svc_udp.c: Likewise.
34055 * sunrpc/svc_unix.c: Likewise.
34056 * sunrpc/svcauth_des.c: Likewise.
34057 * sunrpc/xcrypt.c: Likewise.
34058 * sunrpc/xdr.c: Likewise.
34059 * sunrpc/xdr_array.c: Likewise.
34060 * sunrpc/xdr_float.c: Likewise.
34061 * sunrpc/xdr_intXX_t.c: Likewise.
34062 * sunrpc/xdr_mem.c: Likewise.
34063 * sunrpc/xdr_rec.c: Likewise.
34064 * sunrpc/xdr_ref.c: Likewise.
34065 * sunrpc/xdr_sizeof.c: Likewise.
34066 * sunrpc/xdr_stdio.c: Likewise.
34067
b5c086a2
RM
340682012-05-10 Roland McGrath <roland@hack.frob.com>
34069
34070 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
34071 change. Update copyright years.
34072
6d74dd09
JM
340732012-05-10 Joseph Myers <joseph@codesourcery.com>
34074
34075 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
34076
28e72501
MK
340772012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
34078 Joseph Myers <joseph@codesourcery.com>
34079 Paul Pluzhnikov <ppluzhnikov@google.com>
34080
34081 [BZ #14012]
34082 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
34083 requiring rpcgen.
34084 [cross-compiling] (extra-libs): Likewise.
34085 [cross-compiling] (extra-libs-others): Likewise.
34086 [cross-compiling] (librpcsvc-routines): Likewise.
34087 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
34088 [cross-compiling] (omit-deps): Likewise.
34089 (sunrpc-CPPFLAGS): New variable.
34090 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
34091 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
34092 (cross-rpcgen-objs): New variable.
34093 (extra-objs): Append $(cross-rpcgen-objs).
34094 ($(cross-rpcgen-objs)): New rule.
34095 ($(objpfx)cross-rpcgen): Likewise.
34096 (rpcgen-cmd): Define to use $(built-program-file). Expand
34097 comment.
34098 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
34099 ($(objpfx)x%.stmp): Likewise.
34100 * sunrpc/proto.h [IS_IN_build] (_): Define.
34101 [IS_IN_build] (_libc_intl_domainname): Likewise.
34102
c8c59454
L
341032012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34104
34105 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
34106 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
34107 and R_X86_64_TPOFF64.
34108
6f27cd16
JM
341092012-05-10 Joseph Myers <joseph@codesourcery.com>
34110
34111 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
34112 sysdeps/unix/sysv/syscalls.list.
34113 (stime): Likewise.
34114 (utime): Likewise.
34115 * sysdeps/unix/sysv/syscalls.list: Remove file.
34116
02467e1c
PE
341172012-05-10 Paul Eggert <eggert@cs.ucla.edu>
34118
34119 [BZ #3440]
34120 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
34121 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
34122 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
34123 (__LC_IDENTIFICATION): Make these macros useful in #if
34124 expressions, as required by C99.
34125
da392631
AS
341262012-05-10 Andreas Schwab <schwab@linux-m68k.org>
34127
34128 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
34129 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
34130 after this.
34131
8115f29b
L
341322012-05-09 H.J. Lu <hongjiu.lu@intel.com>
34133
34134 * stdlib/longlong.h: Updated from GCC.
34135
bdd74070
AJ
341362012-05-09 Andreas Jaeger <aj@suse.de>
34137
edfe0dbe
AJ
34138 * nscd/nscd.c (run_modes): Make named enum, reorder so that
34139 default is first entry.
34140 (run_mode): Set type.
34141 (main): Remove informal message about syslog.
34142 (options): Fix typo.
34143
bcfe3a54
ST
34144 [BZ #14053]
34145 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 34146 to asm.
bcfe3a54
ST
34147 (lrint): Likewise.
34148 (llrintf): Likewise.
34149 (llrint): Likewise.
34150 (rint): Likewise.
34151 (rintf): Likewise.
34152 (nearbyint): Likewise.
34153 (nearbyintf): Likewise.
bdd74070 34154
91d8d69e
AJ
341552012-05-09 Andreas Jaeger <aj@suse.de>
34156 Pedro Alves <palves@redhat.com>
34157
34158 * nscd/nscd.c (run_mode): Use enum.
34159 (main): Cleanup coding style issue.
34160
bb90b80b
AJ
341612012-05-09 Alexandre Oliva <aoliva@redhat.com>
34162 Andreas Jaeger <aj@suse.de>
34163
bcfe3a54
ST
34164 * nscd/nscd.c (go_background): Replaced with...
34165 (run_mode): ... this.
bb90b80b 34166 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
34167 (options): Add -F --foreground.
34168 (main): Implement it.
34169 (parse_opt): Parse it.
bb90b80b 34170
1a4b75a1
AJ
341712012-05-09 Andreas Jaeger <aj@suse.de>
34172
34173 [BZ #14083]
34174 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
34175 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
34176 -Wconversion warning.
34177 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
34178 Likewise.
34179
b1cc2472
JM
341802012-05-09 Joseph Myers <joseph@codesourcery.com>
34181
34182 * conform/data/locale.h-data (NULL): Use macro-constant. Require
34183 == 0.
34184 (LC_ALL): Use macro-int-constant.
34185 (LC_COLLATE): Likewise.
34186 (LC_CTYPE): Likewise.
34187 (LC_MESSAGES): Likewise.
34188 (LC_MONETARY): Likewise.
34189 (LC_NUMERIC): Likewise.
34190 (LC_TIME): Likewise.
34191 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
34192 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34193 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34194 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
34195 Specify type.
34196 [C99-based standards] (float_t): Expect type.
34197 [C99-based standards] (double_t): Expect type.
34198 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
34199 type.
34200 [C99-based standards] (HUGE_VALL): Likewise.
34201 [C99-based standards] (INFINITY): Likewise.
34202 [C99-based standards] (NAN): Likewise.
34203 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
34204 [C99-based standards] (FP_NAN): Likewise.
34205 [C99-based standards] (FP_NORMAL): Likewise.
34206 [C99-based standards] (FP_SUBNORMAL): Likewise.
34207 [C99-based standards] (FP_ZERO): Likewise.
34208 [C99-based standards] (FP_FAST_FMA): Use
34209 optional-macro-int-constant. Specify type. Require == 1.
34210 [C99-based standards] (FP_FAST_FMAF): Likewise.
34211 [C99-based standards] (FP_FAST_FMAL): Likewise.
34212 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
34213 [C99-based standards] (FP_ILOGBNAN): Likewise.
34214 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
34215 Specify type.
34216 [C99-based standards] (MATH_ERREXCEPT): Likewise.
34217 [C99-based standards] (math_errhandling): Specify type.
34218 [ISO99 || ISO11] (signgam): Do not allow.
34219 [non-C99-based standards] (copysignf): Do not allow.
34220 [non-C99-based standards] (exp2f): Likewise.
34221 [non-C99-based standards] (log2f): Likewise.
34222 [non-C99-based standards] (modff): Allow.
34223 [non-C99-based standards] (erff): Do not allow.
34224 [non-C99-based standards] (erfcf): Likewise.
34225 [non-C99-based standards] (gammaf): Likewise.
34226 [non-C99-based standards] (hypotf): Likewise.
34227 [non-C99-based standards] (j0f): Likewise.
34228 [non-C99-based standards] (j1f): Likewise.
34229 [non-C99-based standards] (jnf): Likewise.
34230 [non-C99-based standards] (lgammaf): Likewise.
34231 [non-C99-based standards] (tgammaf): Likewise.
34232 [non-C99-based standards] (y0f): Likewise.
34233 [non-C99-based standards] (y1f): Likewise.
34234 [non-C99-based standards] (ynf): Likewise.
34235 [non-C99-based standards] (isnanf): Likewise.
34236 [non-C99-based standards] (acoshf): Likewise.
34237 [non-C99-based standards] (asinhf): Likewise.
34238 [non-C99-based standards] (atanhf): Likewise.
34239 [non-C99-based standards] (cbrtf): Likewise.
34240 [non-C99-based standards] (expm1f): Likewise.
34241 [non-C99-based standards] (ilogbf): Likewise.
34242 [non-C99-based standards] (log1pf): Likewise.
34243 [non-C99-based standards] (logbf): Likewise.
34244 [non-C99-based standards] (nextafterf): Likewise.
34245 [non-C99-based standards] (remainderf): Likewise.
34246 [non-C99-based standards] (rintf): Likewise.
34247 [non-C99-based standards] (scalbf): Likewise.
34248 [non-C99-based standards] (copysignl): Likewise.
34249 [non-C99-based standards] (exp2l): Likewise.
34250 [non-C99-based standards] (log2l): Likewise.
34251 [non-C99-based standards] (modfl): Allow.
34252 [non-C99-based standards] (erfl): Do not allow.
34253 [non-C99-based standards] (erfcl): Likewise.
34254 [non-C99-based standards] (gammal): Likewise.
34255 [non-C99-based standards] (hypotl): Likewise.
34256 [non-C99-based standards] (j0l): Likewise.
34257 [non-C99-based standards] (j1l): Likewise.
34258 [non-C99-based standards] (jnl): Likewise.
34259 [non-C99-based standards] (lgammal): Likewise.
34260 [non-C99-based standards] (tgammal): Likewise.
34261 [non-C99-based standards] (y0l): Likewise.
34262 [non-C99-based standards] (y1l): Likewise.
34263 [non-C99-based standards] (ynl): Likewise.
34264 [non-C99-based standards] (isnanl): Likewise.
34265 [non-C99-based standards] (acoshl): Likewise.
34266 [non-C99-based standards] (asinhl): Likewise.
34267 [non-C99-based standards] (atanhl): Likewise.
34268 [non-C99-based standards] (cbrtl): Likewise.
34269 [non-C99-based standards] (expm1l): Likewise.
34270 [non-C99-based standards] (ilogbl): Likewise.
34271 [non-C99-based standards] (log1pl): Likewise.
34272 [non-C99-based standards] (logbl): Likewise.
34273 [non-C99-based standards] (nextafterl): Likewise.
34274 [non-C99-based standards] (remainderl): Likewise.
34275 [non-C99-based standards] (rintl): Likewise.
34276 [non-C99-based standards] (scalbl): Likewise.
34277 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34278 [non-C99-based standards] (FP_*): Do not allow.
34279 [C99-based standards] (FP_*): Change to
34280 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34281 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34282 allow.
34283 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
34284 (SIG_ERR): Likewise.
34285 [X/Open-based standards] (SIG_HOLD): Likewise.
34286 (SIG_IGN): Likewise.
34287 (SIGABRT): Use macro-int-constant. Specify type. Require
34288 positive value.
34289 (SIGFPE): Likewise.
34290 (SIGILL): Likewise.
34291 (SIGINT): Likewise.
34292 (SIGSEGV): Likewise.
34293 (SIGTER): Likewise.
34294 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
34295 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
34296 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
34297 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
34298 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
34299 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
34300 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
34301 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
34302 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
34303 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
34304 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
34305 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
34306 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
34307 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
34308 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
34309 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
34310 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
34311 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
34312 [X/Open-based standards] (SIGTRAP): Likewise.
34313 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
34314 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
34315 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
34316 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
34317 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34318 allow.
34319
b9f1922d
IW
343202012-05-08 Ian Wienand <ianw@vmware.com>
34321
34322 [BZ #14080]
34323 * time/tzset.c (__tzset_parse_tz): Update default rules for
34324 daylight time changes in the Energy Policy Act of 2005.
34325
1db86e88
AJ
343262012-05-09 Andreas Jaeger <aj@suse.de>
34327
34328 [BZ #13983]
34329 * elf/ldconfig.c (parse_conf): Change string to make clear that
34330 ldconfig only issued a warning if ld.so.conf does not exist.
34331
dee4a4e3
DM
343322012-05-08 David S. Miller <davem@davemloft.net>
34333
ee0db190
DM
34334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
34335 movxtod instead of popping the value on the stack.
34336
dee4a4e3
DM
34337 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34338
6a43ec98
CD
343392012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
34340
34341 * config.h.in: Add HAVE_ARM_PCS_VFP.
34342
05c2c961
RMG
343432012-05-08 Roland Mc Grath <roland@hack.frob.com>
34344
bcfe3a54
ST
34345 [BZ #13979]
34346 * include/features.h: Warn if user requests __FORTIFY_SOURCE
34347 checking but the checks are disabled for any reason.
05c2c961 34348
4b30f61a
L
343492012-05-08 H.J. Lu <hongjiu.lu@intel.com>
34350
34351 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
34352 and ELF64_R_TYPE with ELFW(R_TYPE).
34353
eee2bc67
JM
343542012-05-08 Joseph Myers <joseph@codesourcery.com>
34355
7ea5391a
JM
34356 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
34357 (ulimit): Likewise.
34358
eee2bc67
JM
34359 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
34360 (settimeofday): Likewise.
34361
abb66a67
MF
343622012-05-08 Mike Frysinger <vapier@gentoo.org>
34363
34364 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
34365 a struct th_u2 inside the union, and move tu_block/tu_code into
34366 a new th_u3 union of tu_block/tu_code inside of that. Move
34367 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
34368 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
34369 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
34370 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
34371 (th_stuff): Change to th_u1.tu_stuff.
34372 (th_data): Define.
34373 (th_msg): Change to th_u1.th_u2.tu_data.
34374
7f18b530
DM
343752012-05-07 David S. Miller <davem@davemloft.net>
34376
05760585
DM
34377 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34378
7f18b530
DM
34379 [BZ #14074]
34380 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
34381 (SETUP_PIC_REG): Use it.
34382 (SETUP_PIC_REG_LEAF): Use it.
34383
495fd99f
JM
343842012-05-07 Joseph Myers <joseph@codesourcery.com>
34385
34386 [BZ #13885]
34387 [BZ #13923]
34388 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34389 USE_AS_EXPM1L.
34390 (EXPL_FINITE): Likewise.
34391 (FLDLOG): Likewise.
34392 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34393 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34394 e_expl.S.
34395 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34396 USE_AS_EXPM1L.
34397 (EXPL_FINITE): Likewise.
34398 (FLDLOG): Likewise.
34399 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34400 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34401 e_expl.S.
34402 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
34403 test of -max_value argument for long double.
34404 * sysdeps/i386/fpu/libm-test-ulps: Update.
34405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34406
6693d694
DM
344072012-05-06 David S. Miller <davem@davemloft.net>
34408
34409 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
34410 quad soft-float symbols whose references which are compiler
34411 generated.
34412 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34413
6c23e11c
JM
344142012-05-06 Joseph Myers <joseph@codesourcery.com>
34415
d8b82cad
JM
34416 [BZ #13884]
34417 [BZ #13914]
34418 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34419 USE_AS_EXP10L.
34420 (EXPL_FINITE): Likewise.
34421 (FLDLOG): Likewise.
34422 (c0): Likewise.
34423 (c1): Likewise.
34424 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34425 Adjust comments for base varying.
34426 (__expl_finite): Change alias to EXPL_FINITE.
34427 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
34428 e_expl.S.
34429 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
34430 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
34431 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
34432 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
34433 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34434 USE_AS_EXP10L.
34435 (EXPL_FINITE): Likewise.
34436 (FLDLOG): Likewise.
34437 (c0): Likewise.
34438 (c1): Likewise.
34439 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34440 Adjust comments for base varying.
34441 (__expl_finite): Change alias to EXPL_FINITE.
34442 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
34443 tests for bugs.
34444 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34445
6c23e11c
JM
34446 [BZ #14064]
34447 * math/libm-test.inc (check_float_internal): Correct ulp
34448 calculation for subnormal expected results.
34449
29ba805c
AJ
344502012-05-06 Andreas Jaeger <aj@suse.de>
34451
34452 * Makeconfig (+math-flags): New, set to -frounding-math.
34453 (+cflags): Add +math-flags so that all of glibc gets compiled with
34454 it.
34455
34456 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
34457
7b17aeda
JM
344582012-05-05 Joseph Myers <joseph@codesourcery.com>
34459
5779f134
JM
34460 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
34461 Disable one test.
34462
41498f4d
JM
34463 [BZ #13787]
34464 [BZ #13922]
34465 [BZ #14036]
34466 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
34467 (__ieee754_expl): Allow for and saturate large arguments.
34468 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
34469 (u_threshold): Likewise.
34470 (__exp): Call __ieee754_exp before checking for overflow and
34471 underflow.
34472 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
34473 (u_threshold): Likewise.
34474 (__expf): Call __ieee754_expf before checking for overflow and
34475 underflow.
34476 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
34477 (u_threshold): Likewise.
34478 (__expl): Call __ieee754_expl before checking for overflow and
34479 underflow.
34480 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
34481 (__ieee754_expl): Allow for and saturate large arguments.
34482 * math/libm-test.inc (exp_test): Add another test. Do not allow
34483 missing overflow exception on overflow.
34484 (expm1_test): Do not allow missing overflow exception on overflow.
34485
6698b8bf
JM
34486 * sysdeps/i386/fpu/e_expl.c: Move to ...
34487 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
34488 rather than using inline asm.
34489 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
34490 * sysdeps/x86_64/fpu/e_expl.S: Copy from
34491 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
34492
7b17aeda
JM
34493 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
34494 (nice): Likewise.
34495 (poll): Likewise.
34496 (signal): Likewise.
34497 (time): Likewise.
34498 (times): Likewise.
34499
f7c85819
JM
345002012-05-04 Joseph Myers <joseph@codesourcery.com>
34501
34502 * sysdeps/unix/syscalls.list (adjtime): Add entry from
34503 sysdeps/unix/common/syscalls.list.
34504 (fchmod): Likewise.
34505 (fchown): Likewise.
34506 (ftruncate): Likewise.
34507 (getrusage): Likewise.
34508 (gettimeofday): Likewise.
34509 (setpgid): Likewise.
34510 (setregid): Likewise.
34511 (setreuid): Likewise.
34512 (sigaction): Likewise.
34513 (truncate): Likewise.
34514 (vhangup): Likewise.
34515 * sysdeps/unix/common/syscalls.list: Remove file.
34516 * sysdeps/unix/bsd/Implies: Don't include unix/common.
34517 * sysdeps/unix/sysv/linux/Implies: Likewise.
34518
336270d0
L
345192012-05-04 H.J. Lu <hongjiu.lu@intel.com>
34520
34521 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
34522 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
34523 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
34524 Moved to ...
34525 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
34526 Here.
34527 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
34528 to ...
34529 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
34530 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
34531 to ...
34532 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
34533 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
34534 to ...
34535 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
34536 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
34537 to ...
34538 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
34539 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
34540 to ...
34541 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
34542 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
34543 to ...
34544 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
34545 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
34546 to ...
34547 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
34548 Here.
34549 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
34550 to ...
34551 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
34552 Here.
34553 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
34554 to ...
34555 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
34556 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
34557 Moved to ...
34558 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
34559 Here.
34560 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
34561 to ...
34562 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
34563
d128e450
JM
345642012-05-04 Joseph Myers <joseph@codesourcery.com>
34565
fa8ee516
JM
34566 * sysdeps/unix/common/bits/dirent.h: Remove file.
34567 * sysdeps/unix/common/bits/fcntl.h: Likewise.
34568
d128e450
JM
34569 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
34570 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
34571 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
34572 * sysdeps/unix/bsd/isatty.c: Likewise.
34573 * sysdeps/unix/bsd/tcdrain.c: Likewise.
34574 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
34575 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
34576
ff8faaf0 345772012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 34578
62881be4 34579 [BZ #13563]
31dc8730
AZ
34580 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
34581 long double comparison inaccuracies.
34582 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
34583 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34584
6fef930c
AS
345852012-05-04 Andreas Schwab <schwab@linux-m68k.org>
34586
34587 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
34588 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
34589
8f203e6c
JM
345902012-05-04 Joseph Myers <joseph@codesourcery.com>
34591
34592 [BZ #14049]
34593 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
34594 nonzero digits before rounding a hex value.
34595 * stdlib/tst-strtod.c (tests): Add another test.
34596
5197d9c2
AK
345972012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34598
34599 * sysdeps/s390/fpu/libm-test-ulps: Update.
34600
f0c1dedf
AJ
346012012-05-03 Andreas Jaeger <aj@suse.de>
34602
34603 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
34604 does not get optimized out.
34605 (malloc_opt_barrier): New.
34606
a65ef2ae 346072012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 34608 Roland McGrath <roland@hack.frob.com>
a65ef2ae 34609
2b942cb7 34610 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 34611 intermediate file deletion.
2b942cb7 34612 (generated): Add .symlist files.
a65ef2ae 34613
54b71e02
JM
346142012-05-03 Joseph Myers <joseph@codesourcery.com>
34615
34616 [BZ #13775]
34617 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
34618 Redirect under this condition.
34619 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34620 [__USE_GNU] (__dprintf_chk): Not under this condition.
34621 [__USE_GNU] (__vdprintf_chk): Likewise.
34622 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
34623 under this condition.
34624 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34625 [__USE_XOPEN2K8] (dprintf): Define under this condition.
34626 [__USE_XOPEN2K8] (vdprintf): Likewise.
34627 [__USE_GNU] (__dprintf_chk): Not under this condition.
34628 [__USE_GNU] (__vdprintf_chk): Likewise.
34629 [__USE_GNU] (dprintf): Likewise.
34630 [__USE_GNU] (vdprintf): Likewise.
34631
d3dfcc41
RM
346322012-05-03 Roland McGrath <roland@hack.frob.com>
34633
34634 * elf/Makefile (common-generated): Set this instead of generated for
34635 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
34636 $(all-built-dso)-derived lists.
34637
7ac30cc5
AJ
346382012-05-03 Andreas Jaeger <aj@suse.de>
34639
0c51e550
AJ
34640 * sysdeps/i386/fpu/libm-test-ulps: Update.
34641
7ac30cc5
AJ
34642 * FAQ: Removed.
34643 * FAQ.in: Likewise.
34644 * scripts/gen-FAQ.pl: Likewise.
34645 * manual/install.texi (Installation): Point to online location of
34646 FAQ.
34647 * Makefile (files-for-dist): Remove FAQ.
34648 (FAQ): Remove.
34649
d4c2917f
AM
346502012-05-02 Allan McRae <allan@archlinux.org>
34651
34652 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
34653 (LDFLAGS-reldepmod5.so): Likewise.
34654 (LDFLAGS-reldep6mod1.so): Likewise.
34655 (LDFLAGS-reldep6mod4.so): Likewise.
34656 (LDFLAGS-reldep8mod3.so): Likewise.
34657 (LDFLAGS-unload4mod1.so): Likewise.
34658 (LDFLAGS-unload4mod2.so): Likewise.
34659 (LDFLAGS-tst-initorder): Likewise.
34660 (LDFLAGS-tst-initordera2.so): Likewise.
34661 (LDFLAGS-tst-initordera3.so): Likewise.
34662 (LDFLAGS-tst-initordera4.so): Likewise.
34663 (LDFLAGS-tst-initorderb2.so): Likewise.
34664 (LDFLAGS-noload): Likewise.
34665 (LDFLAGS-next): Likewise.
34666 (LDFLAGS-order2mod1.so): Likewise.
34667 (LDFLAGS-order2mod2.so): Likewise.
34668 (LDFLAGS-tst-initorder2): Likewise.
34669 (LDFLAGS-tst-initorder2a.so): Likewise.
34670 (LDFLAGS-tst-initorder2b.so): Likewise.
34671 (LDFLAGS-tst-initorder2c.so): Likewise.
34672 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
34673
d77f993f
DM
346742012-05-02 David S. Miller <davem@davemloft.net>
34675
34676 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34677
171a70b4
PP
346782012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
34679
34680 [BZ #14055]
34681 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
34682
0be196ad
AJ
346832012-05-02 Andreas Jaeger <aj@suse.de>
34684
34685 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
34686 since we manipulate rounding mode.
34687 (CPPFLAGS-test-idouble.c): Likewise.
34688 (CPPFLAGS-test-ifloat.c): Likewise.
34689 (CFLAGS-test-ldouble.c): Likewise.
34690 (CFLAGS-test-double.c): Likewise.
34691 (CFLAGS-test-float.c): Likewise.
34692 (CFLAGS-test-misc.c): Likewise.
34693 (CFLAGS-test-test-fenv.c): Likewise.
34694
4f9d04aa
AZ
346952012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34696
2b942cb7
RM
34697 [BZ #2550]
34698 [BZ #2570]
34699 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
34700 comparisons to determine direction to adjust input.
4f9d04aa 34701
82a79e7d
RM
347022012-05-01 Roland McGrath <roland@hack.frob.com>
34703
f5a01ca9
RM
34704 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
34705 output to the target.
34706
90fe4186
RM
34707 * scripts/localplt.awk: New file.
34708 * elf/Makefile ($(objpfx)check-localplt): Target removed.
34709 (check-localplt-CFLAGS): Variable removed.
34710 ($(all-built-dso:=.jmprel)): New static pattern rule.
34711 (generated): Add those targets.
34712 (localplt-built-dso): New variable.
34713 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
34714
34715 * elf/check-localplt.c: File removed.
34716
82397ed6
RM
34717 * scripts/check-execstack.awk: New file.
34718 * elf/Makefile ($(objpfx)check-execstack): Target removed.
34719 (check-execstack-CFLAGS): Variable removed.
34720 ($(objpfx)check-execstack.h): Target removed.
34721 ($(objpfx)execstack-default): New target.
34722 (generated): Add that instead of check-execstack.h.
34723 ($(all-built-dso:=.phdr)): New static pattern rule.
34724 (generated): Add those targets.
34725 * elf/check-execstack.c: File removed.
34726
82a79e7d
RM
34727 * scripts/check-textrel.awk: New file.
34728 * elf/Makefile ($(objpfx)check-textrel): Target removed.
34729 (check-textrel-CFLAGS): Variable removed.
34730 (all-built-dso): Use := to define.o
34731 ($(all-built-dso:=.dyn)): New static pattern rule.
34732 (generated): Add those targets.
34733 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
34734 * config.make.in (READELF): New substituted variable.
34735 * elf/check-textrel.c: File removed.
34736
62fde54f 347372012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 34738
615605c9
JM
34739 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34740 allow.
34741 * conform/data/ctype.h-data [C99-based standards] (isblank):
34742 Expect function.
34743 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
34744 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
34745 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34746 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
34747 Specify type. Require positive value.
34748 (EILSEQ): Likewise.
34749 (ERANGE): Likewise.
34750 [ISO || POSIX] (EILSEQ): Do not expect.
34751 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
34752 Specify type. Require positive value.
34753 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
34754 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
34755 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
34756 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
34757 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
34758 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
34759 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
34760 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
34761 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
34762 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
34763 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
34764 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
34765 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
34766 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
34767 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
34768 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
34769 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
34770 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
34771 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
34772 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
34773 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
34774 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
34775 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
34776 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
34777 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
34778 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
34779 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
34780 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
34781 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
34782 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
34783 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
34784 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
34785 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
34786 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
34787 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
34788 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
34789 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
34790 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
34791 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
34792 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
34793 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
34794 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
34795 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
34796 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
34797 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
34798 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
34799 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
34800 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
34801 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
34802 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
34803 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
34804 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
34805 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
34806 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
34807 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
34808 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
34809 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
34810 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
34811 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
34812 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
34813 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
34814 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
34815 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
34816 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
34817 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
34818 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
34819 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
34820 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
34821 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
34822 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
34823 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
34824 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
34825 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
34826 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
34827 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
34828 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
34829 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
34830 Require >= 2.
34831 (FLT_ROUNDS): Expect as macro, not constant.
34832 (FLT_MANT_DIG): Use macro-int-constant.
34833 (DBL_MANT_DIG): Likewise.
34834 (LDBL_MANT_DIG): Likewise.
34835 (FLT_DIG): Likewise.
34836 (DBL_DIG): Likewise.
34837 (LDBL_DIG): Likewise.
34838 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
34839 (DBL_MIN_EXP): Likewise.
34840 (LDBL_MIN_EXP): Likewise.
34841 (FLT_MAX_EXP): Use macro-int-constant.
34842 (DBL_MAX_EXP): Likewise.
34843 (LDBL_MAX_EXP): Likewise.
34844 (FLT_MAX_10_EXP): Likewise.
34845 (DBL_MAX_10_EXP): Likewise.
34846 (LDBL_MAX_10_EXP): Likewise.
34847 (FLT_MAX): Use macro-constant.
34848 (DBL_MAX): Likewise.
34849 (LDBL_MAX): Likewise.
34850 (FLT_EPSILON): Use macro-constant. Give upper bound.
34851 (DBL_EPSILON): Likewise.
34852 (LDBL_EPSILON): Likewise.
34853 (FLT_MIN): Likewise.
34854 (DBL_MIN): Likewise.
34855 (LDBL_MIN): Likewise.
34856 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
34857 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
34858 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
34859 [ISO11] (FLT_HAS_SUBNORM): Likewise.
34860 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
34861 [ISO11] (DBL_DECIMAL_DIG): Likewise.
34862 [ISO11] (FLT_DECIMAL_DIG): Likewise.
34863 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
34864 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
34865 [ISO11] (FLT_TRUE_MIN): Likewise.
34866 [ISO11] (LDBL_TRUE_MIN): Likewise.
34867 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34868 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
34869 (SCHAR_MIN): Use macro-int-constant. Specify type.
34870 (SCHAR_MAX): Likewise.
34871 (UCHAR_MAX): Likewise.
34872 (CHAR_MIN): Likewise.
34873 (CHAR_MAX): Likewise.
34874 (MB_LEN_MAX): Use macro-int-constant.
34875 (SHRT_MIN): Use macro-int-constant. Specify type.
34876 (SHRT_MAX): Likewise.
34877 (USHRT_MAX): Likewise.
34878 (INT_MAX): Likewise.
34879 (INT_MIN): Use macro-int-constant. Specify type. Make upper
34880 bound negative.
34881 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
34882 bound with "U".
34883 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34884 bound with "L".
34885 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
34886 bound negative. Suffix upper bound with "L".
34887 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34888 bound with "UL".
34889 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
34890 Specify type.
34891 [C99-based standards] (LLONG_MAX): Likewise.
34892 [C99-based standards] (ULLONG_MAX): Likewise.
34893 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
34894 == 0.
34895 [ISO11] (max_align_t): Require type.
34896 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34897
c9140a62
JM
34898 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
34899 from $CFLAGS, without defining away __attribute__ calls.
34900 (checknamespace): Use $CFLAGS_namespace.
34901
9af0bf29
JM
34902 * conform/conformtest.pl (@keywords): Only include C99 keywords
34903 for standards based on C99 or C11.
34904
343222a2
JM
34905 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
34906 Disable tests.
34907 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
34908 UNIX98]: Likewise.
34909
661f8cf0
JM
34910 * conform/conformtest.pl: Handle "macro-int-constant" and test for
34911 usability of symbols in #if.
34912
ee74b9cb
JM
34913 * conform/conformtest.pl: If macro or constant types start
34914 "promoted:", expect the symbol to be of the following type
34915 promoted by the integer promotions.
62fde54f 34916
aafc49b3
JM
34917 * conform/conformtest.pl: Parse all "constant" and "macro" lines
34918 in one place. Also handle "macro-constant".
34919
fefdf574
JM
34920 * conform/conformtest.pl: Only accept expected macro values with
34921 "==". Parse all "macro" lines in one place.
34922 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
34923
f2d922fe
JM
34924 * conform/conformtest.pl: Handle braced types on "constant" lines
34925 instead of handling "typed-constant".
34926 * conform/data/signal.h-data: Use "constant" instead of
34927 "typed-constant".
34928
d22956c9
JM
34929 * conform/conformtest.pl: Handle "optional-" at start of lines in
34930 one place rather than duplicating several cases. Handle each
34931 format of "macro" line with initial "optional-".
34932
028e2e38
JM
34933 * conform/conformtest.pl: Only accept expected constant or
34934 optional-constant values with "==". Parse all "constant" lines in
34935 one place. Parse all "optional-constant" lines in one place.
34936 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
34937 * conform/data/fmtmsg.h-data: Likewise.
34938 * conform/data/netinet/in.h-data: Likewise.
34939 * conform/data/tar.h-data: Likewise.
34940 * conform/data/limits.h-data: Use "==" form on "constant" and
34941 "optional-constant" lines.
34942
1b8f2850
JM
34943 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
34944 Use -std=c99 for XOPEN2K.
34945 (@knownproblems): Remove.
34946 (newtoken): Don't check %isknown.
34947
a05a144b
JM
34948 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
34949 Do not expect macro.
34950 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
34951 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
34952 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
34953 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
34954 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
34955 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
34956 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
34957 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
34958 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
34959 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
34960 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
34961 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
34962 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
34963 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
34964 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
34965 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
34966 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
34967 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
34968 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
34969 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
34970 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
34971 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
34972 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
34973 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
34974 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
34975 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
34976 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
34977 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
34978 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
34979 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
34980 [XPG3] (acosh): Likewise.
34981 [XPG3] (asinh): Likewise.
34982 [XPG3] (atanh): Likewise.
34983 [XPG3] (cbrt): Likewise.
34984 [XPG3] (expm1): Likewise.
34985 [XPG3] (ilogb): Likewise.
34986 [XPG3] (log1p): Likewise.
34987 [XPG3] (logb): Likewise.
34988 [XPG3] (nextafter): Likewise.
34989 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
34990 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
34991 [XPG3] (remainder): Likewise.
34992 [XPG3] (rint): Likewise.
34993 [XPG3 || XPG4 || UNIX98] (round): Likewise.
34994 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
34995 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
34996 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
34997 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
34998 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
34999 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
35000 [UNIX98 || XOPEN2K] (scalb): Expect.
35001 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
35002 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
35003 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
35004 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
35005 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
35006 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
35007 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
35008 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
35009 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
35010 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
35011 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
35012 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
35013 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
35014 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
35015 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
35016 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
35017 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
35018 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
35019 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
35020 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
35021 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
35022 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
35023 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
35024 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
35025 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
35026 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
35027 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
35028 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
35029 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
35030 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
35031 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
35032 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
35033 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
35034 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
35035 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
35036 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
35037 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
35038 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
35039 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
35040 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
35041 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
35042 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
35043 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
35044 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
35045 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
35046 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
35047 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
35048 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
35049 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
35050 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
35051 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
35052 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
35053 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
35054 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
35055 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
35056 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
35057 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
35058 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
35059 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
35060 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
35061 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
35062 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
35063 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
35064 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
35065 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
35066 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
35067 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
35068 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
35069 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
35070 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
35071 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
35072 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
35073 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
35074 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
35075 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
35076 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
35077 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
35078 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
35079 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
35080 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
35081 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
35082 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
35083 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
35084 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
35085 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
35086 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
35087 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
35088 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
35089 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
35090 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
35091 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
35092 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
35093 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
35094 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
35095 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
35096 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
35097 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
35098 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
35099 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
35100 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
35101 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
35102 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
35103 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
35104 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
35105 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
35106 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
35107 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
35108 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
35109 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
35110 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
35111 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
35112 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
35113 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
35114 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
35115 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
35116 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
35117 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
35118 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
35119 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
35120 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
35121 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
35122 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
35123 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
35124 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
35125 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
35126 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
35127 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
35128 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
35129 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
35130 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
35131 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
35132 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
35133 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
35134 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
35135 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
35136 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
35137 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
35138
73c5ebe3
JM
35139 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
35140 _XOPEN_SOURCE_EXTENDED for XPG4.
35141
39c33b6c
JM
35142 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
35143
62fde54f
JM
35144 * Makeconfig (localtime): Remove variable.
35145 (inst_localtime-file): Likewise.
35146
0741d64c
AS
351472012-05-01 Andreas Schwab <schwab@linux-m68k.org>
35148
35149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
35150 Update.
35151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35152 Update.
35153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
35154 Update.
35155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
35156 Update.
35157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
35158 Update.
35159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
35160 Update.
35161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35162 Update.
35163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
35164 Update.
35165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35166 Update.
35167
7cb029ee
JM
351682012-05-01 Joseph Myers <joseph@codesourcery.com>
35169
35170 [BZ #2550]
35171 [BZ #2570]
35172 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
35173 comparisons to determine direction to adjust input.
35174 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
35175 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
35176 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35177 Likewise.
35178 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35179 Likewise.
35180 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35181 Likewise.
35182 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35183 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35184 Likewise.
35185 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35186 Likewise.
35187 * math/libm-test.inc (nexttoward_test): Add more tests.
35188
412bd966
AS
351892012-05-01 Andreas Schwab <schwab@linux-m68k.org>
35190
35191 [BZ #14040]
35192 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
35193 in version GLIBC_2.1, not GLIBC_2.0.
35194 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
35195 Likewise.
35196
9568c0c2
JM
351972012-04-30 Joseph Myers <joseph@codesourcery.com>
35198
adfbc8ac
JM
35199 [BZ #13942]
35200 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
35201 (1 - x) * (1 + x).
35202 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35203 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
35204 * math/libm-test.inc (acos_test): Add more tests.
35205 (asin_test): Likewise.
35206 * sysdeps/i386/fpu/libm-test-ulps: Update.
35207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35208
5ba3cc69
JM
35209 [BZ #14034]
35210 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
35211 of square root.
35212 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
35213 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35214 * math/libm-test.inc (acos_test_tonearest): New function.
35215 (acos_test_towardzero): Likewise.
35216 (acos_test_downward): Likewise.
35217 (acos_test_upward): Likewise.
35218 (asin_test_tonearest): Likewise.
35219 (asin_test_towardzero): Likewise.
35220 (asin_test_downward): Likewise.
35221 (asin_test_upward): Likewise.
35222 (main): Call the new functions.
35223 * sysdeps/i386/fpu/libm-test-ulps: Update.
35224 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35225
9568c0c2
JM
35226 [BZ #13884]
35227 [BZ #13924]
35228 * math/e_exp10.c: Include <float.h>.
35229 (__ieee754_exp10): Handle underflow here rather than multiplying
35230 large negative argument by M_LN10.
35231 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
35232 of __ieee754_expf.
35233 * math/e_exp10l.c: Include <float.h>.
35234 (__ieee754_exp10l): Handle underflow here rather than multiplying
35235 large negative argument by M_LN10l.
35236 * math/libm-test.inc (exp10_test): Add another test. Do not allow
35237 spurious overflow exception on underflow.
35238
5ac3ea17
MP
352392012-04-29 Marek Polacek <polacek@redhat.com>
35240
35241 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
35242 (__fortify_function): New macro.
35243 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
35244 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
35245 __extern_always_inline.
35246 * libio/bits/stdio2.h: Likewise.
35247 * libio/bits/stdio.h: Likewise.
35248 * string/string.h: Likewise.
35249 * string/bits/string3.h: Likewise.
35250 * include/stdio.h: Likewise.
35251 * stdlib/bits/stdlib.h: Likewise.
35252 * stdlib/stdlib.h: Likewise.
35253 * rt/bits/mqueue2.h: Likewise.
35254 * rt/mqueue.h: Likewise.
35255 * posix/bits/unistd.h: Likewise.
35256 * posix/unistd.h: Likewise.
35257 * io/bits/poll2.h: Likewise.
35258 * io/bits/fcntl2.h: Likewise.
35259 * io/fcntl.h: Likewise.
35260 * io/sys/poll.h: Likewise.
35261 * misc/bits/syslog.h: Likewise.
35262 * misc/bits/syslog-ldbl.h: Likewise.
35263 * misc/sys/syslog.h: Likewise.
35264 * socket/bits/socket2.h: Likewise.
35265 * socket/sys/socket.h: Likewise.
35266 * debug/tst-chk1.c: Likewise.
35267 * wcsmbs/bits/wchar2.h: Likewise.
35268 * wcsmbs/bits/wchar-ldbl.h: Likewise.
35269 * wcsmbs/wchar.h: Likewise.
35270
ecf0ebfb
AJ
352712012-04-29 Andreas Jaeger <aj@suse.de>
35272
35273 * Makerules (tests): Remove enable-check-abi protection.
35274 (check-abi-warn): Remove.
35275 (check-abi-%): Remove check-abi-warn usage.
35276
35277 * configure.in: Remove check-abi configure option.
35278 * configure: Regenerated.
35279 * config.make.in (enable-check-abi): Remove.
35280
6d5c57fa
AS
352812012-04-28 Andreas Schwab <schwab@linux-m68k.org>
35282
24c5d07e 35283 [BZ #14033]
ded5180a
AS
35284 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
35285 double functions to double *_finite functions.
35286
7e0d315d
AS
35287 [BZ #13941]
35288 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
35289 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
35290 LDBL_MIN_EXP.
35291 * stdio-common/Makefile (tests): Add tst-sprintf3.
35292 * stdio-common/tst-sprintf3.c: New file.
35293
6d5c57fa
AS
35294 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
35295 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
35296
0749ff8b
JM
352972012-04-28 Joseph Myers <joseph@codesourcery.com>
35298
35299 * conform/conformtest.pl: Remove duplicate typed-constant
35300 handling.
35301
8dbd5d7b
DM
353022012-04-28 David S. Miller <davem@davemloft.net>
35303
35304 * Makerules (%.abilist): Add vpath on sysdep_dirs.
35305 (check-abi-%): Remove AWK script prerequisite and explicit
35306 abilist directory.
35307 (check-abi): Rewrite to just diff the symlist with the abilist.
35308 (config-tls, config-abi-config): Delete, no longer used.
35309 (update-abi-%): Remove AWK script and explicit abilist directory.
35310 (update-abi): Rewrite to simply compare and conditionally copy the
35311 symlist and the sysdep abilist file. Remove update-abi-config
35312 checks.
35313 * abilist/ld.abilist: Remove.
35314 * abilist/libBrokenLocale.abilist: Remove.
35315 * abilist/libanl.abilist: Remove.
35316 * abilist/libcrypt.abilist: Remove.
35317 * abilist/libdl.abilist: Remove.
35318 * abilist/librt.abilist: Remove.
35319 * abilist/libthread_db.abilist: Remove.
35320 * abilist/libutil.abilist: Remove.
35321 * scripts/extract-abilist.awk: Remove.
35322 * scripts/merge-abilist.awk: Remove.
35323 * sysdeps/generic/libcidn.abilist: New file.
35324 * sysdeps/generic/libnss_compat.abilist: New file.
35325 * sysdeps/generic/libnss_db.abilist: New file.
35326 * sysdeps/generic/libnss_dns.abilist: New file.
35327 * sysdeps/generic/libnss_files.abilist: New file.
35328 * sysdeps/generic/libnss_hesiod.abilist: New file.
35329 * sysdeps/generic/libnss_nis.abilist: New file.
35330 * sysdeps/generic/libnss_nisplus.abilist: New file.
35331 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
35332 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
35333 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
35334 file.
35335 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
35336 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
35337 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
35338 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
35339 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
35340 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
35341 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
35342 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
35343 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
35344 file.
35345 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
35346 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
35347 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
35348 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
35349 file.
35350 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
35351 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
35352 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
35353 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
35354 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
35355 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
35356 file.
35357 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
35358 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
35359 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
35360 file.
35361 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
35362 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
35363 New file.
35364 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
35365 New file.
35366 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
35367 New file.
35368 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
35369 New file.
35370 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
35371 New file.
35372 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
35373 New file.
35374 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
35375 New file.
35376 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
35377 New file.
35378 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
35379 New file.
35380 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
35381 New file.
35382 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
35383 New file.
35384 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
35385 New file.
35386 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
35387 New file.
35388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
35389 file.
35390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
35391 New file.
35392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
35393 New file.
35394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
35395 file.
35396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
35397 New file.
35398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
35399 New file.
35400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
35401 file.
35402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
35403 New file.
35404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35405 New file.
35406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
35407 New file.
35408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
35409 New file.
35410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
35411 New file.
35412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
35413 New file.
35414 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
35415 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
35416 file.
35417 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
35418 New file.
35419 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
35420 file.
35421 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
35422 file.
35423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
35424 file.
35425 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
35426 file.
35427 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
35428 file.
35429 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35430 New file.
35431 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
35432 file.
35433 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
35434 file.
35435 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
35436 New file.
35437 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
35438 file.
35439 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
35440 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
35441 file.
35442 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
35443 New file.
35444 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
35445 file.
35446 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
35447 file.
35448 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
35449 file.
35450 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
35451 file.
35452 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
35453 file.
35454 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35455 New file.
35456 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
35457 file.
35458 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
35459 file.
35460 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35461 New file.
35462 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
35463 file.
35464 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35465 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
35466 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
35467 file.
35468 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
35469 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
35470 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
35471 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
35472 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
35473 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
35474 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
35475 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
35476 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
35477 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
35478 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
35479 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
35480 file.
35481 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
35482 New file.
35483 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
35484 file.
35485 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
35486 file.
35487 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
35488 file.
35489 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
35490 file.
35491 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
35492 file.
35493 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35494 New file.
35495 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
35496 New file.
35497 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
35498 file.
35499 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
35500 New file.
35501 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
35502 file.
35503 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
35504 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
35505 file.
35506 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
35507 New file.
35508 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
35509 file.
35510 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
35511 file.
35512 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
35513 file.
35514 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
35515 file.
35516 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
35517 file.
35518 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35519 New file.
35520 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
35521 New file.
35522 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
35523 file.
35524 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
35525 New file.
35526 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
35527 file.
35528
41d73a1b
JM
355292012-04-28 Joseph Myers <joseph@codesourcery.com>
35530
35531 * conform/conformtest.pl: Fix typo in handling typed-constant from
35532 allow-header.
35533
28aeeda4
JM
355342012-04-27 Joseph Myers <joseph@codesourcery.com>
35535
adae8f5e
JM
35536 * README: Cut down references to pre-2.6 Linux kernels and
35537 Linuxthreads. Update lists of configurations in libc and ports
35538 and sort alphabetically. Say "or newer" with Linux kernel version
35539 requirements.
35540
28aeeda4
JM
35541 * config.h.in [IS_IN_build]: Allow compiling without optimization.
35542
a462cb63
RA
355432012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35544
35545 [BZ #887]
35546 * math/libm-test.inc (logb_test_downward): New test to expose
35547 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
35548 rounding mode.
35549
6ad3493e
JM
355502012-04-27 Joseph Myers <joseph@codesourcery.com>
35551
35552 [BZ #14027]
35553 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
35554 to be done.
35555 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
35556 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
35557
2ce4f015
JM
355582012-04-26 Joseph Myers <joseph@codesourcery.com>
35559
5aeb141a
JM
35560 * sysdeps/unix/i386/brk.S: Remove file.
35561 * sysdeps/unix/i386/dl-brk.S: Likewise.
35562 * sysdeps/unix/i386/pipe.S: Likewise.
35563 * sysdeps/unix/i386/sigreturn.S: Likewise.
35564 * sysdeps/unix/i386/syscall.S: Likewise.
35565 * sysdeps/unix/i386/vfork.S: Likewise.
35566 * sysdeps/unix/i386/wait.S: Likewise.
35567
7143acae
JM
35568 * sysdeps/unix/common/tcsendbrk.c: Move to ...
35569 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
35570
2ce4f015
JM
35571 * configure.in (arm*-none*): Do not allow without
35572 --enable-hacker-mode.
35573 (netbsd*): Remove case setting base_os.
35574 (386bsd*): Likewise.
35575 (freebsd*): Likewise.
35576 (bsdi*): Likewise.
35577 (osf*): Likewise.
35578 (sunos*): Likewise.
35579 (ultrix*): Likewise.
35580 (newsos*): Likewise.
35581 (dynix*): Likewise.
35582 (*bsd*): Likewise.
35583 (sysv*): Likewise.
35584 (isc*): Likewise.
35585 (esix*): Likewise.
35586 (sco*): Likewise.
35587 (minix*): Likewise.
35588 (irix4*): Likewise.
35589 (irix6*): Likewise.
35590 (solaris[2-9]*): Likewise.
35591 (none): Likewise.
35592 * configure: Regenerated.
35593
0ac229c8
AZ
355942012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35595
35596 [BZ #11521]
35597 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
35598 overflow or cancellation in calculating denominator.
35599 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
35600 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
35601 down expression to avoid unexpected rounding in newer GCCs.
35602 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
35603
33f244f4
DM
356042012-04-26 David S. Miller <davem@davemloft.net>
35605
35606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
35607 long-double compat symbols.
35608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
35612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35613 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
35614 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
35615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
35616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
35617 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
35618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
35619 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
35620 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35621
cfa1f3e8
DM
356222012-04-25 David S. Miller <davem@davemloft.net>
35623
35624 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
35625 HWCAP_* values only after the memory barriers have been defined.
35626 (atomic_full_barrier): Define.
35627 (atomic_read_barrier): Define.
35628 (atomic_write_barrier): Define.
35629
6e236b92
SP
356302012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35631
35632 * shlib-versions: Add libgcc_s version information.
35633 * sysdeps/generic/libgcc_s.h: Remove.
35634 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
35635 libgcc_s.h.
35636 * sysdeps/gnu/unwind-resume.c: Likewise.
35637 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
35638
aab39a09
DM
356392012-04-25 David S. Miller <davem@davemloft.net>
35640
35641 * sysdeps/unix/sparc/brk.S: Delete.
35642 * sysdeps/unix/sparc/dl-brk.S: Delete.
35643 * sysdeps/unix/sparc/pipe.S: Delete.
35644 * sysdeps/unix/sparc/sysdep.S: Delete.
35645 * sysdeps/unix/sparc/sysdep.h: Delete.
35646 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
35647 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
35648 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
35649 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
35650 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
35651 (JUMPTARGET): Remove.
35652 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
35653 sysdeps/unix/sparc/sysdep.h
35654 (ENTRY, END): Remove.
35655 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35656
a3cc4f48
JM
356572012-04-25 Joseph Myers <joseph@codesourcery.com>
35658
2ed8cda2
JM
35659 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
35660 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
35661 -DIS_IN_build.
35662
35d76d59
JM
35663 * timezone/README: Update upstream location and email address for
35664 tzcode and tzdata.
35665 * timezone/zdump.c: Update from tzcode 2012b.
35666 * timezone/zic.c: Likewise.
35667
a3cc4f48
JM
35668 * configure.in (libc_cv_as_needed): Remove test.
35669 * configure: Regenerated.
35670 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
35671 conditional definition.
35672 [$(have-as-needed) != yes] (no-as-needed): Likewise.
35673 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
35674 * config.make.in (have-as-needed): Remove variable.
35675
ceab42c3
SP
356762012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35677 Paul Pluzhnikov <ppluzhnikov@google.com>
35678
35679 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
35680 strings correctly.
35681
3ce2865f
CLT
356822012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
35683
35684 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
35685 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
35686 * sysdeps/sh/strlen.S: Likewise.
35687
f37e0d68
JM
356882012-04-24 Joseph Myers <joseph@codesourcery.com>
35689
ae186e9a
JM
35690 * sysdeps/unix/fork.S: Remove file.
35691 * sysdeps/unix/i386/fork.S: Likewise.
35692 * sysdeps/unix/sparc/fork.S: Likewise.
35693
b96914af
JM
35694 * sysdeps/unix/system.c: Remove file.
35695 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
35696
f37e0d68
JM
35697 * sysdeps/unix/getegid.S: Remove file.
35698 * sysdeps/unix/geteuid.S: Likewise.
35699
87ef29ca
RM
357002012-04-24 Roland McGrath <roland@hack.frob.com>
35701
83bcd236
RM
35702 * scripts/check-localplt.awk: New file.
35703 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
35704 of diff.
35705 * scripts/data/localplt-generic.data: Add a comment.
35706
87ef29ca
RM
35707 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
35708 NODE when __dir_mkfile failed.
35709 * sysdeps/mach/hurd/symlinkat.c: Likewise.
35710 Reported by Ludovic Courtès <ludo@gnu.org>.
35711
e5a6e567
AJ
357122012-04-24 Andreas Jaeger <aj@suse.de>
35713
35714 * Makerules (common-clean): Also remove gen-as-const-headers
35715 files.
35716
c1820385
JM
357172012-04-24 Joseph Myers <joseph@codesourcery.com>
35718
35719 * Makerules (native-compile): Do not change working directory for
35720 build. Use $(OUTPUT_OPTION) in command.
35721 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
35722
94e02fc4
AZ
357232012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35724
35725 [BZ #13886]
35726 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
35727 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
35728 * math/libm-test.inc (floor_test): Add more tests.
35729 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
35730
3a533ca3
JM
357312012-04-24 Joseph Myers <joseph@codesourcery.com>
35732
940ab4b3
JM
35733 * sysdeps/unix/getdents.c: Remove file.
35734 * sysdeps/unix/sysv/getdents.c: Likewise.
35735 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
35736
90e037bd
JM
35737 * sysdeps/unix/syscalls.list (madvise): Add syscall from
35738 sysdeps/unix/mman/syscalls.list.
35739 (mmap): Likewise.
35740 (mprotect): Likewise.
35741 (msync): Likewise.
35742 (munmap): Likewise.
35743 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
35744 * sysdeps/unix/mman/syscalls.list: Remove.
35745 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
35746
3a533ca3
JM
35747 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
35748 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
35749 * configure: Regenerated.
35750 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
35751 $(libgcc_s_suffix).
35752 * config.make.in (libgcc_s_suffix): Remove variable.
35753
1ad743de
JM
357542012-04-23 Joseph Myers <joseph@codesourcery.com>
35755
4ad451e2
JM
35756 * sysdeps/unix/sysv/gethostname.c: Move to ...
35757 * sysdeps/posix/gethostname.c: ... here.
35758
5e37ce39
JM
35759 * sysdeps/unix/execve.S: Remove file.
35760
1ad743de
JM
35761 * sysdeps/unix/_exit.S: Remove file.
35762
4e681b5b
AJ
357632012-04-23 Andreas Jaeger <aj@suse.de>
35764
35765 [BZ #13739]
35766 * manual/Makefile: Remove make dist support, there's no
35767 need for a stand-alone documentation tar ball.
35768 (TEXI2DVI): Define always, it's not in Makeconfig.
35769 (dist): Removed.
35770 (tar-it): Removed.
35771 (edition): Removed.
35772 (glibc-doc-$(edition).tar): Removed
35773 (%.Z): Removed.
35774 (%.gz): Removed.
35775 (%.uu): Removed.
35776 (ETAGS): Remove, it's in Makeconfig.
35777 (move-if-change): Remove, it's in Makeconfig.
35778
38686a03 357792012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
35780
35781 [BZ #13970]
35782 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
35783 (strtod, strtof, strtold, strtol, strtoul, strtoq)
35784 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
35785 (strtod_l, strtof_l, strtold_l): Remove __wur.
35786 It is not necessarily an error to ignore strtol's return value.
35787 One can reliably look at the stored endptr to decide whether
35788 the number had valid syntax.
35789
7c0616fa
AJ
357902012-04-21 Andreas Jaeger <aj@suse.de>
35791
803cb6b7 35792 [BZ #13739]
7c0616fa
AJ
35793 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
35794
b0fe253f
JM
357952012-04-21 Joseph Myers <joseph@codesourcery.com>
35796
35797 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
35798 * sysdeps/unix/sysv/Versions: Remove file.
35799
8280f22d
MT
358002012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
35801
35802 [BZ #13927]
35803 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35804
75ce411f 358052012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
35806
35807 [BZ #7064]
35808 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
35809 version from __vm86.
35810
097d59fa
JM
358112012-04-20 Joseph Myers <joseph@codesourcery.com>
35812
a90f3bcb
JM
35813 * sysdeps/unix/common/lxstat.c: Remove file.
35814 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
35815
edc7ea78
JM
35816 * sysdeps/unix/sysv/Makefile: Remove file.
35817
cb78c221
JM
35818 * sysdeps/unix/sysv/direct.h: Remove file.
35819
efa6a45f
JM
35820 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
35821 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
35822 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
35823 * sysdeps/unix/sysv/bits/signum.h: Likewise.
35824 * sysdeps/unix/sysv/bits/stat.h: Likewise.
35825 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
35826 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
35827
9c9f2d0c
JM
35828 * sysdeps/unix/sysv/setrlimit.c: Remove file.
35829
4541c83b
JM
35830 * sysdeps/unix/xmknod.c: Remove file.
35831 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
35832
f5d153a0
JM
35833 * sysdeps/unix/sysv/settimeofday.c: Remove file.
35834
aa746595
JM
35835 * sysdeps/unix/sysv/i386/time.S: Remove file.
35836
cce5905e
JM
35837 * sysdeps/unix/fxstat.c: Remove file.
35838 * sysdeps/unix/xstat.c: Likewise.
35839 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
35840
37fa3841
JM
35841 * sysdeps/unix/sysv/sigaction.c: Remove file.
35842
ff1962a3
JM
35843 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
35844 (sysdep_headers): Remove variable.
35845 [termio.h not in sysdep_headers] (generated): Likewise.
35846 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
35847 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
35848 * sysdeps/unix/sysv/tcdrain.c: Likewise.
35849 * sysdeps/unix/sysv/tcflow.c: Likewise.
35850 * sysdeps/unix/sysv/tcflush.c: Likewise.
35851 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
35852 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
35853 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
35854 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
35855 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
35856
e7740d31
JM
35857 * sysdeps/unix/siglist.c: Remove file.
35858
ee06f18b
JM
35859 * sysdeps/unix/getppid.S: Remove file.
35860
097d59fa
JM
35861 * sysdeps/unix/mkdir.c: Remove file.
35862 * sysdeps/unix/rmdir.c: Likewise.
35863
ff3d51ec
AS
358642012-04-19 Andreas Schwab <schwab@linux-m68k.org>
35865
35866 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
35867 ERR_MAX value.
35868 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
35869 errlist-compat value.
35870
50f81fd7
DM
358712012-04-18 David S. Miller <davem@davemloft.net>
35872
35873 * sysdeps/generic/memcopy.h (reg_char): Delete.
35874 * debug/strcat_chk.c: Use char, not reg_char.
35875 * debug/strcpy_chk.c: Likewise.
35876 * debug/strncat_chk.c: Likewise.
35877 * debug/strncpy_chk.c: Likewise.
35878 * string/memchr.c: Likewise.
35879 * string/memrchr.c: Likewise.
35880 * string/rawmemchr.c: Likewise.
35881 * string/strcat.c: Likewise.
35882 * string/strchr.c: Likewise.
35883 * string/strchrnul.c: Likewise.
35884 * string/strcmp.c: Likewise.
35885 * string/strcpy.c: Likewise.
35886 * string/strncat.c: Likewise.
35887 * string/strncmp.c: Likewise.
35888 * string/strncpy.c: Likewise.
35889
8ff41c46
WS
358902012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35891
35892 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
35893 __builtin_memcopy is called when src and dest ranges are known to not
35894 overlap.
35895
6b652f46
WS
358962012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35897
35898 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
35899 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
35900 fwd_align_merge macro call.
35901 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
35902 bwd_align_merge macro call.
35903 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35904
b282631e
WS
359052012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35906
35907 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
35908 bwd_align_merge macros.
35909 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
35910 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
35911 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35912
95aa737c
DM
359132012-04-18 David S. Miller <davem@davemloft.net>
35914
35915 * sysdeps/sparc/sparc64/memcopy.h: Delete.
35916
7a99a614
AJ
359172012-04-18 Andreas Jaeger <aj@suse.de>
35918
35919 [BZ# 6794]
35920 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
35921 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
35922 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35923
35924 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
35925 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
35926 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35927
35928 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
35929 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
35930 Adjust for changed ldbl-128 files.
35931
35932 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
35933 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
35934 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35935
e5270c23
DM
359362012-04-17 David S. Miller <davem@davemloft.net>
35937
35938 * sysdeps/sparc/sparc32/memcopy.h: Delete.
35939
fb5e92c9
AS
359402012-04-17 Andreas Schwab <schwab@linux-m68k.org>
35941
35942 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
35943 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
35944 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
35945 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
35946 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
35947 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
35948
76da7265
AZ
359492012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35950
35951 [BZ #6794]
35952 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
35953 * math/libm-test.inc: Add ilogb errno and exception tests.
35954 * math/w_ilogb.c: New file: ilogb wrapper.
35955 * math/w_ilogbf.c: New file: ilogbf wrapper.
35956 * math/w_ilogbl.c: New file: ilogbl wrapper.
35957 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
35958 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
35959 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
35960 exception being thrown with 0.0 as argument.
35961 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
35962 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
35963 exception being thrown with 0.0 as argument.
35964 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
35965 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35966 exception being thrown with 0.0 as argument.
35967 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
35968 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35969 exception being thrown with 0.0 as argument.
35970 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
35971 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 35972 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
35973 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
35974 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
35975 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
35976 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
35977 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
35978 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
35979
0396e69d
PB
359802012-04-17 Petr Baudis <pasky@ucw.cz>
35981
35982 * include/sys/uio.h: Change __vector to __iovec to avoid clash
35983 with altivec.
35984
750b5926
MP
359852012-04-16 Marek Polacek <polacek@redhat.com>
35986
35987 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
35988
751728a1
MP
359892012-04-16 Marek Polacek <polacek@redhat.com>
35990
35991 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
35992 operands of fdivp instruction.
35993
34a27407
L
359942012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35995
35996 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
35997 * elf/tst-auditmod3b.c: Likewise.
35998 * elf/tst-auditmod4b.c: Likewise.
35999 * elf/tst-auditmod5b.c: Likewise.
36000 * elf/tst-auditmod6b.c: Likewise.
36001 * elf/tst-auditmod6c.c: Likewise.
36002 * elf/tst-auditmod7b.c: Likewise.
36003 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
36004 * sysdeps/x86_64/preconfigure.in: Likewise.
36005 * sysdeps/x86_64/preconfigure: Regenerated.
36006
7e73e17d
L
360072012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36008
36009 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
36010 __ILP32__.
36011
c7a6ab72
AB
360122012-04-13 Antoine Balestrat <merkil33@gmail.com>
36013
36014 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36015 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
36016
a9e8e0e0
CL
360172012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
36018
36019 [BZ #13973]
36020 * locale/iso-639.def: Fix gl language name. Spotted by
36021 Yaron Shahrabani.
36022
ec98af7d
RM
360232012-04-12 Roland McGrath <roland@hack.frob.com>
36024
36025 [BZ #2074]
36026 * libio/libio.h (__io_write_fn): Update comment.
36027
247c3ede
PB
360282012-04-12 Petr Baudis <pasky@ucw.cz>
36029
36030 [BZ #2074]
36031 * stdio.texi (Hook Functions): The user provided writer function
36032 is not allowed to return -1.
36033
55939d6d
DM
360342012-04-11 David S. Miller <davem@davemloft.net>
36035
36036 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36037
90020f5a
MF
360382012-04-11 Mike Frysinger <vapier@gentoo.org>
36039
36040 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
36041 Add a leading slash to rtkaio.
36042
288f9098
JM
360432012-04-11 Jim Meyering <meyering@redhat.com>
36044
90020f5a
MF
36045 [BZ #11959]
36046 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
36047 It is not necessarily an error to ignore fwrite's return
36048 value. One can reliably use ferror to test for errors after
36049 the fact.
288f9098 36050
4be2b570
L
360512012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36052
36053 * bits/types.h (__snseconds_t): New type.
36054 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
36055
36056 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
36057 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36058 (__SNSECONDS_T_TYPE): Likewise.
36059 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36060 (__SNSECONDS_T_TYPE): Likewise.
36061 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36062 (__SNSECONDS_T_TYPE): Likewise.
36063
288f9098 360642012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
36065
36066 [BZ #2636]
36067 * manual/time.texi (Processor Time): Return type of times is
36068 elapsed real time since an arbitrary point in the past.
36069 (CPU Time): Move CLK_TCK from here...
36070 (Processor Time): ...to here. Correct description.
36071 * manual/conf.texi (Constants for Sysconf): Correct description of
36072 _SC_CLK_TCK.
36073
d7dd4413
DM
360742012-04-10 David S. Miller <davem@davemloft.net>
36075
36076 [BZ #13967]
36077 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
36078 where the is a gap between DT_REL(A) and DT_JMPREL.
36079
b46068fc
L
360802012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36081
36082 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
36083 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36084 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36085
73d65cc3
SP
360862012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36087
36088 * elf/dl-support.c (_dl_inhibit_cache): New variable.
36089 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
36090 (dl_main): Handle --inhibit-cache.
36091 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
36092 _dl_inhibit_cache.
36093 * elf/dl-load.c (_dl_map_object): Use it.
36094 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
36095
bcc8d661
JM
360962012-04-09 Joseph Myers <joseph@codesourcery.com>
36097
8f9a2fae
JM
36098 [BZ #13872]
36099 * sysdeps/i386/fpu/e_powl.S (p78): New object.
36100 (__ieee754_powl): Saturate large exponents rather than testing for
36101 overflow of y*log2(x).
36102 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36103 * math/libm-test.inc (pow_test): Do not permit spurious overflow
36104 exceptions.
36105
bcc8d661
JM
36106 [BZ #11521]
36107 * math/s_ctan.c: Include <float.h>.
36108 (__ctan): Avoid internal overflow or cancellation in calculating
36109 denominator.
36110 * math/s_ctanf.c: Likewise.
36111 * math/s_ctanl.c: Likewise.
36112 * math/s_ctanh.c: Likewise.
36113 * math/s_ctanhf.c: Likewise.
36114 * math/s_ctanhl.c: Likewise.
36115 * math/libm-test.inc (ctan_test): Add more tests.
36116 (ctanh_test): Likewise.
36117 * sysdeps/i386/fpu/libm-test-ulps: Update.
36118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36119
823fbbb4
AJ
361202012-04-09 Andreas Jaeger <aj@suse.de>
36121
03879793
AJ
36122 [BZ #6894]
36123 * manual/filesys.texi (Directory Entries): Mention that d_namlen
36124 is an optional BSD extension.
36125
823fbbb4
AJ
36126 [BZ #10254]
36127 * manual/stdio.texi (Opening Streams): Document additional fopen
36128 parameters.
36129
8de131cb
RM
361302012-04-09 Roland McGrath <roland@hack.frob.com>
36131
36132 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
36133 %eax without telling the compiler.
36134
c0ed9d7d
CD
361352012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
36136
36137 [BZ # 13963]
36138 * manual/install.texi: Use sourceware.org.
36139
c483f6b4
JM
361402012-04-09 Joseph Myers <joseph@codesourcery.com>
36141
d7dd9453
JM
36142 [BZ #13873]
36143 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
36144 (__ieee754_pow): Generate overflow and underflow using huge*huge
36145 and tiny*tiny rather than just returning constant infinity or zero
36146 for large exponents.
36147 * math/libm-test.inc (pow_test): Require overflow exceptions for
36148 applicable cases of large exponents.
36149
c483f6b4
JM
36150 [BZ #706]
36151 * sysdeps/i386/fpu/e_pow.S (p10): New object.
36152 (__ieee754_pow): Use iterative multiplication algorithm only for
36153 integer exponents with absolute value below 1024. Check for odd
36154 integer exponents when using algorithm for real exponents.
36155 * math/libm-test.inc (pow_test): Add more tests.
36156 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36157
d2de7579
JM
361582012-04-08 Joseph Myers <joseph@codesourcery.com>
36159
36160 [BZ #13705]
36161 * math/libm-test.inc (exp_test): Do not allow overflow exception
36162 on underflow test.
36163
f77f1232
AJ
361642012-04-08 Aurelien Jarno <aurelien@aurel32.net>
36165
36166 [BZ #13705]
36167 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
36168 instead of __kernel_standard_f.
36169
3884932b
MF
361702012-04-08 Mike Frysinger <vapier@gentoo.org>
36171
36172 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
36173 * sysdeps/x86_64/memset_chk.S: Likewise.
36174
54472e9c
AJ
361752012-04-08 Andreas Jaeger <aj@suse.de>
36176
6ab0fbfc
AJ
36177 [BZ #10153]
36178 * manual/startup.texi (Environment Access): Describe return value
36179 for putenv and setenv.
36180
61efba8c
AJ
36181 [BZ #6895]
36182 * manual/filesys.texi (Directory Entries): Add description for
36183 DT_LNK.
36184
95c3f29a
AJ
36185 [BZ #6890]
36186 * manual/filesys.texi (Directory Entries): Clarify that it's file
36187 system not operating system in the description of DT_UNKNOWN.
36188
54472e9c
AJ
36189 [BZ #6578]
36190 * manual/syslog.texi (closelog): Fix reference, it's openlog.
36191
624254b1
SC
361922012-04-08 Stephen Compall <s11@member.fsf.org>
36193
36194 [BZ #6649]
36195 * manual/llio.texi (Opening and Closing Files): Add cross
36196 reference to explain mode argument.
36197
1e4920e0
MF
361982012-04-07 Mike Frysinger <vapier@gentoo.org>
36199
36200 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
36201 * sysdeps/x86_64/memset_chk.S: Likewise.
36202
5ed848f3
DM
362032012-04-07 David S. Miller <davem@davemloft.net>
36204
36205 * elf/elf.h (R_SPARC_WDISP10): Define.
36206 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
36207 R_SPARC_SIZE32.
36208 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
36209 R_SPARC_SIZE64 and R_SPARC_H34.
36210
96154cd8
CD
362112012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
36212
36213 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
36214 conditions and remove no longer applicable assertion.
36215
9904dc47
L
362162012-04-06 H.J. Lu <hongjiu.lu@intel.com>
36217
36218 * bits/byteswap.h: Include <features.h>.
36219 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36220 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36221
f8887d0a
L
362222012-04-06 H.J. Lu <hongjiu.lu@intel.com>
36223
36224 * bits/byteswap.h (__bswap_16): Removed.
36225 Include <bits/byteswap-16.h> to get __bswap_16.
36226 * sysdeps/i386/bits/byteswap.h: Likewise.
36227 * sysdeps/s390/bits/byteswap.h: Likewise.
36228 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36229 * bits/byteswap-16.h: New file.
36230 * sysdeps/i386/bits/byteswap-16.h: Likewise.
36231 * sysdeps/s390/bits/byteswap-16.h: Likewise.
36232 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
36233 * string/Makefile (headers): Add bits/byteswap-16.h.
36234
62470f60
PP
362352012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36236
36237 [BZ #13895]
36238 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
36239 extra indirection.
36240 * nss/Makefile (tests-static, tests): Add tst-nss-static.
36241 * nss/tst-nss-static.c: New.
36242
4dad7bab
RM
362432012-04-06 Robert Millan <rmh@gnu.org>
36244
36245 [BZ #6486]
36246 * manual/llio.texi (File Position Primitive): lseek
36247 refers to WHENCE when it really means OFFSET.
36248
e9142a17
AJ
362492012-04-06 Andreas Jaeger <aj@suse.de>
36250
2c040eff
AJ
36251 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
36252 strncmp declarations.
36253
e9142a17
AJ
36254 * abilist/libc.abilist: Add __poll and __ppoll.
36255
ff9f1c5f
DM
362562012-04-05 David S. Miller <davem@davemloft.net>
36257
dcd2ae90
DM
36258 * scripts/check-local-headers.sh: Accept a host triplet in the
36259 path matched by the exclude regexp.
36260
993eb054
DM
36261 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
36262 definition.
36263 * sysdeps/powerpc/powerpc32/dl-machine.h
36264 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
36265 * sysdeps/s390/s390-32/dl-machine.h
36266 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36267 * sysdeps/sparc/sparc32/dl-machine.h
36268 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36269 * sysdeps/sparc/sparc64/dl-machine.h
36270 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36271
ff9f1c5f
DM
36272 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
36273 lazy binding.
48e2e132 36274 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
36275 undefined symbol errors.
36276
48e2e132 36277 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
36278 DT_NEEDED entries.
36279
e80d6f94
MM
362802012-04-05 Michael Matz <matz@suse.de>
36281
36282 [BZ #13592]
36283 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
36284
349fa79f
AJ
362852012-04-05 Andreas Jaeger <aj@suse.de>
36286
36287 [BZ #13908]
36288 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
36289 comment.
36290
f402708f
KK
362912012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36292
36293 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
36294 which ROUND is no valid rounding mode.
36295
2ecccfc9
KK
362962012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36297
36298 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
36299 read again.
36300 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
36301
8a53f50f
KK
363022012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36303
36304 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
36305 an exception using FPU order intentionally.
36306
363072012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36308
36309 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
36310 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
36311 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
36312 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
36313
d653abb7
SJ
363142012-04-05 Simon Josefsson <simon@josefsson.org>
36315
36316 [BZ #12340]
36317 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
36318 EINVAL when BUFLEN is too smal.
36319
c3b1bf7d
TS
363202012-04-05 Thomas Schwinge <thomas@codesourcery.com>
36321
36322 [BZ #13553]
36323 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
36324 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
36325
b1aa60f3
AJ
363262012-04-03 Andreas Jaeger <aj@suse.de>
36327
c3b1bf7d 36328 [BZ #13938]
67f60a26
AJ
36329 * manual/setjmp.texi (System V contexts): Fix sentence.
36330
b1aa60f3
AJ
36331 [BZ #13926]
36332 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
36333 New macro for this case.
36334 [!__GNUC__] (__bswap_64): New inline function for this case.
36335 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36336 * bits/byteswap.h: Likewise.
36337 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
36338 ull, guard with __GLIBC_HAVE_LONG_LONG.
36339
36340 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
36341 __GLIBC_HAVE_LONG_LONG.
36342
36343 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
36344 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
36345
39c59c35
TMQMF
363462012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36347
36348 [BZ #13691]
36349 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
36350 inptr and inend, rather than using last_ch.
36351
135ffda8
DM
363522012-04-02 David S. Miller <davem@davemloft.net>
36353
36354 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
36355 * stdio-common/printf-parse.h (read_int): Change return type to
36356 'int', return -1 on INT_MAX overflow.
36357 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
36358 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
36359 overflows INT_MAX. Check for overflow of in-format-string precision
36360 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
36361 SIZE_MAX not INT_MAX for integer overflow test.
36362 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
36363 skip the construct in the format string but do not record anything.
36364 * stdio-common/bug22.c: Adjust to test both width/prevision
36365 INT_MAX overflow as well as total length INT_MAX overflow. Check
36366 explicitly for proper errno values.
36367
228c019e
TS
363682012-04-02 Thomas Schwinge <thomas@codesourcery.com>
36369
302cadd3
TS
36370 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
36371 CHAR_MAX.
36372 * string/test-strcmp.c [! WIDE]: Likewise.
36373 * time/tst-mktime2.c: Likewise for INT_MAX.
36374 * string/test-string.h: #include <sys/param.h> for MIN.
36375
228c019e
TS
36376 * csu/init-first.c (__libc_init_first): Call __ctype_init.
36377 * sysdeps/i386/init-first.c (init): Likewise.
36378 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
36379 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
36380 * sysdeps/sh/init-first.c (init): Likewise.
36381
cfa633f5
UD
363822012-04-01 Ulrich Drepper <drepper@gmail.com>
36383
36384 * po/ru.po: Update from translation team.
d1635ef8 36385 * po/vi.po: Likewise.
cfa633f5 36386
6cd0a5ea
SP
363872012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
36388
36389 * resolv/nss_dns/dns-host.c: Merge copyright years.
36390
4b43400f
LD
363912012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36392
36393 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36394 Optimize memcpy with prefetch if
36395 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
36396 src, dst pointers have unequal 16 byte alignments.
36397
48c41d04
SP
363982012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
36399
36400 [BZ #13928]
36401 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
36402 from a CNAME entry and return the minimum ttl for the query.
36403 (gaih_getanswer_slice): Likewise.
36404
b8dc394d
JL
364052012-03-30 Jeff Law <law@redhat.com>
36406
36407 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
36408 due to long keys.
36409 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
36410 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
36411
2f5a5ed0
JL
36412 * resolv/nss_dns/dns-host.c: Update copyright year.
36413
1d39e359
UD
364142012-03-30 Ulrich Drepper <drepper@gmail.com>
36415
c030f70c 36416 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 36417 requests to save a system call. Fix check that all bytes are sent.
c030f70c 36418
1d39e359
UD
36419 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
36420 comments for sendmmsg.
36421
364222012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
36423
36424 [BZ #13691]
36425 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
36426 with only 1 character between 0x0041 and 0x01b0.
36427 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
36428 * wcsmbs/tst-mbsnrtowcs.c: New file.
36429
20fde227
DM
364302012-03-29 David S. Miller <davem@davemloft.net>
36431
36432 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
36433 small copies by hand.
36434
984a4237
JL
364352012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36436
36437 [BZ #13761]
57f41c40
AS
36438 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
36439 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
36440 group memberships.
984a4237 36441
18c9d62b
DM
364422012-03-28 David S. Miller <davem@davemloft.net>
36443
88d85d4f
DM
36444 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
36445 that branches into memcpy.
36446 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
36447 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
36448 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36449 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
36450 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
36451 bits.
36452 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
36453 implementation too.
36454 * sysdeps/sparc/mempcpy.S: New file.
36455
e5aa83e1
DM
36456 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
36457 the IFUNC routine in the libc case.
36458 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36459
88570753
DM
36460 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
36461 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
36462 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
36463 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
36464 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
36465 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
36466 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
36467 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
36468
249d7567
DM
36469 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
36470 loop to 256 bytes instead of 64 bytes and fix test signedness.
36471
18c9d62b
DM
36472 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
36473 * sysdeps/sparc/sparc32/Makefile: rather than here...
36474 * sysdeps/sparc/sparc64/Makefile: and here.
36475
05f3d1f6
UD
364762012-03-28 Ulrich Drepper <drepper@gmail.com>
36477
36478 * malloc/mallocbug.c: Avoid warnings about unused variables.
36479
86ae07a8
JL
364802012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
36481
36482 [BZ #13760]
36483 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
36484 in the right place. Discard and retry query if response is
36485 larger than input buffer size.
36486
41bf21a1
JM
364872012-03-28 Joseph Myers <joseph@codesourcery.com>
36488
d6270972
JM
36489 [BZ #369]
36490 [BZ #2678]
36491 [BZ #3866]
36492 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
36493 x for large integer exponent.
36494 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36495 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
36496 sign of result as needed afterwards.
36497 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
36498 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
36499 result for underflowing pow the same as for overflow.
36500 (__kernel_standard_l): Handle powl overflow and underflow here
36501 rather than calling __kernel_standard.
36502 * math/libm-test.inc (pow_test): Add more tests.
36503
414fca03 36504 [BZ #3868]
41bf21a1
JM
36505 [BZ #13879]
36506 [BZ #13910]
36507 [BZ #13911]
36508 [BZ #13912]
36509 [BZ #13913]
36510 [BZ #13915]
36511 [BZ #13916]
36512 [BZ #13917]
36513 [BZ #13918]
36514 [BZ #13919]
36515 [BZ #13920]
36516 [BZ #13921]
36517 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
36518 * sysdeps/ieee754/k_standard.c: Include <float.h>.
36519 (__kernel_standard_l): New function.
36520 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
36521 __kernel_standard.
36522 * math/w_acosl.c (__acosl): Likewise.
36523 * math/w_asinl.c (__asinl): Likewise.
36524 * math/w_atan2l.c (__atan2l): Likewise.
36525 * math/w_atanhl.c (__atanhl): Likewise.
36526 * math/w_coshl.c (__coshl): Likewise.
36527 * math/w_exp10l.c (__exp10l): Likewise.
36528 * math/w_exp2l.c (__exp2l): Likewise.
36529 * math/w_fmodl.c (__fmodl): Likewise.
36530 * math/w_hypotl.c (__hypotl): Likewise.
36531 * math/w_j0l.c (__j0l, __y0l): Likewise.
36532 * math/w_j1l.c (__j1l, __y1l): Likewise.
36533 * math/w_jnl.c (__jnl, __ynl): Likewise.
36534 * math/w_lgammal.c (__lgammal): Likewise.
36535 * math/w_log10l.c (__log10l): Likewise.
36536 * math/w_log2l.c (__log2l): Likewise.
36537 * math/w_logl.c (__logl): Likewise.
36538 * math/w_powl.c (__powl): Likewise.
36539 * math/w_remainderl.c (__remainderl): Likewise.
36540 * math/w_scalbl.c (sysv_scalbl): Likewise.
36541 * math/w_sinhl.c (__sinhl): Likewise.
36542 * math/w_sqrtl.c (__sqrtl): Likewise.
36543 * math/w_tgammal.c (__tgammal): Likewise.
36544 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
36545 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
36546 * math/libm-test.inc (acos_test): Add more tests.
36547 (acosh_test): Likewise.
36548 (asin_test): Likewise.
36549 (atanh_test): Likewise.
36550 (exp_test): Likewise.
36551 (exp10_test): Likewise.
36552 (exp2_test): Likewise.
36553 (expm1_test): Likewise.
36554 (lgamma_test): Likewise.
36555 (log_test): Likewise.
36556 (log10_test): Likewise.
36557 (log1p_test): Likewise.
36558 (log2_test): Likewise.
36559 (pow_test): Do not allow some spurious overflow exceptions.
36560 (sqrt_test): Add more tests.
36561 (tgamma_test): Likewise.
36562 (y0_test): Likewise.
36563 (y1_test): Likewise.
36564 (yn_test): Likewise.
36565
dd62fda6
AB
365662012-03-27 Anton Blanchard <anton@samba.org>
36567
36568 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
36569 MAP_HUGETLB.
36570 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36571 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36572 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36573
1e3cdfda
AJ
365742012-03-27 David S. Miller <davem@davemloft.net>
36575
b855ab85
DM
36576 * conform/Makefile: Run run-conformtest.sh using $(BASH).
36577
1e3cdfda
AJ
36578 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
36579 have-as-vis3 check.
36580
365812012-03-27 Andreas Jaeger <aj@suse.de>
36582
36583 * sysdeps/x86_64/elf/configure.in: Moved to ...
36584 * sysdeps/x86_64/configure.in: ... here.
36585 * sysdeps/x86_64/elf/start.S: Moved to ...
36586 * sysdeps/x86_64/start.S: ... here.
36587 * sysdeps/x86_64/elf/configure: Delete.
36588
36589 * sysdeps/x86_64/configure.in: Merge contents from
36590 sysdeps/i386/configure.in (without i686 check).
36591
36592 * sysdeps/i386/elf/Versions: Merge into ...
36593 * sysdeps/i386/Versions: ... this.
36594 * sysdeps/i386/elf/Versions: Delete file.
36595 * sysdeps/i386/elf/start.S: Moved to ...
36596 * sysdeps/i386/start.S: ...here.
36597 * sysdeps/i386/elf/configure.in: Merge into...
36598 * sysdeps/i386/configure.in: ...here.
36599 * sysdeps/i386/elf/configure.in: Delete file.
36600 * sysdeps/i386/elf/configure: Delete file.
36601
36602 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
36603 * debug/backtracesyms.c: ... here.
36604 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
36605 * debug/backtracesymsfd.c: ... here.
36606 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
36607 * sysdeps/generic/ifunc-sel.h: ... here.
36608
36609 * sysdeps/unix/i386/start.c: Delete file.
36610 * sysdeps/unix/sparc/start.c: Delete file.
36611 * sysdeps/unix/start.c: Delete file.
36612
36613 * sysdeps/sh/elf/configure.in: Moved to ...
36614 * sysdeps/sh/configure.in: ... here.
36615 * sysdeps/sh/elf/start.S: Moved to ...
36616 * sysdeps/sh/start.S: ... here.
36617 * sysdeps/sh/elf/configure: Delete file.
36618
36619 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
36620 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
36621 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
36622 * sysdeps/powerpc/powerpc64/entry.h: ... here.
36623 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
36624 * sysdeps/powerpc/powerpc64/start.S: here.
36625 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
36626 * sysdeps/powerpc/powerpc64/Makefile: ... this.
36627 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
36628 * sysdeps/powerpc/powerpc64/configure.in: ... this.
36629 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
36630
36631 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
36632 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
36633 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
36634 * sysdeps/powerpc/powerpc32/start.S: ... here.
36635 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
36636 * sysdeps/powerpc/powerpc32/configure.in: ... this.
36637 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
36638
36639 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
36640 * sysdeps/powerpc/ifunc-sel.h: ... here.
36641 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
36642 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
36643
36644 * sysdeps/sparc/elf/configure.in: Moved to ...
36645 * sysdeps/sparc/configure.in: ... here.
36646 * sysdeps/sparc/elf/configure: Delete file.
36647 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
36648 * sysdeps/sparc/sparc32/start.S: ... here.
36649 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
36650 * sysdeps/sparc/sparc64/start.S: ... here.
36651 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
36652 * sysdeps/sparc/sparc32/Makefile: ... this.
36653 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
36654 * sysdeps/sparc/sparc64/Makefile: ... this.
36655
36656 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
36657 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
36658 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
36659 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
36660 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
36661 * sysdeps/s390/s390-32/setjmp.S: ... here.
36662 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
36663 * sysdeps/s390/s390-32/configure.in: ... here.
36664 * sysdeps/s390/s390-32/elf/configure: Delete file.
36665 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
36666 * sysdeps/s390/s390-32/start.S: ... here.
36667
36668 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
36669 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
36670 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
36671 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
36672 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
36673 * sysdeps/s390/s390-64/setjmp.S: ... here.
36674 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
36675 * sysdeps/s390/s390-64/configure.in: ... here
36676 * sysdeps/s390/s390-64/elf/configure: Delete file.
36677 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
36678 * sysdeps/s390/s390-64/start.S: ... here.
36679 * sysdeps/s390/s390-64/elf/configure: Delete.
36680
36681 * configure.in: Remove support for elf directories in sysdeps.
36682
36683 * configure: Regenerated.
36684 * sysdeps/i386/configure: Regenerated.
36685 * sysdeps/powerpc/powerpc32/configure: Regenerated.
36686 * sysdeps/powerpc/powerpc64/configure: Regenerated.
36687 * sysdeps/s390/s390-32/configure: Regenerated.
36688 * sysdeps/s390/s390-64/configure: Regenerated.
36689 * sysdeps/sh/configure: Regenerated.
36690 * sysdeps/sparc/configure: Regenerated.
36691 * sysdeps/x86_64/configure: Regenerated.
36692
a3f61311
AS
366932012-03-26 Andreas Schwab <schwab@linux-m68k.org>
36694
c876e002
AS
36695 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36696
a3f61311
AS
36697 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
36698 denormal result into account.
36699
ac4c54f0
RM
367002012-03-25 Roland McGrath <roland@hack.frob.com>
36701
36702 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
36703 Reported by Allan McRae <allan@archlinux.org>.
36704
6a9b9c02
JL
367052012-03-23 Jeff Law <law@redhat.com>
36706
36707 * nss/getnssent.c (__nss_getent): Fix typo.
36708
4c42a0c1
DM
367092012-03-23 David S. Miller <davem@davemloft.net>
36710
36711 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36712
1532c7ac
L
367132012-03-23 H.J. Lu <hongjiu.lu@intel.com>
36714
36715 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
36716 to pad to uint64_t for each field.
36717 (dl_tls_index): Replace unsigned long with uint64_t.
36718
3ff42526
PP
367192012-03-23 Daniel Jacobowitz <dmj@google.com>
36720 Paul Pluzhnikov <ppluzhnikov@google.com>
36721
36722 [BZ #6528]
36723 * grp/Makefile (otherlibs): Don't set it.
36724 * inet/Makefile (otherlibs): Likewise.
36725 * login/Makefile (otherlibs): Likewise.
36726 * nscd/Makefile (otherlibs): Likewise.
36727 * posix/Makefile (otherlibs): Likewise.
36728 * pwd/Makefile (otherlibs): Likewise.
36729 * rt/Makefile (otherlibs): Likewise.
36730 * sunrpc/Makefile (otherlibs): Likewise.
36731 * nss/Makefile (otherlibs): Likewise.
36732 Add libnss_files to routines and static-only-routines.
36733 ($(objpfx)getent): Remove rule.
36734 * resolv/Makefile: Add libnss_dns and libresolv to routines and
36735 static-only-routines.
36736
7c69cd14
JM
367372012-03-22 Joseph Myers <joseph@codesourcery.com>
36738
36739 [BZ #13892]
36740 * math/s_cexp.c: Include <float.h>.
36741 (__cexp): Handle exp result overflowing not necessarily
36742 overflowing both real and imaginary parts of result.
36743 * math/s_cexpf.c: Likewise.
36744 * math/s_cexpl.c: Likewise.
36745 * math/libm-test.inc (cexp_test): Add more tests.
36746 * sysdeps/i386/fpu/libm-test-ulps: Update.
36747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36748
81b035fe
L
367492012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36750
36751 * include/link.h (ELFW): New macro.
36752 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
36753 Replace ELF64_R_TYPE with ELFW(R_TYPE).
36754
1da7940c
L
367552012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36756
36757 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
36758 with uint64_t.
36759
b749dbb9
L
367602012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36761
36762 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
36763 declaration.
36764 (struct La_x32_retval): Likewise.
36765
2ff87f3f
L
367662012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36767
36768 * sysdeps/x86_64/preconfigure.in: New file.
36769 * sysdeps/x86_64/preconfigure: New generated file.
36770
c0df8e69
JM
367712012-03-22 Joseph Myers <joseph@codesourcery.com>
36772
48e44791
JM
36773 [BZ #13824]
36774 * math/e_exp2l.c: Include <float.h>.
36775 (__ieee754_exp2l): Handle overflow and underflow cases
36776 separately. Only pass fractional part of argument to
36777 __ieee754_expl.
36778 * math/libm-test.inc (exp2_test): Add more tests.
36779
c0df8e69
JM
36780 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
36781 negating x to take absolute value.
36782 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
36783 Likewise.
36784 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
36785 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
36786 Likewise.
36787 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
36788 computing low part if x was negated.
36789 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
36790
c8e43ba7
L
367912012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36792
36793 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
36794 la_x32_gnu_pltexit.
36795 (pltexit): Cast int_retval to ptrdiff_t.
36796 * elf/tst-auditmod3b.c: Likewise.
36797 * elf/tst-auditmod4b.c: Likewise.
36798 * elf/tst-auditmod5b.c: Likewise.
36799 * elf/tst-auditmod6b.c: Likewise.
36800 * elf/tst-auditmod6c.c: Likewise.
36801 * elf/tst-auditmod7b.c: Likewise.
36802
36803 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
36804 and x32_gnu_pltexit.
36805
36806 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
36807 __ELF_NATIVE_CLASS.
36808 (La_x32_regs): New macro.
36809 (La_x32_retval): Likewise.
36810 (la_x32_gnu_pltenter): New function prototype.
36811 (la_x32_gnu_pltexit): Likewise.
36812
7998fa78
AS
368132012-03-21 Andreas Schwab <schwab@linux-m68k.org>
36814
dcb33988
AS
36815 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
36816 exponent.
36817
233fc563
AS
36818 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36819
7998fa78
AS
36820 * configure.in (libc_cv_cc_nofma): Check for option to disable
36821 generation of FMA instructions.
36822 * configure: Regenerate.
36823 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
36824 * sysdeps/ieee754/dbl-64/Makefile: New file.
36825 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36826 Remove brandred-fma4.
36827 (CFLAGS-brandred-fma4.c): Remove.
36828 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
36829 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
36830 define.
36831 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
36832 define.
36833
8e95c99a
L
368342012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36835
36836 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36837 LLONG_MAX != LONG_MAX.
36838 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36839 (_fitoa_word): Likewise.
36840 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
36841 LLONG_MAX != LONG_MAX.
36842 * stdio-common/_itowa.h: Include <_itoa.h>.
36843 (_itowa_word): Use _ITOA_WORD_TYPE on value.
36844 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
36845 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
36846 only if not defined.
36847 (_ITOA_WORD_TYPE): Likewise.
36848 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36849 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
36850
6f4db457
DM
368512012-03-21 David S. Miller <davem@davemloft.net>
36852
36853 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36854
7785fe5a
L
368552012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36856
36857 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
36858 of x86_64 when setting libc_cv_slibdir, libdir and
36859 libc_cv_localedir.
36860 * sysdeps/unix/sysv/linux/configure: Regenerated.
36861
4535cd55
JM
368622012-03-21 Joseph Myers <joseph@codesourcery.com>
36863
36864 * manual/lang.texi (Old Varargs): Remove section.
36865 (How Variadic): Update menu.
36866 (va_start): Do not mention varargs.h.
36867
17228132
TS
368682012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36869 Joseph Myers <joseph@codesourcery.com>
36870
36871 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
36872 link test.
36873 * configure: Regenerated.
36874
8149f976
TS
368752012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36876
05f3d1f6
UD
36877 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
36878 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
36879 conformtest.pl
8149f976 36880
1a4ac776
JM
368812012-03-21 Joseph Myers <joseph@codesourcery.com>
36882
be22ce65
JM
36883 * NOTES: Remove.
36884 * Makefile (files-for-dist): Remove NOTES.
36885 (NOTES): Remove rule.
36886 * README: Don't refer to NOTES.
36887 * manual/creature.texi: Don't include macros.texi.
36888 * manual/intro.texi (creature.texi): Remove comment referring to
36889 NOTES.
36890
40b601fb
JM
36891 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
36892 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
36893 * configure: Regenerated.
36894 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
36895 LIBC_TRY_CC_OPTION.
36896 (libc_cv_as_i686): Likewise.
36897 (libc_cv_cc_avx): Likewise.
36898 (libc_cv_cc_sse2avx): Likewise.
36899 (libc_cv_cc_fma4): Likewise.
36900 (libc_cv_cc_novzeroupper): Likewise.
36901 * sysdeps/i386/configure: Regenerated.
36902
1a4ac776
JM
36903 [BZ #13883]
36904 * sysdeps/i386/fpu/s_cexp.S: Remove.
36905 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36906 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36907 * math/libm-test.inc (cexp_test): Add more tests.
36908 * sysdeps/i386/fpu/libm-test-ulps: Update.
36909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36910
a458e7fe
AM
369112012-03-21 Allan McRae <allan@archlinux.org>
36912
36913 * timezone/Makefile: Do not install iso3166.tab and zone.tab
36914
0cb7efc5
JM
369152012-03-21 Joseph Myers <joseph@codesourcery.com>
36916
36917 [BZ #13871]
36918 * math/w_exp2.c: Do not include <float.h>.
36919 (o_threshold, u_threshold): Remove.
36920 (__exp2): Calculate result before checking finiteness and calling
36921 __kernel_standard.
36922 * math/w_exp2f.c: Likewise.
36923 * math/w_exp2l.c: Likewise.
36924 * math/libm-test.inc (exp2_test): Require overflow exception for
36925 1e6 input.
2460d3aa
JM
36926
36927 [BZ #3866]
36928 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
36929 range of signed 64-bit integers before using fistpll. Remove
36930 checks for whether integers fit in mantissa bits.
36931 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
36932 the range of signed 32-bit integers before using fistpl. Remove
36933 checks for whether integers fit in mantissa bits.
36934 * sysdeps/i386/fpu/e_powl.S (p64): New object.
36935 (__ieee754_powl): Test for y outside the range of signed 64-bit
36936 integers before using fistpll. Reduce 64-bit values to 63-bit
36937 ones as needed.
36938 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
36939 divide-by-zero is raised for zero to large negative powers.
36940 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
36941 (__ieee754_powl): Test for y outside the range of signed 64-bit
36942 integers before using fistpll. Reduce 64-bit values to 63-bit
36943 ones as needed.
36944 * math/libm-test.inc (pow_test): Add more tests.
36945
eb96ffb0
L
369462012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36947
36948 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
36949 <stdio-common/_itoa.h>.
36950 * debug/segfault.c: Likewise.
36951 * elf/dl-cache.c: Likewise.
36952 * elf/dl-minimal.c: Likewise.
36953 * elf/dl-misc.c: Likewise.
36954 * elf/dl-sysdep.c: Likewise.
36955 * elf/dl-version.c: Likewise.
36956 * elf/rtld.c: Likewise.
36957 * hurd/hurdsock.c: Likewise.
36958 * hurd/lookup-retry.c: Likewise.
36959 * malloc/malloc.c: Likewise.
36960 * malloc/mtrace.c: Likewise.
36961 * nscd/nscd_getgr_r.c: Likewise.
36962 * nscd/nscd_getpw_r.c: Likewise.
36963 * nscd/nscd_getserv_r.c: Likewise.
36964 * posix/getopt_init.c: Likewise.
36965 * posix/wordexp.c: Likewise.
36966 * stdio-common/_itoa.c: Likewise.
36967 * stdio-common/printf_fphex.c: Likewise.
36968 * stdio-common/vfprintf.c: Likewise.
36969 * string/_strerror.c: Likewise.
36970 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
36971 * sysdeps/i386/i686/hp-timing.h: Likewise.
36972 * sysdeps/mach/_strerror.c: Likewise.
36973 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
36974 * sysdeps/mach/hurd/sethostid.c: Likewise.
36975 * sysdeps/mach/hurd/xmknodat.c: Likewise.
36976 * sysdeps/mach/xpg-strerror.c: Likewise.
36977 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36978 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36979 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
36980 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
36981 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36982 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
36983 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
36984 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
36985 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
36986 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
36987 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
36988 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
36989 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
36990 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
36991 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
36992 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
36993 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
36994 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
36995 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
36996 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
36997 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
36998
36999 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
37000
37001 * stdio-common/_itoa.h: Moved to ...
37002 * sysdeps/generic/_itoa.h: Here.
37003
37004 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
37005
37006 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
37007 instead of "_itoa.h" and "_itowa.h".
37008 * stdio-common/vfprintf.: Likewise.
37009
d1af992d
L
370102012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37011
37012 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
37013 <bits/wordsize.h>.
37014 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
37015 (__signbit): Likwise.
37016 (llrintf): Likwise.
37017 (llrint): Likwise.
37018
114883e0
L
370192012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37020
37021 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
37022 __WORDSIZE != 64.
37023
c135cc1b
JM
370242012-03-20 Joseph Myers <joseph@codesourcery.com>
37025
37026 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
37027 OVERFLOW_EXCEPTION_OK.
37028 * math/libm-test.inc ("Philosophy"): Update comment about
37029 exception testing.
37030 (OVERFLOW_EXCEPTION): Define.
37031 (OVERFLOW_EXCEPTION_OK): Likewise.
37032 (INVALID_EXCEPTION_OK): Renumber.
37033 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37034 (IGNORE_ZERO_INF_SIGN): Likewise.
37035 (test_exceptions): Handle FE_OVERFLOW.
37036 (exp10_test): Expect overflow exceptions.
37037 (exp2_test): Likewise.
37038 (expm1_test): Likewise.
37039 (nextafter_test): Likewise.
37040 (pow_test): Likewise.
37041 (scalbn_test): Likewise.
37042 (scalbln_test): Likewise.
37043
95443d88
L
370442012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37045
37046 * sysdeps/x86_64/bits/atomic.h
37047 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
37048 64bit integer.
37049 (atomic_exchange_acq): Likewise.
37050 (__arch_exchange_and_add_body): Likewise.
37051 (__arch_add_body): Likewise.
37052 (atomic_add_negative): Likewise.
37053 (atomic_add_zero): Likewise.
37054
490df6c4
L
370552012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37056
c2722551 37057 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
37058 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
37059
5e52b189
L
370602012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37061
37062 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
37063 Check __x86_64__ instead of __WORDSIZE.
37064
a9879d4c
L
370652012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37066
37067 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
37068
5df98260
DM
370692012-03-19 David S. Miller <davem@davemloft.net>
37070
e1497744
DM
37071 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37072
5df98260
DM
37073 * sysdeps/sparc/fpu/fenv_private.h: New file.
37074 * sysdeps/sparc/fpu/math_private.h: Use it.
37075 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
37076 Remove.
57f41c40 37077 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
37078 (libc_feholdexcept_setroundl): Remove.
37079 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
37080 Remove.
37081 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
37082 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
37083
b4c35121
L
370842012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37085
37086 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
37087 int64_t instead of long int.
37088 (INSERT_WORDS64): Likwise.
37089
56965fd7
L
370902012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37091
37092 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
37093 _Unwind_GetCFA return to _Unwind_Ptr first.
37094
83d1aec8
JM
370952012-03-19 Joseph Myers <joseph@codesourcery.com>
37096
1897ad44
JM
37097 [BZ #13629]
37098 * math/s_clog.c: Include <float.h>.
37099 (__clog): Scale large or subnormal inputs.
37100 * math/s_clogf.c: Likewise.
37101 * math/s_clogl.c: Likewise.
37102 * math/s_clog10.c: Include <float.h>.
37103 (M_LOG10_2): Define.
37104 (__clog10): Scale large or subnormal inputs.
37105 * math/s_clog10f.c: Likewise.
37106 * math/s_clog10l.c: Likewise.
37107 * math/libm-test.inc (clog_test): Add more tests.
37108 (clog10_test): Likewise.
37109 * sysdeps/i386/fpu/libm-test-ulps: Update.
37110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37111
7726d6a9
JM
37112 [BZ #11451]
37113 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
37114 x and y.
37115 * math/libm-test.inc (atan2_test): Add another test.
37116
83d1aec8
JM
37117 * Makerules (common-objdir-compile): Remove.
37118 * sysdeps/unix/Makefile (config-generated): Do not add
37119 $(unix-generated) to variable.
37120 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
37121 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
37122 Remove rule.
37123 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
37124 Likewise.
37125 [generic bits/local_lim.h] (before-compile): Do not append to
37126 variable.
37127 [generic bits/local_lim.h] (common-generated): Likewise.
37128 [generic sys/param.h] (before-compile): Do not append to variable.
37129 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
37130 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
37131 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
37132 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
37133 include.
37134 [generic sys/param.h] (sys/param.h-includes): Remove variable.
37135 [generic sys/param.h] (sys/param.h-includes): Remove rule.
37136 [generic sys/param.h] ($(addprefix
37137 $(common-objpfx),$(sys/param.h-includes))): Likewise.
37138 [generic sys/param.h] (common-generated): Do not append to
37139 variable.
37140 [generic sys/param.h] (sysdep_headers): Likewise.
37141 [generic bits/errno.h] (before-compile): Do not append to
37142 variable.
37143 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
37144 rule.
37145 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
37146 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
37147 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
37148 [generic bits/errno.h] (common-generated): Do not append to
37149 variable.
37150 [generic bits/ioctls.h] (before-compile): Do not append to
37151 variable.
37152 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
37153 rule.
37154 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
37155 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
37156 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
37157 rule.
37158 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
37159 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
37160 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
37161 [generic bits/ioctls.h] (common-generated): Do not append to
37162 variable.
37163 [generic sys/syscall.h] (syscall.h): Remove variable.
37164 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
37165 rule.
37166 [generic sys/syscall.h] (before-compile): Do not append to
37167 variable.
37168 [generic sys/syscall.h] (common-generated): Likewise.
37169 * sysdeps/unix/errnos-tmpl.c: Remove file.
37170 * sysdeps/unix/errnos.awk: Likewise.
37171 * sysdeps/unix/ioctls-tmpl.c: Likewise.
37172 * sysdeps/unix/ioctls.awk: Likewise.
37173 * sysdeps/unix/mk-local_lim.c: Likewise.
37174 * sysdeps/unix/snarf-ioctls: Likewise.
37175
4851a949
RH
371762012-03-19 Richard Henderson <rth@twiddle.net>
37177
bd37f2ee
RH
37178 * sysdeps/i386/fpu/fenv_private.h: New file.
37179 * sysdeps/i386/fpu/math_private.h: Use it.
37180 (math_opt_barrier, math_force_eval): Remove.
37181 (libc_feholdexcept_setround_53bit): Remove.
37182 (libc_feupdateenv_53bit): Remove.
37183 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37184 (math_opt_barrier, math_force_eval): Remove.
37185 (libc_feholdexcept): Remove.
37186 (libc_feholdexcept_setround): Remove.
37187 (libc_fetestexcept, libc_fesetenv): Remove.
37188 (libc_feupdateenv_test): Remove.
37189 (libc_feupdateenv, libc_feholdsetround): Remove.
37190 (libc_feresetround): Remove.
37191
d0adc922
RH
37192 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
37193 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37194
0fe0f1f8
RH
37195 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
37196 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
37197 (libc_feupdateenv_testl): New.
37198 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
37199 (libc_feupdateenv_testf): New.
37200 (libc_feupdateenv): Use libc_feupdateenv_test.
37201 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
37202 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
37203
eb92c487
RH
37204 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
37205 (libc_feholdsetroundf, libc_feholdsetroundl): New.
37206 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
37207 (libc_feresetround_noex): New.
37208 (libc_feresetround_noexf): New.
37209 (libc_feresetround_noexl): New.
37210 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
37211 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
37212 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
37213 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
37214 SET_RESTORE_ROUND.
37215 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37216 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
37217 (__cos): Likewise.
37218 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
37219 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
37220 SET_RESTORE_ROUND_NOEX.
37221 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
37222 SET_RESTORE_ROUND_NOEXF.
37223 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
37224 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
37225 (libc_feholdsetroundf): New.
37226 (libc_feresetround, libc_feresetroundf): New.
37227
7d2e8012
RH
37228 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
37229 (libc_feholdexcept_setround_53bit): Convert from macro to function.
37230 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
37231
b4dabbb4
RH
37232 * sysdeps/generic/math_private.h: Include <fenv.h>.
37233 (default_libc_feholdexcept): New.
37234 (default_libc_feholdexcept_setround): New.
37235 (default_libc_fesetenv, default_libc_feupdateenv): New.
37236 (libc_feholdexcept): Only define if undefined.
37237 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
37238 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
37239 (libc_feholdexcept_setroundl): Likewise.
37240 (libc_feholdexcept_setround_53bit): Likewise.
37241 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
37242 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
37243 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
37244 (libc_feupdateenv_53bit): Likewise.
37245 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
37246 (libc_feholdexcept): Convert from macro to inline function.
37247 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
37248 (libc_fesetenv, libc_feupdateenv): Likewise.
37249
4851a949
RH
37250 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
37251 not previously defined.
37252 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
37253 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
37254 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
37255 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
37256 * sysdeps/ieee754/flt-32/math_private.h: New file.
37257 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
37258 math_private.h below SET_FLOAT_WORD.
37259 (__isnan, __isinf_ns, __finite): Remove.
37260 (__isnanf, __isinf_nsf, __finitef): Remove.
37261
e79d442e
AS
372622012-03-18 Andreas Schwab <schwab@linux-m68k.org>
37263
37264 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37265
90b80344
DM
372662012-03-17 David S. Miller <davem@davemloft.net>
37267
37268 [BZ #6471]
37269 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
37270 for 2.16.
37271
edc21804
DM
372722012-03-16 David S. Miller <davem@davemloft.net>
37273
77e927af
DM
37274 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
37275 warnings.
37276
374976dd
DM
37277 [BZ #6471]
37278 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
37279 properly.
37280 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
37281 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
37282 sysdep_routines when subdir is sysvipc.
37283 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
37284 __getshmlba helper.
37285
edc21804
DM
37286 * sysdeps/sparc/fpu/libm-test/ulps: Update.
37287
473c3ef3
L
372882012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37289
37290 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
37291 [__LP64__].
37292
eb0f39b6
L
372932012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37294
37295 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
37296 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
37297 (__lround): Renamed to ...
37298 (__llround): This. Replace long int with long long int.
37299 Define lround functions as aliases of llround functions.
37300 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
37301
6b6cd74b
L
373022012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37303
37304 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
37305 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
37306 adresses to uintptr_t. Replace "long int" and "unsigned long
37307 int" with "greg_t" on va_arg.
37308
f1a77b01
L
373092012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37310
37311 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
37312 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
37313
37314 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
37315 Move e_machine check before EI_CLASS check. Handle x32
37316 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
37317 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
37318 SKIP_EM_IA_64 and include
37319 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
37320
37321 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
37322 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
37323 (add_system_dir): New macro.
37324
37325 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
37326 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
37327
11b90b9f
JM
373282012-03-16 Joseph Myers <joseph@codesourcery.com>
37329
c36e1d23
JM
37330 [BZ #2551]
37331 [BZ #2552]
37332 [BZ #2553]
37333 [BZ #2554]
37334 [BZ #2562]
37335 [BZ #2563]
37336 [BZ #2565]
37337 [BZ #2566]
37338 [BZ #2576]
37339 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
37340 (y0): Likewise.
37341 * math/w_j0f.c (j0f): Likewise.
37342 (y0f): Likewise.
37343 * math/w_j0l.c (__j0l): Likewise.
37344 (__y0l): Likewise.
37345 * math/w_j1.c (j1): Likewise.
37346 (y1): Likewise.
37347 * math/w_j1f.c (j1f): Likewise.
37348 (y1f): Likewise.
37349 * math/w_j1l.c (__j1l): Likewise.
37350 (__y1l): Likewise.
37351 * math/w_jn.c (jn): Likewise.
37352 (yn): Likewise.
37353 * math/w_jnf.c (jnf): Likewise.
37354 (ynf): Likewise.
37355 * math/w_jnl.c (__jnl): Likewise.
37356 (__ynl): Likewise.
37357 * math/libm-test.inc (j0_test): Add more tests.
37358 (j1_test): Likewise.
37359 (jn_test): Likewise. Add trailing semicolon to existing test.
37360 (y0_test): Likewise.
37361 (y1_test): Likewise.
37362 * sysdeps/i386/fpu/libm-test-ulps: Update.
37363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37364
11b90b9f
JM
37365 [BZ #13851]
37366 [BZ #13854]
37367 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
37368 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
37369 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
37370 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
37371 (__tanl): Set errno for infinite argument.
37372 * sysdeps/i386/fpu/mptan.c: Remove.
37373 * sysdeps/i386/fpu/s_tan.S: Likewise.
37374 * sysdeps/i386/fpu/s_tanl.S: Likewise.
37375 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
37376 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
37377 * math/libm-test.inc (tan_test): Add more tests and enable more
37378 tests for double and long double.
37379 * sysdeps/i386/fpu/libm-test-ulps: Update.
37380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37381
6a1bd2a1
JK
373822012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
37383
37384 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
37385 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
37386
10a803e0
RM
373872012-03-16 Roland McGrath <roland@hack.frob.com>
37388
37389 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
37390 * configure.in: Use it for both main tree and add-ons.
37391 * configure: Regenerated.
37392
f196c7f7
L
373932012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37394
37395 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
37396
8848d99d
JM
373972012-03-16 Joseph Myers <joseph@codesourcery.com>
37398
96cbe7f4
JM
37399 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
37400 in comment.
37401
8848d99d
JM
37402 [BZ #13851]
37403 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
37404 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
37405 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
37406 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
37407 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
37408 infinite argument.
37409 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
37410 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
37411 != 0 for prec == 2.
37412 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
37413 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
37414 * sysdeps/i386/fpu/s_cosl.S: Likewise.
37415 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
37416 * sysdeps/i386/fpu/s_sinl.S: Likewise.
37417 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
37418 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
37419 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
37420 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
37421 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
37422 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
37423 * math/libm-test.inc (cos_test): Add more tests and enable more
37424 tests for long double.
37425 (sin_test): Likewise.
37426 (sincos_test): Likewise.
37427 * sysdeps/i386/fpu/libm-test-ulps: Update.
37428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37429
dd7f4703
DM
374302012-03-16 David S. Miller <davem@davemloft.net>
37431
37432 * sysdeps/sparc/fpu/math_private.h: New file.
37433
006f1daa
DM
374342012-03-15 David S. Miller <davem@davemloft.net>
37435
c0c83bc8
DM
37436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
37437 file.
e6a62e18 37438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
37439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
37440 file.
e6a62e18
DM
37441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
37442 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
37443 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
37444 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
37445 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
37446 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
37447 sysdep routines.
37448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37449
88cb87d9
DM
37450 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
37451 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
37452
006f1daa 37453 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
37454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
37455 sparc-ifunc.h
006f1daa 37456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
37457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
37458 Likewise.
37459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
37460 Likewise.
006f1daa
DM
37461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
37462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
37463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
37464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37465 Likewise.
006f1daa
DM
37466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
37468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
37470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
37471 Likewise.
37472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
37473 Likewise.
006f1daa
DM
37474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
37476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
37477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
37478 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37479 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37480 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
37481 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
37482 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37483 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37484 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
37485 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
37486 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
37487 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
37488 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
37489 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
37490 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
37491 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
37492 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
37493 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
37494 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
37495 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
37496 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
37497 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
37498
11e0098e
AS
374992012-03-15 Andreas Schwab <schwab@linux-m68k.org>
37500
37501 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
37502 scaling.
37503 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37504
e85b09d0
AJ
375052012-03-15 Andreas Jaeger <aj@suse.de>
37506
37507 [BZ #13852]
37508 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
37509 ieee754/flt-32 implementation for sin, cos and sincos.
37510 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
37511 * sysdeps/i386/fpu/s_cosf.S: Likewise.
37512 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
37513 * sysdeps/i386/fpu/s_sinf.S: Likewise.
37514 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
37515 ieee754/flt-32 implementation for tan.
37516
37517 * math/libm-test.inc (cos_test): Enable some large input tests for
37518 float as well
37519 (sin_test): Likewise.
37520 (sincos_test): Likewise.
37521 (tan_test): Add tests for large input.
37522
37523 * sysdeps/i386/fpu/libm-test-ulps: Update.
37524
81c64153
AJ
375252012-03-15 Andreas Jaeger <aj@suse.de>
37526
37527 [BZ #13658]
37528 * math/libm-test.inc (cos_test): Add more test cases.
37529 (sin_test): Likewise.
37530 (sincos_test): Likewise.
37531
7bbfa5c6
AJ
375322012-03-15 Andreas Jaeger <aj@suse.de>
37533
37534 [BZ #13837]
37535 * math/libm-test.inc (cos_test): Add a test case for large input
37536 value.
37537 (sin_test): Likewise.
37538 (sincos_test): Likewise.
37539
57f41c40
AS
375402012-03-15 Andreas Jaeger <aj@suse.de>
37541 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
37542
37543 [BZ #13658]
0671f479 37544 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
37545 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
37546 * sysdeps/i386/fpu/branred.c: Likewise.
37547 * sysdeps/i386/fpu/dosincos.c: Likewise.
37548 * sysdeps/i386/fpu/mpa.c: Likewise.
37549 * sysdeps/i386/fpu/s_cos.S: Likewise.
37550 * sysdeps/i386/fpu/s_sin.S: Likewise.
37551 * sysdeps/i386/fpu/s_sincos.S: Likewise.
37552 * sysdeps/i386/fpu/sincos32.c: Likewise.
37553
37554 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
37555 Define.
37556 (libc_feupdateenv_53bit): Define.
37557 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
37558 Define.
37559 (libc_feupdateenv_53bit): Define.
37560
37561 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
37562 53 bit (without extend i386 double precision).
37563
37564 * math/libm-test.inc (sincos_test): Add tests for large input.
37565 (sin): Likewise.
37566 (cos): Likewise.
37567
37568 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
37569
9cad04ea
AS
375702012-03-15 Andreas Schwab <schwab@linux-m68k.org>
37571
37572 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37573
f7062b9a
DM
375742012-03-15 David S. Miller <davem@davemloft.net>
37575
37576 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
37577 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
37578 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
37579 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
37580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
37581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
37582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
37583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
37584 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
37585 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
37586 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
37587 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
37588 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
37589 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
37590 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
37591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
37592 file.
f7062b9a 37593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
37594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
37595 file.
f7062b9a 37596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
37597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
37598 file.
f7062b9a 37599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
37600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
37601 file.
f7062b9a
DM
37602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
37603 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
37604 fmin/fmax sysdep routines.
37605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37606
7bd951ff
DM
376072012-03-14 David S. Miller <davem@davemloft.net>
37608
559398ab
DM
37609 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
37610 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
37611 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
37612 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
37613 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
37614 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
37615 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
37616 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
37617 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
37618 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
37619 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
37620 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
37621 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
37622 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
37623 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
37624 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
37625 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
37626 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
37627 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
37628 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
37629 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
37630 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
37631 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
37632 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
37633 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
37634 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
37635 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
37636 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
37637 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
37638 routines.
37639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
37640 file.
559398ab 37641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
37642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
37643 file.
559398ab 37644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
37645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
37646 file.
559398ab 37647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
37648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
37649 file.
559398ab 37650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
37651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
37652 file.
559398ab 37653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
37654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
37655 file.
37656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
37657 file.
37658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
37659 file.
37660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
37661 file.
37662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
37663 New file.
37664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
37665 file.
37666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
37667 file.
559398ab 37668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
37669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
37670 file.
559398ab 37671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
37672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
37673 file.
559398ab 37674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
37675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
37676 file.
559398ab 37677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
37678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
37679 VIS3 routines.
559398ab
DM
37680
37681 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
37682 New file.
37683
5a1c1e32
DM
37684 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37685
eae47a36
DM
37686 * sysdeps/sparc/configure.in: New file.
37687 * sysdeps/sparc/configure: Generate.
37688 * configure.in (libc_cv_sparc_as_vis3): Substitute.
37689 * configure: Regenerate.
37690 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
37691 * config.make.in (have-as-vis3): New.
37692 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
37693 available use -Av9d instead of -Av9a.
37694 * sysdeps/sparc/sparc64/Makefile: Likewise.
37695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
37696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
37697 New file.
37698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
37699 file.
37700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
37701 New file.
37702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
37703 file.
eae47a36
DM
37704 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
37705 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
37706 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
37707 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
37708 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
37709
c0c83bc8
DM
37710 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
37711 fzeros/fnegs to load 0x80000000 into a float register instead of
37712 using the stack.
7bd951ff
DM
37713 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
37714
bd951ccb
JM
377152012-03-14 Joseph Myers <joseph@codesourcery.com>
37716
37717 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37718 bits/syscall.h.
37719 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
37720 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
37721 ($(inst_includedir)/bits/syscall.h): Remove rule.
37722 ($(objpfx)bits/syscall.d): Include instead of
37723 $(objpfx)syscall-list.d.
37724 (generated): Change syscall-list.h and syscall-list.d to
37725 bits/syscall.h and bits/syscall.d.
37726
bb4e6db2
RM
377272012-03-14 Roland McGrath <roland@hack.frob.com>
37728
37729 [BZ #13846]
37730 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
37731
aa4a2ae1
JM
377322012-03-14 Joseph Myers <joseph@codesourcery.com>
37733
e456826d
JM
37734 [BZ #13841]
37735 * math/s_csqrt.c: Include <float.h>.
37736 (__csqrt): Scale large or subnormal inputs.
37737 * math/s_csqrtf.c: Likewise.
37738 * math/s_csqrtl.c: Likewise.
37739 * math/libm-test.inc (csqrt_test): Add more tests.
37740 * sysdeps/i386/fpu/libm-test-ulps: Update.
37741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37742
aa4a2ae1
JM
37743 [BZ #13840]
37744 * math/libm-test.inc (hypot_test): Add more tests.
37745
7c10fd35
DM
377462012-03-13 David S. Miller <davem@davemloft.net>
37747
37748 [BZ #13840]
37749 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
37750 double-precision for the calculation instead of scaling.
37751
f453b98b
JM
377522012-03-13 Joseph Myers <joseph@codesourcery.com>
37753
37754 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
37755 manipulate bits before adding and subtracting TWO52[sx].
37756 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
37757 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
37758 Likewise.
37759 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
37760
09a3453f
DM
377612012-03-13 David S. Miller <davem@davemloft.net>
37762
8e59da90
DM
37763 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
37764 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
37765 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
37766 rtld-global-offsets.h
37767 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37768
2a8ab7f2
DM
37769 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
37770 large parameters.
37771
10f62770
DM
37772 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
37773
5f0bdb18
DM
37774 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
37775 'err' in the ifdef scope in which it is actually used.
37776
09a3453f
DM
37777 * nss/nss_db/db-init.c: Include string.h
37778
b4b2eb5e
DM
377792012-03-12 David S. Miller <davem@davemloft.net>
37780
98bb2f1c
DM
37781 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37782 masking out of the most significant byte of random value used.
37783 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37784 Fix coding style in previous change.
37785
b4b2eb5e
DM
37786 * sysdeps/unix/sysv/linux/kernel-features.h
37787 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
37788 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
37789 expression.
37790 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
37791 later.
37792
6e226b09
DM
377932012-03-11 David S. Miller <davem@davemloft.net>
37794
a1bcbd40
DM
37795 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
37796 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
37797 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
37798 for 'resultvar' otherwise things get truncated on 64-bit.
37799
cb9d6174
DM
37800 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37801 Fix masking out of the most significant byte of random value used.
37802
6e226b09
DM
37803 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37804
058c132d
AS
378052012-03-10 Andreas Schwab <schwab@linux-m68k.org>
37806
37807 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37808
2d2cd515
DM
378092012-03-09 David S. Miller <davem@davemloft.net>
37810
37811 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
37812 variables with appropriate CPP guards.
57f41c40
AS
37813 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
37814 from the frame pointer, not the stack pointer. Correct layout
37815 comments. Fix test on resulting framesize and the management of
37816 the outregs buffer for pltexit. Preserve floating point return
37817 values across _dl_call_pltexit call.
2d2cd515
DM
37818 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
37819 framesize and the management of the outregs buffer for pltexit.
37820 Preserve floating point return values across _dl_call_pltexit
37821 call.
57f41c40
AS
37822 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
37823 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
37824 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
37825 (print_exit): Fix format string for return register value.
37826
9a07f9d0
JM
378272012-03-10 Joseph Myers <joseph@codesourcery.com>
37828
37829 * sunrpc/Makefile (others): Add rpcgen.
37830 ($(objpfx)rpcgen): Remove special build rule and dependency on
37831 libc.
37832 * sunrpc/rpcgen.c: New file.
37833
547b5e30
PE
378342012-03-09 Paul Eggert <eggert@cs.ucla.edu>
37835
c524201a
PE
37836 [BZ #13673]
37837 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
37838 * stdio-common/bug-vfprintf-nargs.c: Likewise.
37839 * sysdeps/i386/crti.S: Likewise.
37840 * sysdeps/i386/crtn.S: Likewise.
37841 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
37842 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
37843 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
37844 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
37845 * sysdeps/sh/crti.S: Likewise.
37846 * sysdeps/sh/crtn.S: Likewise.
37847 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37848
7b6235f2
PE
37849 [BZ #13673]
37850 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
37851 with URL.
37852 * locale/programs/locfile-kw.gperf: Likewise.
37853 * locale/programs/charmap-kw.h: Regenerated.
37854 * locale/programs/locfile-kw.h: Likewise.
37855
547b5e30
PE
37856 [BZ #13673]
37857 * intl/plural.y: Replace FSF snail mail address with URL.
37858 * intl/plural.c: Regenerated.
37859
5f0a5dae
RH
378602012-03-09 Richard Henderson <rth@twiddle.net>
37861
37862 * include/math_private.h: Remove file.
37863 * math/math_private.h: Move file ...
37864 * sysdeps/generic/math_private.h: ... here.
37865
b8c03620
RH
37866 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
37867 * sysdeps/powerpc/fpu/math_private.h: Likewise.
37868 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37869
4e234f5d 37870 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
37871 and <math_private.h>.
37872 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37873 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37874 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37875 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37876 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37877 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
37878 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37879 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37880 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37881 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37882 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37883 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37884 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37885 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37886 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37887 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37888 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37889 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37890 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37891 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37892 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37893 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37894 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37895 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37896 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
37897 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37898 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37899 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37900 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37901 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37902 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37903 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37904 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37905 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37906 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37907 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37908 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37909 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37910 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37911 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37912 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
37913 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37914 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37915 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37916 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37917 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37918 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
37919 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37920 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37921 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37922 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37923 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
37924 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37925 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37926 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37927 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37928 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37929 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37930 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37931 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
37932 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37933 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37934 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37935 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37936 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
37937 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37938 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37939 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37940 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
37941 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
37942 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
37943 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37944 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
37945 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37946 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
37947 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
37948 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
37949 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37950 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
37951 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
37952 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
37953 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
37954 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
37955 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37956 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37957 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
37958 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
37959 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
37960 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37961 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37962 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37963 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37964 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37965 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37966 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37967 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37968 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37969 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37970 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37971 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37972 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37973 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37974 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37975 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37976 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37977 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37978 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37979 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37980 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37981 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37982 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37983 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37984 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37985 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37986 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
37987 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37988 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37989 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37990 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37991 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37992 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37993 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37994 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37995 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
37996 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37997 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37998 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37999 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
38000 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38001 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
38002 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
38003 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38004 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38005 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
38006 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
38007 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38008 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38009 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38010 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
38011 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38012 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38013 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38014 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38015 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
38016 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
38017 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38018 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38019 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38020 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
38021 * sysdeps/ieee754/k_standard.c: Likewise.
38022 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38023 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38024 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38025 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38026 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38027 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38028 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38029 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38030 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38031 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38032 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38033 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38034 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38035 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38036 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38037 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38038 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
38039 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38040 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38041 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
38042 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
38043 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
38044 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38045 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38046 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
38047 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
38048 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38049 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38050 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38051 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38052 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
38053 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38054 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38055 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38056 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
38057 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38058 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38059 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
38060 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
38061 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38062 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
38063 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
38064 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
38065 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38066 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
38067 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
38068 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38069 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38070 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38071 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38072 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38073 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
38074 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38075 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
38076 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38077 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38078 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
38079 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
38080 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38081 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38082 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38083 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
38084 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38085 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38086 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38087 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38088 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38089 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38090 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38091 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38092 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38093 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38094 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38095 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38096 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38097 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38098 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
38099 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38100 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38101 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
38102 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
38103 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
38104 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38105 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38106 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
38107 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38108 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38109 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
38110 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38111 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38112 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
38113 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38114 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
38115 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
38116 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38117 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38118 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
38119 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
38120 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
38121 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
38122 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38123 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38124 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38125 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38126 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
38127 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38128 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38129 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
38130 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
38131 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38132 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38133 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38134 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38135 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38136 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38137 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38138 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38139 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38140 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38141 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38142 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38143 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38144 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38145 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38146 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38147 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
38148 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38149 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38150 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38151 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38152 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38153 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38154 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38155 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
38156 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38157 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38158 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
38159 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
38160 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38161 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
38162 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
38163 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38164 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
38165 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
38166 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38167 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38168 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38169 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38170 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38171 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
38172 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38173 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38174 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38175 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38176 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
38177 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
38178 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38179 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38180 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38181 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
38182 * sysdeps/ieee754/s_lib_version.c: Likewise.
38183 * sysdeps/ieee754/s_matherr.c: Likewise.
38184 * sysdeps/ieee754/s_signgam.c: Likewise.
38185 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38186 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38187 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
38188 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
38189 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
38190 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38191 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
38192 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
38193 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
38194 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
38195 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
38196 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
38197 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38198 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38199 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
38200 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38201 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38202 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38203 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38204 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38205 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 38206
1991fa03
JM
382072012-03-09 Joseph Myers <joseph@codesourcery.com>
38208
38209 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
38210 * sunrpc/rpc_main.c: Likewise.
38211 * sunrpc/rpc_svcout.c: Likewise.
38212
60d6f5a6
DM
382132012-03-09 David S. Miller <davem@davemloft.net>
38214
38215 * include/math_private.h: New file.
38216
4962050e
JM
382172012-03-09 Joseph Myers <joseph@codesourcery.com>
38218
02a6f887
JM
38219 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
38220 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
38221 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
38222 from <bits/socket_type.h>.
38223 (enum __socket_type): Don't define here.
38224 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
38225 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38226 bits/socket_type.h.
38227
c6e013c1
JM
38228 [BZ #13566]
38229 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
38230 checking __USE_GNU.
38231
4962050e
JM
38232 * Makerules ($(inst_includedir)/%.h): New rule.
38233 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
38234 (install-others): Remove variable setting.
38235 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
38236
38842f45
RH
382372012-03-08 Richard Henderson <rth@twiddle.net>
38238
67bb6da6
RH
38239 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
38240 from macro to inline function; merge with the
38241 !__LIBC_INTERNAL_MATH_INLINES version.
38242 (__ieee754_sqrtf): Likewise.
38243
15194b4b
RH
38244 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
38245 to inline function.
38246 (__rintf, __floor, __floorf): Likewise.
38247
64e21ede
RH
38248 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
38249 macro to inline function.
38250 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
38251
38842f45
RH
38252 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
38253 not <math/math_private.h>.
38254
c64bf5fe
DM
382552012-03-08 David S. Miller <davem@davemloft.net>
38256
38257 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
38258 copyright year.
38259 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
38260
82d86f28
TS
382612012-03-08 Thomas Schwinge <thomas@codesourcery.com>
38262
38263 * resolv/gai_misc.c (handle_requests): Fix struct timespec
38264 normalization.
38265 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
38266 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
38267
aea5d727
UD
382682012-03-08 Ulrich Drepper <drepper@gmail.com>
38269
38270 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
38271 be defined individually, they must be defined as a block. Define
38272 S for printing a string instead of hidint the different by using a
38273 macro for adding the 'l'.
38274 * stdio-common/tst-fphex-wide.c: Adjust.
38275
70bca0a3
MP
382762012-03-07 Marek Polacek <polacek@redhat.com>
38277
38278 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
38279
65b81130
MP
382802012-03-08 Marek Polacek <polacek@redhat.com>
38281
38282 [BZ #13806]
38283 * stdio-common/Makefile (tests): Add tst-fphex-wide.
38284 * stdio-common/tst-fphex.c: Define a few macros to make the
38285 test reusable. Use them.
38286 * stdio-common/tst-fphex-wide.c: New file.
38287
07037eeb
JM
382882012-03-08 Joseph Myers <joseph@codesourcery.com>
38289
a7a93d50
JM
38290 [BZ #6911]
38291 * manual/macros.texi (gnusystems): New macro.
38292 (nongnusystems): Likewise.
38293 (gnulinuxhurdsystems): Likewise.
38294 (gnuhurdsystems): Likewise..
38295 (gnulinuxsystems): Likewise.
38296 * manual/charset.texi: Use new macros or @theglibc{} to refer to
38297 variants of the GNU system, not "GNU system".
38298 * manual/conf.texi: Likewise.
38299 * manual/errno.texi: Likewise. Update example of errno macro
38300 expansion.
38301 * manual/filesys.texi: Likewise.
38302 (getumask): Document as specific to GNU/Hurd.
38303 * manual/install.texi: Likewise. Reword some references to
38304 GNU/Linux.
38305 * manual/intro.texi: Likewise.
38306 * manual/io.texi: Likewise.
38307 (File Name Portability): Detail which constraints are inapplicable
38308 to all GNU systems and which are only inapplicable to GNU/Hurd.
38309 * manual/job.texi: Likewise.
38310 * manual/llio.texi: Likewise.
38311 (O_NOCTTY): Document as present on GNU/Linux.
38312 * manual/maint.texi: Likewise.
38313 * manual/memory.texi: Likewise.
38314 * manual/pattern.texi: Likewise.
38315 * manual/pipe.texi: Likewise.
38316 * manual/process.texi: Likewise.
38317 * manual/resource.texi: Likewise.
38318 (RUSAGE_CHILDREN): Remove statement about specifying a particular
38319 child on GNU/Hurd.
38320 * manual/setjmp.texi: Likewise.
38321 * manual/signal.texi: Likewise.
38322 * manual/startup.texi: Likewise.
38323 * manual/stdio.texi: Likewise.
38324 * manual/terminal.texi: Likewise.
38325 (ONLCR): Document as POSIX.
38326 (OXTABS): Document availability on GNU/Linux as XTABS.
38327 (ONOEOT): Document availability separately from other bits.
38328 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
38329 * manual/time.texi: Likewise.
38330 * manual/users.texi: Likewise.
38331 * INSTALL: Regenerated.
38332 * sysdeps/gnu/errlist.c: Regenerated.
38333
07037eeb
JM
38334 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
38335 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
38336 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
38337 puts.
38338 * configure: Regenerated.
38339
d1d3431a
JM
383402012-03-07 Joseph Myers <joseph@codesourcery.com>
38341
af6a1e37
JM
38342 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
38343 default includes instead of AC_HEADER_CHECK.
38344 * sysdeps/i386/configure: Regenerated.
38345
d1d3431a
JM
38346 [BZ #10716]
38347 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
38348 * math/s_cacoshf.c (__cacoshf): Likewise.
38349 * math/s_cacoshl.c (__cacoshl): Likewise.
38350 * math/s_casinh.c (__casinh): Set signs of result from argument.
38351 * math/s_casinhf.c (__casinhf): Likewise.
38352 * math/s_casinhl.c (__casinhl): Likewise.
38353 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
38354 (casinh_test): Add more tests.
38355 * sysdeps/i386/fpu/libm-test-ulps: Update.
38356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38357
482ff4da
UD
383582012-03-07 Ulrich Drepper <drepper@gmail.com>
38359
872fda05
UD
38360 * po/zh_TW.po: Update from translation team.
38361
a4300c7a
UD
38362 * login/Makefile (distribute): Remove variable.
38363 * catgets/Makefile: Likewise.
38364 * mach/Makefile: Likewise.
38365 * malloc/Makefile: Likewise.
38366 * misc/Makefile: Likewise.
38367 * iconv/Makefile: Likewise.
38368 * nscd/Makefile: Likewise.
38369 * hurd/Makefile: Likewise.
38370 * manual/Makefile: Likewise.
38371 * locale/Makefile: Likewise.
38372 * intl/Makefile: Likewise.
38373 * conform/Makefile: Likewise.
38374 * nss/Makefile: Likewise.
38375 * time/Makefile: Likewise.
38376 * soft-fp/Makefile: Likewise.
38377 * dirent/Makefile: Likewise.
38378 * gmon/Makefile: Likewise.
38379 * po/Makefile: Likewise.
38380 * rt/Makefile: Likewise.
38381 * socket/Makefile: Likewise.
38382 * math/Makefile: Likewise.
38383 * signal/Makefile: Likewise.
38384 * debug/Makefile: Likewise.
38385 * elf/Makefile: Likewise.
38386 * timezone/Makefile: Likewise.
38387 * stdlib/Makefile: Likewise.
38388 * iconvdata/Makefile: Likewise.
38389 * sunrpc/Makefile: Likewise.
38390 * io/Makefile: Likewise.
38391 * argp/Makefile: Likewise.
38392 * inet/Makefile: Likewise.
38393 * hesiod/Makefile: Likewise.
38394 * grp/Makefile: Likewise.
38395 * csu/Makefile: Likewise.
38396 * wctype/Makefile: Likewise.
38397 * crypt/Makefile: Likewise.
38398 * libio/Makefile: Likewise.
38399 * string/Makefile: Likewise.
38400 * nis/Makefile: Likewise.
38401 * resolv/Makefile: Likewise.
38402 * stdio-common/Makefile: Likewise.
38403 * wcsmbs/Makefile: Likewise.
38404 * dlfcn/Makefile: Likewise.
38405 * posix/Makefile: Likewise.
38406
3b7c4e74 38407 [BZ #6959]
482ff4da
UD
38408 * timezone/Makefile: Don't install timezone files, just the programs
38409 and scripts.
38410
f72ed77d
UD
384112012-03-06 Ulrich Drepper <drepper@gmail.com>
38412
a000466f
UD
38413 * nss/databases.def: Add missing gshadow entry.
38414
f72ed77d
UD
38415 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
38416
a53b7a4e
MP
384172012-03-06 Marek Polacek <polacek@redhat.com>
38418
38419 [BZ #13726]
38420 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
38421 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38422 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
38423 * stdio-common/tst-long-dbl-fphex.c: New file.
38424
e9258400
DM
384252012-03-06 David S. Miller <davem@davemloft.net>
38426
38427 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38428 (set_obp_int): New function.
38429 (get_obp_int): New function.
38430 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
38431 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
38432 Avoid unused variable warnings on 'val' and use builtin_expect.
38433 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
38434 __builtin_expect.
e9258400
DM
38435 (INLINE_CLONE_SYSCALL): Likewise.
38436
3bd2c723
DM
384372012-03-05 David S. Miller <davem@davemloft.net>
38438
38439 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38440
bbb78d03
AS
384412012-03-05 Andreas Schwab <schwab@linux-m68k.org>
38442
884c5db4
AS
38443 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38444
bbb78d03
AS
38445 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
38446 only for |x| >= 40.
38447 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38448
1c9f702a 384492012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
38450
38451 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
38452 Replace gettimeofday with __vdso_gettimeofday.
38453
7be16f82
RM
38454 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38455 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
38456 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
38457
38458 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
38459 time with __vdso_time.
38460
ed58a00f
JM
384612012-03-05 Joseph Myers <joseph@codesourcery.com>
38462
38463 * manual/lang.texi (size_t): Note types to which size_t may be
38464 equivalent with the GNU C Library, but do not describe when
38465 differences between them are significant.
38466
30ee4ced
AJ
384672012-03-05 Andreas Jaeger <aj@suse.de>
38468
38469 * sysdeps/i386/fpu/libm-test-ulps: Update.
38470
b7cd39e8
JM
384712012-03-05 Joseph Myers <joseph@codesourcery.com>
38472
38473 [BZ #3976]
38474 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
38475 (__ieee754_pow): Save and restore rounding mode and use
38476 round-to-nearest for main computations.
38477 * math/libm-test.inc (pow_test_tonearest): New function.
38478 (pow_test_towardzero): Likewise.
38479 (pow_test_downward): Likewise.
38480 (pow_test_upward): Likewise.
38481 (main): Call the new functions.
38482 * sysdeps/i386/fpu/libm-test-ulps: Update.
38483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
38484
38485 [BZ #3976]
38486 * math/libm-test.inc (cosh_test_tonearest): New function.
38487 (cosh_test_towardzero): Likewise.
38488 (cosh_test_downward): Likewise.
38489 (cosh_test_upward): Likewise.
38490 (sinh_test_tonearest): Likewise.
38491 (sinh_test_towardzero): Likewise.
38492 (sinh_test_downward): Likewise.
38493 (sinh_test_upward): Likewise.
38494 (main): Call the new functions.
38495 * sysdeps/i386/fpu/libm-test-ulps: Update.
38496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38497
6c6a98c9
TV
384982012-03-05 Tom de Vries <tom@codesourcery.com>
38499
38500 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
38501 default stack guard is set in last bytes.
38502 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
38503
21bb2d2e 385042012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 38505
21bb2d2e 38506 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 38507
21bb2d2e
AJ
38508 [BZ #13656]
38509 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
38510 possibly allocate from heap instead of stack.
38511 * stdio-common/bug-vfprintf-nargs.c: New file.
38512 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 38513
c6922934
AS
385142012-03-03 Andreas Schwab <schwab@linux-m68k.org>
38515
38516 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38517
bc957d53
MP
385182012-03-03 Marek Polacek <polacek@redhat.com>
38519
38520 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
38521 * math/math_private.h: Likewise.
38522 * stdlib/tst-strtod.c: Likewise.
38523 * sysdeps/i386/i486/bits/atomic.h: Likewise.
38524 * sysdeps/x86_64/bits/atomic.h: Likewise.
38525
6358490d
DM
385262012-03-02 David S. Miller <davem@davemloft.net>
38527
38528 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
38529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
38530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
38531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
38532 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
38533 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
38534 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
38535 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
38536
01ae168d
RM
385372012-03-02 Roland McGrath <roland@hack.frob.com>
38538
d9a17c07
RM
38539 [BZ #13792]
38540 * manual/examples/README: New file, says the example source files
38541 can be used under GPL>=2.
38542 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
38543 line containing just "*/".
38544 * manual/examples/add.c: Add copyright header (GPL>=2).
38545 * manual/examples/argp-ex1.c: Likewise.
38546 * manual/examples/argp-ex2.c: Likewise.
38547 * manual/examples/argp-ex3.c: Likewise.
38548 * manual/examples/argp-ex4.c: Likewise.
38549 * manual/examples/atexit.c: Likewise.
38550 * manual/examples/db.c: Likewise.
38551 * manual/examples/dir.c: Likewise.
38552 * manual/examples/dir2.c: Likewise.
38553 * manual/examples/execinfo.c: Likewise.
38554 * manual/examples/filecli.c: Likewise.
38555 * manual/examples/filesrv.c: Likewise.
38556 * manual/examples/fmtmsgexpl.c: Likewise.
38557 * manual/examples/genpass.c: Likewise.
38558 * manual/examples/inetcli.c: Likewise.
38559 * manual/examples/inetsrv.c: Likewise.
38560 * manual/examples/isockad.c: Likewise.
38561 * manual/examples/longopt.c: Likewise.
38562 * manual/examples/memopen.c: Likewise.
38563 * manual/examples/memstrm.c: Likewise.
38564 * manual/examples/mkfsock.c: Likewise.
38565 * manual/examples/mkisock.c: Likewise.
38566 * manual/examples/mygetpass.c: Likewise.
38567 * manual/examples/pipe.c: Likewise.
38568 * manual/examples/popen.c: Likewise.
38569 * manual/examples/rprintf.c: Likewise.
38570 * manual/examples/search.c: Likewise.
38571 * manual/examples/select.c: Likewise.
38572 * manual/examples/setjmp.c: Likewise.
38573 * manual/examples/sigh1.c: Likewise.
38574 * manual/examples/sigusr.c: Likewise.
38575 * manual/examples/stpcpy.c: Likewise.
38576 * manual/examples/strdupa.c: Likewise.
38577 * manual/examples/strftim.c: Likewise.
38578 * manual/examples/strncat.c: Likewise.
38579 * manual/examples/subopt.c: Likewise.
38580 * manual/examples/swapcontext.c: Likewise.
38581 * manual/examples/termios.c: Likewise.
38582 * manual/examples/testopt.c: Likewise.
38583 * manual/examples/testpass.c: Likewise.
38584 * manual/examples/timeval_subtract.c: Likewise.
38585
01ae168d
RM
38586 [BZ #13792]
38587 * manual/time.texi (Elapsed Time): Move timeval_subtract example
38588 function to ...
38589 * manual/timeval_subtract.c.texi: ... here, new file.
38590
49efa33d
DM
385912012-03-02 David S. Miller <davem@davemloft.net>
38592
38593 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
38594
28afd92d
JM
385952012-03-02 Joseph Myers <joseph@codesourcery.com>
38596
804360ed
JM
38597 [BZ #3976]
38598 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
38599 (__sin): Save and restore rounding mode and use round-to-nearest
38600 for all computations.
38601 (__cos): Save and restore rounding mode and use round-to-nearest
38602 for all computations.
38603 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
38604 <fenv.h>.
38605 (tan): Save and restore rounding mode and use round-to-nearest for
38606 all computations.
38607 * math/libm-test.inc (cos_test_tonearest): New function.
38608 (cos_test_towardzero): Likewise.
38609 (cos_test_downward): Likewise.
38610 (cos_test_upward): Likewise.
38611 (sin_test_tonearest): Likewise.
38612 (sin_test_towardzero): Likewise.
38613 (sin_test_downward): Likewise.
38614 (sin_test_upward): Likewise.
38615 (tan_test_tonearest): Likewise.
38616 (tan_test_towardzero): Likewise.
38617 (tan_test_downward): Likewise.
38618 (tan_test_upward): Likewise.
38619 (main): Call the new functions.
38620 * sysdeps/i386/fpu/libm-test-ulps: Update.
38621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38622
a6d06d7b
JM
38623 [BZ #10135]
38624 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
38625 small n, then large n, before computing and testing k+n.
38626 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
38627 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
38628 Likewise.
38629 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
38630 Likewise.
38631 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
38632 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
38633 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
38634 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
38635 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
38636 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
38637 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
38638 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
38639 * math/libm-test.inc (scalbn_test): Add more tests.
38640 (scalbln_test): Likewise.
38641
07e12bb3
JM
38642 * manual/filesys.texi (mode_t): Describe constraints on size and
38643 signedness, not exact equivalence to a particular type.
38644 (ino_t): Likewise.
38645 (ino64_t): Likewise.
38646 (dev_t): Likewise.
38647 (nlink_t): Likewise.
38648 (blkcnt_t): Likewise.
38649 (blkcnt64_t): Likewise.
38650 * manual/llio.texi (off_t): Likewise.
38651
28afd92d
JM
38652 [BZ #3976]
38653 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
38654 (__ieee754_exp): Save and restore rounding mode and use
38655 round-to-nearest for all computations.
38656 * math/libm-test.inc (exp_test_tonearest): New function.
38657 (exp_test_towardzero): Likewise.
38658 (exp_test_downward): Likewise.
38659 (exp_test_upward): Likewise.
38660 (main): Call the new functions.
38661 * sysdeps/i386/fpu/libm-test-ulps: Update.
38662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38663
b1eeb65d
CD
386642012-03-01 Chris Demetriou <cgd@google.com>
38665
38666 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
38667 have predictable order.
38668
53362a4b
DM
386692012-03-01 David S. Miller <davem@davemloft.net>
38670
3c969083
DM
38671 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
38672
759707de
DM
38673 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
38674 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
38675 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
38676 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
38677
dfdb8ff2
DM
38678 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
38679 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
38680 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
38681 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
38682 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
38683 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
38684 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
38685 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
38686 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
38687
ead89f96
DM
38688 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38689
7f66bd07
DM
38690 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
38691 * sysdeps/sparc/fpu/libm-test-ulps: to here.
38692 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
38693
53362a4b
DM
38694 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
38695 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38696 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38697 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
38698 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
38699 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
38700 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
38701 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38702 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38703 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
38704 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
38705 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38706 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38707 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38708 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38709 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38710 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
38711 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
38712 * sysdeps/sparc/elf/configure: Regenerated.
38713
7b1902cb
JM
387142012-03-01 Joseph Myers <joseph@codesourcery.com>
38715
bec039bc
JM
38716 * configure.in (AS, LD): Require binutils 2.20 or later.
38717 * configure: Regenerated.
38718 * manual/install.texi (Tools for Compilation): Give binutils 2.20
38719 as required minimum version.
38720 * INSTALL: Regenerated.
38721
7b1902cb
JM
38722 [BZ #2541]
38723 [BZ #4108]
38724 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
38725 before squaring exponent.
38726 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
38727 bottom long double and 27 bits of top long double before squaring
38728 exponent.
38729 * math/libm-test.inc (erfc_test): Add more tests.
38730 * sysdeps/i386/fpu/libm-test-ulps: Update.
38731 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38733
f775c276
KT
387342012-03-01 Kai Tietz <ktietz@redhat.com>
38735
38736 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
38737 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
38738 containing bit-fields.
38739 * soft-fp/extended.h (_FP_UNION_E): Likewise.
38740 * soft-fp/single.h (_FP_UNION_S): Likewise.
38741 * soft-fp/double.h (_FP_UNION_D): Likewise.
38742
5b8a4d4a
JM
387432012-02-29 Joseph Myers <joseph@codesourcery.com>
38744
0bab47b6
JM
38745 [BZ #13786]
38746 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
38747 not include ../strcmp.S.
38748 [USE_AS_STRNCASECMP_L]: Likewise.
38749 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
38750 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
38751 * sysdeps/i386/i686/multiarch/strncase_l-c.c
38752 (__strncasecmp_l_ia32): Define as alias to
38753 __strncasecmp_l_nonascii.
38754
0fcad3e2
JM
38755 [BZ #5794]
38756 * math/libm-test.inc (expm1_test): Add test for bug 5794.
38757 * sysdeps/i386/fpu/libm-test-ulps: Update.
38758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38759
5b8a4d4a
JM
38760 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
38761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38762
8fdceb2e
JL
387632012-02-29 Jeff Law <law@redhat.com>
38764
38765 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
38766 out of bounds read.
38767
1f393a11
MP
387682012-02-29 Marek Polacek <polacek@redhat.com>
38769
38770 [BZ #13706]
38771 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
38772 * elf/Makefile: Add rules to run tst-unused-dep.out.
38773
8847f037
DM
387742012-02-28 David S. Miller <davem@davemloft.net>
38775
38776 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
38777 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
38778 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
38779 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
38780 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
38781 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
38782
169d7f11
JM
387832012-02-29 Joseph Myers <joseph@codesourcery.com>
38784
38785 * math/libm-test.inc (llround_test): Move one test from
38786 lround_test. Use TEST_f_L in moved test.
38787 (lround_test): Move misplaced test to llround_test. Add testcase
38788 from bug 2561.
38789
39adf059
UD
387902012-02-28 Ulrich Drepper <drepper@gmail.com>
38791
38792 * sysdeps/x86_64/fpu/e_expf.S: New file.
38793 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
38794
71b5d1c5
SB
387952012-02-28 Stanislav Brabec <sbrabec@suse.cz>
38796
38797 [BZ #13637]
38798 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
38799 of remain_len that may cause incomplete multi-byte character and
38800 false match.
38801 * posix/bug-regex33.c: New file.
38802 * posix/Makefile (tests): Add bug-regex33.
38803
1f77f049
JM
388042012-02-28 Joseph Myers <joseph@codesourcery.com>
38805
38806 * manual/macros.texi: New file.
38807 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
38808 * manual/libc.texinfo: Include macros.texi.
38809 * manual/creatute.texi: Likewise.
38810 * manual/install.texi: Likewise.
38811 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
38812 @glibcadj{} in references to the GNU C Library.
38813 * manual/charset.texi: Likewise.
38814 * manual/conf.texi: Likewise.
38815 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
38816 when not using those macros.
38817 * manual/creature.texi: Likewise.
38818 * manual/crypt.texi: Likewise.
38819 * manual/errno.texi: Likewise.
38820 * manual/filesys.texi: Likewise.
38821 * manual/header.texi: Likewise.
38822 * manual/install.texi: Likewise.
38823 * manual/intro.texi: Likewise.
38824 * manual/io.texi: Likewise.
38825 * manual/job.texi: Likewise.
38826 * manual/lang.texi: Likewise.
38827 * manual/libc.texiinfo: Likewise.
38828 * manual/llio.texi: Likewise.
38829 * manual/locale.texi: Likewise.
38830 * manual/maint.texi: Likewise.
38831 * manual/math.texi: Likewise.
38832 * manual/memory.texi: Likewise.
38833 * manual/message.texi: Likewise.
38834 * manual/nss.texi: Likewise.
38835 * manual/pattern.texi: Likewise.
38836 * manual/process.texi: Likewise.
38837 * manual/resource.texi: Likewise.
38838 * manual/search.texi: Likewise.
38839 * manual/setjmp.texi: Likewise.
38840 * manual/signal.texi: Likewise.
38841 * manual/socket.texi: Likewise.
38842 * manual/startup.texi: Likewise.
38843 * manual/stdio.texi: Likewise.
38844 * manual/string.texi: Likewise.
38845 * manual/sysinfo.texi: Likewise.
38846 * manual/syslog.texi: Likewise.
38847 * manual/terminal.texi: Likewise.
38848 * manual/time.texi: Likewise.
38849 * manual/users.texi: Likewise.
38850 * INSTALL: Regenerated.
38851 * NOTES: Regenerated.
d40c5d54 38852 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 38853
450bf206
AS
388542012-02-28 Andreas Schwab <schwab@linux-m68k.org>
38855
38856 * include/dirent.h: Include <dirstream.h> before
38857 <dirent/dirent.h>.
38858
741a235b
DM
388592012-02-28 David S. Miller <davem@davemloft.net>
38860
38861 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
38862 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
38863 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
38864 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
38865
d6b5aa58
DM
388662012-02-27 David S. Miller <davem@davemloft.net>
38867
1aff59a3
DM
38868 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
38869 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
38870 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
38871 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
38872
d6b5aa58
DM
38873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
38874 frame pointer instead of stack pointer relative arg slot.
38875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38876 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38877 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38878
433f48bf
CD
388792012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
38880
38881 [BZ #3992]
38882 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
38883
d674b76d
DM
388842012-02-27 David S. Miller <davem@davemloft.net>
38885
38886 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
38887 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38888 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38889 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
38890 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38891 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38892 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
38893 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
38894
0e7727f7
JM
388952012-02-27 Joseph Myers <joseph@codesourcery.com>
38896
38897 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
38898 later. Allow versions 5-9.
43be4ca2 38899 * configure: Regenerated.
0e7727f7
JM
38900 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
38901 required minimum version and 4.6 as recommended version. Do not
38902 mention bugs in GCC 2.7 and 2.8.
43be4ca2 38903 * INSTALL: Regenerated.
0e7727f7 38904
a78bc654
DM
389052012-02-27 David S. Miller <davem@davemloft.net>
38906
428d5830
DM
38907 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
38908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
38909 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
38910 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
38911 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
38912 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
38913 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
38914 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
38915
a78bc654
DM
38916 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
38917 manipulate bits before adding and subtracting TWO112[sx].
38918 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38919
4579f81c
RM
389202012-02-27 Roland McGrath <roland@hack.frob.com>
38921
36c8acb4
RM
38922 [BZ #13775]
38923 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
38924 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
38925 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
38926 being in POSIX, because they are in 1003.1-2008.
38927
84ad622b
RM
38928 * rt/tst-aio.c: Include <fcntl.h>.
38929 * rt/tst-aio7.c: Likewise.
38930 * rt/tst-aio64.c: Likewise.
38931
4579f81c
RM
38932 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
38933
abd923db
JM
389342012-02-27 Joseph Myers <joseph@codesourcery.com>
38935
38936 * manual/install.texi (--with-headers): Describe headers as
38937 interface headers, not private headers.
38938 (Specific advice for GNU/Linux systems): Describe use of headers
38939 from "make headers_install", not private headers from older
38940 kernels.
43be4ca2 38941 * INSTALL: Regenerated.
abd923db
JM
38942 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
38943 Change to 2.6.19.
38944 * sysdeps/unix/sysv/linux/configure: Regenerated.
38945
6664049b
JM
38946 * manual/llio.texi (fclean): Remove documentation.
38947
bb8b6697
JM
38948 * manual/Makefile (libc-texi-generated): New variable. Include
38949 version.texi.
38950 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
38951 $(libc-texi-generated), not duplicated list of files.
38952 (version.texi, stamp-version): New rules.
38953 (realclean): Remove $(libc-texi-generated), not individual files
38954 from that list. Do not remove dir-add.texinfo.
38955 * manual/libc.texinfo: Comment out uses of edition numbers and
38956 references to printed manual. Remove last-updated dates.
38957 (EDITION): Comment out.
38958 (ISBN): Likewise.
38959 (VERSION, UPDATED): Remove.
38960 (version.texi): Include.
38961
12e5c3b9
AS
389622012-02-27 Andreas Schwab <schwab@linux-m68k.org>
38963
38964 * sysdeps/posix/spawni.c: Include <signal.h>.
38965 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
38966 * sysdeps/pthread/aio_fsync.c: Likewise.
38967
4efeffc1 389682012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 38969
ba63ba08
UD
38970 * conform/Makefile (tests): Run only when not cross-compiling and
38971 when fast-check is not defined.
38972
d94a4670
UD
38973 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
38974 * conform/data/limits.h-data: Fixes for POSIX2008.
38975 * conform/run-conformtest.sh: Run all tests.
38976 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
38977 headers.
38978 * include/bits/dlfcn.h: Likewise.
38979 * include/langinfo.h: Likewise.
38980 * include/monetary.h: Likewise.
38981 * include/sys/poll.h: Likewise.
38982
38983 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
38984 for __USE_GNU.
38985 * posix/spawn.h: Define __need_sigset_t.
38986 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
38987 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
38988 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
38989 to get sigevent_t only.
38990 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
38991 only for __USE_GNU.
38992 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38993 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38994 process_vm_writev only for __USE_GNU.
38995 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
38996
38997 * conform/Makefile: For now ignore errors from run-conformtest.
38998 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
38999 POSIX to avoid namespace pollution. Don't prepend headers.
39000 * conform/data/aio.h-data: Fixes for POSIX testing.
39001 * conform/data/fcntl.h-data: Likewise.
39002 * conform/data/glob.h-data: Likewise.
39003 * conform/data/grp.h-data: Likewise.
39004 * conform/data/pthread.h-data: Likewise.
39005 * conform/data/pwd.h-data: Likewise.
39006 * conform/data/signal.h-data: Likewise.
39007 * conform/data/spawn.h-data: Likewise.
39008 * conform/data/stdio.h-data: Likewise.
39009 * conform/data/stdlib.h-data: Likewise.
39010 * conform/data/stropts.h-data: Likewise.
39011 * conform/data/sys/mman.h-data: Likewise.
39012 * conform/data/sys/stat.h-data: Likewise.
39013 * conform/data/sys/types.h-data: Likewise.
39014 * conform/data/sys/wait.h-data: Likewise.
39015 * conform/data/time.h-data: Likewise.
39016 * conform/data/unistd.h-data: Likewise.
39017 * conform/data/utime.h-data: Likewise.
39018
39019 * io/sys/stat.h: fchmod was always in POSIX.
39020 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
39021 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
39022 * rt/aio.h: Define __need_timespec before including <time.h>.
39023 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
39024 struct. Add forward declaration of pthread_attr_t and use it in
39025 sigevent.
39026 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39027 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39028 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
39029 always remove CLK_TCK definition.
39030
c20105c3
AS
390312012-02-26 Andreas Schwab <schwab@linux-m68k.org>
39032
39033 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
39034
7a270350
UD
390352012-02-25 Ulrich Drepper <drepper@gmail.com>
39036
31341567
UD
39037 * conform/run-conformtest.sh: New file.
39038 * conform/Makefile: Run run-conformtest for tests.
39039 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
39040 support.
39041
39042 * conform/data/uchar.h-data: New file.
39043 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
39044 * conform/data/arpa/inet.h-data: Likewise.
39045 * conform/data/assert.h-data: Likewise.
39046 * conform/data/complex.h-data: Likewise.
39047 * conform/data/cpio.h-data: Likewise.
39048 * conform/data/ctype.h-data: Likewise.
39049 * conform/data/dirent.h-data: Likewise.
39050 * conform/data/dlfcn.h-data: Likewise.
39051 * conform/data/errno.h-data: Likewise.
39052 * conform/data/fcntl.h-data: Likewise.
39053 * conform/data/float.h-data: Likewise.
39054 * conform/data/fmtmsg.h-data: Likewise.
39055 * conform/data/fnmatch.h-data: Likewise.
39056 * conform/data/ftw.h-data: Likewise.
39057 * conform/data/glob.h-data: Likewise.
39058 * conform/data/grp.h-data: Likewise.
39059 * conform/data/iconv.h-data: Likewise.
39060 * conform/data/inttypes.h-data: Likewise.
39061 * conform/data/langinfo.h-data: Likewise.
39062 * conform/data/libgen.h-data: Likewise.
39063 * conform/data/limits.h-data: Likewise.
39064 * conform/data/locale.h-data: Likewise.
39065 * conform/data/math.h-data: Likewise.
39066 * conform/data/monetary.h-data: Likewise.
39067 * conform/data/mqueue.h-data: Likewise.
39068 * conform/data/ndbm.h-data: Likewise.
39069 * conform/data/net/if.h-data: Likewise.
39070 * conform/data/netdb.h-data: Likewise.
39071 * conform/data/netinet/in.h-data: Likewise.
39072 * conform/data/nl_types.h-data: Likewise.
39073 * conform/data/poll.h-data: Likewise.
39074 * conform/data/pthread.h-data: Likewise.
39075 * conform/data/pwd.h-data: Likewise.
39076 * conform/data/regex.h-data: Likewise.
39077 * conform/data/sched.h-data: Likewise.
39078 * conform/data/search.h-data: Likewise.
39079 * conform/data/semaphore.h-data: Likewise.
39080 * conform/data/setjmp.h-data: Likewise.
39081 * conform/data/signal.h-data: Likewise.
39082 * conform/data/spawn.h-data: Likewise.
39083 * conform/data/stdarg.h-data: Likewise.
39084 * conform/data/stdio.h-data: Likewise.
39085 * conform/data/stdlib.h-data: Likewise.
39086 * conform/data/string.h-data: Likewise.
39087 * conform/data/strings.h-data: Likewise.
39088 * conform/data/stropts.h-data: Likewise.
39089 * conform/data/sys/ipc.h-data: Likewise.
39090 * conform/data/sys/mman.h-data: Likewise.
39091 * conform/data/sys/msg.h-data: Likewise.
39092 * conform/data/sys/resource.h-data: Likewise.
39093 * conform/data/sys/select.h-data: Likewise.
39094 * conform/data/sys/sem.h-data: Likewise.
39095 * conform/data/sys/shm.h-data: Likewise.
39096 * conform/data/sys/socket.h-data: Likewise.
39097 * conform/data/sys/stat.h-data: Likewise.
39098 * conform/data/sys/statvfs.h-data: Likewise.
39099 * conform/data/sys/time.h-data: Likewise.
39100 * conform/data/sys/timeb.h-data: Likewise.
39101 * conform/data/sys/times.h-data: Likewise.
39102 * conform/data/sys/types.h-data: Likewise.
39103 * conform/data/sys/uio.h-data: Likewise.
39104 * conform/data/sys/un.h-data: Likewise.
39105 * conform/data/sys/utsname.h-data: Likewise.
39106 * conform/data/sys/wait.h-data: Likewise.
39107 * conform/data/syslog.h-data: Likewise.
39108 * conform/data/tar.h-data: Likewise.
39109 * conform/data/termios.h-data: Likewise.
39110 * conform/data/utime.h-data: Likewise.
39111 * conform/data/utmpx.h-data: Likewise.
39112 * conform/data/varargs.h-data: Likewise.
39113 * conform/data/wchar.h-data: Likewise.
39114 * conform/data/wctype.h-data: Likewise.
39115 * conform/data/wordexp.h-data: Likewise.
39116
39117 * include/stropts.h: New file.
39118 * include/uchar.h: New file.
39119 * include/aio.h: Changes to allow conformtest.pl to use the headers.
39120 * include/assert.h: Likewise.
39121 * include/ctype.h: Likewise.
39122 * include/dirent.h: Likewise.
39123 * include/dlfcn.h: Likewise.
39124 * include/fcntl.h: Likewise.
39125 * include/fnmatch.h: Likewise.
39126 * include/glob.h: Likewise.
39127 * include/grp.h: Likewise.
39128 * include/libio.h: Likewise.
39129 * include/locale.h: Likewise.
39130 * include/math.h: Likewise.
39131 * include/net/if.h: Likewise.
39132 * include/netdb.h: Likewise.
39133 * include/netinet/in.h: Likewise.
39134 * include/pthread.h: Likewise.
39135 * include/pwd.h: Likewise.
39136 * include/regex.h: Likewise.
39137 * include/sched.h: Likewise.
39138 * include/search.h: Likewise.
39139 * include/setjmp.h: Likewise.
39140 * include/signal.h: Likewise.
39141 * include/stdio.h: Likewise.
39142 * include/stdlib.h: Likewise.
39143 * include/string.h: Likewise.
39144 * include/sys/cdefs.h: Likewise.
39145 * include/sys/mman.h: Likewise.
39146 * include/sys/msg.h: Likewise.
39147 * include/sys/resource.h: Likewise.
39148 * include/sys/select.h: Likewise.
39149 * include/sys/socket.h: Likewise.
39150 * include/sys/stat.h: Likewise.
39151 * include/sys/statvfs.h: Likewise.
39152 * include/sys/time.h: Likewise.
39153 * include/sys/times.h: Likewise.
39154 * include/sys/uio.h: Likewise.
39155 * include/sys/utsname.h: Likewise.
39156 * include/sys/wait.h: Likewise.
39157 * include/termios.h: Likewise.
39158 * include/time.h: Likewise.
39159 * include/ulimit.h: Likewise.
39160 * include/unistd.h: Likewise.
39161 * include/utime.h: Likewise.
39162 * include/wchar.h: Likewise.
39163 * include/wctype.h: Likewise.
39164 * include/wordexp.h: Likewise.
39165
39166 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
39167
7a270350
UD
39168 * time/time.h: TIME_UTC must be a macro.
39169 Make timespec_get available for ISO C11 only as well.
39170
7724defc
UD
391712012-02-24 Ulrich Drepper <drepper@gmail.com>
39172
39173 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
39174 Reported by Peng Haitao <penght@cn.fujitsu.com>.
39175
6b1d1d46
JM
391762012-02-24 Joseph Myers <joseph@codesourcery.com>
39177
39178 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 39179
0f8bbd69
JM
391802012-02-24 Joseph Myers <joseph@codesourcery.com>
39181
39182 * manual/texinfo.tex: Update to version 2012-01-19.16.
39183
66ab80bc
JM
391842012-02-24 Joseph Myers <joseph@codesourcery.com>
39185
39186 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
39187
74981cc5
RM
391882012-02-24 Roland McGrath <roland@hack.frob.com>
39189
ee968201
RM
39190 [BZ #13738]
39191 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
39192 * manual/fdl-1.3.texi: New file.
39193 * manual/fdl-1.1.texi: File removed.
39194
74981cc5
RM
39195 [BZ #13738]
39196 * manual/libc.texinfo (FDL_VERSION): New @set.
39197 Use it for mention of FDL in cover text.
39198 (Documentation License): Use it in @include file name.
39199
7bb764bc
JM
392002012-02-22 Joseph Myers <joseph@codesourcery.com>
39201 Roland McGrath <roland@hack.frob.com>
39202
39203 [BZ #5461]
57f41c40
AS
39204 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
39205 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
39206 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
39207 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
39208 name.
39209 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
39210
6cbeae47
JM
392112012-02-22 Joseph Myers <joseph@codesourcery.com>
39212
39213 [BZ #2547]
39214 [BZ #11365]
39215 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
39216 manipulate bits before adding and subtracting TWO23[sx].
39217 * math/libm-test.inc (nearbyint_test): Add more tests.
39218
fe45ce09
JM
392192012-02-22 Joseph Myers <joseph@codesourcery.com>
39220
39221 [BZ #2548]
39222 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
39223 bits before adding and subtracting TWO23[sx].
39224 * math/libm-test.inc (rint_test): Add more tests.
39225 (rint_test_tonearest): Likewise.
39226 (rint_test_towardzero): Likewise.
39227 (rint_test_downward): Likewise.
39228 (rint_test_upward: Likewise.
39229
ff3b3d82
JM
392302012-02-22 Joseph Myers <joseph@codesourcery.com>
39231
39232 [BZ #10110]
39233 * include/stdc-predef.h: New file. Extracted from features.h.
39234 * include/features.h: Include stdc-predef.h.
39235 * Makefile (headers): Add stdc-predef.h.
39236 * CONFORMANCE (Compiler limitations): Update.
39237
ef0aab35
JM
392382012-02-22 Joseph Myers <joseph@codesourcery.com>
39239
39240 * manual/libc.texinfo (VERSION, UPDATED): Revert.
39241
58639409
DM
392422012-02-21 David S. Miller <davem@davemloft.net>
39243
39244 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
39245 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39246
c0e70b25
DM
392472012-02-20 David S. Miller <davem@davemloft.net>
39248
39249 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
39250 using a normal save/restore sequence, rather than allocating a
39251 dummy stack frame just to store a frame pointer and restore.
39252 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39253
fb06851d
JM
392542012-02-21 Joseph Myers <joseph@codesourcery.com>
39255
39256 * manual/install.texi: Fix stray word in line-wrapped comment.
39257
7a8b71c3
DM
392582012-02-20 David S. Miller <davem@davemloft.net>
39259
d510c123
DM
39260 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
39261 both binutils and gcc support GOTDATA.
39262
0722d7c2
DM
39263 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
39264 "rd %pc" in the PIC register setup sequences.
39265
3d2b3019
DM
39266 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
39267 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
39268 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39269 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
39270 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39271 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39272 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39273 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39274 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
39275 (SYSCALL_ERROR_HANDLER): Likewise.
39276 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39277 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39278 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
39279 (SYSCALL_ERROR_HANDLER): Likewise.
39280
c80098a9
DM
39281 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
39282 (HAVE_GCC_GOTDATA): New.
39283 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
39284 relocation support in both binutils and gcc.
39285 * sysdeps/sparc/elf/configure: Regenerate.
39286
3a2545a0
DM
39287 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
39288 * sysdeps/sparc/sparc32/elf/configure: Delete.
39289 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
39290 * sysdeps/sparc/sparc64/elf/configure: Delete.
39291 * sysdeps/sparc/elf/configure.in: New file.
39292 * sysdeps/sparc/elf/configure: Generate.
39293
7a8b71c3
DM
39294 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
39295 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
39296 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39297 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
39298 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
39299
f1e86fca
JM
393002012-02-21 Joseph Myers <joseph@codesourcery.com>
39301
39302 * manual/install.texi: Do not mention specific glibc version
39303 numbers.
39304 * manual/libc.texinfo (VERSION, UPDATED): Update.
39305 (@copying): Use @copyright{} and range of years.
39306
0e7dfaef
JM
393072012-02-21 Joseph Myers <joseph@codesourcery.com>
39308
39309 [BZ #13695]
39310 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
39311 [crti.S not in sysdirs] (generated): Do not append.
39312 [crti.S not in sysdirs] (omit-deps): Likewise.
39313 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
39314 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
39315 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
39316 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
39317 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
39318 Likewise.
39319 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
39320 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
39321 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
39322 * csu/defs.awk: Remove file.
39323 * sysdeps/generic/initfini.c: Likewise.
39324 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
39325 variable.
39326 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
39327 Likewise.
39328
599af3ca
JM
393292012-02-20 Joseph Myers <joseph@codesourcery.com>
39330
39331 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
39332 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
39333 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
39334 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
39335 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39336 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
39337 <bits/epoll.h>.
39338 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
39339 (__EPOLL_PACKED): Define to empty if not defined by
39340 <bits/epoll.h>.
39341 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
39342 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39343 bits/epoll.h.
39344
0e499750
JM
393452012-02-20 Joseph Myers <joseph@codesourcery.com>
39346
39347 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
39348 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
39349 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
39350 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
39351 <bits/timerfd.h>.
39352 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
39353 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39354 bits/timerfd.h.
39355
5ad91f6e
JM
393562012-02-20 Joseph Myers <joseph@codesourcery.com>
39357
39358 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
39359 in C locale.
39360 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39361 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
39362 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
39363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39364
06b99b02
AJ
393652012-02-20 Aurelien Jarno <aurelien@aurel32.net>
39366
39367 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39368 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39369
7638c0fd
AS
393702012-02-19 Andreas Schwab <schwab@linux-m68k.org>
39371
39372 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
39373 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
39374 defined.
39375 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
39376 Likewise.
39377 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
39378 entry for 2.16.
39379
92221550
AJ
393802012-02-19 Aurelien Jarno <aurelien@aurel32.net>
39381
39382 * math/w_acos.c: Use non-signaling floating-point comparisons.
39383 * math/w_acosf.c: Likewise.
39384 * math/w_acosh.c: Likewise.
39385 * math/w_acoshf.c: Likewise.
39386 * math/w_acoshl.c: Likewise.
39387 * math/w_acosl.c: Likewise.
39388 * math/w_asin.c: Likewise.
39389 * math/w_asinf.c: Likewise.
39390 * math/w_asinl.c: Likewise.
39391 * math/w_atanh.c: Likewise.
39392 * math/w_atanhf.c: Likewise.
39393 * math/w_atanhl.c: Likewise.
39394 * math/w_exp2.c: Likewise.
39395 * math/w_exp2f.c: Likewise.
39396 * math/w_exp2l.c: Likewise.
39397 * math/w_j0.c: Likewise.
39398 * math/w_j0f.c: Likewise.
39399 * math/w_j0l.c: Likewise.
39400 * math/w_j1.c: Likewise.
39401 * math/w_j1f.c: Likewise.
39402 * math/w_j1l.c: Likewise.
39403 * math/w_jn.c: Likewise.
39404 * math/w_jnf.c: Likewise.
39405 * math/w_log.c: Likewise.
39406 * math/w_log10.c: Likewise.
39407 * math/w_log10f.c: Likewise.
39408 * math/w_log10l.c: Likewise.
39409 * math/w_log2.c: Likewise.
39410 * math/w_log2f.c: Likewise.
39411 * math/w_log2l.c: Likewise.
39412 * math/w_logf.c: Likewise.
39413 * math/w_logl.c: Likewise.
39414 * math/w_sqrt.c: Likewise.
39415 * math/w_sqrtf.c: Likewise.
39416 * math/w_sqrtl.c: Likewise.
39417 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39418 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
39419 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39420 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39421 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39422
ebaf36eb
JM
394232012-02-19 Joseph Myers <joseph@codesourcery.com>
39424
39425 [BZ #9739]
39426 * manual/string.texi (strnlen): Use correct parameter name in
39427 equivalent expression.
39428
71c254a6
JM
394292012-02-19 Joseph Myers <joseph@codesourcery.com>
39430
39431 [BZ #11174]
39432 * manual/users.texi (seteuid): Consistently use neweuid for
39433 argument name.
39434
16d2c631
JM
394352012-02-19 Joseph Myers <joseph@codesourcery.com>
39436
39437 [BZ #13704]
39438 * manual/nss.texi (Services in the NSS configuration): Correct
39439 list of services in example configuration file.
39440
cd837b09
NB
394412012-02-19 Nick Bowler <nbowler@draconx.ca>
39442
39443 [BZ #11322]
39444 * manual/arith.texi: Remove statements about negative zero
39445 behaving identically to zero.
39446
02c4bbad
JM
394472012-02-18 Joseph Myers <joseph@codesourcery.com>
39448
39449 [BZ #5993]
39450 * manual/install.texi: Do not document upgrading from libc5.
39451
366842e7
JM
394522012-02-18 Joseph Myers <joseph@codesourcery.com>
39453
39454 [BZ #4596]
39455 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
39456
dd54084d
DM
394572012-02-18 David S. Miller <davem@davemloft.net>
39458
39459 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
39460 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
39461 %o7 across the call.
39462 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
39463 instead.
39464 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
39465 SETUP_PIC_REG_LEAF.
39466 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39467 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
39468 * sysdeps/sparc/crtn.S: Likewise.
39469
2bcc53a3
UD
394702012-02-17 Ulrich Drepper <drepper@gmail.com>
39471
39472 * aout/Makefile: Remove.
39473
09c093b5
RK
394742012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
39475
39476 [BZ #13058]
39477 * manual/examples/argp-ex1.c (main): Format definition in GNU
39478 style.
39479 * manual/examples/argp-ex2.c (main): Likewise.
39480 * manual/examples/argp-ex3.c (main): Likewise.
39481 * manual/examples/argp-ex4.c (main): Likewise.
39482 * manual/examples/longopt.c (main): Use new-style prototype
39483 definition.
39484 * manual/examples/strncat.c (main): Specify return type and use
39485 (void) for arguments.
39486 * manual/examples/subopt.c (main): Use char **argv argument.
39487
2ee633a2
JM
394882012-02-17 Joseph Myers <joseph@codesourcery.com>
39489
39490 [BZ #5077]
39491 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
39492 rounding modes.
39493
0520adde
FB
394942012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
39495
39496 [BZ #6907]
39497 * manual/string.texi (strchr): Change when strchrnul is
39498 recommended.
39499
3f4081cd
DGM
395002012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
39501
39502 [BZ #174]
39503 * manual/locale.texi (setlocale): Document LOCPATH.
39504
d1b10e78
JM
395052012-02-17 Joseph Myers <joseph@codesourcery.com>
39506
39507 [BZ #10210]
39508 * manual/process.texi (execle): Move @dots{} before last argument.
39509
79c6869c
PB
395102012-02-17 Paul Bolle <pebolle@tiscali.nl>
39511
39512 [BZ #12047]
39513 * manual/charset.texi (Generic Charset Conversion): Fix typo
39514 (LC_TYPE -> LC_CTYPE).
39515
cc6e48bc
NB
395162012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
39517
39518 [BZ #5805]
39519 * manual/arith.texi (scalbn): Use @var{} on parameter names.
39520 (scalbnf): Likewise.
39521 (scalbnl): Likewise.
39522 (scalbln): Likewise.
39523 (scalblnf): Likewise.
39524 (scalblnl): Likewise.
39525 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
39526 (vwarnx): Likewise.
39527 (verr): Likewise.
39528 (verrx): Likewise.
39529 * manual/filesys.texi (telldir): Use braces around return type.
39530 * manual/llio.texi (mmap): Add space after comma.
39531 (mmap64): Likewise.
39532 * manual/math.texi (jn): Use @var{} on parameter names.
39533 (jnf): Likewise.
39534 (jnl): Likewise.
39535 (yn): Likewise.
39536 (ynf): Likewise.
39537 (ynl): Likewise.
39538 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
39539 line.
39540 * manual/resource.texi (ulimit): Use @dots{} instead of literal
39541 "...".
39542 (sched_get_priority_min): Remove semicolon on @deftypefun line.
39543 (sched_get_priority_max): Likewise.
39544 * manual/signal.texi (sigvec): Add space after comma.
39545 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
39546 names.
39547 (if_indextoname): Likewise.
39548 (if_freenameindex): Likewise.
39549 (sendto): Use ',' instead of '.' in prototype.
39550 * manual/startup.texi (syscall): Use @dots{} instead of literal
39551 "...".
39552 * manual/stdio.texi (__fpending): Separate initial words of
39553 paragraph from @deftypefun line.
39554 * manual/syslog.texi (syslog): Use @dots{} instead of literal
39555 "...".
39556 (vsyslog): Use @var{} on parameter names.
39557 * manual/terminal.texi (stty): Use @var{} on parameter names.
39558 * manual/users.texi (getutmp): Use @var{} on parameter names.
39559 (getutmpx): Likewise.
39560
5b23062f
JM
395612012-02-17 Joseph Myers <joseph@codesourcery.com>
39562
39563 [BZ #6884]
39564 * manual/stdio.texi (fopen): Fix typos in description of
39565 ",ccs=STRING".
39566
8dee4833
AJ
395672012-02-17 Aurelien Jarno <aurelien@aurel32.net>
39568
39569 [BZ #4026]
39570 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
39571 get clock_id definition.
39572
9078ce93
TS
395732012-02-17 Thomas Schwinge <thomas@schwinge.name>
39574
39575 [BZ #4822]
39576 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
39577 (madvise): Cast every argument to void on its own.
39578
3835c55f
JM
395792012-02-17 Joseph Myers <joseph@codesourcery.com>
39580
39581 [BZ #9902]
39582 * manual/startup.texi (Exit Status): Fix typo.
39583
35c47e37
JM
395842012-02-17 Joseph Myers <joseph@codesourcery.com>
39585
39586 [BZ #10140]
39587 * manual/examples/argp-ex1.c: Include <stdlib.h>.
39588 * manual/examples/argp-ex2.c: Likewise.
39589 * manual/examples/argp-ex3.c: Likewise.
39590
e3b69ca7
RH
395912012-02-16 Richard Henderson <rth@redhat.com>
39592
39593 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
39594 * sysdeps/s390/s390-32/initfini.c: Remove.
39595 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
39596 * sysdeps/s390/s390-64/initfini.c: Remove.
39597
df83af67
KK
395982012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39599
39600 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
39601 compiler output for sysdeps/generic/initfini.c.
39602 * sysdeps/sh/elf/initfini.c: Remove file.
39603
f63f3380
DM
396042012-02-16 David S. Miller <davem@davemloft.net>
39605
fb59b3a4
DM
39606 [BZ #11494]
39607 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
39608
f63f3380
DM
39609 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
39610 * sysdeps/sparc/crti.S: New file.
39611 * sysdeps/sparc/crtn.S: New file.
39612 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
39613 * sysdeps/sparc/sparc64/Makefile: Likewise.
39614
df6a4a4a
MF
396152012-02-15 Mike Frysinger <vapier@gentoo.org>
39616
6dd8f3dc 39617 [BZ #3335]
df6a4a4a
MF
39618 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
39619
1cac7236
RM
396202012-02-15 Roland McGrath <roland@hack.frob.com>
39621
d2c736f8
RM
39622 [BZ #4822]
39623 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
39624
1cac7236
RM
39625 * mach/devstream.c (cookie_io_functions_t): Macro removed.
39626 (write, read, close): Likewise.
39627 Patch by Aurelien Jarno <aurelien@aurel32.net>.
39628
8e475601
JM
396292012-02-15 Joseph Myers <joseph@codesourcery.com>
39630
39631 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
39632 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
39633 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
39634 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
39635 <bits/signalfd.h>.
39636 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
39637 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39638 bits/signalfd.h.
39639
ed656b40
MP
396402012-02-14 Marek Polacek <polacek@redhat.com>
39641
39642 * sysdeps/x86_64/crti.S: New file.
39643 * sysdeps/x86_64/crtn.S: New file.
39644 * sysdeps/x86_64/elf/initfini.c: Remove file.
39645
2a979d3a
JM
396462012-02-13 Joseph Myers <joseph@codesourcery.com>
39647
39648 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
39649 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
39650 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
39651 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
39652 <bits/inotify.h>.
39653 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
39654 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39655 bits/inotify.h.
39656
2a418ac3
JM
396572012-02-13 Joseph Myers <joseph@codesourcery.com>
39658
39659 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
39660 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
39661 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
39662 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
39663 <bits/eventfd.h>.
39664 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
39665 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39666 bits/eventfd.h.
39667
fb779be7
TS
396682012-02-10 Thomas Schwinge <thomas@codesourcery.com>
39669
e19e83c5
RM
39670 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
39671 __feraiseexcept instead of feraiseexcept.
7c35ffed 39672
fb779be7
TS
39673 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
39674 nanosleep invocations.
39675 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
39676 strings, and add error checking for a nanosleep invocations.
39677
59ba27a6
PE
396782012-02-09 Paul Eggert <eggert@cs.ucla.edu>
39679
39680 Replace FSF snail mail address with URLs, as per GNU coding standards.
39681 Most of the snail mail addresses were wrong anyway, and omitting
39682 them makes the source code easier to maintain. Almost all of the
39683 changes are to license notices and to locale LC_IDENTIFICATION
39684 addresses, except for this one:
39685 * manual/libc.texinfo: In "Published by", give the FSF's URL,
39686 not its snail mail address.
39687
57b957eb
RH
396882012-02-09 Richard Henderson <rth@twiddle.net>
39689
af850b1c
RH
39690 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
39691 of kernel-features.h.
39692
57b957eb
RH
39693 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
39694
6b73181a
MP
396952012-02-08 Marek Polacek <polacek@redhat.com>
39696
39697 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
39698 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
39699 * sysdeps/gnu/_G_config.h: Likewise.
39700 * sysdeps/generic/_G_config.h: Likewise.
39701
26ecc33a
AS
397022012-02-08 Andreas Schwab <schwab@linux-m68k.org>
39703
6c6dbc63
AS
39704 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
39705 tests.
39706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39707
e216c012
AS
39708 * sysdeps/powerpc/powerpc32/crti.S: New file.
39709 * sysdeps/powerpc/powerpc32/crtn.S: New file.
39710 * sysdeps/powerpc/powerpc64/crti.S: New file.
39711 * sysdeps/powerpc/powerpc64/crtn.S: New file.
39712
26ecc33a
AS
39713 * Makeconfig (have-initfini): Don't set.
39714 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
39715 * configure.in (nopic_initfini): Don't substitute.
39716 * config.h.in (HAVE_INITFINI): Don't #undef.
39717 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
39718 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
39719
3add8e13
JM
397202012-02-08 Joseph Myers <joseph@codesourcery.com>
39721
39722 Support crti.S and crtn.S provided directly by architectures.
39723 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
39724 [crti.S in sysdirs] (omit-deps): Likewise.
39725 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
39726 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
39727 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
39728 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
39729 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
39730 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
39731 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
39732 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
39733 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
39734 compiler output for sysdeps/generic/initfini.c.
39735 * sysdeps/i386/elf/Makefile: Remove file.
39736 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
39737
a22f12b4
MP
397382012-02-07 Marek Polacek <polacek@redhat.com>
39739
39740 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
39741 * sysdeps/gnu/_G_config.h: Likewise.
39742 * sysdeps/mach/hurd/_G_config.h: Likewise.
39743
148cf100
MP
397442012-02-07 Marek Polacek <polacek@redhat.com>
39745
39746 * math/Makefile (tests): Add tst-CMPLX2.
39747 * math/tst-CMPLX2.c: New file.
39748
cfdc0dd7
AS
397492012-02-07 Andreas Schwab <schwab@linux-m68k.org>
39750
84ba42c4
AS
39751 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39752
cfdc0dd7
AS
39753 * math/libm-test.inc (jn_test): Add missing L suffix.
39754
622c86f4
MP
397552012-02-06 Marek Polacek <polacek@redhat.com>
39756
39757 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
39758 * sysdeps/i386/fpu/e_powf.S: Likewise.
39759 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39760 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39761 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39762 * sysdeps/i386/fpu/e_pow.S: Likewise.
39763 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39764 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39765 * sysdeps/i386/fpu/s_expm1.S: Likewise.
39766 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39767 * sysdeps/i386/fpu/e_log2.S: Likewise.
39768 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39769 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39770 * sysdeps/i386/fpu/e_powl.S: Likewise.
39771 * sysdeps/i386/fpu/s_log1p.S: Likewise.
39772 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39773 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39774 * sysdeps/i386/fpu/e_logl.S: Likewise.
39775 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39776 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
39777 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39778 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39779 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39780 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39781 * sysdeps/i386/fpu/e_log.S: Likewise.
39782 * sysdeps/i386/fpu/s_cexp.S: Likewise.
39783 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39784 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
39785 * sysdeps/i386/fpu/e_logf.S: Likewise.
39786 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39787 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39788 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
39789 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39790 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39791 * sysdeps/i386/fpu/e_log10.S: Likewise.
39792 * sysdeps/i386/fpu/s_frexp.S: Likewise.
39793 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39794 * sysdeps/i386/fpu/s_asinh.S: Likewise.
39795 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39796 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39797 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39798 * sysdeps/i386/asm-syntax.h: Likewise.
39799 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39800 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39801 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39802 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
39803 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
39804 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39805 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39806 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39807 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39808 * sysdeps/powerpc/sysdep.h: Likewise.
39809 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
39810 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39811
d4a54ac6
JM
398122012-02-06 Joseph Myers <joseph@codesourcery.com>
39813
39814 [BZ #411]
39815 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
39816
314054ea
JM
398172012-02-06 Joseph Myers <joseph@codesourcery.com>
39818
39819 * sysdeps/i386/sysdep.h: Include <features.h>.
39820 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
39821 version.
39822
d8e0ca50
JM
398232012-02-05 Joseph Myers <joseph@codesourcery.com>
39824
39825 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
39826 Define.
39827 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
39828 LOAD_PIC_REG_STR.
39829
b1da7dd9
JM
398302012-02-03 Joseph Myers <joseph@codesourcery.com>
39831
39832 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
39833 (SETUP_PIC_REG): Use GET_PC_THUNK.
39834 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
39835 macro.
39836
9a1d9254
JM
398372012-02-03 Joseph Myers <joseph@codesourcery.com>
39838
39839 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
39840 for non-PIC compilation.
39841 (SETUP_PIC_REG): Add .p2align directive.
39842 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
39843 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
39844 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39845 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39846 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39847 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39848 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39849 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39850 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39851 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39852 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39853 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39854 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39855 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39856 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39857 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39858 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39859 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39860 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39861 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39862 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39863 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39864 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39865 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39866 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39867 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39868 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39869 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39870 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39871 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39872 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39873 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39874 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39875 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39876 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39877 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39878 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39879 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39880 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39881 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39882 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39883
65dc3b75
JM
398842012-02-03 Joseph Myers <joseph@codesourcery.com>
39885
39886 * math/tst-CMPLX.c: Include <stdio.h>.
39887
d55bf177
JM
398882012-01-31 Joseph Myers <joseph@codesourcery.com>
39889
39890 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
39891 float.
39892 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39893 * sysdeps/sparc/bits/mathdef.h: Likewise.
39894
69db4f8f
MP
398952012-01-31 Marek Polacek <polacek@redhat.com>
39896
39897 * libio/libio.h: Don't define _PARAMS.
39898 * locale/programs/config.h: Don't define PARAMS.
39899 * stdlib/strtol_l.c: Likewise.
39900 (__strtol_l): Remove PARAMS from the prototype.
39901
41b81892
UD
399022012-01-31 Ulrich Drepper <drepper@gmail.com>
39903
3b49edc0
UD
39904 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
39905 names. Just use the correct names. Remove unnecessary wrapper
39906 functions.
39907 * malloc/arena.c: Likewise.
39908 * malloc/hooks.c: Likewise.
39909
41b81892
UD
39910 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
39911 ARENA_TEST says not to. Simplify test for creation of a new arena.
39912 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
39913
27a25b6e
UD
399142012-01-30 Ulrich Drepper <drepper@gmail.com>
39915
39916 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
39917 into tail calls.
39918 (update_get_addr): New function.
39919 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
39920 GET_ADDR_MODULE parameter.
39921
c8a89e7d
JM
399222012-01-30 Joseph Myers <joseph@codesourcery.com>
39923
39924 * crypt/cert.c: Remove __STDC__ conditionals.
39925 * crypt/crypt-entry.c: Likewise.
39926 * crypt/crypt_util.c: Likewise.
39927 * libio/filedoalloc.c: Likewise.
39928 * libio/fileops.c: Likewise.
39929 * libio/genops.c: Likewise.
39930 * libio/iofclose.c: Likewise.
39931 * libio/iofdopen.c: Likewise.
39932 * libio/iofopen.c: Likewise.
39933 * libio/iofopen64.c: Likewise.
39934 * libio/iogetdelim.c: Likewise.
39935 * libio/iopopen.c: Likewise.
39936 * libio/obprintf.c: Likewise.
39937 * libio/oldfileops.c: Likewise.
39938 * libio/oldiofclose.c: Likewise.
39939 * libio/oldiofdopen.c: Likewise.
39940 * libio/oldiofopen.c: Likewise.
39941 * libio/oldiopopen.c: Likewise.
39942 * libio/wfiledoalloc.c: Likewise.
39943 * libio/wgenops.c: Likewise.
39944 * locale/programs/xmalloc.c: Likewise.
39945 * misc/syslog.c: Likewise.
39946 * stdio-common/xbug.c: Likewise.
39947 * string/memchr.c: Likewise.
39948 * string/memcmp.c: Likewise.
39949 * string/memrchr.c: Likewise.
39950 * string/rawmemchr.c: Likewise.
39951 * sysdeps/posix/getcwd.c: Likewise.
39952 * time/strftime_l.c: Likewise.
39953
3b100462
JM
399542012-01-30 Joseph Myers <joseph@codesourcery.com>
39955
39956 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
39957 * config.make.in (config-cflags-sse2avx): Define.
39958 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
39959 Fix typo.
39960
607998af
CM
399612012-01-29 Chris Metcalf <cmetcalf@tilera.com>
39962
39963 * scripts/config.guess: Update from upstream config git repository.
39964 * scripts/config.sub: Likewise.
39965
3601428f
CM
399662012-01-28 Chris Metcalf <cmetcalf@tilera.com>
39967
3ac8b282
CM
39968 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
39969 (EM_NUM): Update.
39970 (R_TILEPRO_*, R_TILEGX_*): New macros.
39971
e034841e
CM
39972 * scripts/firstversions.awk: Fix bug in version range handling.
39973
540d7568
CM
39974 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
39975
3601428f
CM
39976 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
39977
463de862
CM
39978 * include/sys/epoll.h: New file.
39979 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
39980 libc_hidden_def.
39981
73139a76
UD
399822012-01-28 Ulrich Drepper <drepper@gmail.com>
39983
96bc5b45
UD
39984 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
39985 Avoid unnecessary __WORDSIZE == 64 test.
39986 (fmaxf): Use VEX format if possible.
39987 (fmax): Likewise.
39988 (fminf): Likewise.
39989 (fmin): Likewise.
39990
56f6f6a2
UD
39991 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
39992 * math/math_private.h: Remove libc_fegetround* and
39993 libc_fesetround*.
39994 * sysdeps/i386/configure.in: Check for -msse2avx.
39995 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
39996 also if SSE2AVX is defined.
39997 Remove libc_fegetround* and libc_fesetround*.
39998 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
39999 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
40000 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
40001 of HAS_YMM_USABLE.
40002 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40003 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40004 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40005 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40006 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40007
73139a76
UD
40008 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
40009
d73f93a4
AZ
400102012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40011
40012 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
40013 size is not set.
40014 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40015
6ee65ed6
UD
400162012-01-27 Ulrich Drepper <drepper@gmail.com>
40017
40018 [BZ #13618]
40019 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
40020 relocation.
40021 * Makeconfig (libm): Define.
40022 * elf/Makefile: Add rules to build and run tst-relsort1.
40023 * elf/tst-relsort1.c: New file.
40024 * elf/tst-relsort1mod1.c: New file.
40025 * elf/tst-relsort1mod2.c: New file.
40026
8db21882
JM
400272012-01-27 Joseph Myers <joseph@codesourcery.com>
40028
40029 * math/s_ldexp.c: Remove __STDC__ conditionals.
40030 * math/s_ldexpf.c: Likewise.
40031 * math/s_ldexpl.c: Likewise.
40032 * math/s_nextafter.c: Likewise.
40033 * math/s_nexttowardf.c: Likewise.
40034 * math/s_significand.c: Likewise.
40035 * math/s_significandf.c: Likewise.
40036 * math/s_significandl.c: Likewise.
40037 * math/w_jnl.c: Likewise.
40038 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40039 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40040 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40041 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40042 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40043 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40044 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
40045 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40046 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40047 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40048 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40049 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40050 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40051 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40052 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40053 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40054 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40055 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40056 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40057 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40058 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40059 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40060 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40061 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40062 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40063 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40064 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40065 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40066 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40067 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40068 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40069 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40070 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40071 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40072 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40073 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40074 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40075 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40076 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40077 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40078 * sysdeps/ieee754/k_standard.c: Likewise.
40079 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40080 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40081 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40082 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40083 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40084 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40085 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40086 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40087 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40088 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40089 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40090 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40091 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40092 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40093 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40094 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40095 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40096 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40097 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40098 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40099 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40100 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40101 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40102 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40103 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40104 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40105 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40106 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40107 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40108 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40109 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40110 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
40111 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40112 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40113 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40114 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40115 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
40116 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40117 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40118 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
40119 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
40120 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40121 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
40122 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
40123 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40124 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
40125 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
40126 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40127 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40128 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
40129 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
40130 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40131 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40132 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40133 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40134 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40135 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
40136 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40137 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40138 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40139 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40140 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40141 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40142 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40143 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40144 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40145 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40146 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40147 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40148 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40149 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40150 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40151 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40152 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40153 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40154 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40155 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40156 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40157 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40158 * sysdeps/ieee754/s_matherr.c: Likewise.
40159 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40160 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40161 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40162 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40163
965a54a4
JM
401642012-01-26 Joseph Myers <joseph@codesourcery.com>
40165
40166 * crypt/md5.h: Remove __STDC__ conditionals.
40167 * libio/libioP.h: Likewise.
40168 * locale/programs/config.h: Likewise.
40169 * sysdeps/generic/sysdep.h: Likewise.
40170 * sysdeps/i386/asm-syntax.h: Likewise.
40171 * sysdeps/s390/asm-syntax.h: Likewise.
40172 * sysdeps/unix/sysdep.h: Likewise.
40173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40175
7071ad79
JM
401762012-01-26 Joseph Myers <joseph@codesourcery.com>
40177
40178 * libio/libio.h: Remove __STDC__ conditionals.
40179 * malloc/obstack.h: Likewise.
40180 * math/complex.h: Likewise.
40181 * math/math.h: Likewise.
40182 * sysdeps/generic/_G_config.h: Likewise.
40183 * sysdeps/gnu/_G_config.h: Likewise.
40184 * sysdeps/mach/hurd/_G_config.h: Likewise.
40185 * sysdeps/powerpc/bits/mathdef.h: Likewise.
40186 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40187 * sysdeps/sparc/bits/mathdef.h: Likewise.
40188
afc5ed09
UD
401892012-01-26 Ulrich Drepper <drepper@gmail.com>
40190
40191 [BZ #13583]
40192 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 40193 Clean up HAS_* macros.
afc5ed09 40194 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
40195 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
40196 possible.
40197 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
40198 HAS_AVX.
40199 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40200 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40201 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40202 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40203 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 40204
bdb6de1d
JM
402052012-01-25 Joseph Myers <joseph@codesourcery.com>
40206
40207 * elf/tst-unique3.cc (gets): Remove declaration.
40208 * elf/tst-unique3lib.cc (gets): Likewise.
40209 * elf/tst-unique3lib2.cc (gets): Likewise.
40210 * elf/tst-unique4.cc (gets): Likewise.
40211
b15549e6
UD
402122012-01-24 Ulrich Drepper <drepper@gmail.com>
40213
40214 * include/stdio.h: Add C++ protection. Add gets declarations and
40215 definitions.
40216 * debug/tst-chk1.c: Don't declare gets here.
40217 * stdio-common/tst-gets.c: Likewise.
40218
a037381f
JM
402192012-01-24 Joseph Myers <joseph@codesourcery.com>
40220
40221 * posix/glob: Remove directory.
40222
f1d4aa75
JM
402232012-01-24 Joseph Myers <joseph@codesourcery.com>
40224
40225 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
40226
81c0c964
PT
402272012-01-22 Pino Toscano <toscano.pino@tiscali.it>
40228
40229 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
40230 of the non-standard EPFNOSUPPORT.
40231
0ea698ae
ST
402322011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
40233
40234 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
40235 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
40236 ANYWHERE set to 1 only on KERN_NO_SPACE error.
40237
d220b117
UD
402382012-01-21 Ulrich Drepper <drepper@gmail.com>
40239
40240 * wcsmbs/uchar.h: Test __STDC_VERSION__.
40241
3e1aa84e
UD
402422012-01-20 Ulrich Drepper <drepper@gmail.com>
40243
40244 * nscd/aicache.c (addhstaiX): Do not cache negative results of
40245 transient errors.
40246 * nscd/grpcache.c (cache_addgr): Likewise.
40247 * nscd/hstcache.c (cache_addhst): Likewise.
40248 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40249 * nscd/pwdcache.c (cache_addpw): Likewise.
40250 * nscd/servicescache.c (cache_addserv): Likewise.
40251
400aa020
UD
402522012-01-16 Ulrich Drepper <drepper@gmail.com>
40253
d77e7869
UD
40254 * malloc/malloc.c: Various cleanups.
40255 * malloc/hooks.c: Likewise.
40256
400aa020
UD
40257 * stdlib/Makefile (tests): Add bug-fmtmsg1.
40258 * stdlib/bug-fmtmsg1.c: New file.
40259
40260 * stdlib/fmtmsg.c (init): Add missing unlock.
40261 Patch by Peng Haitao <penght@cn.fujitsu.com>.
40262
e0a309cf
MP
402632012-01-12 Marek Polacek <polacek@redhat.com>
40264
40265 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
40266 and _GNU_SOURCE.
40267
929d11c7
WS
402682012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
40269
40270 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
40271 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
40272 macro to ensure uniqueness of label name.
40273 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40274 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40275
41d0e869
UD
402762012-01-11 Ulrich Drepper <drepper@gmail.com>
40277
0cc5ed3b
UD
40278 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
40279
41d0e869
UD
40280 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
40281 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40282 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40283 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
40284
a47a831a
UD
402852012-01-10 Ulrich Drepper <drepper@gmail.com>
40286
daa891c0
UD
40287 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
40288
40289 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
40290 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40291 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40292
e58ef0f2
UD
40293 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
40294
a47a831a 40295 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
40296 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40297 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 40298 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
40299
40300 * math/bits/math-finite.h: Add ldexp support.
40301
a0bfc9c7
MP
403022012-01-10 Marek Polacek <polacek@redhat.com>
40303
40304 * locale/programs/localedef.h (show_archive_content): Add noreturn
40305 attribute.
40306
d6e97a1d
UD
403072012-01-09 Ulrich Drepper <drepper@gmail.com>
40308
40309 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
40310
d5835c26
UD
403112012-01-08 Ulrich Drepper <drepper@gmail.com>
40312
e5f484c6
UD
40313 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
40314
d5835c26
UD
40315 * io/Makefile (headers): Add bits/poll2.h.
40316
d1f741e9
WS
403172011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
40318
40319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
40320 typo #include statement.
40321
ec09c1c4
UD
403222012-01-08 Ulrich Drepper <drepper@gmail.com>
40323
40324 * include/sys/cdefs.h: Define __attribute_alloc_size.
40325 * catgets/gencat.c: Add alloc_size attribute and apply consistently
40326 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
40327 * elf/pldd.c: Likewise.
40328 * iconv/iconv_charmap.c: Likewise.
40329 * iconv/iconvconfig.c: Likewise.
40330 * iconv/strtab.c: Likewise.
40331 * locale/programs/locale.c: Likewise.
40332 * locale/programs/localedef.h: Likewise.
40333 * locale/programs/simple-hash.c: Likewise.
40334 * nscd/nscd.h: Likewise.
40335 * nss/makedb.c: Likewise.
40336 * sysdeps/generic/ldconfig.h: Likewise.
40337 * locale/programs/localedef.c: Remove xmalloc prototype.
40338 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
40339
20b38e03
PP
403402012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40341
40342 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
40343 appropriate.
40344
a0da5fe1
UD
403452012-01-08 Ulrich Drepper <drepper@gmail.com>
40346
1d5a644a 40347 * math/Makefile (tests): Add tst-CMPLX.
669704fd 40348 * math/tst-CMPLX.c: New file.
1d5a644a 40349
8784a6db
UD
40350 * math/complex.h (CMPLXL): Fix typo.
40351
d9a216c0
UD
40352 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
40353 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
40354 GLIBC_2.16.
40355 * debug/tst-chk1.c: Add poll and ppoll tests.
40356 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
40357 * include/sys/poll.h: Add hidden proto for ppoll.
40358 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
40359 * sysdeps/mach/hurd/ppoll.c: Likewise.
40360 * io/ppoll.c: Likewise.
40361 * debug/poll_chk.c: New file.
40362 * debug/ppoll_chk.c: New file.
40363 * include/bits/poll2.h: New file.
40364 * io/bits/poll2.h: New file.
40365
ac097f5c
UD
40366 [BZ #1350]
40367 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
40368
2119dcfa
UD
40369 * configure.in: static is always set to yes. Remove.
40370 * config.make.in: Don't set build-static.
40371 * Makeconfig: Remove use of build-static.
40372 * dlfcn/Makefile: Likewise.
40373 * elf/Makefile: Likewise.
40374 * math/Makefile: Likewise.
40375 * misc/Makefile: Likewise.
40376 * nptl/Makefile: Likewise.
40377 * sysdeps/mach/hurd/Makefile: Likewise.
40378
121766a9
UD
40379 * configure.in: PWD_P is not used anymore.
40380 * config.make.in: Remove PWD_P entry.
40381
51a1d39c 40382 * configure.in: Remove last remnants of RANLIB.
8720d066 40383 No need to check for signed size_t anymore.
215f4bdc
UD
40384 Don't set libc_commonpagesize and libc_relro_required here for Alpha
40385 and IA-64.
3857022a 40386 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
40387 * aclocal.m4: Likewise.
40388
d3ed7225
UD
40389 * wcsmbs/mbrtoc16.c: Implement using towc function.
40390 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
40391 * wcsmbs/wcsmbsload.c: Likewise.
40392 * iconv/gconv_simple.c: Likewise.
40393 * iconv/gconv_int.h: Likewise.
40394 * iconv/gconv_builtin.h: Likewise.
40395 * iconv/iconv_prog.c: Remove CHAR16 handling.
40396
40397 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
40398
40399 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
40400
a0da5fe1
UD
40401 * configure.in: Remove --with-elf and --enable-bounded options.
40402 Dont set base_machine for ia64. More non-ELF conditions removed.
40403 Remove testing and setting of leading underscore information.
40404 * config.make.in (build-bounded): Set to no.
40405 * config.h.in: Remove NO_UNDERSCORES entry.
40406 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
40407 them.
40408 * csu/start.c: Remove !NO_UNDERSCORE code.
40409 * locale/localeinfo.h: Likewise.
40410 * sysdeps/generic/machine-gmon.h: Likewise.
40411 * sysdeps/generic/sysdep.h: Likewise.
40412 * sysdeps/i386/sysdep.h: Likewise.
40413 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40414 * sysdeps/mach/sysdep.h: Likewise.
40415 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40416 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40417 * sysdeps/sh/sysdep.h: Likewise.
40418 * sysdeps/sparc/sparc32/alloca.S: Likewise.
40419 * sysdeps/unix/i386/sysdep.S: Likewise.
40420 * sysdeps/unix/sparc/start.c: Likewise.
40421 * sysdeps/unix/sparc/sysdep.S: Likewise.
40422 * sysdeps/unix/sparc/sysdep.h: Likewise.
40423 * sysdeps/unix/start.c: Likewise.
40424 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40425 * sysdeps/x86_64/sysdep.h: Likewise.
40426
df78418a
UD
404272012-01-07 Ulrich Drepper <drepper@gmail.com>
40428
a784e502
UD
40429 [BZ #13553]
40430 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
40431 for non-gcc.
40432 * argp/argp-fmtstream.h: Use const instead __const.
40433 * argp/argp.h: Likewise.
40434 * assert/assert.h: Likewise.
40435 * bits/fenv.h: Likewise.
40436 * bits/sched.h: Likewise.
40437 * bits/sigset.h: Likewise.
40438 * bits/sigthread.h: Likewise.
40439 * catgets/nl_types.h: Likewise.
40440 * conform/data/pthread.h-data: Likewise.
40441 * crypt/crypt-private.h: Likewise.
40442 * crypt/crypt.h: Likewise.
40443 * crypt/crypt_util.c: Likewise.
40444 * ctype/ctype.h: Likewise.
40445 * debug/execinfo.h: Likewise.
40446 * debug/mbsnrtowcs_chk.c: Likewise.
40447 * debug/mbsrtowcs_chk.c: Likewise.
40448 * debug/wcsnrtombs_chk.c: Likewise.
40449 * debug/wcsrtombs_chk.c: Likewise.
40450 * debug/wcstombs_chk.c: Likewise.
40451 * dirent/dirent.h: Likewise.
40452 * dlfcn/dlfcn.h: Likewise.
40453 * elf/neededtest4.c: Likewise.
40454 * grp/grp.h: Likewise.
40455 * gshadow/gshadow.h: Likewise.
40456 * iconv/gconv.h: Likewise.
40457 * iconv/gconv_int.h: Likewise.
40458 * iconv/gconv_simple.c: Likewise.
40459 * iconv/iconv.h: Likewise.
40460 * iconv/loop.c: Likewise.
40461 * iconv/skeleton.c: Likewise.
40462 * include/aio.h: Likewise.
40463 * include/aliases.h: Likewise.
40464 * include/argz.h: Likewise.
40465 * include/arpa/inet.h: Likewise.
40466 * include/assert.h: Likewise.
40467 * include/dirent.h: Likewise.
40468 * include/dlfcn.h: Likewise.
40469 * include/execinfo.h: Likewise.
40470 * include/fcntl.h: Likewise.
40471 * include/fenv.h: Likewise.
40472 * include/glob.h: Likewise.
40473 * include/grp.h: Likewise.
40474 * include/libintl.h: Likewise.
40475 * include/mntent.h: Likewise.
40476 * include/netdb.h: Likewise.
40477 * include/pwd.h: Likewise.
40478 * include/rpc/netdb.h: Likewise.
40479 * include/sched.h: Likewise.
40480 * include/search.h: Likewise.
40481 * include/shadow.h: Likewise.
40482 * include/signal.h: Likewise.
40483 * include/stdio.h: Likewise.
40484 * include/stdlib.h: Likewise.
40485 * include/string.h: Likewise.
40486 * include/sys/socket.h: Likewise.
40487 * include/sys/stat.h: Likewise.
40488 * include/sys/statfs.h: Likewise.
40489 * include/sys/statvfs.h: Likewise.
40490 * include/sys/syslog.h: Likewise.
40491 * include/sys/time.h: Likewise.
40492 * include/sys/uio.h: Likewise.
40493 * include/time.h: Likewise.
40494 * include/unistd.h: Likewise.
40495 * include/utmp.h: Likewise.
40496 * include/wchar.h: Likewise.
40497 * include/wctype.h: Likewise.
40498 * inet/aliases.h: Likewise.
40499 * inet/arpa/inet.h: Likewise.
40500 * inet/netinet/ether.h: Likewise.
40501 * inet/netinet/in.h: Likewise.
40502 * intl/libintl.h: Likewise.
40503 * io/bits/fcntl2.h: Likewise.
40504 * io/fcntl.h: Likewise.
40505 * io/ftw.h: Likewise.
40506 * io/sys/poll.h: Likewise.
40507 * io/sys/stat.h: Likewise.
40508 * io/sys/statfs.h: Likewise.
40509 * io/sys/statvfs.h: Likewise.
40510 * io/utime.h: Likewise.
40511 * libio/bits/stdio.h: Likewise.
40512 * libio/bits/stdio2.h: Likewise.
40513 * libio/libio.h: Likewise.
40514 * libio/libioP.h: Likewise.
40515 * libio/stdio.h: Likewise.
40516 * locale/lc-ctype.c: Likewise.
40517 * locale/locale.h: Likewise.
40518 * login/utmp.h: Likewise.
40519 * malloc/arena.c: Likewise.
40520 * malloc/malloc.c: Likewise.
40521 * malloc/malloc.h: Likewise.
40522 * malloc/mcheck.c: Likewise.
40523 * malloc/mtrace.c: Likewise.
40524 * math/bits/mathcalls.h: Likewise.
40525 * math/fenv.h: Likewise.
40526 * math/math_private.h: Likewise.
40527 * misc/bits/error.h: Likewise.
40528 * misc/bits/syslog.h: Likewise.
40529 * misc/err.h: Likewise.
40530 * misc/error.h: Likewise.
40531 * misc/fstab.h: Likewise.
40532 * misc/mntent.h: Likewise.
40533 * misc/regexp.h: Likewise.
40534 * misc/search.h: Likewise.
40535 * misc/sgtty.h: Likewise.
40536 * misc/sys/mman.h: Likewise.
40537 * misc/sys/syslog.h: Likewise.
40538 * misc/sys/uio.h: Likewise.
40539 * misc/sys/xattr.h: Likewise.
40540 * misc/ttyent.h: Likewise.
40541 * nis/rpcsvc/ypclnt.h: Likewise.
40542 * nss/nss.h: Likewise.
40543 * posix/bits/unistd.h: Likewise.
40544 * posix/fnmatch.h: Likewise.
40545 * posix/glob.h: Likewise.
40546 * posix/sched.h: Likewise.
40547 * posix/spawn.h: Likewise.
40548 * posix/sys/wait.h: Likewise.
40549 * posix/unistd.h: Likewise.
40550 * posix/wordexp.h: Likewise.
40551 * pwd/pwd.h: Likewise.
40552 * resolv/netdb.h: Likewise.
40553 * resource/sys/resource.h: Likewise.
40554 * rt/aio.h: Likewise.
40555 * rt/bits/mqueue2.h: Likewise.
40556 * rt/mqueue.h: Likewise.
40557 * shadow/shadow.h: Likewise.
40558 * signal/signal.h: Likewise.
40559 * socket/send.c: Likewise.
40560 * socket/sendto.c: Likewise.
40561 * socket/sys/socket.h: Likewise.
40562 * stdio-common/printf.h: Likewise.
40563 * stdlib/bits/stdlib.h: Likewise.
40564 * stdlib/fmtmsg.h: Likewise.
40565 * stdlib/monetary.h: Likewise.
40566 * stdlib/stdlib.h: Likewise.
40567 * stdlib/ucontext.h: Likewise.
40568 * streams/stropts.h: Likewise.
40569 * string/argz.h: Likewise.
40570 * string/bits/string2.h: Likewise.
40571 * string/string.h: Likewise.
40572 * string/strings.h: Likewise.
40573 * sunrpc/rpc/auth.h: Likewise.
40574 * sunrpc/rpc/auth_des.h: Likewise.
40575 * sunrpc/rpc/clnt.h: Likewise.
40576 * sunrpc/rpc/netdb.h: Likewise.
40577 * sunrpc/rpc/pmap_clnt.h: Likewise.
40578 * sunrpc/rpc/xdr.h: Likewise.
40579 * sysdeps/generic/inttypes.h: Likewise.
40580 * sysdeps/generic/net/if.h: Likewise.
40581 * sysdeps/generic/sys/swap.h: Likewise.
40582 * sysdeps/gnu/net/if.h: Likewise.
40583 * sysdeps/gnu/utmpx.h: Likewise.
40584 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
40585 * sysdeps/i386/i486/bits/string.h: Likewise.
40586 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
40587 * sysdeps/s390/bits/string.h: Likewise.
40588 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
40589 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
40590 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
40591 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
40592 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
40593 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
40594 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
40595 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
40596 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
40597 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
40598 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
40599 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
40600 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
40601 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
40602 * sysdeps/unix/sysv/linux/readv.c: Likewise.
40603 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
40604 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
40605 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40606 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
40607 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
40608 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40609 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
40610 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
40611 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
40612 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
40613 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
40614 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
40615 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40616 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
40617 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
40618 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
40619 * sysvipc/sys/ipc.h: Likewise.
40620 * sysvipc/sys/msg.h: Likewise.
40621 * sysvipc/sys/sem.h: Likewise.
40622 * sysvipc/sys/shm.h: Likewise.
40623 * termios/termios.h: Likewise.
40624 * time/sys/time.h: Likewise.
40625 * time/time.h: Likewise.
40626 * wcsmbs/bits/wchar2.h: Likewise.
40627 * wcsmbs/uchar.h: Likewise.
40628 * wcsmbs/wchar.h: Likewise.
40629 * wctype/wctype.h: Likewise.
40630
0269750c
UD
40631 [BZ #13551]
40632 * Makeconfig: Remove all but ELF support including AIX support.
40633 * Makerules: Likewise.
40634 * config.h.in: Likewise.
40635 * config.make.in: Likewise.
40636 * configure: Likewise.
40637 * configure.in: Likewise.
40638 * csu/Makefile: Likewise.
40639 * csu/version.c: Likewise.
40640 * debug/Makefile: Likewise.
40641 * dlfcn/Makefile: Likewise.
40642 * elf/Makefile: Likewise.
40643 * extra-lib.mk: Likewise.
40644 * iconv/Makefile: Likewise.
40645 * include/libc-symbols.h: Likewise.
40646 * include/shlib-compat.h: Likewise.
40647 * resolv/Makefile: Likewise.
40648 * resolv/res_libc.c: Likewise.
40649 * rt/Makefile: Likewise.
40650 * sysdeps/i386/asm-syntax.h: Likewise.
40651 * sysdeps/i386/sysdep.h: Likewise.
40652 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40653 * sysdeps/mach/sysdep.h: Likewise.
40654 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
40655 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
40656 * sysdeps/s390/asm-syntax.h: Likewise.
40657 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40658 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40659 * sysdeps/sh/sysdep.h: Likewise.
40660 * sysdeps/unix/sparc/sysdep.h: Likewise.
40661 * sysdeps/wordsize-32/divdi3.c: Likewise.
40662 * sysdeps/x86_64/sysdep.h: Likewise.
40663
00bbd29b
UD
40664 * argp/Versions: Remove _argp_unlock_xxx.
40665
40666 [BZ #13559]
40667 * abilist/ld.abilist: Update. Adjust for removal of tls option.
40668 * abilist/libBrokenLocale.abilist: Likewise.
40669 * abilist/libanl.abilist: Likewise.
40670 * abilist/libc.abilist: Likewise.
40671 * abilist/libcrypt.abilist: Likewise.
40672 * abilist/libdl.abilist: Likewise.
40673 * abilist/libm.abilist: Likewise.
40674 * abilist/libnsl.abilist: Likewise.
40675 * abilist/libpthread.abilist: Likewise.
40676 * abilist/libresolv.abilist: Likewise.
40677 * abilist/librt.abilist: Likewise.
40678 * abilist/libthread_db.abilist: Likewise.
40679 * abilist/libutil.abilist: Likewise.
40680 * abilist/libnss_db.abilist: New file.
40681
40682 * scripts/abilist.awk: Add support for indirect functions.
40683
a2693a0e
UD
40684 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
40685
3f05895f
UD
40686 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
40687
ecb6fb48
UD
40688 * shlib-versions: Remove entries for ports architectures.
40689
664f8cb9
UD
40690 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
40691 files in ports.
40692 * elf/stackguard-macros.h: Remove support for IA-64.
40693 * elf/tst-auditmod1.c: Likewise.
40694 * sysdeps/generic/ldsodefs.h: Likewise.
40695
7ae81d88
UD
40696 * sysdeps/unix/sysv/linux/configure.in: Ports should define
40697 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
40698 configure files.
40699
bdeba135
UD
40700 [BZ #13552]
40701 * configure.in: Remove --enable-omitfp support.
40702 * FAQ.in: Adjust.
40703 * config.make.in: Likewise.
40704 * Makeconfig: Likewise.
40705 * manual/install.texi: Likewise.
40706
d75a0a62
UD
40707 In case anyone cares, the IA-64 architecture could move to ports.
40708 * sysdeps/ia64/*: Removed.
40709 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 40710 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 40711
dcc9756b
UD
40712 [BZ #13555]
40713 * configure.in: Remove entries for unsupported architectures.
40714
d3761ebc 40715 [BZ #13533]
9954432e
UD
40716 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
40717 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
40718 routines.
40719 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
40720 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
40721 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
40722 fall back to using wcrtomb.
40723 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
40724 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
40725 renaming.
40726 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
40727 * wcsmbs/tst-c16c32-1.c: New file.
40728
40729 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
40730 local variable.
40731
c3a87236
UD
40732 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
40733
28926a1b
UD
40734 * elf/tst-unique3.cc: Add explicit declaration of gets.
40735 * elf/tst-unique3lib.cc: Likewise.
40736 * elf/tst-unique3lib2.cc: Likewise.
40737 * elf/tst-unique4.cc: Likewise.
40738
df78418a
UD
40739 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
40740
8ecd6b2a
JM
407412012-01-06 Joseph Myers <joseph@codesourcery.com>
40742
40743 [BZ #13566]
40744 * assert/assert.h (static_assert): Don't define for C++.
40745 * libio/stdio.h (gets): Do declare for C++ <= C++11.
40746 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
40747
9f115170
UD
407482012-01-03 Ulrich Drepper <drepper@gmail.com>
40749
5e0d0300
UD
40750 * iconv/loop.c (single loop): Fix assertion in storing of
40751 remaining bytes.
40752
9f115170
UD
40753 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
40754
81fb02b0
UD
407552012-01-01 Ulrich Drepper <drepper@gmail.com>
40756
40757 * posix/getconf.c: Update copyright year.
40758 * nss/getent.c: Likewise.
a316c1f6 40759 * nss/makedb.c: Likewise.
81fb02b0
UD
40760 * iconv/iconvconfig.c: Likewise.
40761 * iconv/iconv_prog.c: Likewise.
40762 * elf/ldconfig.c: Likewise.
a316c1f6
UD
40763 * elf/pldd.c: Likewise.
40764 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
40765 * catgets/gencat.c: Likewise.
40766 * csu/version.c: Likewise.
40767 * elf/ldd.bash.in: Likewise.
40768 * elf/sprof.c (print_version): Likewise.
40769 * locale/programs/locale.c: Likewise.
40770 * locale/programs/localedef.c: Likewise.
a316c1f6 40771 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
40772 * nscd/nscd.c (print_version): Likewise.
40773 * debug/xtrace.sh: Likewise.
40774 * malloc/memusage.sh: Likewise.
40775 * malloc/mtrace.pl: Likewise.
40776 * debug/catchsegv.sh: Likewise.
40777
2ba92745
JJ
407782011-12-30 Jakub Jelinek <jakub@redhat.com>
40779
40780 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
40781 pure attribute.
40782
dadebdae
UD
407832011-12-24 Ulrich Drepper <drepper@gmail.com>
40784
d3761ebc 40785 [BZ #13533]
db6af3eb
UD
40786 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
40787 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
40788 transformations.
40789 * iconv/gconv_int.h: Likewise.
40790 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
40791 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
40792 from libc for GLIBC_2.16.
40793 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
40794 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
40795 * wcsmbs/uchar.h: Really define mbstate_t.
40796 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
40797 * wcsmbs/c16rtomb.c: New file.
40798 * wcsmbs/mbrtoc16.c: New file.
40799 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
40800 for C/POSIX locale.
40801 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
40802 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
40803
dadebdae
UD
40804 * wcsmbs/wchar.h: Add missing __restrict.
40805
67371b56
UD
408062011-12-23 Ulrich Drepper <drepper@gmail.com>
40807
74033a25
UD
40808 [BZ #13532]
40809 * time/Makefile (routines): Add timespec_get.
40810 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
40811 * time/time.h: Define TIME_UTC and declare timespec_get. Define
40812 timespec for ISO C11.
40813 * time/timespec_get.c: New file.
40814 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
40815 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
40816
380d7e87
UD
40817 [BZ #13531]
40818 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
40819 * stdlib/stdlib.h: Declare aligned_alloc.
40820 * Versions.def: Add GLIBC_2.16 for libc.
40821 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
40822
4e9e7a35
UD
40823 [BZ 13527]
40824 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
40825 ISO C11.
40826
380d7e87 40827 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
40828 code.
40829
03a71829
UD
40830 [BZ #13528]
40831 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
40832
839e283e
UD
40833 [BZ #13529]
40834 * assert/assert.h (static_assert): Define.
40835
ce5294e2 40836 * version.h: Update for 2.16 development version.
90fa7312 40837
8d44e150 40838 [BZ #13526]
d7809905
UD
40839 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
40840 _ISOC11_SOURCE.
40841
c0da14cd
UD
40842 * version.h (RELEASE): Bump for 2.15 release.
40843 * include/features.h (__GLIBC_MINOR__): Bump to 15.
40844
530a3249
MP
40845 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
40846 Patch by Marek Polacek <mpolacek@redhat.com>.
40847
67371b56
UD
40848 * bits/byteswap.h: Protect long long constants with __extension__.
40849 * sysdeps/i386/bits/byteswap.h: Likewise.
40850 * sysdeps/ia64/bits/byteswap.h: Likewise.
40851 * sysdeps/s390/bits/byteswap.h: Likewise.
40852 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40853
15db4de1
LD
408542011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40855
40856 [BZ #13540]
bbe315ea
LD
40857 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
40858 destination buffer.
15db4de1
LD
40859 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
40860
2b2596b1
MP
408612011-12-23 Marek Polacek <polacek@redhat.com>
40862
40863 * elf/dl-addr.c (determine_info): Add inline keyword.
40864 * elf/tst-auditmod4b.c (check_avx): Likewise.
40865 * elf/tst-auditmod6b.c (check_avx): Likewise.
40866 * elf/tst-auditmod6c.c (check_avx): Likewise.
40867 * elf/tst-auditmod7b.c (check_avx): Likewise.
40868
70c6c246
UD
408692011-12-23 Ulrich Drepper <drepper@gmail.com>
40870
40871 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
40872 !__SSE_MATH__.
40873
c044cf14
LD
408742011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40875
15db4de1 40876 [BZ #13540]
c044cf14
LD
40877 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
40878 processing for last bytes.
40879
6b13d9d9
BH
408802011-08-06 Bruno Haible <bruno@clisp.org>
40881
d455f537
BH
40882 [BZ #13061]
40883 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
40884 U+0385, not to U+1FEE.
40885
6b13d9d9
BH
40886 [BZ #13062]
40887 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
40888 entry for U+00A5 U+0301.
40889
db910efd
UD
408902011-12-22 Ulrich Drepper <drepper@gmail.com>
40891
27deeafc
UD
40892 [BZ #13166]
40893 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
40894 buffer for the output is too small.
40895
aed9d171
UD
40896 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
40897 optimization.
40898
db910efd
UD
40899 [BZ #13185]
40900 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
40901 SSE flags if possible.
40902
2bd779ae
LD
409032011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40904
e7f9dac3 40905 [BZ #13540]
2bd779ae
LD
40906 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
40907 processing for last bytes.
40908
154bfc16
JM
409092011-12-22 Joseph Myers <joseph@codesourcery.com>
40910
40911 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
40912 (syscall-list-default-options, syscall-list-default-condition)
40913 (syscall-list-includes): Define.
40914 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
40915 list of ABIs and options and #if conditions for each ABI. Do not
40916 handle common syscalls between ABIs specially.
40917 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
40918 Remove.
40919 (syscall-list-variants, syscall-list-32bit-options)
40920 (syscall-list-32bit-condition, syscall-list-64bit-options)
40921 (syscall-list-64bit-condition): Define.
40922 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): 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/sparc/Makefile (64bit-predefine):
40927 Remove.
40928 (syscall-list-variants, syscall-list-32bit-options)
40929 (syscall-list-32bit-condition, syscall-list-64bit-options)
40930 (syscall-list-64bit-condition): Define.
40931 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
40932 Remove.
40933 (syscall-list-variants, syscall-list-32bit-options)
40934 (syscall-list-32bit-condition, syscall-list-64bit-options)
40935 (syscall-list-64bit-condition): Define.
40936
21eaf3a5
UD
409372011-12-22 Ulrich Drepper <drepper@gmail.com>
40938
16c6f992
UD
40939 * locale/iso-639.def: Add brx entry.
40940
41043168
UD
40941 [BZ #13328]
40942 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
40943 Proposed by Mariusz_Cukr <marcukr@op.pl>.
40944
21eaf3a5
UD
40945 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
40946 __feraiseexcept_renamed.
40947
e3a851a2
UD
409482011-12-21 Ulrich Drepper <drepper@gmail.com>
40949
4920765e
UD
40950 [BZ #13538]
40951 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
40952 EPOLLET with unsigned values.
40953 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40954 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40955
e3a851a2
UD
40956 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
40957 to large cancellation.
40958 * math/s_cacoshf.c: Likewise.
40959 * math/s_cacoshl.c: Likewise.
40960
b27e24b8
RK
409612011-11-18 Richard B. Kreckel <kreckel@ginac.de>
40962
40963 [BZ #13305]
aebefeee 40964 [BZ #12786]
b27e24b8
RK
40965 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
40966 * math/s_cacoshf.c: Likewise.
40967 * math/s_cacoshl.c: Likewise.
40968
ee190f67
UD
409692011-12-21 Ulrich Drepper <drepper@gmail.com>
40970
40971 [BZ #13439]
40972 * iconv/gconv.h: Define __GCONV_SWAP.
40973 * iconvdata/unicode.c: The swap bit must be stored in __flags.
40974 * iconvdata/utf-16.c: Likewise.
40975 * iconvdata/utf-32.c: Likewise.
40976
707f25df
AS
409772011-12-21 Andreas Schwab <schwab@linux-m68k.org>
40978
40979 [BZ #13524]
40980 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
40981 numerator after shifting it by one limb.
40982
d2daaa1e
RÁE
409832011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
40984
40985 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
40986 under [__USE_EXTERN_INLINES].
40987
a4647e72
UD
409882011-12-17 Ulrich Drepper <drepper@gmail.com>
40989
40990 [BZ #13446]
40991 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
40992
f0b264f1
AZ
409932011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40994
40995 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
40996 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
40997 optimized code.
40998 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
40999 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
41000 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
41001 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
41002 for strncasecmp/strncasecmp_l compilation.
41003 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
41004 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
41005
8ef4f244
MP
410062011-12-08 Marek Polacek <mpolacek@redhat.com>
41007
41008 [BZ #13484]
41009 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
41010 of __asm__.
41011
97ac2654
UD
410122011-12-17 Ulrich Drepper <drepper@gmail.com>
41013
41014 [BZ #13506]
41015 * time/tzfile.c (__tzfile_read): Check values from file header.
41016
91d2a845
WS
410172011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
41018
41019 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
41020 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
41021 * powerpc/powerpc32/dl-start.S: Likewise.
41022 * powerpc/powerpc32/elf/start.S: Likewise.
41023 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41024 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
41025 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
41026 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
41027 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41028 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
41029 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
41030 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41031 * powerpc/powerpc32/fpu/s_round.S: Likewise.
41032 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41033 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41034 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41035 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
41036 * powerpc/powerpc32/memset.S: Likewise.
41037 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41038 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41039 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41040 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41041 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41042 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41043 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41044 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41045 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
41046 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
41047 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
41048 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41049 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41050
a1267ba1
AZ
410512011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41052
41053 * math/libm-test.inc: Added more nearbyint tests.
41054 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
41055 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
41056 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
41057 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
41058
ad8ac1bd
RL
410592011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
41060
41061 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
41062 FD_CLOEXEC.
41063
1d3e4b61
UD
410642011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41065
41066 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
41067 Add wcscpy-ssse3 wcscpy-c.
41068 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
41069 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
41070 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
41071 * sysdeps/x86_64/wcschr.S: New file.
41072 * sysdeps/x86_64/wcsrchr.S: New file.
41073 * string/test-strcmp.c: Remove checking of wcscmp function for
41074 wrong alignments.
41075 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
41076 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
41077 wcsrchr-sse2 wcsrchr-c.
41078 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
41079 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
41080 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
41081 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
41082 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
41083 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
41084 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
41085 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
41086 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
41087 * wcsmbc/wcschr.c (WCSCHR): New macro.
41088
5b330a2d
UD
410892011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41090
41091 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
41092 * wcsmbs/test-wcsrchr.c: New file.
41093 * string/test-strrchr.c: Add wcsrchr support.
41094 (WIDE): New macro.
41095 * wcsmbs/test-wcscpy.c: New file.
41096 * string/test-strcpy.c: Add wcscpy support.
41097 (WIDE): New macro.
26428b7c 41098
f039c043
UD
410992011-12-10 Ulrich Drepper <drepper@gmail.com>
41100
41101 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
41102 the inner loop.
41103
850fb039
AS
411042011-12-06 Andreas Schwab <schwab@linux-m68k.org>
41105
41106 [BZ #13472]
41107 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
41108
4efbd5cb
UD
411092011-12-04 Ulrich Drepper <drepper@gmail.com>
41110
52ff5dd0 41111 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 41112 Minor optimizations.
52ff5dd0 41113
4efbd5cb
UD
41114 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
41115 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
41116 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
41117
8a426e12
UD
411182011-12-03 Ulrich Drepper <drepper@gmail.com>
41119
aff2453d
UD
41120 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
41121 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
41122 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
41123 for gcc to avoid warnings.
41124 * inet/Makefile (tests): Add tst-checks.
41125 * inet/tst-checks.c: New file.
41126
41127 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
41128 warning.
41129
41130 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
41131 __wmemcmp_sse2.
41132
41133 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
41134 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
41135
8a426e12
UD
41136 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
41137
9bea3473
UD
411382011-12-02 Ulrich Drepper <drepper@gmail.com>
41139
3a965496
UD
41140 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
41141 problem.
41142
9bea3473
UD
41143 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
41144
f101631b
UD
411452011-11-29 Joseph Myers <joseph@codesourcery.com>
41146
41147 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
41148 conditional on GCC version.
41149 (__arch_compare_and_exchange_val_8_acq)
41150 (__arch_compare_and_exchange_val_16_acq)
41151 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
41152 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
41153 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
41154
a98275aa
UD
411552011-12-02 Joseph Myers <joseph@codesourcery.com>
41156
41157 * sysdeps/sh/backtrace.c: New file.
41158
d4cc29a2
AS
411592011-12-02 Andreas Schwab <schwab@redhat.com>
41160
41161 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
41162 parenthesis.
41163
6257af2d
AS
411642011-12-01 Andreas Schwab <schwab@redhat.com>
41165
41166 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
41167 falling back to utime.
41168
b5f44c1a
AS
411692011-11-30 Andreas Schwab <schwab@redhat.com>
41170
41171 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
41172 expectations for float.
41173
f3a6cc0a
AS
411742011-11-29 Andreas Schwab <schwab@redhat.com>
41175
41176 * locale/weight.h (findidx): Add parameter len.
41177 * locale/weightwc.h (findidx): Likewise.
41178 * posix/fnmatch_loop.c (FCT): Adjust caller.
41179 * posix/regcomp.c (build_equiv_class): Likewise.
41180 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
41181 * posix/regexec.c (check_node_accept_bytes): Likewise.
41182 * string/strcoll_l.c (STRCOLL): Likewise.
41183 * string/strxfrm_l.c (STRXFRM): Likewise.
41184
9d65ea3a
UD
411852011-11-17 Ulrich Drepper <drepper@gmail.com>
41186
41187 * Makefile.in: Remove CVSOPT handling.
41188 * configure.in: Remove use of AC_REVISION.
41189 * iconvdata/Makefile (distribute): No need to filter out CVS.
41190 * scripts/list-sources.sh: Remove CVS, subversion and monotone
41191 handling.
41192
5583a086
AS
411932011-11-16 Andreas Schwab <schwab@redhat.com>
41194
41195 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
41196 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
41197 [USE_AS_STRNCASECMP_L]: Likewise.
41198 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
41199 NO_TLS_DIRECT_SEG_REFS.
41200 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
41201 Fix argument offsets for non-PIC.
41202 [USE_AS_STRNCASECMP_L]: Likewise.
41203 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
41204 NO_TLS_DIRECT_SEG_REFS.
41205
d62a8200
UD
412062011-11-15 Ulrich Drepper <drepper@gmail.com>
41207
9d65ea3a 41208 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
41209 O_CLOEXEC.
41210 * locale/loadlocale.c (_nl_load_locale): Likewise.
41211
09f93bd3
AS
412122011-11-15 Andreas Schwab <schwab@redhat.com>
41213
446514f9
AS
41214 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
41215 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
41216 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
41217 (SYSCALL_GETTIME): Set errno on error.
41218
09f93bd3
AS
41219 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
41220 count references to noai6ai_cached.
41221
312be3f9
UD
412222011-11-15 Ulrich Drepper <drepper@gmail.com>
41223
41224 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
41225
41226 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
41227 FD_CLOEXEC for /proc/self/maps.
41228
41229 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
41230 FD_CLOEXEC for /proc/meminfo.
41231
41232 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
41233 gai.conf.
41234
41235 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
41236 FD_CLOEXEC for given file.
41237
41238 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
41239
41240 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
41241 FD_CLOEXEC for /etc/hosts.
41242 (_gethtent): Likewise.
41243
41244 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
41245
41246 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
41247 cancellation and set FD_CLOEXEC for /etc/netgroup.
41248
41249 * nss/nss_files/files-key.c (search): Don't allow cancellation when
41250 reading /etc/publickey.
41251
41252 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
41253 allow cancellation when reading /etc/group.
41254
41255 * nss/nss_files/files-alias.c (internal_setent): Don't allow
41256 cancellation.
41257 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
41258
41259 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
41260 when using data file.
41261
41262 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
41263
41264 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
41265 (write_nis_obj): Use "c" and "e" in fopen.
41266
41267 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
41268
41269 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
41270
41271 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
41272
41273 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
41274
41275 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
41276 locale.alias.
41277
41278 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
41279
41280 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
41281
41282 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
41283
41284 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
41285 file parsing and set FD_CLOEXEC.
41286
82af0fa8
UD
412872011-11-14 Ulrich Drepper <drepper@gmail.com>
41288
41289 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
41290
a5fb313c
AS
412912011-11-14 Andreas Schwab <schwab@redhat.com>
41292
41293 * malloc/arena.c (arena_get2): Don't call reused_arena when
41294 _int_new_arena failed.
41295
6abf3465
UD
412962011-11-14 Ulrich Drepper <drepper@gmail.com>
41297
41298 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
41299 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
41300 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
41301 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41302 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41303 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
41304 to compile strcasecmp and strncasecmp.
41305 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
41306 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
41307
41308 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
41309
76e3966e
UD
413102011-11-13 Ulrich Drepper <drepper@gmail.com>
41311
41312 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
41313 locale-defines.sym to gen-as-const-headers.
41314 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
41315 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
41316 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
41317 to compile strcasecmp and strncasecmp.
41318 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
41319 strcasecmp_l and strncasecmp_l.
41320 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
41321 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
41322 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
41323 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
41324 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
41325 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
41326 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
41327 * sysdeps/i386/i686/multiarch/strncase.S: New file.
41328 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
41329 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
41330 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
41331
ab26144e
UD
413322011-11-12 Ulrich Drepper <drepper@gmail.com>
41333
7edb22ef
UD
41334 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
41335 result of SYSDEP_GETTIME_CPU to retval.
41336 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
41337 parameter list to macro. Remove trailing semicolon. Adjust users.
41338
9694fc44
UD
41339 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
41340 variable.
41341
8ad89ef8
UD
41342 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
41343 mantissa words.
41344 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
41345
0c822ef9
UD
41346 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
41347 from unused variable.
41348
874e0564
UD
41349 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
41350 DWARF definitions.
41351 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
41352 for assembling.
41353
3a2edc79
UD
41354 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
41355 over namespaces.
41356
f3c2577f
UD
41357 * sunrpc/rpc_prot.c (rejected): Fix case value.
41358
294ce126
UD
41359 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
41360 unsigned long long int to avoid warnings in shift.
41361
5e2b63c6
UD
41362 * posix/regex_internal.c (re_string_reconstruct): Actually use result
41363 of use of trans.
41364 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
41365 variable tmp.
41366
e7f4b08e
UD
41367 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
41368 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
41369 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
41370
ab26144e
UD
41371 * nis/nis_table.c (nis_list): Use variable of correct type for
41372 result of __follow_path call.
41373
8a6d5255
AZ
413742011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41375
41376 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
41377 of math functions ceil, trunc, floor, round, and sqrt, when
41378 avaliable on the platform.
41379 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
41380 name clash.
41381 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41382 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41383 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41384
aaddc98c
MP
413852011-10-30 Marek Polacek <mpolacek@redhat.com>
41386
41387 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
41388 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
41389
95b7042b
RM
413902011-11-11 Roland McGrath <roland@hack.frob.com>
41391
41392 * include/unistd.h: Fix __readlink return type.
41393 Reported by Chris Metcalf <cmetcalf@tilera.com>.
41394
57769839
UD
413952011-11-11 Ulrich Drepper <drepper@gmail.com>
41396
41397 * stdlib/ucontext.h: Undo last change for makecontext.
41398
edc5984d
AS
413992011-11-11 Andreas Schwab <schwab@redhat.com>
41400
98591e58
AS
41401 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
41402
edc5984d
AS
41403 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
41404 * setjmp/setjmp.h: Mark functions as non-leaf.
41405 * setjmp/bits/setjmp2.h: Likewise.
41406 * stdlib/ucontext.h: Likewise.
41407
77cdc054
AS
414082011-11-10 Andreas Schwab <schwab@redhat.com>
41409
41410 * malloc/arena.c (_int_new_arena): Don't increment narenas.
41411 (reused_arena): Don't check arena limit.
41412 (arena_get2): Atomically check arena limit.
41413
fe72eebd
UD
414142011-11-08 Ulrich Drepper <drepper@gmail.com>
41415
5f078c32
UD
41416 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
41417 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
41418
fe72eebd
UD
41419 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
41420 instructions.
41421
ae1bc2fa
AS
414222011-11-07 Andreas Schwab <schwab@redhat.com>
41423
7583a88d
AS
41424 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
41425 handler when locking.
41426
ae1bc2fa
AS
41427 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41428 Fix size of allocated buffer.
41429
10fb0bfa
AS
414302011-11-04 Andreas Schwab <schwab@redhat.com>
41431
998832a4
AS
41432 [BZ #10103]
41433 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
41434 declarations for long double functions.
41435 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
41436
10fb0bfa
AS
41437 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
41438
3d7ba52b
AS
414392011-11-03 Andreas Schwab <schwab@redhat.com>
41440
a9ae54a1
AS
41441 * nscd/nscd.c (main): Don't start AVC thread until credentials are
41442 installed.
41443
3d7ba52b
AS
41444 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
41445 is disabled.
41446
bc8db248
ST
414472011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
41448
41449 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
41450
45b96dd6
AS
414512011-11-01 Andreas Schwab <schwab@linux-m68k.org>
41452
647776f6
AS
41453 * include/alloca.h (stackinfo_alloca_round): Define.
41454 (extend_alloca): Use it.
41455 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
41456 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
41457 here.
41458
d91a8b93
AS
41459 * scripts/check-local-headers.sh: Ignore libaudit.h.
41460
45b96dd6
AS
41461 * nscd/Makefile (extra-objs): Make recursively expanded.
41462
432d41ce
UD
414632011-11-01 Ulrich Drepper <drepper@gmail.com>
41464
34372fc6
UD
41465 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
41466 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
41467
fadb59f8
UD
41468 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
41469 * posix/tst-rfc3484-2.c: Likewise.
41470 * posix/tst-rfc3484-3.c: Likewise.
41471
78239589
UD
41472 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41473 process_vm_writev.
41474 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
41475 process_vm_writev.
41476 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
41477 process_vm_writev from libc using GLIBC_2.15 version.
41478
432d41ce
UD
41479 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
41480
02f9c6cf
PP
414812011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
41482
41483 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
41484 stack usage.
41485
3a2c0242
UD
414862011-10-31 Ulrich Drepper <drepper@gmail.com>
41487
f4ec4833
UD
41488 [BZ #13367]
41489 * nss/getent.c (initgroups_keys): Show error message in case no group
41490 names are given.
41491
3a2c0242
UD
41492 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
41493 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
41494 __bump_nl_timestamp.
41495 * nscd/connections (nscd_init): When host database is served open
41496 netlink socket and request notification about configuration changes.
41497 (main_loop_poll): Track netlink file descriptor and bump timestamp
41498 in case data becomes available.
41499 (main_loop_epoll): Likewise.
41500 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
41501 (database_pers_head): Add extra_data fileds.
41502 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
41503 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
41504 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
41505 Adjust caller.
41506 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
41507 in6ai data, call __free_in6ai.
41508 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
41509 Add -DHAVE_NETLINK.
41510 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
41511 interface information. Reuse previous data if netlink timestamp
41512 is not changed.
41513 (__bump_nl_timestamp): New function.
41514 (__free_in6ai): New function.
41515
636064eb
UD
415162011-10-30 Ulrich Drepper <drepper@gmail.com>
41517
41518 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
41519 close_not_cancel_no_status here.
41520 (__check_pf): Reorganize code a bit to not call close twice if OOM.
41521
9beb2334
UD
415222011-10-29 Ulrich Drepper <drepper@gmail.com>
41523
6ef76f3b
UD
41524 [BZ #13276]
41525 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
41526 return value.
41527
0ffc4f3e 41528 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
41529 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
41530 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
41531
cb95113e
UD
415322011-07-03 Andreas Jaeger <aj@suse.de>
41533
41534 [BZ #10709]
41535 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
41536 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
41537 * math/libm-test.inc (sin_test): Add test case.
41538
a1b560ff
UD
415392011-10-29 Ulrich Drepper <drepper@gmail.com>
41540
c9aaface
UD
41541 [BZ #13337]
41542 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
41543 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41544
d272e7f1
UD
41545 * elf/chroot_canon.c (chroot_canon): Cleanups.
41546
1bc33071
UD
41547 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
41548
1760874d
TJ
41549 [BZ #13335]
41550 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
41551 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41552
51d91b18
UD
41553 * string/test-strchr.c: Make usable for strchrnul testing.
41554 * string/test-strchrnul.c: New file.
41555 * string/Makefile (strop-tests): Add strchrnul.
41556
a1b560ff 41557 * po/it.po: Update from translation team.
b611fb81 41558 * po/es.po: Likewise.
a1b560ff 41559
a5b81e1f
UD
415602011-10-28 Ulrich Drepper <drepper@gmail.com>
41561
fd52bc6d
UD
41562 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
41563 the three constants needed as parameters. Drop the others.
41564 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
41565 __m128i_strloadu_tolower.
52e4b9eb
UD
41566 Create and initialize variable zero and use it in all the places
41567 where _mm_setzero_si128 was used.
fd52bc6d 41568
a5b81e1f
UD
41569 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
41570 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
41571 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
41572 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
41573 anymore.
41574 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
41575 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
41576 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
41577 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
41578 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
41579 __mpranred, __mptan.
41580 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
41581 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
41582 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
41583 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
41584 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
41585 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
41586 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
41587 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
41588 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
41589
b4343346
AS
415902011-10-28 Andreas Schwab <schwab@redhat.com>
41591
0c92d8a8
AS
41592 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
41593 redefine if SHARED.
41594 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
41595
b4343346
AS
41596 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
41597 wide char related routines to wcsmbs subdir.
41598
3871f58f
AS
415992011-10-27 Andreas Schwab <schwab@redhat.com>
41600
41601 [BZ #13344]
41602 * misc/sys/cdefs.h (__THROWNL): Define.
41603 * posix/unistd.h: Use __THREADNL instead of __THREAD
41604 for memory synchronization functions.
41605
94d44d9f
RM
416062011-10-26 Roland McGrath <roland@hack.frob.com>
41607
21b64b15 41608 [BZ #13349]
94d44d9f
RM
41609 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
41610 doesn't exist.
41611 * manual/stdio.texi (Obstack Streams): Node removed.
41612
f6ce9294
AS
416132011-10-26 Andreas Schwab <schwab@redhat.com>
41614
80479147
AS
41615 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
41616 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41617 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41618
f6ce9294
AS
41619 * math/math_private.h (math_force_eval): Allow non-addressable
41620 arguments.
41621 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
41622
618280a1
UD
416232011-10-25 Ulrich Drepper <drepper@gmail.com>
41624
e0016b11
UD
41625 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
41626 file is not needed.
41627
41628 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
41629 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
41630 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41631 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41632 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41633 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41634 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41635 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
41636 Add AVX variants.
41637 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
41638 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
41639 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
41640 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
41641 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
41642 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
41643 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
41644 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
41645 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
41646 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
41647 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
41648 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
41649 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
41650 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
41651 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
41652 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
41653 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
41654 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
41655 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
41656
41657 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
41658 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
41659
618280a1
UD
41660 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
41661 place. Use VEX encoding when compiling for AVX.
41662
37822576
AS
416632011-10-25 Andreas Schwab <schwab@redhat.com>
41664
1f1e1947
AS
41665 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
41666 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
41667
37822576
AS
41668 * string/test-strchr.c (do_test): Don't generate NUL bytes.
41669
31ea014d
UD
416702011-10-25 Ulrich Drepper <drepper@gmail.com>
41671
d7826aa1 41672 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 41673 useless if() expression.
d7826aa1
UD
41674 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41675 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41676 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41677 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41678 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41679 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41680 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41681 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41682 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41683 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41684 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41685 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41686 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41687 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41688 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41689 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41690 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41691 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41692 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41693
31ea014d
UD
41694 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
41695
16437fec
AS
416962011-10-25 Andreas Schwab <schwab@redhat.com>
41697
41698 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
41699 condition.
41700 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41701
31d3cc00
UD
417022011-10-25 Ulrich Drepper <drepper@gmail.com>
41703
41704 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
41705 .text section. Avoid duplicate constants.
41706 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41707 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41708 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41709 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41710 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41711 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41712 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41713 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41714 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41715 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
41716 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41717 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41718 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
41719 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
41720 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
41721 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
41722 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
41723 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41724 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41725 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41726 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41727 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41728 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41729 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
41730 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
41731 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
41732 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
41733 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
41734 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
41735 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
41736 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
41737 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
41738 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41739 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
41740 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
41741 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
41742 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
41743 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
41744 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
41745 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
41746 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
41747 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
41748 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
41749 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
41750 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
41751
58985aa9
UD
417522011-10-24 Ulrich Drepper <drepper@gmail.com>
41753
202c9deb
UD
41754 * sysdeps/x86_64/dla.h: Move to ...
41755 * sysdeps/x86_64/fpu/dla.h: ...here.
41756 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
41757 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 41758
af968f62
UD
41759 * config.make.in: Add have-mfma4 entry.
41760 * configure.in: Substitute libc_cv_cc_fma4.
41761 * math/Makefile (dbl-only-routines): Add sincostab.
41762 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
41763 Use __sincostab not sincos.
41764 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
41765 name is a macro.
41766 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41767 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41768 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41769 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
41770 using __copysign.
41771 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
41772 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
41773 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
41774 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
41775 and __inv.
41776 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
41777 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
41778 __copysign.
41779 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
41780 define aliases when function name is a macro.
41781 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
41782 sysdeps/ieee754/dbl-64/sincos.tbl.
41783 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
41784 fma4-enabled routines.
41785 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
41786 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
41787 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
41788 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
41789 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
41790 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
41791 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
41792 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
41793 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
41794 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
41795 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
41796 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
41797 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
41798 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
41799 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
41800 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
41801 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
41802 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
41803 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
41804 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
41805 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
41806 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
41807 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
41808 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
41809 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
41810 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
41811 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
41812 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
41813 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
41814 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
41815
58985aa9
UD
41816 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
41817 rename.
41818 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41819 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41820 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41821 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41822 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41823 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41824 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41825 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41826
a201fbcf
AS
418272011-10-24 Andreas Schwab <schwab@redhat.com>
41828
41829 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
41830
fc2ee42a
LD
418312011-10-23 Ulrich Drepper <drepper@gmail.com>
41832
bb3129bd
UD
41833 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
41834
0275fff8
UD
41835 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
41836 prediction.
41837 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
41838
2fa2ae85
UD
41839 * string/strnlen.c: Don't define STRNLEN, reverse logic.
41840 Remove unused variable magic_bits.
41841 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
41842
fc2ee42a
LD
41843 * string/strnlen.c: Define and use STRNLEN macro.
41844 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
41845 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
41846 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
41847 * wcsmbs/wcslen.c: Define and use WCSLEN.
41848 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
41849 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
41850 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
41851 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
41852 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
41853 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
41854 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41855
ce7dd29f
LD
418562011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41857
41858 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41859 strnlen-sse2-no-bsf.
41860 Rename strlen-no-bsf to strlen-sse2-no-bsf.
41861 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
41862 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
41863 Add strnlen support.
41864 (USE_AS_STRNLEN): New macro.
41865 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
41866 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
41867 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
41868 * sysdeps/x86_64/wcslen.S: New file.
41869
979c70a3
MZ
418702011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
41871
41872 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41873 XMM-moves are used for copying on small sizes.
41874
2d09f82f
LD
418752011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41876
41877 * wcsmbs/Makefile (strop-tests): Add wcschr.
41878 * wcsmbs/test-wcschr.c: New file.
41879 * string/test-strchr.c: Update.
41880 Add wcschr support.
41881 (WIDE): New macro.
41882
619fccca
LD
418832011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41884
2d09f82f 41885 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
41886 * wcsmbs/test-wcslen.c: New file.
41887 * string/test-strlen.c: Update.
41888 Add wcslen support.
41889 (WIDE): New macro.
41890
09f699ea
UD
418912011-10-23 Ulrich Drepper <drepper@gmail.com>
41892
41893 * po/it.po: Update from translation team.
41894
95584d3b
LD
418952011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41896
41897 * sysdeps/x86_64/wcscmp.S: Update.
41898 Fix wrong comparison semantics.
41899 wcscmp shall use signed comparison not unsigned.
41900 Don't use substraction to avoid overflow bug.
41901 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
41902 * wcsmbc/wcscmp.c: Likewise.
41903 * string/test-strcmp.c: Likewise.
41904 Add new tests to check cases with negative values.
41905
c8b3296b
UD
419062011-10-23 Ulrich Drepper <drepper@gmail.com>
41907
41908 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
41909 * sysdeps/x86_64/dla.h: ...here. New file.
41910 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
41911 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41912 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41913 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41914 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41915 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41916 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41917 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41918 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41919
246ad57a
AS
419202011-10-23 Andreas Schwab <schwab@linux-m68k.org>
41921
41922 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
41923 __ynl_finite aliases.
41924
a1a87169
UD
419252011-10-22 Ulrich Drepper <drepper@gmail.com>
41926
0d355eb7
UD
41927 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41928
a1a87169
UD
41929 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
41930 define DLA_FMA.
41931 [DLA_FMA] (EMULV): Use DLA_FMA.
41932 [DLA_FMA] (MUL12): Use EMULV.
41933 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
41934 that are not needed.
41935 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41936 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41937 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41938 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41939 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41940 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41941 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41942
ee2aafe0
AS
419432011-10-22 Andreas Schwab <schwab@linux-m68k.org>
41944
41945 * math/s_nan.c: Undef __nan.
41946 * math/s_nanf.c: Undef __nanf.
41947 * math/s_nanl.c: Undef __nanl.
41948 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
41949 "math_private.h".
41950
bc62c2fb
UD
419512011-10-22 Ulrich Drepper <drepper@gmail.com>
41952
77425c63
UD
41953 * math/s_catan.c: Add branch predictions.
41954 * math/s_catanf.c: Likewise.
41955 * math/s_catanh.c: Likewise.
41956 * math/s_catanhf.c: Likewise.
41957 * math/s_catanhl.c: Likewise.
41958 * math/s_catanl.c: Likewise.
41959 * math/s_cexp.c: Likewise.
41960 * math/s_cexpf.c: Likewise.
41961 * math/s_cexpl.c: Likewise.
41962 * math/s_clog.c: Likewise.
41963 * math/s_clog10.c: Likewise.
41964 * math/s_clog10f.c: Likewise.
41965 * math/s_clog10l.c: Likewise.
41966 * math/s_clogf.c: Likewise.
41967 * math/s_clogl.c: Likewise.
41968 * math/s_csqrt.c: Likewise.
41969 * math/s_csqrtf.c: Likewise.
41970 * math/s_csqrtl.c: Likewise.
41971 * math/s_ctanf.c: Likewise.
41972 * math/s_ctanh.c: Likewise.
41973 * math/s_ctanhf.c: Likewise.
41974 * math/s_ctanhl.c: Likewise.
41975 * math/s_ctanl.c: Likewise.
41976
bc62c2fb
UD
41977 * math/math_private.h: Define __nan, __nanf, __nanl.
41978 * math/s_cacosh.c: Include <math_private.h>.
41979 * math/s_cacoshl.c: Likewise.
41980 * math/s_casinh.c: Likewise.
41981 * math/s_casinhf.c: Likewise.
41982 * math/s_casinhl.c: Likewise.
41983 * math/s_ccos.c: Rely entire on ccosh.
41984 * math/s_ccosf.c: Rely entire on ccoshf.
41985 * math/s_ccosl.c: Rely entirely on ccoshl.
41986 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
41987 Remove tests for FE_INVALID.
41988 * math/s_ccoshf.c: Likewise.
41989 * math/s_ccoshl.c: Likewise.
41990 * math/s_csin.c: Likewise.
41991 * math/s_csinf.c: Likewise.
41992 * math/s_csinh.c Likewise.
41993 * math/s_csinhf.c: Likewise.
41994 * math/s_csinhl.c: Likewise.
41995 * math/s_csinl.c: Likewise.
41996 * math/s_ctan.c: Likewise.
41997 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
41998 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
41999 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
42000
8ec250a4
UD
420012011-10-21 Ulrich Drepper <drepper@gmail.com>
42002
c196fed8
UD
42003 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
42004 compilation problems.
42005
8ec250a4
UD
42006 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
42007 __builtin_expect.
42008
8d4f46c6
UD
420092011-10-20 Ulrich Drepper <drepper@gmail.com>
42010
ed72b654
UD
42011 * sysdeps/i386/configure.in: Test for -mfma4 option.
42012 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
42013 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
42014 COMMON_CPUID_INDEX_80000001.
42015 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
42016 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
42017 use it if FMA3 is not supported.
42018 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
42019
8d4f46c6
UD
42020 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
42021 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42022
d45c60c2
AS
420232011-10-20 Andreas Schwab <schwab@redhat.com>
42024
42025 [BZ #12892]
42026 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
42027 it would create a cycle with a link time dependency.
42028
d9a4d2ab
UD
420292011-10-19 Ulrich Drepper <drepper@gmail.com>
42030
855d1560
UD
42031 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
42032 instruction.
42033 * string/Makefile (strop-tests): Add rawmemchr.
42034 * string/test-rawmemchr.c: New file.
42035
d9a4d2ab
UD
42036 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
42037 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
42038 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
42039 when compiling str{,n}casecmp and when AVX is available. Hook up
42040 new optimized code in initializers.
42041
8f3b1ffe
AS
420422011-10-19 Andreas Schwab <schwab@redhat.com>
42043
42044 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
42045 __feraiseexcept instead of feraiseexcept.
42046
d38f1dba
UD
420472011-10-18 Ulrich Drepper <drepper@gmail.com>
42048
d9a8d0ab
UD
42049 * math/math_private.h: Define defaults for libc_fetestexcept and
42050 libc_feupdateenv.
42051 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
42052 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
42053 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42054 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42055 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42056 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42057 libc_fetestexcept and libc_feupdateenv.
42058
4855e3dd
UD
42059 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
42060 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
42061 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
42062 * sysdeps/x86_64/fpu/math_private.h: Define special version of
42063 libc_feholdexcept_setround.
42064
581d30e3
UD
42065 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
42066 Add s_nearbyint-c and s_nearbyintf-c.
42067 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
42068 nearbyintf inlines.
42069 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
42070 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
42071 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
42072 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
42073
d38f1dba
UD
42074 * math/math_private.h: Define defaults for libc_fegetround,
42075 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
42076 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
42077 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
42078 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
42079 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
42080 standard functions.
42081 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42082 Remove comments and hacks for old compiler versions.
42083 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42084 libc_fegetround, libc_fesetround, libc_feholdexcept, and
42085 libc_feholdexceptl.
42086
caa6c9d8
AS
420872011-10-18 Andreas Schwab <schwab@redhat.com>
42088
42089 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
42090 (__feraiseexcept_renamed): Add __NTH.
42091 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
42092 namespace violations.
42093
97c066e6
UD
420942011-10-17 Ulrich Drepper <drepper@gmail.com>
42095
99ce7b04
UD
42096 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
42097
1004d182
UD
42098 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
42099
228a984d
UD
42100 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
42101 recently added interfaces.
42102 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
42103
c8553a6a
UD
42104 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
42105 about macro parameter expansion.
42106
ed22dcf6
UD
42107 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
42108 __NO_MATH_INLINES is defined. Cleanups.
42109
42110 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
42111 and __floorf is target has SSE4.1.
42112 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
42113 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
42114 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
42115 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
42116
b171c137
UD
42117 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
42118 name.
42119 (floorf): Likewise.
42120
97c066e6
UD
42121 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
42122
629f62ef
AS
421232011-10-17 Andreas Schwab <schwab@redhat.com>
42124
49a43d80
AS
42125 * misc/sys/cdefs.h: Fix last change.
42126
629f62ef
AS
42127 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
42128 database lookup.
42129
e453f6cd
UD
421302011-10-16 Ulrich Drepper <drepper@gmail.com>
42131
aa78043a
UD
42132 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
42133
ad0f5cad
UD
42134 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
42135 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42136 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42137 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42138 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42139 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42140 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42141 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42142 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42143 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
42144 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
42145 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
42146 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
42147 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
42148 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
42149 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
42150 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
42151 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
42152 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
42153 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
42154 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
42155 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
42156
42157 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
42158 ceil, ceilf, floor, floorf.
42159
42160 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
42161 Perform IRELATIVE relocations last.
42162
e453f6cd
UD
42163 * elf/do-rel.h: Add another parameter nrelative, replacing the
42164 local variable with the same name. Change name of the function
42165 to end in Rel or Rela (uppercase).
42166 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
42167 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
42168 elf_dynamic_do_##reloc function.
42169
fd5bdc09
UD
421702011-10-15 Ulrich Drepper <drepper@gmail.com>
42171
79b195b5
UD
42172 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
42173 is sufficient, at least on modern CPUs.
42174
d4a28569
UD
42175 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
42176
b61099b5
UD
42177 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
42178 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
42179
bcf01e6d
UD
42180 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
42181 __expl_finite.
42182 * math/bits/math-finite.h: Add entries for exp.
42183 * math/e_expl.c: Add __*_finite alias.
42184 * sysdeps/i386/fpu/e_exp.S: Likewise.
42185 * sysdeps/i386/fpu/e_expf.S: Likewise.
42186 * sysdeps/i386/fpu/e_expl.c: Likewise.
42187 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42188 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42189 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42190 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42191 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
42192 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42193 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42194
ba1a0d59
UD
42195 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
42196 is sufficient, at least on modern CPUs.
42197
fd5bdc09
UD
42198 * ctype/ctype-info.c (__ctype_init): Define.
42199 * include/ctype.h (__ctype_init): Declare.
42200 (__ctype_b_loc): The variable is always initialized.
42201 (__ctype_toupper_loc): Likewise.
42202 (__ctype_tolower_loc): Likewise.
42203 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
42204 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
42205
7872cfb0
AS
422062011-10-15 Andreas Schwab <schwab@linux-m68k.org>
42207
b468825a
AS
42208 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
42209
7872cfb0
AS
42210 * configure.in: Also look in $cxxmachine/include for C++ system
42211 headers.
42212
be13f7bf
LD
422132011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42214
42215 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
42216 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
42217 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
42218 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
42219 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
42220 (USE_AS_WMEMCMP): New macro.
42221 Fixing indents.
42222 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
42223 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
42224 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
42225 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
42226 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42227 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
42228 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
42229 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
42230 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
42231 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
42232 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
42233 (USE_AS_WMEMCMP): New macro.
42234 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
42235 * sysdeps/string/test-memcmp.c: Update.
42236 Fix simple_wmemcmp.
42237 Add new tests.
42238 * wcsmbs/wmemcmp.c: Update.
42239 (WMEMCMP): New macro.
42240 Fix overflow bug.
42241
556a2007
AJ
422422011-10-12 Andreas Jaeger <aj@suse.de>
42243
42244 [BZ #13268]
42245 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
42246
538faaa7
UD
422472011-10-15 Ulrich Drepper <drepper@gmail.com>
42248
ab6737ff
UD
42249 * libio/iofwide.c (do_length): Avoid warning.
42250
538faaa7
UD
42251 * ctype/ctype.h (__isctype_f): Add missing __THROW.
42252
396a21b1
UD
422532011-10-14 Ulrich Drepper <drepper@gmail.com>
42254
cdf2901f
UD
42255 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
42256
38ad40ce
UD
42257 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
42258 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
42259 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
42260 * sysdeps/i386/i686/fpu/e_log.S: New file.
42261 * sysdeps/i386/i686/fpu/e_logf.S: New file.
42262 * sysdeps/i386/i686/fpu/e_logl.S: New file.
42263
396a21b1
UD
42264 * ctype/ctype.h: Add support for inlined isXXX functions when
42265 compiling C++ code.
42266
6b1f68c9
AS
422672011-10-14 Andreas Schwab <schwab@redhat.com>
42268
349290c0
AS
42269 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42270
6b1f68c9
AS
42271 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
42272
f2282d42
RM
422732011-10-13 Roland McGrath <roland@hack.frob.com>
42274
42275 [BZ #13291]
42276 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
42277
5298ffa8
AS
422782011-10-13 Andreas Schwab <schwab@redhat.com>
42279
714fad23
AS
42280 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
42281 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
42282 feraiseexcept.
42283
81dcc7fb
AS
42284 * sysdeps/x86_64/memrchr.S: Check for zero size.
42285
5298ffa8
AS
42286 * string/stratcliff.c: Add memrchr tests.
42287
951fbcec
LD
422882011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42289
42290 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42291 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
42292 rawmemchr-sse2 rawmemchr-sse2-bsf.
42293 * sysdeps/i386/i686/multiarch/memchr.S: New file.
42294 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
42295 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
42296 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
42297 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
42298 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
42299 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
42300 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
42301 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
42302 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
42303 * string/memrchr.c (MEMRCHR): New macro.
42304
0ac5ae23
UD
423052011-10-12 Ulrich Drepper <drepper@gmail.com>
42306
42307 Add integration with gcc's -ffinite-math-only and optimize wrapper
42308 functions in libm.
42309 * Versions.def: Define GLIBC_2.15 version for libm.
42310 * math/Makefile (headers): Add bits/math-finite.h.
42311 * math/bits/math-finite.h: New file.
42312 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
42313 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
42314 * math/e_acoshl.c: Add __*_finite alias.
42315 * math/e_acosl.c: Likewise.
42316 * math/e_asinl.c: Likewise.
42317 * math/e_atan2l.c: Likewise.
42318 * math/e_atanhl.c: Likewise.
42319 * math/e_coshl.c: Likewise.
42320 * math/e_exp10.c: Likewise.
42321 * math/e_exp10f.c: Likewise.
42322 * math/e_exp10l.c: Likewise.
42323 * math/e_exp2l.c: Likewise.
42324 * math/e_fmodl.c: Likewise.
42325 * math/e_gammal_r.c: Likewise.
42326 * math/e_hypotl.c: Likewise.
42327 * math/e_j0l.c: Likewise.
42328 * math/e_j1l.c: Likewise.
42329 * math/e_jnl.c: Likewise.
42330 * math/e_lgammal_r.c: Likewise.
42331 * math/e_log10l.c: Likewise.
42332 * math/e_log2l.c: Likewise.
42333 * math/e_logl.c: Likewise.
42334 * math/e_powl.c: Likewise.
42335 * math/e_sinhl.c: Likewise.
42336 * math/e_sqrtl.c: Likewise.
42337 * math/e_scalb.c: Completely rewritten and optimized.
42338 * math/e_scalbf.c: Likewise.
42339 * math/e_scalbl.c: Likewise.
42340 * math/w_acos.c: Likewise.
42341 * math/w_acosf.c: Likewise.
42342 * math/w_acosl.c: Likewise.
42343 * math/w_acosh.c: Likewise.
42344 * math/w_acoshf.c: Likewise.
42345 * math/w_acoshl.c: Likewise.
42346 * math/w_asin.c: Likewise.
42347 * math/w_asinf.c: Likewise.
42348 * math/w_asinl.c: Likewise.
42349 * math/w_atan2.c: Likewise.
42350 * math/w_atan2f.c: Likewise.
42351 * math/w_atan2l.c: Likewise.
42352 * math/w_atanh.c: Likewise.
42353 * math/w_atanhf.c: Likewise.
42354 * math/w_atanhl.c: Likewise.
42355 * math/w_exp10.c: Likewise.
42356 * math/w_exp10f.c: Likewise.
42357 * math/w_exp10l.c: Likewise.
42358 * math/w_fmod.c: Likewise.
42359 * math/w_fmodf.c: Likewise.
42360 * math/w_fmodl.c: Likewise.
42361 * math/w_j0.c: Likewise.
42362 * math/w_j0f.c: Likewise.
42363 * math/w_j0l.c: Likewise.
42364 * math/w_j1.c: Likewise.
42365 * math/w_j1f.c: Likewise.
42366 * math/w_j1l.c: Likewise.
42367 * math/w_jn.c: Likewise.
42368 * math/w_jnf.c: Likewise.
42369 * math/w_log.c: Likewise.
42370 * math/w_logf.c: Likewise.
42371 * math/w_logl.c: Likewise.
42372 * math/w_log10.c: Likewise.
42373 * math/w_log10f.c: Likewise.
42374 * math/w_log10l.c: Likewise.
42375 * math/w_log2.c: Likewise.
42376 * math/w_log2f.c: Likewise.
42377 * math/w_log2l.c: Likewise.
42378 * math/w_pow.c: Likewise.
42379 * math/w_powf.c: Likewise.
42380 * math/w_powl.c: Likewise.
42381 * math/w_remainder.c: Likewise.
42382 * math/w_remainderf.c: Likewise.
42383 * math/w_remainderl.c: Likewise.
42384 * math/w_scalb.c: Likewise.
42385 * math/w_scalbf.c: Likewise.
42386 * math/w_scalbl.c: Likewise.
42387 * math/w_sqrt.c: Likewise.
42388 * math/w_sqrtf.c: Likewise.
42389 * math/w_sqrtl.c: Likewise.
42390 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
42391 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
42392 used.
42393 * math/math_private.h: Declare __kernel_standard_f.
42394 * math/w_cosh.c: Remove cruft and optimize a bit.
42395 * math/w_coshf.c: Likewise.
42396 * math/w_coshl.c: Likewise.
42397 * math/w_exp2.c: Likewise.
42398 * math/w_exp2f.c: Likewise.
42399 * math/w_exp2l.c: Likewise.
42400 * math/w_hypot.c: Likewise.
42401 * math/w_hypotf.c: Likewise.
42402 * math/w_hypotl.c: Likewise.
42403 * math/w_lgamma.c: Likewise.
42404 * math/w_lgamma_r.c: Likewise.
42405 * math/w_lgammaf.c: Likewise.
42406 * math/w_lgammaf_r.c: Likewise.
42407 * math/w_lgammal.c: Likewise.
42408 * math/w_lgammal_r.c: Likewise.
42409 * math/w_sinh.c: Likewise.
42410 * math/w_sinhf.c: Likewise.
42411 * math/w_sinhl.c: Likewise.
42412 * math/w_tgamma.c: Likewise.
42413 * math/w_tgammaf.c: Likewise.
42414 * math/w_tgammal.c: Likewise.
42415 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42416 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42417 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
42418 Minor optimizations. Pretty printing. Remove cruft.
42419 * sysdeps/i386/fpu/e_acosf.S: Likewise.
42420 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42421 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42422 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42423 * sysdeps/i386/fpu/e_acosl.c: Likewise.
42424 * sysdeps/i386/fpu/e_asin.S: Likewise.
42425 * sysdeps/i386/fpu/e_asinf.S: Likewise.
42426 * sysdeps/i386/fpu/e_atan2.S: Likewise.
42427 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
42428 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
42429 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42430 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42431 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42432 * sysdeps/i386/fpu/e_exp10.S: Likewise.
42433 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
42434 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
42435 * sysdeps/i386/fpu/e_exp2.S: Likewise.
42436 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
42437 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
42438 * sysdeps/i386/fpu/e_fmod.S: Likewise.
42439 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
42440 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
42441 * sysdeps/i386/fpu/e_hypot.S: Likewise.
42442 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
42443 * sysdeps/i386/fpu/e_log.S: Likewise.
42444 * sysdeps/i386/fpu/e_log10.S: Likewise.
42445 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42446 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42447 * sysdeps/i386/fpu/e_log2.S: Likewise.
42448 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42449 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42450 * sysdeps/i386/fpu/e_logf.S: Likewise.
42451 * sysdeps/i386/fpu/e_logl.S: Likewise.
42452 * sysdeps/i386/fpu/e_pow.S: Likewise.
42453 * sysdeps/i386/fpu/e_powf.S: Likewise.
42454 * sysdeps/i386/fpu/e_powl.S: Likewise.
42455 * sysdeps/i386/fpu/e_remainder.S: Likewise.
42456 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
42457 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
42458 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42459 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42460 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42461 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
42462 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
42463 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
42464 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42465 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42466 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42467 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42468 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42469 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42470 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42471 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42472 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42473 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42474 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42475 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42476 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42477 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42478 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42479 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42480 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42481 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42482 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42483 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42484 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42485 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42486 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42487 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42488 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42489 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42490 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42491 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42492 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
42493 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42494 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42495 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42496 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42497 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42498 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42499 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42500 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42501 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42502 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42503 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42504 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42505 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42506 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42507 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42508 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42509 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42510 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42511 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42512 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42513 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
42514 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42515 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42516 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42517 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42518 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42519 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42520 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42521 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42522 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42523 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42524 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42525 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42526 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42527 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42528 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42529 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42530 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42531 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42532 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
42533 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42534 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42535 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42536 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42537 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42538 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42539 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42540 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
42541 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42542 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42543 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42544 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42545 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42546 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
42547 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42548 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42549 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42550 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42551 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42552 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42553 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42554 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42555 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42556 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42557 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
42558 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42559 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42560 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42561 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
42562 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
42563 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
42564 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
42565 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
42566 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
42567 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
42568 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42569 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42570 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42571 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42572 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
42573 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42574 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
42575 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
42576 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
42577 (__isnanf): Likewise.
42578 (__isinf_ns): Likewise.
42579 (__isinf_nsf): Likewise.
42580 (__finite): Likewise.
42581 (__finitef): Likewise.
42582 (__ieee754_sqrt): Define as macro.
42583 (__ieee754_sqrtf): Define as macro.
42584 (__ieee754_sqrtl): Define as macro.
42585 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
42586 inlined copy.
42587 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
42588 __FINITE_MATH_ONLY__ consistent.
42589 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
42590
12cc2fcd
AS
425912011-10-10 Andreas Schwab <schwab@linux-m68k.org>
42592
a843a204
AS
42593 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
42594 of rawmemchr.
42595
12cc2fcd
AS
42596 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
42597
c853acd5
UD
425982011-10-09 Ulrich Drepper <drepper@gmail.com>
42599
42600 * po/ja.po: Update from translation team.
42601
c658d255
RM
426022011-10-08 Roland McGrath <roland@hack.frob.com>
42603
110946e4
RM
42604 * locale/programs/locarchive.c (prepare_address_space): New function.
42605 (create_archive, enlarge_archive, open_archive): Use it.
42606
50604220
RM
42607 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
42608 inside [SHARED], where it is used.
42609
c658d255
RM
42610 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
42611
42612 * nss/getent.c (netgroup_keys): Remove unused variable.
42613 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42614
6a621eb7
UD
426152011-10-08 Ulrich Drepper <drepper@gmail.com>
42616
7edb55ce
UD
42617 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
42618 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
42619 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
42620 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
42621 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
42622 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
42623 * math/Makefile (libm-calls): Add s_isinf_ns.
42624 * math/divtc3.c: Use __isinf_nsl instead of isinf.
42625 * math/multc3.c: Likewise.
42626 * math/s_casin.c: Likewise.
42627 * math/s_casinf.c: Likewise.
42628 * math/s_casinl.c: Likewise.
42629 * math/s_ccos.c: Likewise.
42630 * math/s_ccosf.c: Likewise.
42631 * math/s_ccosl.c: Likewise.
42632 * math/s_ctan.c: Likewise.
42633 * math/s_ctanf.c: Likewise.
42634 * math/s_ctanh.c: Likewise.
42635 * math/s_ctanhf.c: Likewise.
42636 * math/s_ctanhl.c: Likewise.
42637 * math/s_ctanl.c: Likewise.
42638 * math/w_fmod.c: Likewise.
42639 * math/w_fmodf.c: Likewise.
42640 * math/w_fmodl.c: Likewise.
42641 * math/w_remainder.c: Likewise.
42642 * math/w_remainderf.c: Likewise.
42643 * math/w_remainderl.c: Likewise.
42644 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
42645 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
42646 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
42647 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
42648 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
42649 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
42650 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
42651 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
42652
187da0ae
UD
42653 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
42654 of the number.
42655 * stdio-common/printf_fphex.c: Likewise.
42656 * stdio-common/printf_size.c: Likewise.
42657
9277c064
UD
42658 * math/e_exp10.c: Include math_private.h using <...> not "...".
42659 * math/e_exp10f.c: Likewise.
42660 * math/e_exp10l.c: Likewise.
42661 * math/e_exp2l.c: Likewise.
42662 * math/e_j0l.c: Likewise.
42663 * math/e_j1l.c: Likewise.
42664 * math/e_jnl.c: Likewise.
42665 * math/e_lgammal_r.c: Likewise.
42666 * math/e_rem_pio2l.c: Likewise.
42667 * math/e_scalb.c: Likewise.
42668 * math/e_scalbf.c: Likewise.
42669 * math/e_scalbl.c: Likewise.
42670 * math/k_cosl.c: Likewise.
42671 * math/k_sinl.c: Likewise.
42672 * math/k_tanl.c: Likewise.
42673 * math/s_cacoshf.c: Likewise.
42674 * math/s_catan.c: Likewise.
42675 * math/s_catanf.c: Likewise.
42676 * math/s_catanh.c: Likewise.
42677 * math/s_catanhf.c: Likewise.
42678 * math/s_catanhl.c: Likewise.
42679 * math/s_catanl.c: Likewise.
42680 * math/s_ccosh.c: Likewise.
42681 * math/s_ccoshf.c: Likewise.
42682 * math/s_ccoshl.c: Likewise.
42683 * math/s_cexp.c: Likewise.
42684 * math/s_cexpf.c: Likewise.
42685 * math/s_cexpl.c: Likewise.
42686 * math/s_clog.c: Likewise.
42687 * math/s_clog10.c: Likewise.
42688 * math/s_clog10f.c: Likewise.
42689 * math/s_clog10l.c: Likewise.
42690 * math/s_clogf.c: Likewise.
42691 * math/s_clogl.c: Likewise.
42692 * math/s_csin.c: Likewise.
42693 * math/s_csinf.c: Likewise.
42694 * math/s_csinh.c: Likewise.
42695 * math/s_csinhf.c: Likewise.
42696 * math/s_csinhl.c: Likewise.
42697 * math/s_csinl.c: Likewise.
42698 * math/s_csqrt.c: Likewise.
42699 * math/s_csqrtf.c: Likewise.
42700 * math/s_csqrtl.c: Likewise.
42701 * math/s_ctan.c: Likewise.
42702 * math/s_ctanf.c: Likewise.
42703 * math/s_ctanh.c: Likewise.
42704 * math/s_ctanhf.c: Likewise.
42705 * math/s_ctanhl.c: Likewise.
42706 * math/s_ctanl.c: Likewise.
42707 * math/s_ldexp.c: Likewise.
42708 * math/s_ldexpf.c: Likewise.
42709 * math/s_ldexpl.c: Likewise.
42710 * math/s_significand.c: Likewise.
42711 * math/s_significandf.c: Likewise.
42712 * math/s_significandl.c: Likewise.
42713 * math/w_acos.c: Likewise.
42714 * math/w_acosf.c: Likewise.
42715 * math/w_acosh.c: Likewise.
42716 * math/w_acoshf.c: Likewise.
42717 * math/w_acoshl.c: Likewise.
42718 * math/w_acosl.c: Likewise.
42719 * math/w_asin.c: Likewise.
42720 * math/w_asinf.c: Likewise.
42721 * math/w_asinl.c: Likewise.
42722 * math/w_atan2.c: Likewise.
42723 * math/w_atan2f.c: Likewise.
42724 * math/w_atan2l.c: Likewise.
42725 * math/w_atanh.c: Likewise.
42726 * math/w_atanhf.c: Likewise.
42727 * math/w_atanhl.c: Likewise.
42728 * math/w_cosh.c: Likewise.
42729 * math/w_coshf.c: Likewise.
42730 * math/w_coshl.c: Likewise.
42731 * math/w_dremf.c: Likewise.
42732 * math/w_exp10.c: Likewise.
42733 * math/w_exp10f.c: Likewise.
42734 * math/w_exp10l.c: Likewise.
42735 * math/w_exp2.c: Likewise.
42736 * math/w_exp2f.c: Likewise.
42737 * math/w_fmod.c: Likewise.
42738 * math/w_fmodf.c: Likewise.
42739 * math/w_fmodl.c: Likewise.
42740 * math/w_hypot.c: Likewise.
42741 * math/w_hypotf.c: Likewise.
42742 * math/w_hypotl.c: Likewise.
42743 * math/w_j0.c: Likewise.
42744 * math/w_j0f.c: Likewise.
42745 * math/w_j0l.c: Likewise.
42746 * math/w_j1.c: Likewise.
42747 * math/w_j1f.c: Likewise.
42748 * math/w_j1l.c: Likewise.
42749 * math/w_jn.c: Likewise.
42750 * math/w_jnf.c: Likewise.
42751 * math/w_jnl.c: Likewise.
42752 * math/w_lgamma.c: Likewise.
42753 * math/w_lgamma_r.c: Likewise.
42754 * math/w_lgammaf.c: Likewise.
42755 * math/w_lgammaf_r.c: Likewise.
42756 * math/w_lgammal.c: Likewise.
42757 * math/w_lgammal_r.c: Likewise.
42758 * math/w_log.c: Likewise.
42759 * math/w_log10.c: Likewise.
42760 * math/w_log10f.c: Likewise.
42761 * math/w_log10l.c: Likewise.
42762 * math/w_log2.c: Likewise.
42763 * math/w_log2f.c: Likewise.
42764 * math/w_log2l.c: Likewise.
42765 * math/w_logf.c: Likewise.
42766 * math/w_logl.c: Likewise.
42767 * math/w_pow.c: Likewise.
42768 * math/w_powf.c: Likewise.
42769 * math/w_powl.c: Likewise.
42770 * math/w_remainder.c: Likewise.
42771 * math/w_remainderf.c: Likewise.
42772 * math/w_remainderl.c: Likewise.
42773 * math/w_scalb.c: Likewise.
42774 * math/w_scalbf.c: Likewise.
42775 * math/w_scalbl.c: Likewise.
42776 * math/w_sinh.c: Likewise.
42777 * math/w_sinhf.c: Likewise.
42778 * math/w_sinhl.c: Likewise.
42779 * math/w_sqrt.c: Likewise.
42780 * math/w_sqrtf.c: Likewise.
42781 * math/w_sqrtl.c: Likewise.
42782 * math/w_tgamma.c: Likewise.
42783 * math/w_tgammaf.c: Likewise.
42784 * math/w_tgammal.c: Likewise.
42785
6a621eb7
UD
42786 * po/ja.po: Update from translation team.
42787
bf582445
AJ
427882011-09-29 Andreas Jaeger <aj@suse.de>
42789
f9efbf3a
AJ
42790 [BZ #13179]
42791 * sunrpc/netname.c (netname2host): Fix logic.
42792
bf582445
AJ
42793 [BZ #6779]
42794 [BZ #6783]
42795 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
42796 correctly.
42797 * math/w_remainder.c (__remainder): Likewise.
42798 * math/w_remainderf.c (__remainderf): Likewise.
42799 * math/libm-test.inc (remainder_test): Add test cases.
42800
48693bea
AK
428012011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42802
42803 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
42804 sdiv_qrnnd.
42805
42622229
LD
428062011-10-07 Ulrich Drepper <drepper@gmail.com>
42807
42808 * string/test-memcmp.c: Avoid unncessary #defines.
42809 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42810
093ecf92
LD
428112011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42812
42813 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
42814 Use new sse2 version for core i3 - i7 as it's faster
42815 than sse42 version.
42816 (bit_Prefer_PMINUB_for_stringop): New.
42817 * sysdeps/x86_64/rawmemchr.S: Update.
42818 Replace with faster SSE2 version.
42819 * sysdeps/x86_64/memrchr.S: New file.
42820 * sysdeps/x86_64/memchr.S: Update.
42821 Replace with faster SSE2 version.
42822
fde56e5c
MP
428232011-09-12 Marek Polacek <mpolacek@redhat.com>
42824
42825 * elf/dl-load.c (lose): Add cast to avoid warning.
42826
21fd49a9
UD
428272011-10-07 Ulrich Drepper <drepper@gmail.com>
42828
5a06e643
UD
42829 * po/ca.po: Update from translation team.
42830
684ae515
UD
42831 * inet/getnetgrent_r.c: Hook up nscd.
42832 * nscd/Makefile (routines): Add nscd_netgroup.
42833 (nscd-modules): Add netgroupcache.
42834 (CFLAGS-netgroupcache.c): Define.
42835 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
42836 (cache_search): Add const to second parameter.
42837 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
42838 INNETGR.
42839 (dbs): Add netgrdb entry.
42840 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
42841 (verify_persistent_db): Handle netgrdb.
42842 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
42843 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
42844 GETFDNETGR.
42845 (netgroup_response_header): Define.
42846 (innetgroup_response_header): Define.
42847 (datahead): Add netgroup_response_header and innetgroup_response_header
42848 elements.
42849 * nscd/nscd.conf: Add entries for netgroup cache.
42850 * nscd/nscd.h (dbtype): Add netgrdb.
42851 (_PATH_NSCD_NETGROUP_DB): Define.
42852 (netgroup_iov_disabled): Declare.
42853 (xmalloc, xcalloc, xrealloc): Move declarations here.
42854 (cache_search): Adjust prototype.
42855 Add netgroup-related prototypes.
42856 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
42857 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
42858 (__nscd_innetgr): Declare.
42859 * nscd/selinux.c (perms): Use access_vector_t as element type and
42860 add netgroup-related initializers.
42861 * nscd/netgroupcache.c: New file.
42862 * nscd/nscd_netgroup.c: New file.
42863 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
42864 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
42865 For four parameters use innetgr.
42866 * nss/nss_files/files-init.c: Add definition and callback for netgr.
42867 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
42868 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
42869 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
42870
21fd49a9
UD
42871 * nscd/connections.c (register_traced_file): Don't register file
42872 for disabled databases.
42873
054c0457
UD
428742011-10-06 Ulrich Drepper <drepper@gmail.com>
42875
32b63198
UD
42876 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
42877
054c0457
UD
42878 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
42879 from tree and freeing node.
42880
64031225
JO
428812011-09-25 Jiri Olsa <jolsa@redhat.com>
42882
42883 * nss/nsswitch.c (__nss_database_lookup): Handle
42884 nss_parse_service_list out of memory case.
42885
0490345c
JO
428862011-09-15 Jiri Olsa <jolsa@redhat.com>
42887
42888 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
42889 out of memory case.
42890
3a62d00d
AS
428912011-10-04 Andreas Schwab <schwab@redhat.com>
42892
42893 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
42894 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
42895 pass it down.
42896 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
42897 elf_machine_rela, elf_machine_lazy_rel.
42898 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
42899 (ELF_DYNAMIC_DO_REL): Likewise.
42900 (ELF_DYNAMIC_DO_RELA): Likewise.
42901 (ELF_DYNAMIC_RELOCATE): Likewise.
42902 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
42903 to ELF_DYNAMIC_DO_REL.
42904 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
42905 (dl_main): In trace mode always set __RTLD_NOIFUNC.
42906 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
42907 elf_machine_rela.
42908 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
42909 skip_ifunc, don't call ifunc function if non-zero.
42910 (elf_machine_rela): Likewise.
42911 (elf_machine_lazy_rel): Likewise.
42912 (elf_machine_lazy_rela): Likewise.
42913 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
42914 (elf_machine_lazy_rel): Likewise.
42915 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
42916 Likewise.
42917 (elf_machine_lazy_rel): Likewise.
42918 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42919 Likewise.
42920 (elf_machine_lazy_rel): Likewise.
42921 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
42922 (elf_machine_lazy_rel): Likewise.
42923 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
42924 (elf_machine_lazy_rel): Likewise.
42925 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42926 (elf_machine_lazy_rel): Likewise.
42927 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
42928 (elf_machine_lazy_rel): Likewise.
42929 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
42930 (elf_machine_lazy_rel): Likewise.
42931 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42932 (elf_machine_lazy_rel): Likewise.
42933
68577918
UD
429342011-09-28 Ulrich Drepper <drepper@gmail.com>
42935
42936 * nss/nss_files/files-init.c (_nss_files_init): Use static
42937 initialization for all the *_traced_file variables.
42938
68822d74
AS
429392011-09-28 Andreas Schwab <schwab@redhat.com>
42940
42941 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42942
2056100b
RM
429432011-09-27 Roland McGrath <roland@hack.frob.com>
42944
42945 [BZ #13226]
42946 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
42947
32c76b63
AS
429482011-09-27 Andreas Schwab <schwab@redhat.com>
42949
42950 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42951 Reread the line before reparsing it.
42952
bf972c9d
AS
429532011-09-26 Andreas Schwab <schwab@redhat.com>
42954
42955 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
42956
e057a1b5
JM
429572011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
42958 Maxim Kuvyrkov <maxim@codesourcery.com>
42959 Joseph Myers <joseph@codesourcery.com>
42960
42961 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
42962 if needed for __stack_chk_guard.
42963
bc7e1c36
RM
429642011-09-19 Roland McGrath <roland@hack.frob.com>
42965
ecb1482f
RM
42966 * sysdeps/posix/spawni.c (script_execute): Always define it.
42967 It will be optimized away if unused.
42968 (maybe_script_execute): New function.
42969 (__spawni): Call it.
42970
bc7e1c36
RM
42971 * Makerules: Don't include tls.make.
42972 (config-tls): Always set to thread.
42973 * tls.make.c: File removed.
42974
1c3b002b
MF
429752011-09-19 Mike Frysinger <vapier@gentoo.org>
42976
42977 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
42978 * config.make.in (CPPFLAGS-config): New substituted variable.
42979
2840865d
UD
429802011-09-15 Ulrich Drepper <drepper@gmail.com>
42981
88738eb6
UD
42982 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
42983
cbf645a6 42984 [BZ #13192]
2840865d
UD
42985 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
42986 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
42987
b402e91a
RM
429882011-09-15 Roland McGrath <roland@hack.frob.com>
42989
42990 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
42991 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
42992 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42993 (CALL_FAIL): Likewise.
42994 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
42995 (CALL_FAIL): Macro removed.
42996 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
42997
4c1a1f71
UD
429982011-09-15 Ulrich Drepper <drepper@gmail.com>
42999
43000 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
43001 for __FINITE_MATH_ONLY__ == 1.
43002
edc121be
AS
430032011-09-15 Andreas Schwab <schwab@redhat.com>
43004
43005 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
43006 __ieee754_sqrt instead of sqrt.
43007 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
43008 __ieee754_sqrtf instead of sqrtf.
43009 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
43010 __floorf instead of floorf.
43011 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
43012 __floorf, __truncf instead of floorf, truncf.
43013
cd205654
UD
430142011-09-14 Ulrich Drepper <drepper@gmail.com>
43015
ee4d0315
UD
43016 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
43017
cd205654
UD
43018 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
43019 __extern_always_inline.
43020 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
43021 32-bit.
43022
48b67d71
AS
430232011-09-14 Andreas Schwab <schwab@redhat.com>
43024
43025 * elf/rtld.c (dl_main): Also relocate in dependency order when
43026 doing symbol dependency testing.
43027
1ae12c75
AS
430282011-09-13 Andreas Schwab <schwab@linux-m68k.org>
43029
43030 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43031 Always define `refsym'.
43032
995a80df
AS
430332011-09-13 Andreas Schwab <schwab@redhat.com>
43034
e529793b
AS
43035 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
43036 (__FD_ELT): Renamed from __FDELT.
43037 * misc/bits/select2.h (__FD_ELT): Likewise.
43038 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
43039 __FD_MASK instead of __FDELT, __FDMASK.
43040 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43041 Likewise.
43042 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43043 Likewise.
43044
52d4fef8
AS
43045 * elf/Makefile (gen-ldd): Fix pattern.
43046
995a80df
AS
43047 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
43048 (init_tls): Likewise.
43049
8682f8b0
UD
430502011-09-12 Ulrich Drepper <drepper@gmail.com>
43051
43052 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
43053
de82006d
AS
430542011-09-12 Andreas Schwab <schwab@redhat.com>
43055
a7c8e6a1
AS
43056 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
43057 `struct cmsghdr *' instead of `void *'.
43058 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
43059 Likewise.
43060
0f31fe77
AS
430612011-09-11 Andreas Schwab <schwab@linux-m68k.org>
43062
43063 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
43064 if non-absolute.
43065 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
43066 ldd_rewrite_script.
0f31fe77 43067
32b4c839
UD
430682011-09-11 Ulrich Drepper <drepper@gmail.com>
43069
83cd1420
UD
43070 * configure.in: Remove --with-tls option.
43071 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
43072 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
43073 out in case it is missing.
43074 * sysdeps/ia64/elf/configure.in: Likewise.
43075 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
43076 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
43077 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
43078 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
43079 * sysdeps/sh/elf/configure.in: Likewise.
43080 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
43081 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43082 * sysdeps/x86_64/elf/configure.in: Likewise.
43083 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
43084 * sysdeps/mach/hurd/tls.h: Likewise.
43085
633f745d
UD
43086 [BZ #13067]
43087 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
43088
f318beb8
UD
43089 [BZ #13090]
43090 * configure.in: Fix use of AC_INIT.
43091
32b4c839
UD
43092 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
43093
3ce1f295
UD
430942011-09-10 Ulrich Drepper <drepper@gmail.com>
43095
bb016596
UD
43096 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
43097 __set_errno.
8e58439c
UD
43098 * malloc/hooks.c: Likewise.
43099
aebae053 43100 [BZ #11929]
02d46fc4
UD
43101 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
43102 variables statically.
43103 (narenas): Initialize.
43104 (list_lock): Initialize.
bb016596
UD
43105 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
43106 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
43107 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
43108 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
43109 Add initializers to main_arena and mp_.
43110 (malloc_state): Remove pagesize member. Change all users to use
43111 GLRO(dl_pagesize).
43112
43113 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
43114 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
43115 is always initialized.
43116
22a89187
UD
43117 * malloc/malloc.c: Removed unused configurations and dead code.
43118 * malloc/arena.c: Likewise.
43119 * malloc/hooks.c: Likewise.
02d46fc4 43120 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 43121
d063d164
UD
43122 * include/tls.h: Removed. USE___THREAD must always be defined.
43123 * bits/libc-tsd.h: Don't handle !USE___THREAD.
43124 * elf/dl-libc.c: Likewise.
43125 * elf/dl-tsd.c: Likewise.
43126 * include/errno.h: Likewise.
43127 * include/netdb.h: Likewise.
43128 * include/resolv.h: Likewise.
43129 * inet/herrno-loc.c: Likewise.
43130 * inet/herrno.c: Likewise.
43131 * malloc/arena.c: Likewise.
43132 * malloc/hooks.c: Likewise.
43133 * malloc/malloc.c: Likewise.
43134 * resolv/res-state.c: Likewise.
43135 * resolv/res_libc.c: Likewise.
43136 * sysdeps/i386/dl-machine.h: Likewise.
43137 * sysdeps/ia64/dl-machine.h: Likewise.
43138 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
43139 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
43140 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
43141 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
43142 * sysdeps/sh/dl-machine.h: Likewise.
43143 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43144 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43145 * sysdeps/unix/i386/sysdep.S: Likewise.
43146 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43147 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43148 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43149 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43150 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43151 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43152 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43153 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43154 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43155 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43156 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43157 * sysdeps/x86_64/dl-machine.h: Likewise.
43158 * tls.make.c: Likewise.
43159
3ce1f295
UD
43160 * configure.in: Remove --with-__thread option. Make tests for
43161 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
43162 tls_model attribute fail if no support is available. Remove
43163 USE_IN_LIBIO.
43164 * Makeconfig: Adjust for dropped configure option. All features are
43165 now mandatory.
43166 * Makerules: Likewise.
43167 * Versions.def: Likewise.
43168 * argp/argp-fmtstream.c: Likewise.
43169 * argp/argp-fmtstream.h: Likewise.
43170 * argp/argp-help.c: Likewise.
43171 * assert/assert.c: Likewise.
43172 * config.h.in: Likewise.
43173 * config.make.in: Likewise.
43174 * configure: Likewise.
43175 * configure.in: Likewise.
43176 * csu/Versions: Likewise.
43177 * csu/init.c: Likewise.
43178 * elf/tst-audit2.c: Likewise.
43179 * elf/tst-tls10.c: Likewise.
43180 * elf/tst-tls10.h: Likewise.
43181 * elf/tst-tls11.c: Likewise.
43182 * elf/tst-tls12.c: Likewise.
43183 * elf/tst-tls14.c: Likewise.
43184 * elf/tst-tlsmod11.c: Likewise.
43185 * elf/tst-tlsmod12.c: Likewise.
43186 * elf/tst-tlsmod13.c: Likewise.
43187 * elf/tst-tlsmod13a.c: Likewise.
43188 * elf/tst-tlsmod14a.c: Likewise.
43189 * elf/tst-tlsmod15b.c: Likewise.
43190 * elf/tst-tlsmod16a.c: Likewise.
43191 * elf/tst-tlsmod16b.c: Likewise.
43192 * elf/tst-tlsmod7.c: Likewise.
43193 * elf/tst-tlsmod8.c: Likewise.
43194 * elf/tst-tlsmod9.c: Likewise.
43195 * gmon/gmon.c: Likewise.
43196 * grp/fgetgrent_r.c: Likewise.
43197 * grp/putgrent.c: Likewise.
43198 * hurd/fopenport.c: Likewise.
43199 * include/libc-symbols.h: Likewise.
43200 * include/tls.h: Likewise.
43201 * intl/gettextP.h: Likewise.
43202 * intl/loadinfo.h: Likewise.
43203 * locale/global-locale.c: Likewise.
43204 * locale/localeinfo.h: Likewise.
43205 * mach/devstream.c: Likewise.
43206 * malloc/arena.c: Likewise.
43207 * malloc/set-freeres.c: Likewise.
43208 * misc/err.c: Likewise.
43209 * misc/getttyent.c: Likewise.
43210 * misc/mntent_r.c: Likewise.
43211 * posix/getopt.c: Likewise.
43212 * posix/wordexp.c: Likewise.
43213 * pwd/fgetpwent_r.c: Likewise.
43214 * resolv/Versions: Likewise.
43215 * resolv/res_hconf.c: Likewise.
43216 * shadow/fgetspent_r.c: Likewise.
43217 * shadow/putspent.c: Likewise.
43218 * stdio-common/printf_fphex.c: Likewise.
43219 * stdio-common/tmpfile.c: Likewise.
43220 * stdlib/abort.c: Likewise.
43221 * stdlib/fmtmsg.c: Likewise.
43222 * sunrpc/auth_unix.c: Likewise.
43223 * sunrpc/clnt_perr.c: Likewise.
43224 * sunrpc/clnt_tcp.c: Likewise.
43225 * sunrpc/clnt_udp.c: Likewise.
43226 * sunrpc/clnt_unix.c: Likewise.
43227 * sunrpc/openchild.c: Likewise.
43228 * sunrpc/svc_simple.c: Likewise.
43229 * sunrpc/svc_tcp.c: Likewise.
43230 * sunrpc/svc_udp.c: Likewise.
43231 * sunrpc/svc_unix.c: Likewise.
43232 * sunrpc/xdr.c: Likewise.
43233 * sunrpc/xdr_array.c: Likewise.
43234 * sunrpc/xdr_rec.c: Likewise.
43235 * sunrpc/xdr_ref.c: Likewise.
43236 * sunrpc/xdr_stdio.c: Likewise.
43237
1248c1c4
PB
432382011-09-09 Ulrich Drepper <drepper@gmail.com>
43239
43240 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43241
432422011-07-03 Andreas Jaeger <aj@suse.de>
43243
43244 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
43245 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
43246 regenerate with gen-libm-tests.pl.
43247
432482010-05-12 Petr Baudis <pasky@suse.cz>
43249
43250 [BZ #11589]
43251 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
43252 around j0() zero points by switching to j1().
43253 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43254 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43255 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43256 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43257
f22e1074
UD
432582011-09-09 Ulrich Drepper <drepper@gmail.com>
43259
f19009c1
UD
43260 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
43261 instead of 0.
43262 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 43263 instead of 0.
f19009c1
UD
43264 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43265 Patch in part by Pavel Roskin <proski@gnu.org>.
43266
3f8cc204
UD
43267 [BZ #13138]
43268 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
43269 realloc.
43270 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
43271 Free memory block if necessary.
43272
f22e1074
UD
43273 [BZ #12847]
43274 * libio/genops.c (INTDEF): For string streams the _lock pointer can
43275 be NULL. Don't lock in this case.
43276
0a2349f9
RM
432772011-09-09 Roland McGrath <roland@hack.frob.com>
43278
43279 * elf/elf.h (ELFOSABI_GNU): New macro.
43280 (ELFOSABI_LINUX): Define to that.
43281
f3cdd467
DZ
432822011-07-29 Denis Zaitceff <zaitceff@gmail.com>
43283
43284 * string/strncat.c (strncat): Undef the symbol in case it has been
43285 defined in bits/string.h.
43286
74718d13
UD
432872011-09-09 Ulrich Drepper <drepper@gmail.com>
43288
633e9e0f
UD
43289 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
43290
0a2349f9 43291 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
43292 link map.
43293
f9924780
AJ
432942011-08-17 Andreas Jaeger <aj@suse.de>
43295
43296 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
43297
7f5517aa
PP
432982011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
43299 Ian Lance Taylor <iant@google.com>
43300
43301 * math/libm-test.inc (lround_test): New testcase.
43302 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
43303
762011fe
UD
433042011-09-08 Ulrich Drepper <drepper@gmail.com>
43305
92963737
UD
43306 * Makefile: Remove support for automatic cvs check-ins.
43307 * Makerules: Likewise.
43308 * config.make.in: Likewise.
43309 * configure.in: Likewise.
43310 * intl/Makefile: Likewise.
43311 * locale/Makefile: Likewise.
43312 * po/Makefile: Likewise.
43313 * posix/Makefile: Likewise.
43314 * sysdeps/gnu/Makefile: Likewise.
43315 * sysdeps/mach/hurd/Makefile: Likewise.
43316 * sysdeps/sparc/sparc32/Makefile: Likewise.
43317
b0727fd8
JS
43318 [BZ #13118]
43319 * posix/Makefile (bug-regex32-ENV): Define.
43320 Patch by John Stanley <jpsinthemix@verizon.net>.
43321
a0f33f99
UD
43322 * misc/Makefile (headers): Add bits/select2.h.
43323 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
43324 * misc/bits/select2.h: New file.
43325 * include/bits/select2.h: New file.
43326 * debug/Makefile (routines): Add fdelt_chk.
43327 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
43328 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
43329 FD_ISSET.
43330 * debug/fdelt_chk.c: New file.
43331
762011fe
UD
43332 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
43333 * wcsmbs/test-wmemcmp.c: Likewise.
43334 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 43335 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
43336
433372011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43338
43339 * string/Makefile (strop-tests): Add memcmp.
43340 * string/test-wmemcmp.c: New file.
43341 * string/test-memcmp.c: Add wmemcmp support.
43342
7f513ec8
RM
433432011-09-08 Roland McGrath <roland@hack.frob.com>
43344
0442afb4
RM
43345 [BZ #13153]
43346 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
43347 2011-07-19 change.
43348
7f513ec8
RM
43349 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
43350 garbage value in a __mach_port_mod_refs call in the cases of the
43351 task-self and thread-self ports.
43352
a12b2239
ST
433532011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43354
43355 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
43356
610f9ab4
AS
433572011-09-08 Andreas Schwab <schwab@redhat.com>
43358
7f513ec8 43359 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 43360
48882a1a
LD
433612011-09-07 Ulrich Drepper <drepper@gmail.com>
43362
b49865be
UD
43363 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
43364
fdc86bc9
UD
43365 * elf/dl-libc.c (dlerror_run): Pass back error code from
43366 dl_catch_error.
43367
c966526a
UD
43368 [BZ #13123]
43369 * elf/dl-load.c (lose): Free l_origin if it is valid.
43370
48882a1a
LD
43371 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
43372 names.
43373 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43374 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43375 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43376 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43377 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43378 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
43379
77a2a8b4
AZ
433802011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43381
43382 * sysdeps/powerpc/fpu/e_hypot.c: New file.
43383 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
43384 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
43385 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
43386 * sysdeps/powerpc/fpu/k_cosf.c: New file.
43387 * sysdeps/powerpc/fpu/k_sinf.c: New file.
43388 * sysdeps/powerpc/fpu/s_cosf.c: New file.
43389 * sysdeps/powerpc/fpu/s_sinf.c: New file.
43390 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
43391 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
43392
24f579d8
AM
433932011-08-15 Alan Modra <amodra@gmail.com>
43394
43395 [BZ #13092]
43396 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
43397 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
43398 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
43399 ppc_mcount to static-only-routines.
43400 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
43401 __mcount_internal.
43402 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
43403 __mcount_internal with usual JUMPTARGET. Remove useless nop.
43404
3d4837df
UD
434052011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
43406
43407 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
43408 for finite and infinity parameters.
43409
22700377
WS
434102011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
43411
43412 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
43413 and add nop instructions for throughput optimization.
43414 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43415
5025581e
WS
434162011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
43417
43418 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
43419 aligned copy for power7 with vector-scalar instructions.
43420 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43421
08a300c9
L
434222011-07-24 H.J. Lu <hongjiu.lu@intel.com>
43423
43424 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
43425 AVX check.
43426
59178ef9
AS
434272011-09-07 Andreas Schwab <schwab@redhat.com>
43428
43429 [BZ #13144]
43430 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
43431 last change.
43432
e38ba7ab
UD
434332011-09-07 Ulrich Drepper <drepper@gmail.com>
43434
43435 * sysdeps/unix/sysv/linux/x86_64/init-first.c
43436 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
43437 syscall wrapper around clock_gettime in __vdso_clock_gettime.
43438 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
43439 clock_gettime.
43440
d53a73ac
UD
434412011-09-06 Ulrich Drepper <drepper@gmail.com>
43442
fc8bffcc
UD
43443 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
43444 Forgot to demangle the pointer.
43445
ceaa0c5d
UD
43446 * sysdeps/i386/sysdep.h: Define atom_text_section.
43447 * sysdeps/x86_64/sysdep.h: Likewise.
43448 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
43449 section with atom_text_section.
43450 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43451 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43452 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43453 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43454 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
43455
a77d3c17
UD
43456 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
43457 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
43458 already be defined. Change to take two parameters and don't assign
43459 result to variable. Adjust all users.
43460 Define INTERNAL_GETTIME if not already defined.
43461 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
43462 call.
43463 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
43464 HAVE_CLOCK_GETTIME_VSYSCALL.
43465 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
43466
d53a73ac
UD
43467 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
43468 gettimeofday vsyscall, just use time.
43469
a8f84144
AS
434702011-09-06 Andreas Schwab <schwab@redhat.com>
43471
43472 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
43473 <errno.h>.
43474
ef606249
UD
434752011-09-06 Ulrich Drepper <drepper@gmail.com>
43476
43477 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
43478 syscall on x86-64.
43479 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
43480 syscall.
43481 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
43482 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
43483 syscall if possible.
43484
6585cb60
UD
434852011-09-05 Ulrich Drepper <drepper@gmail.com>
43486
43487 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
43488 e_ident. Don't pass to find_mapsXX.
43489 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
43490
a5f524e4
LD
434912011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43492
43493 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43494 strchr-sse2-no-bsf strrchr-sse2-no-bsf
43495 * sysdeps/x86_64/multiarch/strchr.S: Update.
43496 Check bit_slow_BSF bit.
43497 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43498 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
43499 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
43500
554881ef
UD
435012011-09-05 Ulrich Drepper <drepper@gmail.com>
43502
d96de963
UD
43503 [BZ #13134]
43504 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
43505 before glibc 2.15.
43506 (tryshell): Define.
43507 (__spawni): Change last parameter to be flag. Test
43508 SPAWN_XFLAGS_USE_PATH flag to use path or not.
43509 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
43510 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
43511 * posix/spawni.c: Likewise.
43512 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
43513 * posix/spawnp.c: Likewise. Change normal version to use
43514 SPAWN_XFLAGS_USE_PATH.
43515 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
43516 SPAWN_XFLAGS_TRY_SHELL.
43517
d48e5868
UD
43518 [BZ #13150]
43519 * posix/glob.h: Remove gcc 1.x support.
43520
554881ef
UD
43521 [BZ #13068]
43522 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
43523
693fb948
LD
435242011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43525
43526 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43527 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
43528 strrchr-sse2-bsf
43529 * sysdeps/i386/i686/multiarch/strchr.S: New file.
43530 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
43531 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
43532 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
43533 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
43534 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
43535
1b48c537
UD
435362011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43537
49d42c37
UD
43538 * sysdeps/x86_64/wcscmp.S: New file.
43539
1b48c537
UD
43540 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
43541 wcscmp-c wcscmp-sse2
43542 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
43543 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
43544 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
43545 * wcsmbs/wcscmp.c: Allow renaming.
43546
15c95c5d
DM
435472011-09-05 David S. Miller <davem@davemloft.net>
43548
43549 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
43550 stack slot, rather than the struct return pointer slot.
43551 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
43552 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
43553 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
43554 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
43555
2f0ad8f3
UD
435562011-09-05 Ulrich Drepper <drepper@gmail.com>
43557
d88ae418
UD
43558 * po/ja.po: Update from translation team.
43559
2f0ad8f3
UD
43560 [BZ #13144]
43561 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
43562 kernel in 64-bit binaries.
43563
5f4318d1
DM
435642011-09-01 David S. Miller <davem@davemloft.net>
43565
43566 * elf/elf.h (HWCAP_SPARC_*): Move to..
43567 * sysdeps/sparc/sysdep.h: this new file and add new values.
43568 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
43569 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
43570 _DL_HWCAP_COUNT to 24.
43571 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43572 entries.
43573 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
43574 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
43575 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
43576 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
43577 instead of magic constants.
43578 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43579
3ba57516
DM
435802011-08-31 David S. Miller <davem@davemloft.net>
43581
43582 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
43583 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
43584 Reimplement to do errno handling inline.
43585 (SYSCALL_ERROR_HANDLER): New macro.
43586 (__SYSCALL_STRING): Do not do errno handling in asm.
43587 (__CLONE_SYSCALL_STRING): Delete.
43588 (__INTERNAL_SYSCALL_STRING): Delete.
43589 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
43590 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
43591 (PSEUDO): Reimplement to do errno handling inline.
43592 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
43593 (SYSCALL_ERROR_HANDLER): New macro.
43594 (__SYSCALL_STRING): Do not do errno handling in asm.
43595 (__CLONE_SYSCALL_STRING): Delete.
43596 (__INTERNAL_SYSCALL_STRING): Delete.
43597 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
43598 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
43599 i386.
43600 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
43601 (inline_syscall*): Add 'err' argument.
43602 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
43603 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
43604 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
43605 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
43606
43607 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
43608 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43609
2bc17433
AS
436102011-08-30 Andreas Schwab <schwab@redhat.com>
43611
43612 * elf/rtld.c (dl_main): Relocate objects in dependency order.
43613
fbeb5f4d
JO
436142011-08-29 Jiri Olsa <jolsa@redhat.com>
43615
43616 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
43617 directive.
43618
ad69cc26
DM
436192011-08-24 David S. Miller <davem@davemloft.net>
43620
43621 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
43622
39dd69df
AS
436232011-08-24 Andreas Schwab <schwab@redhat.com>
43624
43625 * elf/Makefile: Add rules to build and run unload8 test.
43626 * elf/unload8.c: New file.
43627 * elf/unload8mod1.c: New file.
43628 * elf/unload8mod1x.c: New file.
43629 * elf/unload8mod2.c: New file.
43630 * elf/unload8mod3.c: New file.
43631
43632 * elf/dl-close.c (_dl_close_worker): Reset private search list if
43633 it wasn't used.
43634
2c0b250a
DM
436352011-08-23 David S. Miller <davem@davemloft.net>
43636
43637 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
43638 subtract stack bias.
43639 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
43640 %sp not %fp in calculations.
43641 (_JMPBUF_UNWINDS_ADJ): Likewise.
43642
22044b48
DM
43643 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
43644 (aio_suspend): Call it to force an exception region around the
43645 AIO_MISC_WAIT() invocation.
43646
2cae4995
AS
436472011-08-23 Andreas Schwab <schwab@redhat.com>
43648
43649 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
43650 backslash.
43651
873a772e
AJ
436522011-07-04 Aurelien Jarno <aurelien@aurel32.net>
43653
43654 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
43655 protection macro.
43656 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
43657 and <dl-machine.h>.
43658 (Elf64_FuncDesc): Remove.
43659
25ad0df1
DM
436602011-08-22 David S. Miller <davem@davemloft.net>
43661
43662 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
43663 sigaltstack check, add missing cfi directives.
43664 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
43665 missing cfi directives, and sigaltstack handling.
43666
e888bcbe
AS
436672011-08-16 Andreas Schwab <schwab@redhat.com>
43668
43669 [BZ #11724]
43670 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
43671 object is seen twice.
43672 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43673
43674 * elf/Makefile (distribute): Add tst-initorder2.c.
43675 (tests): Add tst-initorder2.
43676 (modules-names): Add tst-initorder2a tst-initorder2b
43677 tst-initorder2c tst-initorder2d. Add rules to build them.
43678 ($(objpfx)tst-initorder2.out): New rule.
43679 * elf/tst-initorder2.c: New file.
43680 * elf/tst-initorder2.exp: New file.
43681
87162f46
AS
436822011-08-22 Andreas Schwab <schwab@redhat.com>
43683
70538b7f
AS
43684 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
43685
f55ffe58
AS
43686 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
43687 dependencies back to end of function.
43688
87162f46
AS
43689 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43690 $(elfobjdir)/ld.so.
43691
91b392a4
UD
436922011-08-21 Ulrich Drepper <drepper@gmail.com>
43693
43694 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
43695 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
43696 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
43697 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
43698 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
43699 of __vdso_gettimeofday.
43700 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
43701 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
43702 attribute_hidden.
43703 (_libc_vdso_platform_setup): Remove initialization of
43704 __vdso_gettimeofday and __vdso_time.
43705
5c43483f
UD
437062011-08-20 Ulrich Drepper <drepper@gmail.com>
43707
775a77e7
UD
43708 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
43709 and fgetc_unlocked.
43710 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
43711 getc_unlocked.
89f447ed 43712
49c74ba9
UD
43713 * elf/dl-open.c (add_to_global): Report additions to the global scope
43714 for LD_DEBUG=scopes.
43715 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 43716 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 43717
5c43483f
UD
43718 [BZ #13114]
43719 * stdio-common/Makefile (tests): Add bug24.
43720 * stdio-common/bug24.c: New file.
43721
a101b025
AJ
437222011-08-19 Andreas Jaeger <aj@suse.de>
43723
43724 [BZ #13114]
43725 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
43726 non-existant file when using close-on-exec mode.
43727
c88f1766
UD
437282011-08-20 Ulrich Drepper <drepper@gmail.com>
43729
0276a718
UD
43730 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
43731 the very first instruction.
43732
c88f1766
UD
43733 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
43734 the CFI state in the end.
43735 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
43736 inclusion of dl-trampoline.h.
43737 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
43738
51ccffa0
AS
437392011-08-19 Andreas Schwab <schwab@redhat.com>
43740
94d7165f
AS
43741 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
43742 expectations for long double.
43743
51ccffa0
AS
43744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
43745 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
43746
fd708658 437472011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
43748
43749 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
43750 artificual limit depends upon the system page size.
43751
44f0a71e
UD
437522011-08-17 Ulrich Drepper <drepper@gmail.com>
43753
43754 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
43755 * resolv/Makefile: Define CFLAGS-libresolv.
43756
8de79a24
AS
437572011-08-17 Andreas Schwab <schwab@redhat.com>
43758
43759 * nss/makedb.c (compute_tables): Make variables used in nested
43760 function static.
43761
27724598
UD
437622011-08-17 Ulrich Drepper <drepper@gmail.com>
43763
c5305d88
UD
43764 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
43765 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
43766 if buffer was too small.
43767
27724598
UD
43768 * elf/pldd.c (main): Attach to all threads in the process.
43769 Rewrite /proc handling to use *at functions.
43770
076fe015
UD
437712011-08-16 Ulrich Drepper <drepper@gmail.com>
43772
174baab3
UD
43773 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
43774 specifies first scope to show.
43775 (dl_open_worker): Update callers. Move printing scope of new
43776 object to before the relocation.
44f0a71e 43777 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
43778 * sysdeps/generic/ldsodefs.h: Update declaration.
43779
076fe015
UD
43780 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
43781 string for the scope number.
43782
a60df2c3
UD
437832011-08-14 Ulrich Drepper <drepper@gmail.com>
43784
43785 * nscd/servicescache.c (cache_addserv): Make sure written is always
43786 initialized.
43787
5e4287d1
RM
437882011-08-14 Roland McGrath <roland@hack.frob.com>
43789
85ae0589
RM
43790 * sysdeps/i386/i486/bits/atomic.h
43791 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
43792 statement expression, so as to suppress "set but not used" warning.
43793 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
43794
69f63097
RM
43795 * string/strncat.c (STRNCAT): Use prototype definition.
43796
675456ef
RM
43797 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
43798 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
43799 -Iprograms here.
43800 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
43801 (localedef-modules): Add localedef.
43802 (locale-modules): Add locale.
43803
5e4287d1
RM
43804 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
43805 * elf/rtld.c (dl_main): Invert order of assignment in last change,
43806 to avoid a warning.
43807
9c96ff23
DM
438082011-08-14 David S. Miller <davem@davemloft.net>
43809
43810 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
43811 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
43812
f9ddf089
UD
438132011-08-13 Ulrich Drepper <drepper@gmail.com>
43814
44f0a71e 43815 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
43816 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
43817 * elf/rtld.c (dl_main): Set l_name of vDSO.
43818 Call _dl_show_scope when DL_DEBUG_SCOPES.
43819 (process_dl_debug): Recognize scopes flag and also set it for all.
43820 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
43821 Declare _dl_show_scope.
43822
1dc27704
UD
43823 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
43824 (do_dlopen): Pass caller_dlopen to dl_open.
43825 (__libc_dlopen_mode): Initialize caller_dlopen.
43826
f9ddf089
UD
43827 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
43828 of libc. Make tolower call locale-independent. Optimize a bit by
43829 using isdigit instead of isalnum.
43830 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
43831
9ac533d3
UD
438322011-08-12 Ulrich Drepper <drepper@gmail.com>
43833
43834 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
43835 was a dependency or dynamically loaded.
43836
89edf2e9
UD
438372011-08-11 Ulrich Drepper <drepper@gmail.com>
43838
8e999d29
UD
43839 * intl/l10nflist.c: Allow architecture-specific pop function.
43840 * sysdeps/x86_64/l10nflist.c: New file.
43841
89edf2e9
UD
43842 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
43843 classification.
43844
14d96785
AS
438452011-08-10 Andreas Schwab <schwab@redhat.com>
43846
43847 * include/dirent.h: Add libc_hidden_proto for scandirat and
43848 scandirat64. Don't declare __scandirat64.
43849 * dirent/scandirat.c: Add libc_hidden_def.
43850 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
43851 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
43852
6761ac04
DM
438532011-08-10 David S. Miller <davem@davemloft.net>
43854
43855 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
43856 enum.
43857 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43858 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43859 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43860
c55fbd1e
UD
438612011-08-09 Ulrich Drepper <drepper@gmail.com>
43862
43863 * Versions.def [libc]: Add GLIBC_2.15.
43864 * dirent/Makefile (routines): Add scandirat and scandirat64.
43865 * dirent/Versions [libc]: Export scandirat and scandirat64 for
43866 GLIBC_2.15.
43867 * dirent/dirent.h: Declare scandirat and scandirat64.
43868 * dirent/scandirat.c: New file.
43869 * dirent/scandirat64.c: New file.
43870 * sysdeps/wordsize-64/scandirat.c: New file.
43871 * sysdeps/wordsize-64/scandirat64.c: New file.
43872 * dirent/opendir.c: Define opendirat.
43873 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
43874 using scandirat.
43875 * dirent/scandir64.c: Adjust for scandir.c change.
43876 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
43877 __scandirat64, and __scandir_cancel_handler.
43878 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
43879 additional parameter and use openat instead of open (outside of ld.so).
43880 Add new __opendir as wrapper around __opendirat.
43881 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
43882 here without requiring old scandirat implementation.
43883
879165f2
UD
438842011-08-08 Ulrich Drepper <drepper@gmail.com>
43885
43886 * dirent/scandir.c (cancel_handler): Renamed to
43887 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
43888 defined. Adjust users.
43889 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
43890 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
43891
cb7e923b
UD
438922011-08-04 Ulrich Drepper <drepper@gmail.com>
43893
16292edd
UD
43894 * string/test-string.h (IMPL): Use __STRING to expand name and then
43895 stringify it.
43896
cb7e923b
UD
43897 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
43898 of cleanups.
43899
cff82933
LD
439002011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43901
43902 * string/Makefile: Update.
43903 (strop-tests): Append strncat.
43904 * string/test-wcscmp.c: New file.
43905 New comprehensive test for wcscmp.
43906 * string/test-strcmp.c: Update.
43907 (WIDE): New define.
43908
9be9bfcc
AS
439092011-07-22 Andreas Schwab <schwab@redhat.com>
43910
43911 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
43912 line.
43913
2e96f1c7
AS
439142011-07-26 Andreas Schwab <schwab@redhat.com>
43915
43916 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43917 encoding to ACE if AI_IDN.
43918
85188888
JJ
439192011-08-01 Jakub Jelinek <jakub@redhat.com>
43920
43921 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
43922 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
43923
5fa16e9b
LD
439242011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43925
43926 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
43927 Fix overflow bug in strncat.
43928 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43929
43930 * string/test-strncat.c: Update.
43931 Add new tests for checking overflow bugs.
43932
439332011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43934
43935 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43936 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
43937 * sysdeps/i386/i686/multiarch/strcat.S: New file.
43938 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
43939 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
43940 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
43941 * sysdeps/i386/i686/multiarch/strncat.S: New file.
43942 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
43943 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
43944
43945 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
43946 (USE_AS_STRCAT): Define.
43947 Add strcat and strncat support.
43948 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43949
8c1a459f
AS
439502011-07-25 Andreas Schwab <schwab@redhat.com>
43951
43952 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
43953 __n bigger than INT_MAX+1.
43954 (__strncmp_g): Likewise.
43955
bba33c28
UD
439562011-07-23 Ulrich Drepper <drepper@gmail.com>
43957
798be72d
UD
43958 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
43959 * libio/stido.h: Likewise.
43960
8accd4dc
UD
43961 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
43962 (AF_NFC): Define.
43963 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
43964 (AF_NFC): Define.
43965
cbff0d96
UD
43966 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
43967 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43968 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43969 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
43970 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43971
9191c04a
UD
43972 [BZ #13021]
43973 * scripts/test-installation.pl: Don't expect libnss_test1 to be
43974 installed.
43975
bba33c28
UD
43976 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
43977 typo.
43978 (_dl_x86_64_save_sse): Likewise.
43979
90f139dd
UD
439802011-07-22 Ulrich Drepper <drepper@gmail.com>
43981
1aae088a
UD
43982 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
43983 OSXSAVE.
43984 (_dl_x86_64_save_sse): Likewise.
43985
8e2045f5
UD
43986 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
43987
90f139dd
UD
43988 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
43989
1d002f25
AS
439902011-07-21 Andreas Schwab <schwab@redhat.com>
43991
43992 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
43993 change.
43994 (_dl_x86_64_save_sse): Use correct AVX check.
43995
21137f89
UD
439962011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43997
43998 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
43999 bug in strncpy/strncat.
44000 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
44001
a65c0b7a
UD
440022011-07-21 Ulrich Drepper <drepper@gmail.com>
44003
44004 * string/tester.c (test_strcat): Add tests for different alignments
44005 of source and destination.
44006 (test_strncat): Likewise.
44007
6986b98a
UD
440082011-07-20 Ulrich Drepper <drepper@gmail.com>
44009
90bb2039
UD
44010 [BZ #12852]
44011 * posix/glob.c (glob): Check passed in values before using them in
44012 expressions to avoid some overflows.
44013 (glob_in_dir): Likewise.
44014
5644ef54
UD
44015 [BZ #13007]
44016 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
44017 check for AVX enablement so that we don't crash with old kernels and
44018 new hardware.
44019 * elf/tst-audit4.c: Add same checks here.
44020 * elf/tst-audit6.c: Likewise.
44021
44022 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 44023
bfc9dc9b
AS
440242011-07-09 Andreas Schwab <schwab@linux-m68k.org>
44025
44026 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
44027
702e64bb
UD
440282011-07-20 Ulrich Drepper <drepper@gmail.com>
44029
44030 * po/cs.po: Update from translation team.
44031 * po/bg.po: Likewise.
44032
295e904f
MP
440332011-07-12 Marek Polacek <mpolacek@redhat.com>
44034
44035 * misc/sys/cdefs.h: Add support for const attribute.
44036 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
44037 to gnu_dev_{major,minor,makedev} functions.
44038
3ff94596
MP
440392011-07-20 Marek Polacek <mpolacek@redhat.com>
44040
44041 * intl/dcigettext.c (get_output_charset): Add missing bracket.
44042
28b59fca
AS
440432011-07-20 Andreas Schwab <schwab@redhat.com>
44044
44045 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
44046 strlen results.
44047
19df733e
AK
440482011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44049
44050 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
44051 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
44052 register in order to avoid conflicts with the soft frame pointer
44053 being held in r11 when necessary.
44054 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
44055 (INTERNAL_VSYSCALL_NCS): Likewise.
44056
c8835729
MP
440572011-07-14 Marek Polacek <mpolacek@redhat.com>
44058
44059 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
44060 * elf/dl-fini.c (_dl_fini): Adjust caller.
44061 * elf/dl-close.c (_dl_close_worker): Likewise.
44062 * sysdeps/generic/ldsodefs.h: Adjust declaration.
44063
b902330c
MP
440642011-07-15 Marek Polacek <mpolacek@redhat.com>
44065
8991e135
MP
44066 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
44067 "aux_cache->nlibs < 0".
44068
b902330c
MP
44069 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
44070 in the reload-count case.
44071
99710781
LD
440722011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44073
44074 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44075 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
44076 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
44077 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
44078 * sysdeps/x86_64/multiarch/strcat.S: New file.
44079 * sysdeps/x86_64/multiarch/strncat.S: New file.
44080 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
44081 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
44082 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
44083 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
44084 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
44085 (USE_AS_STRCAT): Define.
44086 Add strcat and strncat support.
44087 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44088 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44089 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
44090 * string/strncat.c: Update.
44091 (USE_AS_STRNCAT): Define.
44092 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44093 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
44094 and i7.
44095 * sysdeps/x86_64/multiarch/init-arch.h
44096 (bit_Prefer_PMINUB_for_stringop): New.
44097 (index_Prefer_PMINUB_for_stringop): Likewise.
44098 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
44099 bit_Prefer_PMINUB_for_stringop.
44100
7dc6bd90
UD
441012011-07-19 Ulrich Drepper <drepper@gmail.com>
44102
44103 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
44104 buffer64.
44105 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
44106 of casting of buffer.
44107 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
44108 buffer32 and buffer64.
44109 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
44110 writes instead of casting of buffer.
44111 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
44112 buffer32.
44113 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
44114 casting of buffer.
44115
e0e72284
AS
441162011-07-19 Andreas Schwab <schwab@redhat.com>
44117
44118 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
44119
feb1eb0b
UD
441202011-07-19 Ulrich Drepper <drepper@gmail.com>
44121
44122 * nscd/nscd.c (termination_handler): Don't do anything for a database
44123 if it has not yet been initialized.
44124
298711ff
UD
441252011-07-18 Ulrich Drepper <drepper@gmail.com>
44126
44127 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44128
441292011-07-15 Marek Polacek <mpolacek@redhat.com>
44130
44131 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44132
f9d68389
UD
441332011-07-18 Ulrich Drepper <drepper@gmail.com>
44134
44135 * po/nl.po: Update from translation team.
44136 * po/sv.po: Likewise.
44137
db290cf5
RM
441382011-07-16 Roland McGrath <roland@hack.frob.com>
44139
44140 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
44141 now disallowed by GCC.
5c550700 44142
fd5e21c7
RM
44143 * configure.in (use-default-link): Default to yes if a test -shared
44144 link meets our qualifications.
44145 * configure: Regenerated.
44146
5c550700
RM
44147 * config.make.in (output-format): New variable.
44148 * configure.in: Check for ld --print-output-format support.
44149 * configure: Regenerated.
44150 * Makerules ($(common-objpfx)format.lds)
44151 [$(output-format) != unknown]: Just use $(output-format),
44152 instead of the linker-script munging.
44153
9fa2c032
RM
441542011-07-14 Roland McGrath <roland@hack.frob.com>
44155
a6928d51
RM
44156 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
44157 of $(common-objpfx)shlib.lds.
44158 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
44159
661607b3
RM
44160 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
44161 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
44162
9fa2c032
RM
44163 * configure.in (-z relro check): Adjust test code to add a large
44164 writable data section after it.
44165 * configure: Regenerated.
44166
defe9061
RM
441672011-07-11 Roland McGrath <roland@hack.frob.com>
44168
44169 * configure.in (-z relro check): Fix test code to make the variable
44170 truly const.
44171 * configure: Regenerated.
44172
319b9ad4
UD
441732011-07-11 Ulrich Drepper <drepper@gmail.com>
44174
44175 * nscd/nscd.h (struct traced_file): Define.
44176 (struct database_dyn): Remove inotify_descr, reset_res, and filename
44177 elements. Add traced_files.
44178 (inotify_fd): Declare.
44179 (register_traced_file): Declare.
44180 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
44181 (inotify_fd): Export.
44182 (resolv_conf_descr): Remove.
44183 (nscd_init): Move inotify descriptor creation to main.
44184 Don't register files for notification here.
44185 (register_traced_file): New function.
44186 (invalidate_cache): Don't use reset_res to determine whether to call
44187 res_init, go through the list of registered files.
44188 (main_loop_poll): The inotify descriptors are now stored in the
44189 structures for the traced files.
44190 (main_loop_epoll): Likewise
44191 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
44192 to __nss_disable_nscd.
44193 * nscd/cache.c (prune_cache): There is no single inotify descriptor
44194 for a database anymore. Check the records for all the registered
44195 files instead.
44196 * nss/Makefile (libnss_files-routines): Add files-init.
44197 (libnss_db-routines): Add db-init.
44198 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
44199 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
44200 * nss/nss_db/db-init.c: New file.
44201 * nss/nss_files/files-init.c: New file.
44202 * nss/nsswitch.c (nss_load_library): New function. Broken out of
44203 __nss_lookup_function.
44204 (__nss_lookup_function): Call nss_load_library.
44205 (nss_load_all_libraries): New function.
44206 (__nss_disable_nscd): Take parameter with callback function for files
44207 to register. Set is_nscd. Load all the DSOs for the NSS modules
44208 used for the cached services.
44209 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
44210 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
44211 options for features to all the files in nscd.
44212
44213 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
44214
23bee3e8
RM
442152011-07-10 Roland McGrath <roland@hack.frob.com>
44216
44217 * csu/elf-init.c (__libc_csu_init): Comment typo.
44218
46a5b7f0
UD
442192011-07-09 Ulrich Drepper <drepper@gmail.com>
44220
44221 * po/pl.po: Update from translation team.
44222 * po/ja.po: Likewise.
44223 * po/ru.po: Likewise.
44224 * po/ko.po: Likewise.
44225 * po/fr.po: Likewise.
44226
d30cf5bb
RM
442272011-07-09 Roland McGrath <roland@hack.frob.com>
44228
113ddea4
RM
44229 * configure.in (.ctors/.dtors header and trailer check):
44230 Use an empirical test on a built program.
44231 * configure: Regenerated.
44232
574920b4
RM
44233 * configure.in (-z relro check): Use an empirical test on a built DSO.
44234 Detect, but do not require, on ia64.
44235 * configure: Regenerated.
44236
d30cf5bb
RM
44237 * configure.in (READELF): Find it with AC_CHECK_TOOL.
44238 Update tests that use readelf to use $READELF instead.
44239 * configure: Regenerated.
44240
8538fdb3
UD
442412011-07-08 Ulrich Drepper <drepper@gmail.com>
44242
44243 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
44244 if the result is not used.
44245
04d08991
AJ
442462011-07-05 Andreas Jaeger <aj@suse.de>
44247
44248 [BZ#9696]
44249 * stdlib/tst-strtod.c: Add testcase.
44250
de283087
AD
442512011-07-07 Ulrich Drepper <drepper@gmail.com>
44252
4e5f31c8 44253 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 44254 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
44255 The latter has a higher limit. Take additional parameter to pass to
44256 the new function.
44257 (__pathconf): Pass file to __statfs_link_max.
44258 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
44259 __statfs_link_max.
44260 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
44261 __statfs_link_max.
44262
de283087
AD
44263 [BZ #12868]
44264 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
44265 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44266 Handle Lustre.
44267 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
44268 (__statfs_filesize_max): Likewise.
44269 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
44270
c75fa153
AJ
442712011-07-05 Andreas Jaeger <aj@suse.de>
44272
44273 * resolv/res_comp.c (dn_skipname): Remove unused variable.
44274
1a544854
UD
442752011-07-06 Marek Polacek <mpolacek@redhat.com>
44276
44277 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
44278 `status' variable.
44279 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
44280 Likewise.
44281
6f0eec67
UD
442822011-07-04 H.J. Lu <hongjiu.lu@intel.com>
44283
44284 * Makefile (strop-tests): Add strncat.
44285 * string/test-strncat.c: New file.
44286
aae30307
UD
442872011-06-30 Marek Polacek <mpolacek@redhat.com>
44288
44289 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
44290
c0cfb5eb
UD
442912011-06-21 Andreas Jaeger <aj@suse.de>
44292
44293 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
44294 Copy rule from iconvdata/Makefile.
44295
01636b21
UD
442962011-07-06 Ulrich Drepper <drepper@gmail.com>
44297
44298 [BZ #12922]
44299 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
44300 but no long options are defined, just return 'W'.
44301
9895c8bc
UD
443022011-06-22 Marek Polacek <mpolacek@redhat.com>
44303
44304 [BZ #9696]
44305 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
44306
5d4cf042
UD
443072011-07-06 Ulrich Drepper <drepper@gmail.com>
44308
44309 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
44310 netgroups to read.
960e5535 44311 (innetgr): Likewise.
5d4cf042 44312
751eb97e
RM
443132011-07-05 Roland McGrath <roland@hack.frob.com>
44314
44315 * config.make.in (install_root): Default to $(DESTDIR).
44316
f15f1e45
UD
443172011-07-05 Ulrich Drepper <drepper@gmail.com>
44318
44319 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
44320
4e34ac6a
RM
443212011-07-02 Roland McGrath <roland@hack.frob.com>
44322
5e9b6af4
RM
44323 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
44324
84f9ea0f
RM
44325 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
44326 containing directory rather than embedding absolute directory names.
44327
ea5ee9f7
RM
44328 * scripts/check-local-headers.sh: Rewritten using awk.
44329 Match by word, not by line. Print error messages for matches.
44330 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
44331
1b74661a
RM
44332 * Makerules [shlib-lds-flags empty]:
44333 ($(common-objpfx)libc_pic.opts): New target.
44334 ($(common-objpfx)libc_pic.os.clean): New target.
44335 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
44336
44337 * config.make.in (OBJCOPY): New variable.
44338 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
44339 * configure: Regenerated.
44340
f781ef40
RM
44341 * config.make.in (use-default-link): New variable.
44342 * configure.in (use_default_link): Grok --with-default-link to set it.
44343 * configure: Regenerated.
44344 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
44345 (shlib-lds, shlib-lds-flags): Define to empty.
44346
2d4fa81e
RM
44347 * Makerules (shlib-lds): New variable.
44348 (shlib-lds-flags): New variable.
44349 (build-shlib, build-moduile, build-module-asneeded): Use it.
44350 ($(common-objpfx)libc.so): Use $(shlib-lds).
44351 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
44352 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
44353
31fffa6b
RM
44354 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
44355 DT_FLAGS/DT_FLAGS_1 with zero flags.
44356
4e34ac6a
RM
44357 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
44358 linker script munging.
44359
fcfc776b
UD
443602011-07-02 Ulrich Drepper <drepper@gmail.com>
44361
44362 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
44363 as 128-bit value.
44364 * crypt/sha512.c (sha512_process_block): Perform total addition using
44365 128-bit if possible.
44366 (__sha512_finish_ctx): Likewise.
44367 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
44368 as 64-bit value.
44369 * crypt/sha256.c (SWAP64): Define.
44370 (sha256_process_block): Perform total addition using 64-bit if
44371 possible.
44372 (__sha256_finish_ctx): Likewise.
44373
99231d9a
UD
443742011-07-01 Ulrich Drepper <drepper@gmail.com>
44375
44376 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
44377 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44378 * nscd/hstcache.c (cache_addhst): Likewise.
44379 * nscd/grpcache.c (cache_addgr): Likewise.
44380 * nscd/aicache.c (addhstaiX): Likewise
44381 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
44382
445b4a53
TK
443832011-07-01 Thorsten Kukuk <kukuk@suse.de>
44384
44385 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
44386 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44387 * nscd/hstcache.c (cache_addhst): Likewise.
44388 * nscd/grpcache.c (cache_addgr): Likewise.
44389 * nscd/aicache.c (addhstaiX): Likewise
44390
6d4d8e8e
AS
443912011-07-01 Andreas Schwab <schwab@redhat.com>
44392
44393 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
44394 domain only when needed.
44395
89f654c5
AS
443962011-06-30 Andreas Schwab <schwab@redhat.com>
44397
44398 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
44399 is always restored.
44400
cf3b23ff
UD
444012011-06-29 Ulrich Drepper <drepper@gmail.com>
44402
44403 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
44404 are re-adding the entry.
44405 * nscd/servicescache.c (cache_addserv): Likewise.
44406
751626f9
AJ
444072011-06-30 Aurelien Jarno <aurelien@aurel32.net>
44408
44409 * sysdeps/generic/dl-irel.h: fix protection against multiple
44410 inclusions.
44411 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
44412
9113ea1f
UD
444132011-06-28 Ulrich Drepper <drepper@gmail.com>
44414
5c0b8d90
UD
44415 [BZ #12935]
44416 * malloc/memusage.sh: Fix quoting in message.
44417 * debug/xtrace.sh: Likewise.
44418
9113ea1f
UD
44419 * configure.in: Remove support for --experimental-malloc option, make
44420 it the default.
44421 * config.make.in: Likewise.
44422 * malloc/Makefile: Likewise.
44423
a4172181
AS
444242011-06-27 Andreas Schwab <schwab@redhat.com>
44425
44426 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
44427 two-byte characters.
44428
78a7eee7
RM
444292011-06-27 Roland McGrath <roland@hack.frob.com>
44430
62bede13
RM
44431 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
44432 AC_CACHE_CHECK invocation.
44433 * configure: Regenerated.
44434
78a7eee7
RM
44435 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
44436
5ce33a62
UD
444372011-06-27 Ulrich Drepper <drepper@gmail.com>
44438
034807a9
UD
44439 [BZ #12350]
44440 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
44441 bit from old_res_options.
44442
4902da17
UD
44443 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
44444
5ce33a62
UD
44445 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
44446 value type for setfct.
44447
c2344f56
L
444482011-06-23 H.J. Lu <hongjiu.lu@intel.com>
44449
44450 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44451 __gettimeofday instead of gettimeofday.
44452
68468076
UD
444532011-06-26 Ulrich Drepper <drepper@gmail.com>
44454
44455 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
44456
acb0d739
L
444572011-06-24 H.J. Lu <hongjiu.lu@intel.com>
44458
44459 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
44460
44461 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
44462 info.
44463
8912479f
L
444642011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44465
44466 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44467 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44468 strcpy-sse2-unaligned strncpy-sse2-unaligned
44469 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
44470 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
44471 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
44472 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
44473 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
44474 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
44475 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
44476 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
44477 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
44478 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
44479 (STRCPY): Support SSE2 and SSSE3 versions.
44480
d5495a11
UD
444812011-06-24 Ulrich Drepper <drepper@gmail.com>
44482
44483 [BZ #12874]
44484 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
44485 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
44486 kernels which artificially limit size of requests.
44487
0b1cbaae
L
444882011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44489
44490 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44491 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44492 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
44493 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
44494 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
44495 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
44496 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
44497 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
44498 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
44499 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
44500 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
44501 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
44502 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
44503 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
44504 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
44505 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44506 Enable unaligned load optimization for Intel Core i3, i5 and i7
44507 processors.
44508 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
44509 Define.
44510 (index_Fast_Unaligned_Load): Define.
44511 (HAS_FAST_UNALIGNED_LOAD): Define.
44512
07f494a0
MP
445132011-06-23 Marek Polacek <mpolacek@redhat.com>
44514
44515 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
44516
fa3fc0fe
UD
445172011-06-22 Ulrich Drepper <drepper@gmail.com>
44518
44519 [BZ #12907]
44520 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
44521 until it is clear that the information is realy needed.
44522 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
44523
e12df166
AS
445242011-06-22 Andreas Schwab <schwab@redhat.com>
44525
44526 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
44527
852eb34d
UD
445282011-06-22 Ulrich Drepper <drepper@gmail.com>
44529
84e2a551
UD
44530 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44531 /sys/devices/system/cpu/online if it is usable.
44532
852eb34d
UD
44533 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
44534 reading the information from the /proc filesystem to once a second.
44535
6e502e19
UD
445362011-06-21 Andreas Jaeger <aj@suse.de>
44537
44538 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
44539 NULL after inclusion of kernel headers.
44540
75d39ff2
UD
445412011-06-21 Ulrich Drepper <drepper@gmail.com>
44542
51f9aa6a
UD
44543 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
44544 calls to internal_setent.
44545
c0244a9d
UD
44546 [BZ #12885]
44547 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
44548 addresses using gethostbyname4_r ignore IPv4 addresses.
44549
c5e3c2ae
UD
44550 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
44551 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
44552
75d39ff2
UD
44553 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
44554
42675c6f
DM
445552011-06-20 David S. Miller <davem@davemloft.net>
44556
44557 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
44558 inclusions.
44559 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
44560
44561 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
44562 (elf_irel): Use it.
44563 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
44564 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
44565 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
44566 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
44567 * sysdeps/x86_64/dl-irel.h: Likewise.
44568
44569 * elf/dl-runtime.c: Use elf_ifunc_invoke.
44570 * elf/dl-sym.c: Likewise.
44571
57912a71
UD
445722011-06-15 Ulrich Drepper <drepper@gmail.com>
44573
44574 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
44575 need to dereference resplen2.
44576
ee22793d
AS
445772011-06-14 Andreas Schwab <schwab@redhat.com>
44578
44579 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
44580
a9e836b0
UD
445812011-06-15 Ulrich Drepper <drepper@gmail.com>
44582
77fb9117
UD
44583 * Makeconfig: Define vardbdir and inst_vardbdir.
44584 * nss/Makefile: Add rules to install db-Makefile.
44585
40c1b22c
UD
44586 * nss/nss_db/db-XXX.c: Cleanup.
44587
9f2da732
UD
44588 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
44589 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
44590 GLIBC_PRIVATE.
44591 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
44592 * nss/makedb.c: Implement -g option to specify that value strings
44593 are generated and should not be added to table iterated over for
44594 get*ent calls.
44595 * nss/nss_db/db-initgroups.c: New file.
44596
82e9a1f7
UD
44597 * nss/getent.c: Add support for initgroups lookups through getgrouplist
44598 interface.
44599
c41af17e
UD
44600 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
44601 (internal_getgrouplist): Adjust to name change.
44602 Update use_initgroups_entry if this is not the first call.
44603 * nss/databases.def: Add initgroups entry.
44604
a9e836b0
UD
44605 * nss/makedb.c (compute_tables): Check result of multiple hash table
44606 sizes to minimize maximum chain length.
44607
2666d441
UD
446082011-06-14 Ulrich Drepper <drepper@gmail.com>
44609
44610 * Versions.def: Add entry for libnss_db.
44611 * shlib-versions: Likewise.
44612 * nss/Makefile: Add rules to build libnss_db.
44613 * nss/Versions: Add libnss_db information. Organize libnss_files
44614 entries better.
44615 * nss/db-Makefile: Add gshadow support. Change rules for the new
44616 makedb progra. Some minor improvements to generate smaller files.
44617 * nss/nss_db/nss_db.h: Move NSS database header data structures to
44618 here from...
44619 * nss/makedb.c: ...here.
44620 Improve database format to be smaller and require less memory at
44621 runtime.
44622 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
44623 db anymore.
44624 * nss/nss_db/db-netgrp.c: Likewise.
44625 * nss/nss_db/db-open.c: Likewise.
44626 * nss/nss_files/flies-XXX.x: Adjust comments.
44627 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
44628 * nss/nss_files/files-grp.c: Likewise.
44629 * nss/nss_files/files-hosts.c: Likewise.
44630 * nss/nss_files/files-network.c: Likewise.
44631 * nss/nss_files/files-proto.c: Likewise.
44632 * nss/nss_files/files-pwd.c: Likewise.
44633 * nss/nss_files/files-rpc.c: Likewise.
44634 * nss/nss_files/files-service.c: Likewise.
44635 * nss/nss_files/files-sgrp.c: Likewise.
44636 * nss/nss_files/files-spwd.c: Likewise.
44637 * nss/nss_db/db-alias.c: Removed.
44638 * nss/nss_db/dummy-db.h: Removed.
44639
9ee76b5a
UD
446402011-06-02 Ulrich Drepper <drepper@gmail.com>
44641
44642 * nss/makedb.c: Rewritten to not use database library.
44643 * nss/Makefile: Update to build new makedb program.
44644
c71ca1f8
AJ
446452011-06-14 Andreas Jaeger <aj@suse.de>
44646
44647 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
44648 memset declaration.
44649
3154bfb8
UD
446502011-06-10 Andreas Schwab <schwab@redhat.com>
44651
44652 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
44653 tmpbuf.
44654
b350afab
RM
446552011-06-10 Roland McGrath <roland@hack.frob.com>
44656
decd4e50
RM
44657 * Makerules (shlib.lds): Fail if the linker script comes out empty.
44658 * elf/Makefile ($(objpfx)ld.so): Likewise.
44659
5615eaf2
RM
44660 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
44661 Don't list ld.so twice in dependencies.
44662
44663 * posix/bug-regex31.c: Include <stdlib.h>.
44664
44665 * nscd/hstcache.c (cache_addhst): Remove unused variable.
44666
44667 * nis/nss_compat/compat-spwd.c
44668 (getspent_next_nss_netgr): Remove unused variable.
44669 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
44670
44671 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
44672 nonmembers" output to use the right array.
44673
44674 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
44675
44676 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
44677
44678 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
44679 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
44680 * catgets/gencat.c (read_input_file): Likewise.
44681 * locale/programs/locarchive.c (enlarge_archive): Likewise.
44682
44683 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
44684 variable definition inside #if's controlling its use.
44685
44686 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
44687
44688 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
44689
44690 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
44691
44692 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
44693 unreachable code.
44694
44695 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
44696
b68e08db
RM
44697 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
44698 * configure: Regenerated.
44699
b350afab
RM
44700 * Makerules: Revert last change.
44701 * elf/Makefile: Likewise.
44702
28368601
RM
447032011-06-09 Roland McGrath <roland@hack.frob.com>
44704
44705 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
44706 * elf/Makefile ($(objpfx)librtld.os): Likewise.
44707 (reloc-link): Likewise.
44708
11988f8f
UD
447092011-06-09 Ulrich Drepper <drepper@gmail.com>
44710
44711 * elf/Makefile: Add rules to build pldd.
44712 * elf/pldd.c: New file.
44713 * elf/pldd-xx.c: New file.
44714
e80fab37
UD
447152011-06-07 Ulrich Drepper <drepper@gmail.com>
44716
44717 * version.h: Update for 2.15 development version.
44718
9b849836
DM
447192011-06-07 David S. Miller <davem@davemloft.net>
44720
44721 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
44722 ifuncs.
44723 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
44724 elf_machine_lazy_rel): Likewise.
44725 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
44726 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
44727 elf_machine_lazy_rel): Likewise.
44728 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
44729 dl_hwcap via passed in argument.
44730 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
44731 Likewise.
44732
5a31b283
AK
447332011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44734
44735 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
44736
069e52f8
RM
447372011-06-06 Roland McGrath <roland@hack.frob.com>
44738
44739 [BZ #12849]
44740 * manual/fdl-1.1.texi: New file, verbatim from:
44741 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
44742 * manual/lgpl-2.1.texi: New file, verbatim from:
44743 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
44744 * manual/Makefile (licenses): New variable, list those new file names.
44745 (texis): Use it.
44746 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
44747
44748 * manual/fdl.texi: File removed.
44749 * manual/lesser.texi: File removed.
44750 * manual/libc.texinfo (Copying, Documentation License):
44751 Use new @include file names, put @appendix directive before @include.
44752
f16846a5
JJ
447532011-06-04 Jakub Jelinek <jakub@redhat.com>
44754
44755 [BZ #12841]
44756 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
44757 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
44758 (mq_open): Add __NTH.
44759
3d29045b
L
447602011-06-02 H.J. Lu <hongjiu.lu@intel.com>
44761
44762 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44763 Assume Intel Core i3/i5/i7 processor if AVX is available.
44764
8c297311
UD
447652011-05-31 Ulrich Drepper <drepper@gmail.com>
44766
44767 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44768 typo.
44769
c8fc0c91
UD
447702011-05-31 Andreas Schwab <schwab@redhat.com>
44771
44772 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
44773 memory. Use alloca_account. Fix memory leak when retrying.
44774
5b27a807
UD
447752011-05-31 Ulrich Drepper <drepper@gmail.com>
44776
356f8bc6
UD
44777 * version.h (RELEASE): Bump for 2.14 release.
44778 * include/features.h (__GLIBC_MINOR__): Bump to 14.
44779
5b27a807
UD
44780 * config.make.in (RANLIB): Remove entry.
44781
01f16ab0
UD
447822011-05-30 Ulrich Drepper <drepper@gmail.com>
44783
41fce8bd
UD
44784 * po/Makefile (po-sed-cmd): Add ksh to extensions.
44785 (libc.pot): Work around missing support for .ksh extension in xgettext.
44786
4769ae77
UD
44787 [BZ #12684]
44788 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
44789 if both request failed.
44790 (send_dg): In case of server errors clear resplen or *resplen2.
44791
6b1e7d19
UD
44792 [BZ #12454]
44793 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
44794 when there are multiple maps.
44795 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
44796 (_dl_fini): Remove test here.
44797
01f16ab0
UD
44798 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
44799
b1ebd700
UD
448002011-05-29 Ulrich Drepper <drepper@gmail.com>
44801
7ae22829
UD
44802 [BZ #12350]
44803 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
44804 bit from old_res_options.
44805 (gaih_inet): Likewise.
44806
553149f6 44807 [BZ #11099]
18a84741 44808 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
44809 as signed.
44810
652ffab1
UD
44811 * resolv/res_init.c (res_setoptions): Make the code more compact.
44812
16985fd0
UD
44813 [BZ #11558]
44814 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
44815 set RES_USEVC.
44816
0464f746
UD
44817 [BZ #11634]
44818 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
44819
7d17596c
UD
44820 * malloc/malloc.h: Mark malloc hook variables as deprecated.
44821
cf6bbbd7
UD
44822 [BZ #11781]
44823 * malloc/malloc.h: Declare malloc hook variables as volatile.
44824
13f1ab36
UD
44825 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
44826 in last patch.
44827
b1ebd700
UD
44828 [BZ #11799]
44829 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 44830 raise in the comment.
80e2212d
UD
44831 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44832 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44833 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 44834
ce67228d
UD
448352011-05-28 Ulrich Drepper <drepper@gmail.com>
44836
8887a920
UD
44837 [BZ #12811]
44838 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
44839 grow the buffers more if it already has to be sufficient.
44840 (build_wcs_upper_buffer): Likewise.
44841 * posix/regexec.c (check_matching): Likewise.
44842 (clean_state_log_if_needed): Likewise.
44843 (extend_buffers): Don't enlarge buffers beyond size of the input
44844 buffer.
44845 Patches mostly by Emil Wojak <emil@wojak.eu>.
44846 * posix/bug-regex32.c: New file.
44847 * posix/Makefile (tests): Add bug-regex32.
44848
4f031072
UD
44849 * locale/findlocale.c (_nl_find_locale): Return right away if
44850 _nl_explode_name failed.
44851 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
44852
d0478f0c
UD
44853 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
44854
de81b246
UD
44855 * debug/xtrace.sh: Unify messages.
44856 * malloc/memusage.sh: Likewise.
44857
c738465a
UD
44858 [BZ #12813]
44859 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
44860 time symbol from vDSO. Substitute with vsyscall if not available.
44861 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
44862 __vdso_time.
44863
f1f929d7
UD
44864 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
44865 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
44866 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
44867 Add sendmmsg and internal_sendmmsg.
44868 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
44869 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
44870 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
44871
ce67228d
UD
44872 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
44873 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
44874 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
44875
e57420c6
UD
448762011-05-27 Ulrich Drepper <drepper@gmail.com>
44877
a8509ca5
UD
44878 [BZ #12813]
44879 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
44880 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
44881 available.
44882 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
44883 __vdso_getcpu.
44884
e57420c6
UD
44885 [BZ #12814]
44886 * iconvdata/Makefile (tests): Add bug-iconv9.
44887 * iconvdata/bug-iconv9.c: New file.
44888
4d07db15
AS
448892011-05-27 Andreas Schwab <schwab@redhat.com>
44890
44891 [BZ #12814]
44892 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
44893
ea486f69
JJ
448942011-05-25 Jakub Jelinek <jakub@redhat.com>
44895
44896 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44897 (struct user_regs_struct): Change intcs field back to cs.
44898
6f038433
UD
448992011-05-25 Ulrich Drepper <drepper@gmail.com>
44900
44901 * po/ja.po: Update from translation team.
44902
67f86a25
UD
449032011-05-23 Ulrich Drepper <drepper@gmail.com>
44904
44905 [BZ #12795]
44906 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
44907 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
44908
def7fbd6
AS
449092011-05-20 Andreas Schwab <schwab@redhat.com>
44910
44911 * stdlib/longlong.h: Update from GCC.
44912
f50ef8f1
AS
449132011-05-23 Andreas Schwab <schwab@redhat.com>
44914
44915 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
44916 parameter name.
44917 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
44918 Add parameter name.
44919 (__sysconf): Pass it down.
44920
de7ce8f1
UD
449212011-05-22 Ulrich Drepper <drepper@gmail.com>
44922
f2962a71
UD
44923 [BZ #12671]
44924 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
44925 some situations.
44926 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
44927 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
44928 add in in __libc_use_alloca calls. Adjust callers.
44929 (glob): Use malloc in some situations.
44930
de7ce8f1
UD
44931 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
44932 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
44933 pltexit.
44934
aec84f53
UD
449352011-05-21 Ulrich Drepper <drepper@gmail.com>
44936
05bb4a68
UD
44937 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
44938 and CLOCK_BOOTTIME_ALARM.
44939
7ea72f99
UD
44940 [BZ #12782]
44941 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
44942 is returned.
44943
7e4afad5
UD
44944 * string/_strerror.c (__strerror_r): Print negative errors as signed
44945 numbers.
44946
8e211fec
UD
44947 [BZ #12777]
44948 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
44949 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
44950 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
44951
f7d82dc9
UD
44952 * configure.in: Fix typo in redirection and correct removal of test
44953 files in two cases.
44954
cc9e536d
UD
44955 [BZ #12788]
44956 * locale/setlocale.c (new_composite_name): Fix test to check for
44957 identical name of all categories.
44958
aec84f53
UD
44959 [BZ #12792]
44960 * libio/filedoalloc.c (local_isatty): New function.
44961 (_IO_file_doallocate): Use local_isatty.
44962 * stdio-common/perror.c (perror): In case a new stream is used
44963 forward the stream error.
44964 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
44965 error flag.
44966
78e64fdc
RT
449672011-05-20 Ulrich Drepper <drepper@gmail.com>
44968
34a9094f
UD
44969 [BZ #11869]
44970 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
44971 alloca.
44972 * include/alloca.h (extend_alloca_account): Define.
44973
78e64fdc
RT
44974 [BZ #11857]
44975 * posix/regex.h: Fix comments with documentation of user-accessible
44976 fields after compilation and describe correct free'ing of pattern
44977 after re_compile_pattern.
44978 Patch by Reuben Thomas <rrt@sc3d.org>.
44979
457bddfc
RA
449802011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
44981
44982 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
44983 and -mno-altivec to prevent the compiler from using Altivec and/or
44984 VSX instructions when the corresponding registers are not available.
44985
a4527b51
AS
449862011-05-19 Andreas Schwab <schwab@redhat.com>
44987
44988 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
44989
ed690b2f
UD
449902011-05-19 Ulrich Drepper <drepper@gmail.com>
44991
44992 * libio/freopen.c (freopen): Use __dup2, not dup2.
44993 * libio/freopen64.c (freopen64): Likewise.
44994
8db73634
L
449952011-05-17 H.J. Lu <hongjiu.lu@intel.com>
44996
44997 [BZ #12775]
44998 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
44999 * math/Makefile (tests): Add test-powl.
45000 (CFLAGS-test-powl.c): Define.
45001 * math/test-powl.c: New file.
45002
0a197a9d
L
450032011-05-16 H.J. Lu <hongjiu.lu@intel.com>
45004
45005 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
45006
ee30c380
UD
450072011-05-17 Ulrich Drepper <drepper@gmail.com>
45008
45009 [BZ #11837]
45010 * iconvdata/gb18030.c: Update to GB18020-2005.
45011
6ce75379
UD
450122011-05-16 Ulrich Drepper <drepper@gmail.com>
45013
a4b89fd8
AR
45014 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
45015 RE_SYNTAX_POSIX_AWK): Update to match recent development.
45016 Patch by Aharon Robbins <arnold@skeeve.com>.
45017
ea389b12
UD
45018 [BZ #11892]
45019 * stdlib/putenv.c (putenv): Don't always create copy of the variable
45020 on the stack.
45021
68a3f91f
UD
45022 [BZ #11895]
45023 * misc/pselect.c (__pselect): Handle timeout value errors hidden
45024 through underflows.
45025
15cc7dd1
UD
45026 [BZ #12766]
45027 * misc/error.c (error_at_line): Ensure file_name and old_file_name
45028 point to strings before performing equality test for error_one_per_line
45029 mode.
45030
f3799213
UD
45031 [BZ #11697]
45032 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
45033
d79a9c94
UD
45034 [BZ #11820]
45035 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45036 (struct user_fpregs_struct): Avoid __uint*_t types.
45037
56e5eb46
UD
45038 [BZ #6420]
45039 * malloc/mtrace.c (tr_where): Add additional parameter to point to
45040 symbol info. Use it instead of calling _dl_addr locally.
45041 (lock_and_info): New function.
45042 (tr_freehook): Call lock_and_info and pass symbol info as additional
45043 parameter to tr_where.
45044 (tr_mallochook): Likewise.
45045 (tr_reallochook): Likewise.
45046 (tr_memalignhook): Likewise.
45047
6ce75379
UD
45048 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
45049 used and couldn't be at all thread-safe.
45050
f8a3b5bf
UD
450512011-05-15 Ulrich Drepper <drepper@gmail.com>
45052
94b7cc37
UD
45053 * libio/freopen.c (freopen): Don't close old file descriptor
45054 before the new one is opened. Instead dup the new file descriptor
45055 to the old one after the new stream is created.
45056 * libio/freopen64.c (freopen64): Likewise.
45057 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
45058 * libio/fileops.c (_IO_new_file_close_it): Handle new
45059 _IO_FLAGS2_NOCLOSE flag.
45060 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
45061 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
45062 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
45063 _IO_FLAGS2_NOCLOSE flag.
45064 * include/unistd.h: Add hidden_proto for dup3.
45065 Define __have_dup3.
45066 * io/dup3.c: Define hidden symbol.
45067 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
45068
bd25564e
UD
45069 [BZ #7101]
45070 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
45071 when an incomplete long option is used.
45072 * posix/tst-getopt_long1.c: New file.
45073 * posix/Makefile (tests): Add tst-getopt_long1.
45074
c84cfef4
UD
45075 [BZ #10138]
45076 * scripts/config.guess: Update from autoconf-2.68.
45077 * scripts/config.sub: Likewise.
45078
3b85df27
UD
45079 [BZ #10157]
45080 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
45081 tests into ...
45082 (has_cpuclock): ...this. New function.
45083 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
45084 macro here based on has_cpuclock code.
45085
15a856b1
UD
45086 [BZ #10149]
45087 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45088 First byte (not low byte) is now always NUL.
45089 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
45090
05f399e6
UD
45091 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45092 Use non-cancelable interfaces.
45093
10a52685 45094 [BZ #9809]
94ecc67d
UD
45095 * locale/iso-639.def: Add entry for Sorani.
45096
f8a3b5bf
UD
45097 [BZ #11901]
45098 * include/stdlib.h: Move include protection to the right place.
45099 Define abort_msg_s. Declare __abort_msg with it.
45100 * stdlib/abort.c (__abort_msg): Adjust type.
45101 * assert/assert.c (__assert_fail_base): New function. Majority
45102 of code from __assert_fail. Allocate memory for __abort_msg with
45103 mmap.
45104 (__assert_fail): Now call __assert_fail_base.
45105 * assert/assert-perr.c: Remove bulk of implementation. Use
45106 __assert_fail_base.
45107 * include/assert.hL Declare __assert_fail_base.
45108 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
45109 mmap.
45110 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
45111
1af4e298
UD
451122011-05-14 Ulrich Drepper <drepper@gmail.com>
45113
f8a3b5bf 45114 [BZ #11952]
d26dfc60
MG
45115 [BZ #12453]
45116 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
45117 until all modules are registered in the DTV.
45118 * elf/Makefile: Add rules to build and run tst-tls19.
45119 * elf/tst-tls19.c: New file.
45120 * elf/tst-tls19mod1.c: New file.
45121 * elf/tst-tls19mod2.c: New file.
45122 * elf/tst-tls19mod3.c: New file.
45123 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
45124
2fc54d6f
UD
45125 [BZ #12083]
45126 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
45127 correctly.
45128
98d76b46
UD
45129 [BZ #12601]
45130 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
45131 two-byte sequence errors.
45132 * iconvdata/Makefile (tests): Add bug-iconv8.
45133 * iconvdata/bug-iconv8.c: New file.
45134
da3c19ef
UD
45135 [BZ #12626]
45136 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
45137 buf2 definition.
45138
ca408c15
UD
45139 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
45140
d6f67f7d
UD
45141 [BZ #12432]
45142 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
45143 (dummy_getcfa): New function.
45144 (init): Get _Unwind_GetCFA address, use dummy if not found.
45145 (backtrace_helper): In recursion check, also check whether CFA changes.
45146 (__backtrace): Completely initialize arg.
45147
1af4e298 45148 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
45149 storing incomplete byte sequence in state object. Avoid testing for
45150 guaranteed too small input if we know there is enough data available.
1af4e298 45151
da62f81b
AS
451522011-05-11 Andreas Schwab <schwab@redhat.com>
45153
45154 * Makeconfig (+link-pie): Indent.
45155 * Rules (binaries-pie): Define if $(have-fpie) and
45156 $(build-shared).
45157 (binaries-shared): Also filter out $(binaries-pie).
45158 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
45159 * nscd/Makefile (others-pie): Add nscd.
45160 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
45161 ($(objpfx)nscd): Remove command override.
45162 * login/Makefile (others-pie): Add pt_chown.
45163 ($(objpfx)pt_chown): Remove command override.
45164 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
45165 remove command overrides.
45166
fcabc0f8
UD
451672011-05-13 Ulrich Drepper <drepper@gmail.com>
45168
20030ae6
UD
45169 * libio/tst_putwc.c: Fix error messages.
45170
fcabc0f8
UD
45171 [BZ #12724]
45172 * libio/fileops.c (_IO_new_file_close_it): Always flush when
45173 currently writing and seek to current position when not.
45174 * libio/Makefile (tests): Add bug-fclose1.
45175 * libio/bug-fclose1.c: New file.
45176
320a5dc0
PB
451772011-05-12 Ulrich Drepper <drepper@gmail.com>
45178
45179 [BZ #12511]
45180 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
45181 don't set DF_1_NODELETE here.
45182 (do_lookup_x): When entering new entry test for copy relocation
45183 and if necessary set DF_1_NODELETE flag.
45184 * elf/tst-unique4.cc: New file.
45185 * elf/tst-unique4.h: New file.
45186 * elf/tst-unique4lib.cc: New file.
45187 * elf/Makefile: Add rules to build and run tst-unique4.
45188 Patch by Piotr Bury <pbury@goahead.com>.
45189
22836f52
UD
451902011-05-11 Ulrich Drepper <drepper@gmail.com>
45191
f574184a
UD
45192 [BZ #12052]
45193 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
45194
e1fb097f
UD
45195 [BZ #12625]
45196 * misc/mntent_r.c (addmntent): Flush the stream after the output
45197
22836f52
UD
45198 [BZ #12393]
45199 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
45200 (is_trusted_path_normalize): Skip initial colon. Append slash
45201 to empty buffer. Duplicate is_trusted_path code but allow
45202 constructed patch to be prefix.
45203 (is_dst): Allow $ORIGIN followed by /.
45204 (_dl_dst_substitute): Correct clearing of check_for_trusted.
45205 Correct testing of result of is_trusted_path_normalize
45206 (decompose_rpath): Fix warning.
45207
7b3b0b2a
UD
452082011-05-10 Ulrich Drepper <drepper@gmail.com>
45209
45210 [BZ #11257]
45211 * grp/initgroups.c (internal_getgrouplist): When we found the service
45212 list through the initgroups entry in nsswitch.conf do not always
45213 continue on a successful lookup. Don't always use the
eac80ce2 45214 __nss_group_database value if it is set.
7b3b0b2a
UD
45215 * nss/nsswitch.conf (initgroups): Change action for successful db
45216 lookup to continue for compatibility.
45217
2a81eaa5
UD
452182011-05-09 Ulrich Drepper <drepper@gmail.com>
45219
be97a69e
UD
45220 [BZ #11532]
45221 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
45222 and CP774 modules.
45223 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
45224 and CP774 modules.
45225 * iconvdata/tst-tables.sh: Likewise.
45226 * iconvdata/cp770.c: New file.
45227 * iconvdata/cp771.c: New file.
45228 * iconvdata/cp772.c: New file.
45229 * iconvdata/cp773.c: New file.
45230 * iconvdata/cp774.c: New file.
45231 * iconvdata/testdata/CP770: New file.
45232 * iconvdata/testdata/CP770..UTF8: New file.
45233 * iconvdata/testdata/CP771: New file.
45234 * iconvdata/testdata/CP771..UTF8: New file.
45235 * iconvdata/testdata/CP772: New file.
45236 * iconvdata/testdata/CP772..UTF8: New file.
45237 * iconvdata/testdata/CP773: New file.
45238 * iconvdata/testdata/CP773..UTF8: New file.
45239 * iconvdata/testdata/CP774: New file.
45240 * iconvdata/testdata/CP774..UTF8: New file.
45241
45242 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
45243 END CHARMAP line.
45244 * iconvdata/gen-8bit-gap.sh: Likewise.
45245 * iconvdata/gen-8bit.sh: Likewise.
45246
c1e9e399
UD
45247 * locale/iso-639.def: Add ary entry.
45248
24c55fb3 45249 [BZ #11258]
96b4b1b0
UD
45250 * locale/C-translit.h.in: Add U20A1 transliteration.
45251
bdc2f971
KB
45252 [BZ #12178]
45253 * locale/iso-639.def: Add wae entry.
45254 Patch by Kevin Bortis <bortis@translate-wae.ch>.
45255
2952b117
UD
45256 [BZ #12545]
45257 * locale/programs/localedef.c (construct_output_path): Use ssize_t
45258 for n.
45259
2a81eaa5
UD
45260 [BZ #12711]
45261 * locale/C-translit.h.in: Add entry for U20B9.
45262 Patch by pravin.d.s@gmail.com.
45263
28377d1b
UD
452642011-05-08 Ulrich Drepper <drepper@gmail.com>
45265
7fb90fb8
UD
45266 [BZ #12713]
45267 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
45268 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
45269 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
45270 in rtld. Use *stat64.
7fb90fb8 45271 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 45272 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 45273 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
45274 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
45275 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
45276 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
45277 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
45278 __fstatat64 macros.
7fb90fb8
UD
45279 * include/dirent.h: Add libc_hidden_proto for rewinddir.
45280 * dirent/rewinddir.c: Add libc_hidden_def.
45281 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 45282 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 45283
28377d1b
UD
45284 * include/dirent.h (__alloc_dir): Add flags parameter.
45285 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
45286 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
45287 __alloc_dir.
45288 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
45289 from fdopendir if O_CLOEXEC is already set.
45290
66bdbaa4
AM
452912011-03-15 Alan Modra <amodra@gmail.com>
45292
45293 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
45294 l_tls_firstbyte_offset non-zero. Save padding offset in
45295 l_tls_firstbyte_offset for later use.
45296 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
45297 freeing static tls block.
45298
95721191
JN
452992011-03-05 Jonathan Nieder <jrnieder@gmail.com>
45300
45301 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
45302 where #ifdef was intended. The intent is to prevent ARG_MAX from
45303 being defined by the kernel headers.
45304
f87dfb1f
UD
453052011-05-07 Ulrich Drepper <drepper@gmail.com>
45306
45307 [BZ #12734]
45308 * resolv/resolv.h: Define RES_NOTLDQUERY.
45309 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
45310 no-tld-query and set RES_NOTLDQUERY.
45311 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
45312 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
45313 modern BIND to search name as TLD unless forbidden.
45314
47c3cd7a
UD
453152011-05-07 Petr Baudis <pasky@suse.cz>
45316 Ulrich Drepper <drepper@gmail.com>
45317
45318 [BZ #12393]
45319 * elf/dl-load.c (fillin_rpath): Move trusted path check...
45320 (is_trusted_path): ...to here.
c1e9ea35 45321 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 45322 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 45323 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 45324
8a35c912
PP
453252011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
45326
45327 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
45328 __BEGIN/__END_DECLS.
45329
acd41f47
UD
453302011-05-06 Ulrich Drepper <drepper@gmail.com>
45331
45332 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
45333 NSS_STATUS_NOTFOUND if no record was found.
45334
597df647
AS
453352011-05-05 Andreas Schwab <schwab@redhat.com>
45336
45337 * sunrpc/Makefile (headers): Add rpc/netdb.h.
45338 (headers-not-in-tirpc): Remove rpc/netdb.h
45339 * resolv/netdb.h: Revert last change.
45340
b9af1301
PP
453412011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
45342
45343 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
45344 circular dependency between libgcc.a and libc.a.
45345
4e34d5f5
AS
453462011-05-05 Andreas Schwab <schwab@redhat.com>
45347
45348 * resolv/netdb.h: Don't include <rpc/netdb.h>.
45349 * nis/Makefile: Don't install rpcsvc/*.
45350 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
45351 instead of <rpc/types.h>.
45352 (MAXHOSTNAMELEN): Define.
45353
00ee369c
AS
453542011-05-03 Andreas Schwab <schwab@redhat.com>
45355
45356 * elf/ldconfig.c (add_dir): Don't crash on empty path.
45357
0b592a30
MB
453582011-04-28 Maciej Babinski <mbabinski@google.com>
45359
45360 [BZ #12714]
45361 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
45362 gethostbyname4_r when IPv6 results are possible.
45363
6e04cbbe
UD
453642011-05-02 Ulrich Drepper <drepper@gmail.com>
45365
45366 [BZ #12723]
45367 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
45368 _PC_PIPE_BUF handling.
45369
e4ecafe0
BH
453702011-04-30 Bruno Haible <bruno@clisp.org>
45371
45372 [BZ #12717]
45373 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
45374 * resolv/netdb.h (getnameinfo): Change type of flags parameter
45375 to 'int'.
45376 * inet/getnameinfo.c (getnameinfo): Likewise.
45377
125ee683
UD
453782011-04-29 Ulrich Drepper <drepper@gmail.com>
45379
45380 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
45381 to groups setting in database lookup.
45382 * nss/nsswitch.conf: Add initgroups entry.
45383
b722481a
EB
453842011-04-22 Ulrich Drepper <drepper@gmail.com>
45385
45386 [BZ #12685]
45387 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
45388 mode string.
45389 Patch by Eric Blake <eblake@redhat.com>.
45390
4df46dbd
L
453912011-04-20 H.J. Lu <hongjiu.lu@intel.com>
45392
45393 * sunrpc/Makefile (need-export-routines): Add svc_run.
45394 (routines): Remove svc_run.
45395 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
45396 * sunrpc/clnt_perr.c (clnt_perrno): Export.
45397 * sunrpc/svc_run.c (svc_run): Likewise.
45398 * sunrpc/svc_udp.c (svcudp_create): Likewise.
45399
e84142d2
UD
454002011-04-21 Ulrich Drepper <drepper@gmail.com>
45401
45402 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
45403 problem in reallocation in last patch.
45404
877175d8
UD
454052011-04-20 Ulrich Drepper <drepper@gmail.com>
45406
45407 * sunrpc/Makefile: Move inclusion of Rules.
45408
ab8eed78
UD
454092011-04-19 Ulrich Drepper <drepper@gmail.com>
45410
45411 * nss/nss_files/files-initgroups.c: New file.
45412 * nss/Makefile (libnss_files-routines): Add files-initgroups.
45413 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
45414 _nss_files_initgroups_dyn.
45415
e3d8f584
RS
454162011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
45417
45418 * elf/elf.h (R_ARM_IRELATIVE): Define.
45419
af190f45
UD
454202011-04-19 Ulrich Drepper <drepper@gmail.com>
45421
45422 * po/ru.po: Update from translation team.
45423
53cf59ef
UD
454242011-04-17 Ulrich Drepper <drepper@gmail.com>
45425
45426 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
45427 dependencies.
45428
4c559bcd
MF
454292011-02-06 Mike Frysinger <vapier@gentoo.org>
45430
45431 [BZ #12653]
45432 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
45433 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
45434 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45435 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45436 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45437
4420675c
AS
454382011-03-28 Andreas Schwab <schwab@linux-m68k.org>
45439
45440 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
45441 differing bytes.
45442 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45443 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45444 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45445
75ea32ab
UD
454462011-04-17 Ulrich Drepper <drepper@gmail.com>
45447
45448 [BZ #12420]
45449 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
45450 storing it.
45451 * stdlib/bug-getcontext.c: New file.
45452 * stdlib/Makefile: Add rules to build and run bug-getcontext.
45453
27390476
AK
454542011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45455
45456 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
45457 instructions into .machine "z9-109".
45458 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
45459 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
45460
10442705
AK
454612011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45462
45463 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
45464 between environment variables and auxiliary vector.
45465
7b57bfe5
UD
454662011-04-16 Ulrich Drepper <drepper@gmail.com>
45467
45468 * Makefile: Add rules to build linkobj/libc.so.
45469 * include/libc-symbols.h: Define libc_hidden_nolink.
45470 * include/rpc/auth.h: Mark functions which are to be hidden.
45471 * include/rpc/auth_des.h: Likewise.
45472 * include/rpc/auth_unix.h: Likewise.
45473 * include/rpc/clnt.h: Likewise.
45474 * include/rpc/des_crypt.h: Likewise.
45475 * include/rpc/key_prot.h: Likewise.
45476 * include/rpc/pmap_clnt.h: Likewise.
45477 * include/rpc/pmap_prot.h: Likewise.
45478 * include/rpc/pmap_rmt.h: Likewise.
45479 * include/rpc/rpc_msg.h: Likewise.
45480 * include/rpc/svc.h: Likewise.
45481 * include/rpc/svc_auth.h: Likewise.
45482 * include/rpc/xdr.h: Likewise.
45483 * nis/Makefile: Link all DSOs against linkobj/libc.so.
45484 * nss/Makefile: Likewise.
45485 * sunrpc/Makefile: Don't install headers. Build library with normal
45486 entry points. Don't build rpcinfo. Link RPC tests appropriately.
45487 * sunrpc/auth_des.c: Hide exported symbols by default, export some
45488 for the compat linking library. Remove use of INTDEF/INTUSE.
45489 * sunrpc/auth_none.c: Likewise.
45490 * sunrpc/auth_unix.c: Likewise.
45491 * sunrpc/authdes_prot.c: Likewise.
45492 * sunrpc/authuxprot.c: Likewise.
45493 * sunrpc/clnt_gen.c: Likewise.
45494 * sunrpc/clnt_perr.c: Likewise.
45495 * sunrpc/clnt_raw.c: Likewise.
45496 * sunrpc/clnt_simp.c: Likewise.
45497 * sunrpc/clnt_tcp.c: Likewise.
45498 * sunrpc/clnt_udp.c: Likewise.
45499 * sunrpc/clnt_unix.c: Likewise.
45500 * sunrpc/des_crypt.c: Likewise.
45501 * sunrpc/des_soft.c: Likewise.
45502 * sunrpc/get_myaddr.c: Likewise.
45503 * sunrpc/key_call.c: Likewise.
45504 * sunrpc/key_prot.c: Likewise.
45505 * sunrpc/netname.c: Likewise.
45506 * sunrpc/pm_getmaps.c: Likewise.
45507 * sunrpc/pm_getport.c: Likewise.
45508 * sunrpc/pmap_clnt.c: Likewise.
45509 * sunrpc/pmap_prot.c: Likewise.
45510 * sunrpc/pmap_prot2.c: Likewise.
45511 * sunrpc/pmap_rmt.c: Likewise.
45512 * sunrpc/publickey.c: Likewise.
45513 * sunrpc/rpc_cmsg.c: Likewise.
45514 * sunrpc/rpc_common.c: Likewise.
45515 * sunrpc/rpc_dtable.c: Likewise.
45516 * sunrpc/rpc_prot.c: Likewise.
45517 * sunrpc/rpc_thread.c: Likewise.
45518 * sunrpc/rtime.c: Likewise.
45519 * sunrpc/svc.c: Likewise.
45520 * sunrpc/svc_auth.c: Likewise.
45521 * sunrpc/svc_authux.c: Likewise.
45522 * sunrpc/svc_raw.c: Likewise.
45523 * sunrpc/svc_run.c: Likewise.
45524 * sunrpc/svc_simple.c: Likewise.
45525 * sunrpc/svc_tcp.c: Likewise.
45526 * sunrpc/svc_udp.c: Likewise.
45527 * sunrpc/svc_unix.c: Likewise.
45528 * sunrpc/svcauth_des.c: Likewise.
45529 * sunrpc/xcrypt.c: Likewise.
45530 * sunrpc/xdr.c: Likewise.
45531 * sunrpc/xdr_array.c: Likewise.
45532 * sunrpc/xdr_float.c: Likewise.
45533 * sunrpc/xdr_intXX_t.c: Likewise.
45534 * sunrpc/xdr_mem.c: Likewise.
45535 * sunrpc/xdr_rec.c: Likewise.
45536 * sunrpc/xdr_ref.c: Likewise.
45537 * sunrpc/xdr_sizeof.c: Likewise.
45538 * sunrpc/xdr_stdio.c: Likewise.
45539
e6c61494
UD
455402011-04-10 Ulrich Drepper <drepper@gmail.com>
45541
45542 [BZ #12650]
45543 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
45544 * sysdeps/ia64/dl-tls.h: Likewise.
45545 * sysdeps/powerpc/dl-tls.h: Likewise.
45546 * sysdeps/s390/dl-tls.h: Likewise.
45547 * sysdeps/sh/dl-tls.h: Likewise.
45548 * sysdeps/sparc/dl-tls.h: Likewise.
45549 * sysdeps/x86_64/dl-tls.h: Likewise.
45550 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
45551
34fe483e
AS
455522011-03-14 Andreas Schwab <schwab@redhat.com>
45553
45554 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
45555 rpath element also skip the following colon.
45556 (expand_dynamic_string_token): Add is_path parameter and pass
45557 down to DL_DST_REQUIRED and _dl_dst_substitute.
45558 (decompose_rpath): Call expand_dynamic_string_token with
45559 non-zero is_path. Ignore empty rpaths.
45560 (_dl_map_object_from_fd): Call expand_dynamic_string_token
45561 with zero is_path.
45562
f12a32e6
AS
455632011-04-08 Andreas Schwab <schwab@linux-m68k.org>
45564
45565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
45566 Make cancelable.
45567
38a7d692
UD
455682011-04-09 Ulrich Drepper <drepper@gmail.com>
45569
45570 [BZ #12655]
45571 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
45572 Patch by Filipe David Manana <fdmanana@apache.org>.
45573
e451d22b
AS
455742011-04-07 Andreas Schwab <schwab@redhat.com>
45575
45576 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
45577 Maintain aligned stack.
45578 (CHECK_RSP): Remove unused macro.
45579
dedc7c7b
UD
455802011-04-03 Ulrich Drepper <drepper@gmail.com>
45581
45582 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
45583 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
45584
94521213
UD
455852011-04-02 Ulrich Drepper <drepper@gmail.com>
45586
45587 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
45588
8cb700c0 45589 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 45590
0354e355
L
455912011-03-26 H.J. Lu <hongjiu.lu@intel.com>
45592
45593 [BZ #12518]
45594 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
45595 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
45596 * sysdeps/x86_64/memmove.c: New file.
45597 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
45598 (memcpy): Renamed to ...
45599 (__new_memcpy): This.
45600 (memcpy): Provide GLIBC_2_14 memcpy.
45601 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
45602 (memcpy): Provide GLIBC_2_2_5 memcpy.
45603
8593482f
UD
456042011-04-01 Ulrich Drepper <drepper@gmail.com>
45605
45606 [BZ #12631]
45607 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
45608
81a5726b
AS
456092011-03-30 Andreas Schwab <schwab@redhat.com>
45610
45611 * misc/syncfs.c: New file.
45612 * misc/Makefile (routines): Add syncfs.
45613 * posix/unistd.h: Declare syncfs.
45614 * sysdeps/unix/syscalls.list: Add syncfs.
45615
00e5419f
AS
456162011-04-01 Andreas Schwab <schwab@redhat.com>
45617
45618 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
45619 open_by_handle_at.
45620 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45621 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45622 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45623 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45624 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45625 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
45626 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45627
748876bf
UD
456282011-04-01 Ulrich Drepper <drepper@gmail.com>
45629
658e451d
UD
45630 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
45631 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45632 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
45633 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45634 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45635 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45636 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45637
748876bf
UD
45638 * io/Makefile: Compile fallocate.c, fallocate64.c, and
45639 sync_file_range.c with -fexceptions.
45640 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
45641 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
45642 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
45643 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
45644 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
45645 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
45646 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
45647 sync_file_range as cancellation point
45648 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
45649 now a wrapper around __call_sync_file_range with cancellation handling.
45650 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
45651 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
45652 function name to __call_sync_file_range.
45653 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
45654 Add call_sync_file_range.
748876bf 45655
6e63d5e1
AS
456562011-04-01 Andreas Schwab <schwab@redhat.com>
45657
45658 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 45659 bits/timex.h.
6e63d5e1 45660
46998f74
UD
456612011-04-01 Ulrich Drepper <drepper@gmail.com>
45662
4c1423ed
UD
45663 * iconv/iconv.h: Fix typo in comment.
45664 * io/fcntl.h: Likewise.
45665 * libio/stdio.h: Likewise.
45666 * posix/spawn.h: Likewise.
45667 * posix/unistd.h: Likewise.
45668 * stdlib/stdlib.h: Likewise.
45669 * time/time.h: Likewise.
45670 * wcsmbs/wchar.h: Likewise.
45671
158648c0
UD
45672 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
45673 open_by_handle): Add.
45674 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
45675 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
45676 Augment a few comments.
45677 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45678 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45679 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45680 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45681 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45682 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
45683 open_by_handle.
45684
46998f74
UD
45685 * io/fcntl.h (AT_EMPTY_PATH): Define.
45686
83fe108b
UD
456872011-03-30 Ulrich Drepper <drepper@gmail.com>
45688
45689 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
45690 * sysdeps/unix/sysv/linux/bits/time.h: New file.
45691 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
45692 to...
45693 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
45694 * Versions.def: Add GLIBC_2.14.
45695 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
45696 Export.
83fe108b 45697
bb242059
UD
456982011-03-22 Ulrich Drepper <drepper@gmail.com>
45699
45700 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
45701 round counter.
45702 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45703
c97a1282
L
457042011-03-20 H.J. Lu <hongjiu.lu@intel.com>
45705
45706 [BZ #12597]
45707 * string/test-strncmp.c (do_page_test): New function.
45708 (check2): Likewise.
45709 (test_main): Call check2.
45710 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
45711
2a115601
UD
457122011-03-20 Ulrich Drepper <drepper@gmail.com>
45713
45714 [BZ #12587]
45715 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
45716 Handle cache information in CPU leaf 4.
45717 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45718
8126d904
UD
457192011-03-18 Ulrich Drepper <drepper@gmail.com>
45720
042c49c6 45721 [BZ #12583]
8126d904
UD
45722 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
45723 character representation.
45724 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
45725
ccfe366e
RA
457262011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
45727
45728 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
45729 END(__isnan) to END(__isnanf) to match function entry point/label
45730 EALIGN(__isnanf,...).
45731
c6e13027
JJ
457322011-03-10 Jakub Jelinek <jakub@redhat.com>
45733
45734 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
45735
33f85a3f
UD
457362011-03-10 Ulrich Drepper <drepper@gmail.com>
45737
028478fa
UD
45738 [BZ #12510]
45739 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
45740 copy from the symbol referenced in the relocation to initialize the
45741 used variable.
45742 Patch by Piotr Bury <pbury@goahead.com>.
45743 * elf/Makefile: Add rules to build and tst-unique3.
45744 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
45745 * elf/tst-unique3.cc: New file.
45746 * elf/tst-unique3.h: New file.
45747 * elf/tst-unique3lib.cc: New file.
45748 * elf/tst-unique3lib2.cc: New file.
45749
33f85a3f
UD
45750 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
45751
03592fc7
MF
457522011-03-10 Mike Frysinger <vapier@gentoo.org>
45753
45754 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
45755 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
45756 to _start.
03592fc7 45757
6a5ee102
UD
457582011-03-06 Ulrich Drepper <drepper@gmail.com>
45759
45760 * elf/dl-load.c (_dl_map_object): If we are looking for the first
45761 to-be-loaded object along a path to loader is ld.so.
45762
7e4ba49c
HJ
457632011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
45764 Ulrich Drepper <drepper@gmail.com>
45765
45766 * sysdeps/x86_64/memset.S: After aligning destination, code
45767 branches to different locations depending on the value of
45768 misalignment, when multiarch is enabled. Fix this.
45769
457702011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
45771
45772 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
45773 Set _x86_64_preferred_memory_instruction for AMD processsors.
45774 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45775 Set bit_Prefer_SSE_for_memop for AMD processors.
45776
13a804de
UD
457772011-03-04 Ulrich Drepper <drepper@gmail.com>
45778
45779 * libio/fmemopen.c (fmemopen): Optimize a bit.
45780
9d25c392
AS
457812011-03-03 Andreas Schwab <schwab@redhat.com>
45782
45783 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
45784
a5543c6a
RM
457852011-03-03 Roland McGrath <roland@redhat.com>
45786
45787 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
45788
012d35f7
DM
457892011-02-28 Aurelien Jarno <aurelien@aurel32.net>
45790
7e4ba49c 45791 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
45792 __bzero_ultra1 instead of __memset_ultra1.
45793
4bff6e01
AS
457942011-02-23 Andreas Schwab <schwab@redhat.com>
45795 Ulrich Drepper <drepper@gmail.com>
45796
45797 [BZ #12509]
45798 * include/link.h (struct link_map): Add l_orig_initfini.
45799 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
45800 returning unsuccessfully.
45801 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
45802 close of a file loaded at startup, restore the original l_initfini
45803 list.
45804 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
45805 list, store the pointer.
45806 * elf/Makefile ($(objpfx)noload-mem): New rule.
45807 (noload-ENV): Define.
45808 (tests): Add $(objpfx)noload-mem.
45809 * elf/noload.c: Include <memcheck.h>.
45810 (main): Call mtrace. Close all opened handles.
45811
f2092faf
AS
458122011-02-17 Andreas Schwab <schwab@redhat.com>
45813
45814 [BZ #12454]
45815 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
45816 dependencies are missing.
45817
6c8a2e88
ST
458182011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
45819
f2092faf 45820 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
45821 Hurd needs munmap.
45822 * sysdeps/mach/hurd/ifreq.h: New file.
45823
84a42118
PB
458242011-01-27 Petr Baudis <pasky@suse.cz>
45825 Ulrich Drepper <drepper@gmail.com>
45826
071f805e 45827 [BZ 12445]#
84a42118
PB
45828 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
45829 to extend_alloca().
45830 * stdio-common/bug23.c: New file.
45831 * stdio-common/Makefile (tests): Add bug23.
45832
e23fe25b
AS
458332010-09-28 Andreas Schwab <schwab@redhat.com>
45834 Ulrich Drepper <drepper@gmail.com>
45835
45836 [BZ #12489]
45837 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
45838 before performing relro protection. At old place add assertion
45839 to make sure nothing changed.
45840
d3f02e10
NS
458412011-02-17 Nathan Sidwell <nathan@codesourcery.com>
45842 Glauber de Oliveira Costa <glommer@gmail.com>
45843
45844 * elf/elf.h: Add new ARM TLS relocs.
45845
d55fd7a5
RA
458462011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
45847
45848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45849 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
45850 cast from r3.
45851 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
45852 'tests' variable.
45853 * sysdeps/wordsize-64/tst-writev.c: New file.
45854
2206397e
RA
458552011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
45856
45857 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
45858 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
45859 insns in _dl_start to prevent a TOC reference before relocs are
45860 resolved.
45861
e9433893
UD
458622011-02-15 Ulrich Drepper <drepper@gmail.com>
45863
45864 [BZ #12469]
45865 * Makeconfig: Remove RANLIB definition.
45866 * Makerules: Don't use RANLIB.
45867 * aclocal.m4: Remove ranlib test.
45868 * configure.in: No need to check for ranlib.
45869 * elf/rtld-Rules: Don't use RANLIB.
45870
f75286c6
ST
458712011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
45872
8e31c82d
ST
45873 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
45874 protection macro.
45875 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
45876 inclusion protection macro.
45877
f75286c6
ST
45878 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
45879 SIGRTMIN and SIGRTMAX and print information in that case only when
45880 SIGRTMIN is defined.
45881
c1d0e639
JJ
458822011-02-11 Jakub Jelinek <jakub@redhat.com>
45883
45884 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
45885 arginfo fn returning -1.
45886
45887 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
45888 and thousands string is zero terminated.
45889
edf9294e
AS
458902011-02-03 Andreas Schwab <schwab@redhat.com>
45891
45892 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
45893 sysdeps/unix/sysv/linux/bits/socket.h.
45894
2b7e92df
ST
458952011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
45896
edf9294e
AS
45897 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
45898 (__CPU_COUNT): Remove old macros.
45899 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
45900 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
45901 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
45902 (__sched_cpualloc, __sched_cpufree): Add declarations.
45903
a4c7ea7b
UD
459042011-02-05 Ulrich Drepper <drepper@gmail.com>
45905
45906 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
45907 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
45908 * nscd/aicache.c (addhstaiX): Return timeout of added value.
45909 (readdhstai): Return value of addhstaiX call.
45910 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
45911 (addgrbyX): Return value returned by cache_addgr.
45912 (readdgrbyname): Return value returned by addgrbyX.
45913 (readdgrbygid): Likewise.
45914 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
45915 (addpwbyX): Return value returned by cache_addpw.
45916 (readdpwbyname): Return value returned by addhstbyX.
45917 (readdpwbyuid): Likewise.
45918 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
45919 (addservbyX): Return value returned by cache_addserv.
45920 (readdservbyname): Return value returned by addservbyX:
45921 (readdservbyport): Likewise.
45922 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
45923 (addhstbyX): Return value returned by cache_addhst.
45924 (readdhstbyname): Return value returned by addhstbyX.
45925 (readdhstbyaddr): Likewise.
45926 (readdhstbynamev6): Likewise.
45927 (readdhstbyaddrv6): Likewise.
45928 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
45929 (readdinitgroups): Return value returned by addinitgroupsX.
45930 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
45931 (prune_cache): Keep track of timeout value of re-added entries.
45932 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
45933 * nscd/nscd.h: Adjust prototypes of readd* functions.
45934
a0bf67cc
RM
459352011-02-04 Roland McGrath <roland@redhat.com>
45936
45937 * nis/nis_server.c (nis_servstate): Use the right name for 0.
45938 (nis_stats): Likewise.
45939 * nis/nis_modify.c (nis_modify): Likewise.
45940 * nis/nis_remove.c (nis_remove): Likewise.
45941 * nis/nis_add.c (nis_add): Likewise.
45942
45943 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
45944
45945 * posix/fnmatch_loop.c: Add some consts.
45946
45947 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
45948
435b95eb
L
459492011-02-02 H.J. Lu <hongjiu.lu@intel.com>
45950
45951 [BZ #12460]
45952 * config.make.in (config-cflags-novzeroupper): Define.
45953 * configure.in: Substitute libc_cv_cc_novzeroupper.
45954 * elf/Makefile (AVX-CFLAGS): Define.
45955 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
45956 (CFLAGS-tst-auditmod4a.c): Likewise.
45957 (CFLAGS-tst-auditmod4b.c): Likewise.
45958 (CFLAGS-tst-auditmod6b.c): Likewise.
45959 (CFLAGS-tst-auditmod6c.c): Likewise.
45960 (CFLAGS-tst-auditmod7b.c): Likewise.
45961 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
45962
8517b15e
UD
459632011-02-02 Ulrich Drepper <drepper@gmail.com>
45964
45965 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
45966 function to the callback.
45967 Patch partly by Jiri Olsa <jolsa@redhat.com>.
45968
10a656fe
AS
459692011-02-02 Andreas Schwab <schwab@redhat.com>
45970
45971 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
45972 of errno.
45973
968dad0a
UD
459742011-01-19 Ulrich Drepper <drepper@gmail.com>
45975
9f94d2ea 45976 [BZ #11724]
968dad0a
UD
45977 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
45978 of constructors.
45979 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
45980 of destructors.
45981 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
45982
45983 [BZ #11724]
45984 * elf/Makefile: Add rules to build and run new test.
45985 * elf/tst-initorder.c: New file.
45986 * elf/tst-initorder.exp: New file.
45987 * elf/tst-initordera1.c: New file.
45988 * elf/tst-initordera2.c: New file.
45989 * elf/tst-initordera3.c: New file.
45990 * elf/tst-initordera4.c: New file.
45991 * elf/tst-initorderb1.c: New file.
45992 * elf/tst-initorderb2.c: New file.
45993 * elf/tst-order-a1.c: New file.
45994 * elf/tst-order-a2.c: New file.
45995 * elf/tst-order-a3.c: New file.
45996 * elf/tst-order-a4.c: New file.
45997 * elf/tst-order-b1.c: New file.
45998 * elf/tst-order-b2.c: New file.
45999 * elf/tst-order-main.c: New file.
46000 New test case by George Gensure <werkt0@gmail.com>.
46001
86e92359
UD
460022010-10-01 Andreas Schwab <schwab@redhat.com>
46003
46004 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46005 decoding ACE if AI_CANONIDN.
46006
5d5732b0
UD
460072011-01-18 Ulrich Drepper <drepper@gmail.com>
46008
46009 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
46010
a77e8cbc
UD
460112011-01-17 Ulrich Drepper <drepper@gmail.com>
46012
6392473f
UD
46013 * version.h (RELEASE): Bump for 2.13 release.
46014 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
46015
620a0529
UD
46016 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
46017
18ba70a5
UD
46018 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
46019 MADV_NOHUGEPAGE.
32465c3e
UD
46020 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
46021 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46022 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46023 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46024 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46025 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46026
c0dafcf1
UD
46027 * posix/getconf.c: Update copyright year.
46028 * catgets/gencat.c: Likewise.
46029 * csu/version.c: Likewise.
46030 * debug/catchsegv.sh: Likewise.
46031 * debug/xtrace.sh: Likewise.
46032 * elf/ldconfig.c: Likewise.
46033 * elf/ldd.bash.in: Likewise.
46034 * elf/sprof.c (print_version): Likewise.
46035 * iconv/iconv_prog.c: Likewise.
46036 * iconv/iconvconfig.c: Likewise.
46037 * locale/programs/locale.c: Likewise.
46038 * locale/programs/localedef.c: Likewise.
46039 * malloc/memusage.sh: Likewise.
46040 * malloc/mtrace.pl: Likewise.
46041 * nscd/nscd.c (print_version): Likewise.
46042 * nss/getent.c: Likewise.
46043
a77e8cbc
UD
46044 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
46045 PF_CAIF, and PF_ALG.
46046 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46047
77e8bddf
AS
460482011-01-16 Andreas Schwab <schwab@linux-m68k.org>
46049
1f20b93a
AS
46050 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
46051 (modules-names): Use them.
46052 (ifunc-test-modules, ifunc-pie-tests): Define.
46053 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
46054 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
46055 (test-extras): Likewise.
46056 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
46057 $(compile-command.c).
46058 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
46059 (all-built-dso): Define.
46060 (check-textrel.out, check-execstack.out): Depend on it.
46061
77e8bddf
AS
46062 * configure.in: Don't override --enable-multi-arch.
46063
bc425b33
UD
460642011-01-15 Ulrich Drepper <drepper@gmail.com>
46065
46066 [BZ #6812]
46067 * nscd/hstcache.c (tryagain): Define.
46068 (cache_addhst): Return tryagain not notfound for temporary errors.
46069 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
46070 failed.
46071
794c3ad3
UD
460722011-01-14 Ulrich Drepper <drepper@gmail.com>
46073
70181fdd
UD
46074 [BZ #10563]
46075 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
46076 to make the syscall.
46077 * sysdeps/unix/sysv/linux/setgroups.c: New file.
46078
794c3ad3
UD
46079 [BZ #12378]
46080 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
46081 and fall back to matching as normal character if the string ends before
46082 the matching ']' is found. This is what POSIX requires.
46083 * posix/testfnm.c: Adjust test result.
46084 * posix/globtest.sh: Adjust test result. Add new test.
46085 * posix/tst-fnmatch.input: Likewise.
46086 * posix/tst-fnmatch2.c: Add new test.
46087
68dc9497
AS
460882010-12-28 Andreas Schwab <schwab@linux-m68k.org>
46089
46090 * elf/Makefile (check-execstack): Revert last change. Depend on
46091 check-execstack.h.
46092 (check-execstack.h): New target.
46093 (generated): Add check-execstack.h.
46094 * elf/check-execstack.c: Include "check-execstack.h".
46095 (main): Revert last change.
46096 (handle_file): Return zero if GNU_STACK is absent and
46097 DEFAULT_STACK_PERMS doesn't include PF_X.
46098
451f001b
UD
460992011-01-13 Ulrich Drepper <drepper@gmail.com>
46100
cfa28e56
UD
46101 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
46102 in child fails because the descriptor is already closed.
8cf8ce17
UD
46103 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
46104 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
46105 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 46106
1086d70d
UD
46107 [BZ #12397]
46108 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
46109 syscall.
46110
451f001b
UD
46111 [BZ #10484]
46112 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
46113 temporary buffer used to handle multi lookups locally.
a85b5cb4 46114 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 46115
08769175
UD
461162011-01-12 Ulrich Drepper <drepper@gmail.com>
46117
46118 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
46119 loader is ld.so.
46120
5e49c52e
UD
461212011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
46122
46123 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
46124 alignment for SSE2.
46125
60522a5f
UD
461262011-01-12 Ulrich Drepper <drepper@gmail.com>
46127
46128 [BZ #12394]
46129 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
46130 characters. When rounding increased number of integer digits recompute
46131 number of groups.
46132 * stdio-common/tst-grouping.c: New file.
46133 * stdio-common/Makefile: Add rules to build and run tst-grouping.
46134
f257bbd7
UD
461352011-01-09 Ulrich Drepper <drepper@gmail.com>
46136
46137 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
46138 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
46139
46140 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
46141 void.
46142 * bits/select.h: Likewise.
46143
fa9c15cb
UD
461442011-01-08 Ulrich Drepper <drepper@gmail.com>
46145
46146 * po/ja.po: Update from translation team.
46147
16c2895f
DM
461482011-01-04 David S. Miller <davem@sunset.davemloft.net>
46149
46150 [BZ #11155]
46151 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
46152 implementation just like for lxstat, fxstatat, et al.
46153
2543fef2
JM
461542010-12-27 Jim Meyering <meyering@redhat.com>
46155
46156 [BZ #12348]
46157 * posix/regexec.c (build_trtable): Return failure indication upon
46158 calloc failure. Otherwise, re_search_internal could infloop on OOM.
46159
98727dbe
UD
461602010-12-25 Ulrich Drepper <drepper@gmail.com>
46161
5bd6dc5c
UD
46162 [BZ #12201]
46163 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
46164 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
46165 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
46166 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
46167
97983464
UD
46168 [BZ #12207]
46169 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
46170
98727dbe
UD
46171 [BZ #12204]
46172 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
46173 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
46174
4a531bb0
L
461752010-12-15 H.J. Lu <hongjiu.lu@intel.com>
46176
46177 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
46178 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
46179 script has SORT_BY_INIT_PRIORITY.
46180 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
46181 NO_CTORS_DTORS_SECTIONS is defined.
46182 * elf/soinit.c: Likewise.
46183 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
46184 NO_CTORS_DTORS_SECTIONS is defined.
46185 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
46186 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
46187 * sysdeps/sh/init-first.c: Likewise.
46188 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
46189
07eb4b71
UD
461902010-12-24 Ulrich Drepper <drepper@gmail.com>
46191
46192 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
46193 always use the slow path.
46194
30950a5f
RA
461952010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
46196
46197 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
46198 similar rule which adds the sysdep directories to the header search in
46199 order to pick up the correct platform stackinfo.h.
46200 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
46201 perform test if it is, otherwise return successfully without testing.
46202 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
46203 DEFAULT_STACK_PERMS define in stackinfo.h.
46204 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
46205 defined in stackinfo.h.
46206 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
46207 DEFAULT_STACK_PERMS defined in stackinfo.h.
46208 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
46209 * sysdeps/ia64/stackinfo.h: Likewise.
46210 * sysdeps/s390/stackinfo.h: Likewise.
46211 * sysdeps/sh/stackinfo.h: Likewise.
46212 * sysdeps/sparc/stackinfo.h: Likewise.
46213 * sysdeps/x86_64/stackinfo.h: Likewise.
46214 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
46215 PF_X for powerpc64. Retain PF_X for powerpc32.
46216
db753e2c
UD
462172010-12-19 Ulrich Drepper <drepper@gmail.com>
46218
14b697f7
UD
46219 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
46220 accurately.
db753e2c
UD
46221 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
46222 GETDENTS_64BIT_ALIGNED.
46223
28300719
UD
462242010-12-14 Ulrich Drepper <dreper@gmail.com>
46225
14b697f7 46226 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 46227
4f197237
AS
462282010-12-10 Andreas Schwab <schwab@redhat.com>
46229
dbb0472f
AS
46230 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
46231 _GNU_SOURCE.
46232
4f197237
AS
46233 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
46234 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
46235 Remove __restrict.
46236 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
46237 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
46238
fb88ac72
UD
462392010-12-09 Ulrich Drepper <drepper@gmail.com>
46240
46241 [BZ #11655]
46242 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
46243 are initialized.
46244
42acbb92
JJ
462452010-12-09 Jakub Jelinek <jakub@redhat.com>
46246
46247 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
46248
c038d98d
UD
462492010-12-03 Ulrich Drepper <drepper@gmail.com>
46250
46251 * po/it.po: Update from translation team.
46252
3a4a2499
L
462532010-12-01 H.J. Lu <hongjiu.lu@intel.com>
46254
46255 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
46256 unused codes.
46257
1e24cf6e
UD
462582010-11-30 Ulrich Drepper <drepper@gmail.com>
46259
46260 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
46261
a7690819
AS
462622010-11-24 Andreas Schwab <schwab@redhat.com>
46263
46264 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
46265 specially.
46266 (gaih_getanswer_slice): Likewise.
46267
3bf8d1b1
JJ
462682010-10-20 Jakub Jelinek <jakub@redhat.com>
46269
46270 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
46271
6db52fbb
PB
462722010-05-31 Petr Baudis <pasky@suse.cz>
46273
46274 [BZ #11149]
46275 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
46276 silently even in the chroot mode.
46277
eaca7569
UD
462782010-11-22 Ulrich Drepper <drepper@gmail.com>
46279
46280 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
46281 last patch a bit. Pretty printing
46282
3056dcdb
UD
462832010-05-31 Petr Baudis <pasky@suse.cz>
46284
46285 [BZ #10085]
46286 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
46287 initialization of skip_initgroups_dyn.
46288
cf7c9078
UD
462892010-11-19 Ulrich Drepper <drepper@gmail.com>
46290
46291 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
46292 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46293
a1fb5e3e
UD
462942010-11-16 Ulrich Drepper <drepper@gmail.com>
46295
46296 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
46297
3540d66b
AS
462982010-11-11 Andreas Schwab <schwab@redhat.com>
46299
46300 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
46301 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
46302 (tst-fnmatch-ENV): Set MALLOC_TRACE.
46303 ($(objpfx)tst-fnmatch-mem): New rule.
46304 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
46305 * posix/tst-fnmatch.c (main): Call mtrace.
46306
13b69574
L
463072010-11-11 H.J. Lu <hongjiu.lu@intel.com>
46308
46309 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46310 Support Intel processor model 6 and model 0x2c.
46311
da93d214
LM
463122010-11-10 Luis Machado <luisgpm@br.ibm.com>
46313
46314 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
46315 signed comparison.
46316
8ca52c6e
L
463172010-11-09 H.J. Lu <hongjiu.lu@intel.com>
46318
46319 [BZ #12205]
46320 * string/test-strncasecmp.c (check_result): New function.
46321 (do_one_test): Use it.
46322 (check1): New function.
46323 (test_main): Use it.
46324 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
46325 Support strcasecmp and strncasecmp.
46326
69da074d
UD
463272010-11-08 Ulrich Drepper <drepper@gmail.com>
46328
46329 [BZ #12194]
46330 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
46331 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46332
ff02d528
L
463332010-11-07 H.J. Lu <hongjiu.lu@intel.com>
46334
46335 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
46336 IFUNC support.
46337 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46338 memset-x86-64.
46339 * sysdeps/x86_64/multiarch/bzero.S: New file.
46340 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
46341 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
46342 * sysdeps/x86_64/multiarch/memset.S: New file.
46343 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
46344 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46345 Set bit_Prefer_SSE_for_memop for Intel processors.
46346 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
46347 Define.
46348 (index_Prefer_SSE_for_memop): Define.
46349 (HAS_PREFER_SSE_FOR_MEMOP): Define.
46350
344d0b54
LM
463512010-11-04 Luis Machado <luisgpm@br.ibm.com>
46352
46353 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
46354 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
46355
c0dde15b
UD
463562010-11-03 H.J. Lu <hongjiu.lu@intel.com>
46357
46358 [BZ #12191]
46359 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46360 (__x86_64_raw_data_cache_size_half): Likewise.
46361 (__x86_64_raw_shared_cache_size): Likewise.
46362 (__x86_64_raw_shared_cache_size_half): Likewise.
46363
46364 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46365 (__x86_64_raw_data_cache_size_half): Likewise.
46366 (__x86_64_raw_shared_cache_size): Likewise.
46367 (__x86_64_raw_shared_cache_size_half): Likewise.
46368 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
46369 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
46370 and __x86_64_raw_shared_cache_size_half. Round
46371 __x86_64_data_cache_size_half, __x86_64_data_cache_size
46372 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
46373 to multiple of 256 bytes.
46374
0e516e0e
MS
463752010-11-03 Ulrich Drepper <drepper@gmail.com>
46376
46377 [BZ #12167]
46378 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
46379 of inacessible symlinks. Verify result of symlink before returning it.
46380 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
46381 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
46382
0e012e87
ER
463832010-10-28 Erich Ritz <erichritz@gmail.com>
46384
46385 * math/math.h (isinf): Fix typo in comment.
46386
de0ff7bc
UD
463872010-11-01 Ulrich Drepper <drepper@gmail.com>
46388
46389 * po/da.po: Update from translation team.
46390
fa41c84d
UD
463912010-10-26 Ulrich Drepper <drepper@gmail.com>
46392
46393 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
46394 is added to the list.
46395
f0967738
AK
463962010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46397 Ulrich Drepper <drepper@gmail.com>
46398
46399 * elf/dl-object.c (_dl_new_object): Don't append the new object to
46400 the global list here. Move code to...
46401 (_dl_add_to_namespace_list): ...here. New function.
46402 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
46403 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
46404 * elf/dl-load.c (lose): Don't remove the element from the list.
46405 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
46406 (_dl_map_object): Likewise.
46407
464082010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
46409
46410 [BZ #12159]
46411 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
46412 into all bytes of SSE register.
46413 Patch by Richard Li <richardpku@gmail.com>.
46414
f0967738 464152010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
46416
46417 [BZ #12140]
46418 * malloc/malloc.c (_int_free): Fill correct number of bytes when
46419 perturbing.
46420
d0b9e94f
MB
464212010-10-20 Michael B. Brutman <brutman@us.ibm.com>
46422
46423 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
46424 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
46425 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
46426 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
46428 submachine.
46429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
46430
8e9f92e9
AS
464312010-10-22 Andreas Schwab <schwab@redhat.com>
46432
46433 * include/dlfcn.h (__RTLD_SECURE): Define.
46434 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
46435 mode & __RTLD_SECURE instead.
46436 (open_path): Rename preloaded parameter to secure.
46437 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
46438 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
46439 * elf/dl-deps.c (openaux): Likewise.
46440 * elf/rtld.c (struct map_args): Remove is_preloaded.
46441 (map_doit): Don't use it.
46442 (dl_main): Likewise.
46443 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
46444 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
46445
bc96fbda
AS
464462010-09-09 Andreas Schwab <schwab@redhat.com>
46447
46448 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
46449 (sysd-rules-targets): Remove duplicates.
46450 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
46451 rtld-%.$o dependency.
46452
22cd1c9b
AS
464532010-10-18 Andreas Schwab <schwab@redhat.com>
46454
46455 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
46456 _dl_map_object do it.
46457
18edac48
UD
464582010-10-19 Ulrich Drepper <drepper@gmail.com>
46459
46460 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
46461 fast fma builtins, define the macros in the C99 standard.
46462 (FP_FAST_FMAF): Likewise.
46463 (FP_FAST_FMAL): Likewise.
46464 * sysdeps/x86_64/bits/mathdef.h: Likewise.
46465
46466 * bits/mathdef.h: Update copyright year.
46467 * sysdeps/powerpc/bits/mathdef.h: Likewise.
46468
d2050124
MM
464692010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
46470
46471 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
46472 builtins, define the macros in the C99 standard.
46473 (FP_FAST_FMAF): Likewise.
46474 (FP_FAST_FMAL): Likewise.
46475 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
46476 multiply/add.
46477 (FP_FAST_FMAF): Likewise.
46478
475facd1
JJ
464792010-10-15 Jakub Jelinek <jakub@redhat.com>
46480
46481 [BZ #3268]
46482 * math/libm-test.inc (fma_test): Some new testcases.
46483 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
46484 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
46485 y and infinite z. Do multiplication by C already in long double.
46486 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
46487 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
46488 y and infinite z. Do bitwise or of inexact bit into u.d.
46489 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
46490 * sysdeps/i386/fpu/s_fmaf.S: Removed.
46491 * sysdeps/i386/fpu/s_fma.S: Removed.
46492 * sysdeps/i386/fpu/s_fmal.S: Removed.
46493
7c08a05c
JJ
464942010-10-16 Jakub Jelinek <jakub@redhat.com>
46495
46496 [BZ #3268]
46497 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
46498 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
46499 computation is not scheduled after fetestexcept. Fix value
46500 of minimum denormal long double.
46501
f3f7372d
JJ
465022010-10-14 Jakub Jelinek <jakub@redhat.com>
46503
46504 [BZ #3268]
46505 * math/libm-test.inc (fma_test): Add some more tests.
46506 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
46507 correctly.
46508
14d43591
AS
465092010-10-15 Andreas Schwab <schwab@redhat.com>
46510
46511 * scripts/data/localplt-s390-linux-gnu.data: New file.
46512 * scripts/data/localplt-s390x-linux-gnu.data: New file.
46513
5e908464
JJ
465142010-10-13 Jakub Jelinek <jakub@redhat.com>
46515
46516 [BZ #3268]
46517 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
46518 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
46519 instead of dbl-64.
46520 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
46521 inlines.
46522 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
46523 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
46524 if one of x and y is very large and the other is subnormal.
46525 * sysdeps/s390/fpu/s_fmaf.c: New file.
46526 * sysdeps/s390/fpu/s_fma.c: New file.
46527 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
46528 * sysdeps/powerpc/fpu/s_fma.S: New file.
46529 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
46530 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
46531 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
46532
465332010-10-12 Jakub Jelinek <jakub@redhat.com>
46534
46535 [BZ #3268]
46536 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
46537 fma tests.
46538 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
46539 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
46540 * sysdeps/i386/i686/multiarch/s_fma.c: Include
46541 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
46542 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
46543 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
46544 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
46545
b833d51f
UD
465462010-10-12 Ulrich Drepper <drepper@redhat.com>
46547
46548 [BZ #12078]
46549 * posix/regcomp.c (parse_branch): One more memory leak plugged.
46550 * posix/bug-regex31.input: Add test case.
46551
1751705d
UD
465522010-10-11 Ulrich Drepper <drepper@gmail.com>
46553
e9b9cbf5
UD
46554 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
46555 * posix/bug-regex31.input: New file.
46556
46557 [BZ #12078]
46558 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
46559 (parse_sub_exp): Fix last change, use postorder.
46560
ef06edbe
UD
46561 * posix/bug-regex31.c: New file.
46562 * posix/Makefile: Add rules to build and run bug-regex31.
46563
a129c80d
UD
46564 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
46565
46566 [BZ #12078]
46567 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
46568
b76b818e
UD
46569 [BZ #12108]
46570 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
46571 to have entries in sys_siglist.
46572
1751705d
UD
46573 [BZ #12093]
46574 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
46575 be NULL.
46576
9ff8d36f
JJ
465772010-10-07 Jakub Jelinek <jakub@redhat.com>
46578
46579 [BZ #3268]
46580 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
46581 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
46582 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
46583 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
46584 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46585 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
46586 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
46587 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
46588 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
46589 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
46590 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
46591 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
46592 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
46593 * math/ftestexcept.c (fetestexcept): Likewise.
46594 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
46595 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
46596 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
46597 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
46598 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
46599 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
46600 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46601
af325969
UD
466022010-10-11 Ulrich Drepper <drepper@gmail.com>
46603
c579b202 46604 [BZ #12107]
af325969
UD
46605 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
46606 newline.
46607
67a67b95
UD
466082010-10-06 Ulrich Drepper <drepper@gmail.com>
46609
46610 * string/bug-strstr1.c: New file.
46611 * string/Makefile: Add rules to build and run bug-strstr1.
46612
5fb308bc
EB
466132010-10-05 Eric Blake <eblake@redhat.com>
46614
46615 [BZ #12092]
46616 * string/str-two-way.h (two_way_long_needle): Always clear memory
46617 when skipping input due to the shift table.
46618
45db99c7
UD
466192010-10-03 Ulrich Drepper <drepper@gmail.com>
46620
3b111893
UD
46621 [BZ #12005]
46622 * malloc/mcheck.c: Handle large requests.
46623
45db99c7
UD
46624 [BZ #12077]
46625 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
46626 for strncmp and strncasecmp.
46627 * string/stratcliff.c: Add tests for strcmp and strncmp.
46628 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
46629
cf7a1eb8
NI
466302010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46631
46632 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
46633 __set_fpscr.
46634
6484ba5e
AJ
466352010-09-30 Andreas Jaeger <aj@suse.de>
46636
46637 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
46638 (CGROUP_SUPER_MAGIC): Define.
46639 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46640 Handle btrfs and cgroup file systems.
46641 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
46642 Likewise.
46643
91c42559
LM
466442010-09-27 Luis Machado <luisgpm@br.ibm.com>
46645
46646 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
46647 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
46648
87a97932
AK
466492010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46650
46651 [BZ #12067]
46652 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
46653 trying to locate the ELF header.
46654
c21cc9bc
AS
466552010-09-27 Andreas Schwab <schwab@redhat.com>
46656
46657 [BZ #11611]
46658 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
46659 Mask out sign-bit copies when constructing f_fsid.
46660
315970f6
PB
466612010-09-24 Petr Baudis <pasky@suse.cz>
46662
46663 * debug/stack_chk_fail_local.c: Add missing licence exception.
46664 * debug/warning-nop.c: Likewise.
46665
1ac7a2c7
JM
466662010-09-15 Joseph Myers <joseph@codesourcery.com>
46667
46668 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
46669 implementing getdents64 using getdents syscall, set d_type if
46670 __ASSUME_GETDENTS32_D_TYPE.
46671
56801c50
AS
466722010-09-16 Andreas Schwab <schwab@redhat.com>
46673
46674 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
46675 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
46676
dda51327
UD
466772010-09-21 Ulrich Drepper <drepper@redhat.com>
46678
46679 [BZ #12037]
46680 * posix/unistd.h: Undo change of feature selection for ftruncate from
46681 2010-01-11.
46682
8ffcee4a
UD
466832010-09-20 Ulrich Drepper <drepper@redhat.com>
46684
a545ecd9 46685 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
46686 detection.
46687
e24f0a8b
AS
466882010-09-20 Andreas Schwab <schwab@redhat.com>
46689
46690 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
46691 fanotify_mark.
46692 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46693
7291c56f
AS
466942010-09-14 Andreas Schwab <schwab@redhat.com>
46695
46696 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
46697 variables after CHECK_SP call.
46698 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
46699
bc5fb037
AS
467002010-09-13 Andreas Schwab <schwab@redhat.com>
46701 Ulrich Drepper <drepper@redhat.com>
46702
46703 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
46704 re-relocationg ld.so.
46705 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
46706 _dl_init_paths call.
46707 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
46708 here anymore.
46709
e66e7419
UD
467102010-09-14 Ulrich Drepper <drepper@redhat.com>
46711
46712 * resolv/res_init.c (__res_vinit): Count the default server we added.
46713
c044aa75
CLT
467142010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
46715 Ulrich Drepper <drepper@redhat.com>
46716
46717 [BZ #11968]
46718 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46719 (____longjmp_chk): Use %ebx for saving value across system call.
46720 Add unwind info.
46721
32cf4069
AS
467222010-09-06 Andreas Schwab <schwab@redhat.com>
46723
46724 * manual/Makefile: Don't mix pattern rules with normal rules.
46725
817328ee
AS
467262010-09-05 Andreas Schwab <schwab@linux-m68k.org>
46727
46728 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
46729 operation.
46730 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
46731 * libio/iofopncook.c (_IO_cookie_init): Likewise.
46732 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
46733 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
46734 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46735 Likewise.
46736
29fddf61
UD
467372010-09-04 Ulrich Drepper <drepper@redhat.com>
46738
46739 [BZ #11979]
46740 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
46741 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
46742
0959ffc9
UD
467432010-09-02 Ulrich Drepper <drepper@redhat.com>
46744
46745 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
46746 * sysdeps/x86_64/addmul_1.S: Likewise.
46747 * sysdeps/x86_64/lshift.S: Likewise.
46748 * sysdeps/x86_64/mul_1.S: Likewise.
46749 * sysdeps/x86_64/rshift.S: Likewise.
46750 * sysdeps/x86_64/sub_n.S: Likewise.
46751 * sysdeps/x86_64/submul_1.S: Likewise.
46752
ece29840
ST
467532010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
46754
0959ffc9
UD
46755 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
46756 Define __sched_param instead of SCHED_* and sched_param when
ece29840 46757 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 46758 * bits/sched.h [__need_schedparam]
ece29840 46759 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
46760 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
46761 (__defined_schedparam): Define to 1.
ece29840
ST
46762 (__sched_param): New structure, identical to sched_param.
46763 (__need_schedparam): Undefine.
46764
e53a31fe
MF
467652010-08-31 Mike Frysinger <vapier@gentoo.org>
46766
fdc0c10d
MF
46767 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
46768 (epoll_create1): Declare.
46769
e53a31fe
MF
46770 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
46771
a726d796
AS
467722010-08-31 Andreas Schwab <schwab@redhat.com>
46773
46774 [BZ #7066]
46775 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
46776 shifting retval into place.
46777
2f3e3dc7
UD
467782010-09-01 Ulrich Drepper <drepper@redhat.com>
46779
f2933da9
UD
46780 * nis/rpcsvc/nis.h: Update copyright notice.
46781 * nis/rpcsvc/nis.x: Likewise.
46782 * nis/rpcsvc/nis_callback.h: Likewise.
46783 * nis/rpcsvc/nis_callback.x: Likewise.
46784 * nis/rpcsvc/nis_object.x: Likewise.
46785 * nis/rpcsvc/nis_tags.h: Likewise.
46786 * nis/rpcsvc/yp.h: Likewise.
46787 * nis/rpcsvc/yp.x: Likewise.
46788 * nis/rpcsvc/ypupd.h: Likewise.
46789 * nis/yp_xdr.c: Likewise.
46790 * nis/ypupdate_xdr.c: Likewise.
46791
2f3e3dc7
UD
46792 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
46793 mainly the body of pmap_getport. Add parameters to specify timeouts.
46794 (pmap_getport): Use __libc_rpc_getport.
46795 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
46796 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
46797 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
46798
f3dcc2f9
AS
467992010-08-31 Andreas Schwab <schwab@linux-m68k.org>
46800
46801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
46802 fanotify_mark.
46803
6d34eb5b
RM
468042010-08-27 Roland McGrath <roland@redhat.com>
46805
46806 * sysdeps/i386/i686/multiarch/Makefile
46807 (CFLAGS-varshift.c): New variable.
46808
9ea3de11
UD
468092010-08-27 Ulrich Drepper <drepper@redhat.com>
46810
c96d23fc
UD
46811 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
46812 * sysdeps/i386/i686/multiarch/varshift.c: New file.
46813
9ea3de11
UD
46814 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
46815
46816 * sysdeps/x86_64/strlen.S: Minimal code improvement.
46817
623aac7f
L
468182010-08-26 H.J. Lu <hongjiu.lu@intel.com>
46819
46820 * sysdeps/x86_64/strlen.S: Unroll the loop.
46821 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46822 strlen-sse2 strlen-sse2-bsf.
46823 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
46824 __strlen_no_bsf if bit_Slow_BSF is set.
46825 (__strlen_sse42): Removed.
46826 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
46827 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
46828
8b2b7715
RM
468292010-08-25 Roland McGrath <roland@redhat.com>
46830
46831 * sysdeps/x86_64/multiarch/varshift.S: File removed.
46832 * sysdeps/x86_64/multiarch/varshift.c: New file.
46833 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
46834 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
46835 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
46836 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46837
e73015f2
L
468382010-08-25 H.J. Lu <hongjiu.lu@intel.com>
46839
46840 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46841 strlen-sse2 strlen-sse2-bsf.
46842 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
46843 __strlen_sse2_bsf if bit_Slow_BSF is unset.
46844 (__strlen_sse2): Removed.
46845 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
46846 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
46847 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
46848 bit_Slow_BSF for Atom.
46849 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
46850 (index_Slow_BSF): Define.
46851 (HAS_SLOW_BSF): Define.
46852
df24a73e
UD
468532010-08-25 Ulrich Drepper <drepper@redhat.com>
46854
46855 [BZ #10851]
46856 * resolv/res_init.c (__res_vinit): When no server address at all
46857 is given default to loopback.
46858
f2ac4868
RM
468592010-08-24 Roland McGrath <roland@redhat.com>
46860
09055553
RM
46861 * configure.in: Remove config-name.h generation.
46862 * configure: Regenerated.
46863 * config-name.in: File removed.
46864 * scripts/config-uname.sh: New file.
46865 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
46866 ($(objdir)config-name.h): New target.
46867
f2ac4868
RM
46868 * sunrpc/rpc_parse.h: Avoid nested comment.
46869
73f27d5e
RH
468702010-08-24 Richard Henderson <rth@redhat.com>
46871 Ulrich Drepper <drepper@redhat.com>
46872 H.J. Lu <hongjiu.lu@intel.com>
46873
46874 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
46875 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
46876 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
46877 Replace _mm_srli_si128 with __m128i_shift_right. Replace
46878 _mm_alignr_epi8 with _mm_loadu_si128.
46879 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
46880 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
46881 (__m128i_shift_right): Removed.
46882 * sysdeps/i386/i686/multiarch/varshift.h: New file.
46883 * sysdeps/i386/i686/multiarch/varshift.S: New file.
46884 * sysdeps/x86_64/multiarch/varshift.h: New file.
46885 * sysdeps/x86_64/multiarch/varshift.S: New file.
46886
84b9230c
MF
468872010-08-21 Mike Frysinger <vapier@gentoo.org>
46888
46889 * configure.in: Move assembler checks to before sysdep dir checking.
46890
9bbd0ddc
PB
468912010-08-20 Petr Baudis <pasky@suse.cz>
46892
46893 * LICENSES: Sync the sunrpc license.
46894
9da4bb31
UD
468952010-08-19 Ulrich Drepper <drepper@redhat.com>
46896
a7ab6ec8
UD
46897 * sunrpc/auth_des.c: Update copyright notice once again.
46898 * sunrpc/auth_none.c: Likewise.
46899 * sunrpc/auth_unix.c: Likewise.
46900 * sunrpc/authdes_prot.c: Likewise.
46901 * sunrpc/authuxprot.c: Likewise.
46902 * sunrpc/bindrsvprt.c: Likewise.
46903 * sunrpc/clnt_gen.c: Likewise.
46904 * sunrpc/clnt_perr.c: Likewise.
46905 * sunrpc/clnt_raw.c: Likewise.
46906 * sunrpc/clnt_simp.c: Likewise.
46907 * sunrpc/clnt_tcp.c: Likewise.
46908 * sunrpc/clnt_udp.c: Likewise.
46909 * sunrpc/clnt_unix.c: Likewise.
46910 * sunrpc/des_crypt.c: Likewise.
46911 * sunrpc/des_soft.c: Likewise.
46912 * sunrpc/get_myaddr.c: Likewise.
46913 * sunrpc/getrpcport.c: Likewise.
46914 * sunrpc/key_call.c: Likewise.
46915 * sunrpc/key_prot.c: Likewise.
46916 * sunrpc/openchild.c: Likewise.
46917 * sunrpc/pm_getmaps.c: Likewise.
46918 * sunrpc/pm_getport.c: Likewise.
46919 * sunrpc/pmap_clnt.c: Likewise.
46920 * sunrpc/pmap_prot.c: Likewise.
46921 * sunrpc/pmap_prot2.c: Likewise.
46922 * sunrpc/pmap_rmt.c: Likewise.
46923 * sunrpc/rpc/auth.h: Likewise.
46924 * sunrpc/rpc/auth_unix.h: Likewise.
46925 * sunrpc/rpc/clnt.h: Likewise.
46926 * sunrpc/rpc/des_crypt.h: Likewise.
46927 * sunrpc/rpc/key_prot.h: Likewise.
46928 * sunrpc/rpc/netdb.h: Likewise.
46929 * sunrpc/rpc/pmap_clnt.h: Likewise.
46930 * sunrpc/rpc/pmap_prot.h: Likewise.
46931 * sunrpc/rpc/pmap_rmt.h: Likewise.
46932 * sunrpc/rpc/rpc.h: Likewise.
46933 * sunrpc/rpc/rpc_des.h: Likewise.
46934 * sunrpc/rpc/rpc_msg.h: Likewise.
46935 * sunrpc/rpc/svc.h: Likewise.
46936 * sunrpc/rpc/svc_auth.h: Likewise.
46937 * sunrpc/rpc/types.h: Likewise.
46938 * sunrpc/rpc/xdr.h: Likewise.
46939 * sunrpc/rpc_clntout.c: Likewise.
46940 * sunrpc/rpc_cmsg.c: Likewise.
46941 * sunrpc/rpc_common.c: Likewise.
46942 * sunrpc/rpc_cout.c: Likewise.
46943 * sunrpc/rpc_dtable.c: Likewise.
46944 * sunrpc/rpc_hout.c: Likewise.
46945 * sunrpc/rpc_main.c: Likewise.
46946 * sunrpc/rpc_parse.c: Likewise.
46947 * sunrpc/rpc_parse.h: Likewise.
46948 * sunrpc/rpc_prot.c: Likewise.
46949 * sunrpc/rpc_sample.c: Likewise.
46950 * sunrpc/rpc_scan.c: Likewise.
46951 * sunrpc/rpc_scan.h: Likewise.
46952 * sunrpc/rpc_svcout.c: Likewise.
46953 * sunrpc/rpc_tblout.c: Likewise.
46954 * sunrpc/rpc_util.c: Likewise.
46955 * sunrpc/rpc_util.h: Likewise.
46956 * sunrpc/rpcinfo.c: Likewise.
46957 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
46958 * sunrpc/rpcsvc/key_prot.x: Likewise.
46959 * sunrpc/rpcsvc/klm_prot.x: Likewise.
46960 * sunrpc/rpcsvc/mount.x: Likewise.
46961 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
46962 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
46963 * sunrpc/rpcsvc/rex.x: Likewise.
46964 * sunrpc/rpcsvc/rstat.x: Likewise.
46965 * sunrpc/rpcsvc/rusers.x: Likewise.
46966 * sunrpc/rpcsvc/sm_inter.x: Likewise.
46967 * sunrpc/rpcsvc/spray.x: Likewise.
46968 * sunrpc/rpcsvc/yppasswd.x: Likewise.
46969 * sunrpc/rtime.c: Likewise.
46970 * sunrpc/svc.c: Likewise.
46971 * sunrpc/svc_auth.c: Likewise.
46972 * sunrpc/svc_authux.c: Likewise.
46973 * sunrpc/svc_raw.c: Likewise.
46974 * sunrpc/svc_run.c: Likewise.
46975 * sunrpc/svc_simple.c: Likewise.
46976 * sunrpc/svc_tcp.c: Likewise.
46977 * sunrpc/svc_udp.c: Likewise.
46978 * sunrpc/svc_unix.c: Likewise.
46979 * sunrpc/svcauth_des.c: Likewise.
46980 * sunrpc/xcrypt.c: Likewise.
46981 * sunrpc/xdr.c: Likewise.
46982 * sunrpc/xdr_array.c: Likewise.
46983 * sunrpc/xdr_float.c: Likewise.
46984 * sunrpc/xdr_mem.c: Likewise.
46985 * sunrpc/xdr_rec.c: Likewise.
46986 * sunrpc/xdr_ref.c: Likewise.
46987 * sunrpc/xdr_sizeof.c: Likewise.
46988 * sunrpc/xdr_stdio.c: Likewise.
46989
9da4bb31
UD
46990 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
46991 handling.
46992
bdaa77bc
AS
469932010-08-19 Andreas Schwab <schwab@redhat.com>
46994
46995 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
46996
fe2f79db
LM
469972010-08-19 Luis Machado <luisgpm@br.ibm.com>
46998
46999 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
47000 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
47001 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
47002 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
47003 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
47004 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
47005 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
47006 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
47007 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
47008 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
47009 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
47010 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
47011 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
47012 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
47013
b9b42ee0
AB
470142010-07-26 Anton Blanchard <anton@samba.org>
47015
47016 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
47017 * malloc/arena.c (heap_trim): Likewise.
47018
1c06ba31
UD
470192010-08-16 Ulrich Drepper <drepper@redhat.com>
47020
47021 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
47022 here. Not...
47023 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
47024 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
47025
f8392f40
L
470262010-08-12 H.J. Lu <hongjiu.lu@intel.com>
47027
47028 * sysdeps/i386/elf/Makefile: New file.
47029
3162f12e
AS
470302010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47031
47032 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
47033 from fanotify_init.
47034 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
47035 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47036
28c90b2c
UD
470372010-08-15 Ulrich Drepper <drepper@redhat.com>
47038
47039 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
47040 of strncasecmp_l.
1feccb6c 47041 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 47042
ca6bb004
UD
470432010-08-14 Ulrich Drepper <drepper@redhat.com>
47044
e9f82e0d
UD
47045 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47046 strncase_l-nonascii.
47047 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47048 Add strncase_l-ssse3.
47049 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
47050 * sysdeps/x86_64/strcmp.S: Likewise.
47051 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
47052 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
47053 * sysdeps/x86_64/strncase.S: New file.
47054 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
47055 * sysdeps/x86_64/strncase_l.S: New file.
47056 * string/Makefile (strop-tests): Add strncasecmp.
47057 * string/test-strncasecmp.c: New file.
47058
47059 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
47060 warning.
47061
ca6bb004
UD
47062 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
47063 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
47064
052fa7b3
AS
470652010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47066
47067 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
47068
962dba78
UD
470692010-08-12 Ulrich Drepper <drepper@redhat.com>
47070
47071 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
47072 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
47073 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
47074
bebff237
AM
470752010-05-01 Alan Modra <amodra@gmail.com>
47076
47077 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
47078 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
47079 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
47080 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
47081 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
47082 tidying. Don't tail-call __sigjmp_save for static lib.
47083 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
47084 save location.
47085 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
47086 (CALL_MCOUNT): Add eh info, and nop after bl.
47087 (TAIL_CALL_SYSCALL_ERROR): New macro.
47088 (PSEUDO_RET): Use it.
47089 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47090 Correct save location of integer regs and cr.
47091 (_dl_profile_resolve): Correct cr save location. Delete nops
47092 after bl when SHARED. Reduce cfi size a little by better
47093 placement of cfi directives.
47094 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
47095 make a stack frame. Instead use parm save area as a temp.
47096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
47097 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
47098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47099 Don't make a stack frame for parent, use parm save area.
47100 Increase child stack frame to 112 bytes. Don't save unused reg,
47101 and adjust reg usage. Set up cfi on error recovery and
47102 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
47103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47104 (__makecontext): Add dummy nop after jump to exit.
47105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
47106 Use correct parm save area and cr save, reduce stack frame.
47107 Correct cfi for possible PSEUDO_RET frame setup.
47108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
47109 Branch to local label emitted by PSEUDO_RET rather than
47110 __syscall_error.
47111
02637374
AS
471122010-08-12 Andreas Schwab <schwab@redhat.com>
47113
47114 [BZ #11904]
47115 * locale/programs/locale.c (print_assignment): New function.
47116 (show_locale_vars): Use it.
47117
c3e2f19b
UD
471182010-08-11 Ulrich Drepper <drepper@redhat.com>
47119
3cdaa6ad
UD
47120 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
47121 field.
47122 (struct statfs64): Likewise.
47123 (_STATFS_F_FLAGS): Define.
47124 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
47125 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47126 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
47127 (ST_VALID): Define locally.
47128 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
47129 __statvfs_getflags, use the provided value.
47130 * sysdeps/unix/sysv/linux/kernel-features.h: Define
47131 __ASSUME_STATFS_F_FLAGS.
47132
754f7da3
UD
47133 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
47134
10b3bedc
UD
47135 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
47136 Add sys/fanotify.h.
47137 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
47138 fanotify_mask for GLIBC_2.13.
47139 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
47140 fanotify_init and fanotify_mark.
47141 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47142 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
47143
c08fb0d7
UD
47144 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
47145 Add prlimit.
47146 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
47147 prlimit64 for GLIBC_2.13.
47148 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
47149 prlimit64.
47150 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
47151 syscall.
47152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
47153 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47154 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
47155 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
47156 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
47157 add prlimit alias.
47158 * sysdeps/unix/sysv/linux/prlimit.c: New file.
47159
15bac72b
UD
47160 [BZ #11903]
47161 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
47162 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
47163
c3e2f19b
UD
47164 * nss/Makefile: Add rules to build and run tst-nss-test1.
47165 * shlib-versions: Add entry for libnss_test1.
47166 * nss/nss_test1.c: New file.
47167 * nss/tst-nss-test1.c: New file.
47168
47169 * nss/nsswitch.c (__nss_database_custom): Define new variable.
47170 (__nss_configure_lookup): Set appropriate entry in
47171 __nss_configure_lookup to true.
47172 * nss/nsswitch.h: Define enum with indeces of databases in
47173 databases and __nss_database_custom arrays. Declare
47174 __nss_database_custom.
47175 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
47176 to avoid using nscd when custom rules are installed.
47177 * nss/getXXbyYY_r.c: Likewise.
47178 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47179
47180 * nss/nss_files/files-parse.c: Whitespace fixes.
47181
f15ce4d8
UD
471822010-08-09 Ulrich Drepper <drepper@redhat.com>
47183
47184 [BZ #11883]
47185 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
47186 * posix/fnmatch_loop.c: Likewise.
47187
d22e4cc9
AK
471882010-07-17 Andi Kleen <ak@linux.intel.com>
47189
47190 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
47191 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
47192 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
47193 * Versions.def [GLIBC_2.13]: Add.
47194
805bc17d
UD
471952010-08-06 Ulrich Drepper <drepper@redhat.com>
47196
47197 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47198 Also fail if tpwd after pwuid call is NULL.
47199
5a42321d
ST
472002010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
47201
47202 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
47203 when converting to ms.
47204
fd3ebeda
ST
472052010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
47206
47207 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
47208 EOPNOTSUPP errors with ENOTTY.
47209 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
47210 EOPNOTSUPP errors with ENOTTY.
47211
73507d3a
UD
472122010-07-31 Ulrich Drepper <drepper@redhat.com>
47213
47214 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47215 Add strcasecmp_l-ssse3.
47216 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
47217 strcasecmp.
47218 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
47219 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
47220 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
47221
fe36dd02
UD
472222010-07-30 Ulrich Drepper <drepper@redhat.com>
47223
66f6765a
UD
47224 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
47225
42e08a54
UD
47226 * string/Makefile (strop-tests): Add strcasecmp.
47227 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47228 strcasecmp_l-nonascii.
47229 (gen-as-const-headers): Add locale-defines.sym.
47230 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
47231 * sysdeps/x86_64/strcasecmp.S: New file.
47232 * sysdeps/x86_64/strcasecmp_l.S: New file.
47233 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
47234 * sysdeps/x86_64/locale-defines.sym: New file.
47235 * string/test-strcasecmp.c: New file.
47236
fe36dd02
UD
47237 * string/test-strcasestr.c: Test both ends of the range of characters.
47238 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
47239
48cbc0d6
RM
472402010-07-29 Roland McGrath <roland@redhat.com>
47241
76e6d6bc 47242 [BZ #11856]
48cbc0d6
RM
47243 * manual/locale.texi (Yes-or-No Questions): Fix example code.
47244
880113d9
UD
472452010-07-27 Ulrich Drepper <drepper@redhat.com>
47246
47247 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
47248 for ld.so.
47249
deb9cabb
AS
472502010-07-27 Andreas Schwab <schwab@redhat.com>
47251
47252 * manual/memory.texi (Malloc Tunable Parameters): Document
47253 M_PERTURB.
47254
1c7570ff
RM
472552010-07-26 Roland McGrath <roland@redhat.com>
47256
47257 [BZ #11840]
47258 * configure.in (-fgnu89-inline check): Set and substitute
47259 gnu89_inline, not libc_cv_gnu89_inline.
47260 * configure: Regenerated.
47261 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
47262
24fb0f88
UD
472632010-07-26 Ulrich Drepper <drepper@redhat.com>
47264
47265 * string/test-strnlen.c: New file.
47266 * string/Makefile (strop-tests): Add strnlen.
47267 * string/tester.c (test_strnlen): Add a few more test cases.
47268 * string/tst-strlen.c: Better error reporting.
47269
47270 * sysdeps/x86_64/strnlen.S: New file.
47271
8e96b93a
UD
472722010-07-24 Ulrich Drepper <drepper@redhat.com>
47273
47274 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
47275 lower-latency instructions.
47276
dbc676d4
UD
472772010-07-23 Ulrich Drepper <drepper@redhat.com>
47278
47279 * string/test-strcasestr.c: New file.
47280 * string/test-strstr.c: New file.
47281 * string/Makefile (strop-tests): Add strstr and strcasestr.
47282 * string/str-two-way.h: Don't undefine MAX.
47283 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
47284
f6a31e0e
AS
472852010-07-21 Andreas Schwab <schwab@redhat.com>
47286
47287 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47288 strcasestr-nonascii.
47289 (CFLAGS-strcasestr-nonascii.c): Define.
47290 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
47291 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
47292 Remove unused attribute.
47293
5dbc3b6c
RM
472942010-07-20 Roland McGrath <roland@redhat.com>
47295
47296 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
47297 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
47298 ld.so.cache was broken. With it, there is no way to disable dsocaps
47299 like LD_HWCAP_MASK can disable hwcaps.
47300
23d101d8
EPM
473012010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
47302
47303 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
47304
cc9f2e47
UD
473052010-07-16 Ulrich Drepper <drepper@redhat.com>
47306
47307 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
47308 call in strcasestr.
47309 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
47310 __strcasestr_sse42_nonascii.
47311 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
47312 strcasestr-nonascii.c.
47313 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
47314
77c1b069
LM
473152010-06-15 Luis Machado <luisgpm@br.ibm.com>
47316
47317 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
47318 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
47319 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
47320 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
47321
440566c3
UD
473222010-07-09 Ulrich Drepper <drepper@redhat.com>
47323
47324 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
47325 fcntl.
47326
5be9d05d
AS
473272010-07-06 Andreas Schwab <schwab@redhat.com>
47328
c30b7ee2 47329 [BZ #11577]
5be9d05d
AS
47330 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
47331 dl_signal_cerror.
47332
8a492a67
UD
473332010-07-06 Ulrich Drepper <drepper@redhat.com>
47334
47335 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
47336 _PC_PIPE_BUF using F_GETPIPE_SZ.
47337
713df3d5
RM
473382010-07-05 Roland McGrath <roland@redhat.com>
47339
47340 * manual/arith.texi (Rounding Functions): Fix rint description
47341 implicit in round description.
47342
702e8f14
UD
473432010-07-02 Ulrich Drepper <drepper@redhat.com>
47344
47345 * elf/Makefile: Fix linking for a few tests to make recent linker
47346 happy.
47347
52ed8be9
AS
473482010-06-30 Andreas Schwab <schwab@redhat.com>
47349
47350 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47351 $(common-objpfx)libc_nonshared.a.
47352
f47c9a11
LM
473532010-06-21 Luis Machado <luisgpm@br.ibm.com>
47354
47355 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
47356 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
47357 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47358 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47359 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
47360 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
47361 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47362 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
47364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
47365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
47366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
47368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
47370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
47371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
47372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
47373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
47375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
47377 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
47378 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
47379 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
47380 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
47381 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
47382 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
47383 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
47384 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
47385 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
47386 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
47387 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
47388 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
47389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
47390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
47391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
47392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
47393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
47394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
47395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
47396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
47397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
47398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
47399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
47400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
47401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
47402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
47403
6fb8cbcb
L
474042010-06-25 H.J. Lu <hongjiu.lu@intel.com>
47405
47406 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
47407 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
47408 * string/memmove.c (memmove): Renamed to ...
47409 (MEMMOVE): ...this. Default to memmove.
47410 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
47411 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
47412 (END_CHK): Define.
47413 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47414 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
47415 mempcpy-ssse3-back memmove-ssse3-back.
47416 * sysdeps/x86_64/multiarch/bcopy.S: New file .
47417 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
47418 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
47419 * sysdeps/x86_64/multiarch/memcpy.S: New file.
47420 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
47421 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
47422 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
47423 * sysdeps/x86_64/multiarch/memmove.c: New file.
47424 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
47425 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
47426 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
47427 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
47428 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
47429 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
47430 Define.
47431 (index_Fast_Copy_Backward): Define.
47432 (HAS_ARCH_FEATURE): Define.
47433 (HAS_FAST_REP_STRING): Define.
47434 (HAS_FAST_COPY_BACKWARD): Define.
47435
4e733bac 474362010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
47437
47438 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47439 Restore proper fallback handling.
47440
63c4ed22
UD
474412010-06-19 Ulrich Drepper <drepper@redhat.com>
47442
ac2b484c
UD
47443 [BZ #11701]
47444 * posix/group_member.c (__group_member): Correct checking loop.
47445
63c4ed22
UD
47446 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
47447 OOM in getpwuid_r correctly. Return error number when the caller
47448 should return, otherwise -1.
47449 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
47450 call returning > 0 value.
47451 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
47452
765ade4b
AS
474532010-06-07 Andreas Schwab <schwab@redhat.com>
47454
47455 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
47456 libc_nonshared.a from targets in modules-names.
47457
80da2e09
KS
474582010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
47459
47460 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
47461 requires it.
47462
158db122
LM
474632010-06-10 Luis Machado <luisgpm@br.ibm.com>
47464
47465 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
47466 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
47467 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
47468 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
47469
caa78cf8
AS
474702010-06-02 Andreas Schwab <schwab@redhat.com>
47471
47472 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
47473
b2ef2c01
UD
474742010-06-14 Ulrich Drepper <drepper@redhat.com>
47475
47476 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
47477 and F_GETPIPE_SZ.
47478 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47479 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47480 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47481 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47482 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47483 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
47484
fbd643b6
RM
474852010-06-14 Roland McGrath <roland@redhat.com>
47486
47487 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
47488
f32f2869
JJ
474892010-06-07 Jakub Jelinek <jakub@redhat.com>
47490
47491 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
47492 __REDIRECT followed by __THROW.
47493 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
47494 * posix/getopt.h (getopt): Likewise.
47495
2a50c078
EPM
474962010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
47497
47498 * hurd/lookup-at.c (__file_name_lookup_at): Accept
47499 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
47500 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
47501 in AT_FLAGS.
47502 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
47503 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
47504
eb5ad2eb
LM
475052010-05-28 Luis Machado <luisgpm@br.ibm.com>
47506
47507 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
47508
3c88fe1e
L
475092010-05-26 H.J. Lu <hongjiu.lu@intel.com>
47510
47511 [BZ #11640]
47512 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47513 Properly check family and model.
47514
d2f73151
TY
475152010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
47516
47517 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
47518
ebd2e13d
LM
475192010-05-24 Luis Machado <luisgpm@br.ibm.com>
47520
47521 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
47522
b32b8b45
UD
475232010-05-21 Ulrich Drepper <drepper@redhat.com>
47524
47525 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
47526 symbol reference.
47527
9acbe24d
AS
475282010-05-19 Andreas Schwab <schwab@redhat.com>
47529
47530 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
47531 symbol reference.
47532
f0ccf6ea
AS
475332010-05-21 Andreas Schwab <schwab@redhat.com>
47534
3d04ff3a
AS
47535 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
47536 and internal_recvmmsg.
47537 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
47538 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
47539 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
47540 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
47541
f0ccf6ea
AS
47542 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
47543 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
47544 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
47545
5b08ac57
AS
475462010-05-20 Andreas Schwab <schwab@redhat.com>
47547
47548 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
47549
4828935d
LM
475502010-05-17 Luis Machado <luisgpm@br.ibm.com>
47551
47552 POWER7 optimizations.
47553 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
47554 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
47555
373d545e
UD
475562010-05-19 Ulrich Drepper <drepper@redhat.com>
47557
47558 * version.h: Update for 2.13 development version.
47559
21a2b1ae
AS
475602010-05-12 Andrew Stubbs <ams@codesourcery.com>
47561
47562 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
47563 exceptions. Return 0.
47564
3f7dcb2b
RM
475652010-05-07 Roland McGrath <roland@redhat.com>
47566
47567 * elf/ldconfig.c (main): Add a const.
47568
5f24d53a 475692010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 47570
a160f8d8
UD
47571 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
47572 (args_options): Add no-idn option.
47573 (ahosts_keys_int): Add idn_flags to ai_flags.
47574 (parse_option): Handle 'i' option to clear idn_flags.
47575
5f24d53a
UD
47576 * malloc/malloc.c (_int_free): Possible race in the most recently
47577 added check. Only act on the data if no current modification
47578 happened.
265bb1ce
UD
47579
47580See ChangeLog.17 for earlier changes.