]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
misc/sys/cdefs.h: Add _Noreturn macro for pre-C11 compilers
[thirdparty/glibc.git] / ChangeLog
CommitLineData
c4c41244
PE
12014-07-02 Will Newton <will.newton@linaro.org>
2 Paul Eggert <eggert@cs.ucla.edu>
3
4 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
5
e1e041c4
SP
62014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7
8 * resolv/gethnamaddr.c: Add comment warning that the file is
9 not maintained.
10
ccf431ff
CD
112014-07-01 Carlos O'Donell <carlos@redhat.com>
12
d34570a6
CD
13 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
14 entries.
15
ccf431ff
CD
16 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
17 entry for aio_cancel and aio_cancel64.
18 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
19 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
20 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
21 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
22 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
23 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
24 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
25 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
26 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
27 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
28 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
29 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
30 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
31
ca06321d
RM
322014-07-01 Roland McGrath <roland@hack.frob.com>
33
34 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
35 * nptl/pthread_mutex_lock.c: Likewise.
36 * nptl/pthread_mutex_timedlock.c: Likewise.
37 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
38
a1ac3184
RH
392014-07-01 Richard henderson <rth@redhat.com>
40
631021e0
RH
41 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
42 (__isnan, __isnanl): Remove.
43 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
44
a1ac3184
RH
45 * sysdeps/alpha/fpu/libm-test-ulps: Update.
46
0c1d731f
SL
472014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
48
49 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
50
76985d3e
SP
512014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
52
53 * resolv/nss_dns/dns-host.c (getanswer_r)
54 [MULTI_PTRS_ARE_ALIASES]: Remove code.
55
b0cb3096
JM
562014-07-01 Joseph Myers <joseph@codesourcery.com>
57
58 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
59 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
60 undefine.
61 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
62 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
63
4d76cb39
RM
642014-07-01 Roland McGrath <roland@hack.frob.com>
65
66 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
67 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
68
69 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
70 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
71
72 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
73 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
74 ... here.
75 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
76 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
77
78 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
79 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
80 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
81 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
82
83 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
84 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
85 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
86 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
87 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
88 Moved ...
89 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
90 ... here.
91 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
92 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
93 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
94 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
95 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
96 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
97 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
98 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
99 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
100 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
101 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
102 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
103 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
104 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
105 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
106 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
107 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
108 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
109 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
110 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
111 ... here.
112 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
113 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
114 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
115 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
116 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
117 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
118 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
119 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
120
0cdcad17
DH
1212014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
122
123 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
124 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
125 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
126 Add sysdep.
127
9b71d0e3
AZ
1282014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
129
130 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
131
665390c2
JM
1322014-06-30 Joseph Myers <joseph@codesourcery.com>
133
ae05a9d7
JM
134 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
135 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
136
a7672a2f
JM
137 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
138
665390c2
JM
139 * sysdeps/arm/libm-test-ulps: Regenerated.
140
d7a05d07
MR
1412014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
142 Roland McGrath <roland@hack.frob.com>
143
144 * test-skeleton.c (signal_handler): Kill the whole process group
145 before killing the child individually.
146 (main): Report any failure on `setpgid'.
147
46f1d8a6
RM
1482014-06-30 Roland McGrath <roland@hack.frob.com>
149
150 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
151 from _TLS_H to _ARM_NPTL_TLS_H.
152 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
153 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
154
9c37ec0b
JM
1552014-06-30 Joseph Myers <joseph@codesourcery.com>
156
ce9c5b3e
JM
157 [BZ #16539]
158 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
159 (__expm1l): Return argument unchanged when small but not
160 subnormal.
161
3a6e9887
JM
162 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
163 include macro name.
164 (_FP_UNPACK_RAW_1_P): Likewise.
165 (_FP_PACK_RAW_1): Likewise.
166 (_FP_PACK_RAW_1_P): Likewise.
167 (_FP_MUL_MEAT_1_wide): Likewise.
168 (_FP_MUL_MEAT_DW_1_hard): Likewise.
169 (_FP_MUL_MEAT_1_hard): Likewise.
170 (_FP_DIV_MEAT_1_imm): Likewise.
171 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
172 (_FP_DIV_MEAT_1_udiv): Likewise.
173 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
174 (_FP_UNPACK_RAW_2): Likewise.
175 (_FP_UNPACK_RAW_2_P): Likewise.
176 (_FP_PACK_RAW_2): Likewise.
177 (_FP_PACK_RAW_2_P): Likewise.
178 (_FP_MUL_MEAT_DW_2_wide): Likewise.
179 (_FP_MUL_MEAT_2_wide): Likewise.
180 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
181 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
182 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
183 (_FP_MUL_MEAT_2_gmp): Likewise.
184 (_FP_DIV_MEAT_2_udiv): Likewise.
185 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
186 (_FP_FRAC_SRL_4): Likewise.
187 (_FP_FRAC_SRST_4): Likewise.
188 (_FP_FRAC_SRS_4): Likewise.
189 (_FP_UNPACK_RAW_4): Likewise.
190 (_FP_UNPACK_RAW_4_P): Likewise.
191 (_FP_PACK_RAW_4): Likewise.
192 (_FP_PACK_RAW_4_P): Likewise.
193 (_FP_MUL_MEAT_DW_4_wide): Likewise.
194 (_FP_MUL_MEAT_4_wide): Likewise.
195 (_FP_MUL_MEAT_4_gmp): Likewise.
196 (umul_ppppmnnn): Likewise.
197 (_FP_DIV_MEAT_4_udiv): Likewise.
198 (__FP_FRAC_ADD_4): Likewise.
199 (__FP_FRAC_SUB_3): Likewise.
200 (__FP_FRAC_SUB_4): Likewise.
201 (__FP_FRAC_DEC_3): Likewise.
202 (__FP_FRAC_DEC_4): Likewise.
203 (__FP_FRAC_ADDI_4): Likewise.
204 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
205 (_FP_FRAC_SRL_8): Likewise.
206 (_FP_FRAC_SRS_8): Likewise.
207
9c37ec0b
JM
208 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
209 include macro name.
210 (FP_UNPACK_RAW_EP): Likewise.
211 (FP_PACK_RAW_E): Likewise.
212 (FP_PACK_RAW_EP): Likewise.
213 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
214 (_FP_ISSIGNAN): Likewise.
215 (_FP_ADD_INTERNAL): Likewise.
216 (_FP_FMA): Likewise.
217 (_FP_CMP): Likewise.
218 (_FP_SQRT): Likewise.
219 (_FP_TO_INT): Likewise.
220 (_FP_FROM_INT): Likewise.
221 (FP_EXTEND): Likewise.
222 (_FP_DIV_MEAT_N_loop): Likewise.
223
2125f674
MR
2242014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
225
226 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
227 throughout.
228
edea4028
JM
2292014-06-29 Joseph Myers <joseph@codesourcery.com>
230
231 [BZ #17097]
232 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
233 result with correct sign in case of exponents that produce
234 overflow except for X very close to 1.
235
dd0ba018
PE
2362014-06-28 Paul Eggert <eggert@cs.ucla.edu>
237
238 mktime: merge #if/#ifdef usage from glibc
239 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
240 as that works with both Glibc's and Gnulib's style.
241 See thread starting at Siddhesh Poyarekar's bug report at:
242 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
243
64df73c2
SP
2442014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
245
246 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
247 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
248 * sysdeps/tile/tilegx/memmove.c: Remove file.
249
f1eafb41
JM
2502014-06-27 Joseph Myers <joseph@codesourcery.com>
251
252 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
253 abi-name definition.
254 * scripts/soversions.awk: Do not handle or generate ABI lines.
255 * shlib-versions: Remove ABI entries.
256 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
257 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
258
58eb0862
RM
2592014-06-27 Roland McGrath <roland@hack.frob.com>
260
37caf178
RM
261 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
262 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
263 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
264 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
265 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
266 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
267 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
268 Moved ...
269 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
270 ... here.
271 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
272 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
273 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
274 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
275 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
276 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
277 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
278 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
279 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
280 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
281 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
282 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
283 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
284 Moved ...
285 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
286 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
287 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
288 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
289 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
290 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
291 Moved ...
292 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
293 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
294 Moved ...
295 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
296 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
297 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
298 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
299 Moved ...
300 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
301 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
302 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
303 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
304 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
305 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
306 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
307 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
308 Moved ...
309 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
310 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
311 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
312 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
313 Moved ...
314 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
315 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
316 Moved ...
317 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
318 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
319 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
320 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
321 Moved ...
322 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
323 ... here.
324 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
325 Identical file removed.
326 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
327 Moved ...
328 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
329 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
330 Identical file removed.
331 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
332 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
333 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
334 Moved ...
335 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
336 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
337 Identical file removed.
338 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
339 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
340 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
341 Identical file removed.
342 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
343 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
344 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
345 Identical file removed.
346 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
347 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
348 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
349 Identical file removed.
350 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
351 Moved ...
352 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
353 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
354 Identical file removed.
355 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
356 Moved ...
357 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
358 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
359 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
360 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
361 Identical file removed.
362 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
363 Moved ...
364 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
365 ... here.
366 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
367 Identical file removed.
368 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
369 Moved ...
370 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
371 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
372 Identical file removed.
373 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
374 Moved ...
375 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
376 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
377 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
378 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
379 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
380 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
381 Moved ...
382 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
383 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
384 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
385
58eb0862
RM
386 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
387 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
388 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
389 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
390 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
391
6f12d062
AS
3922014-06-27 Arjun Shankar <arjun.is@lostca.se>
393
394 [BZ #17092]
395 * nscd/nscd.c (monitor_child): Return exit status of child
396 instead of return value from wait syscall.
397
be254932
JM
3982014-06-27 Joseph Myers <joseph@codesourcery.com>
399
cb403c34
JM
400 * configure.ac (libc_commonpagesize): Remove variable.
401 (libc_relro_required): Likewise.
402 (libc_cv_z_relro): Remove configure test.
403 * configure: Regenerated.
404 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
405 variable.
406 (libc_relro_required): Likewise.
407 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
408 (libc_relro_required): Likewise.
409 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
410 (libc_relro_required): Likewise.
411 * sysdeps/arm/preconfigure: Regenerated.
412 * sysdeps/ia64/preconfigure: Remove file.
413 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
414 variable.
415 (libc_relro_required): Likewise.
416
be254932
JM
417 [BZ #16561]
418 [BZ #16562]
419 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
420 (__ieee754_yn): Set FE_TONEAREST mode internally and then
421 recompute overflowing results in original rounding mode.
422 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
423 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
424 recompute overflowing results in original rounding mode.
425 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
426 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
427 recompute overflowing results in original rounding mode.
428 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
429 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
430 recompute overflowing results in original rounding mode.
431 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
432 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
433 recompute overflowing results in original rounding mode.
434 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
435 (libc_feholdsetround_ctx): New macro.
436 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
437 * sysdeps/i386/fpu/libm-test-ulps: Update.
438 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
439
b351d85a
JM
4402014-06-26 Joseph Myers <joseph@codesourcery.com>
441
442 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
443 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
444 corresponding .cpsetup call.
445
3cb4de47
RM
4462014-06-26 Roland McGrath <roland@hack.frob.com>
447
448 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
449 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
450 * sysdeps/arm/Makefile [$(subdir) = csu]
451 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
452 (static-only-routines): Add aeabi_read_tp here.
453 (shared-only-routines): Add libc-aeabi_read_tp here.
454 (CFLAGS-libc-start.c): Add -fexceptions here.
455 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
456 (sysdep_routines, static-only-routines, shared-only-routines):
457 Don't add to these here.
458 (CFLAGS-libc-start.c): Likewise.
459
460 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
461 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
462 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
463 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
464 * sysdeps/arm/Makefile [$(subdir) = rt]
465 (librt-sysdep_routines, librt-shared-only-routines):
466 Append rt-aeabi_unwind_cpp_pr1 here.
467 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
468 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
469 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
470 (libpthread-sysdep_routines, libpthread-shared-only-routines):
471 Append nptl-aeabi_unwind_cpp_pr1 here.
472 (tests): Filter out tst-cleanupx4 here.
473 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
474 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
475 Don't do those here.
476
354426bb
JM
4772014-06-26 Joseph Myers <joseph@codesourcery.com>
478
479 * scripts/list-sources.sh: Do not handle ports specially.
480
28b0a8c9
RM
4812014-06-26 Roland McGrath <roland@hack.frob.com>
482
a3dd035d
RM
483 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
484 * sysdeps/arm/feupdateenv.c: Likewise.
485
28b0a8c9
RM
486 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
487
e66a8203
JM
4882014-06-26 Joseph Myers <joseph@codesourcery.com>
489
490 * manual/texinfo.tex: Update to version 2014-05-05.10 with
491 trailing whitespace removed.
492 * scripts/config.guess: Update to version 2014-03-23.
493 * scripts/config.sub: Update to version 2014-05-01
494 * scripts/install-sh: Update to version 2013-12-25.23.
495 * scripts/move-if-change: Update from gnulib.
496
74171115
SP
4972014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
498
b97c9ce5
SP
499 * debug/memmove_chk.c: Remove pagecopy.h include.
500
4000f892
SP
5012014-06-26 Paul Eggert <eggert@cs.ucla.edu>
502
74171115
SP
503 * time/mktime.c (leapyear): Remove inline keyword. The code is now
504 identical to gnulib mktime.
505
a8779c28
JM
5062014-06-26 Joseph Myers <joseph@codesourcery.com>
507
e64708de
JM
508 * configure.ac: Do not test for machine being rs6000. Do not test
509 for powerpc*-*soft.
510 * configure: Regenerated.
511
a8779c28
JM
512 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
513 test.
514 * configure: Regenerated.
515 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
516 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
517 Remove configure test.
518 * sysdeps/arm/configure: Regenerated.
519 * sysdeps/nptl/configure.ac: Do not check
520 libc_cv_asm_cfi_directives.
521 * sysdeps/nptl/configure: Regenerated.
522 * sysdeps/x86_64/nptl/configure.ac: Remove file.
523 * sysdeps/x86_64/nptl/configure: Remove generated file.
524 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
525 unconditional.
526 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
527
2aac0a86
SP
5282014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
529
059bf913
SP
530 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
531 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
532 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
533 it is defined.
534
4cf5b6d0
SP
535 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
536 instead of whether it is defined.
537 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
538 * sysdeps/hppa/dl-machine.h: Likewise.
539 * sysdeps/ia64/dl-machine.h: Likewise.
540 * sysdeps/m68k/dl-machine.h: Likewise.
541 * sysdeps/microblaze/dl-machine.h: Likewise.
542 * sysdeps/mips/dl-machine.: Likewise.
543 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
544 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
545 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
546 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
547 * sysdeps/sh/dl-machine.h: Likewise.
548 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
549 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
550 * sysdeps/tile/dl-machine.h: Likewise.
551 * sysdeps/x86_64/dl-machine.h: Likewise.
552
2aac0a86
SP
553 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
554 code.
555 (verify_persistent_db): Likewise.
556
6ad2df0b
RM
5572014-06-26 Roland McGrath <roland@hack.frob.com>
558
d8a483f3
RM
559 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
560 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
561 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
562 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
563 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
564 Moved ...
565 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
566 ... here.
567 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
568 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
569 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
570 Identical file removed.
571 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
572 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
573 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
574 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
575 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
576 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
577 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
578 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
579 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
580 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
581 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
582 Moved ...
583 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
584 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
585 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
586 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
587 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
588 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
589 Moved ...
590 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
591 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
592 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
593 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
594 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
595 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
596 Identical file removed.
597 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
598 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
599 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
600 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
601 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
602 Moved ...
603 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
604 ... here.
605 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
606 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
607 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
608 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
609 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
610 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
611 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
612 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
613 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
614 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
615 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
616 Moved ...
617 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
618 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
619 Moved ...
620 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
621 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
622 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
623 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
624 Moved ...
625 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
626 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
627 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
628
52ae23b4
RM
629 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
630 folded into ...
631 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
632 * sysdeps/unix/sysv/linux/s390/Versions
633 (libpthread: GLIBC_2.19): New version set.
634 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
635 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
636 (librt: GLIBC_2.3.3): New version set.
637 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
638 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
639 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
640 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
641 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
642 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
643 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
644 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
645 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
646 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
647 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
648 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
649 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
650 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
651 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
652 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
653 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
654 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
655 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
656 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
657 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
658 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
659 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
660 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
661 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
662 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
663 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
664 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
665 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
666 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
667 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
668 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
669 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
670 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
671 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
672 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
673 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
674 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
675 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
676 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
677 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
678 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
679 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
680 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
681 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
682
39507e4a
RM
683 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
684 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
685 (__libc_vfork): Define the function under this name.
686 [!NOT_IN_libc] (__vfork): Make this an alias.
687 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
688 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
689 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
690 (__libc_vfork): Define the function under this name.
691 [!NOT_IN_libc] (__vfork): Make this an alias.
692 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
693 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
694 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
695 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
696 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
697 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
698
e549ee56
RM
699 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
700 code that was previously under [RESET_PID].
701 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
702 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
703 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
704
6ad2df0b
RM
705 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
706 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
707 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
708 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
709 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
710 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
711 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
712 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
713 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
714 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
715 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
716 Moved ...
717 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
718 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
719 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
720 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
721 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
722 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
723 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
724 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
725 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
726 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
727 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
728 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
729 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
730 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
731 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
732 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
733 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
734 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
735 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
736 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
737 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
738 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
739 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
740 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
741 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
742 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
743 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
744 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
745 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
746
7c1c1d8e
RM
7472014-06-25 Roland McGrath <roland@hack.frob.com>
748
749 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
750 that was previously under [RESET_PID].
751 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
752
3e239be6
JM
7532014-06-25 Joseph Myers <joseph@codesourcery.com>
754
74385da5
JM
755 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
756 not undefine and redefine.
757 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
758 [O_CLOEXEC]: Make code unconditional.
759 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
760 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
761 <kernel-features.h>.
762 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
763 conditional variable definition.
764 (shm_open) [O_CLOEXEC]: Make code unconditional.
765 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
766 code.
767
c2570a0b
JM
768 * configure.ac (USE_REGPARMS): Don't define here.
769 * configure: Regenerated.
770 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
771 * sysdeps/i386/configure: Regenerated.
772
11b076bb
JM
773 * nptl/createthread.c: Don't include kernel-features.h.
774 * nptl/pthread_cancel.c: Likewise.
775 * nptl/pthread_condattr_setclock.c: Likewise.
776 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
777 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
778 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
779 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
780 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
781 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
782 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
783 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
784 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
785 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
786 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
787 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
788 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
789 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
790 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
791 * nscd/gai.c: Likewise.
792 * nss/nss_db/db-open.c: Likewise.
793 * sysdeps/generic/ldsodefs.h: Likewise.
794 * sysdeps/sh/nptl/tls.h: Likewise.
795 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
796 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
797 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
798 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
799 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
800 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
801 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
802 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
803 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
804 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
805 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
806 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
807 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
808 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
809 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
810 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
811 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
812 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
813 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
814 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
815 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
816 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
817 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
818 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
819 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
820 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
821 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
822 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
823 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
824 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
825 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
826 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
827 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
828 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
829 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
830 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
831 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
832 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
833 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
834 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
835 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
836 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
837 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
838 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
839 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
840 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
841 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
842 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
843 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
844 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
845 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
846 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
847 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
848 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
849 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
850 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
851 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
852 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
875 * sysdeps/unix/sysv/linux/pread.c: Likewise.
876 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
877 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
878 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
879 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
880 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
881 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
882 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
883 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
884 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
885 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
886 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
887 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
888 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
889 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
890 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
891 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
892 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
893 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
894 * sysdeps/unix/sysv/linux/system.c: Likewise.
895 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
896 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
897 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
898 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
899 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
900 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
901 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
902
92072d57
JM
903 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
904 * configure: Regenerated.
905 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
906
3e239be6
JM
907 * configure.ac (base_machine): Do not set specially for particular
908 machines here.
909 * configure: Regenerated.
910 * sysdeps/powerpc/preconfigure: Move machine and base_machine
911 settings from configure.ac.
912 * sysdeps/i386/preconfigure: New file.
913 * sysdeps/s390/preconfigure: Likewise.
914 * sysdeps/sh/preconfigure: Likewise.
915 * sysdeps/sparc/preconfigure: Likewise.
916
06d50baa
RM
9172014-06-25 Roland McGrath <roland@hack.frob.com>
918
74836003
RM
919 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
920 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
921 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
922 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
923 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
924 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
925 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
926 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
927 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
928 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
929 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
930 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
931 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
932 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
933 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
934 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
935 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
936 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
937 * sysdeps/sparc/sparc64/Makefile: ... appended here.
938
939 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
940 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
941 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
942 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
943 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
944 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
945 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
946 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
947 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
948 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
949 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
950 * sysdeps/sparc/sparc32/sem_post.c: ... here.
951 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
952 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
953 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
954 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
955 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
956 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
957 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
958 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
959 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
960 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
961 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
962 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
963 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
964 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
965 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
966 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
967 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
968 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
969 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
970 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
971 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
972 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
973 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
974 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
975 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
976 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
977
06d50baa
RM
978 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
979 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
980 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
981 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
982 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
983 Moved ...
984 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
985 ... here.
986 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
987 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
988 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
989 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
990 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
991 Moved ...
992 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
993 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
994 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
995 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
996 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
997 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
998 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
999 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1000 Moved ...
1001 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
1002 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1003 Moved ...
1004 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
1005 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
1006 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
1007 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1008 Moved ...
1009 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
1010 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
1011 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
1012 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
1013 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
1014 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
1015 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
1016 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
1017 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
1018 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1019 Moved ...
1020 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
1021 ... here.
1022 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
1023 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
1024 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
1025 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
1026 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
1027 Moved ...
1028 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
1029 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
1030 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
1031 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
1032 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
1033 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
1034 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
1035 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1036 Moved ...
1037 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
1038 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1039 Moved ...
1040 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
1041 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
1042 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
1043 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1044 Moved ...
1045 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
1046 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
1047 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
1048 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
1049 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
1050
a4ccbc9b
JM
10512014-06-25 Joseph Myers <joseph@codesourcery.com>
1052
0828edbf
JM
1053 * timezone/checktab.awk: Update from tzcode 2014e.
1054 * timezone/private.h: Likewise.
1055 * timezone/tzfile.h: Likewise.
1056 * timezone/zdump.c: Likewise.
1057 * timezone/zic.c: Likewise.
1058
a4ccbc9b
JM
1059 * sysdeps/unix/sysv/linux/kernel-features.h
1060 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
1061 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
1062 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
1063 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1064 Remove conditional code.
1065
9aea0cb8
WN
10662014-06-25 Will Newton <will.newton@linaro.org>
1067
1068 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1069 (_dl_arm_cap_flags): Add HWCAP2 values.
1070 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
1071 (_DL_HWCAP_COUNT): Increase to 37.
1072 (_DL_HWCAP_LAST): New define.
1073 (_DL_HWCAP2_LAST): New define.
1074 (_dl_procinfo): Add support for printing
1075 AT_HWCAP2 entries.
1076 (_dl_string_hwcap): Use _dl_hwcap_string.
1077
6eaa65ce
AZ
10782014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1079
1080 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1081
0f5b7185
JM
10822014-06-25 Joseph Myers <joseph@codesourcery.com>
1083
cfd2ea50
JM
1084 * README: Do not mention ports directory.
1085
cecf2ed4
JM
1086 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
1087 Remove macro.
1088 * sysdeps/unix/sysv/linux/futimes.c: Do not include
1089 <kernel-features.h>.
1090 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
1091 conditional variable definition.
1092 (__futimes): Update comment.
1093 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
1094 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
1095
a638de82
JM
1096 [BZ #16560]
1097 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
1098 arguments close to 0.
1099 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
1100 Likewise.
1101 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
1102 Likewise.
1103 * math/auto-libm-test-in: Add more tests of exp10.
1104 * math/auto-libm-test-out: Regenerated.
1105 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1106
0f5b7185
JM
1107 * sysdeps/unix/sysv/linux/kernel-features.h
1108 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
1109 * sysdeps/unix/sysv/linux/readv.c: Do not include
1110 <kernel-features.h>.
1111 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1112 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1113 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1114 unconditional.
1115 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1116 conditional code.
1117 * sysdeps/unix/sysv/linux/writev.c: Do not include
1118 <kernel-features.h>.
1119 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1120 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1121 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1122 unconditional.
1123 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1124 conditional code.
1125
c7aec4be
WN
11262014-06-25 Will Newton <will.newton@linaro.org>
1127
1128 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
1129 comment changes throughout the file. Remove checks
1130 for HAVE_*_H definitions that are not required.
1131 (__gen_tempname): Call abort if an unknown kind value is
1132 passed.
1133
c5241f95
AS
11342014-06-25 Andreas Schwab <schwab@suse.de>
1135
1136 [BZ #17086]
1137 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
1138 scalbln, scalblnf, scalblnl in libc.
1139
911422da
SP
11402014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1141
1142 [BZ #17086]
1143 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
1144 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1145 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1146
0d749bbe
RM
11472014-06-24 Roland McGrath <roland@hack.frob.com>
1148
1149 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
1150 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
1151 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
1152 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
1153 Update #include.
1154 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
1155 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
1156 Update #include.
1157 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
1158 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1159 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1160 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1161 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1162 * sysdeps/x86/bits/pthreadtypes.h: ... here.
1163 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1164 * sysdeps/x86/bits/semaphore.h: ... here.
1165 * sysdeps/x86/nptl/elide.h: Moved ...
1166 * sysdeps/x86/elide.h: ... here.
1167 * sysdeps/x86_64/nptl/Implies: File removed.
1168 * sysdeps/i386/nptl/Implies: File removed.
1169
0ea5d373
JM
11702014-06-24 Joseph Myers <joseph@codesourcery.com>
1171
4060283d
JM
1172 [BZ #16539]
1173 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1174 return the argument for normal arguments with exponent below -64.
1175 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1176 Likewise.
1177 * math/auto-libm-test-in: Add another test of expm1.
1178 * math/auto-libm-test-out: Regenerated.
1179
e7dd3c8c
JM
1180 [BZ #16287]
1181 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
1182 calling __erfcl for arguments at least 16.
1183 * math/auto-libm-test-in: Add more tests of erf.
1184 * math/auto-libm-test-out: Regenerated.
1185
0ea5d373
JM
1186 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
1187 individual architectures.
1188 * sysdeps/unix/sysv/linux/configure: Regenerated.
1189 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
1190 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
1191 * sysdeps/unix/sysv/linux/powerpc/configure.ac
1192 (ldd_rewrite_script): Define variable.
1193 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
1195 file.
1196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
1197 generated file.
1198 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
1199 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
1200 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
1201 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
1202 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
1203 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
1204 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
1205 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
1206
2307e126
SP
12072014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1208
1209 [BZ #17084]
1210 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
1211 Rename member __data.d to __data.__elision_data.
1212
c0a4ed77
W
12132014-06-24 Wilco <wdijkstr@arm.com>
1214
1215 * NEWS: Add 16918 to fixed bug list.
1216
b8c00573
W
12172014-06-24 Wilco <wdijkstr@arm.com>
1218
1219 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
1220
b5570d92
W
12212014-06-24 Wilco <wdijkstr@arm.com>
1222
1223 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1224 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1225 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1226 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1227 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1228 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1229 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1230 Use _FPU_MASK_RM.
1231
947bdca2
W
12322014-06-24 Wilco <wdijkstr@arm.com>
1233
1234 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1235
00f669ed
W
12362014-06-24 Wilco <wdijkstr@arm.com>
1237
1238 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1239 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1240 * sysdeps/arm/fesetround.c (fesetround): Remove space.
1241 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1242
db59bad3
W
12432014-06-24 Wilco <wdijkstr@arm.com>
1244
1245 [BZ #16918]
1246 * sysdeps/arm/feupdateenv.c (feupdateenv):
1247 Rewrite to reduce FPSCR accesses and fix return value.
1248
001f7b77
W
12492014-06-24 Wilco <wdijkstr@arm.com>
1250
1251 * sysdeps/arm/fclrexcpt.c (feclearexcept):
1252 Optimize to avoid unnecessary FPSCR writes.
1253 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1254 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1255 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1256 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1257
4841e6a6
W
12582014-06-24 Wilco <wdijkstr@arm.com>
1259
1260 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1261 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1262 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1263 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
1264 Call libc_fetestexcept_vfp.
1265 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
1266 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
1267 __SOFTFP__ ifdef so that they can be built for softfp.
1268
0813022c
SP
12692014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1270
08e5862f
SP
1271 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
1272 argument type signed char.
1273
0813022c
SP
1274 * Makerules (check-abi): Dump diff of symlist if the test
1275 fails.
1276
3fc7236a
RM
12772014-06-23 Roland McGrath <roland@hack.frob.com>
1278
aba8ef95
RM
1279 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
1280 using abort.
1281
3fc7236a
RM
1282 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1283 Remove unused variable ST.
1284
4da6db51
JM
12852014-06-23 Joseph Myers <joseph@codesourcery.com>
1286
4648909d
JM
1287 [BZ #16354]
1288 [BZ #17061]
1289 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
1290 small arguments before calling __expm1.
1291 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
1292 small arguments before calling __expm1f.
1293 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
1294 small arguments before calling __expm1l.
1295 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1296 Likewise.
1297 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
1298 * math/auto-libm-test-in: Add more cosh tests. Do not allow
1299 spurious underflow for some cosh tests.
1300 * math/auto-libm-test-out: Regenerated.
1301 * sysdeps/i386/fpu/libm-test-ulps: Update.
1302
46a3d3c7
JM
1303 [BZ #17050]
1304 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
1305 (__ieee754_y1): Set errno if return value overflows.
1306 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
1307 (__ieee754_y1f): Set errno if return value overflows.
1308 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
1309 (__ieee754_y1l): Set errno if return value overflows.
1310 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
1311 (__ieee754_y1l): Set errno if return value overflows.
1312 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
1313 * math/auto-libm-test-out: Regenerated.
1314
863893ec
JM
1315 * math/gen-auto-libm-tests.c: Document use of
1316 ignore-zero-inf-sign.
1317 (input_flag_type): Add value flag_ignore_zero_inf_sign.
1318 (input_flags): Add ignore-zero-inf-sign.
1319 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
1320 * math/gen-libm-test.pl (generate_testfile): Handle
1321 ignore-zero-inf-sign.
1322 * math/auto-libm-test-in: Mark some cpow tests with
1323 ignore-zero-inf-sign and some with xfail-rounding.
1324 * math/auto-libm-test-out: Regenerated.
1325 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
1326 * sysdeps/i386/fpu/libm-test-ulps: Update.
1327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1328
4da6db51
JM
1329 [BZ #16315]
1330 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
1331 overflowing or underflowing operations take place with sign of
1332 result.
1333 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1334 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1335 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
1336 (__ieee754_pow): Recompute overflowing and underflowing results in
1337 original rounding mode.
1338 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
1339 (__powl_helper): Allow negative argument X and scale negated value
1340 as needed. Avoid passing value outside [-1, 1] to f2xm1.
1341 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
1342 overflowing or underflowing operations take place with sign of
1343 result.
1344 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
1345 Include <math.h>.
1346 * math/auto-libm-test-in: Add more tests of pow.
1347 * math/auto-libm-test-out: Regenerated.
1348 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
1349 (pow_tonearest_test_data): Remove.
1350 (pow_test_tonearest): Likewise.
1351 (pow_towardzero_test_data): Likewise.
1352 (pow_test_towardzero): Likewise.
1353 (pow_downward_test_data): Likewise.
1354 (pow_test_downward): Likewise.
1355 (pow_upward_test_data): Likewise.
1356 (pow_test_upward): Likewise.
1357 (main): Don't call removed functions.
1358 * sysdeps/i386/fpu/libm-test-ulps: Update.
1359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1360
5686b236
RM
13612014-06-23 Roland McGrath <roland@hack.frob.com>
1362
1363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
1364 Moved ...
1365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
1366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1367 Moved ...
1368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
1369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1370 Moved ...
1371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
1372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1373 Moved ...
1374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
1375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1376 File removed.
1377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1378 File removed.
1379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
1380 File removed.
1381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
1382 File removed.
1383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
1384 File removed.
1385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
1386 File removed.
1387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
1388 File removed.
1389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1390 File removed.
1391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
1392 File removed.
1393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1394 File removed.
1395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
1396 File removed.
1397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
1398 File removed.
1399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
1400 Moved ...
1401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
1402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
1403 Moved ...
1404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
1405 ... here.
1406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
1407 Moved ...
1408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
1409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
1410 Moved ...
1411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
1412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
1413 Moved ...
1414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
1415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
1416 Moved ...
1417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
1418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
1419 Moved ...
1420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
1421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
1422 Moved ...
1423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
1424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
1425 Moved ...
1426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
1427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
1428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
1429 ... here.
1430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
1431 Moved ...
1432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
1433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1434 Moved ...
1435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1436 ... here.
1437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
1438 Moved ...
1439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1440 ... here.
1441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1442 Moved ...
1443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1444 ... here.
1445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1446 Moved ...
1447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
1448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
1449 Moved ...
1450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
1451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
1452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
1453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1454 Moved ...
1455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
1456 ... here.
1457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1458 Moved ...
1459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
1460 ... here.
1461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
1462 Moved ...
1463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
1464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1465 Moved ...
1466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
1467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
1468 Moved ...
1469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
1470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1471 Moved ...
1472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
1473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1474 Moved ...
1475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
1476 ... here.
1477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1478 Moved ...
1479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
1480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
1481 Moved ...
1482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
1483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1484 Moved ...
1485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
1486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
1487 Moved ...
1488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
1489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
1490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
1491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1492 Moved ...
1493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
1494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1495 Moved ...
1496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
1497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1498 Moved ...
1499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
1500 ... here.
1501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1502 Moved ...
1503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
1504 ... here.
1505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1506 Moved ...
1507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
1508 ... here.
1509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1510 Moved ...
1511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
1512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1513 Moved ...
1514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
1515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1516 Moved ...
1517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
1518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1519 Moved ...
1520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
1521 ... here.
1522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1523 Moved ...
1524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
1525 ... here.
1526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1527 Moved ...
1528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
1529 ... here.
1530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1531 Moved ...
1532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
1533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1534 Moved ...
1535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
1536
e6d90d67
WD
15372014-06-23 Will Newton <will.newton@linaro.org>
1538 Wilco <wdijkstr@arm.com>
1539
1540 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
1541 implementation. Include get-rounding-mode.h.
1542 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
1543 [!libc_feholdsetround_noex_ctx]: Define
1544 libc_feholdsetround_noex_ctx.
1545 [!libc_feholdsetround_noexf_ctx]: Define
1546 libc_feholdsetround_noexf_ctx.
1547 [!libc_feholdsetround_noexl_ctx]: Define
1548 libc_feholdsetround_noexl_ctx.
1549 (libc_feholdsetround_ctx): New function.
1550 (libc_feresetround_ctx): New function.
1551 (libc_feholdsetround_noex_ctx): New function.
1552 (libc_feresetround_noex_ctx): New function.
1553
d42df555
RM
15542014-06-23 Roland McGrath <roland@hack.frob.com>
1555
88a46474
RM
1556 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
1557 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
1558 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
1559 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
1560 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
1561 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
1562
15bed472
RM
1563 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
1564 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
1565 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
1566 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
1567 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
1568 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
1569 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
1570 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
1571 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
1572 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
1573 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
1574 Moved ...
1575 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
1576 ... here.
1577 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
1578 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
1579 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
1580 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
1581 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
1582 Moved ...
1583 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
1584 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
1585 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
1586 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
1587 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
1588 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
1589 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
1590 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
1591 Moved ...
1592 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
1593 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
1594 Moved ...
1595 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
1596 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
1597 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
1598 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
1599 Moved ...
1600 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
1601 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
1602 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
1603 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
1604 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
1605 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
1606 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
1607 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
1608 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
1609 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
1610 Moved ...
1611 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
1612 ... here.
1613 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
1614 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
1615 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
1616 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
1617 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
1618 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
1619 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
1620 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
1621 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
1622 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
1623 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
1624 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
1625 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
1626 Moved ...
1627 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
1628 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
1629 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
1630 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
1631 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
1632 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
1633 Moved ...
1634 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
1635 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
1636 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
1637 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
1638 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
1639
d42df555
RM
1640 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
1641 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
1642 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
1643 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
1644 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
1645 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
1646 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
1647 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
1648 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
1649 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
1650 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
1651 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
1652 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
1653 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
1654 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
1655 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
1656 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
1657 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
1658 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
1659 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
1660 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
1661 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
1662 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
1663 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
1664 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
1665 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
1666 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
1667 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
1668
76e5216e
JM
16692014-06-23 Joseph Myers <joseph@codesourcery.com>
1670
1671 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1672 (FALLOC_FL_COLLAPSE_RANGE): New macro.
1673 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
1674 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
1675 (IPV6_PMTUDISC_INTERFACE): Likewise.
1676 (IPV6_PMTUDISC_OMIT): Likewise.
1677
7a81cbcc
AS
16782014-06-23 Andreas Schwab <schwab@suse.de>
1679
1680 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
1681 Remove unused errout label.
1682
db224009
AZ
16832014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1684
1685 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
1686 macro: hardware supports Vector Crypto instructions.
1687
f393b4aa
WN
16882014-06-23 Will Newton <will.newton@linaro.org>
1689
cc7d0447
WN
1690 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
1691 rather than __builtin_expect.
1692
d6d06225
WN
1693 * elf/dl-lookup.c (undefined_msg): Remove variable.
1694 (_dl_lookup_symbol_x): Replace undefined_msg with string
1695 literal.
1696
f393b4aa
WN
1697 * elf/dl-lookup.c (do_lookup_unique): New function.
1698 (do_lookup_x): Move STB_GNU_UNIQUE handling code
1699 to a separate function.
1700
ac60763e
AS
17012014-06-23 Andreas Schwab <schwab@suse.de>
1702
1703 [BZ #17079]
1704 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
1705 before reading the next line.
1706
c5c13355
WN
17072014-06-23 Will Newton <will.newton@linaro.org>
1708
1709 * test-skeleton.c (signal_handler): Use printf and %m
1710 rather than perror. Use printf rather than fprintf to
1711 stderr. Use puts rather than fputs to stderr.
1712 (main): Likewise.
1713
bd3675f9
LC
17142014-06-22 Ludovic Courtès <ludo@gnu.org>
1715
1716 * nscd/nscd.c (thread_info_t): Remove typedef.
1717 (thread_info): Remove variable.
1718
d03efb2f
AM
17192014-06-21 Allan McRae <allan@archlinux.org>
1720
1721 * NEWS: Mention CVE-2014-4043.
1722
bc4a86fa
RM
17232014-06-20 Roland McGrath <roland@hack.frob.com>
1724
dc9a54f8
RM
1725 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
1726 * nptl/smp.h: ... here.
1727
bd7022c4
RM
1728 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
1729
26ffd5e6
RM
1730 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
1731 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
1732 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
1733 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
1734
93a6d082
RM
1735 * nptl/allocatestack.c: Include <stack-aliasing.h>.
1736 * nptl/stack-aliasing.h: New file.
1737 * sysdeps/i386/i686/stack-aliasing.h: New file.
1738 * sysdeps/i386/i686/nptl/Makefile: File removed.
1739 * sysdeps/x86_64/stack-aliasing.h: New file.
1740 * sysdeps/x86_64/nptl/Makefile
1741 (CFLAGS-pthread_create.c): Variable removed.
1742
bc4a86fa
RM
1743 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
1744 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
1745 old file.
1746 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
1747 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
1748 old file.
1749
2272ffc1
JM
17502014-06-21 Joseph Myers <joseph@codesourcery.com>
1751
1752 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1753 (__ASSUME_SIGFRAME_V2): Remove macro.
1754 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
1755 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
1756 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
1757 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
1758 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
1759 Declare as function. Remove conditional macro definitions.
1760 (__default_rt_sa_restorer): Likewise.
1761 (__default_sa_restorer_v1): Remove declaration.
1762 (__default_sa_restorer_v2): Likewise.
1763 (__default_rt_sa_restorer_v1): Likewise.
1764 (__default_rt_sa_restorer_v2): Likewise.
1765 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
1766 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
1767 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
1768
4b88139b
RM
17692014-06-20 Roland McGrath <roland@hack.frob.com>
1770
1771 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1772 (libpthread-routines): Add sysdep.
1773 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1774 * sysdeps/unix/sysv/linux/sparc/Versions
1775 (libpthread: GLIBC_2.3.3): New version set.
1776 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1777 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1778 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1779 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1780 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
1781 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1782 Moved ...
1783 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1784 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1785 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1786 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1787 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1788 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1789 * sysdeps/sparc/nptl/sem_init.c: ... here.
1790 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1791 * sysdeps/sparc/nptl/sem_post.c: ... here.
1792 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1793 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1794 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1795 * sysdeps/sparc/nptl/sem_wait.c: ... here.
1796 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
1797 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
1798 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
1799 (libpthread-routines): Add cpu_relax.
1800 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
1801 File removed.
1802 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
1803 (librt: GLIBC_2.3.3): New version set.
1804 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
1805 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
1806 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
1807 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
1808 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
1809 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
1810 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
1811 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
1812 Moved ...
1813 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
1814 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
1815 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
1816 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
1817 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
1818 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
1819 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
1820 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
1821 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
1822 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
1823 Moved ...
1824 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
1825 Update #include.
1826 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
1827 Moved ...
1828 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
1829 Update #include.
1830 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
1831 Moved ...
1832 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
1833 Update #include.
1834 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
1835 Moved ...
1836 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
1837 Update #include.
1838 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
1839 Moved ...
1840 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
1841 Update #include.
1842 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
1843 Moved ...
1844 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
1845 Update #include.
1846 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
1847 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
1848 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
1849 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
1850 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
1851 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
1852 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
1853 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
1854 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
1855 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
1856 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1857 Moved ...
1858 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
1859 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
1860 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
1861 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
1862 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
1863
d7109027
JM
18642014-06-20 Joseph Myers <joseph@codesourcery.com>
1865
9bc6103d
JM
1866 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
1867 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
1868 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1869 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
1870 * nscd/nscd.c: Likewise.
1871 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1872 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1873 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1874 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1875
d7109027
JM
1876 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
1877 <kernel-features.h>.
1878 (init_mq_netlink): Remove conditional have_sock_cloexec
1879 definitions. Remove code conditional on have_sock_cloexec < 0.
1880 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
1881 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
1882 * sysdeps/unix/sysv/linux/opensock.c: Do not include
1883 <kernel-features.h>.
1884 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
1885 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
1886
d92d8f8a
L
18872014-06-20 H.J. Lu <hongjiu.lu@intel.com>
1888
1889 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1890 Add tests for memset_chk and memset.
1891
1892 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
1893 with AVX2_Usable.
1894
4e6d2347
MR
18952014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1896
257ce712
MR
1897 [BZ #16046]
1898 * elf/tst-dl-iter-static.c: New file.
1899 * elf/Makefile (tests-static): Add tst-dl-iter-static.
1900
4e6d2347
MR
1901 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
1902 error.
1903
a2a76afe
JM
19042014-06-20 Joseph Myers <joseph@codesourcery.com>
1905
7fd00f99
JM
1906 * sysdeps/unix/sysv/linux/kernel-features.h
1907 (__ASSUME_F_GETOWN_EX): Remove macro.
1908 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
1909 <kernel-features.h>.
1910 (miss_F_GETOWN_EX): Remove variable or macro.
1911 (do_fcntl): Do not check miss_F_GETOWN_EX.
1912 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
1913
4a103975
JM
1914 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
1915 Remove macro.
1916 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
1917 [!__ASSUME_AT_RANDOM]: Remove conditional code.
1918 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
1919
a2a76afe
JM
1920 * sysdeps/unix/sysv/linux/kernel-features.h
1921 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
1922 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
1923 [ADJ_OFFSET_SS_READ]: Make code unconditional.
1924 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
1925
90e5dd48
MR
19262014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1927
1928 [BZ #17075]
1929 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
1930 Fix calculation of the symbol's value.
1931 * sysdeps/arm/tst-armtlsdescloc.c: New file.
1932 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
1933 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
1934 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
1935 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
1936 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
1937 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
1938 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
1939 (modules-names): Add `tst-armtlsdescmod',
1940 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
1941 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
1942 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1943 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
1944 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
1945 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1946 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
1947 ($(objpfx)tst-armtlsdescloc): New dependency.
1948 ($(objpfx)tst-armtlsdescextnow): Likewise.
1949 ($(objpfx)tst-armtlsdescextlazy): Likewise.
1950 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
1951 TLS scheme support.
1952 * sysdeps/arm/configure: Regenerate.
1953
809fdf0d
JM
19542014-06-20 Joseph Myers <joseph@codesourcery.com>
1955
1956 * include/fcntl.h (__atfct_seterrno): Remove prototype.
1957 (__atfct_seterrno_2): Likewise.
1958 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
1959 <kernel-features.h>.
1960 (__ASSUME_ATFCTS): Do not undefine and redefine.
1961 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
1962 (__have_atfcts): Remove conditional definition.
1963 (__fxstatat([__NR_fstatat64]: Make code unconditional.
1964 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
1965 unreachable if [__ASSUME_ATFCTS].
1966 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
1967 not undefine and redefine.
1968 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
1969 <kernel-features.h>.
1970 (faccessat) [__NR_faccessat]: Make code unconditional.
1971 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
1972 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
1973 <kernel-features.h>.
1974 (fchmodat) [__NR_fchmodat]: Make code unconditional.
1975 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1976 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
1977 <kernel-features.h>.
1978 (fchownat) [__NR_fchownat]: Make code unconditional.
1979 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
1980 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
1981 <kernel-features.h>.
1982 (futimesat) [__NR_futimesat]: Make code unconditional.
1983 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
1984 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1985 <kernel-features.h>.
1986 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1987 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1988 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1989 <kernel-features.h>.
1990 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
1991 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1992 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
1993 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1994 <kernel-features.h>.
1995 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
1996 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1997 * sysdeps/unix/sysv/linux/linkat.c: Do not include
1998 <kernel-features.h>.
1999 (linkat) [__NR_linkat]: Make code unconditional.
2000 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2001 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
2002 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
2003 <kernel-features.h>.
2004 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
2005 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2006 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
2007 <kernel-features.h>.
2008 (mkdirat) [__NR_mkdirat]: Make code unconditional.
2009 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
2010 * sysdeps/unix/sysv/linux/openat.c: Do not include
2011 <kernel-features.h>.
2012 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
2013 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
2014 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
2015 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
2016 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
2017 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
2018 <kernel-features.h>.
2019 (readlinkat) [__NR_readlinkat]: Make code unconditional.
2020 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
2021 result of INLINE_SYSCALL directly, not via int variable.
2022 * sysdeps/unix/sysv/linux/renameat.c: Do not include
2023 <kernel-features.h>.
2024 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
2025 (renameat) [__NR_renameat]: Make code unconditional.
2026 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
2027 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
2028 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
2029 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
2030 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
2031 (__ASSUME_ATFCTS): Do not undefine and redefine.
2032 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
2033 <kernel-features.h>.
2034 (symlinkat) [__NR_symlinkat]: Make code unconditional.
2035 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2036 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
2037 <kernel-features.h>.
2038 (unlinkat) [__NR_unlinkat]: Make code unconditional.
2039 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2040 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
2041 (__ASSUME_ATFCTS): Do not undefine and redefine.
2042 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2043 <kernel-features.h>.
2044 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2045 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2046 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2047 <kernel-features.h>.
2048 (__xmknodat) [__NR_mknodat]: Make code unconditional.
2049 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2050
224c6c51
L
20512014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2052
2053 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
2054
aa6ec754
AS
20552014-06-20 Andreas Schwab <schwab@linux-m68k.org>
2056
2057 [BZ #17069]
2058 * posix/regcomp.c (parse_reg_exp): Deallocate partially
2059 constructed tree before returning error.
2060 * posix/bug-regexp36.c: Expand test case.
2061
d8c2869d
SL
20622014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2063
3ef6b850
SL
2064 [BZ #6803]
2065 * math/libm-test.inc (scalbln_test_date):
2066 Add errno expectations.
2067 * math/w_scalblnf.c: New File.
2068 Add wrapper which checks for setting errno to ERANGE.
2069 Add weak_alias for corresponding scalbln function.
2070 * math/w_scalbln.c: Likewise.
2071 * math/w_scalblnl.c: Likewise.
2072 * math/Makefile (libm-calls): Add w_scalbln.
2073 * sysdeps/ieee754/flt-32/s_scalblnf.c:
2074 Remove weak_alias for corresponding scalbln function.
2075 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2076 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2077 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2078 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2079 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
2080 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2081 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
2082 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2083 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
2084 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
2085 Remove long_double_symbol for scalblnl function in libm, libc.
2086 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
2087 Add wrapper which checks for setting errno to ERANGE.
2088 Add long_double_symbol for scalblnl function in libm, libc.
2089 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
2090 Remove long_double_symbol for scalblnl in libm.
2091 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
2092 Add wrapper which checks for setting errno to ERANGE.
2093 Add long_double_symbol for scalblnl function in libm.
2094 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
2095 Do not use wrapper because of own implementation.
2096
c8daec5c
L
20972014-06-19 H.J. Lu <hongjiu.lu@intel.com>
2098
2099 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
2100 3 bytes for __pad1 for x32.
2101 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
2102
5c74e47c
LM
21032014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
2104 H.J. Lu <hongjiu.lu@intel.com>
2105
2106 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
2107 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
2108 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2109 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2110 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2111
4d43ef1e
AS
21122014-06-19 Andreas Schwab <schwab@linux-m68k.org>
2113
2114 [BZ #17069]
2115 * posix/regcomp.c (parse_expression): Deallocate partially
2116 constructed tree before returning error.
2117 * posix/Makefile.c (tests): Add bug-regex36.
2118 (generated): Add bug-regex36.mtrace.
2119 (tests-special): Add $(objpfx)bug-regex36-mem.out
2120 (bug-regex36-ENV): New variable.
2121 ($(objpfx)bug-regex36-mem.out): New rule.
2122 * posix/bug-regex36.c: New file.
2123
51a7380b
WN
21242014-06-19 Will Newton <will.newton@linaro.org>
2125
2126 * malloc/malloc.c (systrim): If extra is zero then return
2127 early.
2128
91b84fe5
SP
21292014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2130
2131 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
2132
f940b965
RE
21332014-06-19 Richard Earnshaw <rearnsha@arm.com>
2134
2135 * sysdeps/aarch64/strchr.S: New file.
2136
4ba7a00f
JM
21372014-06-18 Joseph Myers <joseph@codesourcery.com>
2138
2139 [BZ #17022]
2140 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
2141 from arguments -2 or below.
2142 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2143 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2144
b3a9f56b
AS
21452014-06-18 Andreas Schwab <schwab@suse.de>
2146
2147 [BZ #17062]
2148 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
2149 of a bracket expr not to run off the end of the string.
2150 * posix/Makefile (tests): Add tst-fnmatch3.
2151 * posix/tst-fnmatch3.c: New file.
2152
85d89278
JM
21532014-06-18 Joseph Myers <joseph@codesourcery.com>
2154
2155 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
2156 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2157 [$(cross-compiling) = no]: Likewise.
2158 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2159 [$(cross-compiling) = no]: Likewise.
2160
754c5a08
RS
21612014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2162
2163 [BZ #17031]
2164 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2165 double, adjusted for any remainder from the high double.
2166 * math/libm-test.inc (nearbyint): Add tests.
2167 (rint): Likewise.
2168
556f529d
AZ
21692014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2170
2171 * nptl/sysdeps/powerpc/Makefile: Moved ...
2172 * sysdeps/powerpc/nptl/Makefile: ... here.
2173 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2174 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
2175 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
2176 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
2177 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
2178 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
2179 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
2180 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
2181 * nptl/sysdeps/powerpc/tls.h: Moved ...
2182 * sysdeps/powerpc/nptl/tls.h: ... here.
2183
91c03c53
JM
21842014-06-16 Joseph Myers <joseph@codesourcery.com>
2185
2186 [BZ #16681]
2187 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
2188 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2189 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
2190 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
2191 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2192 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
2193 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
2194 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2195 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
2196
a76e63c5
AS
21972014-06-17 Andreas Schwab <schwab@linux-m68k.org>
2198
2199 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2200
f2f6d82f
AS
22012014-06-16 Andreas Schwab <schwab@linux-m68k.org>
2202
ea8a15f6
AS
2203 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
2204 defined operator.
2205
f2f6d82f
AS
2206 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
2207 $TIMEOUTFACTOR.
2208
a7291117
FW
22092014-06-16 Florian Weimer <fweimer@redhat.com>
2210
2211 [BZ #17058]
2212 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
2213 non-executed part of the test.
2214
3d7c00e3
AS
22152014-06-16 Andreas Schwab <schwab@suse.de>
2216
2217 * string/bits/string2.h (strdup, strndup): Update feature guard.
2218
6957fb31
DM
22192014-06-14 David S. Miller <davem@davemloft.net>
2220
2221 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2222
11b9e55b
AS
22232014-06-14 Andreas Schwab <schwab@linux-m68k.org>
2224
1d2a0492
AS
2225 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2226 that was previously under [RESET_PID].
2227 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2228
11b9e55b
AS
2229 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2230 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2231 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2232 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2233 (__libc_vfork): New strong alias.
2234 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2235
0f6901d0
AK
22362014-06-14 Andi Kleen <ak@linux.intel.com>
2237
2238 * sysdeps/generic/elide.h: New file.
2239
38bbbb9f
SL
22402014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2241
2242 * Makefile (installed-headers): Adjust path of pthread.h header.
2243
45193bb8
RM
22442014-06-13 Roland McGrath <roland@hack.frob.com>
2245
9a25fd1e
RM
2246 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2247 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2248 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2249 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2250
4004f7e4
RM
2251 * nptl/sysdeps/s390/Makefile: Moved ...
2252 * sysdeps/s390/nptl/Makefile: ... here.
2253 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2254 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2255 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2256 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2257 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2258 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2259 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2260 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2261 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2262 * sysdeps/s390/nptl/pthreaddef.h: ... here.
2263 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
2264 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
2265 * nptl/sysdeps/s390/tls.h: Moved ...
2266 * sysdeps/s390/nptl/tls.h: ... here.
2267
45193bb8
RM
2268 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
2269 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
2270
f6fdf533
DM
22712014-06-13 David S. Miller <davem@davemloft.net>
2272
2273 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
2274 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
2275 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
2276 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
2277 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
2278 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
2279 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
2280 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
2281 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
2282 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
2283 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
2284 Remove RESET_PID cpp guards.
2285 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
2286 Remove RESET_PID cpp guards.
2287 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
2288
f5d71e14
AS
22892014-06-13 Andreas Schwab <schwab@linux-m68k.org>
2290
2291 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
2292 __sp to uintptr_t.
2293
b7aa8caa
AK
22942014-06-13 Andi Kleen <ak@linux.intel.com>
2295
4b266200
AZ
2296 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
2297 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
2298 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
2299 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
2300 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
2301 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
2302 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
2303 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
2304 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
2305 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
2306 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
2307 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
2308 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
2309 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
2310 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
2311 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
2312 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
2313 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
2314 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
2315 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
2316
2317 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
2318 (pthread_rwlock_rdlock): Add elision.
2319 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
2320 (pthread_rwlock_wrlock): Add elision.
2321 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
2322 (pthread_rwlock_trywrlock): Add elision.
2323 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
2324 (pthread_rwlock_tryrdlock): Add elision.
2325 * nptl/pthread_rwlock_unlock.c: Include elide.h.
2326 (pthread_rwlock_tryrdlock): Add elision unlock.
2327 * nptl/sysdeps/pthread/pthread.h:
2328 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
2329 (PTHREAD_RWLOCK_INITIALIZER,
2330 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
2331 Handle new elision field.
2332 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
2333 * sysdeps/arm/nptl/bits/pthreadtypes.h
2334 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2335 * sysdeps/sh/nptl/bits/pthreadtypes.h
2336 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2337 * sysdeps/tile/nptl/bits/pthreadtypes.h
2338 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2339 * sysdeps/a/nptl/bits/pthreadtypes.h
2340 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2341 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2342 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2343 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2344 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2345 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
2346 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2347 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2348 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2349 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2350 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2351 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2352 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2353 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2354 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2355 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
2356 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2357 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
2358 (elision_init): Set try_xbegin to zero when no RTM.
2359 * sysdeps/x86/nptl/bits/pthreadtypes.h
2360 (pthread_rwlock_t): Change __pad1 to __rwelision.
2361 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 2362
a832bdd3
AK
23632014-06-13 Andi Kleen <ak@linux.intel.com>
2364
2365 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
2366 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
2367 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
2368 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
2369
995a46bb
MI
23702014-06-13 Meador Inge <meadori@codesourcery.com>
2371
2372 [BZ #16996]
03ed7738 2373 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
2374 that the cached result has been set before returning it.
2375
45262aee
RM
23762014-06-12 Roland McGrath <roland@hack.frob.com>
2377
febf6cc5
RM
2378 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
2379 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
2380 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
2381 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
2382 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
2383 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
2384
e2682246
RM
2385 * nptl/sysdeps/sparc/Makefile: Moved ...
2386 * sysdeps/sparc/nptl/Makefile: ... here.
2387 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
2388 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
2389 * nptl/sysdeps/sparc/tls.h: Moved ...
2390 * sysdeps/sparc/nptl/tls.h: ... here.
2391 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
2392 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
2393 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
2394 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
2395 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
2396 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
2397 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
2398 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
2399 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
2400 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
2401 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
2402 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
2403 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
2404 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
2405 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
2406 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
2407 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
2408 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
2409 Update #include.
2410 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
2411 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
2412 Update #include.
2413 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
2414 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
2415 Update #include.
2416 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
2417 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
2418 Update #include.
2419
b0725f43
RM
2420 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2421
b14368b8
RM
2422 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
2423 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
2424
c5620eb3
RM
2425 * sysdeps/pthread/posix-timer.h: Include <list.h>.
2426 (struct list_links): Type removed.
2427 (struct thread_node, struct timer_node): Replace struct list_links
2428 with struct list_head.
2429 (list_unlink_ip): Likewise.
2430 * sysdeps/pthread/timer_routines.c
2431 (timer_free_list, thread_free_list, thread_active_list): Likewise.
2432 (list_append, list_insbefore): Likewise.
2433 (list_init): Function removed.
2434 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
2435 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
2436 * sysdeps/pthread/Makefile: ... here, new file.
2437
2438 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
2439 * sysdeps/nptl/Implies: ... here.
2440 * sysdeps/unix/sysv/linux/Implies: Add nptl.
2441 * nptl/sysdeps/pthread/list.h: Moved ...
2442 * include/list.h: ... here.
2443 * nptl/sysdeps/pthread/createthread.c: Moved ...
2444 * nptl/createthread.c: ... here.
2445 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
2446 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
2447 * nptl/pt-longjmp.c: ... here.
2448 * nptl/sysdeps/pthread/Makefile: Moved ...
2449 * sysdeps/nptl/Makefile: ... here.
2450 * nptl/sysdeps/pthread/Subdirs: Moved ...
2451 * sysdeps/nptl/Subdirs: ... here.
2452 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
2453 * sysdeps/nptl/aio_misc.h: ... here.
2454 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
2455 * sysdeps/nptl/bits/libc-lock.h: ... here.
2456 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
2457 * sysdeps/nptl/bits/libc-lockP.h: ... here.
2458 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
2459 * sysdeps/nptl/bits/stdio-lock.h: ... here.
2460 * nptl/sysdeps/pthread/configure: Moved ...
2461 * sysdeps/nptl/configure: ... here.
2462 * nptl/sysdeps/pthread/configure.ac: Moved ...
2463 * sysdeps/nptl/configure.ac: ... here.
2464 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
2465 * sysdeps/nptl/gai_misc.h: ... here.
2466 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
2467 * sysdeps/nptl/librt-cancellation.c: ... here.
2468 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
2469 * sysdeps/nptl/malloc-machine.h: ... here.
2470 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
2471 * sysdeps/nptl/pthread-functions.h: ... here.
2472 * nptl/sysdeps/pthread/pthread.h: Moved ...
2473 * sysdeps/nptl/pthread.h: ... here.
2474 * nptl/sysdeps/pthread/setxid.h: Moved ...
2475 * sysdeps/nptl/setxid.h: ... here.
2476 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
2477 * sysdeps/nptl/sigfillset.c: ... here.
2478 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
2479 * sysdeps/nptl/tcb-offsets.h: ... here.
2480 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
2481 * sysdeps/nptl/tst-mqueue8x.c: ... here.
2482 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
2483 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
2484 * nptl/sysdeps/pthread/allocalim.h: Moved ...
2485 * sysdeps/pthread/allocalim.h: ... here.
2486 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
2487 * sysdeps/pthread/bits/sigthread.h: ... here.
2488 * nptl/sysdeps/pthread/flockfile.c: Moved ...
2489 * sysdeps/pthread/flockfile.c: ... here.
2490 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
2491 * sysdeps/pthread/ftrylockfile.c: ... here.
2492 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
2493 * sysdeps/pthread/funlockfile.c: ... here.
2494 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
2495 * sysdeps/pthread/posix-timer.h: ... here.
2496 * nptl/sysdeps/pthread/timer_create.c: Moved ...
2497 * sysdeps/pthread/timer_create.c: ... here.
2498 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
2499 * sysdeps/pthread/timer_delete.c: ... here.
2500 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
2501 * sysdeps/pthread/timer_getoverr.c: ... here.
2502 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
2503 * sysdeps/pthread/timer_gettime.c: ... here.
2504 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
2505 * sysdeps/pthread/timer_routines.c: ... here.
2506 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
2507 * sysdeps/pthread/timer_settime.c: ... here.
2508 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
2509 * sysdeps/pthread/tst-timer.c: ... here.
2510 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
2511 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
2512
e876b090
RM
2513 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
2514 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
2515
f6b07b3d
RM
2516 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
2517 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
2518 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
2519 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
2520 Update #include target.
2521 * nptl/sysdeps/i386/i686/Makefile: Moved ...
2522 * sysdeps/i386/i686/nptl/Makefile: ... here.
2523 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
2524 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
2525 Update #include target.
2526 * nptl/sysdeps/i386/i686/tls.h: Moved ...
2527 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
2528 * nptl/sysdeps/i386/Makefile: Moved ...
2529 * sysdeps/i386/nptl/Makefile: ... here.
2530 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
2531 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
2532 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
2533 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
2534 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
2535 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
2536 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
2537 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
2538 * sysdeps/i386/nptl/pthreaddef.h: ... here.
2539 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
2540 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
2541 * nptl/sysdeps/i386/tls.h: Moved ...
2542 * sysdeps/i386/nptl/tls.h: ... here.
2543
45262aee
RM
2544 * sysdeps/sh/Makefile [$(subdir) = csu]
2545 (gen-as-const-headers): Add tcb-offsets.sym.
2546 * nptl/sysdeps/sh/Makefile: File removed.
2547 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
2548 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
2549 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
2550 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
2551 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
2552 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
2553 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
2554 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
2555 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
2556 * sysdeps/sh/nptl/pthreaddef.h: ... here.
2557 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
2558 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
2559 * nptl/sysdeps/sh/tls.h: Moved ...
2560 * sysdeps/sh/nptl/tls.h: ... here.
2561 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
2562 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
2563 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
2564 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
2565 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
2566 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
2567 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
2568 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
2569 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
2570 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
2571 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
2572 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
2573 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
2574 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
2575 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
2576 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
2577 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
2578 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
2579 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
2580 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
2581 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
2582 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
2583 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
2584 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
2585 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
2586 Moved ...
2587 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
2588 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
2589 Moved ...
2590 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
2591 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
2592 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
2593 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
2594 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
2595 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
2596 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
2597 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
2598 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
2599 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
2600 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
2601 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
2602 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
2603 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
2604 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
2605 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
2606 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
2607 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
2608 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
2609
35a5e3e3
SL
26102014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2611
2612 * posix/spawn_faction_addopen.c: Include string.h.
2613
14642b85
RM
26142014-06-11 Roland McGrath <roland@hack.frob.com>
2615
2616 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
2617 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
2618 * nptl/sysdeps/x86_64/Makefile: Moved ...
2619 * sysdeps/x86_64/nptl/Makefile: ... here.
2620 * nptl/sysdeps/x86_64/configure: Moved ...
2621 * sysdeps/x86_64/nptl/configure: ... here.
2622 * nptl/sysdeps/x86_64/configure.ac: Moved ...
2623 * sysdeps/x86_64/nptl/configure.ac: ... here.
2624 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
2625 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
2626 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
2627 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
2628 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
2629 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
2630 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
2631 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
2632 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
2633 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
2634 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
2635 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
2636 * nptl/sysdeps/x86_64/tls.h: Moved ...
2637 * sysdeps/x86_64/nptl/tls.h: ... here.
2638 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
2639 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
2640 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
2641 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
2642
2643 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
2644
31c44fea
AZ
26452014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2646
2647 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2648
e81a4f9a
JM
26492014-06-11 Joseph Myers <joseph@codesourcery.com>
2650
2651 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
2652 type.
2653 [POSIX] (off_t): Likewise.
2654 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
2655 [POSIX] (S_ISBLK): Require macro.
2656 [POSIX] (S_ISCHR): Likewise.
2657 [POSIX] (S_ISDIR): Likewise.
2658 [POSIX] (S_ISFIFO): Likewise.
2659 [POSIX] (S_ISREG): Likewise.
2660 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
2661 optional-macro.
2662 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
2663 type.
2664 [POSIX] (time_t): Likewise.
2665 [POSIX] (timer_t): Likewise.
2666
89e435f3
FW
26672014-06-11 Florian Weimer <fweimer@redhat.com>
2668
2669 [BZ #17048]
2670 * posix/spawn_int.h (struct __spawn_action): Make the path string
2671 non-const to support deallocation.
2672 * posix/spawn_faction_addopen.c
2673 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
2674 * posix/spawn_faction_destroy.c
2675 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
2676 path in all spawn_do_open actions.
2677 * posix/tst-spawn.c (do_test): Exercise the copy operation in
2678 posix_spawn_file_actions_addopen.
2679
c3a2ebe1
CM
26802014-06-11 Chris Metcalf <cmetcalf@tilera.com>
2681
2682 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
2683 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
2684 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
2685 conditional code always true.
2686 (__libc_vfork): New alias.
2687
9503784a
RM
26882014-06-11 Roland McGrath <roland@hack.frob.com>
2689
c9cab3d2
RM
2690 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2691 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
2692
d3996c79
RM
2693 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
2694
ba5ec611
RM
2695 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2696 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
2697
f12b4814
RM
2698 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2699 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
2700
9503784a
RM
2701 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2702 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
2703
e23d3d26
VR
27042014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2705
2706 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
2707 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
2708 multiarch strcmp for PPC64.
2709 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
2710 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
2711 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
2712 multiarch optimizations.
2713 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2714 (__libc_ifunc_impl_list): Likewise.
2715
42b1161e
SP
27162014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2717
2718 * benchtests/scripts/validate_benchout.py: New script.
2719 * benchtests/Makefile (bench-func): Call it.
2720 * benchtests/scripts/benchout.schema.json: New file.
2721
2d0fc4dc
CM
27222014-06-10 Chris Metcalf <cmetcalf@tilera.com>
2723
4a594c34
AZ
2724 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
2725 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
2726 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
2727 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
2728 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
2729 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
2730 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
2731 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
2732 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
2733 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
2734 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
2735 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
2736 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
2737 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
2738 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
2739 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
2740 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 2741 Moved ...
4a594c34 2742 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 2743 ... here.
4a594c34 2744 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 2745 Moved ...
4a594c34
AZ
2746 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
2747 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 2748 Moved ...
4a594c34 2749 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 2750 ... here.
4a594c34 2751 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 2752 Moved ...
4a594c34 2753 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 2754 ... here.
4a594c34 2755 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 2756 Moved ...
4a594c34
AZ
2757 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
2758 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 2759 Moved ...
4a594c34 2760 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 2761 ... here.
4a594c34 2762 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 2763 Moved ...
4a594c34 2764 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 2765 ... here.
4a594c34 2766 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 2767 Moved ...
4a594c34
AZ
2768 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
2769 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 2770 Moved ...
4a594c34 2771 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 2772 ... here.
4a594c34 2773 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 2774 Moved ...
4a594c34 2775 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 2776 ... here.
4a594c34 2777 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 2778 Moved ...
4a594c34 2779 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 2780 ... here.
4a594c34 2781 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 2782 Moved ...
4a594c34
AZ
2783 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2784 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 2785 Moved ...
4a594c34 2786 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 2787 ... here.
4a594c34 2788 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 2789 Moved ...
4a594c34 2790 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 2791 ... here.
4a594c34 2792 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 2793 Moved ...
4a594c34 2794 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 2795 ... here.
4a594c34 2796 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 2797 Moved ...
4a594c34
AZ
2798 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
2799 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 2800 Moved ...
4a594c34 2801 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 2802 ... here.
4a594c34 2803 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 2804 Moved ...
4a594c34 2805 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 2806 ... here.
4a594c34 2807 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 2808 Moved ...
4a594c34
AZ
2809 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
2810 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 2811 Moved ...
4a594c34 2812 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 2813 ... here.
4a594c34 2814 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 2815 Moved ...
4a594c34
AZ
2816 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
2817 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 2818 Moved ...
4a594c34
AZ
2819 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
2820 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 2821 Moved ...
4a594c34 2822 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 2823 ... here.
4a594c34 2824 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 2825 Moved ...
4a594c34 2826 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 2827 ... here.
4a594c34 2828 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 2829 Moved ...
4a594c34 2830 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 2831 ... here.
4a594c34 2832 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 2833 Moved ...
4a594c34
AZ
2834 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
2835 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 2836 Moved ...
4a594c34 2837 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 2838 ... here.
4a594c34 2839 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 2840 Moved ...
4a594c34 2841 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 2842 ... here.
4a594c34
AZ
2843 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
2844 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
2845 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
2846 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
2847 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 2848 Moved ...
4a594c34 2849 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 2850 ... here.
4a594c34
AZ
2851 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
2852 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
2853 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
2854 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
2855 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
2856 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
2857 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
2858 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
2859 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
2860 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
2861 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
2862 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
2863 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 2864 Moved ...
4a594c34
AZ
2865 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
2866 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 2867 Moved ...
4a594c34
AZ
2868 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
2869 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
2870 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
2871 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 2872 Moved ...
4a594c34
AZ
2873 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
2874 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
2875 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
2876 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
2877 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
2878 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
2879 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 2880
0570cfed
W
28812014-06-10 Wilco <wdijkstr@arm.com>
2882
2883 * math/test-fenv-return.c: New file.
2884 * math/Makefile: Add new test test-fenv-return.
2885
f8ba1b56
JM
28862014-06-10 Joseph Myers <joseph@codesourcery.com>
2887
2888 [BZ #17042]
2889 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
2890 when x - 1 is zero.
2891 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
2892 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2893 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
2894 0.0L for an argument of 1.0L.
2895 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2896 Likewise.
2897 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
2898 value when x - 1 is zero.
2899 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
2900 * sysdeps/i386/fpu/libm-test-ulps: Update.
2901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2902
2c3520d9
BO
29032014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
2904
2905 [BZ #15119]
2906 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
2907
acaa4d24
RM
29082014-06-09 Roland McGrath <roland@hack.frob.com>
2909
2910 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
2911 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
2912
962b744d
RM
29132014-06-09 Roland McGrath <roland@hack.frob.com>
2914
d752f0cc
RM
2915 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2916 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
2917
34eda6d1
RM
2918 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2919 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
2920
50f0a637
RM
2921 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2922 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
2923
08f41f04
RM
2924 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2925 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
2926
962b744d
RM
2927 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
2928 if not already defined.
2929 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
2930 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
2931 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
2932 (TLS_INIT_TP): Use it.
2933 (TLS_DEFINE_INIT_TP): New macro.
2934 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
2935
09f19b05
JM
29362014-06-09 Joseph Myers <joseph@codesourcery.com>
2937
2938 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
2939 constant.
2940 [POSIX] (IXANY): Likewise.
2941 [POSIX] (OLCUC): Likewise.
2942 [POSIX || POSIX2008] (CBAUD): Do not allow.
2943 [POSIX || POSIX2008] (DEFECHO): Likewise.
2944 [POSIX || POSIX2008] (ECHOCTL): Likewise.
2945 [POSIX || POSIX2008] (ECHOKE): Likewise.
2946 [POSIX || POSIX2008] (ECHOPRT): Likewise.
2947 [POSIX || POSIX2008] (EXTA): Likewise.
2948 [POSIX || POSIX2008] (EXTB): Likewise.
2949 [POSIX || POSIX2008] (FLUSHO): Likewise.
2950 [POSIX || POSIX2008] (LOBLK): Likewise.
2951 [POSIX || POSIX2008] (PENDIN): Likewise.
2952 [POSIX || POSIX2008] (SWTCH): Likewise.
2953 [POSIX || POSIX2008] (VDISCARD): Likewise.
2954 [POSIX || POSIX2008] (VDSUSP): Likewise.
2955 [POSIX || POSIX2008] (VLNEXT): Likewise.
2956 [POSIX || POSIX2008] (VREPRINT): Likewise.
2957 [POSIX || POSIX2008] (VSTATUS): Likewise.
2958 [POSIX || POSIX2008] (VWERASE): Likewise.
2959 (B*): Change to B[0123456789]*.
2960 * conform/data/time.h-data [POSIX || UNIX98]
2961 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
2962 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2963 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
2964 [POSIX] (tm_*): Do not allow.
2965
686554bf
JM
29662014-06-07 Joseph Myers <joseph@codesourcery.com>
2967
2968 * Makefile (install): Don't set LANGUAGE.
2969 * Makefile.in (install): Likewise.
2970 * assert/Makefile (test-assert-ENV): Remove variable.
2971 (test-assert-perr-ENV): Likewise.
2972 * elf/Makefile (neededtest4-ENV): Likewise.
2973 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2974 [$(cross-compiling) = no]: Don't set LANGUAGE.
2975 * io/ftwtest-sh (LANG): Remove variable.
2976 * libio/Makefile (tst-widetext-ENV): Likewise.
2977 * manual/install.texi (Running make install): Don't refer to
2978 environment settings for make install.
2979 * INSTALL: Regenerated.
2980 * nptl/tst-tls6.sh: Don't set LANG.
2981 * posix/globtest.sh (LANG): Remove variable.
2982 * string/Makefile (tester-ENV): Likewise.
2983 (inl-tester-ENV): Likewise.
2984 (noinl-tester-ENV): Likewise.
2985 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2986 [$(cross-compiling) = no]: Don't set LANGUAGE.
2987 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
2988 without explicit environment settings.
2989
68e6b6b1
RM
29902014-06-06 Roland McGrath <roland@hack.frob.com>
2991
2992 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
2993 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
2994 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
2995 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
2996
4d3ae034
CM
29972014-06-06 Chris Metcalf <cmetcalf@tilera.com>
2998
2999 * crypt/crypt-private.h [DOS]: Add some includes taken from the
3000 other files in the crypt directory.
3001 * crypt/crypt.c: Remove duplicate includes.
3002 * crypt/crypt-entry.c: Likewise.
3003 * crypt/crypt_util.c: Likewise.
3004
8540f6d2
JM
30052014-06-06 Joseph Myers <joseph@codesourcery.com>
3006
3007 * Makeconfig (run-program-env): New variable.
3008 (run-program-prefix-before-env): Likewise.
3009 (run-program-prefix-after-env): Likewise.
3010 (run-program-prefix): Define in terms of new variables.
3011 (built-program-cmd-before-env): New variable.
3012 (built-program-cmd-after-env): Likewise.
3013 (built-program-cmd): Define in terms of new variables.
3014 (test-program-prefix-before-env): New variable.
3015 (test-program-prefix-after-env): Likewise.
3016 (test-program-prefix): Define in terms of new variables.
3017 (test-program-cmd-before-env): New variable.
3018 (test-program-cmd-after-env): Likewise.
3019 (test-program-cmd): Define in terms of new variables.
3020 * Rules (make-test-out): Use $(run-program-env).
3021 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
3022 (help): Do not mention environment variables. Mention
3023 --timeoutfactor option.
3024 (timeoutfactor): New variable.
3025 (blacklist_exports): Remove function.
3026 (exports): Remove variable.
3027 (command): Do not include ${exports}.
3028 * manual/install.texi (Configuring and compiling): Do not mention
3029 test wrappers preserving environment variables. Mention that last
3030 assignment to a variable must take precedence.
3031 * INSTALL: Regenerated.
3032 * benchtests/Makefile (run-bench): Use $(run-program-env).
3033 * catgets/Makefile ($(objpfx)test1.cat): Use
3034 $(built-program-cmd-before-env), $(run-program-env) and
3035 $(built-program-cmd-after-env).
3036 ($(objpfx)test2.cat): Do not specify environment variables
3037 explicitly.
3038 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
3039 $(run-program-env) and $(built-program-cmd-after-env).
3040 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
3041 $(run-program-env) and $(test-program-cmd-after-env).
3042 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
3043 explicitly.
3044 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
3045 run_program_env and test_program_cmd_after_env arguments.
3046 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
3047 * elf/tst-pathopt.sh: Use run_program_env argument.
3048 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
3049 $(test-wrapper-env) and $(run-program-env).
3050 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
3051 run_program_env arguments.
3052 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
3053 * intl/Makefile ($(objpfx)tst-gettext.out): Use
3054 $(test-program-prefix-before-env), $(run-program-env) and
3055 $(test-program-prefix-after-env).
3056 ($(objpfx)tst-gettext2.out): Likewise.
3057 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
3058 run_program_env and test_program_prefix_after_env arguments.
3059 * intl/tst-gettext2.sh: Likewise.
3060 * intl/tst-gettext4.sh: Do not set environment variables
3061 explicitly.
3062 * intl/tst-gettext6.sh: Likewise.
3063 * intl/tst-translit.sh: Likewise.
3064 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
3065 $(test-program-prefix-before-env), $(run-program-env) and
3066 $(test-program-prefix-after-env).
3067 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
3068 run_program_env and test_program_prefix_after_env arguments.
3069 * math/Makefile (run-regen-ulps): Use $(run-program-env).
3070 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
3071 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
3072 explicitly with each use of ${test_wrapper_env}.
3073 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
3074 $(test-program-prefix-before-env), $(run-program-env) and
3075 $(test-program-prefix-after-env).
3076 * posix/tst-getconf.sh: Do not set environment variables
3077 explicitly.
3078 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
3079 run_program_env and test_program_prefix_after_env arguments.
3080 * stdio-common/tst-printf.sh: Do not set environment variables
3081 explicitly.
3082 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
3083 $(test-program-prefix-before-env), $(run-program-env) and
3084 $(test-program-prefix-after-env).
3085 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
3086 run_program_env and test_program_prefix_after_env arguments.
3087 Split $test calls into $test_pre and $test.
3088 * timezone/Makefile (build-testdata): Use
3089 $(built-program-cmd-before-env), $(run-program-env) and
3090 $(built-program-cmd-after-env).
3091
ed36bfa1
AZ
30922014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3093
3094 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
3095 strlen for non SHARED builds.
3096
fc75bf46
SP
30972014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3098
3099 * nptl/allocatestack.c (check_list): Inlined function...
3100 (__reclaim_stacks): ... here.
3101
d89b3d80
OB
31022014-06-05 Ondřej Bílka <neleai@seznam.cz>
3103
3104 [BZ #15698]
3105 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3106 memory overrun.
3107
2bf18041
JM
31082014-06-05 Joseph Myers <joseph@codesourcery.com>
3109
3110 * Rules (make-test-out): Include
3111 LOCPATH=$(common-objpfx)localedata in default environment.
3112 * debug/Makefile (tst-chk1-ENV): Remove variable.
3113 (tst-chk2-ENV): Likewise.
3114 (tst-chk3-ENV): Likewise.
3115 (tst-chk4-ENV): Likewise.
3116 (tst-chk5-ENV): Likewise.
3117 (tst-chk6-ENV): Likewise.
3118 (tst-lfschk1-ENV): Likewise.
3119 (tst-lfschk2-ENV): Likewise.
3120 (tst-lfschk3-ENV): Likewise.
3121 (tst-lfschk4-ENV): Likewise.
3122 (tst-lfschk5-ENV): Likewise.
3123 (tst-lfschk6-ENV): Likewise.
3124 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
3125 (tst-iconv7-ENV): Likewise.
3126 * intl/Makefile (LOCPATH-ENV): Likewise.
3127 (tst-codeset-ENV): Likewise.
3128 (tst-gettext3-ENV): Likewise.
3129 (tst-gettext5-ENV): Likewise.
3130 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
3131 (tst-fopenloc-ENV): Likewise.
3132 (tst-fgetws-ENV): Remove variable.
3133 (tst-ungetwc1-ENV): Likewise.
3134 (tst-ungetwc2-ENV): Likewise.
3135 (bug-ungetwc2-ENV): Likewise.
3136 (tst-swscanf-ENV): Likewise.
3137 (bug-ftell-ENV): Likewise.
3138 (tst-fgetwc-ENV): Likewise.
3139 (tst-fseek-ENV): Likewise.
3140 (tst-ftell-partial-wide-ENV): Likewise.
3141 (tst-ftell-active-handler-ENV): Likewise.
3142 (tst-ftell-append-ENV): Likewise.
3143 * posix/Makefile (tst-fnmatch-ENV): Likewise.
3144 (tst-regexloc-ENV): Likewise.
3145 (bug-regex1-ENV): Likewise.
3146 (tst-regex-ENV): Likewise.
3147 (tst-regex2-ENV): Likewise.
3148 (bug-regex5-ENV): Likewise.
3149 (bug-regex6-ENV): Likewise.
3150 (bug-regex17-ENV): Likewise.
3151 (bug-regex18-ENV): Likewise.
3152 (bug-regex19-ENV): Likewise.
3153 (bug-regex20-ENV): Likewise.
3154 (bug-regex22-ENV): Likewise.
3155 (bug-regex23-ENV): Likewise.
3156 (bug-regex25-ENV): Likewise.
3157 (bug-regex26-ENV): Likewise.
3158 (bug-regex30-ENV): Likewise.
3159 (bug-regex32-ENV): Likewise.
3160 (bug-regex33-ENV): Likewise.
3161 (bug-regex34-ENV): Likewise.
3162 (bug-regex35-ENV): Likewise.
3163 (tst-rxspencer-ENV): Likewise.
3164 (tst-rxspencer-no-utf8-ENV): Likewise.
3165 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3166 (tst-sscanf-ENV): Likewise.
3167 (tst-swprintf-ENV): Likewise.
3168 (tst-swscanf-ENV): Likewise.
3169 (test-vfprintf-ENV): Likewise.
3170 (scanf13-ENV): Likewise.
3171 (bug14-ENV): Likewise.
3172 (tst-grouping-ENV): Likewise.
3173 * stdlib/Makefile (tst-strtod-ENV): Likewise.
3174 (tst-strtod3-ENV): Likewise.
3175 (tst-strtod4-ENV): Likewise.
3176 (tst-strtod5-ENV): Likewise.
3177 (testmb2-ENV): Likewise./
3178 * string/Makefile (tst-strxfrm-ENV): Likewise.
3179 (tst-strxfrm2-ENV): Likewise.
3180 (bug-strcoll1-ENV): Likewise.
3181 (test-strcasecmp-ENV): Likewise.
3182 (test-strncasecmp-ENV): Likewise.
3183 * time/Makefile (tst-strptime-ENV): Likewise.
3184 (tst-ftime_l-ENV): Likewise.
3185 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
3186 (tst-mbrtowc-ENV): Likewise.
3187 (tst-wcrtomb-ENV): Likewise.
3188 (tst-mbrtowc2-ENV): Likewise.
3189 (tst-c16c32-1-ENV): Likewise.
3190 (tst-mbsnrtowcs-ENV): Likewise.
3191
cd1fb604
OB
31922014-06-05 Ondřej Bílka <neleai@seznam.cz>
3193
3194 * manual/resource.texi (How to get information about the memory
3195 subsystem?): Fix typo.
3196 Reported by Peon de la Parra Ivan <peon@keba.com>
3197
b42eca7d
GY
31982014-06-03 Guo Yixuan <culu.gyx@gmail.com>
3199
3200 [BZ #16882]
3201 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
3202 (pthread_spin_lock): Branch out of spin loop to proper location.
3203 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
3204 (pthread_spin_lock): Likewise.
3205
902b71f9
DM
3206 * nptl/tst-spin4.c: New test.
3207 * nptl/Makefile (tests): Add tst-spin4.
3208
f9d2d032
AS
32092014-06-03 Andreas Schwab <schwab@suse.de>
3210
3211 [BZ #15946]
3212 * resolv/res_send.c (send_dg): Reload file descriptor after
3213 calling reopen.
3214
cf7bfd28
SL
32152014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
3216
3217 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3218
111cc714
RH
32192014-06-03 Richard Henderson <rth@redhat.com>
3220
89b4bd6b
RH
3221 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
3222 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3223 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3224 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
3225 in the SAVE_PID block.
3226 (__libc_vfork): New alias.
71840409 3227 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 3228
111cc714
RH
3229 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3230 child in registers, not on the stack. Remove RESET_PID conditionals.
3231 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3232
ccc39911
MS
32332014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
3234
3235 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3236
693096cc
W
32372014-06-03 Wilco <wdijkstr@arm.com>
3238
3239 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3240 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3241 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3242 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3243 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3244 Likewise.
3245
0b4366bc
W
32462014-06-03 Wilco <wdijkstr@arm.com>
3247
3248 * sysdeps/aarch64/fpu/math_private.h
3249 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3250 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3251 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3252 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3253 Fix declarations.
3254
8747cd03
KS
32552014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3256
3257 * crypt/crypt-private.h: Include ufc-crypt.h.
3258 (__b64_from_24bit): Declare extern.
3259 * crypt/crypt_util.c(__b64_from_24bit): New function.
3260 (b64t): New static const variable.
3261 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3262 (b64t): Remove variable.
3263 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
3264 * crypt/sha256-crypt.c: Include crypt-private.h.
3265 (b64t): Remove variable.
3266 (__sha256_crypt_r): Remove b64_from_24bit and replace
3267 with __b64_from_24bit.
3268 * crypt/sha512-crypt.c: Likewise.
3269
d936d379
RM
32702014-06-02 Roland McGrath <roland@hack.frob.com>
3271
3272 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
3273 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
3274 Label the code __libc_vfork rather than __vfork.
3275 [!NOT_IN_libc] (vfork): Define as weak alias.
3276 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
3277 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
3278 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
3279
9fa76613
SP
32802014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3281
3282 * malloc/malloc.c (malloc_info): Fix format specifier for
3283 n_mmaps.
3284
a88dadbe
W
32852014-06-02 Wilco <wdijkstr@arm.com>
3286
3287 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
3288 FPCR write.
3289
c95b3011
W
32902014-06-02 Wilco <wdijkstr@arm.com>
3291
3292 [BZ #17009]
3293 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
3294 Rewrite to reduce FPCR/FPSR accesses.
3295
6b4d7a90
DM
32962014-06-01 David S. Miller <davem@davemloft.net>
3297
3298 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3299
30f3d07c
DM
33002014-05-31 David S. Miller <davem@davemloft.net>
3301
3302 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
3303 to occur in round to nearest mode when |x| >= 2.0
3304
74f31c18
RH
33052014-05-30 Richard Henderson <rth@twiddle.net>
3306
f0712b54
RH
3307 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
3308 (PSEUDO_RET_NOERRNO): Remove.
3309 (ret): Don't redefine.
3310 (ret_NOERRNO): Define in terms of ret.
3311 (ret_ERRVAL): Likewise.
3312
74f31c18
RH
3313 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
3314 use of PSEUDO_RET; perform the error check directly.
3315
30477995
MM
33162014-05-30 Marko Myllynen <myllynen@redhat.com>
3317
3318 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
3319 with __int128_t.
3320
62a58816
SP
33212014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3322
3323 * malloc/malloc (malloc_info): Fix formatting.
3324
4d653a59
SP
33252014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3326 Roland McGrath <roland@hack.frob.com>
3327
3328 * malloc/malloc (malloc_info): Also print mmapped statistics.
3329
5190c17f
RM
33302014-05-30 Roland McGrath <roland@hack.frob.com>
3331
3332 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
3333 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
3334
987c0269
OB
33352014-05-30 Ondřej Bílka <neleai@seznam.cz>
3336
3337 * malloc/malloc.c (malloc_info): Inline mi_arena.
3338
af4e8ef9
RH
33392014-05-29 Richard Henderson <rth@twiddle.net>
3340
1670e207
RH
3341 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
3342 Remove comma before expanding ASM_ARGS_##nr.
3343 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
3344 Make _x0 a strict output; make _x8 a strict input; adjust expansion
3345 of ASM_ARGS_##nr.
3346 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
3347 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
3348 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
3349 (ASM_ARGS_1): Add leading comma.
3350
11a28aee
RH
3351 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
3352 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
3353 to __errno_location.
3354 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
3355 Remove the expected plt for __errno_location.
3356
a17e5ffb 3357 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 3358 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
3359 call to __read_tp.
3360
b5be4597
RH
3361 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3362 Always allocate 64 bytes of stack frame. Use ldp/stp to create
3363 it and break it down.
3364 (DOCARGS_0, DOCARGS_1): Do nothing.
3365 (DOCARGS_2): Update to store into the new stack frame.
3366 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
3367 (UNDOCARGS_1): Update to restore from the new stack frame.
3368 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
3369 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
3370
645d44ab
RH
3371 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3372 (SINGLE_THREAD_P): New parameter for result regno.
3373 (PSEUDO): Update to match; use cbz instead of beq.
3374
a8b4f04a
RH
3375 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3376 Use ENTRY to define the _nocancel entry point. Share the syscall
3377 and syscall error check paths with the cancel path.
3378 (PSEUDO_END): New.
3379
af4e8ef9
RH
3380 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
3381 whitespace; tabs before and after asm mnemonics.
3382
26b0d2e1
EW
33832014-05-29 Eric Wong <normalperson@yhbt.net>
3384
3385 [BZ #15132]
3386 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3387 Call fstat64 or stat64 internally, depending on arguments passed.
3388 Replace stat buffer argument with file descriptor argument.
3389 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
3390 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3391 Pass fd to __internal_statvfs instead of calling fstat64.
3392 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
3393 Pass fd to __internal_statvfs64 instead of calling fstat64.
3394 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
3395 Pass -1 to __internal_statvfs instead of calling stat64.
3396 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
3397 Pass -1 to __internal_statvfs64 instead of calling stat64.
3398
1efe2bd9
RM
33992014-05-28 Roland McGrath <roland@hack.frob.com>
3400
0d3b7a19
RM
3401 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
3402 that was previously under [RESET_PID].
3403 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
3404
1efe2bd9
RM
3405 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
3406 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
3407
a6bea3ca
RM
34082014-05-27 Roland McGrath <roland@hack.frob.com>
3409
30b6629e
RM
3410 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
3411
a6bea3ca
RM
3412 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
3413 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
3414
3dfb9a5c
OB
34152014-05-27 Ondřej Bílka <neleai@seznam.cz>
3416
3417 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
3418
774f9285
AS
34192014-05-27 Andreas Schwab <schwab@suse.de>
3420
3421 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
3422 TLS_INIT_TP macro.
3423 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3424 * elf/rtld.c (init_tls, dl_main): Likewise.
3425 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
3426 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
3427 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
3428 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
3429 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
3430 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
3431 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
3432 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
3433 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
3434 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
3435 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
3436 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
3437 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
3438 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
3439 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
3440 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
3441 * sysdeps/generic/tls.h: Update description.
3442
36ffe739
WN
34432014-05-27 Will Newton <will.newton@linaro.org>
3444
3445 [BZ #16990]
3446 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
3447 and restore r2 rather than just restoring.
3448
2482ae43
SP
34492014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3450
3451 [BZ #16724]
3452 * libio/tst-ftell-append.c: New test case.
3453 * libio/Makefile (tests): Add test case.
3454 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
3455 append mode.
3456 * libio/wfileops.c (do_ftell_wide): Likewise.
3457
3d1024e8
AZ
34582014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3459
bab90016
AZ
3460 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3461
c7a8d667
AZ
3462 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
3463 ...
3464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
3465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3466 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
3467 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
3468 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
3469 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
3470 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
3471 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
3472 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3473 Moved ...
3474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
3475 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3476 Moved ...
3477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
3478 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
3479 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
3480 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
3481 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
3482 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
3483 ...
3484 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
3485 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
3486 Moved ...
3487 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
3488 here.
3489 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
3490 ...
3491 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
3492 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
3493 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
3494
daee7851
AZ
3495 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
3496 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
3497 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
3498 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
3499
50a40819
AZ
3500 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
3501 merge into ...
3502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
3503 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
3504 ...
3505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
3506 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
3507 ...
3508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
3509 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3510 Moved ...
3511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
3512 here.
3513 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3514 Moved ...
3515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
3516 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3517 Moved ...
3518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
3519
8464c2a1
AZ
3520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
3521 conditional [RESET_PID].
3522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3523 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
3524 removed.
3525 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
3526 removed.
3527
3d1024e8
AZ
3528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
3529 <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/powerpc/powerpc32/pt-vfork.S: File
3533 removed.
3534 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
3535 Removed.
3536
3537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
3538 <tcb-offsets.h>.
3539 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
3540 (__libc_vfork): New strong alias.
3541 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
3542 removed.
3543 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
3544 removed.
3545
fdfd175d
CD
35462014-05-26 Carlos O'Donell <carlos@redhat.com>
3547
3548 * malloc/malloc.c (mi_arena): New function.
3549 (malloc_info): Remove nested function mi_arena. Call non-nosted
3550 function mi_arena.
3551
d298c416
AZ
35522014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3553
3554 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
3555 by insrwi.
3556 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3557 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3558 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
3559 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
3560 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
3561 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
3562 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
3563
b60ea6ff
AS
35642014-05-26 Andreas Schwab <schwab@suse.de>
3565
3566 [BZ #16984]
3567 * locale/programs/repertoire.c (repertoire_read): Add slash
3568 between I18NPATH element and file name.
3569 * locale/programs/locfile.c (locfile_read): Likewise.
3570
67365926
SL
35712014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3572
3573 * nptl/pthread_mutexattr_settype.c
3574 (__pthread_mutexattr_settype):
3575 Disable lock elision for PTHREAD_MUTEX_NORMAL.
3576
f8bdf1f0
SL
35772014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3578
3579 * nptl/tst-mutex5 (do_test):
3580 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
3581
15eaf6ff
SP
35822014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3583
3584 * benchtests/README: Document 'init' directive.
3585 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
3586 BENCH_INIT.
3587 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
3588 (parse_file): Recognize 'init' directive.
3589
75f11331
KM
35902014-05-26 Kyle McMartin <kyle@redhat.com>
3591
3592 [BZ #16796]
3593 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
3594 alignment of struct pthread.
3595
c3ec475c
SP
35962014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3597
3598 [BZ #16878]
3599 * nscd/netgroupcache.c (addgetnetgrentX): Look for
3600 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3601 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
3602 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3603
82aab97c
RH
36042014-05-25 Richard Henderson <rth@twiddle.net>
3605
aa2f176d
RH
3606 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3607 (SINGLE_THREAD_P_PIC): Remove.
3608 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
3609 (SINGLE_THREAD_P_PIC): Remove.
3610
ca3cfa40
RH
3611 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
3612 branch to syscall error ...
3613 (PSEUDO): ... here.
3614 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
3615 from __local_syscall_error to .Lsyscall_error.
3616 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
3617 (SYSCALL_ERROR): Update label name.
3618
6e6c2d01
RH
3619 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3620 Do not use DOARGS/UNDOARGS.
3621 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
3622 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
3623 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
3624 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
3625 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
3626
c69abcee
RH
3627 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
3628 block comment.
3629
82aab97c
RH
3630 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
3631 define if !NOT_IN_libc.
3632 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
3633 define with non-default symbol versions.
3634
8820e3ac
RH
36352014-05-23 Richard Henderson <rth@twiddle.net>
3636
900e445f
RH
3637 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
3638 (vfork, __vfork): Define via compat_symbol.
3639
8820e3ac
RH
3640 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
3641 [!HAVE_IFUNC] (vfork_compat): Remove.
3642 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
3643
e59252a5
JM
36442014-05-23 Joseph Myers <joseph@codesourcery.com>
3645
3646 [BZ #16978]
3647 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
3648 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
3649 variable.
3650
132c7f5f
RH
36512014-05-23 Richard Henderson <rth@twiddle.net>
3652
bc89e962
RH
3653 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
3654 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
3655 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
3656 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
3657
3658 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
3659 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
3660 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
3661 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
3662 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
3663 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
3664 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
3665 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
3666 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
3667 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
3668 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
3669 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
3670 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
3671 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
3672 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
3673 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
3674 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
3675 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
3676 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
3677 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
3678 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
3679 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
3680 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
3681 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
3682 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
3683 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
3684 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
3685 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
3686 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
3687 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
3688 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
3689 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
3690 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
3691 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
3692 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
3693 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
3694 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
3695 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
3696 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
3697 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
3698 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
3699 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
3700 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
3701 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
3702 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
3703 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
3704 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
3705 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
3706 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
3707 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
3708 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
3709 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
3710 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
3711 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
3712 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
3713 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
3714
e2fa4bc2
RH
3715 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
3716 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
3717 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
3718 before exiting on error.
3719 (__libc_vfork): New strong alias.
3720 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
3721 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
3722
279b24e2
RH
3723 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
3724 that was previously under [RESET_PID].
3725 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
3726
132c7f5f
RH
3727 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
3728
b72592e7
JM
37292014-05-23 Joseph Myers <joseph@codesourcery.com>
3730
3731 [BZ #16977]
3732 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
3733 value when x - 1 is zero.
3734 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
3735 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3736 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
3737 0.0L for an argument of 1.0L.
3738 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
3739 Likewise.
3740 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
3741 value when x - 1 is zero.
3742 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
3743 * sysdeps/i386/fpu/libm-test-ulps: Update.
3744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3745
2302d679
RV
37462014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3747
3748 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
3749 alphasort and versionsort.
3750
32999d63
AZ
37512014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3752
3753 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
3754 macro.
3755 [copysignf]: Likewise.
3756
019324d0
SP
37572014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3758
3759 * crypt/md5-crypt.c: Fix formatting.
3760
34fff5c2
KS
37612014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3762
3763 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
3764 (b64_from_24bit): New function.
3765
3d2badac
AZ
37662014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3767
3768 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
3769 libc_hidden_builtin_def to ifunc.
3770 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3771 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3772
f7bb179f 37732014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
3774
3775 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3776 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3777
4134b50d
JM
37782014-05-21 Joseph Myers <joseph@codesourcery.com>
3779
bb7d0337
JM
3780 * nscd/Depend (linuxthreads): Remove.
3781 (nptl): Add.
3782 * resolv/Depend (linuxthreads): Remove.
3783 * rt/Depend (linuxthreads): Remove.
3784
4134b50d
JM
3785 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3786 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3787 $(common-objpfx)elf/.
3788 (link-libc-before-gnulib): Likewise.
3789 (elfobjdir): Remove variable.
3790 * Makefile (install): Use $(elf-objpfx) instead of
3791 $(common-objpfx)elf/.
3792 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3793 $(elfobjdir)/.
3794 (link-libc-deps): Likewise.
3795 ($(common-objpfx)libc.so): Likewise.
3796 ($(common-objpfx)linkobj/libc.so): Likewise.
3797 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
3798 instead of $(common-objpfx)elf/.
3799 (symbolic-link-list): Likewise.
3800 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3801 [$(cross-compiling) = no]: Likewise.
3802 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
3803 $(elfobjdir)/.
3804 (static-gnulib-arch): Likewise.
3805 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3806 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
3807 $(common-objpfx)elf/.
3808
3612eb8f
RH
38092014-05-21 Richard Henderson <rth@redhat.com>
3810
a6b3657b
RH
3811 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3812 (SINGLE_THREAD_P): Use the correct width load. Fold
3813 into the ldr offset.
3814
3612eb8f
RH
3815 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
3816 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
3817
175cef41
JM
38182014-05-20 Joseph Myers <joseph@codesourcery.com>
3819
3820 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
3821 (libgcc_s_resume): Use __attribute_used__.
3822 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
3823 Likewise.
3824
e13bccd3
AZ
38252014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3826
3827 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
3828 optimization when used with float constants.
3829
7c112a38
AZ
3830 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3831
ae75a883
AJ
38322014-05-20 Aurelien Jarno <aurelien@aurel32.net>
3833
3834 [BZ #16915]
3835 * locale/nl_langinfo_l.c: Make direct reference to every
3836 _nl_current_CATEGORY symbol.
3837 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
3838 (tests-static): Add tst-langinfo-static.
3839 (tests-special): Add tst-langinfo-static.out.
3840 ($(objpfx)tst-langinfo.out): Redirect output.
3841 ($(objpfx)tst-langinfo-static.out): New.
3842 * localedata/tst-langinfo.sh: Send output to stdout.
3843 * localedata/tst-langinfo-static.c: New file.
3844
4406c41c
AJ
3845 [BZ #16965]
3846 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
3847 when the shift amount is modulo the limb size.
3848
4c0a1e63
RH
38492014-05-20 Richard Henderson <rth@redhat.com>
3850
de9d8f20
RH
3851 [BZ #16967]
3852 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
3853 Change type of sa_flags from unsigned int to int.
3854
4c0a1e63
RH
3855 [BZ #16966]
3856 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
3857
3858 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
3859
a60339aa
WN
38602014-05-20 Will Newton <will.newton@linaro.org>
3861
3862 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3863 Test the return value of the system call in the nocancel case.
3864
7d05a816
YR
38652014-05-20 Will Newton <will.newton@linaro.org>
3866 Yvan Roux <yvan.roux@linaro.org>
3867
3868 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
3869 #include of asm/ptrace.h.
3870 (PTRACE_GET_THREAD_AREA): Remove #undef.
3871 (PTRACE_GETHBPREGS): Likewise.
3872 (PTRACE_SETHBPREGS): Likewise.
3873 (struct user_regs_struct): New structure.
3874 (struct user_fpsimd_struct): New structure.
3875 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
3876 #include of asm/ptrace.h and second #include of sys/user.h.
3877 (PTRACE_GET_THREAD_AREA): Remove #undef.
3878 (PTRACE_GETHBPREGS): Likewise.
3879 (PTRACE_SETHBPREGS): Likewise.
3880 (ELF_NGREG): Use new struct user_regs_struct.
3881 (elf_fpregset_t): Use new struct user_fpsimd_struct.
3882
af121e37
AZ
38832014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3884
3885 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
3886 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
3887
834caf06
JM
38882014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3889
3890 [BZ #16958]
3891 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
3892 membar to avoid block loads/stores to overlap previous stores.
3893
e184a918
RH
38942014-05-17 Richard Henderson <rth@redhat.com>
3895
3896 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
3897 Create the __##syscall_name##_nocancel entry point.
3898 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
3899 Remove; let the sysdep-cancel.h code create it.
3900
f56c7a6a
DM
39012014-05-17 David S. Miller <davem@davemloft.net>
3902
3903 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
3904 Protect with __USE_GNU.
3905 (TIOCSET_TEMPT): Likewise.
3906 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3907 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
3908 these are already provided in bits/ioctl-types.h
3909
f75616b2
RM
39102014-05-16 Roland McGrath <roland@hack.frob.com>
3911
3edeca86
RM
3912 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
3913 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
3914
f75616b2
RM
3915 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
3916 Use wait4 regardless of [__NR_waitpid].
3917
deb0f7f6
MR
39182014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3919
3920 PR libgcc/60166
3921 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3922 (_FP_NANSIGN_Q): Set the quiet bit.
3923
79520f4b
JM
39242014-05-16 Joseph Myers <joseph@codesourcery.com>
3925
3926 * benchtests/Makefile
3927 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
3928 not $(common-objpfx)math/libm.so.
3929 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
3930 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
3931 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
3932 $(common-objpfx)dlfcn/libdl.so.
3933 ($(objpfx)tst-audit8): Depend on $(libm), not
3934 $(common-objpfx)math/libm.so.
3935 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
3936 not $(common-objpfx)dlfcn/libdl.so.
3937 * math/Makefile
3938 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3939 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
3940 [$(build-shared) = yes].
3941 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
3942 $(common-objpfx)nptl/libpthread.so.
3943 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
3944 $(common-objpfx)math/libm.so$(libm.so-version) or
3945 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
3946 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
3947 $(common-objpfx)dlfcn/libdl.so.
3948 * setjmp/Makefile (link-libm): Remove variable.
3949 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
3950 * stdio-common/Makefile (link-libm): Remove variable.
3951 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
3952 * stdlib/Makefile (link-libm): Remove variable.
3953 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
3954 ($(objpfx)tst-strtod-round): Likewise.
3955 ($(objpfx)tst-tininess): Likewise.
3956 ($(objpfx)tst-strtod-underflow): Likewise.
3957 ($(objpfx)tst-strtod6): Likewise.
3958 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
3959 $(libdl), not $(common-objpfx)nptl/libpthread.so and
3960 $(common-objpfx)dlfcn/libdl.so.
3961
026b0fe4
AZ
39622014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3963
3964 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
3965 BSD terminal modes definitions.
3966
def4bcb2
RM
39672014-05-16 Roland McGrath <roland@hack.frob.com>
3968
fe39b021
RM
3969 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
3970 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
3971
1d1fc46e 3972 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
3973 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
3974 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
3975 Don't do #include_next.
3976 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
3977 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
3978 Don't do #include_next.
3979 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
3980 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
3981 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
3982 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
3983
c72399fb
AM
39842014-05-16 Allan McRae <allan@archlinux.org>
3985
d51d659d
AM
3986 * po/sv.po: Update Swedish translation from translation project.
3987
c72399fb
AM
3988 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
3989 in sed expression.
3990
d0583c40
AJ
39912014-05-16 Aurelien Jarno <aurelien@aurel32.net>
3992
3993 [BZ #16917]
3994 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
3995 errno if the TIOCGPTN ioctl fails with an error different than
3996 EINVAL.
3997 * login/tst-ptsname.c: New file.
3998 * login/Makefile (tests): Add tst-ptsname.
3999
d16e6ec7
AJ
4000 [BZ #16943]
4001 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
4002 and prlimit64.
4003
cf26a0cb
SP
40042014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4005
4006 [BZ #16849]
4007 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
4008 herrno to return EAI_AGAIN.
4009
5675da1e
RM
40102014-05-14 Roland McGrath <roland@hack.frob.com>
4011
a5d87b3d
RM
4012 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
4013 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
4014 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
4015 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
4016 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
4017 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
4018 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
4019 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
4020 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
4021 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
4022 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
4023 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
4024 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
4025 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
4026 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
4027 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
4028 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
4029 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
4030 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
4031 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
4032 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
4033 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
4034 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
4035 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
4036 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
4037 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
4038 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
4039 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
4040 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
4041 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
4042 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
4043 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
4044 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
4045 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
4046 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4047 Moved ...
4048 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
4049 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
4050 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
4051 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
4052 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
4053 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
4054 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
4055 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
4056 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
4057 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
4058 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
4059 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
4060 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
4061 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
4062 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
4063 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
4064 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
4065 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
4066 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
4067 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
4068 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
4069 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
4070 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
4071 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
4072 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
4073 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
4074 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
4075 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4076 Moved ...
4077 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
4078 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
4079 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
4080 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
4081 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
4082 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
4083 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
4084 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
4085 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
4086 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
4087 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
4088 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
4089 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
4090 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
4091 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
4092 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
4093 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
4094 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
4095 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
4096 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4097 Moved ...
4098 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
4099 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
4100 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
4101
039890a6
RM
4102 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
4103 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
4104 (libpthread-sysdep_routines): Add elision-related stuff here instead.
4105 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
4106 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
4107 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
4108 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
4109 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
4110 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
4111 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
4112 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
4113 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
4114 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
4115 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
4116 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
4117 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
4118 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
4119 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
4120 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
4121 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
4122 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
4123 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
4124 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
4125 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
4126 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
4127 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
4128 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
4129 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
4130 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
4131 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
4132 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
4133
65c89320
RM
4134 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
4135 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
4136
348f8e8c
RM
4137 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
4138 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
4139 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
4140 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
4141 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
4142 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
4143 Moved ...
4144 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
4145 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4146 Moved ...
4147 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
4148 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4149 Moved ...
4150 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
4151 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
4152 Moved ...
4153 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
4154 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
4155 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
4156 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4157 Moved ...
4158 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4159 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4160 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4161 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4162 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4163 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4164 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4165 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4166 Moved ...
4167 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4168 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4169 Moved ...
4170 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4171 ... here.
4172 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4173 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4174 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
4175 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
4176 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4177 Moved ...
4178 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4179 ... here.
4180 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
4181 Moved ...
4182 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
4183 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
4184 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
4185 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
4186 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
4187 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
4188 Moved ...
4189 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
4190 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4191 Moved ...
4192 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
4193 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4194 Moved ...
4195 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
4196 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
4197 Moved ...
4198 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
4199 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
4200 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
4201 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
4202 Moved ...
4203 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
4204 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
4205 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
4206 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
4207 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
4208 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
4209 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
4210 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4211 Moved ...
4212 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
4213 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4214 Moved ...
4215 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4216 ... here.
4217 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
4218 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
4219 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
4220 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
4221 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4222 Moved ...
4223 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4224 ... here.
4225 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4226 Moved ...
4227 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4228 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4229 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4230 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4231 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4232 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4233 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4234 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4235 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4236 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4237 Moved ...
4238 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4239 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4240 Moved ...
4241 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4242 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4243 Moved ...
4244 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4245 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4246 Moved ...
4247 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4248 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4249 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4250 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4251 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4252 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4253 Moved ...
4254 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4255 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4256 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4257 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4258 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4259 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4260 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4261 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4262 Moved ...
4263 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
4264 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4265 Moved ...
4266 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4267 ... here.
4268 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
4269 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
4270 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
4271 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
4272 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4273 Moved ...
4274 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4275 ... here.
4276 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
4277 Moved ...
4278 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
4279 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
4280 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
4281 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
4282 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
4283 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
4284 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
4285 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
4286 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
4287 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
4288 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
4289
5085af05
RM
4290 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
4291 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
4292
708f0813
RM
4293 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
4294 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
4295
c96067bc
RM
4296 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
4297 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
4298 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
4299 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
4300 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
4301 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
4302 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
4303 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
4304 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
4305 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
4306 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
4307 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
4308 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
4309 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
4310 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
4311 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
4312 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
4313 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
4314 Moved ...
4315 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
4316 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
4317 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
4318 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
4319 Moved ...
4320 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
4321 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
4322 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
4323 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
4324 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
4325 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
4326 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
4327 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
4328 Moved ...
4329 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
4330 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
4331 Moved ...
4332 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
4333 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
4334 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
4335 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
4336 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
4337 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
4338 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
4339 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
4340 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
4341 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
4342 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
4343 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
4344 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
4345 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
4346 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
4347 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
4348 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
4349
ec136444
RM
4350 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
4351 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
4352 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
4353 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
4354 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
4355
2fbdf533
RM
4356 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
4357 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
4358 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
4359 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
4360 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
4361 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
4362 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
4363 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
4364 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
4365 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
4366
4c68138b
RM
4367 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
4368 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
4369
4eaae765
RM
4370 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
4371 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
4372 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
4373 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
4374 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
4375 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
4376 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
4377 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
4378 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
4379 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
4380 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
4381 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
4382 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
4383 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
4384 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
4385 Update #include.
4386 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
4387 Likewise.
4388 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4389 Likewise.
4390 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4391 Likewise.
4392 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4393 Likewise.
4394 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
4395 Likewise.
4396 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
4397 Likewise.
4398 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4399 Likewise.
4400 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
4401 Likewise.
4402 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
4403 Likewise.
4ef6befa
RM
4404 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
4405 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
4406 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
4407 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
4408 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
4409 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
4410 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
4411 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
4412 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
4413 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
4414 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
4415 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
4416 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
4417 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
4418 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 4419
941d7dfd
RM
4420 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
4421 that was previously under [RESET_PID].
4422 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4423 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
4424 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
4425
1b731c35
RM
4426 * sysdeps/i386/nptl/Implies: New file.
4427 * sysdeps/x86_64/nptl/Implies: New file.
4428 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
4429 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
4430 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
4431 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
4432
e2787137
RM
4433 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
4434 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4435 (__libc_vfork): New strong alias.
4436 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
4437 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
4438
4439 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
4440 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4441 (__libc_vfork): New strong alias.
4442 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
4443 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
4444
5675da1e
RM
4445 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
4446 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4447 (__libc_vfork): New strong alias.
4448 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
4449 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
4450 * nptl/pt-vfork.c: New file.
4451 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
4452 (libpthread: GLIBC_2.20): New version set (empty).
4453
4f02e2b8
WN
44542014-05-14 Will Newton <will.newton@linaro.org>
4455
4456 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
4457 rather than #if.
4458
0bf061d3
JM
44592014-05-14 Joseph Myers <joseph@codesourcery.com>
4460
1a84c3d6
JM
4461 [BZ #16564]
4462 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
4463 arguments with exponent 65 or above.
4464 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
4465 arguments 0x1p113L or above.
4466 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
4467 to arguments 0x1p107L or above.
4468 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
4469 positive arguments with exponent 65 or above.
4470 * math/auto-libm-test-in: Add more tests of log1p.
4471 * math/auto-libm-test-out: Regenerated.
4472
01dbacd2
JM
4473 [BZ #16928]
4474 * math/s_cacos.c (__cacos): Ensure zero real part of result from
4475 non-finite arguments is +0.
4476 * math/s_cacosf.c (__cacosf): Likewise.
4477 * math/s_cacosl.c (__cacosl): Likewise.
4478 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
4479 * sysdeps/i386/fpu/libm-test-ulps: Update.
4480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4481
913d03c8
JM
4482 [BZ #16927]
4483 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
4484 value.
4485 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4486 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
4487 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
4488 for explicit high bit of mantissa when testing for argument equal
4489 to 1.
4490 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
4491 * sysdeps/i386/fpu/libm-test-ulps: Update.
4492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4493
0bf061d3
JM
4494 [BZ #16516]
4495 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
4496 (__erf): Scale by 16 instead of 8 in potentially underflowing
4497 case. Ensure exception if result actually underflows.
4498 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
4499 (__erff): Scale by 16 instead of 8 in potentially underflowing
4500 case. Ensure exception if result actually underflows.
4501 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
4502 (efx8): Remove variable.
4503 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4504 case. Ensure exception if result actually underflows.
4505 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
4506 (efx8): Remove variable.
4507 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4508 case. Ensure exception if result actually underflows.
4509 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
4510 (efx8): Remove variable.
4511 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4512 case. Ensure exception if result actually underflows.
4513 * math/auto-libm-test-in: Add more tests of erf.
4514 * math/auto-libm-test-out: Regenerated.
4515
73ba67cb
AS
45162014-05-14 Andreas Schwab <schwab@suse.de>
4517
3d8c8bff
AS
4518 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
4519 Remove code conditionalized on USE___THREAD.
4520
73ba67cb
AS
4521 * config.h.in (HAVE_PT_CHOWN): Define as 0.
4522 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
4523 not definedness.
4524
5c521ecd
JM
45252014-05-14 Joseph Myers <joseph@codesourcery.com>
4526
5e7698c6
JM
4527 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
4528 Define unconditionally.
4529 (__ASSUME_O_CLOEXEC): Likewise.
4530 (__ASSUME_SOCK_CLOEXEC): Likewise.
4531 (__ASSUME_IN_NONBLOCK): Likewise.
4532 (__ASSUME_PIPE2): Likewise.
4533 (__ASSUME_EVENTFD2): Likewise.
4534 (__ASSUME_SIGNALFD4): Likewise.
4535 (__ASSUME_DUP3): Likewise.
4536 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4537 (__ASSUME_DUP3): Do not define.
4538 (__ASSUME_EVENTFD2): Likewise.
4539 (__ASSUME_IN_NONBLOCK): Likewise.
4540 (__ASSUME_O_CLOEXEC): Likewise.
4541 (__ASSUME_PIPE2): Likewise.
4542 (__ASSUME_SIGNALFD4): Likewise.
4543 (__ASSUME_SOCK_CLOEXEC): Likewise.
4544 (__ASSUME_UTIMES): Undefine.
4545 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4546 (__ASSUME_UTIMES): Do not define.
4547 (__ASSUME_O_CLOEXEC): Likewise.
4548 (__ASSUME_SOCK_CLOEXEC): Likewise.
4549 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
4550 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
4551 0x020621].
4552 (__ASSUME_PIPE2): Likewise.
4553 (__ASSUME_EVENTFD2): Likewise.
4554 (__ASSUME_SIGNALFD4): Likewise.
4555 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
4556 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
4557 Do not define.
4558 (__ASSUME_EVENTFD2): Likewise.
4559 (__ASSUME_SIGNALFD4): Likewise.
4560 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4561 (__ASSUME_32BITUIDS): Likewise.
4562 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4563 (__ASSUME_IPC64): Likewise.
4564 (__ASSUME_ST_INO_64_BIT): Likewise.
4565 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
4566 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
4567 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4568 (__ASSUME_UTIMES): Do not define.
4569 (__ASSUME_PSELECT): Likewise.
4570 (__ASSUME_PPOLL): Likewise.
4571 (__ASSUME_O_CLOEXEC): Likewise.
4572 (__ASSUME_SOCK_CLOEXEC): Likewise.
4573 (__ASSUME_IN_NONBLOCK): Likewise.
4574 (__ASSUME_PIPE2): Likewise.
4575 (__ASSUME_EVENTFD2): Likewise.
4576 (__ASSUME_SIGNALFD4): Likewise.
4577 (__ASSUME_DUP3): Likewise.
4578 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4579 (__ASSUME_UTIMES): Likewise.
4580 (__ASSUME_O_CLOEXEC): Likewise.
4581 (__ASSUME_SOCK_CLOEXEC): Likewise.
4582 (__ASSUME_IN_NONBLOCK): Likewise.
4583 (__ASSUME_PIPE2): Likewise.
4584 (__ASSUME_EVENTFD2): Likewise.
4585 (__ASSUME_SIGNALFD4): Likewise.
4586 (__ASSUME_DUP3): Likewise.
4587 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4588 (__ASSUME_UTIMES): Likewise.
4589 (__ASSUME_O_CLOEXEC): Likewise.
4590 (__ASSUME_SOCK_CLOEXEC): Likewise.
4591 (__ASSUME_IN_NONBLOCK): Likewise.
4592 (__ASSUME_PIPE2): Likewise.
4593 (__ASSUME_EVENTFD2): Likewise.
4594 (__ASSUME_SIGNALFD4): Likewise.
4595 (__ASSUME_DUP3): Likewise.
4596 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
4597 Likewise.
4598 (__ASSUME_UTIMES): Likewise.
4599 (__ASSUME_EVENTFD2): Likewise.
4600 (__ASSUME_SIGNALFD4): Likewise.
4601 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4602 (__ASSUME_O_CLOEXEC): Likewise.
4603 (__ASSUME_SOCK_CLOEXEC): Likewise.
4604 (__ASSUME_IN_NONBLOCK): Likewise.
4605 (__ASSUME_PIPE2): Likewise.
4606 (__ASSUME_EVENTFD2): Likewise.
4607 (__ASSUME_SIGNALFD4): Likewise.
4608 (__ASSUME_DUP3): Likewise.
4609 (__ASSUME_UTIMES): Undefine.
4610
5c521ecd
JM
4611 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
4612 feclearexcept. Remove symbol versioning code.
4613 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
4614 symbol versioning code.
4615 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
4616 symbol versioning code.
4617 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
4618 feupdateenv. Remove symbol versioning code.
4619 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
4620 fegetexceptflag. Remove symbol versioning code.
4621 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
4622 fesetexceptflag. Remove symbol versioning code.
4623 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
4624 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
4625 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
4626 (__posix_fadvise64_l32): Remove prototype.
4627 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
4628 code.
4629
5da9dfad
RM
46302014-05-13 Roland McGrath <roland@hack.frob.com>
4631
4632 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
4633 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
4634 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
4635 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
4636
893b4f37
SK
46372014-05-13 Sami Kerola <kerolasa@iki.fi>
4638
4639 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
4640 current working directory
4641
e0db6517
RM
46422014-05-13 Roland McGrath <roland@hack.frob.com>
4643
58aa195d
RM
4644 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
4645 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
4646 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
4647 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
4648 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
4649 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
4650 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
4651 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
4652 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
4653 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
4654 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
4655 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
4656 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
4657 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
4658 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
4659 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
4660 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
4661 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
4662 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
4663 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
4664 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
4665 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
4666 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
4667 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
4668 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
4669 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
4670 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
4671 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
4672 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
4673 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
4674 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
4675 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
4676 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
4677 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
4678 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
4679 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
4680 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
4681 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
4682 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
4683 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
4684 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
4685 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
4686
8c6d01f0
RM
4687 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
4688 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
4689
4690 * sysdeps/unix/sysv/linux/arm/Makefile
4691 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4692 Add rt-aeabi_unwind_cpp_pr1.
4693 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
4694 Add nptl-aeabi_unwind_cpp_pr1.
4695 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
4696 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
4697 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
4698 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4699 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
4700 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4701
4702 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
4703 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
4704 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
4705 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
4706
bba6da4e
RM
4707 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
4708 Deconditionalize the code that was previously under [RESET_PID].
4709 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
4710
e0db6517
RM
4711 * sysdeps/generic/exit-thread.h: New file.
4712 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
4713 * include/unistd.h (__exit_thread): Remove declaration.
4714 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
4715 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
4716 * csu/libc-start.c: Include <exit-thread.h>.
4717 (LIBC_START_MAIN): Pass no argument to __exit_thread.
4718 * nptl/pthread_create.c: Include <exit-thread.h>.
4719 (start_thread): Call __exit_thread in place of __exit_thread_inline.
4720 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
4721 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
4722 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
4723 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
4724 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
4725 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
4726 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
4727 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
4728 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
4729 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
4730 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
4731 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
4732 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
4733 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
4734 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
4735 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
4736
01eb16fd
AS
47372014-05-13 Andreas Schwab <schwab@suse.de>
4738
4739 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
4740
637461d9
JM
47412014-05-12 Joseph Myers <joseph@codesourcery.com>
4742
4743 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4744 (__ASSUME_UTIMES): Do not condition on kernel version.
4745 (__ASSUME_PSELECT): Define unconditionally.
4746 (__ASSUME_PPOLL): Likewise.
4747 (__ASSUME_ATFCTS): Likewise.
4748 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
4749 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
4750 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
4751 (__ASSUME_UTIMENSAT): Define unconditionally.
4752 (__ASSUME_PRIVATE_FUTEX): Likewise.
4753 (__ASSUME_FALLOCATE): Likewise.
4754 (__ASSUME_O_CLOEXEC): Likewise.
4755 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
4756 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
4757 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
4758 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
4759 (__ASSUME_IN_NONBLOCK): Likewise.
4760 (__ASSUME_PIPE2): Likewise.
4761 (__ASSUME_EVENTFD2): Likewise.
4762 (__ASSUME_SIGNALFD4): Likewise.
4763 (__ASSUME_DUP3): Likewise.
4764 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4765 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
4766 (__ASSUME_AT_RANDOM): Likewise.
4767 (__ASSUME_PREADV): Likewise.
4768 (__ASSUME_PWRITEV): Likewise.
4769 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4770 (__ASSUME_F_GETOWN_EX): Define unconditionally.
4771 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4772 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4773 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4774 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4775 (__ASSUME_O_CLOEXEC): Define unconditionally.
4776 (__ASSUME_PSELECT): Do not undefine conditionally.
4777 (__ASSUME_PPOLL): Likewise.
4778 (__ASSUME_ATFCTS): Likewise.
4779 (__ASSUME_SET_ROBUST_LIST): Likewise.
4780 (__ASSUME_UTIMENSAT): Likewise.
4781 (__ASSUME_FDATASYNC): Define unconditionally.
4782 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4783 (__ASSUME_SIGFRAME_V2): Likewise.
4784 )__ASSUME_EVENTFD2): Likewise.
4785 (__ASSUME_SIGNALFD4): Likewise.
4786 (__ASSUME_PSELECT): Do not undefine conditionally.
4787 (__ASSUME_PPOLL): Likewise.
4788 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4789 (__ASSUME_PSELECT): Define unconditionally.
4790 (__ASSUME_PPOLL): Likewise.
4791 (__ASSUME_O_CLOEXEC): Likewise.
4792 (__ASSUME_SOCK_CLOEXEC): Likewise.
4793 (__ASSUME_IN_NONBLOCK): Likewise.
4794 (__ASSUME_PIPE2): Likewise.
4795 (__ASSUME_EVENTFD2): Likewise.
4796 (__ASSUME_SIGNALFD4): Likewise.
4797 (__ASSUME_DUP3): Likewise.
4798 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4799 (__ASSUME_O_CLOEXEC): Likewise.
4800 (__ASSUME_SOCK_CLOEXEC): Likewise.
4801 (__ASSUME_IN_NONBLOCK): Likewise.
4802 (__ASSUME_PIPE2): Likewise.
4803 (__ASSUME_EVENTFD2): Likewise.
4804 (__ASSUME_SIGNALFD4): Likewise.
4805 (__ASSUME_DUP3): Likewise.
4806 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4807 (__ASSUME_EVENTFD2): Likewise.
4808 (__ASSUME_SIGNALFD4): Likewise.
4809 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4810
315eb1d8
AS
48112014-05-12 Andreas Schwab <schwab@suse.de>
4812
4813 [BZ #16932]
4814 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
4815 (_nss_nis_gethostbyname4_r): Return error if item length is larger
4816 than maximum RPC packet size.
4817 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
4818 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
4819 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
4820 (_nss_nis_getservbyport_r): Likewise.
4821
91df99f7
WN
48222014-05-12 Will Newton <will.newton@linaro.org>
4823
4824 * malloc/Makefile (tests): Add tst-mallopt.
4825 * malloc/tst-mallopt.c: New file.
4826
0a982a29
RM
48272014-05-09 Roland McGrath <roland@hack.frob.com>
4828
4829 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
4830 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
4831
0ded08a5
AZ
48322014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4833
4834 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
4835 (tst-tlsmod6.so): Likewise.
4836
55d4d550
RM
48372014-05-09 Roland McGrath <roland@hack.frob.com>
4838
4839 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
4840
77d08aca
JM
48412014-05-09 Joseph Myers <joseph@codesourcery.com>
4842
4843 [BZ #16064]
4844 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
4845 and <dl-procinfo.h>.
4846 (__fegetenv): Save SSE state in envp->__eip if supported.
4847 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
4848 envp->__eip if supported.
4849 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
4850 and <dl-procinfo.h>.
4851 (__fesetenv): Always set __eip, __cs_selector, __opcode,
4852 __data_offset and __data_selector in environment to 0. Set SSE
4853 state if supported.
4854 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4855 test-fenv-sse.
4856 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
4857 -mfpmath=sse.
4858 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
4859
28162f4d
WN
48602014-05-09 Will Newton <will.newton@linaro.org>
4861
4862 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
4863 and libc_relro_required for ARM.
4864 * sysdeps/arm/preconfigure: Regenerate.
4865
5a414ff7
DV
48662014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
4867 Stefan Liebler <stli@linux.vnet.ibm.com>
4868
4869 * config.make.in (enable-lock-elision): New Makefile variable.
4870 * configure.ac: Likewise.
4871 * configure: Regenerate.
4872 * sysdeps/s390/configure.ac:
4873 Add check for gcc transactions support.
4874 * sysdeps/s390/configure: Regenerate.
4875 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
4876 Build elision files if enabled.
4877 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
4878 Add lock elision support for s390.
4879 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
4880 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
4881 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
4882 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4883 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4884 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
4885 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4886 Likewise.
4887 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
4888 Likewise.
4889 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
4890 Likewise.
4891 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
4892 Likewise.
4893 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
4894 (__lll_timedlock_elision, __lll_lock_elision)
4895 (__lll_unlock_elision, __lll_trylock_elision)
4896 (lll_timedlock_elision, lll_lock_elision)
4897 (lll_unlock_elision, lll_trylock_elision): Add.
4898 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4899 (pthread_mutex_t): Add lock elision support for s390.
4900
1a2f40e5
W
49012014-05-14 Wilco <wdijkstr@arm.com>
4902
4903 * sysdeps/arm/fclrexcpt.c: Cleanup.
4904 * sysdeps/arm/fedisblxcpt.c: Cleanup.
4905 * sysdeps/arm/feenablxcpt.c: Cleanup.
4906 * sysdeps/arm/fegetenv.c: Cleanup.
4907 * sysdeps/arm/fegetexcept.c: Cleanup.
4908 * sysdeps/arm/fegetround.c: Cleanup.
4909 * sysdeps/arm/feholdexcpt.c: Cleanup.
4910 * sysdeps/arm/fesetenv.c: Cleanup.
4911 * sysdeps/arm/fesetround.c: Cleanup.
4912 * sysdeps/arm/feupdateenv.c: Cleanup.
4913 * sysdeps/arm/fgetexcptflg.c: Cleanup.
4914 * sysdeps/arm/fraiseexcpt.c: Cleanup.
4915 * sysdeps/arm/fsetexcptflg.c: Cleanup.
4916 * sysdeps/arm/ftestexcept.c: Cleanup.
4917 * sysdeps/arm/get-rounding-mode.h: Cleanup.
4918 * sysdeps/arm/setfpucw.c: Cleanup.
4919
f63c86fe
WN
49202014-05-09 Will Newton <will.newton@linaro.org>
4921
4922 * sysdeps/arm/armv7/strcmp.S: New file.
4923 * NEWS: Mention addition of ARMv7 optimized strcmp.
4924
7a1a51b5
RM
49252014-05-08 Roland McGrath <roland@hack.frob.com>
4926
95afbbe5
RM
4927 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
4928 look for %.ac rather than %.in.
4929
4930 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
4931 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
4932 * sysdeps/mach/hurd/configure: Regenerated.
4933 * sysdeps/unix/sysv/linux/configure: Regenerated.
4934
7a1a51b5
RM
4935 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
4936
5057ad3b
SE
49372014-05-07 Steve Ellcey <sellcey@mips.com>
4938
4939 [BZ# 16922]
4940 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
4941 (LONG_SUB): Ditto.
4942 (PTR_SUB): Ditto.
4943
8dc97517
AS
49442014-05-07 Andreas Schwab <schwab@suse.de>
4945
4946 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
4947 when skipping over non-matching result from nscd.
4948
ce0c5b8f
OB
49492014-05-07 Ondřej Bílka <neleai@seznam.cz>
4950
4951 [BZ #16876]
4952 * nptl/sockperf.c (client): Check socket return value.
8dc97517 4953
a1189263
OB
4954 [BZ #16877]
4955 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
4956 nscd security class.
ce0c5b8f 4957
0f58d252
RM
49582014-05-06 Roland McGrath <roland@hack.frob.com>
4959
4960 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
4961 * sysdeps/arm/unwind.h: ... here.
4962
83df9ad0
AJ
49632014-05-06 Aurelien Jarno <aurelien@aurel32.net>
4964
ce0c5b8f
OB
4965 [BZ# 16916]
4966 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
4967 Define.
83df9ad0 4968
f360f94a
VR
49692014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4970
4971 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
4972 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
4973 multiarch strncpy for PPC64.
4974 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
4975 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
4976 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
4977 multiarch optimizations.
4978 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4979 (__libc_ifunc_impl_list): Likewise.
4980 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
4981 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
4982 multiarch stpncpy for PPC64.
4983 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
4984 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
4985
978a41c3
AS
49862014-05-06 Andreas Schwab <schwab@suse.de>
4987
4988 [BZ #16912]
4989 * gmon/mcount.c (_MCOUNT_DECL): Use
4990 atomic_compare_and_exchange_bool_acq instead of
4991 catomic_compare_and_exchange_bool_acq.
4992
eb1ed03d
RM
49932014-05-05 Roland McGrath <roland@hack.frob.com>
4994
fe658845
RM
4995 * elf/Makefile (others, install-bin): Remove pldd.
4996 (pldd-modules): Variable removed.
4997 ($(objpfx)pldd): Target removed.
4998 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
4999 (others, install-bin): Append pldd here.
5000 ($(objpfx)pldd): New target.
5001
eb1ed03d
RM
5002 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
5003 to 0, so the first #if test emitted later doesn't see it undefined.
5004 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
5005 * sysdeps/gnu/errlist.c: Regenerated.
5006
19c4bec0
AZ
50072014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5008
5009 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5010 [libc_hidden_builtin_def]: Define to empty value.
5011 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
5012 [libc_hidden_builtin_def]: Likewise.
5013 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
5014 [libc_hidden_builtin_def]: Likewise.
5015 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
5016 [libc_hidden_builtin_def]: Likewise.
5017 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
5018 __redirect_memcpy and define ifunc as default hidden symbol.
5019 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
5020 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
5021
7776e669
AC
50222014-05-04 Adam Conrad <adconrad@0c3.net>
5023
5024 * locale/iso-4217.def: Reintroduce XDR currency.
5025
d69aeb12
AM
50262014-05-04 Allan McRae <allan@archlinux.org>
5027
5028 * po/eo.po: Update Esperanto translation from translation project.
5029
8f1df5cf
CD
50302014-05-02 Carlos O'Donell <carlos@redhat.com>
5031
5032 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
5033 and FEATURE_INDEX_MAX to 1.
5034 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
5035
13e402e7
SE
50362014-05-01 Steve Ellcey <sellcey@mips.com>
5037
5038 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
5039 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
5040 * iconvdata/big5.c (ONE_DIRECTION): Define.
5041 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
5042 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
5043 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
5044 * iconvdata/cp932.c (ONE_DIRECTION): Define.
5045 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
5046 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
5047 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
5048 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
5049 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
5050 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
5051 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
5052 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
5053 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
5054 * iconvdata/gbk.c (ONE_DIRECTION): Define.
5055 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
5056 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
5057 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
5058 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
5059 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
5060 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
5061 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
5062 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
5063 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
5064 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
5065 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
5066 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
5067 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
5068 * iconvdata/iso646.c (ONE_DIRECTION): Define.
5069 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
5070 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
5071 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
5072 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
5073 * iconvdata/johab.c (ONE_DIRECTION): Define.
5074 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
5075 * iconvdata/sjis.c (ONE_DIRECTION): Define.
5076 * iconvdata/t.61.c (ONE_DIRECTION): Define.
5077 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
5078 * iconvdata/tscii.c (ONE_DIRECTION): Define.
5079 * iconvdata/uhc.c (ONE_DIRECTION): Define.
5080 * iconvdata/unicode.c (ONE_DIRECTION): Define.
5081 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
5082 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
5083 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
5084
c727f032
RM
50852014-05-01 Roland McGrath <roland@hack.frob.com>
5086
8f2f08d0
RM
5087 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
5088 (_IO_JUMPS_OFFSET): Define to 0.
5089
c727f032
RM
5090 * nptl/sysdeps/pthread/bits/libc-lock.h
5091 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5092 (__libc_lock_define_initialized_recursive): Always define using
5093 initializer. Modern compilers treat uninitialized (implicit zero) and
5094 explicit zero initializers the same (i.e. put the datum in bss).
5095
a849e800
AS
50962014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5097
5098 * nscd/nscd-client.h: Include <string.h>.
5099
5331255b
DM
51002014-05-01 David S. Miller <davem@davemloft.net>
5101
5102 [BZ #16885]
5103 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
5104 multiple zero bytes exist at the end of a string.
5105 Reported by Aurelien Jarno <aurelien@aurel32.net>
5106
5107 * string/test-strcmp.c (check): Add explicit test for situations where
5108 there are multiple zero bytes after the first.
5109
4fdfe821
AS
51102014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5111
5112 [BZ #16890]
5113 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
5114 when compiling wprintf.
5115 * stdio-common/tstdiomisc.c (t3): New function.
5116 (main): Call it.
5117
0cdddc25
SE
51182014-05-01 Steve Ellcey <sellcey@mips.com>
5119
5120 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
5121 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
5122 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
5123 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
5124
6426d77e
SE
51252014-05-01 Steve Ellcey <sellcey@mips.com>
5126
5127 * stdlib/longlong.h: Updated from GCC.
5128
6d96f5e4
WN
51292014-05-01 Will Newton <will.newton@linaro.org>
5130 Bernard Ogden <bernie.ogden@linaro.org>
5131
7470db0c
WN
5132 * NEWS: Update fixed bug list.
5133
6d96f5e4
WN
5134 [BZ #15119]
5135 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
5136
211d653c
DM
51372014-04-30 David S. Miller <davem@davemloft.net>
5138
4fa262fa
DM
5139 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
5140 (libc_feholdexcept_setround_sparc_ctx): New function.
5141 (libc_fesetenv_sparc_ctx): Likewise.
5142 (libc_feupdateenv_sparc_ctx): Likewise.
5143 (libc_feholdsetround_sparc_ctx): Likewise.
5144 (libc_feholdexcept_setround_ctx): Define.
5145 (libc_feholdexcept_setroundf_ctx): Likewise.
5146 (libc_feholdexcept_setroundl_ctx): Likewise.
5147 (libc_fesetenv_ctx): Likewise.
5148 (libc_fesetenvf_ctx): Likewise.
5149 (libc_fesetenvl_ctx): Likewise.
5150 (libc_feupdateenv_ctx): Likewise.
5151 (libc_feupdateenvf_ctx): Likewise.
5152 (libc_feupdateenvl_ctx): Likewise.
5153 (libc_feresetround_ctx): Likewise.
5154 (libc_feresetroundf_ctx): Likewise.
5155 (libc_feresetroundl_ctx): Likewise.
5156 (libc_feholdsetround_ctx): Likewise.
5157 (libc_feholdsetroundf_ctx): Likewise.
5158 (libc_feholdsetroundl_ctx): Likewise.
5159
1d3d93ef
DM
5160 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5161 with __USE_GNU instead of XOPEN cpp guards.
5162
8aa583c3
DM
5163 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5164 0.
5165
211d653c
DM
5166 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5167 with XOPEN cpp guards.
5168
60c8f1f6
JB
51692014-04-30 Julian Brown <julian@codesourcery.com>
5170
5171 [BZ #16888]
5172 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5173 handling.
5174
9a461d46
JM
51752014-04-30 Joseph Myers <joseph@codesourcery.com>
5176
d0f5b3f8
JM
5177 [BZ #9894]
5178 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5179 Change to 2.6.32.
5180 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
5181 * sysdeps/unix/sysv/linux/configure: Regenerated.
5182 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
5183 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
5184 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
5185 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
5186 * README: Update reference to required Linux kernel version.
5187 * manual/install.texi (Linux): Update reference to required Linux
5188 kernel headers version.
5189 * INSTALL: Regenerated.
5190
9a461d46
JM
5191 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
5192 header inclusion.
5193 [POSIX] (limits.h): Likewise.
5194 [POSIX] (math.h): Likewise.
5195 [POSIX] (sys/wait.h): Likewise.
5196 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
5197 function.
5198 [POSIX] (stddef.h): Do not allow header inclusion.
5199
1775babf
AZ
52002014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5201
57f41c40 5202 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 5203
8f630cca
YY
52042014-04-30 Yang Yingliang <yangyingliang@huawei.com>
5205
5206 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5207 Return immediately after lll_futex_wake.
5208
1cdeb237
SP
52092014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5210
bc8f194c
SP
5211 [BZ #16791]
5212 * nscd/nscd-client.h (datahead_init_common): Initialize entire
5213 structure.
5214 (datahead_init_pos): Call datahead_init_common early.
5215 (datahead_init_neg): Likewise.
5216
1cdeb237
SP
5217 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
5218 datahead_init_neg): New functions.
5219 * nscd/aicache.c (addhstaiX): Use them.
5220 * nscd/grpcache.c (cache_addgr): Likewise.
5221 * nscd/hstcache.c (cache_addhst): Likewise.
5222 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5223 * nscd/netgroupcache.c (do_notfound): Likewise.
5224 (addgetnetgrentX): Likewise.
5225 (addinnetgrX): Likewise.
5226 * nscd/pwdcache.c (cache_addpw): Likewise.
5227 * nscd/servicescache.c (cache_addserv): Likewise.
5228
16b293a7
SP
52292014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5230 Atsushi Onoe <atsushi@onoe.org>
5231
5232 [BZ #14308]
5233 [BZ #12994]
5234 [BZ #13651]
5235 * resolv/res_query.c (__libc_res_nsearch): Return if at least
5236 one response is valid.
5237 * resolv/res_send.c (send_dg): Check for validity of other
5238 response if the current response is a referral.
5239
a28a9b94
SE
52402014-04-29 Steve Ellcey <sellcey@mips.com>
5241
5242 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5243
2ca180e9
SL
52442014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
5245
5246 [BZ #16823]
5247 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5248 Always divide by positive zero when computing -Inf result.
5249 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5250 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5251
18f2945a
AZ
52522014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5253
5254 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5255 FPSCR if value do not change.
5256 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5257 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5258 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5259 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5260 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5261 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
5262 function.
5263
5abebba4
CD
52642014-05-29 Carlos O'Donell <carlos@systemhalted.org>
5265
5266 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
5267 * sysdeps/unix/sysv/linux/hppa: Move directory from
5268 ports/systeps/unix/sysv/linux/hppa.
5269 * README: Update listing for hppa-*-linux-gnu.
5270
f7ed60c2
OB
52712014-04-28 Ondřej Bílka <neleai@seznam.cz>
5272
fff763a5
OB
5273 [BZ #16754]
5274 * manual/stdio.texi (Hook functions): Fix types of stream hook
5275 functions.
f7ed60c2
OB
5276 [BZ #16854]
5277 * socket/sys/socket.h: Fix typo in comment.
5278
df639d73
WD
52792014-04-28 Wilco <wdijkstr@arm.com>
5280
f7ed60c2 5281 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
5282 * sysdeps/arm/math_private.h: New file.
5283 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
5284
48332d82
L
52852014-04-25 H.J. Lu <hongjiu.lu@intel.com>
5286
5287 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
5288 with __int128_t.
5289 (La_x86_64_retval): Likewise.
5290
e5e0d9a4
IB
52912014-04-24 Ian Bolton <ian.bolton@arm.com>
5292
5293 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
5294 fpsr if value didn't change.
5295 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
5296 to fpcr if value didn't change.
5297 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
5298 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
5299 fpsr or fpcr if value didn't change.
5300 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5301 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
5302 fpcr if value didn't change.
5303 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
5304 to fpsr if value didn't change.
5305
bacc75f7
SP
53062014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5307
5308 * nptl/tst-sem3.c: Use test-skeleton.c
5309 (main): Rename to do_test. Use return instead of
5310 exit.
5311 * nptl/tst-sem4.c: Use test-skeleton.c
5312 (main): Rename to do_test.
5313
a059d359
DM
53142014-04-22 David S. Miller <davem@davemloft.net>
5315
5316 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
5317 (struct sigaction): New struct member __glibc_reserved0, change
5318 type of sa_flags to int.
5319
ea6c92f3
YZ
53202014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
5321
5322 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
5323 (COUNT_LEADING_ZEROS_0): Define for AArch64.
5324
766c4a36
SP
53252014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5326
5327 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
5328 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
5329
140cc7ab
VK
53302014-04-22 Will Newton <will.newton@linaro.org>
5331 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
5332
5333 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
5334 (__longjmp): Add longjmp and longjmp_target SystemTap
5335 probes.
5336 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
5337 (__sigsetjmp): Add setjmp SystemTap probe.
5338
c54e5cf7
CD
53392014-04-17 Carlos O'Donell <carlos@redhat.com>
5340
5341 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
5342 match manual order.
5343
75ffb047
AZ
53442014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5345
5346 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
5347
2cd925f7
AZ
5348 * sysdeps/powerpc/fpu/fenv_private.h
5349 (libc_feholdexcept_setroundl_ctx): Define to
5350 libc_feholdexcept_setround_ppc_ctx.
5351 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
5352 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
5353 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
5354 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
5355
39e6cd8d
IB
53562014-04-17 Ian Bolton <ian.bolton@arm.com>
5357
5358 * sysdeps/aarch64/math-tests.h: New file.
5359
f9281df9
SY
53602014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
5361
5362 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
5363 New.
5364 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5365 Check and set bit_AVX2_Usable.
5366 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
5367 macro.
5368 (bit_AVX2): Likewise.
5369 (index_AVX2_Usable): Likewise.
5370 (CPUID_AVX2): Likewise.
5371 (HAS_AVX2): Likewise.
5372
37d35007
WN
53732014-04-17 Will Newton <will.newton@linaro.org>
5374
7c677662
WN
5375 * manual/setjmp.texi (System V contexts): Add note that
5376 calling setcontext on a context created by a call to a
5377 signal handler is undefined. Update text to note that
5378 setcontext from a signal handler is possible but not
5379 recommended.
5380
37d35007 5381 [BZ #16629]
e04a4e9d
WN
5382 * stdlib/tst-setcontext.c: Include signal.h.
5383 (main): Check that the signal stack before and
5384 after swapcontext is the same.
5385
37d35007
WN
5386 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
5387 Re-implement to restore registers in user code and avoid
5388 rt_sigreturn system call.
5389
423a7160
W
53902014-04-17 Wilco <wdijkstr@arm.com>
5391
5392 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
5393 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
5394 * math/test-fenv.c: Skip exception trap tests on targets which only
5395 support non-stop mode.
5396
bc93ab29
IB
53972014-04-17 Ian Bolton <ian.bolton@arm.com>
5398 Wilco Dijkstra <wilco.dijkstra@arm.com>
5399
5400 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
5401 (libc_feholdsetround_aarch64_ctx)
5402 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
5403 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
5404 (libc_feresetround_ctx, libc_feresetroundf_ctx)
5405 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
5406 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
5407 (libc_feresetround_noexl_ctx): Define.
5408
95fc5fa3
RH
54092014-04-16 Richard Henderson <rth@redhat.com>
5410
ddb04724
RH
5411 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
5412
d77c0899
RH
5413 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
5414 unwind tables.
5415
a3df56fc
RH
5416 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
5417 const from the non-libc, non-ldso copy.
5418
95fc5fa3
RH
5419 * sysdeps/alpha/libm-test-ulps: Regenerate.
5420
7e0b6763
IB
54212014-04-16 Ian Bolton <ian.bolton@arm.com>
5422 Wilco Dijkstra <wilco.dijkstra@arm.com>
5423
5424 * sysdeps/aarch64/fpu/math_private.h: New file.
5425
a9ea2e0c
MS
54262014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
5427
5428 * sysdeps/aarch64/libm-test-ulps: Regenerate.
5429
ea8ba7cd
IZ
54302014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
5431
5432 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
5433 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
5434 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
5435 Intel MPX bound registers before _dl_profile_fixup.
5436 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
5437 registers after _dl_profile_fixup. Save and restore bound
5438 registers bnd0/bnd1 when calling _dl_call_pltexit.
5439 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
5440 (LR_BND_OFFSET): Likewise.
5441 (LRV_BND0_OFFSET): Likewise.
5442 (LRV_BND1_OFFSET): Likewise.
5443
9f2a4fbc
ST
54442014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5445
5446 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
5447 to...
5448 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
5449 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
5450 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
5451 fields.
9f2a4fbc 5452
fd15a59b
ST
54532014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5454
5455 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
5456
f19dfa0a
SL
54572014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5458
5459 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5460
4fa8bc3b
SL
54612014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5462
5463 [BZ #14770]
5464 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
5465 * sysdeps/s390/configure: Regenerate.
5466
8ea587db
SL
5467 [BZ #16824]
5468 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
5469 Set round-to-nearest internally to reduce error accumulation.
5470
aa5f0ff1
AM
54712014-04-16 Alan Modra <amodra@gmail.com>
5472
5473 [BZ #16740]
5474 [BZ #16619]
5475 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
5476 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 5477 * NEWS: Update fixed bug list.
aa5f0ff1 5478
bb9c256f
SP
54792014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5480
5481 * benchtests/Makefile: Depend on libraries in build directory.
5482 (bench-math): Separate out math tests.
5483 (bench-pthread): Separate out pthread tests.
5484 (bench): Include math and pthread tests.
5485
f737dfd0
CD
54862014-04-14 Carlos O'Donell <carlos@redhat.com>
5487
5488 [BZ #16831]
5489 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
5490 _dl_debug_initialize.
5491
0699f766
CD
5492 * configure.ac: Remove SELinux header check.
5493 * configure: Regenerate.
5494 * nscd/selinux.c (perms): Array of const char* to permission names.
5495 (nscd_request_avc_has_perm): Call security_deny_unknown to find
5496 default policy. Call string_to_security_class and string_to_av_perm to
5497 translate strings. Enforce default policy and call avs_has_perm with
5498 results of translated strings.
5499
809bd45f
DM
55002014-04-13 David S. Miller <davem@davemloft.net>
5501
5502 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5503
89e691f2
AM
55042014-04-12 Allan McRae <allan@archlinux.org>
5505
5506 [BZ #16838]
5507 * manual/string.texi (Collation Functions): Fix qsort argument
5508 order in example.
5509 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5510
9c9daaeb
CM
55112014-04-11 Chris Metcalf <cmetcalf@tilera.com>
5512
5513 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
5514 Make the test a no-op if there are no exceptions defined.
5515
95561fb9
PP
55162014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
5517
fe8d072c 5518 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
5519 enable-hardcoded-path-in-tests
5520
970c602a
WN
55212014-04-11 Will Newton <will.newton@linaro.org>
5522
5523 * benchtests/Makefile (extra-objs): Add json-lib.o.
5524 (bench-func): Tidy up JSON output.
5525 * benchtests/bench-skeleton.c: Include json-lib.h.
5526 (main): Use JSON library functions to do output of
5527 benchmark results.
5528 * benchtests/bench-timing-type.c (main): Output the
5529 timing type simply, leaving formatting to the user.
5530 * benchtests/json-lib.c: New file.
5531 * benchtests/json-lib.h: Likewise.
5532
36875b06
TR
55332014-04-11 Torvald Riegel <triegel@redhat.com>
5534
5535 [BZ #15215]
5536 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
5537 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
5538 memory barriers. Add comments.
5539 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
5540 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
5541 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
5542 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
5543 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
5544 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
5545
579db35a
SL
55462014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5547
5548 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
5549 * sysdeps/s390/s390-64/configure.ac: ... this ...
5550 * sysdeps/s390/configure.ac: ... to here.
5551 * sysdeps/s390/s390-32/configure: Delete file.
5552 * sysdeps/s390/s390-64/configure: Delete file.
5553 * sysdeps/s390/configure: Regenerate.
5554
c12e9f37
JAPH
55552014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
5556
5557 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
5558
439bda32
WN
55592014-04-11 Will Newton <will.newton@linaro.org>
5560
5561 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
5562 to zero if it is not defined elsewhere. (mtrim): Test
5563 the value of MALLOC_DEBUG with #if rather than #ifdef.
5564
6a5d6ea1
TR
55652014-04-10 Torvald Riegel <triegel@redhat.com>
5566
5567 * benchtests/pthread_once-inputs: New file.
5568 * benchtests/pthread_once-source.c: New file.
5569 * benchtests/README: Update documentation.
5570
a4c75cfd
IZ
55712014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
5572 H.J. Lu <hongjiu.lu@intel.com>
5573
5574 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
5575 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
5576 * sysdeps/x86_64/configure: Regenerated.
5577 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
5578 macro.
5579 (REGISTER_SAVE_RAX): Likewise.
5580 (REGISTER_SAVE_RCX): Likewise.
5581 (REGISTER_SAVE_RDX): Likewise.
5582 (REGISTER_SAVE_RSI): Likewise.
5583 (REGISTER_SAVE_RDI): Likewise.
5584 (REGISTER_SAVE_R8): Likewise.
5585 (REGISTER_SAVE_R9): Likewise.
5586 (REGISTER_SAVE_BND0): Likewise.
5587 (REGISTER_SAVE_BND1): Likewise.
5588 (REGISTER_SAVE_BND2): Likewise.
5589 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
5590 bound registers when calling _dl_fixup.
5591
27822ce6
AZ
55922014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5593
5594 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
5595 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
5596 of its definition.
27822ce6
AZ
5597 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
5598 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
5599 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
5600 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
5601 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
5602 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
5603 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
5604
a88ddc90
PTB
56052014-04-09 Peter Brett <peter@peter-b.co.uk>
5606
5607 [BZ #15514]
5608 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
5609 pathconf(_PC_NAME_MAX).
5610
01f8eac2
AZ
56112014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5612
5613 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
5614 Remove macro usage.
5615 (__PTHREAD_SPINS): Move definition to ...
5616 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5617 (__PTHREAD_SPINS): ... here.
5618 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5619 (__PTHREAD_SPIN): Likewise.
5620 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
5621 (__PTHREAD_SPIN): Likewise.
5622 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
5623 (__PTHREAD_SPIN): Likewise.
5624 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
5625 (__PTHREAD_SPIN): Likewise.
5626 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5627 (__PTHREAD_SPIN): Likewise.
5628 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5629 (__PTHREAD_SPIN): Likewise.
5630 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
5631 (__PTHREAD_SPIN): Likewise.
5632 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5633 (__PTHREAD_SPIN): Likewise.
5634 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5635 (__PTHREAD_SPIN): Likewise.
5636 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5637 (__PTHREAD_SPIN): Likewise.
5638 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5639 (__PTHREAD_SPIN): Likewise.
5640 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
5641 (__PTHREAD_SPIN): Likewise.
5642
de21c33c
AZ
5643 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
5644 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
5645 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
5646 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
5647 imply folder.
5648 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
5649 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
5650 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
5651 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
5652 correct imply path.
5653 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
5654 strlen symbol for non multi-arch builds.
5655 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
5656 missing hidden_def and weak_alias.
5657
862c472e
CD
56582014-04-08 Carlos O'Donell <carlos@redhat.com>
5659
5660 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
5661
8667f90e
WN
56622014-04-07 Will Newton <will.newton@linaro.org>
5663
5664 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
5665 and contents. [!_LIBC] Remove #ifndef and contents.
5666 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
5667 * string/memccpy.c (__memccpy): Use ANSI prototype.
5668 * string/memfrob.c (memfrob): Likewise.
5669 * string/strcoll.c (STRCOLL): Likewise.
5670 * string/strlen.c (strlen): Likewise.
5671 * string/strtok.c (STRTOK): Likewise.
5672 * string/strcat.c: Remove unused #include of memcopy.h.
5673 (strcat): Use ANSI prototype.
5674 * string/strchr.c: Remove unused #include of memcopy.h.
5675 (strchr): Use ANSI prototype.
5676 * string/strcmp.c: Remove unused #include of memcopy.h.
5677 (strcmp): Use ANSI prototype.
5678 * string/strcpy.c: Remove unused #include of memcopy.h.
5679 (strcpy): Use ANSI prototype.
5680
7ffa9423
AZ
56812014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5682
5683 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
5684 * config.make.in (config-extra-cppflags): Set it from
5685 libc_extra_cppflags.
5686 * configure.ac (libc_extra_cflags): Make it accumulate over
5687 configure fragments.
5688 (libc_extra_cppflags): New flag.
5689 * configure. Regenerate.
5690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
5691 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
5692 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
5693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5694
8bd70862
AZ
5695 [BZ #16815]
5696 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
5697 result for FE_DOWNWARD rounding mode.
5698 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5699 Likewise.
5700 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5701
d42f3448
CM
57022014-04-04 Chris Metcalf <cmetcalf@tilera.com>
5703
5704 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
5705 in function argument name.
5706
1c21d115
DS
57072014-04-03 David Svoboda <svoboda@cert.org>
5708
5709 [BZ #5666]
5710 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
5711 explicitly.
5712
fcccd512
RM
57132014-04-03 Roland McGrath <roland@hack.frob.com>
5714
5715 * elf/dl-unmap-segments.h: New file.
5716 * sysdeps/generic/ldsodefs.h
5717 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
5718 * elf/dl-close.c: Include <dl-unmap-segments.h>.
5719 * elf/dl-fptr.c: Likewise.
5720 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
5721 * sysdeps/aarch64/tlsdesc.c: Likewise.
5722 * sysdeps/arm/tlsdesc.c: Likewise.
5723 * sysdeps/i386/tlsdesc.c: Likewise.
5724 * sysdeps/tile/dl-runtime.c: Likewise.
5725 * sysdeps/x86_64/tlsdesc.c: Likewise.
5726 * elf/dl-load.h: New file.
5727 * elf/dl-load.c: Include it.
5728 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
5729 Macros moved to dl-load.h.
5730 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
5731 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
5732 Use _dl_unmap_segments in place of __munmap.
5733 Break out segment-mapping loop into ...
5734 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
5735
f6488e2b
WN
57362014-04-03 Will Newton <will.newton@linaro.org>
5737
5738 * elf/dl-lookup.c (do_lookup_x): Remove comment
5739 referring to nested function and move variable
5740 declarations down to before first use.
5741
6f05bafe
JM
57422014-04-02 Joseph Myers <joseph@codesourcery.com>
5743
a84e78c8
JM
5744 [BZ #16799]
5745 [BZ #16800]
5746 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
5747 with 0 numerator.
5748 * math/s_catanf.c (__catanf): Likewise.
5749 * math/s_catanh.c (__catanh): Likewise.
5750 * math/s_catanhf.c (__catanhf): Likewise.
5751 * math/s_catanhl.c (__catanhl): Likewise.
5752 * math/s_catanl.c (__catanl): Likewise.
5753 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
5754 by positive zero when computing -Inf result.
5755 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
5756 (catanh_test): Likewise.
5757 * sysdeps/i386/fpu/libm-test-ulps: Update.
5758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5759
6f05bafe
JM
5760 [BZ #16789]
5761 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
5762 instead of using underflowing value in computing result.
5763 * math/s_clog10.c (__clog10): Likewise.
5764 * math/s_clog10f.c (__clog10f): Likewise.
5765 * math/s_clog10l.c (__clog10l): Likewise.
5766 * math/s_clogf.c (__clogf): Likewise.
5767 * math/s_clogl.c (__clogl): Likewise.
5768 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
5769 (clog10_test): Likewise.
5770 * sysdeps/i386/fpu/libm-test-ulps: Update.
5771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5772
b0abbc21
AM
57732014-04-02 Alan Modra <amodra@gmail.com>
5774
5775 [BZ #16739]
5776 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5777 output when value is near a power of two. Use int64_t for lx and
5778 remove casts. Use decimal rather than hex exponent constants.
5779 Don't use long double multiplication when double will suffice.
5780 * math/libm-test.inc (nextafter_test_data): Add tests.
5781 * NEWS: Add 16739 and 16786 to bug list.
5782
af6b1797
AM
5783 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5784
483818d7
AM
5785 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5786
f6c55796
WN
57872014-04-01 Will Newton <will.newton@linaro.org>
5788
5789 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5790 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
5791
13f7fe35
FW
57922014-04-01 Florian Weimer <fweimer@redhat.com>
5793
5794 [BZ #13347]
5795 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
5796 * nptl/tst-setuid2.c: New file.
5797 * nptl/Makefile (xtests): Add tst-setuid2.
5798
c859b32e
AM
57992014-04-01 Alan Modra <amodra@gmail.com>
5800
5801 [BZ #16786]
5802 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
5803
54fa2475
JM
58042014-03-31 Joseph Myers <joseph@codesourcery.com>
5805
8795b4a4
JM
5806 [BZ #6803]
5807 [BZ #6804]
5808 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
5809 set errno as appropriate.
5810 * math/w_scalbf.c (__scalbf): Likewise.
5811 * math/w_scalbl.c (__scalbl): Likewise.
5812 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
5813 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
5814 * math/libm-test.inc (scalb_test_data): Add errno expectations.
5815 Add more NaN tests.
5816
54fa2475
JM
5817 [BZ #16349]
5818 * math/w_atan2.c: Include <errno.h>.
5819 (__atan2): Set errno for result underflowing to zero.
5820 * math/w_atan2f.c: Include <errno.h>.
5821 (__atan2f): Set errno for result underflowing to zero.
5822 * math/w_atan2l.c: Include <errno.h>.
5823 (__atan2l): Set errno for result underflowing to zero.
5824 * math/auto-libm-test-in: Don't allow missing errno for some atan2
5825 tests.
5826 * math/auto-libm-test-out: Regenerated.
5827
757d9dd5
AZ
58282014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5829
5830 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5831 Encode instruction correctly in little endian.
5832 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5833 Likewise.
5834 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5835 Likewise.
5836 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5837 Likewise.
5838 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5839 Likewise.
5840
d7a68734
JM
58412014-03-31 Joseph Myers <joseph@codesourcery.com>
5842
47c5adeb
JM
5843 [BZ #9894]
5844 * sysdeps/unix/sysv/linux/kernel-features.h
5845 [__sparc__ && !__arch64__ && !__sparc_v9__]
5846 (__ASSUME_SET_ROBUST_LIST): Do not define.
5847 [__sparc__ && !__arch64__ && !__sparc_v9__]
5848 (__ASSUME_FUTEX_LOCK_PI): Likewise.
5849 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
5850 Likewise.
5851 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5852 (__ASSUME_FUTEX_LOCK_PI): Undefine.
5853 (__ASSUME_REQUEUE_PI): Likewise.
5854 (__ASSUME_SET_ROBUST_LIST): Likewise.
5855 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5856 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
5857 Undefine.
5858 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5859 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
5860 Likewise.
5861 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
5862 Likewise.
5863 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
5864 Likewise.
5865 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5866 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
5867 Undefine.
5868 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
5869 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
5870 Likewise.
5871
d7a68734
JM
5872 [BZ #16648]
5873 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5874 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
5875 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
5876
c760f5c2
WN
58772014-03-31 Will Newton <will.newton@linaro.org>
5878
5879 * benchtests/Makefile (bench): Add ffs and ffsll to list
5880 of tests.
5881 * benchtests/ffs-inputs: New file.
5882 * benchtests/ffsll-inputs: Likewise.
5883
ea6029b1
JM
58842014-03-29 Joseph Myers <joseph@codesourcery.com>
5885
5886 [BZ #16770]
5887 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
5888 too large before casting to int.
5889 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
5890 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
5891 * math/libm-test.inc (scalb_test_data): Add more tests.
5892
cf806aff
SP
58932014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5894
56737508
SP
5895 * benchtests/Makefile (DETAILED_OPT): New make option.
5896 (bench-func): Run benchmark program with -d if DETAILED_OPT is
5897 set.
5898 * benchtests/bench-skeleton.c: Include stdbool.h.
5899 (main): Store and print timings per input.
5900 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
5901 member to each argument value.
5902 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
5903 (_print_arg_data): Initialize per-input timing to 0.
5904
cb5e4aad
SP
5905 * benchtests/Makefile (timing-type): New binary.
5906 (bench-clean): Also remove bench-timing-type.
5907 (bench): New target for timing-type.
5908 (bench-func): Print output in JSON format.
5909 * benchtests/bench-skeleton.c (main): Print output in JSON
5910 format.
5911 * benchtests/bench-timing-type.c: New file.
5912 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
5913 (TIMING_PRINT_STATS): Remove.
5914 * benchtests/scripts/bench.py (_print_arg_data): Store variant
5915 name separately.
5916
cf806aff
SP
5917 * benchtests/bench-modf.c: Remove.
5918 * benchtests/modf-inputs: New inputs file.
5919
289e0779
JM
59202014-03-28 Joseph Myers <joseph@codesourcery.com>
5921
5922 [BZ #16362]
5923 * math/s_clog10.c (M_PI_LOG10E): New macro.
5924 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
5925 imaginary parts are 0.
5926 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
5927 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
5928 imaginary parts are 0.
5929 * math/s_clog10l.c (M_PI_LOG10El): New macro.
5930 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
5931 imaginary parts are 0.
5932 * math/libm-test.inc (clog10_test_data): Update expected results
5933 for when real and imaginary parts are 0.
5934
277ae3f1
PP
59352014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
5936
5937 * elf/dl-load.c: Finish conversion of __builtin_expect into
5938 __glibc_{un}likely.
5939
03a7091f
JM
59402014-03-27 Joseph Myers <joseph@codesourcery.com>
5941
5942 [BZ #16348]
5943 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
5944 1+x for argument with exponent below -67.
5945 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
5946 Likewise.
5947 * math/auto-libm-test-in: Add more tests of exp.
5948 * math/auto-libm-test-out: Regenerated.
5949
ea7d8b95
SP
59502014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5951
dd3022d7
SP
5952 [BZ #16759]
5953 * inet/getnetgrent_r.c (get_nonempty_val): New function.
5954 (nscd_getnetgrent): Use it.
5955
ea7d8b95
SP
5956 [BZ #16760]
5957 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
5958 of stpcpy.
5959
df5b85da
AK
59602014-03-27 Andi Kleen <ak@linux.intel.com>
5961
57f41c40
AS
5962 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
5963 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5964 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5965 (lll_robust_unlock): Remove out of line section. Use cfi
5966 intrinsics.
df5b85da 5967 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
5968 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
5969 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5970 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5971 (lll_robust_unlock): Remove out of line section. Use cfi
5972 intrinsics.
df5b85da
AK
5973 (LLL_STUB_UNWIND_INFO*): Remove.
5974
fbd6b5a4
SP
59752014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5976
5977 [BZ #16758]
5978 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
5979 blank values.
5980
1b26b855
PP
59812014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
5982
5983 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
5984
9be36fb8
JM
59852014-03-26 Joseph Myers <joseph@codesourcery.com>
5986
5987 [BZ #16198]
5988 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
5989 fnstenv.
5990 * math/test-fenv-preserve.c: New file.
5991 * math/Makefile (tests): Add test-fenv-preserve.
5992
60a2f3c1
WN
59932014-03-26 Will Newton <will.newton@linaro.org>
5994
5995 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
5996
a5e5f1e2
RM
59972014-03-25 Roland McGrath <roland@hack.frob.com>
5998
5999 * scripts/versionlist.awk: Partition the version sets and emit all
6000 GLIBC_* (sorted) before all others (sorted).
6001
00f4012a
JM
60022014-03-25 Joseph Myers <joseph@codesourcery.com>
6003
6004 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
6005 GLIBC_2.2.5 version.
6006
7bc5a741
AZ
60072014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6008
6009 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
6010 calls.
6011
7578473b
AZ
6012 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
6013 previous change.
6014
f3f1dab3
AZ
6015 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6016
6da36183
AS
60172014-03-25 Andreas Schwab <schwab@suse.de>
6018
6019 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
6020 label to be used after in6ailist is initialized.
6021
f3f1dab3 60222014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 6023
7578473b 6024 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
6025 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6026
046651c1
JM
60272014-03-25 Joseph Myers <joseph@codesourcery.com>
6028
6029 [BZ #16357]
6030 [BZ #16599]
6031 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
6032 min_plus_half.
6033 (fp_formats): Update initializers.
6034 (init_fp_formats): Initialize new field.
6035 (output_for_one_input_case): Allow underflow for results up to
6036 min_plus_half.
6037 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
6038 * math/auto-libm-test-in: Don't mark some underflows from asin and
6039 atanh as spurious.
6040 * math/auto-libm-test-out: Regenerated.
6041 * sysdeps/i386/fpu/libm-test-ulps: Update.
6042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6043
003e49ed
AS
60442014-03-25 Andreas Schwab <schwab@suse.de>
6045
6046 * libio/Makefile (tst-ftell-partial-wide-ENV)
6047 (tst-ftell-active-handler-ENV): Define.
6048
de031874
SL
60492014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
6050
6051 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
6052
55a81e3b
PP
60532014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6054
6055 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
6056
f3426898
JM
60572014-03-24 Joseph Myers <joseph@codesourcery.com>
6058
6059 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
6060 * sysdeps/x86_64/fpu/multiarch/e_exp.c
6061 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6062
a42faf59
PP
60632014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6064
6065 [BZ #16634]
a42faf59 6066 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
6067 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
6068 (open_path): Change from boolean 'secure' to complete flag 'mode'
6069 (_dl_map_object): Adjust.
a42faf59
PP
6070 * elf/Makefile (tests): Add tst-dlopen-aout.
6071 * elf/tst-dlopen-aout.c: New test.
6072
50936127
SL
60732014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6074
6075 [BZ #16714]
6076 * sysdeps/unix/sysv/linux/s390/bits/stat.h
6077 (struct stat): Rename member pad0 to __glibc_reserved0.
6078
26011b5c
SL
6079 [BZ #16712]
6080 * sysdeps/s390/s390-32/bits/wordsize.h
6081 (__WORDSIZE32_SIZE_ULONG): New define.
6082 * sysdeps/s390/s390-64/bits/wordsize.h
6083 (__WORDSIZE32_SIZE_ULONG): Likewise.
6084 * sysdeps/generic/stdint.h (SIZE_MAX):
6085 Define as UL if __WORDSIZE32_SIZE_ULONG.
6086
a2d86bf1
SL
6087 [BZ #16713]
6088 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6089 (__glibc_reserved0): New variable.
6090 (sa_flags): Change type to int.
6091
78b6eebc
SL
6092 * posix/Makefile (before-compile): Use += before-compile instead
6093 of a :=.
6094
f1399b5a
SL
6095 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6096 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6097
a071766e
AS
60982014-03-20 Andreas Schwab <schwab@suse.de>
6099
6100 [BZ #16743]
6101 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
6102 non-matching result from nscd.
6103
27c673b8
SP
61042014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6105
6106 * scripts/bench.py: Moved to ...
6107 * benchtests/scripts/bench.py: ... here.
6108 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
6109
44152e4b
AS
61102014-03-24 Andreas Schwab <schwab@suse.de>
6111
6112 [BZ #16002]
6113 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
6114 alloca_account and account alloca use for struct in6ailist.
6115
b376a11a
JM
61162014-03-24 Joseph Myers <joseph@codesourcery.com>
6117
6118 [BZ #16284]
6119 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
6120 rounding mode to recompute results that overflow to infinity or
6121 underflow to zero.
6122 * math/auto-libm-test-in: Don't mark tests as expected to fail for
6123 bug 16284.
6124 * math/auto-libm-test-out: Regenerated.
6125 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
6126 (ccosh_test): Likewise.
6127 (csin_test_data): Use plus_oflow.
6128 (csin_test): Use ALL_RM_TEST.
6129 (csinh_test_data): Use plus_oflow.
6130 (csinh_test): Use ALL_RM_TEST.
6131 * sysdeps/i386/fpu/libm-test-ulps: Update.
6132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6133
f7be7376
JM
61342014-03-21 Joseph Myers <joseph@codesourcery.com>
6135
1ca2d03e
JM
6136 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
6137 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
6138 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
6139
f7be7376
JM
6140 [BZ #16731]
6141 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
6142 when x - 1 is zero.
6143 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
6144 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
6145 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6146 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
6147 argument is 1.
6148 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
6149 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
6150 zero.
6151 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
6152 * sysdeps/i386/fpu/libm-test-ulps: Update.
6153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6154
fdf4534d
SP
61552014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6156
df26ea53
SP
6157 * scripts/bench.pl: Remove file.
6158 * scripts/bench.py: New benchmark script.
6159 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6160 * benchtests/README: Mention python dependency.
6161 * scripts/pylintrc: New file.
6162 * scripts/pylint: New file.
6163
fdf4534d
SP
6164 * bits/mathdef.h: Use #ifdef instead of #if.
6165 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6166 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6167 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6168 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6169 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6170 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6171
6f23d093
AZ
61722014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6173 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6174
6175 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
6176 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
6177 and strpbrk-ppc64 objects.
6178 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6179 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
6180 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
6181 multiarch strpbrk for POWER7.
6182 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
6183 multiarch strpbrk for PPC64.
6184 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
6185 ifunc selector.
6186 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
6187 strpbrk for POWER7.
6188
8c92dfff
JM
61892014-03-20 Joseph Myers <joseph@codesourcery.com>
6190
6191 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
6192 (atan_test): Likewise.
6193 (atanh_test_data): Use NO_TEST_INLINE for two tests.
6194 (atanh_test): Use ALL_RM_TEST.
6195 (atan2_test_data): Likewise.
6196 (cabs_test): Likewise.
6197 (cacosh_test): Likewise.
6198 (carg_test): Likewise.
6199 (casin_test): Likewise.
6200 (casinh_test): Likewise.
6201 (cbrt_test): Likewise.
6202 (csqrt_test): Likewise.
6203 (erf_test): Likewise.
6204 (erfc_test): Likewise.
6205 (pow10_test): Likewise.
6206 (exp2_test): Likewise.
6207 (hypot_test): Likewise.
6208 (j0_test): Likewise.
6209 (j1_test): Likewise.
6210 (lgamma_test): Likewise.
6211 (gamma_test): Likewise.
6212 (sincos_test): Likewise.
6213 (tanh_test): Likewise.
6214 (y0_test): Likewise.
6215 (y1_test): Likewise.
6216 * sysdeps/i386/fpu/libm-test-ulps: Update.
6217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6218
6eaf95cb
AZ
62192014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6220
a387428c
SP
6221 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
6222 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
6223 and strcspn-ppc64 objects.
6224 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6225 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6226 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6227 multiarch strcspn for POWER7.
6228 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6229 multiarch strcspn for PPC64.
6230 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6231 ifunc selector.
6232 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6233 strcspn for POWER7.
6234
ae3a5dff
JM
62352014-03-20 Joseph Myers <joseph@codesourcery.com>
6236
6237 * math/gen-libm-test.pl (generate_testfile): Expect only function
6238 name as argument to AUTO_TESTS_* and pass results for all rounding
6239 modes to parse_args.
6240 (parse_auto_input): Separate inputs of automatic tests from
6241 outputs before storing in %auto_tests.
6242 * math/libm-test.inc (acos_test_data): Update call to
6243 AUTO_TESTS_f_f.
6244 (acos_test): Use ALL_RM_TEST.
6245 (acos_tonearest_test_data): Remove.
6246 (acos_test_tonearest): Likewise.
6247 (acos_towardzero_test_data): Likewise.
6248 (acos_test_towardzero): Likewise.
6249 (acos_downward_test_data): Likewise.
6250 (acos_test_downward): Likewise.
6251 (acos_upward_test_data): Likewise.
6252 (acos_test_upward): Likewise.
6253 (acosh_test_data): Update call to AUTO_TESTS_f_f.
6254 (asin_test_data): Likewise.
6255 (asin_test): Use ALL_RM_TEST.
6256 (asin_tonearest_test_data): Remove.
6257 (asin_test_tonearest): Likewise.
6258 (asin_towardzero_test_data): Likewise.
6259 (asin_test_towardzero): Likewise.
6260 (asin_downward_test_data): Likewise.
6261 (asin_test_downward): Likewise.
6262 (asin_upward_test_data): Likewise.
6263 (asin_test_upward): Likewise.
6264 (asinh_test_data): Update call to AUTO_TESTS_f_f.
6265 (atan_test_data): Likewise.
6266 (atanh_test_data): Likewise.
6267 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
6268 (cabs_test_data): Update call to AUTO_TESTS_c_f.
6269 (carg_test_data): Likewise.
6270 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
6271 (ccos_test_data): Update call to AUTO_TESTS_c_c.
6272 (ccosh_test_data): Likewise.
6273 (cexp_test_data): Likewise.
6274 (clog_test_data): Likewise.
6275 (clog10_test_data): Likewise.
6276 (cos_test_data): Update call to AUTO_TESTS_f_f.
6277 (cos_test): Use ALL_RM_TEST.
6278 (cos_tonearest_test_data): Remove.
6279 (cos_test_tonearest): Likewise.
6280 (cos_towardzero_test_data): Likewise.
6281 (cos_test_towardzero): Likewise.
6282 (cos_downward_test_data): Likewise.
6283 (cos_test_downward): Likewise.
6284 (cos_upward_test_data): Likewise.
6285 (cos_test_upward): Likewise.
6286 (cosh_test_data): Update call to AUTO_TESTS_f_f.
6287 (cosh_test): Use ALL_RM_TEST.
6288 (cosh_tonearest_test_data): Remove.
6289 (cosh_test_tonearest): Likewise.
6290 (cosh_towardzero_test_data): Likewise.
6291 (cosh_test_towardzero): Likewise.
6292 (cosh_downward_test_data): Likewise.
6293 (cosh_test_downward): Likewise.
6294 (cosh_upward_test_data): Likewise.
6295 (cosh_test_upward): Likewise.
6296 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
6297 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
6298 (ctan_test_data): Likewise.
6299 (ctan_test): Use ALL_RM_TEST.
6300 (ctan_tonearest_test_data): Remove.
6301 (ctan_test_tonearest): Likewise.
6302 (ctan_towardzero_test_data): Likewise.
6303 (ctan_test_towardzero): Likewise.
6304 (ctan_downward_test_data): Likewise.
6305 (ctan_test_downward): Likewise.
6306 (ctan_upward_test_data): Likewise.
6307 (ctan_test_upward): Likewise.
6308 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
6309 (ctanh_test): Use ALL_RM_TEST.
6310 (ctanh_tonearest_test_data): Remove.
6311 (ctanh_test_tonearest): Likewise.
6312 (ctanh_towardzero_test_data): Likewise.
6313 (ctanh_test_towardzero): Likewise.
6314 (ctanh_downward_test_data): Likewise.
6315 (ctanh_test_downward): Likewise.
6316 (ctanh_upward_test_data): Likewise.
6317 (ctanh_test_upward): Likewise.
6318 (erf_test_data): Update call to AUTO_TESTS_f_f.
6319 (erfc_test_data): Likewise.
6320 (exp_test_data): Likewise.
6321 (exp_test): Use ALL_RM_TEST.
6322 (exp_tonearest_test_data): Remove.
6323 (exp_test_tonearest): Likewise.
6324 (exp_towardzero_test_data): Likewise.
6325 (exp_test_towardzero): Likewise.
6326 (exp_downward_test_data): Likewise.
6327 (exp_test_downward): Likewise.
6328 (exp_upward_test_data): Likewise.
6329 (exp_test_upward): Likewise.
6330 (exp10_test_data): Update call to AUTO_TESTS_f_f.
6331 (exp10_test): Use ALL_RM_TEST.
6332 (exp10_tonearest_test_data): Remove.
6333 (exp10_test_tonearest): Likewise.
6334 (exp10_towardzero_test_data): Likewise.
6335 (exp10_test_towardzero): Likewise.
6336 (exp10_downward_test_data): Likewise.
6337 (exp10_test_downward): Likewise.
6338 (exp10_upward_test_data): Likewise.
6339 (exp10_test_upward): Likewise.
6340 (exp2_test_data): Update call to AUTO_TESTS_f_f.
6341 (expm1_test_data): Likewise.
6342 (expm1_test): Use ALL_RM_TEST.
6343 (expm1_tonearest_test_data): Remove.
6344 (expm1_test_tonearest): Likewise.
6345 (expm1_towardzero_test_data): Likewise.
6346 (expm1_test_towardzero): Likewise.
6347 (expm1_downward_test_data): Likewise.
6348 (expm1_test_downward): Likewise.
6349 (expm1_upward_test_data): Likewise.
6350 (expm1_test_upward): Likewise.
6351 (fma_test_data): Update call to AUTO_TESTS_fff_f.
6352 (fma_test): Use ALL_RM_TEST.
6353 (fma_towardzero_test_data): Remove.
6354 (fma_test_towardzero): Likewise.
6355 (fma_downward_test_data): Likewise.
6356 (fma_test_downward): Likewise.
6357 (fma_upward_test_data): Likewise.
6358 (fma_test_upward): Likewise.
6359 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
6360 (j0_test_data): Update call to AUTO_TESTS_f_f.
6361 (j1_test_data): Likewise.
6362 (jn_test_data): Update call to AUTO_TESTS_if_f.
6363 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
6364 (log_test_data): Update call to AUTO_TESTS_f_f.
6365 (log10_test_data): Likewise.
6366 (log1p_test_data): Likewise.
6367 (log2_test_data): Likewise.
6368 (pow_test_data): Update call to AUTO_TESTS_ff_f.
6369 (pow_tonearest_test_data): Likewise.
6370 (sin_test_data): Update call to AUTO_TESTS_f_f.
6371 (sin_test): Use ALL_RM_TEST.
6372 (sin_tonearest_test_data): Remove.
6373 (sin_test_tonearest): Likewise.
6374 (sin_towardzero_test_data): Likewise.
6375 (sin_test_towardzero): Likewise.
6376 (sin_downward_test_data): Likewise.
6377 (sin_test_downward): Likewise.
6378 (sin_upward_test_data): Likewise.
6379 (sin_test_upward): Likewise.
6380 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
6381 (sinh_test_data): Update call to AUTO_TESTS_f_f.
6382 (sinh_test): Use ALL_RM_TEST.
6383 (sinh_tonearest_test_data): Remove.
6384 (sinh_test_tonearest): Likewise.
6385 (sinh_towardzero_test_data): Likewise.
6386 (sinh_test_towardzero): Likewise.
6387 (sinh_downward_test_data): Likewise.
6388 (sinh_test_downward): Likewise.
6389 (sinh_upward_test_data): Likewise.
6390 (sinh_test_upward): Likewise.
6391 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
6392 (sqrt_test): Use ALL_RM_TEST.
6393 (sqrt_tonearest_test_data): Remove.
6394 (sqrt_test_tonearest): Likewise.
6395 (sqrt_towardzero_test_data): Likewise.
6396 (sqrt_test_towardzero): Likewise.
6397 (sqrt_downward_test_data): Likewise.
6398 (sqrt_test_downward): Likewise.
6399 (sqrt_upward_test_data): Likewise.
6400 (sqrt_test_upward): Likewise.
6401 (tan_test_data): Update call to AUTO_TESTS_f_f.
6402 (tan_test): Use ALL_RM_TEST.
6403 (tan_tonearest_test_data): Remove.
6404 (tan_test_tonearest): Likewise.
6405 (tan_towardzero_test_data): Likewise.
6406 (tan_test_towardzero): Likewise.
6407 (tan_downward_test_data): Likewise.
6408 (tan_test_downward): Likewise.
6409 (tan_upward_test_data): Likewise.
6410 (tan_test_upward): Likewise.
6411 (tanh_test_data): Update call to AUTO_TESTS_f_f.
6412 (tgamma_test_data): Likewise.
6413 (y0_test_data): Likewise.
6414 (y1_test_data): Likewise.
6415 (yn_test_data): Update call to AUTO_TESTS_if_f.
6416 (main): Do not call removed functions.
6417
d71aeee8
JM
64182014-03-19 Joseph Myers <joseph@codesourcery.com>
6419
6420 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
6421 (ldexp_test_data): Remove.
6422 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
6423 scalbn_test_data.
6424 (scalb_test): Use ALL_RM_TEST.
6425
baaf1ded
AS
64262014-03-19 Andreas Schwab <schwab@suse.de>
6427
6428 * nscd/nscd.service: Also invalidate netgroup cache on reload.
6429
b1115e91
JM
64302014-03-19 Joseph Myers <joseph@codesourcery.com>
6431
6432 [BZ #16649]
6433 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6434 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
6435 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
6436 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6437 (__ASSUME_PREADV): Undefine.
6438 (__ASSUME_PWRITEV): Likewise.
6439
0283ecca
RM
64402014-03-18 Roland McGrath <roland@hack.frob.com>
6441
7d375303
RM
6442 * bits/mman-linux.h: Add comment about non-Linux use.
6443 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
6444 bits/mman-linux.h resting place.
6445
0283ecca
RM
6446 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
6447 * bits/mman-linux.h: ... here.
6448
aebe1003
AZ
64492014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6450
6451 * conform/conformtest.pl: Add standard definition when calling C
6452 preprocessor on data files.
6453 (checknamespace): Remove unused variable.
6454
b29b6bb8
JM
64552014-03-18 Joseph Myers <joseph@codesourcery.com>
6456
6457 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
6458 minus_oflow, plus_uflow and minus_uflow in expected results.
6459 * math/libm-test.inc (scalbn_test_data): Add more tests of
6460 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
6461 minus_uflow.
6462 (scalbn_test): Use ALL_RM_TEST.
6463 (scalbln_test_data): Add more tests of negative arguments. Use
6464 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
6465 (scalbln_test): Use ALL_RM_TEST.
6466
c8f8fa15
RM
64672014-03-18 Roland McGrath <roland@hack.frob.com>
6468
6469 * scripts/abilist.awk: Ignore symbols marked with .hidden.
6470
fede7a5f
WN
64712014-03-18 Will Newton <will.newton@linaro.org>
6472
6473 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
6474 inaccurate comment.
6475
80cf0a58
JM
64762014-03-18 Joseph Myers <joseph@codesourcery.com>
6477
6478 * Makerules [!subdir] (check-abi): Exit with error status if a
6479 test failed.
6480
b3620862
JM
64812014-03-17 Joseph Myers <joseph@codesourcery.com>
6482
6483 * math/libm-test.inc (nearbyint_test_data): Include all tests used
6484 for rint. Include results for all rounding modes.
6485 (nearbyint_test): Use ALL_RM_TEST.
6486 (rint_test_data): Include all tests used for nearbyint.
6487
788bba36
WN
64882014-03-17 Will Newton <will.newton@linaro.org>
6489
04ec140a
WN
6490 * nptl/sysdeps/pthread/pthread.h: Revert previous
6491 change.
6492
7579d8d5
WN
6493 * sysdeps/generic/ldsodefs.h: Revert previous
6494 change.
6495
c15cf13a
WN
6496 * libio/genops.c: Revert previous change.
6497 * libio/libioP.h: Likewise.
6498 * stdio-common/vfprintf.c: Likewise.
6499
d0ac1324
WN
6500 * sysdeps/generic/math_private.h: Revert previous
6501 change.
6502
9290130a
WN
6503 * sysdeps/generic/math_private.h: Check whether
6504 HAVE_RM_CTX is defined with #ifdef rather
6505 than #if.
6506
afb466fc
WN
6507 * argp/argp-fmtstream.h: Check whether
6508 __STRICT_ANSI__ is defined with #ifdef rather
6509 than #if.
6510 * argp/argp.h: Likewise.
6511
f7efd7c3
WN
6512 * libio/genops.c: Check whether
6513 _IO_JUMPS_OFFSET is defined with #ifdef rather
6514 than #if.
6515 * libio/libioP.h: Likewise.
6516 * stdio-common/vfprintf.c: Likewise.
6517
53f1bed3
WN
6518 * sysdeps/generic/ldsodefs.h: Check whether
6519 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
6520 than #if.
6521
788bba36
WN
6522 * nptl/sysdeps/pthread/pthread.h: Check
6523 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
6524 its value.
6525
fcd89ebe
SP
65262014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6527
ae42bbc5
SP
6528 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
6529 setting O_APPEND.
6530 * libio/tst-ftell-active-handler.c (do_append_test): Add a
6531 test case.
6532
ea33158c
SP
6533 [BZ #16680]
6534 * libio/fileops.c (_IO_file_open): Seek to end of file but
6535 don't cache the offset.
6536 (get_file_offset): Remove function.
6537 (do_ftell): Use cached offset when available.
6538 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
6539 don't cache the offset.
6540 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
6541 case.
6542 (do_one_test): Call it.
6543 (do_ftell_test): Fix up expected old offset for a+ mode.
6544 * libio/wfileops.c (do_ftell_wide): Used cached offset when
6545 available.
6546
b1dbb426
SP
6547 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
6548 up test status with function return status.
6549 (do_write_test): Likewise.
6550 (do_append_test): Likewise.
6551
fcd89ebe
SP
6552 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
6553 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
6554 Remove.
6555
9962a2d3
JM
65562014-03-17 Joseph Myers <joseph@codesourcery.com>
6557
6558 * math/gen-libm-test.pl (parse_args): Handle results specified for
6559 each rounding mode separately.
6560 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
6561 tests and results from lrint_tonearest_test_data,
6562 lrint_towardzero_test_data, lrint_downward_test_data and
6563 lrint_upward_test_data.
6564 (lrint_test): Use ALL_RM_TEST.
6565 (lrint_tonearest_test_data): Remove.
6566 (lrint_test_tonearest): Likewise.
6567 (lrint_towardzero_test_data): Likewise.
6568 (lrint_test_towardzero): Likewise.
6569 (lrint_downward_test_data): Likewise.
6570 (lrint_test_downward): Likewise.
6571 (lrint_upward_test_data): Likewise.
6572 (lrint_test_upward): Likewise.
6573 (llrint_test_data): Merge in per-rounding-mode tests and results
6574 from llrint_tonearest_test_data, llrint_towardzero_test_data,
6575 llrint_downward_test_data and llrint_upward_test_data.
6576 (llrint_test): Use ALL_RM_TEST.
6577 (llrint_tonearest_test_data): Remove.
6578 (llrint_test_tonearest): Likewise.
6579 (llrint_towardzero_test_data): Likewise.
6580 (llrint_test_towardzero): Likewise.
6581 (llrint_downward_test_data): Likewise.
6582 (llrint_test_downward): Likewise.
6583 (llrint_upward_test_data): Likewise.
6584 (llrint_test_upward): Likewise.
6585 (rint_test_data): Merge in per-rounding-mode tests and results
6586 from rint_tonearest_test_data, rint_towardzero_test_data,
6587 rint_downward_test_data and rint_upward_test_data. Add
6588 per-rounding-mode results for tests not in those arrays.
6589 (rint_test): Use ALL_RM_TEST.
6590 (rint_tonearest_test_data): Remove.
6591 (rint_test_tonearest): Likewise.
6592 (rint_towardzero_test_data): Likewise.
6593 (rint_test_towardzero): Likewise.
6594 (rint_downward_test_data): Likewise.
6595 (rint_test_downward): Likewise.
6596 (rint_upward_test_data): Likewise.
6597 (rint_test_upward): Likewise.
6598 (main): Don't call removed functions.
6599
5006148e
RM
66002014-03-14 Roland McGrath <roland@hack.frob.com>
6601
6602 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
6603 "Compiled on ..." crapola. It is anti-useful.
6604
d6fe5e58
JM
66052014-03-14 Joseph Myers <joseph@codesourcery.com>
6606
6607 * scripts/evaluate-test.sh: Handle fourth argument to determine
6608 whether test run should stop on failure.
6609 * Makeconfig (stop-on-test-failure): New variable.
6610 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
6611 $(stop-on-test-failure).
6612 * Makefile (tests): Give a summary of results from testing and
6613 exit with failure status if they include an ERROR or FAIL.
6614 (xtests): Likewise.
6615 * manual/install.texi (Configuring and compiling): Mention
6616 stop-on-test-failure=y.
6617 * INSTALL: Regenerated.
6618
498a2233
RM
66192014-03-14 Roland McGrath <roland@hack.frob.com>
6620
22dbc19d
RM
6621 * scripts/versionlist.awk: New file.
6622 * Makerules [$(build-shared) = yes]
6623 (postclean-generated): Add Versions.def, not Versions.def.v and
6624 Versions.def.v.i.
6625 ($(common-objpfx)Versions.def.v.i): Target removed.
6626 ($(common-objpfx)Versions.def): New target.
6627 ($(common-objpfx)Versions.all): Depend on that rather that
6628 $(common-objpfx)Versions.def.v.
6629 * Versions.def: File removed.
6630
498a2233
RM
6631 * Makeconfig (+gccwarn): Add -Wundef.
6632 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
6633 a dl-sysdep.h breaking its contract.
6634 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
6635 * include/stackinfo.h: New file.
6636 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
6637 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
6638 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
6639 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
6640 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
6641 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
6642 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6643 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6644 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6645 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6646 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6647 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
6648 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6649 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6650 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6651
c7de5025
AZ
66522014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6653
6654 [BZ #16707]
6655 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
6656 implementation.
6657 * math/libm-test.inc (round_test_data): Add more tests.
6658
98fb27a3
AZ
6659 [BZ #16706]
6660 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
6661 implementation.
6662 * math/libm-test.inc (nearbyint_test_data): Add more tests.
6663
374f7f61
AZ
6664 [BZ #16701]
6665 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
6666 implementation.
6667 * math/libm-test.inc (ceil_test_data): Add more tests.
6668
4655c291
AZ
6669 * math/libm-test.inc (trunc_test_data): Add more tests related to
6670 BZ#16414.
6671
d7329d4b
RM
66722014-03-14 Roland McGrath <roland@hack.frob.com>
6673
6674 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
6675 with #if rather than #ifdef.
6676 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
6677
aa4de9ce
L
66782014-03-14 H.J. Lu <hongjiu.lu@intel.com>
6679
6680 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
6681 first. Disable AVX-512 GCC support if assembler doesn't support
6682 it.
6683 * sysdeps/x86_64/configure: Regenerated.
6684
2e03fae7
CD
66852014-03-13 Carlos O'Donell <carlos@redhat.com>
6686
6687 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
6688 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
6689 (__old_pthread_attr_setstack): Likewise.
6690 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
6691 [!_STACK_GROWS_DOWN]: Likewise.
6692
43ca83ec
MF
66932014-03-13 Mike Frysinger <vapier@gentoo.org>
6694
6695 * config.make.in (have-bash2): Delete.
6696 * configure.ac (libc_cv_have_bash2): Delete.
6697 * configure: Regenerate.
6698 * elf/Makefile (common-ldd-rewrite): Rename to ...
6699 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
6700 (sh-ldd-rewrite): Delete.
6701 (bash-ldd-rewrite): Delete.
6702 (have-bash2): Delete checks.
57f41c40
AS
6703 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
6704 ldd-rewrite.
c66e48b4
MF
6705
6706 * config.make.in (have-ksh): Delete.
6707 (KSH): Delete.
6708 * configure.ac (libc_cv_have_ksh): Delete.
6709 * configure: Regenerate.
6710
b93834ef
MF
6711 * elf/Makefile: Delete $(have-ksh) check.
6712 ($(objpfx)sotruss): Change KSH to BASH.
6713 * elf/sotruss.ksh: Rename to ...
6714 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
6715 function style to match POSIX. Drop ksh vim mode setting.
6716
f3a4632a
MF
6717 * manual/time.texi (Specifying the Time Zone with TZ): Change
6718 Tuesday to Thursday.
6719
5896c8bd
MF
6720 * debug/tst-longjmp_chk2.c: Update header comment.
6721 (stackoverflow_handler): Add comment. Call assert on pass value.
6722
2d63a517
IZ
67232014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
6724
6725 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
6726 (HAVE_AVX512_ASM_SUPPORT): Likewise.
6727 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
6728 (La_x86_64_vector): Add zmm.
6729 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
6730 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
6731 ($(objpfx)tst-audit10): New target.
6732 ($(objpfx)tst-audit10.out): Likewise.
6733 (tst-audit10-ENV): New.
6734 (AVX512-CFLAGS): Likewise.
6735 (CFLAGS-tst-audit10.c): Likewise.
6736 (CFLAGS-tst-auditmod10a.c): Likewise.
6737 (CFLAGS-tst-auditmod10b.c): Likewise.
6738 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
6739 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
6740 * sysdeps/x86_64/configure: Regenerated.
6741 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
6742 AVX-512 zmm register support.
6743 (_dl_x86_64_save_sse): Likewise.
6744 (_dl_x86_64_restore_sse): Likewise.
6745 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
6746 size vector registers.
6747 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
6748 (ZMM_SIZE): Likewise.
6749 * sysdeps/x86_64/tst-audit10.c: New file.
6750 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
6751 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
6752
44c4e5d5
RM
67532014-03-13 Roland McGrath <roland@hack.frob.com>
6754
6755 * configure.ac (HAVE_EHDR_START): New check.
6756 * configure: Regenerated.
6757 * config.h.in (HAVE_EHDR_START): New #undef.
6758 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
6759 assuming the lowest-addressed segment maps the start of the file.
6760
acd6e389
JM
67612014-03-13 Joseph Myers <joseph@codesourcery.com>
6762
6763 * INSTALL: Regenerated.
6764
6f918f36
WN
67652014-03-13 Will Newton <will.newton@linaro.org>
6766
6767 * manual/setjmp.texi (System V contexts): Improve
6768 clarity and grammar of documentation.
6769
798212a0
PP
67702014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
6771
6772 [BZ #16381]
798212a0 6773 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 6774 (tests-pie): Add tst-pie2.
798212a0
PP
6775 * elf/tst-pie2.c: New file.
6776 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6777 for ET_EXEC.
6778 * elf/rtld.c (map_doit): Load executable as lt_executable.
6779 (dl_main): Likewise.
6780
abe6d90c
JM
67812014-03-12 Joseph Myers <joseph@codesourcery.com>
6782
6783 [BZ #16642]
6784 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6785 (__ASSUME_PSELECT): Undefine.
6786
dd3946c6
AZ
67872014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6788
6789 [BZ #16689]
6790 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6791 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6792 static build.
6793 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6794 selector for static builds.
6795
c44496df
SP
67962014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6797
6798 [BZ #16695]
6799 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
6800 key in the buffer.
6801
27c7220a
AZ
68022014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6803
57f41c40
AS
6804 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
6805 IFUNC selector for static builds.
27c7220a 6806
600fa361
JM
68072014-03-11 Joseph Myers <joseph@codesourcery.com>
6808
76c96cf7
JM
6809 * sysdeps/mips/math_private.h [__mips_hard_float]
6810 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
6811 libc_feresetround_mips_ctx.
6812 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
6813 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
6814 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
6815
600fa361
JM
6816 [BZ #16677]
6817 * math/s_nextafter.c (__nextafter): Do not return value from
6818 overflowing computation.
6819 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
6820 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
6821 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
6822 Likewise.
6823 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6824 Likewise.
6825 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
6826 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
6827
d7706c32
RM
68282014-03-11 Roland McGrath <roland@hack.frob.com>
6829
6830 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
6831 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
6832 Move sfi_sp use from the load-multiple (that no longer sets sp) to
6833 the new mov targetting sp.
6834
4facea47
AZ
68352014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6836
6837 [BZ #16683]
6838 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
6839 Define it for static builds as well.
6840 (NO_BZERO_IMPL): Likewise.
6841
e65caf1f
VR
68422014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6843
6844 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
6845 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
6846 multiarch strspn for PPC64.
6847 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
6848 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
6849 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6850 (__libc_ifunc_impl_list): Likewise.
6851 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
6852 multiarch optimizations
6853 * string/strspn.c (strspn): Using macro to redefine symbol name.
6854
ba9cc071
AZ
68552014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6856 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6857
6858 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
6859 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
6860 multiarch strncat for PPC64.
6861 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
6862 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
6863 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6864 (__libc_ifunc_impl_list): Likewise.
6865 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
6866 multiarch optimizations
6867
8b4ff974
SP
68682014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6869
6870 [BZ #16639]
6871 * nscd/nscd.service: Make service type forking.
6872
54b46a4b
AZ
68732014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6874
6875 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
6876 sign in non default rounding modes.
6877 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6878
e9996ef7
JM
68792014-03-08 Joseph Myers <joseph@codesourcery.com>
6880
6881 * math/libm-test.inc (ALL_RM_TEST): New macro.
6882 (ceil_test): Use ALL_RM_TEST.
6883 (cimag_test): Likewise.
6884 (conj_test): Likewise.
6885 (copysign_test): Likewise.
6886 (cproj_test): Likewise.
6887 (creal_test): Likewise.
6888 (fabs_test): Likewise.
6889 (floor_test): Likewise.
6890 (fmax_test): Likewise.
6891 (fmin_test): Likewise.
6892 (fmod_test): Likewise.
6893 (fpclassify_test): Likewise.
6894 (frexp_test): Likewise.
6895 (ilogb_test): Likewise.
6896 (isfinite_test): Likewise.
6897 (finite_test): Likewise.
6898 (isgreater_test): Likewise.
6899 (isgreaterequal_test): Likewise.
6900 (isinf_test): Likewise.
6901 (isless_test): Likewise.
6902 (islessequal_test): Likewise.
6903 (islessgreater_test): Likewise.
6904 (isnan_test): Likewise.
6905 (isnormal_test): Likewise.
6906 (issignaling_test): Likewise.
6907 (isunordered_test): Likewise.
6908 (logb_test): Likewise.
6909 (logb_downward_test_data): Remove.
6910 (logb_test_downward): Likewise.
6911 (lround_test): Use ALL_RM_TEST.
6912 (llround_test): Likewise.
6913 (modf_test): Likewise.
6914 (nexttoward_test): Likewise.
6915 (remainder_test): Likewise.
6916 (drem_test): Likewise.
6917 (remainder_tonearest_test_data): Likewise.
6918 (remainder_test_tonearest): Likewise.
6919 (drem_test_tonearest): Likewise.
6920 (remainder_towardzero_test_data): Likewise.
6921 (remainder_test_towardzero): Likewise.
6922 (drem_test_towardzero): Likewise.
6923 (remainder_downward_test_data): Likewise.
6924 (remainder_test_downward): Likewise.
6925 (drem_test_downward): Likewise.
6926 (remainder_upward_test_data): Likewise.
6927 (remainder_test_upward): Likewise.
6928 (drem_test_upward): Likewise.
6929 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
6930 (round_test): Use ALL_RM_TEST.
6931 (signbit_test): Likewise.
6932 (trunc_test): Likewise.
6933 (significand_test): Likewise.
6934 (main): Don't call removed functions.
6935
bc61d27c
JM
69362014-03-07 Joseph Myers <joseph@codesourcery.com>
6937
5c780849
JM
6938 [BZ #16674]
6939 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
6940 || __USE_XOPEN2K8].
6941 (ILL_ILLOPN): Likewise.
6942 (ILL_ILLADR): Likewise.
6943 (ILL_ILLTRP): Likewise.
6944 (ILL_PRVOPC): Likewise.
6945 (ILL_PRVREG): Likewise.
6946 (ILL_COPROC): Likewise.
6947 (ILL_BADSTK): Likewise.
6948 (FPE_INTDIV): Likewise.
6949 (FPE_INTOVF): Likewise.
6950 (FPE_FLTDIV): Likewise.
6951 (FPE_FLTOVF): Likewise.
6952 (FPE_FLTUND): Likewise.
6953 (FPE_FLTRES): Likewise.
6954 (FPE_FLTINV): Likewise.
6955 (FPE_FLTSUB): Likewise.
6956 (SEGV_MAPERR): Likewise.
6957 (SEGV_ACCERR): Likewise.
6958 (BUS_ADRALN): Likewise.
6959 (BUS_ADRERR): Likewise.
6960 (BUS_OBJERR): Likewise.
6961 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6962 (TRAP_TRACE): Likewise.
6963 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6964 __USE_XOPEN2K8].
6965 (CLD_KILLED): Likewise.
6966 (CLD_DUMPED): Likewise.
6967 (CLD_TRAPPED): Likewise.
6968 (CLD_STOPPED): Likewise.
6969 (CLD_CONTINUED): Likewise.
6970 (POLL_IN): Likewise.
6971 (POLL_OUT): Likewise.
6972 (POLL_MSG): Likewise.
6973 (POLL_ERR): Likewise.
6974 (POLL_PRI): Likewise.
6975 (POLL_HUP): Likewise.
6976 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
6977 Likewise.
6978 (ILL_ILLOPN): Likewise.
6979 (ILL_ILLADR): Likewise.
6980 (ILL_ILLTRP): Likewise.
6981 (ILL_PRVOPC): Likewise.
6982 (ILL_PRVREG): Likewise.
6983 (ILL_COPROC): Likewise.
6984 (ILL_BADSTK): Likewise.
6985 (FPE_INTDIV): Likewise.
6986 (FPE_INTOVF): Likewise.
6987 (FPE_FLTDIV): Likewise.
6988 (FPE_FLTOVF): Likewise.
6989 (FPE_FLTUND): Likewise.
6990 (FPE_FLTRES): Likewise.
6991 (FPE_FLTINV): Likewise.
6992 (FPE_FLTSUB): Likewise.
6993 (SEGV_MAPERR): Likewise.
6994 (SEGV_ACCERR): Likewise.
6995 (BUS_ADRALN): Likewise.
6996 (BUS_ADRERR): Likewise.
6997 (BUS_OBJERR): Likewise.
6998 (BUS_MCEERR_AR): Likewise.
6999 (BUS_MCEERR_AO): Likewise.
7000 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7001 (TRAP_TRACE): Likewise.
7002 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7003 __USE_XOPEN2K8].
7004 (CLD_KILLED): Likewise.
7005 (CLD_DUMPED): Likewise.
7006 (CLD_TRAPPED): Likewise.
7007 (CLD_STOPPED): Likewise.
7008 (CLD_CONTINUED): Likewise.
7009 (POLL_IN): Likewise.
7010 (POLL_OUT): Likewise.
7011 (POLL_MSG): Likewise.
7012 (POLL_ERR): Likewise.
7013 (POLL_PRI): Likewise.
7014 (POLL_HUP): Likewise.
7015 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
7016 (ILL_ILLOPN): Likewise.
7017 (ILL_ILLADR): Likewise.
7018 (ILL_ILLTRP): Likewise.
7019 (ILL_PRVOPC): Likewise.
7020 (ILL_PRVREG): Likewise.
7021 (ILL_COPROC): Likewise.
7022 (ILL_BADSTK): Likewise.
7023 (FPE_INTDIV): Likewise.
7024 (FPE_INTOVF): Likewise.
7025 (FPE_FLTDIV): Likewise.
7026 (FPE_FLTOVF): Likewise.
7027 (FPE_FLTUND): Likewise.
7028 (FPE_FLTRES): Likewise.
7029 (FPE_FLTINV): Likewise.
7030 (FPE_FLTSUB): Likewise.
7031 (SEGV_MAPERR): Likewise.
7032 (SEGV_ACCERR): Likewise.
7033 (BUS_ADRALN): Likewise.
7034 (BUS_ADRERR): Likewise.
7035 (BUS_OBJERR): Likewise.
7036 (BUS_MCEERR_AR): Likewise.
7037 (BUS_MCEERR_AO): Likewise.
7038 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7039 (TRAP_TRACE): Likewise.
7040 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7041 __USE_XOPEN2K8].
7042 (CLD_KILLED): Likewise.
7043 (CLD_DUMPED): Likewise.
7044 (CLD_TRAPPED): Likewise.
7045 (CLD_STOPPED): Likewise.
7046 (CLD_CONTINUED): Likewise.
7047 (POLL_IN): Likewise.
7048 (POLL_OUT): Likewise.
7049 (POLL_MSG): Likewise.
7050 (POLL_ERR): Likewise.
7051 (POLL_PRI): Likewise.
7052 (POLL_HUP): Likewise.
7053 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
7054 Likewise.
7055 (ILL_ILLOPN): Likewise.
7056 (ILL_ILLADR): Likewise.
7057 (ILL_ILLTRP): Likewise.
7058 (ILL_PRVOPC): Likewise.
7059 (ILL_PRVREG): Likewise.
7060 (ILL_COPROC): Likewise.
7061 (ILL_BADSTK): Likewise.
7062 (ILL_BADIADDR): Likewise.
7063 (ILL_BREAK): Likewise.
7064 (FPE_INTDIV): Likewise.
7065 (FPE_INTOVF): Likewise.
7066 (FPE_FLTDIV): Likewise.
7067 (FPE_FLTOVF): Likewise.
7068 (FPE_FLTUND): Likewise.
7069 (FPE_FLTRES): Likewise.
7070 (FPE_FLTINV): Likewise.
7071 (FPE_FLTSUB): Likewise.
7072 (FPE_DECOVF): Likewise.
7073 (FPE_DECDIV): Likewise.
7074 (FPE_DECERR): Likewise.
7075 (FPE_INVASC): Likewise.
7076 (FPE_INVDEC): Likewise.
7077 (SEGV_MAPERR): Likewise.
7078 (SEGV_ACCERR): Likewise.
7079 (SEGV_PSTKOVF): Likewise.
7080 (BUS_ADRALN): Likewise.
7081 (BUS_ADRERR): Likewise.
7082 (BUS_OBJERR): Likewise.
7083 (BUS_MCEERR_AR): Likewise.
7084 (BUS_MCEERR_AO): Likewise.
7085 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7086 (TRAP_TRACE): Likewise.
7087 (TRAP_BRANCH): Likewise.
7088 (TRAP_HWBKPT): Likewise.
7089 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7090 __USE_XOPEN2K8].
7091 (CLD_KILLED): Likewise.
7092 (CLD_DUMPED): Likewise.
7093 (CLD_TRAPPED): Likewise.
7094 (CLD_STOPPED): Likewise.
7095 (CLD_CONTINUED): Likewise.
7096 (POLL_IN): Likewise.
7097 (POLL_OUT): Likewise.
7098 (POLL_MSG): Likewise.
7099 (POLL_ERR): Likewise.
7100 (POLL_PRI): Likewise.
7101 (POLL_HUP): Likewise.
7102 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
7103 (ILL_ILLOPN): Likewise.
7104 (ILL_ILLADR): Likewise.
7105 (ILL_ILLTRP): Likewise.
7106 (ILL_PRVOPC): Likewise.
7107 (ILL_PRVREG): Likewise.
7108 (ILL_COPROC): Likewise.
7109 (ILL_BADSTK): Likewise.
7110 (FPE_INTDIV): Likewise.
7111 (FPE_INTOVF): Likewise.
7112 (FPE_FLTDIV): Likewise.
7113 (FPE_FLTOVF): Likewise.
7114 (FPE_FLTUND): Likewise.
7115 (FPE_FLTRES): Likewise.
7116 (FPE_FLTINV): Likewise.
7117 (FPE_FLTSUB): Likewise.
7118 (SEGV_MAPERR): Likewise.
7119 (SEGV_ACCERR): Likewise.
7120 (BUS_ADRALN): Likewise.
7121 (BUS_ADRERR): Likewise.
7122 (BUS_OBJERR): Likewise.
7123 (BUS_MCEERR_AR): Likewise.
7124 (BUS_MCEERR_AO): Likewise.
7125 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7126 (TRAP_TRACE): Likewise.
7127 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7128 __USE_XOPEN2K8].
7129 (CLD_KILLED): Likewise.
7130 (CLD_DUMPED): Likewise.
7131 (CLD_TRAPPED): Likewise.
7132 (CLD_STOPPED): Likewise.
7133 (CLD_CONTINUED): Likewise.
7134 (POLL_IN): Likewise.
7135 (POLL_OUT): Likewise.
7136 (POLL_MSG): Likewise.
7137 (POLL_ERR): Likewise.
7138 (POLL_PRI): Likewise.
7139 (POLL_HUP): Likewise.
7140 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
7141 (ILL_ILLOPN): Likewise.
7142 (ILL_ILLADR): Likewise.
7143 (ILL_ILLTRP): Likewise.
7144 (ILL_PRVOPC): Likewise.
7145 (ILL_PRVREG): Likewise.
7146 (ILL_COPROC): Likewise.
7147 (ILL_BADSTK): Likewise.
7148 (FPE_INTDIV): Likewise.
7149 (FPE_INTOVF): Likewise.
7150 (FPE_FLTDIV): Likewise.
7151 (FPE_FLTOVF): Likewise.
7152 (FPE_FLTUND): Likewise.
7153 (FPE_FLTRES): Likewise.
7154 (FPE_FLTINV): Likewise.
7155 (FPE_FLTSUB): Likewise.
7156 (SEGV_MAPERR): Likewise.
7157 (SEGV_ACCERR): Likewise.
7158 (BUS_ADRALN): Likewise.
7159 (BUS_ADRERR): Likewise.
7160 (BUS_OBJERR): Likewise.
7161 (BUS_MCEERR_AR): Likewise.
7162 (BUS_MCEERR_AO): Likewise.
7163 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7164 (TRAP_TRACE): Likewise.
7165 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7166 __USE_XOPEN2K8].
7167 (CLD_KILLED): Likewise.
7168 (CLD_DUMPED): Likewise.
7169 (CLD_TRAPPED): Likewise.
7170 (CLD_STOPPED): Likewise.
7171 (CLD_CONTINUED): Likewise.
7172 (POLL_IN): Likewise.
7173 (POLL_OUT): Likewise.
7174 (POLL_MSG): Likewise.
7175 (POLL_ERR): Likewise.
7176 (POLL_PRI): Likewise.
7177 (POLL_HUP): Likewise.
7178 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
7179 (ILL_ILLOPN): Likewise.
7180 (ILL_ILLADR): Likewise.
7181 (ILL_ILLTRP): Likewise.
7182 (ILL_PRVOPC): Likewise.
7183 (ILL_PRVREG): Likewise.
7184 (ILL_COPROC): Likewise.
7185 (ILL_BADSTK): Likewise.
7186 (FPE_INTDIV): Likewise.
7187 (FPE_INTOVF): Likewise.
7188 (FPE_FLTDIV): Likewise.
7189 (FPE_FLTOVF): Likewise.
7190 (FPE_FLTUND): Likewise.
7191 (FPE_FLTRES): Likewise.
7192 (FPE_FLTINV): Likewise.
7193 (FPE_FLTSUB): Likewise.
7194 (SEGV_MAPERR): Likewise.
7195 (SEGV_ACCERR): Likewise.
7196 (BUS_ADRALN): Likewise.
7197 (BUS_ADRERR): Likewise.
7198 (BUS_OBJERR): Likewise.
7199 (BUS_MCEERR_AR): Likewise.
7200 (BUS_MCEERR_AO): Likewise.
7201 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7202 (TRAP_TRACE): Likewise.
7203 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7204 __USE_XOPEN2K8].
7205 (CLD_KILLED): Likewise.
7206 (CLD_DUMPED): Likewise.
7207 (CLD_TRAPPED): Likewise.
7208 (CLD_STOPPED): Likewise.
7209 (CLD_CONTINUED): Likewise.
7210 (POLL_IN): Likewise.
7211 (POLL_OUT): Likewise.
7212 (POLL_MSG): Likewise.
7213 (POLL_ERR): Likewise.
7214 (POLL_PRI): Likewise.
7215 (POLL_HUP): Likewise.
7216 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
7217 (ILL_ILLOPN): Likewise.
7218 (ILL_ILLADR): Likewise.
7219 (ILL_ILLTRP): Likewise.
7220 (ILL_PRVOPC): Likewise.
7221 (ILL_PRVREG): Likewise.
7222 (ILL_COPROC): Likewise.
7223 (ILL_BADSTK): Likewise.
7224 (ILL_DBLFLT): Likewise.
7225 (ILL_HARDWALL): Likewise.
7226 (FPE_INTDIV): Likewise.
7227 (FPE_INTOVF): Likewise.
7228 (FPE_FLTDIV): Likewise.
7229 (FPE_FLTOVF): Likewise.
7230 (FPE_FLTUND): Likewise.
7231 (FPE_FLTRES): Likewise.
7232 (FPE_FLTINV): Likewise.
7233 (FPE_FLTSUB): Likewise.
7234 (SEGV_MAPERR): Likewise.
7235 (SEGV_ACCERR): Likewise.
7236 (BUS_ADRALN): Likewise.
7237 (BUS_ADRERR): Likewise.
7238 (BUS_OBJERR): Likewise.
7239 (BUS_MCEERR_AR): Likewise.
7240 (BUS_MCEERR_AO): Likewise.
7241 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7242 (TRAP_TRACE): Likewise.
7243 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7244 __USE_XOPEN2K8].
7245 (CLD_KILLED): Likewise.
7246 (CLD_DUMPED): Likewise.
7247 (CLD_TRAPPED): Likewise.
7248 (CLD_STOPPED): Likewise.
7249 (CLD_CONTINUED): Likewise.
7250 (POLL_IN): Likewise.
7251 (POLL_OUT): Likewise.
7252 (POLL_MSG): Likewise.
7253 (POLL_ERR): Likewise.
7254 (POLL_PRI): Likewise.
7255 (POLL_HUP): Likewise.
7256 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7257 (ILL_ILLOPN): Likewise.
7258 (ILL_ILLADR): Likewise.
7259 (ILL_ILLTRP): Likewise.
7260 (ILL_PRVOPC): Likewise.
7261 (ILL_PRVREG): Likewise.
7262 (ILL_COPROC): Likewise.
7263 (ILL_BADSTK): Likewise.
7264 (FPE_INTDIV): Likewise.
7265 (FPE_INTOVF): Likewise.
7266 (FPE_FLTDIV): Likewise.
7267 (FPE_FLTOVF): Likewise.
7268 (FPE_FLTUND): Likewise.
7269 (FPE_FLTRES): Likewise.
7270 (FPE_FLTINV): Likewise.
7271 (FPE_FLTSUB): Likewise.
7272 (SEGV_MAPERR): Likewise.
7273 (SEGV_ACCERR): Likewise.
7274 (BUS_ADRALN): Likewise.
7275 (BUS_ADRERR): Likewise.
7276 (BUS_OBJERR): Likewise.
7277 (BUS_MCEERR_AR): Likewise.
7278 (BUS_MCEERR_AO): Likewise.
7279 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7280 (TRAP_TRACE): Likewise.
7281 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7282 __USE_XOPEN2K8].
7283 (CLD_KILLED): Likewise.
7284 (CLD_DUMPED): Likewise.
7285 (CLD_TRAPPED): Likewise.
7286 (CLD_STOPPED): Likewise.
7287 (CLD_CONTINUED): Likewise.
7288 (POLL_IN): Likewise.
7289 (POLL_OUT): Likewise.
7290 (POLL_MSG): Likewise.
7291 (POLL_ERR): Likewise.
7292 (POLL_PRI): Likewise.
7293 (POLL_HUP): Likewise.
7294 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
7295 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7296
bc61d27c
JM
7297 [BZ #16670]
7298 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
7299 before #include of <time.h>.
7300 [!__USE_XOPEN2K] (__need_timespec): Likewise.
7301 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
7302 (test-xfail-UNIX98/sched.h/conform): Likewise.
7303
302949e2
MS
73042014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
7305
7306 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
7307 error absence of trapping exception support.
7308 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7309
a00f522a
JM
73102014-03-07 Joseph Myers <joseph@codesourcery.com>
7311
6f99f280
JM
7312 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
7313 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
7314 * timezone/Makefile (testdata): Move definition above include of
7315 Rules.
7316 (test-zones): New variable.
7317 (tests-special): Add zone files.
7318 (build-testdata): Use $(evaluate-test).
7319
0b20a9e8
JM
7320 * elf/Makefile (tests-special): Rename tests to end with .out.
7321 ($(objpfx)noload-mem): Likewise.
7322 ($(objpfx)tst-leaks1-mem): Likewise.
7323 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
7324 * iconv/Makefile (xtests-special): Change test-iconvconfig to
7325 $(objpfx)test-iconvconfig.out.
7326 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
7327 set -e inside subshell and redirect output to file.
7328 * iconvdata/Makefile (generated): Rename tests to end with .out.
7329 Correct type.
7330 (tests-special): Rename tests to end with .out.
7331 ($(objpfx)mtrace-tst-loading): Likewise.
7332 * intl/Makefile (generated): Likewise.
7333 (tests-special): Likewise.
7334 ($(objpfx)mtrace-tst-gettext): Likewise.
7335 * misc/Makefile (generated): Likewise.
7336 (tests-special): Likewise.
7337 ($(objpfx)tst-error1-mem): Likewise.
7338 * nptl/Makefile (tests-special): Likewise.
7339 ($(objpfx)tst-stack3-mem): Likewise.
7340 (generated): Likewise.
7341 * posix/Makefile (generated): Likewise.
7342 (tests-special): Likewise.
7343 (xtests-special): Likewise.
7344 ($(objpfx)tst-fnmatch-mem): Likewise.
7345 ($(objpfx)bug-regex2-mem): Likewise.
7346 ($(objpfx)bug-regex14-mem): Likewise.
7347 ($(objpfx)bug-regex21-mem): Likewise.
7348 ($(objpfx)bug-regex31-mem): Likewise.
7349 ($(objpfx)tst-vfork3-mem): Likewise.
7350 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7351 ($(objpfx)tst-pcre-mem): Likewise.
7352 ($(objpfx)tst-boost-mem): Likewise.
7353 ($(objpfx)bug-ga2-mem): Likewise.
7354 ($(objpfx)bug-glob2-mem): Likewise.
7355 * resolv/Makefile (generate): Likewise.
7356 (tests-special): Likewise.
7357 (xtests-special): Likewise.
7358 (generated): Likewise.
7359 ($(objpfx)mtrace-tst-leaks): Likewise.
7360 ($(objpfx)mtrace-tst-leaks2): Likewise.
7361
265d52ab
JM
7362 * scripts/merge-test-results.sh: New file.
7363 * Makefile (tests-special-notdir): New variable.
7364 (tests): Run merge-test-results.sh.
7365 (xtests): Likewise.
7366 * Rules (tests-special-notdir): New variable.
7367 (xtests-special-notdir): Likewise.
7368 (tests): Run merge-test-results.sh
7369 (xtests): Likewise.
7370
54ee292d
JM
7371 * Makeconfig (test-xfail-name): New variable.
7372 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
7373 compute variable name for expected failures.
7374 * conform/Makefile (conformtest-headers-data): New variable.
7375 (conformtest-standards): Likewise.
7376 (conformtest-headers-ISO): Likewise.
7377 (conformtest-headers-ISO99): Likewise.
7378 (conformtest-headers-ISO11): Likewise.
7379 (conformtest-headers-POSIX): Likewise.
7380 (conformtest-headers-XPG3): Likewise.
7381 (conformtest-headers-XPG4): Likewise.
7382 (conformtest-headers-UNIX98): Likewise.
7383 (conformtest-headers-XOPEN2K): Likewise.
7384 (conformtest-headers-POSIX2008): Likewise.
7385 (conformtest-headers-XOPEN2K8): Likewise.
7386 (conformtest-header-list-base): Likewise.
7387 (conformtest-header-list-tests): Likewise.
7388 (conformtest-header-base): Likewise.
7389 (conformtest-header-tests): Likewise.
7390 (tests-special): Add $(conformtest-header-list-tests). If
7391 [$(fast-check) && !$(cross-compiling)], add
7392 $(conformtest-header-tests) instead of
7393 $(objpfx)run-conformtest.out.
7394 (generated): Add $(conformtest-header-list-base). If
7395 [$(fast-check) && !$(cross-compiling)], add
7396 $(conformtest-header-base). Remove previous setting.
7397 ($(conformtest-header-list-tests)): New target.
7398 (test-xfail-run-conformtest): Remove variable.
7399 ($(objpfx)run-conformtest.out): Remove target.
7400 (test-xfail-ISO11/complex.h/conform): New variable.
7401 (test-xfail-ISO11/stdalign.h/conform): Likewise.
7402 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7403 (test-xfail-XPG3/varargs.h/conform): Likewise.
7404 (test-xfail-XPG4/varargs.h/conform): Likewise.
7405 (test-xfail-UNIX98/varargs.h/conform): Likewise.
7406 (test-xfail-XPG4/ndbm.h/conform): Likewise.
7407 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
7408 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
7409 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
7410 (test-xfail-XPG3/fcntl.h/conform): Likewise.
7411 (test-xfail-XPG3/ftw.h/conform): Likewise.
7412 (test-xfail-XPG3/grp.h/conform): Likewise.
7413 (test-xfail-XPG3/langinfo.h/conform): Likewise.
7414 (test-xfail-XPG3/limits.h/conform): Likewise.
7415 (test-xfail-XPG3/pwd.h/conform): Likewise.
7416 (test-xfail-XPG3/search.h/conform): Likewise.
7417 (test-xfail-XPG3/signal.h/conform): Likewise.
7418 (test-xfail-XPG3/stdio.h/conform): Likewise.
7419 (test-xfail-XPG3/stdlib.h/conform): Likewise.
7420 (test-xfail-XPG3/string.h/conform): Likewise.
7421 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
7422 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
7423 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
7424 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
7425 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
7426 (test-xfail-XPG3/sys/types.h/conform): Likewise.
7427 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
7428 (test-xfail-XPG3/termios.h/conform): Likewise.
7429 (test-xfail-XPG3/time.h/conform): Likewise.
7430 (test-xfail-XPG3/unistd.h/conform): Likewise.
7431 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
7432 (test-xfail-XPG4/fcntl.h/conform): Likewise.
7433 (test-xfail-XPG4/langinfo.h/conform): Likewise.
7434 (test-xfail-XPG4/netdb.h/conform): Likewise.
7435 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
7436 (test-xfail-XPG4/signal.h/conform): Likewise.
7437 (test-xfail-XPG4/stdio.h/conform): Likewise.
7438 (test-xfail-XPG4/stdlib.h/conform): Likewise.
7439 (test-xfail-XPG4/stropts.h/conform): Likewise.
7440 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
7441 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
7442 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
7443 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
7444 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
7445 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
7446 (test-xfail-XPG4/sys/time.h/conform): Likewise.
7447 (test-xfail-XPG4/sys/types.h/conform): Likewise.
7448 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
7449 (test-xfail-XPG4/termios.h/conform): Likewise.
7450 (test-xfail-XPG4/ucontext.h/conform): Likewise.
7451 (test-xfail-XPG4/unistd.h/conform): Likewise.
7452 (test-xfail-XPG4/utmpx.h/conform): Likewise.
7453 (test-xfail-POSIX/sched.h/conform): Likewise.
7454 (test-xfail-POSIX/signal.h/conform): Likewise.
7455 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7456 (test-xfail-POSIX/tar.h/conform): Likewise.
7457 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
7458 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
7459 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7460 (test-xfail-UNIX98/netdb.h/conform): Likewise.
7461 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
7462 (test-xfail-UNIX98/sched.h/conform): Likewise.
7463 (test-xfail-UNIX98/signal.h/conform): Likewise.
7464 (test-xfail-UNIX98/stdio.h/conform): Likewise.
7465 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7466 (test-xfail-UNIX98/stropts.h/conform): Likewise.
7467 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
7468 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
7469 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
7470 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
7471 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
7472 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7473 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
7474 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
7475 (test-xfail-UNIX98/unistd.h/conform): Likewise.
7476 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7477 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
7478 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
7479 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7480 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
7481 (test-xfail-XOPEN2K/math.h/conform): Likewise.
7482 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7483 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7484 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7485 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
7486 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
7487 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
7488 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
7489 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7490 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7491 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7492 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7493 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7494 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7495 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7496 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
7497 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7498 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
7499 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7500 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
7501 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7502 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
7503 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
7504 (test-xfail-POSIX2008/signal.h/conform): Likewise.
7505 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7506 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
7507 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7508 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7509 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7510 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
7511 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7512 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7513 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7514 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
7515 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
7516 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7517 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7518 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7519 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
7520 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7521 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7522 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7523 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7524 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
7525 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7526 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7527 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
7528 (conformtest-cc-flags): Likewise.
7529 ($(conformtest-header-tests): New target.
7530 * conform/check-header-lists.sh: New file.
7531 * conform/run-conformtest.sh: Remove.
7532
a00f522a
JM
7533 * conform/conformtest.pl: Allow ' and \ in values given for
7534 constants.
7535 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
7536 inclusion.
7537 [POSIX] (sys/types.h): Likewise.
7538 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
7539 inclusion.
7540 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
7541 inclusion.
7542 * conform/data/signal.h-data (SIGIO): Remove expectation.
7543 [XPG3] (SIGBUS): Do not expect.
7544 [POSIX || XPG3] (SIGPOLL): Likewise.
7545 [POSIX || XPG3] (SIGPROF): Likewise.
7546 [POSIX || XPG3] (SIGSYS): Likewise.
7547 [XPG3] (SIGTRAP): Likewise.
7548 [POSIX || XPG3] (SIGURG): Likewise.
7549 [POSIX || XPG3] (SIGVTALRM): Likewise.
7550 [POSIX || XPG3] (SIGXCPU): Likewise.
7551 [POSIX || XPG3] (SIGXFSZ): Likewise.
7552 [POSIX] (SA_SIGINFO): Expect.
7553 [XPG3] (siginfo_t): Do not expect type or contents.
7554 [POSIX] (si_pid): Do not expect element.
7555 [POSIX] (si_uid): Likewise.
7556 [POSIX] (si_addr): Likewise.
7557 [POSIX] (si_status): Likewise.
7558 [POSIX] (si_band): Likewise.
7559 [XPG4] (si_value): Likewise.
7560 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
7561 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
7562 [POSIX || XPG3] (ILL_ILLADR): Likewise.
7563 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
7564 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
7565 [POSIX || XPG3] (ILL_PRVREG): Likewise.
7566 [POSIX || XPG3] (ILL_COPROC): Likewise.
7567 [POSIX || XPG3] (ILL_BADSTK): Likewise.
7568 [POSIX || XPG3] (FPE_INTDIV): Likewise.
7569 [POSIX || XPG3] (FPE_INTOVF): Likewise.
7570 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
7571 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
7572 [POSIX || XPG3] (FPE_FLTUND): Likewise.
7573 [POSIX || XPG3] (FPE_FLTRES): Likewise.
7574 [POSIX || XPG3] (FPE_FLTINV): Likewise.
7575 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
7576 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
7577 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
7578 [POSIX || XPG3] (BUS_ADRALN): Likewise.
7579 [POSIX || XPG3] (BUS_ADRERR): Likewise.
7580 [POSIX || XPG3] (BUS_OBJERR): Likewise.
7581 [POSIX || XPG3] (CLD_EXITED): Likewise.
7582 [POSIX || XPG3] (CLD_KILLED): Likewise.
7583 [POSIX || XPG3] (CLD_DUMPED): Likewise.
7584 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
7585 [POSIX || XPG3] (CLD_STOPPED): Likewise.
7586 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
7587 [POSIX || XPG3] (POLL_IN): Likewise.
7588 [POSIX || XPG3] (POLL_OUT): Likewise.
7589 [POSIX || XPG3] (POLL_MSG): Likewise.
7590 [POSIX || XPG3] (POLL_ERR): Likewise.
7591 [POSIX || XPG3] (POLL_PRI): Likewise.
7592 [POSIX || XPG3] (POLL_HUP): Likewise.
7593 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
7594 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
7595 (SIG*): Do not allow.
7596 [XPG3] (si_*): Likewise.
7597 [XPG3] (SI_*): Likewise.
7598 [XPG3 || XPG4] (sigev_*): Likewise.
7599 [XPG3 || XPG4] (SIGEV_*): Likewise.
7600 [XPG3 || XPG4] (sival_*): Likewise.
7601 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
7602 [POSIX || XPG3] (BUS_*): Likewise.
7603 [POSIX || XPG3] (CLD_*): Likewise.
7604 [POSIX || XPG3] (FPE_*): Likewise.
7605 [POSIX || XPG3] (ILL_*): Likewise.
7606 [POSIX || XPG3] (POLL_*): Likewise.
7607 [POSIX || XPG3] (SEGV_*): Likewise.
7608 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
7609 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
7610 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
7611 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
7612 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
7613 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
7614 Specify type and value.
7615 (TVERSLEN): Likewise.
7616 (REGTYPE): Likewise.
7617 (AREGTYPE): Likewise.
7618 (LNKTYPE): Likewise.
7619 (SYMTYPE): Likewise.
7620 (CHRTYPE): Likewise.
7621 (BLKTYPE): Likewise.
7622 (DIRTYPE): Likewise.
7623 (FIFOTYPE): Likewise.
7624 (CONTTYPE): Likewise.
7625 (TSUID): Likewise.
7626 (TSGID): Likewise.
7627 (TSVTX): Likewise.
7628 (TUREAD): Likewise.
7629 (TUWRITE): Likewise.
7630 (TUEXEC): Likewise.
7631 (TGREAD): Likewise.
7632 (TGWRITE): Likewise.
7633 (TGEXEC): Likewise.
7634 (TOREAD): Likewise.
7635 (TOWRITE): Likewise.
7636 (TOEXEC): Likewise.
7637 [POSIX] (TSVTX): Expect constant.
7638
aa97dee1
JM
76392014-03-06 Joseph Myers <joseph@codesourcery.com>
7640
f214606a
JM
7641 * Makefile (tests): Change dependencies to ....
7642 (tests-special): ... additions to this variable.
7643 (tests): Depend on $(tests-special).
7644 * Makerules (check-abi-list): New variable.
7645 (check-abi): Depend on $(check-abi-list).
7646 [$(subdir) = elf] (tests-special): Add
7647 $(objpfx)check-abi-libc.out.
7648 [$(build-shared) = yes && subdir] (tests-special): Add
7649 $(check-abi-list).
7650 [$(build-shared) = yes && subdir] (tests): Do not depend on
7651 check-abi.
7652 * Rules (tests): Depend on $(tests-special).
7653 (xtests): Depend on $(xtests-special).
7654 * catgets/Makefile (tests): Change dependencies to ....
7655 (tests-special): ... additions to this variable.
7656 * conform/Makefile (tests): Change dependencies to ....
7657 (tests-special): ... additions to this variable.
7658 * elf/Makefile (tests): Change dependencies to ....
7659 (tests-special): ... additions to this variable.
7660 * grp/Makefile (tests): Change dependencies to ....
7661 (tests-special): ... additions to this variable.
7662 * iconv/Makefile (xtests): Change dependencies to ....
7663 (xtests-special): ... additions to this variable.
7664 * iconvdata/Makefile (tests): Change dependencies to ....
7665 (tests-special): ... additions to this variable.
7666 * intl/Makefile (tests): Change dependencies to ....
7667 (tests-special): ... additions to this variable. Also add
7668 $(objpfx)tst-gettext.out.
7669 * io/Makefile (tests): Change dependencies to ....
7670 (tests-special): ... additions to this variable.
7671 * libio/Makefile (tests): Change dependencies to ....
7672 (tests-special): ... additions to this variable.
7673 * malloc/Makefile (tests): Change dependencies to ....
7674 (tests-special): ... additions to this variable.
7675 * misc/Makefile (tests): Change dependencies to ....
7676 (tests-special): ... additions to this variable.
7677 * nptl/Makefile (tests): Change dependencies to ....
7678 (tests-special): ... additions to this variable.
7679 * nptl_db/Makefile (tests): Change dependencies to ....
7680 (tests-special): ... additions to this variable.
7681 * posix/Makefile (tests): Change dependencies to ....
7682 (tests-special): ... additions to this variable.
7683 (xtests): Change dependencies to ....
7684 (xtests-special): ... additions to this variable.
7685 * resolv/Makefile (tests): Change dependencies to ....
7686 (tests-special): ... additions to this variable.
7687 (xtests): Change dependencies to ....
7688 (xtests-special): ... additions to this variable.
7689 * stdio-common/Makefile (tests): Change dependencies to ....
7690 (tests-special): ... additions to this variable.
7691 (do-tst-unbputc): Remove target.
7692 (do-tst-printf): Likewise.
7693 * stdlib/Makefile (tests): Change dependencies to ....
7694 (tests-special): ... additions to this variable.
7695 * string/Makefile (tests): Change dependencies to ....
7696 (tests-special): ... additions to this variable.
7697 * sysdeps/x86/Makefile (tests): Change dependencies to ....
7698 (tests-special): ... additions to this variable.
7699
81700b53
JM
7700 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
7701 whole file.
7702 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
7703 whole file.
7704 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
7705 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
7706
2ea18461
JM
7707 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
7708 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
7709 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
7710 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
7711 * conform/data/libgen.h-data [XPG3]: Likewise.
7712 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
7713 * conform/data/ndbm.h-data [XPG3]: Likewise.
7714 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7715 * conform/data/netdb.h-data [XPG3]: Likewise.
7716 * conform/data/netinet/in.h-data [XPG3]: Likewise.
7717 * conform/data/poll.h-data [XPG3]: Likewise.
7718 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7719 * conform/data/strings.h-data [XPG3]: Likewise.
7720 * conform/data/stropts.h-data [XPG3]: Likewise.
7721 * conform/data/sys/mman.h-data [XPG3]: Likewise.
7722 * conform/data/sys/resource.h-data [XPG3]: Likewise.
7723 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
7724 Likewise.
7725 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
7726 * conform/data/sys/time.h-data [XPG3]: Likewise.
7727 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
7728 * conform/data/sys/uio.h-data [XPG3]: Likewise.
7729 * conform/data/sys/un.h-data [XPG3]: Likewise.
7730 * conform/data/syslog.h-data [XPG3]: Likewise.
7731 * conform/data/ucontext.h-data [XPG3]: Likewise.
7732 * conform/data/utmpx.h-data [XPG3]: Likewise.
7733 * conform/data/varargs.h-data [UNIX98]: Enable file.
7734
355bc986
JM
7735 * manual/Makefile (INSTALL_INFO): Remove variable setting.
7736
215db402
JM
7737 * math/libm-test.inc (struct test_f_f_data): Move expected results
7738 into structure for each rounding mode.
7739 (struct test_ff_f_data): Likewise.
7740 (struct test_ff_f_data_nexttoward): Likewise.
7741 (struct test_fi_f_data): Likewise.
7742 (struct test_fl_f_data): Likewise.
7743 (struct test_if_f_data): Likewise.
7744 (struct test_fff_f_data): Likewise.
7745 (struct test_c_f_data): Likewise.
7746 (struct test_f_f1_data): Likewise.
7747 (struct test_fF_f1_data): Likewise.
7748 (struct test_ffI_f1_data): Likewise.
7749 (struct test_c_c_data): Likewise.
7750 (struct test_cc_c_data): Likewise.
7751 (struct test_f_i_data): Likewise.
7752 (struct test_ff_i_data): Likewise.
7753 (struct test_f_l_data): Likewise.
7754 (struct test_f_L_data): Likewise.
7755 (struct test_fFF_11_data): Likewise.
7756 (RM_): New macro.
7757 (RM_FE_DOWNWARD): Likewise.
7758 (RM_FE_TONEAREST): Likewise.
7759 (RM_FE_TOWARDZERO): Likewise.
7760 (RM_FE_UPWARD): Likewise.
7761 (RUN_TEST_LOOP_f_f): Update references to expected results.
7762 (RUN_TEST_LOOP_2_f): Likewise.
7763 (RUN_TEST_LOOP_fff_f): Likewise.
7764 (RUN_TEST_LOOP_c_f): Likewise.
7765 (RUN_TEST_LOOP_f_f1): Likewise.
7766 (RUN_TEST_LOOP_fF_f1): Likewise.
7767 (RUN_TEST_LOOP_fI_f1): Likewise.
7768 (RUN_TEST_LOOP_ffI_f1): Likewise.
7769 (RUN_TEST_LOOP_c_c): Likewise.
7770 (RUN_TEST_LOOP_cc_c): Likewise.
7771 (RUN_TEST_LOOP_f_i): Likewise.
7772 (RUN_TEST_LOOP_f_i_tg): Likewise.
7773 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7774 (RUN_TEST_LOOP_f_b): Likewise.
7775 (RUN_TEST_LOOP_f_b_tg): Likewise.
7776 (RUN_TEST_LOOP_f_l): Likewise.
7777 (RUN_TEST_LOOP_f_L): Likewise.
7778 (RUN_TEST_LOOP_fFF_11): Likewise.
7779 * math/gen-libm-test.pl (parse_args): Output four copies of
7780 expected results for each test.
7781
67737b8f
JM
7782 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7783 (__ASSUME_UTIMES): Remove.
7784 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7785 (__ASSUME_UTIMES): Likewise.
7786
aa97dee1
JM
7787 * math/gen-auto-libm-tests.c: Update comment on output format.
7788 (output_for_one_input_case): Generate before-rounding and
7789 after-rounding information as conditions on output flags not
7790 floating-point format.
7791 * math/auto-libm-test-out: Regenerated.
7792 * math/gen-libm-test.pl (cond_value): New function.
7793 (or_cond_value): Use cond_value.
7794 (generate_testfile): Handle conditional exceptions.
7795
e6b6a857
JM
77962014-03-05 Joseph Myers <joseph@codesourcery.com>
7797
2f0a0f44
JM
7798 * math/libm-test.inc (max_valid_error): New variable.
7799 (init_max_error): Take new argument specifying whether function
7800 results are exactly determined. Set max_valid_error and bound
7801 other variables for errors based on this argument.
7802 (set_max_error): Do not record results above max_valid_error.
7803 (check_float_internal): Only accept errors of up to 0.5ulps if
7804 also at most max_valid_error.
7805 (START): Take new argument EXACT and pass it to init_max_error.
7806 (acos_test): Update call to START.
7807 (acos_test_tonearest): Likewise.
7808 (acos_test_towardzero): Likewise.
7809 (acos_test_downward): Likewise.
7810 (acos_test_upward): Likewise.
7811 (acosh_test): Likewise.
7812 (asin_test): Likewise.
7813 (asin_test_tonearest): Likewise.
7814 (asin_test_towardzero): Likewise.
7815 (asin_test_downward): Likewise.
7816 (asin_test_upward): Likewise.
7817 (asinh_test): Likewise.
7818 (atan_test): Likewise.
7819 (atanh_test): Likewise.
7820 (atan2_test): Likewise.
7821 (cabs_test): Likewise.
7822 (cacos_test): Likewise.
7823 (cacosh_test): Likewise.
7824 (carg_test): Likewise.
7825 (casin_test): Likewise.
7826 (casinh_test): Likewise.
7827 (catan_test): Likewise.
7828 (catanh_test): Likewise.
7829 (cbrt_test): Likewise.
7830 (ccos_test): Likewise.
7831 (ccosh_test): Likewise.
7832 (ceil_test): Likewise.
7833 (cexp_test): Likewise.
7834 (cimag_test): Likewise.
7835 (clog_test): Likewise.
7836 (clog10_test): Likewise.
7837 (conj_test): Likewise.
7838 (copysign_test): Likewise.
7839 (cos_test): Likewise.
7840 (cos_test_tonearest): Likewise.
7841 (cos_test_towardzero): Likewise.
7842 (cos_test_downward): Likewise.
7843 (cos_test_upward): Likewise.
7844 (cosh_test): Likewise.
7845 (cosh_test_tonearest): Likewise.
7846 (cosh_test_towardzero): Likewise.
7847 (cosh_test_downward): Likewise.
7848 (cosh_test_upward): Likewise.
7849 (cpow_test): Likewise.
7850 (cproj_test): Likewise.
7851 (creal_test): Likewise.
7852 (csin_test): Likewise.
7853 (csinh_test): Likewise.
7854 (csqrt_test): Likewise.
7855 (ctan_test): Likewise.
7856 (ctan_test_tonearest): Likewise.
7857 (ctan_test_towardzero): Likewise.
7858 (ctan_test_downward): Likewise.
7859 (ctan_test_upward): Likewise.
7860 (ctanh_test): Likewise.
7861 (ctanh_test_tonearest): Likewise.
7862 (ctanh_test_towardzero): Likewise.
7863 (ctanh_test_downward): Likewise.
7864 (ctanh_test_upward): Likewise.
7865 (erf_test): Likewise.
7866 (erfc_test): Likewise.
7867 (exp_test): Likewise.
7868 (exp_test_tonearest): Likewise.
7869 (exp_test_towardzero): Likewise.
7870 (exp_test_downward): Likewise.
7871 (exp_test_upward): Likewise.
7872 (exp10_test): Likewise.
7873 (exp10_test_tonearest): Likewise.
7874 (exp10_test_towardzero): Likewise.
7875 (exp10_test_downward): Likewise.
7876 (exp10_test_upward): Likewise.
7877 (pow10_test): Likewise.
7878 (exp2_test): Likewise.
7879 (expm1_test): Likewise.
7880 (expm1_test_tonearest): Likewise.
7881 (expm1_test_towardzero): Likewise.
7882 (expm1_test_downward): Likewise.
7883 (expm1_test_upward): Likewise.
7884 (fabs_test): Likewise.
7885 (fdim_test): Likewise.
7886 (floor_test): Likewise.
7887 (fma_test): Likewise.
7888 (fma_test_towardzero): Likewise.
7889 (fma_test_downward): Likewise.
7890 (fma_test_upward): Likewise.
7891 (fmax_test): Likewise.
7892 (fmin_test): Likewise.
7893 (fmod_test): Likewise.
7894 (fpclassify_test): Likewise.
7895 (frexp_test): Likewise.
7896 (hypot_test): Likewise.
7897 (ilogb_test): Likewise.
7898 (isfinite_test): Likewise.
7899 (finite_test): Likewise.
7900 (isgreater_test): Likewise.
7901 (isgreaterequal_test): Likewise.
7902 (isinf_test): Likewise.
7903 (isless_test): Likewise.
7904 (islessequal_test): Likewise.
7905 (islessgreater_test): Likewise.
7906 (isnan_test): Likewise.
7907 (isnormal_test): Likewise.
7908 (issignaling_test): Likewise.
7909 (isunordered_test): Likewise.
7910 (j0_test): Likewise.
7911 (j1_test): Likewise.
7912 (jn_test): Likewise.
7913 (ldexp_test): Likewise.
7914 (lgamma_test): Likewise.
7915 (gamma_test): Likewise.
7916 (lrint_test): Likewise.
7917 (lrint_test_tonearest): Likewise.
7918 (lrint_test_towardzero): Likewise.
7919 (lrint_test_downward): Likewise.
7920 (lrint_test_upward): Likewise.
7921 (llrint_test): Likewise.
7922 (llrint_test_tonearest): Likewise.
7923 (llrint_test_towardzero): Likewise.
7924 (llrint_test_downward): Likewise.
7925 (llrint_test_upward): Likewise.
7926 (log_test): Likewise.
7927 (log10_test): Likewise.
7928 (log1p_test): Likewise.
7929 (log2_test): Likewise.
7930 (logb_test): Likewise.
7931 (logb_test_downward): Likewise.
7932 (lround_test): Likewise.
7933 (llround_test): Likewise.
7934 (modf_test): Likewise.
7935 (nearbyint_test): Likewise.
7936 (nextafter_test): Likewise.
7937 (nexttoward_test): Likewise.
7938 (pow_test): Likewise.
7939 (pow_test_tonearest): Likewise.
7940 (pow_test_towardzero): Likewise.
7941 (pow_test_downward): Likewise.
7942 (pow_test_upward): Likewise.
7943 (remainder_test): Likewise.
7944 (drem_test): Likewise.
7945 (remainder_test_tonearest): Likewise.
7946 (drem_test_tonearest): Likewise.
7947 (remainder_test_towardzero): Likewise.
7948 (drem_test_towardzero): Likewise.
7949 (remainder_test_downward): Likewise.
7950 (drem_test_downward): Likewise.
7951 (remainder_test_upward): Likewise.
7952 (drem_test_upward): Likewise.
7953 (remquo_test): Likewise.
7954 (rint_test): Likewise.
7955 (rint_test_tonearest): Likewise.
7956 (rint_test_towardzero): Likewise.
7957 (rint_test_downward): Likewise.
7958 (rint_test_upward): Likewise.
7959 (round_test): Likewise.
7960 (scalb_test): Likewise.
7961 (scalbn_test): Likewise.
7962 (scalbln_test): Likewise.
7963 (signbit_test): Likewise.
7964 (sin_test): Likewise.
7965 (sin_test_tonearest): Likewise.
7966 (sin_test_towardzero): Likewise.
7967 (sin_test_downward): Likewise.
7968 (sin_test_upward): Likewise.
7969 (sincos_test): Likewise.
7970 (sinh_test): Likewise.
7971 (sinh_test_tonearest): Likewise.
7972 (sinh_test_towardzero): Likewise.
7973 (sinh_test_downward): Likewise.
7974 (sinh_test_upward): Likewise.
7975 (sqrt_test): Likewise.
7976 (sqrt_test_tonearest): Likewise.
7977 (sqrt_test_towardzero): Likewise.
7978 (sqrt_test_downward): Likewise.
7979 (sqrt_test_upward): Likewise.
7980 (tan_test): Likewise.
7981 (tan_test_tonearest): Likewise.
7982 (tan_test_towardzero): Likewise.
7983 (tan_test_downward): Likewise.
7984 (tan_test_upward): Likewise.
7985 (tanh_test): Likewise.
7986 (tgamma_test): Likewise.
7987 (trunc_test): Likewise.
7988 (y0_test): Likewise.
7989 (y1_test): Likewise.
7990 (yn_test): Likewise.
7991 (significand_test): Likewise.
7992
e6b6a857
JM
7993 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
7994 individual tests in comment.
7995 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
7996 (prev_max_error): New variable.
7997 (prev_real_max_error): Likewise.
7998 (prev_imag_max_error): Likewise.
7999 (compare_ulp_data): Don't refer to test names in comment.
8000 (find_test_ulps): Remove function.
8001 (find_function_ulps): Likewise.
8002 (find_complex_function_ulps): Likewise.
8003 (init_max_error): Take function name as argument. Look up ulps
8004 for that function.
8005 (print_ulps): Remove function.
8006 (print_max_error): Use prev_max_error instead of calling
8007 find_function_ulps.
8008 (print_complex_max_error): Use prev_real_max_error and
8009 prev_imag_max_error instead of calling find_complex_function_ulps.
8010 (check_float_internal): Take max_ulp parameter instead of calling
8011 find_test_ulps. Don't call print_ulps.
8012 (check_float): Update call to check_float_internal.
8013 (check_complex): Update calls to check_float_internal.
8014 (START): Pass argument to init_max_error.
8015 * math/gen-libm-test.pl (%results): Don't include "kind"
8016 information.
8017 (parse_ulps): Don't handle ulps of individual tests.
8018 (print_ulps_file): Likewise.
8019 (output_ulps): Likewise.
8020 * math/README.libm-test: Update.
8021 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
8022 individual tests.
8023 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
8024 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
8025 * sysdeps/arm/libm-test-ulps: Likewise.
8026 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
8027 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8028 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
8029 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8030 * sysdeps/microblaze/libm-test-ulps: Likewise.
8031 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8032 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8033 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8034 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8035 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8036 * sysdeps/sh/libm-test-ulps: Likewise.
8037 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8038 * sysdeps/tile/libm-test-ulps: Likewise.
8039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8040
45adef3c
JM
80412014-03-04 Joseph Myers <joseph@codesourcery.com>
8042
8043 * math/libm-test.inc (print_complex_max_error): Check separately
8044 whether real and imaginary errors are within allowed range and
8045 pass 0 to print_complex_function_ulps instead of value within
8046 allowed range.
8047
000232b9
SP
80482014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8049
d4b17258
SP
8050 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
8051 formatting.
8052 (get_handles_fopen): Likewise.
8053 (do_write_test): Likewise.
8054
091eff71
SP
8055 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
8056
fa3cd248
SP
8057 * libio/fileops.c (do_ftell): Use cached offset when
8058 available.
8059 * libio/iofwide.c (do_ftell_wide): Likewise.
8060 * libio/iofdopen.c (_IO_new_fdopen): Don't use
8061 _IO_file_attach.
8062 * libio/wfileops.c (_IO_fwide): Don't cache offset.
8063
000232b9
SP
8064 [BZ #16532]
8065 * libio/libioP.h (get_file_offset): New function.
8066 * libio/fileops.c (get_file_offset): Likewise.
8067 (do_ftell): Likewise.
8068 (_IO_new_file_seekoff): Split out ftell logic.
8069 * libio/wfileops.c (do_ftell_wide): Likewise.
8070 (_IO_wfile_seekoff): Split out ftell logic.
8071 * libio/tst-ftell-active-handler.c: New test case.
8072 * libio/Makefile (tests): Add it.
8073
116f4d1a
RM
80742014-03-03 Roland McGrath <roland@hack.frob.com>
8075
8076 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
8077 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
8078
532a6035
SP
80792014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8080
8081 [BZ #16639]
8082 * nscd/connections.c (nscd_init): Call do_exit.
8083 (start_threads): Call do_exit and notify_parent.
8084 (begin_drop_privileges): Call do_exit.
8085 (finish_drop_privileges): Likewise.
8086 * nscd/selinux.c (preserve_capabilities): Likewise.
8087 (install_real_capabilities): Likewise.
8088 (nscd_selinux_enabled): Likewise.
8089 (avc_create_thread): Likewise.
8090 (avc_alloc_lock): Likewise.
8091 (nscd_avc_init): Likewise.
8092 * nscd/nscd.c (parent_fd): New static variable.
8093 (main): Create a pipe between parent and child processes.
8094 Skip closing parent_fd.
8095 (monitor_child): New function.
8096 (do_exit): Likewise.
8097 (notify_parent): Likewise.
8098 * nscd/nscd.h (notify_parent): Likewise.
8099 (do_exit): Likewise.
8100
d6285c9f
CD
81012014-03-03 Carlos O'Donell <carlos@redhat.com>
8102
8103 * malloc/malloc.c (__libc_calloc): Revert last change.
8104
2b85d2a0
AZ
81052014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8106
8107 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8108
c7debbdf
RS
81092014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8110
8111 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
8112 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
8113 implementation.
8114 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8115 (__libc_ifunc_impl_list): Likewise.
8116 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
8117 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
8118 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
8119 * string/strrchr.c: Define STRRCHR.
8120
235eed86
OB
81212014-02-28 Ondřej Bílka <neleai@seznam.cz>
8122
8123 * benchtest/bench-strtok.c (simple_strtok): Delete.
8124 (strtok_string): Use as benchmark.
8125 * string/strtok (STRTOK): New macro.
8126
8e25d1e7
CD
81272014-02-28 Carlos O'Donell <carlos@redhat.com>
8128
ef563f92
CD
8129 * manual/threads.texi: Add header and standard comments to all
8130 functions.
8131
8e25d1e7
CD
8132 * elf/dl-lookup.c (check_match): New function.
8133 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
8134 (do_lookup_x): Remove nested function check_match. Use non-nested
8135 function check_match.
8136
ff71cc37
RM
81372014-02-28 Roland McGrath <roland@hack.frob.com>
8138
f08e9a26
RM
8139 * csu/Makefile (generated, before-compile): Use += rather than =.
8140 * catgets/Makefile (generated, generated-dirs): Likewise.
8141 * debug/Makefile (generated): Likewise.
8142 * dlfcn/Makefile (generated): Likewise.
8143 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
8144 * iconvdata/Makefile (before-compile, generated): Likewise.
8145 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
8146 * libio/Makefile (generated): Likewise.
8147 * malloc/Makefile (generated): Likewise.
8148 * manual/Makefile (generated, generated-dirs): Likewise.
8149 * misc/Makefile (generated): Likewise.
8150 * posix/Makefile (generated): Likewise.
8151 * resolv/Makefile (generated): Likewise.
8152 * sunrpc/Makefile (generated, generated-dirs): Likewise.
8153 * timezone/Makefile (generated, generated-dirs): Likewise.
8154
ff71cc37
RM
8155 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
8156
fe13a20c
AZ
81572014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8158
57f41c40
AS
8159 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8160 power8 implementation.
8161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8162 file: POWER8 llround ifunc implementation.
8163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8164 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
8165 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8166 POWER8 llround implementation.
8167
57f41c40
AS
8168 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8169 power8 implementation.
8170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8171 file: POWER8 llrint ifunc implementation.
8172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8173 Add POWER8 implementation.
1ad8950a
AZ
8174 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
8175 POWER8 llrint implementation.
8176
57f41c40
AS
8177 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
8178 power8 implementation.
8179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
8180 file: POWER8 finite ifunc implementation.
8181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
8182 Add POWER8 implementation.
cac626d6
AZ
8183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
8184 Likewise.
8185 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
8186 POWER8 finite implementation.
8187 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
8188
57f41c40
AS
8189 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
8190 power8 implementation.
8191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
8192 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
8193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
8194 POWER8 implementation.
8195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
8196 Likewise.
57f41c40
AS
8197 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
8198 isinf implementation.
4393fc11
AZ
8199 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
8200
57f41c40
AS
8201 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
8202 (INIT_ARCH): Add hwcap2 initialization.
8203 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8204 power8 implementation.
8205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
8206 file: POWER8 isnan ifunc implementation.
487972ae
AZ
8207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
8208 POWER8 implementation.
8209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
8210 Likewise.
57f41c40
AS
8211 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
8212 isnan implementation.
487972ae
AZ
8213 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
8214
7d92b787
JY
82152014-02-27 Joey Ye <joey.ye@arm.com>
8216
8217 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8218 (_FP_NANFRAC_Q): Set to zero.
8219
1cadc858
SP
82202014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8221
8222 [BZ #16623]
8223 * math/auto-libm-test-in: New test inputs.
8224 * math/auto-libm-test-out: Regenerate.
8225 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8226 and DA.
8227 (__cos): Likewise.
8228 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8229
f8c17e79
JM
82302014-02-27 Joseph Myers <joseph@codesourcery.com>
8231
8232 * scripts/evaluate-test.sh: Take new argument indicating whether
8233 failure is expected.
8234 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8235 indicating whether failure is expected.
8236 * conform/Makefile (test-xfail-run-conformtest): New variable.
8237 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8238 level.
8239 * posix/Makefile (test-xfail-annexc): New variable.
8240 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8241
a5f891ac
JM
82422014-02-26 Joseph Myers <joseph@codesourcery.com>
8243
8244 * argp/Makefile: Include Makeconfig immediately after defining
8245 subdir.
8246 * assert/Makefile: Likewise.
8247 * benchtests/Makefile: Likewise.
8248 * catgets/Makefile: Likewise.
8249 * conform/Makefile: Likewise.
8250 * crypt/Makefile: Likewise.
8251 * csu/Makefile: Likewise.
8252 (all): Remove target.
8253 * ctype/Makefile: Include Makeconfig immediately after defining
8254 subdir.
8255 * debug/Makefile: Likewise.
8256 * dirent/Makefile: Likewise.
8257 * dlfcn/Makefile: Likewise.
8258 * gmon/Makefile: Likewise.
8259 * gnulib/Makefile: Likewise.
8260 * grp/Makefile: Likewise.
8261 * gshadow/Makefile: Likewise.
8262 * hesiod/Makefile: Likewise.
8263 * hurd/Makefile: Likewise.
8264 (all): Remove target.
8265 * iconvdata/Makefile: Include Makeconfig immediately after
8266 defining subdir.
8267 * inet/Makefile: Likewise.
8268 * intl/Makefile: Likewise.
8269 * io/Makefile: Likewise.
8270 * libio/Makefile: Likewise.
8271 (all): Remove target.
8272 * locale/Makefile: Include Makeconfig immediately after defining
8273 subdir.
8274 * login/Makefile: Likewise.
8275 * mach/Makefile: Likewise.
8276 (all): Remove target.
8277 * malloc/Makefile: Include Makeconfig immediately after defining
8278 subdir.
8279 (all): Remove target.
8280 * manual/Makefile: Include Makeconfig immediately after defining
8281 subdir.
8282 * math/Makefile: Likewise.
8283 * misc/Makefile: Likewise.
8284 * nis/Makefile: Likewise.
8285 * nss/Makefile: Likewise.
8286 * po/Makefile: Likewise.
8287 (all): Remove target.
8288 * posix/Makefile: Include Makeconfig immediately after defining
8289 subdir.
8290 * pwd/Makefile: Likewise.
8291 * resolv/Makefile: Likewise.
8292 * resource/Makefile: Likewise.
8293 * rt/Makefile: Likewise.
8294 * setjmp/Makefile: Likewise.
8295 * shadow/Makefile: Likewise.
8296 * signal/Makefile: Likewise.
8297 * socket/Makefile: Likewise.
8298 * soft-fp/Makefile: Likewise.
8299 * stdio-common/Makefile: Likewise.
8300 * stdlib/Makefile: Likewise.
8301 * streams/Makefile: Likewise.
8302 * string/Makefile: Likewise.
8303 * sunrpc/Makefile: Likewise.
8304 (all): Remove target.
8305 * sysvipc/Makefile: Include Makeconfig immediately after defining
8306 subdir.
8307 * termios/Makefile: Likewise.
8308 * time/Makefile: Likewise.
8309 * timezone/Makefile: Likewise.
8310 (all): Remove target.
8311 * wcsmbs/Makefile: Include Makeconfig immediately after defining
8312 subdir.
8313 * wctype/Makefile: Likewise.
8314
5b456e9d
SE
83152014-02-26 Steve Ellcey <sellcey@mips.com>
8316
8317 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
8318 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
8319 (libc_feholdexcept_setround_mips): Ditto.
8320 (libc_feholdsetround): New.
8321 (libc_feholdsetroundf): New.
8322 (libc_feholdsetroundl): New.
8323 (libc_feupdateenv_test_mips): New.
8324 (libc_feupdateenv_test): New.
8325 (libc_feupdateenv_testf): New.
8326 (libc_feupdateenv_testl): New.
8327 (libc_feresetround): New.
8328 (libc_feresetroundf): New.
8329 (libc_feresetroundl): New.
8330 (libc_fetestexcept_mips): New.
8331 (libc_fetestexcept): New.
8332 (libc_fetestexceptf): New.
8333 (libc_fetestexceptl): New.
8334 (HAVE_RM_CTX): New.
8335 (libc_feholdexcept_setround_mips_ctx): New.
8336 (libc_feholdexcept_setround_ctx): New.
8337 (libc_feholdexcept_setroundf_ctx): New.
8338 (libc_feholdexcept_setroundl_ctx): New.
8339 (libc_fesetenv_mips_ctx): New.
8340 (libc_fesetenv_ctx): New.
8341 (libc_fesetenv_ctxf): New.
8342 (libc_fesetenv_ctxl): New.
8343 (libc_feupdateenv_mips_ctx): New.
8344 (libc_feupdateenv_ctx): New.
8345 (libc_feupdateenvf_ctx): New.
8346 (libc_feupdateenvl_ctx): New.
8347 (libc_feholdsetround_mips_ctx): New.
8348 (libc_feholdsetround_ctx): New.
8349 (libc_feholdsetroundf_ctx): New.
8350 (libc_feholdsetroundl_ctx): New.
8351 (libc_feresetround_mips_ctx): New.
8352 (libc_feresetround_ctx): New.
8353 (libc_feresetroundf_ctx): New.
8354 (libc_feresetroundl_ctx): New.
8355
085d0e35
CD
83562014-02-26 Carlos O'Donell <carlos@redhat.com>
8357
f067bf1f
CD
8358 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
8359
085d0e35
CD
8360 * manual/ipc.texi: New file.
8361 * manual/Makefile (chapters): Add ipc.
8362 * manual/job.texi: Add "Inter-Process Communication" to next.
8363 * manual/process.texi: Add "Inter-Process Communication" to prev.
8364
86e58c08
AZ
83652014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8366
8367 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8368
4248f0da
OB
83692014-02-26 Ondřej Bílka <neleai@seznam.cz>
8370
8371 * malloc/malloc.c (__libc_calloc): Simplify implementation.
8372
cf822e3c
OB
8373 * manual/arith.texi: Fix spaces after sentences.
8374 * manual/charset.texi: Likewise.
8375 * manual/errno.texi: Likewise.
8376 * manual/install.texi: Likewise.
8377 * manual/llio.texi: Likewise.
8378 * manual/locale.texi: Likewise.
8379 * manual/maint.texi: Likewise.
8380 * manual/math.texi: Likewise.
8381 * manual/memory.texi: Likewise.
8382 * manual/message.texi: Likewise.
8383 * manual/probes.texi: Likewise.
8384 * manual/resource.texi: Likewise.
8385 * manual/signal.texi: Likewise.
8386 * manual/socket.texi: Likewise.
8387 * manual/stdio.texi: Likewise.
8388 * manual/string.texi: Likewise.
8389 * manual/time.texi: Likewise.
8390 * manual/users.texi: Likewise.
8391
ade40b10
CD
83922014-02-25 Carlos O'Donell <carlos@redhat.com>
8393
8394 [BZ #16632]
8395 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
8396 _DEFAULT_SOURCE is defined.
8397
d0503676
CD
83982014-02-25 Ulrich Drepper <drepper@gmail.com>
8399 Carlos O'Donell <carlos@redhat.com>
8400
8401 [BZ #16613]
8402 * elf/dl-tls.c (_dl_count_modids): New function.
8403 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
8404 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
8405 audit library and increment generation counter.
8406 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
8407 * elf/tst-audit9.c: New file.
8408 * elf/tst-auditmod9a.c: New file.
8409 * elf/tst-auditmod9b.c: New file.
8410 * elf/Makefile: Add rules to build and run tst-audit9.
8411
4cbf380c
FW
84122014-02-25 Florian Weimer <fweimer@redhat.com>
8413
8414 [BZ #15347]
8415 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
8416
80a56cc3
WN
84172014-02-25 Will Newton <will.newton@linaro.org>
8418
8419 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
8420 (__longjmp): Restore sp and lr before restoring callee
8421 saved registers. Add longjmp and longjmp_target
8422 SystemTap probe point.
8423 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
8424 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
8425 Define to zero to match jmpbuf layout.
8426 * sysdeps/arm/setjmp.S: Include stap-probe.h.
8427 (__sigsetjmp): Save sp and lr before saving callee
8428 saved registers. Add setjmp SystemTap probe point.
8429
3ea0f74e
SL
84302014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8431
8432 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8433
b04acb26
AS
84342014-02-24 Andreas Schwab <schwab@suse.de>
8435
8436 [BZ #15804]
8437 * elf/pldd.c (wait_for_ptrace_stop): New function.
8438 (main): Call it after attaching.
8439
098ad55c
RM
84402014-02-22 Roland McGrath <roland@hack.frob.com>
8441
d4ec6ae1
RM
8442 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
8443 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
8444 Versions files is now verboten.
8445 * hurd/Versions (libc: GLIBC_2.0):
8446 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
8447 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
8448 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
8449 * mach/Versions: Likewise.
8450
098ad55c
RM
8451 * csu/Versions: Remove unused %include.
8452 * resolv/Versions: Likewise.
8453
acd7f096
JM
84542014-02-21 Joseph Myers <joseph@codesourcery.com>
8455
f0881698
JM
8456 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
8457 ($(objpfx)check-local-headers.out): Likewise.
8458 ($(objpfx)begin-end-check.out): Likewise.
8459 * Makerules (check-abi-%.out): Likewise.
8460 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
8461 ($(objpfx)test2.cat): Likewise.
8462 ($(objpfx)de/libc.cat): Likewise.
8463 ($(objpfx)test-gencat.out): Likewise.
8464 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
8465 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
8466 ($(objpfx)noload-mem): Likewise.
8467 ($(objpfx)tst-pathopt.out): Likewise.
8468 ($(objpfx)tst-rtld-load-self.out): Likewise.
8469 ($(objpfx)tst-array1-cmp.out): Likewise.
8470 ($(objpfx)tst-array1-static-cmp.out): Likewise.
8471 ($(objpfx)tst-array2-cmp.out): Likewise.
8472 ($(objpfx)tst-array3-cmp.out): Likewise.
8473 ($(objpfx)tst-array4-cmp.out): Likewise.
8474 ($(objpfx)tst-array5-cmp.out): Likewise.
8475 ($(objpfx)tst-array5-static-cmp.out): Likewise.
8476 ($(objpfx)check-textrel.out): Likewise.
8477 ($(objpfx)check-execstack.out): Likewise.
8478 ($(objpfx)check-localplt.out): Likewise.
8479 ($(objpfx)order2-cmp.out): Likewise.
8480 ($(objpfx)tst-leaks1-mem): Likewise.
8481 ($(objpfx)tst-leaks1-static-mem): Likewise.
8482 ($(objpfx)tst-initorder-cmp.out): Likewise.
8483 ($(objpfx)tst-initorder2-cmp.out): Likewise.
8484 ($(objpfx)tst-unused-dep.out): Likewise.
8485 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
8486 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
8487 * iconv/Makefile (test-iconvconfig): Likewise.
8488 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
8489 ($(objpfx)iconv-test.out): Likewise.
8490 ($(objpfx)tst-tables.out): Likewise.
8491 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
8492 ($(objpfx)tst-gettext.out): Likewise.
8493 ($(objpfx)tst-translit.out): Likewise.
8494 ($(objpfx)tst-gettext2.out): Likewise.
8495 ($(objpfx)tst-gettext4.out): Likewise.
8496 ($(objpfx)tst-gettext6.out): Likewise.
8497 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
8498 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
8499 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
8500 ($(objpfx)tst-fopenloc-mem.out): Likewise.
8501 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
8502 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
8503 * posix/Makefile ($(objpfx)globtest.out): Likewise.
8504 ($(objpfx)wordexp-tst.out): Likewise.
8505 ($(objpfx)annexc.out): Likewise.
8506 ($(objpfx)tst-fnmatch-mem): Likewise.
8507 ($(objpfx)bug-regex2-mem): Likewise.
8508 ($(objpfx)bug-regex14-mem): Likewise.
8509 ($(objpfx)bug-regex21-mem): Likewise.
8510 ($(objpfx)bug-regex31-mem): Likewise.
8511 ($(objpfx)tst-vfork3-mem): Likewise.
8512 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8513 ($(objpfx)tst-pcre-mem): Likewise.
8514 ($(objpfx)tst-boost-mem): Likewise.
8515 ($(objpfx)tst-getconf.out): Likewise.
8516 ($(objpfx)bug-ga2-mem): Likewise.
8517 ($(objpfx)bug-glob2-mem): Likewise.
8518 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
8519 ($(objpfx)mtrace-tst-leaks2): Likewise.
8520 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
8521 ($(objpfx)tst-printf.out): Likewise.
8522 ($(objpfx)tst-setvbuf1.out): Likewise.
8523 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
8524 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
8525 ($(objpfx)tst-fmtmsg.out): Likewise.
8526 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
8527 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
8528
acd7f096
JM
8529 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
8530 * bits/sigaction.h [__USE_MISC]: Likewise.
8531 * bits/waitstatus.h: Update #endif comments.
8532 * ctype/ctype.h: Likewise.
8533 * dirent/dirent.h: Likewise.
8534 [__USE_MISC]: Remove redundant conditionals.
8535 * grp/grp.h: Update #endif comments.
8536 [__USE_GNU]: Remove redundant conditionals.
8537 [__USE_MISC]: Likewise.
8538 * inet/netinet/in.h [__USE_GNU]: Likewise.
8539 * io/sys/stat.h [__USE_MISC]: Likewise.
8540 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
8541 * libio/bits/stdio.h: Update #endif comments.
8542 [__USE_MISC]: Remove redundant conditionals.
8543 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
8544 * libio/stdio.h: Update #endif comments.
8545 [__USE_MISC]: Remove redundant conditionals.
8546 * math/bits/math-finite.h [__USE_MISC]: Likewise.
8547 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
8548 * math/math.h: Update #else and #endif comments.
8549 [__USE_MISC]: Remove redundant conditionals.
8550 * misc/sys/uio.h: Update #endif comments.
8551 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
8552 * posix/glob.h [__USE_MISC]: Likewise.
8553 * posix/sys/types.h: Update #endif comments.
8554 [__USE_MISC]: Remove redundant conditionals.
8555 * posix/sys/wait.h: Update #endif comments.
8556 [__USE_MISC]: Remove redundant conditionals.
8557 * posix/unistd.h: Update #endif comments.
8558 [__USE_MISC]: Remove redundant conditionals.
8559 * pwd/pwd.h [__USE_GNU]: Likewise.
8560 [__USE_MISC]: Likewise.
8561 * resolv/netdb.h [__USE_GNU]: Likewise.
8562 * signal/signal.h: Update #endif comments.
8563 [__USE_MISC]: Remove redundant conditionals.
8564 * stdlib/stdlib.h: Update #else and #endif comments.
8565 [__USE_MISC]: Remove redundant conditionals.
8566 [__USE_GNU]: Likewise.
8567 * string/bits/string2.h [__USE_MISC]: Likewise.
8568 * string/string.h: Update #endif comments.
8569 [__USE_MISC]: Remove redundant conditionals.
8570 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
8571 Likewise.
8572 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
8573 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
8574 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
8575 Likewise.
8576 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
8577 Likewise.
8578 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
8579 comments.
8580 [__USE_MISC]: Remove redundant conditionals.
8581 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
8582 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
8583 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
8584 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
8585 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
8586 Likewise.
8587 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
8588 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
8589 Likewise.
8590 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
8591 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
8592 Likewise.
8593 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
8594 Likewise.
8595 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
8596 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
8597 Likewise.
8598 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
8599 Likewise.
8600 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
8601 * sysdeps/x86/bits/string.h: Update #endif comments.
8602 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
8603 conditionals.
8604 * time/sys/time.h: Update #endif comments.
8605 * time/time.h: Likewise.
8606 [__USE_MISC]: Remove redundant conditionals.
8607
a5d82e4e
YG
86082014-02-21 Yury Gribov <y.gribov@samsung.com>
8609
8610 [BZ #16600]
8611 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
8612
9a80491d
AS
86132014-02-21 Andreas Schwab <schwab@linux-m68k.org>
8614
8615 * Versions.def (librt): Add GLIBC_2.17.
8616
105fa381
AC
86172014-02-21 Adam Conrad <adconrad@0c3.net>
8618
8619 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
8620 synonym for _SYS_AUXV_H to allow direct inclusion.
8621 * sysdeps/sparc/bits/hwcap.h: Likewise.
8622 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
8623 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
8624 * sysdeps/sparc/sysdep.h: Likewise.
8625
b8cd1c4e
SP
86262014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8627
8628 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
8629
bd939d23
RS
86302014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8631
8632 * benchtests/bench-strrchr.c: Print length instead of position.
8633
5d7b57ca
JM
86342014-02-20 Joseph Myers <joseph@codesourcery.com>
8635
bc688c10
JM
8636 [BZ #16611]
8637 * sysdeps/unix/sysv/linux/kernel-features.h
8638 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
8639 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
8640 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
8641 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
8642 Likewise.
8643 [__i386__ || __powerpc__ || __sh__ || __sparc__]
8644 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8645 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
8646 (__ASSUME_SENDMMSG): Define instead of using previous
8647 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
8648 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8649 (__ASSUME_SENDMMSG_SYSCALL): Define.
8650 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8651 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
8652 Likewise.
8653 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8654 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8655 Likewise.
8656 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8657 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8658 Likewise.
8659 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
8660 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8661 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8662 [__ASSUME_SENDMMSG]: Change conditionals to
8663 [__ASSUME_SENDMMSG_SOCKETCALL].
8664 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8665 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
8666 Define.
8667 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8668 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
8669 Likewise.
8670 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
8671 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8672 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8673 [!__ASSUME_SENDMMSG]: Change conditional to
8674 [!__ASSUME_SENDMMSG_SOCKETCALL].
8675 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8676 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8677 Define.
8678
0e31b18c
JM
8679 [BZ #16610]
8680 * sysdeps/unix/sysv/linux/kernel-features.h
8681 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
8682 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
8683 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
8684 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
8685 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8686 [__i386__ || __sparc__]
8687 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8688 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
8689 (__ASSUME_RECVMMSG): Define instead of using previous
8690 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
8691 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8692 (__ASSUME_RECVMMSG_SYSCALL): Define.
8693 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8694 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8695 Likewise.
8696 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8697 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8698 Likewise.
8699 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8700 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8701 Likewise.
8702 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
8703 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8704 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8705 [__ASSUME_RECVMMSG]: Change condition to
8706 [__ASSUME_RECVMMSG_SOCKETCALL].
8707 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8708 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8709 Define.
8710 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8711 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8712 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8713 Likewise.
8714 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
8715 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8716 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8717 [!__ASSUME_RECVMMSG]: Change condition to
8718 [!__ASSUME_RECVMMSG_SOCKETCALL].
8719 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8720 (__ASSUME_RECVMMSG_SYSCALL): Define.
8721
dd481ccf
JM
8722 [BZ #16609]
8723 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
8724 __powerpc__ || __s390__ || __sh__ || __sparc__]
8725 (__ASSUME_SOCKETCALL): Define.
8726 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
8727 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
8728 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
8729 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
8730 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8731 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8732 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
8733 (__ASSUME_ACCEPT4): Define instead of using previous
8734 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
8735 __powerpc__ || __sparc__ || __s390__)] condition.
8736 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8737 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8738 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
8739 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8740 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8741 [!__ASSUME_ACCEPT4]: Change condition to
8742 [!__ASSUME_ACCEPT4_SOCKETCALL].
8743 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8744 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
8745 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
8746 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8747 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
8748 __ASSUME_ACCEPT4_SYSCALL.
8749 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
8750 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
8751 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8752 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
8753 __ASSUME_ACCEPT4_SYSCALL.
8754 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
8755 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8756 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8757 [__ASSUME_ACCEPT4]: Change condition to
8758 [__ASSUME_ACCEPT4_SOCKETCALL].
8759 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8760 (__ASSUME_SOCKETCALL): Define.
8761 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
8762 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8763 (__ASSUME_SOCKETCALL): Define.
8764 (__ASSUME_ACCEPT4): Remove.
8765 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
8766 Define.
8767 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8768 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
8769 Likewise.
8770 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8771 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8772
5d7b57ca
JM
8773 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8774 macro.
8775 (HWCAP_ARM_LPAE): Likewise.
8776 (HWCAP_ARM_EVTSTRM): Likewise.
8777 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8778 Add vpfd32, lpae and evtstrm.
8779 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8780 Increase to 22.
8781
63689d61
JM
87822014-02-19 Joseph Myers <joseph@codesourcery.com>
8783
8784 * math/auto-libm-test-in: Add tests of clog10.
8785 * math/auto-libm-test-out: Regenerated.
8786 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8787 * sysdeps/i386/fpu/libm-test-ulps: Update.
8788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8789
ab09bf61
AS
87902014-02-18 Andreas Schwab <schwab@suse.de>
8791
8792 [BZ #16574]
8793 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8794 Store non-zero if the second buffer was newly allocated.
8795 (send_dg): Likewise.
8796 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8797 to send_vc and send_dg.
8798 (res_nsend): Pass NULL for ansp2_malloced.
8799 * resolv/res_query.c (__libc_res_nquery): Add parameter
8800 answerp2_malloced and pass it down to __libc_res_nsend.
8801 (res_nquery): Pass additional NULL to __libc_res_nquery.
8802 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
8803 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
8804 second answer buffer if answerp2_malloced was set.
8805 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
8806 (__libc_res_nquerydomain): Add parameter
8807 answerp2_malloced and pass it down to __libc_res_nquery.
8808 (res_nquerydomain): Pass additional NULL to
8809 __libc_res_nquerydomain.
8810 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
8811 additional NULL to __libc_res_nsend and __libc_res_nquery.
8812 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
8813 additional NULL to __libc_res_nsearch.
8814 (_nss_dns_gethostbyname4_r): Revert last change. Use new
8815 parameter of __libc_res_nsearch to check for separately allocated
8816 second buffer.
8817 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
8818 __libc_res_nquery.
8819 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
8820 additional NULL to __libc_res_nquery.
8821 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
8822 __libc_res_nsearch.
8823 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
8824 * include/resolv.h: Update prototypes of __libc_res_nquery,
8825 __libc_res_nsearch, __libc_res_nsend.
8826
a4fb7861
JM
88272014-02-18 Joseph Myers <joseph@codesourcery.com>
8828
c6af2d89
JM
8829 * math/auto-libm-test-in: Add tests of fma.
8830 * math/auto-libm-test-out: Regenerated.
8831 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
8832 (fma_towardzero_test_data): Likewise.
8833 (fma_downward_test_data): Likewise.
8834 (fma_upward_test_data): Likewise.
8835 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
8836 mpc_mode.
8837 (rounding_modes): Add values for new field.
8838 (func_calc_method): Add value mpfr_fff_f.
8839 (func_calc_desc): Add mpfr_fff_f union field.
8840 (test_function): Add field exact_args.
8841 (FUNC): Add macro argument EXACT_ARGS.
8842 (FUNC_mpfr_f_f): Update call to FUNC.
8843 (FUNC_mpfr_f_f): Likewise.
8844 (FUNC_mpfr_ff_f): Likewise.
8845 (FUNC_mpfr_if_f): Likewise.
8846 (FUNC_mpc_c_f): Likewise.
8847 (FUNC_mpc_c_c): Likewise.
8848 (test_functions): Add fma. Update calls to FUNC.
8849 (handle_input_arg): Add argument exact_args.
8850 (add_test): Update call to handle_input_arg.
8851 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
8852 (output_for_one_input_case): Update call to calc_generic_results.
8853 Recalculate exact zero results in each rounding mode.
8854
a4fb7861
JM
8855 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
8856 non-negative before setting low bit.
8857 * math/auto-libm-test-in: Mark one asin test possibly having
8858 spurious underflow.
8859 * math/auto-libm-test-out: Regenerated.
8860 * sysdeps/i386/fpu/libm-test-ulps: Update.
8861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8862
ef114eaf
DH
88632014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
8864
2b7f4f2c
SP
8865 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
8866 * sysdeps/unix/sysv/linux/microblaze: Move directory from
8867 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
8868 * README: Add missing listing for microblaze*-*-linux-gnu.
8869
c70a4b1d
MF
88702014-02-16 Mike Frysinger <vapier@gentoo.org>
8871
8872 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
8873 * sysdeps/unix/sysv/linux/ia64: Move directory from
8874 ports/sysdeps/unix/sysv/linux/ia64.
8875 * README: Update listing for ia64-*-linux-gnu.
8876
591aeaf7
TD
88772014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
8878 Joseph Myers <joseph@codesourcery.com>
8879
8880 * Makeconfig (test-name): New variable.
8881 (evaluate-test): Likewise.
8882 * Makerules (do-test-clean): Remove .test-result files.
8883 (common-mostlyclean): Likewise.
8884 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
8885 * scripts/evaluate-test.sh: New file.
8886
6e89caf1
JM
88872014-02-14 Joseph Myers <joseph@codesourcery.com>
8888
7f98f180
JM
8889 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
8890 separate $(objpfx)tst-fopenloc-cmp.out and
8891 $(objpfx)tst-fopenloc-mem.out targets.
8892 (tests): Update dependencies.
8893 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
8894 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
8895 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
8896 (tst-rxspencer-no-utf8-ARGS): New variable.
8897 (tst-rxspencer-no-utf8-ENV): Likewise.
8898 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
8899 instead of $(objpfx)tst-rxspencer-mem.
8900 ($(objpfx)tst-rxspencer-mem): Change target to
8901 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
8902 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
8903 * posix/tst-rxspencer-no-utf8.c: New file.
8904
6e89caf1
JM
8905 * elf/Makefile ($(objpfx)order.out): Remove rule.
8906 [$(run-built-tests) = yes] (tests): Depend on
8907 $(objpfx)order-cmp.out.
8908 ($(objpfx)order-cmp.out): New rule.
8909 [$(run-built-tests) = yes] (tests): Depend on
8910 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
8911 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
8912 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
8913 $(objpfx)tst-array5-static-cmp.out.
8914 ($(objpfx)tst-array1.out): Remove rule.
8915 ($(objpfx)tst-array1-cmp.out): New rule.
8916 ($(objpfx)tst-array1-static.out): Remove rule.
8917 ($(objpfx)tst-array1-static-cmp.out): New rule.
8918 ($(objpfx)tst-array2.out): Remove rule.
8919 ($(objpfx)tst-array2-cmp.out): New rule.
8920 ($(objpfx)tst-array3.out): Remove rule.
8921 ($(objpfx)tst-array3-cmp.out): New rule.
8922 ($(objpfx)tst-array4.out): Remove rule.
8923 ($(objpfx)tst-array4-cmp.out): New rule.
8924 ($(objpfx)tst-array5.out): Remove rule.
8925 ($(objpfx)tst-array5-cmp.out): New rule.
8926 ($(objpfx)tst-array5-static.out): Remove rule.
8927 ($(objpfx)tst-array5-static-cmp.out): New rule.
8928 [$(run-built-tests) = yes] (tests): Depend on
8929 $(objpfx)order2-cmp.out.
8930 ($(objpfx)order2.out): Remove rule.
8931 ($(objpfx)order2-cmp.out): New rule.
8932 ($(objpfx)tst-initorder.out): Remove rule.
8933 [$(run-built-tests) = yes] (tests): Depend on
8934 $(objpfx)tst-initorder-cmp.out.
8935 ($(objpfx)tst-initorder-cmp.out): New rule.
8936 ($(objpfx)tst-initorder2.out): Remove rule.
8937 [$(run-built-tests) = yes] (tests): Depend on
8938 $(objpfx)tst-initorder2-cmp.out.
8939 ($(objpfx)tst-initorder2-cmp.out): New rule.
8940 [$(run-built-tests) = yes] (tests): Depend on
8941 $(objpfx)tst-unused-dep-cmp.out.
8942 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
8943 ($(objpfx)tst-unused-dep-cmp.out): New rule.
8944 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
8945 on $(objpfx)tst-setvbuf1-cmp.out.
8946 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
8947 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
8948 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
8949 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
8950 ($(objpfx)tst-svc.out): Remove rule.
8951 ($(objpfx)tst-svc-cmp.out): New rule.
8952
ed9a38e2
JM
89532014-02-13 Joseph Myers <joseph@codesourcery.com>
8954
8955 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
8956 * ctype/ctype.h [__USE_MISC]: Likewise.
8957 * dirent/dirent.h [__USE_MISC]: Likewise.
8958 * grp/grp.h [__USE_MISC]: Likewise.
8959 * io/fcntl.h [__USE_MISC]: Likewise.
8960 * io/sys/stat.h [__USE_MISC]: Likewise.
8961 * libio/stdio.h [__USE_MISC]: Likewise.
8962 * posix/unistd.h [__USE_MISC]: Likewise.
8963 * pwd/pwd.h [__USE_MISC]: Likewise.
8964 * stdlib.h [__USE_MISC]: Likewise.
8965 * string/bits/string2.h [__USE_MISC]: Likewise.
8966 * string/string.h [__USE_MISC]: Likewise.
8967 * time/time.h [__USE_MISC]: Likewise.
8968
d6680619
AS
89692014-02-13 Andreas Schwab <schwab@suse.de>
8970
8971 [BZ #16574]
8972 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
8973 second answer buffer if it was separately allocated.
8974
ace614b8
JM
89752014-02-12 Joseph Myers <joseph@codesourcery.com>
8976
743151ae
JM
8977 * sysdeps/mips/math-tests.h: Include <features.h>.
8978 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8979 (ROUNDING_TESTS_long_double): Do not define.
8980 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8981 (EXCEPTION_TESTS_long_double): Likewise.
8982 * sysdeps/mips/mips64/libm-test-ulps: Update.
8983
498afc54
JM
8984 * include/features.h (__USE_BSD): Remove macro definitions.
8985 (__USE_SVID): Likewise.
8986 (_BSD_SOURCE): Likewise.
8987 (_SVID_SOURCE): Likewise.
8988 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
8989 from definition of _DEFAULT_SOURCE.
8990 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
8991 [_DEFAULT_SOURCE].
8992 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
8993 * bits/mman.h [__USE_BSD]: Likewise.
8994 * bits/termios.h [__USE_BSD]: Likewise.
8995 * bits/waitstatus.h [__USE_BSD]: Likewise.
8996 * ctype/ctype.h [__USE_SVID]: Likewise.
8997 * dirent/dirent.h [__USE_BSD]: Likewise.
8998 * grp/grp.h [__USE_SVID]: Likewise.
8999 [__USE_BSD]: Likewise.
9000 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
9001 * io/fcntl.h [__USE_BSD]: Likewise.
9002 * io/ftw.h [__USE_BSD]: Likewise.
9003 * io/sys/stat.h [__USE_BSD]: Likewise.
9004 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
9005 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
9006 * libio/stdio.h [__USE_SVID]: Likewise.
9007 [__USE_BSD]: Likewise.
9008 * math/math.h [__USE_SVID]: Likewise.
9009 [__USE_BSD]: Likewise.
9010 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
9011 * misc/bits/syslog.h [__USE_BSD]: Likewise.
9012 * misc/search.h [__USE_SVID]: Likewise.
9013 * misc/sys/mman.h [__USE_BSD]: Likewise.
9014 * misc/sys/syslog.h [__USE_BSD]: Likewise.
9015 * misc/sys/uio.h [__USE_BSD]: Likewise.
9016 * posix/bits/unistd.h [__USE_BSD]: Likewise.
9017 * posix/glob.h [__USE_BSD]: Likewise.
9018 * posix/regex.h [__USE_BSD]: Likewise.
9019 * posix/sys/types.h [__USE_BSD]: Likewise.
9020 [__USE_SVID]: Likewise.
9021 * posix/sys/utsname.h [__USE_SVID]: Likewise.
9022 * posix/sys/wait.h [__USE_BSD]: Likewise.
9023 [__USE_SVID]: Likewise.
9024 * posix/unistd.h [__USE_BSD]: Likewise.
9025 [__USE_SVID]: Likewise.
9026 * pwd/pwd.h [__USE_SVID]: Likewise.
9027 * resolv/netdb.h [__USE_BSD]: Likewise.
9028 * setjmp/setjmp.h [__USE_BSD]: Likewise.
9029 * signal/signal.h [__USE_BSD]: Likewise.
9030 [__USE_SVID]: Likewise.
9031 * socket/sys/socket.h [__USE_BSD]: Likewise.
9032 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
9033 * stdlib/stdlib.h [__USE_BSD]: Likewise.
9034 [__USE_SVID]: Likewise.
9035 * string/bits/string2.h [__USE_BSD]: Likewise.
9036 [__USE_SVID]: Likewise.
9037 * string/bits/string3.h [__USE_BSD]: Likewise.
9038 * string/endian.h [__USE_BSD]: Likewise.
9039 * string/string.h [__USE_SVID]: Likewise.
9040 [__USE_BSD]: Likewise.
9041 * string/strings.h [__USE_BSD]: Likewise.
9042 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
9043 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
9044 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
9045 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
9046 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
9047 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
9048 Likewise.
9049 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
9050 Likewise.
9051 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
9052 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
9053 Likewise.
9054 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
9055 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
9056 Likewise.
9057 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
9058 Likewise.
9059 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
9060 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
9061 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
9062 Likewise.
9063 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
9064 Likewise.
9065 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
9066 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
9067 * termios/termios.h [__USE_BSD]: Likewise.
9068 * time/sys/time.h [__USE_BSD]: Likewise.
9069 * time/time.h [__USE_BSD]: Likewise.
9070 [__USE_SVID]: Likewise.
9071
dd7b064c
JM
9072 * Makefile (subdir_targets): Remove subdir_lint.out.
9073
a2c4c199
JM
9074 * stdio-common/Makefile (do-tst-unbputc): Remove target.
9075 (do-tst-printf): Likewise.
9076 (tests): Depend directly on $(objpfx)tst-unbputc.out and
9077 $(objpfx)tst-printf.out.
9078
8756f740
JM
9079 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
9080
1b6dd3f1
JM
9081 * Makerules (check-abi-%): Change target to
9082 $(objpfx)check-abi-%.out.
9083 (check-abi target): Update dependencies.
9084 (check-abi-pattern variable): Redirect output of diff to $@.
9085 (check-abi variable): Likewise.
9086 * elf/Makefile (check-abi): Update dependencies.
9087
ace614b8
JM
9088 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
9089 unused.
9090 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
9091 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
9092 subnormal range.
9093 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
9094 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
9095 value has largest subnormal exponent.
9096 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
9097 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
9098 * sysdeps/aarch64/soft-fp/sfp-machine.h
9099 (_FP_TININESS_AFTER_ROUNDING): New macro.
9100 * sysdeps/alpha/soft-fp/sfp-machine.h
9101 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9102 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9103 Likewise.
9104 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
9105 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9106 * sysdeps/mips/soft-fp/sfp-machine.h
9107 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9108 * sysdeps/powerpc/soft-fp/sfp-machine.h
9109 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9110 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9111 Likewise.
9112 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9113 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9114 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9115 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9116 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9117 Likewise.
9118
fbfdf9cb
DAS
91192014-02-12 Dylan Alex Simon <dylan@dylex.net>
9120
9121 [BZ #16545]
9122 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
9123 model 1.
9124
68b7efaa
RH
91252014-02-12 Richard Henderson <rth@redhat.com>
9126
c70a4b1d 9127 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
9128 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
9129 * sysdeps/unix/sysv/linux/alpha: Move directory from
9130 ports/sysdeps/unix/sysv/linux/alpha.
9131 * README: Update listing for alpha-*-linux-gnu.
9132
cb4a2928
JM
91332014-02-11 Joseph Myers <joseph@codesourcery.com>
9134
c941736c
JM
9135 * include/features.h: Update comment documenting feature test
9136 macros.
9137 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
9138 _DEFAULT_SOURCE.
9139 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
9140 (_SVID_SOURCE): Likewise.
9141 (_DEFAULT_SOURCE): Update description of default features.
9142 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
9143 with _GNU_SOURCE.
9144 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
9145 (S_ISVTX): Likewise.
9146 * manual/math.texi (Mathematical Constants): Likewise.
9147 * manual/signal.texi (Interrupted Primitives): Likewise.
9148 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
9149 * math/test-matherr.c (_SVID_SOURCE): Do not define.
9150 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
9151 Don't refer to _SVID_SOURCE in warning text.
9152
e8d8d7ec
JM
9153 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9154
cb4a2928
JM
9155 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
9156 already defined.
9157 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
9158 * sysdeps/mips/dl-lookup.c: Remove.
9159 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9160
7e6424e3
AK
91612014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9162
9163 [BZ #16447]
9164 * math/auto-libm-test-in: Add testcase for expl.
9165 * math/auto-libm-test-out: Regenerate.
9166 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9167 calculation of unsafe.
9168 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9169
75eff3fe
MS
91702014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
9171
9172 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9173 * sysdeps/unix/sysv/linux/aarch64: Move directory from
9174 ports/sysdeps/unix/sysv/linux/aarch64.
9175 * README: Update listing for aarch64*-*-linux-gnu.
9176
d35f1e80
WN
91772014-02-11 Will Newton <will.newton@linaro.org>
9178
9179 * manual/probes.texi (Mathematical Function Probes): Use
9180 "triggered" instead of "hit".
9181
7b3436d4
WN
9182 * manual/probes.texi (Internal Probes): Add documentation
9183 of setjmp, longjmp and longjmp_target probes.
9184
b4f12ca3
WN
9185 * include/stap-probe.h: Add comment about probe argument
9186 format.
9187
c13a72b7
WN
9188 * malloc/mtrace.c (attribute_hidden): Remove unused macro
9189 definition. (tr_where, tr_freehook, tr_mallochook,
9190 tr_reallochook, tr_memalignhook): Use ANSI protoype.
9191
195b8165
DM
91922014-02-11 David S. Miller <davem@davemloft.net>
9193
9194 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
9195 processing int_tests.
9196
2ad7600b
JM
91972014-02-10 Joseph Myers <joseph@codesourcery.com>
9198
9199 * sysdeps/mips: Move directory from ports/sysdeps/mips.
9200 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
9201 * sysdeps/unix/sysv/linux/mips: Move directory from
9202 ports/sysdeps/unix/sysv/linux/mips.
9203 * README: Update listing for mips-*-linux-gnu and
9204 mips64-*-linux-gnu.
9205
73588a72
AS
92062014-02-10 Andreas Schwab <schwab@linux-m68k.org>
9207
9208 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
9209 * sysdeps/unix/sysv/linux/m68k: Move directory from
9210 ports/sysdeps/unix/sysv/linux/m68k.
9211 * README: Update listing for m68k-*-linux-gnu.
9212
4372980f
CM
92132014-02-10 Chris Metcalf <cmetcalf@tilera.com>
9214
9215 * sysdeps/tile: Move directory from ports/sysdeps/tile.
9216 * sysdeps/unix/sysv/linux/generic: Move directory from
9217 ports/sysdeps/unix/sysv/linux/generic.
9218 * sysdeps/unix/sysv/linux/tile: Move directory from
9219 ports/sysdeps/unix/sysv/linux/tile.
9220 * README: Update listing for tile*-*-linux-gnu.
9221
a1ffb40e
OB
92222014-02-10 Ondřej Bílka <neleai@seznam.cz>
9223
57f41c40
AS
9224 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9225 __builtin_expect.
a1ffb40e
OB
9226 * benchtests/bench-memmem.c (simple_memmem): Likewise.
9227 * catgets/open_catalog.c (__open_catalog): Likewise.
9228 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9229 * debug/confstr_chk.c: Likewise.
9230 * debug/fread_chk.c (__fread_chk): Likewise.
9231 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9232 * debug/getgroups_chk.c: Likewise.
9233 * debug/mbsnrtowcs_chk.c: Likewise.
9234 * debug/mbsrtowcs_chk.c: Likewise.
9235 * debug/mbstowcs_chk.c: Likewise.
9236 * debug/memcpy_chk.c: Likewise.
9237 * debug/memmove_chk.c: Likewise.
9238 * debug/mempcpy_chk.c: Likewise.
9239 * debug/memset_chk.c: Likewise.
9240 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9241 * debug/strcat_chk.c (__strcat_chk): Likewise.
9242 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9243 * debug/strncat_chk.c (__strncat_chk): Likewise.
9244 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9245 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9246 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9247 * debug/wcpncpy_chk.c: Likewise.
9248 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9249 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9250 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9251 * debug/wcsncpy_chk.c: Likewise.
9252 * debug/wcsnrtombs_chk.c: Likewise.
9253 * debug/wcsrtombs_chk.c: Likewise.
9254 * debug/wcstombs_chk.c: Likewise.
9255 * debug/wmemcpy_chk.c: Likewise.
9256 * debug/wmemmove_chk.c: Likewise.
9257 * debug/wmempcpy_chk.c: Likewise.
9258 * debug/wmemset_chk.c: Likewise.
9259 * dirent/scandirat.c (SCANDIRAT): Likewise.
9260 * dlfcn/dladdr1.c (dladdr1): Likewise.
9261 * dlfcn/dladdr.c (dladdr): Likewise.
9262 * dlfcn/dlclose.c (dlclose_doit): Likewise.
9263 * dlfcn/dlerror.c (__dlerror): Likewise.
9264 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
9265 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9266 * dlfcn/dlopen.c (dlopen_doit): Likewise.
9267 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9268 * dlfcn/dlsym.c (dlsym_doit): Likewise.
9269 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
9270 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
9271 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
9272 Likewise.
9273 * elf/dl-conflict.c: Likewise.
9274 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9275 * elf/dl-dst.h: Likewise.
9276 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
9277 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
9278 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9279 * elf/dl-init.c (call_init, _dl_init): Likewise.
9280 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
9281 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
9282 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
9283 Likewise.
a1ffb40e
OB
9284 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
9285 Likewise.
9286 * elf/dl-minimal.c (__libc_memalign): Likewise.
9287 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
9288 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9289 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
9290 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
9291 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
9292 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
9293 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
9294 * elf/dl-writev.h (_dl_writev): Likewise.
9295 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
9296 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
9297 (dl_main): Likewise.
a1ffb40e
OB
9298 * elf/setup-vdso.h (setup_vdso): Likewise.
9299 * grp/compat-initgroups.c (compat_call): Likewise.
9300 * grp/fgetgrent.c (fgetgrent): Likewise.
9301 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
9302 * grp/putgrent.c (putgrent): Likewise.
9303 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9304 Likewise.
9305 * hurd/hurdinit.c: Likewise.
9306 * iconvdata/8bit-gap.c (struct): Likewise.
9307 * iconvdata/ansi_x3.110.c : Likewise.
9308 * iconvdata/big5.c : Likewise.
9309 * iconvdata/big5hkscs.c : Likewise.
9310 * iconvdata/cp1255.c: Likewise.
9311 * iconvdata/cp1258.c : Likewise.
9312 * iconvdata/cp932.c : Likewise.
9313 * iconvdata/euc-cn.c: Likewise.
9314 * iconvdata/euc-jisx0213.c : Likewise.
9315 * iconvdata/euc-jp.c: Likewise.
9316 * iconvdata/euc-jp-ms.c : Likewise.
9317 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
9318 * iconvdata/gb18030.c : Likewise.
9319 * iconvdata/gbbig5.c (const): Likewise.
9320 * iconvdata/gbgbk.c: Likewise.
9321 * iconvdata/gbk.c : Likewise.
9322 * iconvdata/ibm1364.c : Likewise.
9323 * iconvdata/ibm930.c : Likewise.
9324 * iconvdata/ibm932.c: Likewise.
9325 * iconvdata/ibm933.c : Likewise.
9326 * iconvdata/ibm935.c : Likewise.
9327 * iconvdata/ibm937.c : Likewise.
9328 * iconvdata/ibm939.c : Likewise.
9329 * iconvdata/ibm943.c: Likewise.
9330 * iconvdata/iso_11548-1.c: Likewise.
9331 * iconvdata/iso-2022-cn.c : Likewise.
9332 * iconvdata/iso-2022-cn-ext.c : Likewise.
9333 * iconvdata/iso-2022-jp-3.c: Likewise.
9334 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
9335 * iconvdata/iso-2022-kr.c : Likewise.
9336 * iconvdata/iso646.c (gconv_end): Likewise.
9337 * iconvdata/iso_6937-2.c : Likewise.
9338 * iconvdata/iso_6937.c : Likewise.
9339 * iconvdata/iso8859-1.c: Likewise.
9340 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
9341 * iconvdata/shift_jisx0213.c : Likewise.
9342 * iconvdata/sjis.c : Likewise.
9343 * iconvdata/t.61.c : Likewise.
9344 * iconvdata/tcvn5712-1.c : Likewise.
9345 * iconvdata/tscii.c: Likewise.
9346 * iconvdata/uhc.c : Likewise.
9347 * iconvdata/unicode.c (gconv_end): Likewise.
9348 * iconvdata/utf-16.c (gconv_end): Likewise.
9349 * iconvdata/utf-32.c (gconv_end): Likewise.
9350 * iconvdata/utf-7.c (base64): Likewise.
9351 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
9352 * iconv/gconv_close.c (__gconv_close): Likewise.
9353 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
9354 * iconv/gconv_simple.c (internal_ucs4_loop_single)
9355 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
9356 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
9357 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
9358 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
9359 * iconv/iconv.c (iconv): Likewise.
9360 * iconv/iconv_close.c: Likewise.
9361 * iconv/loop.c (SINGLE): Likewise.
9362 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
9363 * include/atomic.h: Likewise.
9364 * inet/inet6_option.c (option_alloc): Likewise.
9365 * intl/bindtextdom.c (set_binding_values): Likewise.
9366 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
9367 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
9368 * intl/localealias.c (read_alias_file): Likewise.
9369 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
9370 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
9371 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
9372 * libio/fmemopen.c (fmemopen): Likewise.
9373 * libio/iofgets.c (_IO_fgets): Likewise.
9374 * libio/iofgets_u.c (fgets_unlocked): Likewise.
9375 * libio/iofgetws.c (fgetws): Likewise.
9376 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9377 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
9378 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
9379 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
9380 * locale/findlocale.c (_nl_find_locale): Likewise.
9381 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
9382 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
9383 Likewise.
9384 * locale/setlocale.c (setlocale): Likewise.
9385 * login/programs/pt_chown.c (main): Likewise.
9386 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
9387 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
9388 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
9389 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
9390 * math/e_exp2l.c: Likewise.
9391 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
9392 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
9393 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
9394 * math/s_catan.c (__catan): Likewise.
9395 * math/s_catanf.c (__catanf): Likewise.
9396 * math/s_catanh.c (__catanh): Likewise.
9397 * math/s_catanhf.c (__catanhf): Likewise.
9398 * math/s_catanhl.c (__catanhl): Likewise.
9399 * math/s_catanl.c (__catanl): Likewise.
9400 * math/s_ccosh.c (__ccosh): Likewise.
9401 * math/s_ccoshf.c (__ccoshf): Likewise.
9402 * math/s_ccoshl.c (__ccoshl): Likewise.
9403 * math/s_cexp.c (__cexp): Likewise.
9404 * math/s_cexpf.c (__cexpf): Likewise.
9405 * math/s_cexpl.c (__cexpl): Likewise.
9406 * math/s_clog10.c (__clog10): Likewise.
9407 * math/s_clog10f.c (__clog10f): Likewise.
9408 * math/s_clog10l.c (__clog10l): Likewise.
9409 * math/s_clog.c (__clog): Likewise.
9410 * math/s_clogf.c (__clogf): Likewise.
9411 * math/s_clogl.c (__clogl): Likewise.
9412 * math/s_csin.c (__csin): Likewise.
9413 * math/s_csinf.c (__csinf): Likewise.
9414 * math/s_csinh.c (__csinh): Likewise.
9415 * math/s_csinhf.c (__csinhf): Likewise.
9416 * math/s_csinhl.c (__csinhl): Likewise.
9417 * math/s_csinl.c (__csinl): Likewise.
9418 * math/s_csqrt.c (__csqrt): Likewise.
9419 * math/s_csqrtf.c (__csqrtf): Likewise.
9420 * math/s_csqrtl.c (__csqrtl): Likewise.
9421 * math/s_ctan.c (__ctan): Likewise.
9422 * math/s_ctanf.c (__ctanf): Likewise.
9423 * math/s_ctanh.c (__ctanh): Likewise.
9424 * math/s_ctanhf.c (__ctanhf): Likewise.
9425 * math/s_ctanhl.c (__ctanhl): Likewise.
9426 * math/s_ctanl.c (__ctanl): Likewise.
9427 * math/w_pow.c: Likewise.
9428 * math/w_powf.c: Likewise.
9429 * math/w_powl.c: Likewise.
9430 * math/w_scalb.c (sysv_scalb): Likewise.
9431 * math/w_scalbf.c (sysv_scalbf): Likewise.
9432 * math/w_scalbl.c (sysv_scalbl): Likewise.
9433 * misc/error.c (error_tail): Likewise.
9434 * misc/pselect.c (__pselect): Likewise.
9435 * nis/nis_callback.c (__nis_create_callback): Likewise.
9436 * nis/nis_call.c (__nisfind_server): Likewise.
9437 * nis/nis_creategroup.c (nis_creategroup): Likewise.
9438 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
9439 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
9440 * nis/nis_getservlist.c (nis_getservlist): Likewise.
9441 * nis/nis_lookup.c (nis_lookup): Likewise.
9442 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
9443 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
9444 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 9445 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
9446 * nis/nss_compat/compat-grp.c (getgrent_next_file)
9447 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
9448 * nis/nss_compat/compat-initgroups.c (add_group)
9449 (internal_getgrent_r): Likewise.
9450 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
9451 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
9452 * nis/nss_compat/compat-spwd.c (getspent_next_file)
9453 (internal_getspnam_r): Likewise.
9454 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
9455 (_nss_nis_getaliasbyname_r): Likewise.
9456 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
9457 (_nss_nis_getntohost_r): Likewise.
9458 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
9459 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
9460 (_nss_nis_getgrgid_r): Likewise.
9461 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
9462 (internal_nis_gethostent_r, internal_gethostbyname2_r)
9463 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
9464 (_nss_nis_gethostbyname4_r): Likewise.
9465 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
9466 (initgroups_netid): Likewise.
a1ffb40e 9467 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
9468 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
9469 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
9470 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
9471 (_nss_nis_getprotobynumber_r): Likewise.
9472 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
9473 (_nss_nis_getsecretkey): Likewise.
9474 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
9475 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
9476 (_nss_nis_getpwuid_r): Likewise.
9477 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
9478 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
9479 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
9480 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
9481 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
9482 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
9483 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9484 Likewise.
57f41c40
AS
9485 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
9486 (_nss_nisplus_getntohost_r): Likewise.
9487 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
9488 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
9489 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
9490 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 9491 Likewise.
57f41c40
AS
9492 * nis/nss_nisplus/nisplus-initgroups.c
9493 (_nss_nisplus_initgroups_dyn): Likewise.
9494 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
9495 (_nss_nisplus_getnetbyaddr_r): Likewise.
9496 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
9497 (_nss_nisplus_getprotobynumber_r): Likewise.
9498 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
9499 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
9500 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
9501 Likewise.
57f41c40
AS
9502 * nis/nss_nisplus/nisplus-service.c
9503 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
9504 (_nss_nisplus_getservbyport_r): Likewise.
9505 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
9506 (_nss_nisplus_getspnam_r): Likewise.
9507 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
9508 Likewise.
a1ffb40e
OB
9509 * nscd/aicache.c (addhstaiX): Likewise.
9510 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
9511 * nscd/connections.c (register_traced_file, send_ro_fd)
9512 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
9513 (main_loop_epoll): Likewise.
a1ffb40e
OB
9514 * nscd/grpcache.c (addgrbyX): Likewise.
9515 * nscd/hstcache.c (addhstbyX): Likewise.
9516 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9517 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
9518 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
9519 (addinnetgrX): Likewise.
9520 * nscd/nscd-client.h (__nscd_acquire_maplock)
9521 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
9522 * nscd/nscd_getai.c (__nscd_getai): Likewise.
9523 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9524 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
9525 Likewise.
9526 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
9527 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
9528 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
9529 (__nscd_get_map_ref): Likewise.
a1ffb40e 9530 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
9531 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
9532 Likewise.
a1ffb40e
OB
9533 * nscd/pwdcache.c (addpwbyX): Likewise.
9534 * nscd/selinux.c (preserve_capabilities): Likewise.
9535 * nscd/servicescache.c (addservbyX): Likewise.
9536 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
9537 * posix/fnmatch.c (fnmatch): Likewise.
9538 * posix/getopt.c (_getopt_internal_r): Likewise.
9539 * posix/glob.c (glob, glob_in_dir): Likewise.
9540 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
9541 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
9542 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
9543 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
9544 * resolv/res_init.c: Likewise.
9545 * resolv/res_mkquery.c (res_nmkquery): Likewise.
9546 * resolv/res_query.c (__libc_res_nquery): Likewise.
9547 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
9548 Likewise.
9549 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
9550 * stdio-common/perror.c (perror): Likewise.
9551 * stdio-common/printf_fp.c (___printf_fp): Likewise.
9552 * stdio-common/tmpnam.c (tmpnam): Likewise.
9553 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9554 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
9555 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9556 Likewise.
a1ffb40e
OB
9557 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9558 * stdlib/putenv.c (putenv): Likewise.
9559 * stdlib/setenv.c (__add_to_environ): Likewise.
9560 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9561 * stdlib/strtol_l.c (INTERNAL): Likewise.
9562 * string/memmem.c (memmem): Likewise.
9563 * string/strerror.c (strerror): Likewise.
9564 * string/strnlen.c (__strnlen): Likewise.
9565 * string/test-memmem.c (simple_memmem): Likewise.
9566 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
9567 * sunrpc/pm_getport.c (__get_socket): Likewise.
9568 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
9569 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
9570 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
9571 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
9572 Likewise.
9573 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9574 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9575 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
9576 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
9577 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
9578 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
9579 Likewise.
9580 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
9581 Likewise.
a1ffb40e
OB
9582 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
9583 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9584 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9585 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9586 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9587 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
9588 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9589 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
9590 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
9591 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9592 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9593 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
9594 Likewise.
9595 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
9596 Likewise.
9597 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
9598 Likewise.
9599 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
9600 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9601 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
9602 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
9603 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9604 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
9605 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9606 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
9607 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
9608 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
9609 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
9610 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9611 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9612 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
9613 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
9614 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9615 Likewise.
a1ffb40e
OB
9616 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
9617 Likewise.
9618 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
9619 Likewise.
9620 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
9621 Likewise.
9622 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9623 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9624 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
9625 Likewise.
9626 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
9627 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
9628 * sysdeps/posix/opendir.c (__opendirat): Likewise.
9629 * sysdeps/posix/sleep.c: Likewise.
9630 * sysdeps/posix/tempname.c: Likewise.
9631 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
9632 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9633 Likewise.
57f41c40
AS
9634 * sysdeps/powerpc/powerpc32/dl-machine.h
9635 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
9636 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9637 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9638 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
9639 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
9640 Likewise.
9641 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
9642 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
9643 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9644 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
9645 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
9646 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
9647 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
9648 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
9649 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9650 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
9651 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
9652 (elf_machine_lazy_rel): Likewise.
a1ffb40e 9653 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
9654 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
9655 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
9656 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
9657 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
9658 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
9659 * sysdeps/unix/grantpt.c (grantpt): Likewise.
9660 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
9661 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
9662 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
9663 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9664 Likewise.
9665 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9666 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9667 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
9668 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
9669 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9670 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9671 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
9672 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
9673 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
9674 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9675 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9676 Likewise.
9677 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
9678 (__posix_fallocate64_l64): Likewise.
9679 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
9680 (posix_fallocate): Likewise.
57f41c40
AS
9681 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9682 Likewise.
a1ffb40e 9683 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
9684 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
9685 (getifaddrs_internal): Likewise.
a1ffb40e
OB
9686 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
9687 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
9688 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9689 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9690 * sysdeps/unix/sysv/linux/posix_fallocate64.c
9691 (__posix_fallocate64_l64): Likewise.
9692 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
9693 Likewise.
9694 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
9695 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
9696 (__get_clockfreq): Likewise.
a1ffb40e
OB
9697 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
9698 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9699 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
9700 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9701 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9702 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
9703 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9704 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
9705 Likewise.
9706 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
9707 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
9708 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9709 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
9710 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9711 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
9712 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
9713 Likewise.
9714 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9715 (posix_fallocate): Likewise.
9716 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9717 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9718 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
9719 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
9720 (elf_machine_rela, elf_machine_rela_relative)
9721 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
9722 * time/asctime.c (asctime_internal): Likewise.
9723 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
9724 * time/tzset.c (__tzset_parse_tz): Likewise.
9725 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9726 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9727 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
9728 * wcsmbs/wcsmbsload.h: Likewise.
9729
f3d338c9
OB
9730 [BZ #15894]
9731 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
9732
57f41c40
AS
9733 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
9734 (arena_get2): Remove THREAD_STATS conditionals.
9735 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
9736 (__malloc_stats, int): Likewise.
bdfe308a 9737
d674667c
MF
97382014-02-08 Mike Frysinger <vapier@gentoo.org>
9739
9740 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
9741 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
9742
6349768c
MF
9743 * manual/setjmp.texi: Fix typos/grammar errors.
9744
0b7c7473
MF
9745 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
9746 Only return early when n is <= 0. Delete unused return statement.
9747
ac8cc9e3
MF
9748 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
9749 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
9750 * debug/tst-longjmp_chk3.c: New file.
9751
c5bb8e23
MF
9752 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
9753 (test_main): Replace code with set_fortify_handler call.
9754 * debug/test-strcpy_chk.c: Likewise.
9755 * debug/tst-chk1.c: Likewise.
9756 * debug/tst-longjmp_chk.c: Likewise.
9757 * test-skeleton.c: Include fcntl.h & paths.h
9758 (set_fortify_handler): Define.
9759
10444e42
MF
9760 * debug/tst-longjmp_chk.c: Add header comment and include
9761 ../test-skeleton.c.
9762 (do_test): Mark static.
9763 (TEST_FUNCTION): Define.
9764
1e805e8d
MF
9765 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
9766 (IP_PMTUDISC_INTERFACE): Likewise.
9767 (IP_MULTICAST_IF): Likewise.
9768 (IP_MULTICAST_TTL): Likewise.
9769 (IP_MULTICAST_LOOP): Likewise.
9770 (IP_ADD_MEMBERSHIP): Likewise.
9771 (IP_DROP_MEMBERSHIP): Likewise.
9772 (IP_UNBLOCK_SOURCE): Likewise.
9773 (IP_BLOCK_SOURCE): Likewise.
9774 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9775 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9776 (IP_MSFILTER): Likewise.
9777 (MCAST_JOIN_GROUP): Likewise.
9778 (MCAST_BLOCK_SOURCE): Likewise.
9779 (MCAST_UNBLOCK_SOURCE): Likewise.
9780 (MCAST_LEAVE_GROUP): Likewise.
9781 (MCAST_JOIN_SOURCE_GROUP): Likewise.
9782 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9783 (MCAST_MSFILTER): Likewise.
9784 (IP_MULTICAST_ALL): Likewise.
9785 (IP_UNICAST_IF): Likewise.
9786
73f79bb7
MF
9787 * timezone/Makefile: Delete $(have-ksh) check.
9788 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9789 * timezone/tzselect.ksh: Add +x mode bits.
9790
8da79b60
MF
9791 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9792 (ANON_INODE_FS_MAGIC): Likewise.
9793 (BDEVFS_MAGIC): Likewise.
9794 (BINFMTFS_MAGIC): Likewise.
9795 (BTRFS_TEST_MAGIC): Likewise.
9796 (CRAMFS_MAGIC_WEND): Likewise.
9797 (DEBUGFS_MAGIC): Likewise.
9798 (ECRYPTFS_SUPER_MAGIC): Likewise.
9799 (EXT3_SUPER_MAGIC): Likewise.
9800 (EXT4_SUPER_MAGIC): Likewise.
9801 (FUTEXFS_SUPER_MAGIC): Likewise.
9802 (HOSTFS_SUPER_MAGIC): Likewise.
9803 (HUGETLBFS_MAGIC): Likewise.
9804 (MINIX3_SUPER_MAGIC): Likewise.
9805 (MTD_INODE_FS_MAGIC): Likewise.
9806 (NILFS_SUPER_MAGIC): Likewise.
9807 (OPENPROM_SUPER_MAGIC): Likewise.
9808 (PIPEFS_MAGIC): Likewise.
9809 (PSTOREFS_MAGIC): Likewise.
9810 (QNX6_SUPER_MAGIC): Likewise.
9811 (RAMFS_MAGIC): Likewise.
9812 (REISERFS_SUPER_MAGIC_STRING): Likewise.
9813 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
9814 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
9815 (SECURITYFS_MAGIC): Likewise.
9816 (SELINUX_MAGIC): Likewise.
9817 (SMACK_MAGIC): Likewise.
9818 (SOCKFS_MAGIC): Likewise.
9819 (SQUASHFS_MAGIC): Likewise.
9820 (STACK_END_MAGIC): Likewise.
9821 (TMPFS_MAGIC): Likewise.
9822 (USBDEVICE_SUPER_MAGIC): Likewise.
9823 (V9FS_MAGIC): Likewise.
9824 (XENFS_SUPER_MAGIC): Likewise.
9825 (CRAMFS_MAGIC): Fix typo in comment.
9826 (EXT2_SUPER_MAGIC): Update comment.
9827 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
9828
464263cc
JM
98292014-02-08 Joseph Myers <joseph@codesourcery.com>
9830
c6bfe5c4
JM
9831 * sysdeps/arm: Move directory from ports/sysdeps/arm.
9832 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
9833 * sysdeps/unix/sysv/linux/arm: Move directory from
9834 ports/sysdeps/unix/sysv/linux/arm.
9835 * README: Update listing for arm-*-linux-gnueabi.
9836
464263cc
JM
9837 * README: Remove mention of am33.
9838
32749f6c
RM
98392014-02-07 Roland McGrath <roland@hack.frob.com>
9840
9841 * bits/sigset.h (__sigemptyset): Use a statement expression rather
9842 than the comma operator, to avoid "rhs of comma has no effect"
9843 compiler warnings.
9844 (__sigfillset, __sigandset, __sigorset): Likewise.
9845 * include/signal.h (__sigemptyset): Likewise.
9846 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
9847
d5b396c1
AM
98482014-02-07 Allan McRae <allan@archlinux.org>
9849
9850 * version.h (RELEASE): Set to "development".
9851 (VERSION): Set to "2.19.90"
9852 * NEWS: Add 2.20 section.
9853
3bfff2ed
CD
98542014-02-06 Carlos O'Donell <carlos@redhat.com>
9855
9856 [BZ #16529]
9857 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
9858
ee7cc385
SP
98592014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9860
9861 * manual/contrib.texi: Update entry for Carlos O'Donell,
9862 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
9863
f877c4f2
CD
98642014-02-05 Carlos O'Donell <carlos@rehdat.com>
9865
27e839f6
CD
9866 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
9867
f877c4f2
CD
9868 * sysdeps/unix/sysv/linux/kernel-features.h
9869 [__LINUX_KERNEL_VERSION >= 0x020621]
9870 (__ASSUME_PROC_PID_TASK_COMM): Define.
9871
68159946
SP
98722014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9873
ba17cdbd
SP
9874 [BZ #16398]
9875 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
9876 conversion when destination buffer does not have enough space.
9877 * libio/tst-ftell-partial-wide.c: New test case.
9878 * libio/Makefile (tests): Add tst-ftell-partial-wide.
9879
68159946
SP
9880 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
9881 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
9882 Leonard and Allan McRae.
9883
2b528732
DM
98842014-02-04 David S. Miller <davem@davemloft.net>
9885
9886 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
9887 32-bit.
9888
0ff82463
AZ
98892014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9890
57f41c40
AS
9891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9892 New file
c01603f7
AZ
9893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9894 New file
57f41c40
AS
9895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9896 New file.
9897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9898 New file.
c01603f7
AZ
9899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9900 New file.
57f41c40
AS
9901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9902 New file.
9903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9904 New file.
c01603f7
AZ
9905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9906 New file.
9907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9908 New file.
9909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9910 New file.
9911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9912 New file.
9913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9914 New file.
9915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9916 New file.
9917
99182014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9919
0ff82463
AZ
9920 * nptl/shlib-versions: Change powerpc*le start to 2.17.
9921 * shlib-versions: Likewise.
9922
1695c773
AZ
99232014-02-04 Roland McGrath <roland@hack.frob.com>
9924 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9925
9926 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
9927 (abilist-pattern): New variable, set to %-le.abilist.
9928
9929 * Makerules (abilist-pattern): New variable.
9930 (vpath): Use $(abilist-pattern) in place of %.abilist.
9931 (check-abi-% pattern rule): Likewise.
9932 (check-abi, update-abi): Likewise.
9933
6c0ce4b4
EW
99342014-02-04 Eric Wong <normalperson@yhbt.net>
9935
9936 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9937
481e3524
CD
99382014-02-03 Carlos O'Donell <carlos@redhat.com>
9939
9940 * manual/startup.texi: Add next, previous, and top entries for
9941 the `Program Arguments' and `Environment Variables' nodes.
9942
375592d3
AO
99432014-02-03 Alexandre Oliva <aoliva@redhat.com>
9944
9945 * manual/macros.texi: Add comments before MTASC-safety macros.
9946
f54838ba
AO
9947 * manual/users.texi: Document MTASC-safety properties.
9948
57f41c40
AS
9949 * manual/threads.texi (pthread_key_create, pthread_key_delete)
9950 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
9951 @deftypefun, and add @safety note.
9952 * manual/signal.texi: Move comments that analyze the above
9953 functions to their home place.
9954
fd3daba4
AM
99552014-02-03 Allan McRae <allan@archlinux.org>
9956
9957 * po/sl.po: Update Slovenian translation from translation project.
9958
597636d7
AO
99592014-02-02 Alexandre Oliva <aoliva@redhat.com>
9960
9961 * manual/time.texi (timegm): Add missing blank after @c.
9962 Reported by Joseph Myers <joseph@codesourcery.com>.
9963
ee196e3c
AO
99642014-02-01 Alexandre Oliva <aoliva@redhat.com>
9965
9966 * manual/check-safety.sh: New.
9967 * manual/Makefile ($(objpfx)stamp-summary): Run it.
9968
f8d529d5
AO
9969 * manual/terminal.texi: Document MTASC-safety properties.
9970
de55fdf4
AO
9971 * manual/filesys.texi: Document MTASC-safety properties.
9972
c3299c08
AO
9973 * manual/errno.texi: Document MTASC-safety properties.
9974
06e90b14
AO
9975 * manual/intro.texi: Document safety identifiers and
9976 conditionals.
9977
1acd4371
AO
9978 * manual/string.texi (wcstok): Fix prototype.
9979 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
9980
23e5b8cb
AO
9981 * manual/time.texi: Document MTASC-safety properties.
9982
11087373
AO
9983 * manual/string.texi: Document MTASC-safety properties.
9984
5da2c93d
AO
9985 * manual/threads.texi: Document MTASC-safety properties.
9986
171e9210
AO
9987 * manual/stdio.texi: Document MTASC-safety properties.
9988
d9e02532
AO
9989 * manual/syslog.texi: Document MTASC-safety properties.
9990
6af8bab7
AO
9991 * manual/sysinfo.texi: Document MTASC-safety properties.
9992
663b02d7
AO
9993 * manual/startup.texi: Document MTASC-safety properties.
9994
973f180b
AO
9995 * manual/socket.texi: Document MTASC-safety properties.
9996
8f3c25c8
AO
9997 * manual/signal.texi: Document MTASC-safety properties.
9998
542210fb
AO
99992014-01-31 Alexandre Oliva <aoliva@redhat.com>
10000
10001 * manual/setjmp.texi: Document MTASC-safety properties.
10002
433c45a2
AO
10003 * manual/search.texi: Document MTASC-safety properties.
10004
c8ce789c
AO
10005 * manual/resource.texi: Document MTASC-safety properties.
10006
19f5d29c
AO
10007 * manual/process.texi: Document MTASC-safety properties.
10008
e2dfb7f4
AO
10009 * manual/platform.texi: Document MTASC-safety properties.
10010
8c1413f5
AO
10011 * manual/pipe.texi: Document MTASC-safety properties.
10012
03483ada
AO
10013 * manual/pattern.texi: Document MTASC-safety properties.
10014
29e7e2df
AO
10015 * manual/message.texi: Document MTASC-safety properties.
10016
9f529d7c
AO
10017 [BZ #12751]
10018 * manual/memory.texi: Document MTASC-safety properties.
10019
27aaa791
AO
10020 * manual/math.texi: Document MTASC-safety properties.
10021
f2d58726
AO
10022 * manual/locale.texi: Document MTASC-safety properties.
10023
2cc3615c
AO
10024 * manual/llio.texi: Document MTASC-safety properties.
10025
d9f0ec97
AO
10026 * manual/libdl.texi: New.
10027
e7c4409a
AO
10028 * manual/lang.texi: Document MTASC-safety properties.
10029
27bdc63c
AO
10030 * manual/job.texi: Document MTASC-safety properties.
10031
a7b90ea9
AO
10032 * manual/getopt.texi: Document MTASC-safety properties.
10033
c49130e3
AO
10034 * manual/ctype.texi: Document MTASC-safety properties.
10035
0d23a5c1
MR
100362014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
10037
10038 [BZ #16046]
10039 * csu/libc-tls.c (static_map): Remove variable.
10040 (__libc_setup_tls): Use main executable's link map for TLS data.
10041 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
10042 casing for LM_ID_BASE and GL(dl_nns).
10043 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
10044 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
10045 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
10046 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
10047 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
10048 member.
10049 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
10050 l_phnum members.
10051
0037bb60
AO
100522014-01-30 Alexandre Oliva <aoliva@redhat.com>
10053
10054 * manual/debug.texi: Document MTASC-safety properties.
10055
409e00bd
L
100562014-01-29 H.J. Lu <hongjiu.lu@intel.com>
10057
10058 [BZ #16510]
10059 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
10060 of __x86_64__ when disabling x87 inline functions.
10061
86e60666
AO
100622014-01-29 Alexandre Oliva <aoliva@redhat.com>
10063
10064 * manual/charset.texi: Document MTASC-safety properties.
10065
76167637
AO
10066 * manual/crypt.texi: Document MTASC-safety properties.
10067
e567f2a0
AO
10068 * manual/conf.texi: Document MTASC-safety properties.
10069
b719dafd
AO
10070 * manual/arith.texi: Document MTASC-safety properties.
10071
4a16c662
AO
10072 * manual/argp.texi: Document MTASC-safety properties.
10073
0a57b83e
AO
10074 * manual/macros.texi: Introduce macros to document multi
10075 thread, asynchronous signal and asynchronous cancellation
10076 safety properties.
10077 * manual/intro.texi: Introduce the properties themselves.
10078
feab2397
KK
100792014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10080
10081 * sysdeps/sh/sh4/Makefile: New file.
10082
1c0d11bc
AS
100832014-01-27 Andreas Schwab <schwab@linux-m68k.org>
10084
10085 * math/gen-libm-test.pl ($srcdir): New variable.
10086 ($auto_input): Use it.
10087
af37a8a3
SP
100882014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10089
d7b00f98
SP
10090 [BZ #16506]
10091 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
10092 access beyond array bounds when parsing netgroups file.
10093
af37a8a3
SP
10094 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
10095 the old buffer before realloc.
10096
0c00f062
AM
100972014-01-27 Allan McRae <allan@archlinux.org>
10098
10099 * po/fr.po: Update French translation from translation project.
10100
7d69a1b0
KK
101012014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10102
10103 * sysdeps/sh/libm-test-ulps: Regenerate.
10104
6e697ff7
DM
101052014-01-24 David S. Miller <davem@davemloft.net>
10106
10107 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
10108
9cadb35c
KK
101092014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10110
10111 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
10112 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
10113
5d41dadf
SP
101142013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10115
10116 [BZ #16474]
10117 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
10118 string pointers after reallocation.
10119
0bad441c
KK
101202014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10121
10122 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
10123 __SH4A__ instead of __SH_FPU_ANY__.
10124
7007c661
KK
101252014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10126
10127 * sysdeps/sh/fpu_control.h: New file.
10128 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
10129 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
10130 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
10131 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
10132 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
10133 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
10134 * sysdeps/sh/sys/ucontext.h: Remove.
10135 * sysdeps/sh/sys: Remove directory.
10136
0f0c35e4
AK
101372014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10138
10139 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
10140 s390/sys/ucontext.h.
10141 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
10142 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
10143
4959e284
L
101442014-01-20 H.J. Lu <hongjiu.lu@intel.com>
10145
10146 [BZ #15605]
10147 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
10148
d98720e0
AZ
101492014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10150
10151 [BZ#16431]
10152 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10153 Adjust the vDSO correctly for internal calls.
10154 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10155
91cbd0bc
AM
101562014-01-20 Allan McRae <allan@archlinux.org>
10157
10158 * po/ca.po: Update Catalan translation from translation project.
10159
7a02cfad
MF
101602014-01-16 Mike Frysinger <vapier@gentoo.org>
10161
10162 * sysdeps/s390/sotruss-lib.c: New file.
10163
736c304a
AZ
101642014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10165
10166 [BZ#16430]
6e077ee5 10167 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
10168 (__GI___gettimeofday): Alias for a different internal symbol to avoid
10169 local calls issues by not having a PLT stub required for IFUNC calls.
10170 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10171
94d0cea0
JM
101722014-01-16 Joseph Myers <joseph@codesourcery.com>
10173
10174 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
10175 * math/test-fpucw-static.c: Likewise.
10176
980cb518
SP
101772013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10178
10179 [BZ #16453]
10180 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
10181
2393fc01
AZ
101822014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10183
10184 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
10185 implementation for powerpc.
10186
d359bcc2
OB
101872014-01-15 Ondřej Bílka <neleai@seznam.cz>
10188
10189 [BZ #14782]
10190 * sysdeps/posix/system.c (__libc_system): Do not enable
10191 asynchronous cancellation.
10192
7beb48cb
AK
101932014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10194
10195 [BZ #16427]
10196 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
10197 handling only for numbers special also in the IEEE case.
10198
c20d5bf5
AK
101992014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10200
10201 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10202
e83bd4ee
AM
102032014-01-11 Allan McRae <allan@archlinux.org>
10204
76d0ea69
AM
10205 * po/bg.po: Update Bulgarian translation from translation project.
10206
e83bd4ee
AM
10207 * po/de.po: Update German translation from translation project.
10208
bc2ba20a
RM
102092014-01-10 Roland McGrath <roland@hack.frob.com>
10210
10211 * sysdeps/generic/gcc-compat.h: New file.
10212
649ecea2
SP
102132014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10214
10215 * benchtests/asin-inputs: Correct slow inputs.
10216 * benchtests/acos-inputs: Likewise.
10217
1b19c006
AM
102182014-01-10 Allan McRae <allan@archlinux.org>
10219
a46dab08
AM
10220 * po:sv.po: Update Swedish translation from translation project.
10221
421df74a
AM
10222 * po/vi.po: Update Vietnamese translation from translation project.
10223
d61c51a7
AM
10224 * po/eo.po: Update Esperanto translation from translation project.
10225
0339a319
AM
10226 * po/cs.po: Update Czech translation from translation project.
10227
94ad3e99
AM
10228 * po/nl.po: Update Dutch translation from translation project.
10229
e349ca71
AM
10230 * po/pl.po: Update Polish translation from translation project.
10231
ddf930c1
AM
10232 * po/ru.po: Update Russian translation from translation project.
10233
1b19c006
AM
10234 * po/uk.po: Update Ukrainian translation from translation project.
10235
9f236c49
BM
102362014-01-08 Brooks Moses <bmoses@google.com>
10237
10238 * elf/dl-load.c: Fix comment typo.
10239
cd6701cf
CD
102402014-01-08 Carlos O'Donell <carlos@redhat.com>
10241
10242 * po/header.pot: Rename to...
10243 * po/pot.header: ... this.
10244 * po/Makefile: Use pot.header.
10245
66671c84
YK
102462014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
10247 Maxim Kuvyrkov <maxim@kugelworks.com>
10248
10249 [BZ #16394]
cd6701cf
CD
10250 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10251 SRC and DEST against LEN.
66671c84 10252
38f34581
AZ
102532014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10254
10255 [BZ #16414]
10256 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10257 implementation.
10258 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10259
102602014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
10261
10262 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10263
4c327f2a
JM
102642014-01-08 Joseph Myers <joseph@codesourcery.com>
10265
10266 [BZ #16408]
10267 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
10268 for large positive arguments.
10269
b821f414
JM
102702014-01-07 Joseph Myers <joseph@codesourcery.com>
10271
1f0f2067
JM
10272 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10273
a5a326f6
JM
10274 * math/auto-libm-test-in: Mark various tests with
10275 xfail-rounding:ldbl-128ibm.
10276 * math/auto-libm-test-out: Regenerated.
10277
b821f414
JM
10278 [BZ #16407]
10279 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10280 Increase overflow threshold.
10281
94c8a4bc
OB
102822014-01-07 Ondřej Bílka <neleai@seznam.cz>
10283
10284 [BZ #14286]
10285 * stdio-common/vfprintf.c: Check for integer overflow.
10286
87ded0c3
AK
102872014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10288
10289 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
10290 the first argument and return value of __tls_get_addr_internal.
10291
c5eebdd0
AK
102922014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10293
10294 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
10295 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
10296
05d138ef
AK
102972014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10298
10299 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
10300 * sysdeps/s390/rtld-global-offsets.sym: New file.
10301 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
10302 GLIBC_2.19 symbol.
10303 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
10304 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
10305 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10306 ... this.
10307 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
10308 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10309 ... this.
10310 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10311 Regenerate.
10312 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10313 Regenerate.
10314 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
10315 halfs of GPRs for high_gprs contexts.
10316 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
10317 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
10318 field.
10319 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
10320 uc_flags field.
10321 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
10322 64 bit versions:
10323 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
10324 for high GPRs (uc_high_gprs) and for future extensions
10325 (__reserved).
10326 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
10327 for future extensions (__reserved).
10328 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
10329 64 bit versions:
10330 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
10331 SC_HIGHGPRS offset definition.
10332 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
10333 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
10334
93a45ff1
AK
10335 * Versions.def: Add GLIBC_2.19 for libpthread.
10336 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
10337 siglongjmp for libpthread with GLIBC_2.19 symver.
10338 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
10339 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
10340 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
10341 * sysdeps/s390/__longjmp.c: New file.
10342 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
10343 * sysdeps/s390/longjmp.c: New file.
10344 * sysdeps/s390/setjmp.S: New file.
10345 * sysdeps/s390/sigjmp.S: New file.
10346 * sysdeps/s390/v1-longjmp.c: New file.
10347 * sysdeps/s390/v1-setjmp.h: New file.
10348 * sysdeps/s390/v1-sigjmp.c: New file.
10349 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
10350 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
10351 GLIBC_2.19 version.
10352 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
10353 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
10354 versioned symbols for ____longjmp_chk.
10355 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10356 Likewise.
10357 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10358 Regenerate.
10359 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10360 Regenerate.
10361 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10362 Regenerate.
10363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10364 Regenerate.
10365 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
10366 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
10367 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
10368 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
10369 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
10370 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
10371 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
10372 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
10373 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
10374 * sysdeps/s390/rtld-__longjmp.c: New file.
10375 * sysdeps/s390/rtld-setjmp.S: New file.
10376
eb3fc44b
JM
103772014-01-06 Joseph Myers <joseph@codesourcery.com>
10378
10379 [BZ #16400]
10380 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10381 Return -__logl (x) for small positive arguments without evaluating
10382 a polynomial.
10383
9341dde4
MF
103842014-01-06 Mike Frysinger <vapier@gentoo.org>
10385
10386 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
10387 Rename to ...
10388 (__ptrace_peeksiginfo_args): ... this.
10389 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10390 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10391 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10392
4cff0293
AM
103932014-01-06 Allan McRae <allan@archlinux.org>
10394
10395 * inet/netinet/in.h: Fix typo in comment.
10396
75595dcf
AJ
103972014-01-05 Andreas Jaeger <aj@suse.de>
10398
10399 * sysdeps/i386/fpu/libm-test-ulps: Update.
10400
79c1e109
AM
104012014-01-05 Allan McRae <allan@archlinux.org>
10402
dd804818
AM
10403 * po/libc.pot: Regenerated.
10404
79c1e109
AM
10405 * malloc/memusagestat.c: Fix gettext call formatting.
10406
0c813d1f
SK
104072014-01-04 Sami Kerola <kerolasa@iki.fi>
10408
10409 * nscd/nscd.c: Improve usage() output.
10410
20f4a8d9
MF
104112014-01-04 Mike Frysinger <vapier@gentoo.org>
10412
10413 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
10414 * sysdeps/unix/sysv/linux/configure: Regenerated.
10415 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
10416 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
10417
22562bb2
JM
104182014-01-03 Joseph Myers <joseph@codesourcery.com>
10419
10420 [BZ #16390]
10421 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10422 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
10423
d7ad2d9b
AZ
104242014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10425
10426 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
10427 extra tokens at end of #undef directive.
10428 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
10429 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
10430 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10431
7dd009d8
JM
104322014-01-03 Joseph Myers <joseph@codesourcery.com>
10433
24db925a
JM
10434 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10435
7dd009d8
JM
10436 * math/auto-libm-test-in: Mark various tests with
10437 xfail-rounding:ldbl-128ibm.
10438 * math/auto-libm-test-out: Regenerated.
10439
396e3ecf
JM
104402014-01-02 Joseph Myers <joseph@codesourcery.com>
10441
819e5d50
JM
10442 [BZ #16386]
10443 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
10444 numbers with subnormal high part when calculating exponent.
10445
90b6a1e5
JM
10446 [BZ #16385]
10447 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
10448 fabs.
10449
396e3ecf
JM
10450 [BZ #16384]
10451 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
10452 M_LN2l.
10453 (__ieee754_acoshl): Use __log1pl not __log1p.
10454
6c8dbf00
OB
104552013-01-02 Ondřej Bílka <neleai@seznam.cz>
10456
57f41c40
AS
10457 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
10458 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
10459 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
10460 (grow_heap, heap_trim, _int_new_arena, get_free_list)
10461 (reused_arena, arena_get2): Convert to GNU style.
10462 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
10463 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
10464 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 10465 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
10466 * malloc/malloc.c (__malloc_assert, malloc_init_state)
10467 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
10468 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
10469 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
10470 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
10471 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 10472 * malloc/malloc.h: Likewise.
57f41c40
AS
10473 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
10474 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 10475 * malloc/mcheck.h: Likewise.
57f41c40
AS
10476 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
10477 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
10478 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
10479 * malloc/morecore.c (__default_morecore): Likewise.
10480 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
10481 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
10482 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
10483 (print_and_abort): Likewise.
6c8dbf00
OB
10484 * malloc/obstack.h: Likewise.
10485 * malloc/set-freeres.c (__libc_freeres): Likewise.
10486 * malloc/tst-mallocstate.c (main): Likewise.
10487 * malloc/tst-mtrace.c (main): Likewise.
10488 * malloc/tst-realloc.c (do_test): Likewise.
10489
d4124212
SP
104902013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10491
9a3c6a6f
SP
10492 [BZ #16366]
10493 * nscd/netgroupcache.c (do_notfound): New function.
10494 (addgetnetgrentX): Use it.
10495
d4124212
SP
10496 [BZ # 16365]
10497 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
10498 NSS_STATUS_NOTFOUND.
10499
97b9a009
JM
105002014-01-01 Joseph Myers <joseph@codesourcery.com>
10501
10502 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10504
d4697bc9
AM
105052014-01-01 Allan McRae <allan@archlinux.org>
10506
ddb3687f
AM
10507 * scripts/update-copyrights: Update configure input file suffix.
10508
88726d48
AM
10509 * NEWS: Update copyright year.
10510 * catgets/gencat.c: Likewise.
10511 * csu/version.c: Likewise.
10512 * debug/catchsegv.sh: Likewise.
10513 * debug/pcprofiledump.c: Likewise.
10514 * debug/xtrace.sh: Likewise.
10515 * elf/ldconfig.c: Likewise.
10516 * elf/ldd.bash.in: Likewise.
10517 * elf/pldd.c: Likewise.
10518 * elf/sotruss.ksh: Likewise.
10519 * elf/sprof.c: Likewise.
10520 * iconv/iconv_prog.c: Likewise.
10521 * iconv/iconvconfig.c: Likewise.
10522 * locale/programs/locale.c: Likewise.
10523 * locale/programs/localedef.c: Likewise.
10524 * login/programs/pt_chown.c: Likewise.
10525 * malloc/memusage.sh: Likewise.
10526 * malloc/memusagestat.c: Likewise.
10527 * malloc/mtrace.pl: Likewise.
10528 * manual/libc.texinfo: Likewise.
10529 * nscd/nscd.c: Likewise.
10530 * nss/getent.c: Likewise.
10531 * nss/makedb.c: Likewise.
10532 * posix/getconf.c: Likewise.
10533 * scripts/test-installation.pl: Likewise.
10534
d4697bc9
AM
10535 * All files with FSF copyright notices: Update copyright dates
10536 using scripts/update-copyrights.
10537 * intl/plural.c: Regenerated.
10538 * locale/programs/charmap-kw.h: Likewise.
10539 * locale/programs/locfile-kw.h: Likewise.
10540
c8590f9d
MF
105412013-12-31 Mike Frysinger <vapier@gentoo.org>
10542
10543 * sysdeps/unix/sysv/linux/configure: Regenerated.
10544 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
10545 the linux/fanotify.h header.
10546 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
10547 HAVE_LINUX_FANOTIFY_H is defined.
10548
b19221b9
SP
105492013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10550
dd1d85e5
SP
10551 * benchtests/cos-inputs: New inputs.
10552 * benchtests/sin-inputs: Likewise.
10553
1acbb90f
SP
10554 * benchtests/atan-inputs: New inputs. Fix name of multiple
10555 precision fallback inputs.
10556
4c012ed3
SP
10557 * benchtests/atanh-inputs: New inputs.
10558 * benchtests/tanh-inputs: Likewise.
10559
eff98324
SP
10560 * benchtests/acosh-inputs: New inputs.
10561 * benchtests/asinh-inputs: Likewise.
10562
ce641152
SP
10563 * benchtests/cosh-inputs: New inputs.
10564 * benchtests/sinh-inputs: Likewise.
10565
b19221b9
SP
10566 * benchtests/acos-inputs: Add more inputs.
10567 * benchtests/asin-inputs: Likewise.
10568
030a4976 105692013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 10570
030a4976 10571 [BZ #16375]
9dcc8f11
VS
10572 * manual/arith.texi: Fix spelling.
10573 * manual/charset.texi: Likewise.
10574 * manual/errno.texi: Likewise.
10575 * manual/filesys.texi: Likewise.
10576 * manual/lang.texi: Likewise.
10577 * manual/llio.texi: Likewise.
10578 * manual/locale.texi: Likewise.
10579 * manual/message.texi: Likewise.
10580 * manual/resource.texi: Likewise.
10581 * manual/search.texi: Likewise.
10582 * manual/setjmp.texi: Likewise.
10583 * manual/stdio.texi: Likewise.
10584 * manual/string.texi: Likewise.
10585 * manual/sysinfo.texi: Likewise.
10586 * manual/time.texi: Likewise.
10587
11520a57
CD
105882013-12-27 Carlos O'Donell <carlos@redhat.com>
10589
10590 * po/sl.po: New file.
10591
471103ae
MF
105922013-12-27 Mike Frysinger <vapier@gentoo.org>
10593
10594 * .gitignore: Add core/.gdbinit/.gdb_history.
10595
6c9642ed
AM
105962013-12-27 Allan McRae <allan@archlinux.org>
10597
10598 [BZ #16369]
10599 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
10600 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
10601
3f637079
BM
106022013-12-24 Brooks Moses <bmoses@google.com>
10603
10604 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
10605 all compilers that claim C++98 compliance, not just GCC.
10606 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
10607 Likewise.
10608
abc26e99
MK
106092013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10610
10611 * NEWS: Restore accidentally deleted bug-fix entries.
10612
362b47fe
MK
106132013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10614 Ondřej Bílka <neleai@seznam.cz>
10615
10616 [BZ #15073]
10617 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 10618 have_lock.
362b47fe 10619
b9bcbbcb
OB
106202013-12-23 Ondřej Bílka <neleai@seznam.cz>
10621
10622 [BZ #12986]
10623 * manual/stdio.texi (String Input Conversions): Clarify that character
10624 classes are not supported.
10625
fb55fcd2
AZ
106262013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10627
10628 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10629
ef7344f0
JM
106302013-12-22 Joseph Myers <joseph@codesourcery.com>
10631
4f40e4b3
JM
10632 [BZ #16337]
10633 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10634 Calculate results for small negative arguments directly rather
10635 than using reflection formula with special underflow handling.
10636
ef7344f0
JM
10637 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
10638 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
10639 sysdeps/unix/bsd/bsd4.4/syscalls.list.
10640 (fchflags): Likewise.
10641 (revoke): Likewise.
10642 (setlogin): Likewise.
10643 (sigaltstack): Likewise.
10644 (wait4): Likewise.
10645 (sigblock): Remove.
10646 (sigsetmask): Likewise.
10647 (wait3): Likewise.
10648 (waitpid): Likewise.
10649 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
10650 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
10651 file.
10652 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
10653 * sysdeps/unix/bsd/Makefile: ... here.
10654 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
10655 * sysdeps/unix/bsd/Versions: ... here.
10656 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
10657 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
10658 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
10659 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
10660 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
10661 * sysdeps/unix/bsd/sigblock.c: ... here.
10662 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
10663 * sysdeps/unix/bsd/sigsetmask.c: ... here.
10664 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
10665 * sysdeps/unix/bsd/sigvec.c: ... here.
10666 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
10667 * sysdeps/unix/bsd/tcdrain.c: ... here.
10668 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
10669 * sysdeps/unix/bsd/tcgetattr.c: ... here.
10670 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
10671 * sysdeps/unix/bsd/tcsetattr.c: ... here.
10672 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
10673 * sysdeps/unix/bsd/wait.c: ... here.
10674 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
10675 * sysdeps/unix/bsd/wait3.c: ... here.
10676 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
10677 * sysdeps/unix/bsd/waitpid.c: ... here.
10678
5b0626b9
JM
106792013-12-21 Joseph Myers <joseph@codesourcery.com>
10680
10681 [BZ #16356]
10682 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
10683 round-to-nearest for [!USE_AS_EXPM1L].
10684 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
10685 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
10686 more tests of exp and exp10. Expect some exp10 tests to miss
10687 exceptions or fail in directed rounding modes.
10688 * math/auto-libm-test-out: Regenerated.
10689 * math/libm-test.inc (exp10_tonearest_test_data): New array.
10690 (exp10_test_tonearest): New function.
10691 (exp10_towardzero_test_data): New array.
10692 (exp10_test_towardzero): New function.
10693 (exp10_downward_test_data): New array.
10694 (exp10_test_downward): New function.
10695 (exp10_upward_test_data): New array.
10696 (exp10_test_upward): New function.
10697 (main): Call the new functions.
10698 * sysdeps/i386/fpu/libm-test-ulps: Update.
10699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10700
7fda5682
JM
107012013-12-20 Joseph Myers <joseph@codesourcery.com>
10702
31e3a405
JM
10703 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10704 asinh, atan, atan2, atanh, cbrt, cos and cosh.
10705 * math/auto-libm-test-out: Regenerated.
10706 * math/libm-test.inc (acosh_test_data): Add more tests.
10707 (atanh_test_data): Likewise.
10708 (ceil_test_data): Likewise.
10709 (copysign_test_data): Likewise.
10710 * sysdeps/i386/fpu/libm-test-ulps: Update.
10711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10712
85bff96a
JM
10713 * timezone/checktab.awk: Update from tzcode 2013i.
10714 * timezone/private.h: Likewise.
10715 * timezone/scheck.c: Likewise.
10716 * timezone/tzfile.h: Likewise.
10717 * timezone/tzselect.ksh: Likewise.
10718 * timezone/zdump.c: Likewise.
10719 * timezone/zic.c: Likewise.
10720
b7867a3b
JM
10721 * math/auto-libm-test-in: Add tests of cpow.
10722 * math/auto-libm-test-out: Regenerated.
10723 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 10724 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
10725 mpc_cc_c.
10726 (func_calc_desc): Add mpc_cc_c union field.
10727 (test_functions): Add cpow.
10728 (special_fill_2pi): New function.
10729 (special_real_inputs): Add 2pi.
10730 (calc_generic_results): Handle mpc_cc_c.
10731 * sysdeps/i386/fpu/libm-test-ulps: Update.
10732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10733
7fda5682
JM
10734 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
10735 csqrt, ctan and ctanh.
10736 * math/auto-libm-test-out: Regenerated.
10737 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10738 (TEST_COND_x86): Likewise.
10739 (ccos_test_data): Use AUTO_TESTS_c_c.
10740 (ccosh_test_data): Likewise.
10741 (cexp_test_data): Likewise.
10742 (clog_test_data): Likewise.
10743 (csqrt_test_data): Likewise.
10744 (ctan_test_data): Likewise.
10745 (ctan_tonearest_test_data): Likewise.
10746 (ctan_towardzero_test_data): Likewise.
10747 (ctan_downward_test_data): Likewise.
10748 (ctan_upward_test_data): Likewise.
10749 (ctanh_test_data): Likewise.
10750 (ctanh_tonearest_test_data): Likewise.
10751 (ctanh_towardzero_test_data): Likewise.
10752 (ctanh_downward_test_data): Likewise.
10753 (ctanh_upward_test_data): Likewise.
10754 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10755 mpc_c_c.
10756 (func_calc_desc): Add mpc_c_c union field.
10757 (FUNC_mpc_c_c): New macro.
10758 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
10759 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
10760 ctanh.
10761 (special_fill_min_subnorm_p120): New function.
10762 (special_real_inputs): Add min_subnorm_p120.
10763 (calc_generic_results): Handle mpc_c_c.
10764 * sysdeps/i386/fpu/libm-test-ulps: Update.
10765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10766
5ff8d60e
SP
107672013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10768
57f41c40
AS
10769 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10770 (do_sin_slow): New functions.
10771 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10772 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 10773
84ba214c
SP
10774 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10775 Use M to change sign of result instead of X. Assume X is
10776 positive.
10777 (csloww1): Likewise.
10778 (__sin): Adjust.
10779 (__cos): Adjust.
10780
975195e4
SP
10781 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10782 arguments A and DA.
10783 (__sin): Adjust.
10784 (__cos): Likewise.
10785
5ff8d60e
SP
10786 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10787 (__cos): Likewise.
10788 (sloww1): Don't adjust sign of DX.
10789 (csloww1): Likewise.
10790 (sloww2): Use X directly and don't adjust sign of DX.
10791 (csloww2): Likewise.
10792
eb983568
JM
107932013-12-19 Joseph Myers <joseph@codesourcery.com>
10794
64a17f1a
JM
10795 * math/auto-libm-test-in: Add tests of cabs and carg.
10796 * math/auto-libm-test-out: Regenerated.
10797 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
10798 (carg_test_data): Likewise.
10799 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10800 mpc_c_f.
10801 (func_calc_desc): Add mpc_c_f union field.
10802 (test_functions): Add cabs and carg.
10803 (calc_generic_results): Handle mpc_c_f.
10804
eb983568
JM
10805 * sysdeps/powerpc/powerpc32/libgcc-compat.S
10806 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
10807 as a macro and a compat symbol.
10808 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10809 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10810 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10811 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10812 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
10813 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
10814 not use .hidden.
10815 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
10816 Likewise.
10817 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
10818 Likewise.
10819 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
10820 Likewise.
10821 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
10822 Likewise.
10823 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
10824 Likewise.
10825 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
10826 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
10827 from GLIBC_2.3.2.
10828
6eeb678a
AZ
108292013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10830
10831 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10832
6f6fc482
JM
108332013-12-19 Joseph Myers <joseph@codesourcery.com>
10834
21fea2e2
JM
10835 * manual/texinfo.tex: Update to version 2013-11-26.10 with
10836 trailing whitespace removed.
10837 * scripts/config.guess: Update to version 2013-11-29.
10838 * scripts/config.sub: Update to version 2013-10-01.
10839
6f6fc482
JM
10840 * math/auto-libm-test-in: Add tests of sincos.
10841 * math/auto-libm-test-out: Regenerated.
10842 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
10843 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10844 mpfr_f_11.
10845 (func_calc_desc): Add mpfr_f_11 union field.
10846 (test_functions): Add sincos.
10847 (calc_generic_results): Handle mpfr_f_11.
10848 * sysdeps/i386/fpu/libm-test-ulps: Update.
10849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10850
83f5c32d
AS
108512013-12-19 Andreas Schwab <schwab@suse.de>
10852
10853 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
10854 CALL_MCOUNT.
10855 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10856 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
10857 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
10858
c688b419
JM
108592013-12-19 Joseph Myers <joseph@codesourcery.com>
10860
335ee092
JM
10861 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
10862 * sysdeps/i386/fpu/libm-test-ulps: Update.
10863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10864
f88acd39
JM
10865 [BZ #16293]
10866 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
10867 round-to-nearest mode when using frndint.
10868 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
10869 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10870 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10871 Likewise.
10872 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
10873 sinh test to fail.
10874 * math/auto-libm-test-out: Regenerated.
10875 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
10876 (TEST_COND_x86): Likewise.
10877 (expm1_tonearest_test_data): New array.
10878 (expm1_test_tonearest): New function.
10879 (expm1_towardzero_test_data): New array.
10880 (expm1_test_towardzero): New function.
10881 (expm1_downward_test_data): New array.
10882 (expm1_test_downward): New function.
10883 (expm1_upward_test_data): New array.
10884 (expm1_test_upward): New function.
10885 (main): Run the new test functions.
10886 * sysdeps/i386/fpu/libm-test-ulps: Update.
10887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10888
c688b419
JM
10889 * include/features.h: Update comment documenting feature test
10890 macros. Mention _DEFAULT_SOURCE in comment.
10891 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
10892 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
10893 _BSD_SOURCE and _SVID_SOURCE.
10894 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
10895 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
10896 !_SVID_SOURCE]: Likewise.
10897 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10898 (__USE_POSIX_IMPLICITLY): Define.
10899 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10900 (_POSIX_SOURCE): Undefine and redefine.
10901 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10902 (_POSIX_C_SOURCE): Likewise.
10903 * manual/creature.texi (_DEFAULT_SOURCE): Document.
10904 (Feature Test Macros): Update documentation of default features.
10905
9f6e964c
RS
109062013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10907
10908 * benchtests/Makefile: Add bench-strtok.
10909 * benchtests/bench-strtok.c: New file: strtok benchtest.
10910
ee0a148a
AM
109112013-12-19 Allan McRae <allan@archlinux.org>
10912
10913 * manual/install.texi: Suppress menu for plain text output.
10914 * INSTALL: Regenerated.
10915
b9ab448f
BM
109162013-12-18 Brooks Moses <bmoses@google.com>
10917
10918 [BZ #15846]
10919 * misc/getauxval.c: Include errno.h.
10920 (__getauxval): Set errno to ENOENT if the requested type is not
10921 found.
10922 * misc/sys/auxv.h (getauxval): Document that it may set errno;
10923 don't declare with __attribute_const__.
10924 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
10925 * manual/startup.texi: Document that getauxval sets errno.
10926
23776487
JM
109272013-12-18 Joseph Myers <joseph@codesourcery.com>
10928
f889953b
JM
10929 * math/auto-libm-test-in: Add tests of jn and yn.
10930 * math/auto-libm-test-out: Regenerated.
10931 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
10932 (yn_test_data): Likewise.
10933 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10934 mpfr_if_f.
10935 (func_calc_desc): Add mpfr_if_f union field.
10936 (FUNC_mpfr_if_f): New macro.
10937 (test_functions): Add jn and yn.
10938 (calc_generic_results): Assert type of second input for
10939 mpfr_ff_f. Handle mpfr_if_f.
10940 (output_for_one_input_case): Disable all checking for arguments
10941 fitting floating-point types in case of an integer argument.
10942 * sysdeps/i386/fpu/libm-test-ulps: Update.
10943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10944
23776487
JM
10945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10946 Don't expect fegetround reference in libm.so.
10947
cb756c6d
MS
109482013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10949
10950 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
10951 $(config-cflags-nofma).
10952
2dec468f
JM
109532013-12-18 Joseph Myers <joseph@codesourcery.com>
10954
5953eb3a
JM
10955 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
10956 * math/auto-libm-test-out: Regenerated.
10957
2dec468f
JM
10958 [BZ #16338]
10959 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
10960 to determine exponent and adjust argument to have exponent of -1.
10961 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10962 log2.
10963 * math/auto-libm-test-out: Regenerated.
10964 * sysdeps/i386/fpu/libm-test-ulps: Update.
10965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10966
4d84e6ad
OB
109672013-12-18 Ondřej Bílka <neleai@seznam.cz>
10968
10969 * manual/probes.texi: Remove cases when per-thread arenas are
10970 disabled.
10971
1818483b
AS
109722013-12-18 Andreas Schwab <schwab@suse.de>
10973
10974 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
10975 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
10976 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
10977 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
10978 * sysdeps/i386/i686/multiarch/Makefile: Update.
10979 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
10980
25de95bf
JM
109812013-12-17 Joseph Myers <joseph@codesourcery.com>
10982
10983 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
10984 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
10985
674762d9
PE
109862013-12-17 Paul Eggert <eggert@cs.ucla.edu>
10987
ed27ed83 10988 [BZ #15968]
0748546f
PE
10989 Support TZ transition times < 00:00:00.
10990 This is needed for version-3 tz-format files; it supports time
10991 stamps past 2037 for America/Godthab (the only entry in the tz
10992 database for which this change is relevant).
10993 * manual/time.texi (TZ Variable): Document transition times
10994 from -167:59:59 through -00:00:01.
10995 * time/tzset.c (tz_rule): Time of day is now signed.
10996 (__tzset_parse_tz): Parse negative time of day.
10997
4480e934
PE
10998 Document TZ transition times >= 25:00:00.
10999 * manual/time.texi (TZ Variable): Document transition times from
11000 25:00:00 through 167:59:59. These are already supported, and this
11001 support will help with version-3 tz-format files.
11002
69947401
PE
11003 * manual/time.texi (TZ Variable): Modernize North America example
11004 to reflect current (i.e., 2007-and-later) daylight saving rules.
11005
674762d9
PE
11006 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
11007
7011c262
JM
110082013-12-17 Joseph Myers <joseph@codesourcery.com>
11009
2fc6557e
JM
11010 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
11011 * sysdeps/unix/bsd/bits/stat.h: Likewise.
11012 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
11013 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11014 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
11015 * sysdeps/unix/bsd/bsdstat.h: Likewise.
11016 * sysdeps/unix/bsd/clock.c: Likewise.
11017 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
11018 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
11019 * sysdeps/unix/bsd/init-posix.c: Likewise.
11020 * sysdeps/unix/bsd/poll.c: Likewise.
11021 * sysdeps/unix/bsd/ptsname.c: Likewise.
11022 * sysdeps/unix/bsd/seekdir.c: Likewise.
11023 * sysdeps/unix/bsd/setegid.c: Likewise.
11024 * sysdeps/unix/bsd/seteuid.c: Likewise.
11025 * sysdeps/unix/bsd/setgid.c: Likewise.
11026 * sysdeps/unix/bsd/setrgid.c: Likewise.
11027 * sysdeps/unix/bsd/setruid.c: Likewise.
11028 * sysdeps/unix/bsd/setsid.c: Likewise.
11029 * sysdeps/unix/bsd/setuid.c: Likewise.
11030 * sysdeps/unix/bsd/sigaction.c: Likewise.
11031 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
11032 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
11033 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
11034 * sysdeps/unix/bsd/telldir.c: Likewise.
11035 * sysdeps/unix/bsd/times.c: Likewise.
11036 * sysdeps/unix/bsd/usleep.c: Likewise.
11037
029c7b25
JM
11038 * misc/Makefile (install-lib): Remove libbsd-compat.a.
11039 ($(objpfx)libbsd-compat.a): Remove rule.
11040
7011c262
JM
11041 * include/features.h (__FAVOR_BSD): Do not define.
11042 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
11043 features conflicting with POSIX.
11044 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
11045 (_BSD_SOURCE): Remove description of not being a subset of other
11046 feature test macros.
11047 * manual/job.texi (getpgrp): Do not document BSD version.
11048 (getpgid): Do not document by reference to BSD getpgrp.
11049 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
11050 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
11051 * signal/signal.h [__FAVOR_BSD]: Likewise.
11052 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
11053 instead of making contents conditional on [__FAVOR_BSD].
11054 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
11055
affb6f78
AZ
110562013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11057
11058 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11059
c88769dd
JM
110602013-12-17 Joseph Myers <joseph@codesourcery.com>
11061
6432a540
JM
11062 [BZ #16314]
11063 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
11064 values below 2**-450, not 2**-500.
11065 * math/auto-libm-test-in: Don't allow spurious underflow from
11066 hypot.
11067 * math/auto-libm-test-out: Regenerated.
11068
c88769dd
JM
11069 [BZ #16316]
11070 [BZ #16330]
11071 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
11072 values of ha and hb and sort them after adjusting subnormal
11073 arguments.
11074 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11075 Likewise.
11076 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
11077 values of ea and eb and sort them after adjusting subnormal
11078 arguments.
11079 * math/auto-libm-test-in: Do not expect some hypot tests of
11080 subnormals to fail. Add more hypot tests.
11081 * math/auto-libm-test-out: Regenerated.
11082
29618f6b
KK
110832013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11084
11085 [BZ #13304]
11086 * sysdeps/sh/s_fma.c: New file.
11087 * sysdeps/sh/s_fmaf.c: New file.
11088 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
11089 version.
11090 * sysdeps/sh/Implies: Add sh/soft-fp.
11091
eacfdfbf
RM
110922013-12-16 Roland McGrath <roland@hack.frob.com>
11093
11094 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
11095 level of indirection to members `objname', `errstring', `malloced'.
11096 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
11097 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
11098 it as the __longjmp argument (just pass 1 instead).
11099 (_dl_catch_error): Initialize C with argument pointers and address of
11100 volatile local ERRCODE rather than copying values out of C at return.
11101
ff362e5b
JM
111022013-12-16 Joseph Myers <joseph@codesourcery.com>
11103
11104 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
11105 * math/auto-libm-test-out: Regenerated.
11106 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
11107 (hypot_test_data): Likewise.
11108 (pow_test_data): Likewise.
11109 (pow_tonearest_test_data): Likewise.
11110 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11111 mpfr_ff_f.
11112 (func_calc_desc): Add mpfr_ff_f union field.
11113 (FUNC_mpfr_ff_f): New macro.
11114 (test_functions): Add atan2, hypot and pow.
11115 (special_fill_min): New function.
11116 (special_fill_minus_min): Likewise.
11117 (special_fill_min_subnorm): Likewise.
11118 (special_fill_minus_min_subnorm): Likewise.
11119 (special_real_inputs): Add min, -min, min_subnorm and
11120 -min_subnorm.
11121 (calc_generic_results): Handle mpfr_ff_f.
11122 * sysdeps/i386/fpu/libm-test-ulps: Update.
11123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11124
5764c27f
WN
111252013-12-16 Will Newton <will.newton@linaro.org>
11126
11127 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
11128 (Aligned Memory Blocks): Add documentation for aligned_alloc
11129 and suggest it as an alternative to posix_memalign.
11130 (Hooks for Malloc): Document __memalign_hook is also called
11131 for aligned_alloc. (Summary of Malloc): Add summary for
11132 aligned alloc. Document __memalign_hook is also called
11133 for aligned_alloc.
11134
0a096e44
WN
111352013-12-16 Will Newton <will.newton@linaro.org>
11136
11137 * manual/memory.texi (Malloc Examples): Clarify default
11138 alignment documentation. Suggest posix_memalign rather
11139 than memalign or valloc.
11140 (Aligned Memory Blocks): Remove suggestion to use memalign
11141 or valloc. Remove obsolete comment about BSD.
11142 Document memalign errno values and mark the function obsolete.
11143 Document posix_memalign returned error codes. Mark valloc
11144 as obsolete. (Hooks for Malloc): __memalign_hook is also
11145 called for posix_memalign and valloc.
11146 (Summary of Malloc): Add posix_memalign to function summary.
11147 __memalign_hook is also called for posix_memalign and valloc.
11148
8d561986
SP
111492013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11150
11151 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
11152 TAYLOR_SIN.
11153 (__sin): Adjust.
11154 (__cos): Likewise.
11155 (sloww): Use mynumber union. Expand ternary operator into
11156 if-else statements.
11157 (cslow): use mynumber union.
11158
73616a74
AM
111592013-12-16 Allan McRae <allan@archlinux.org>
11160
9e8ac24b
AM
11161 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11162 * configure: Regenerated.
11163
6f8e37eb
AM
11164 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11165
8894bad3
AM
11166 [BZ #14120]
11167 * configure.ac: Added --enable-maintainer-mode. Check for
11168 autoconf when enabled.
11169 * configure: Regenerated.
11170
73616a74
AM
11171 * nscd/nscd.service: New file.
11172 * nscd/nscd.tmpfiles: New file.
11173
584b18eb
OB
111742013-12-14 Ondřej Bílka <neleai@seznam.cz>
11175
11176 [BZ #12100]
11177 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
11178 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
11179 * sysdeps/x86_64/multiarch/strstr.c: ... here.
11180 (strstr): Add __strstr_sse2_unaligned ifunc.
11181 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
11182 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
11183 (strcasestr): Remove __strcasestr_sse42 ifunc.
11184 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
11185 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11186 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11187
8a5c7897
KK
111882013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11189
11190 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
11191 * sysdeps/sh/bits/fenv.h: ... here.
11192 * sysdeps/sh/sh4/fpu/bits: Remove directory.
11193
fd712ef3
AZ
111942013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11195
11196 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
11197
42fcb46c
AZ
11198 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
11199 hypotf multiarch implementations.
11200 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
11201 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
11202 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
11203 multiarch hypot for PPC64.
11204 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
11205 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11206 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
11207 multiarch hypotf for PPC64.
11208
83efded4
AZ
11209 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
11210 modff multiarch implementations.
11211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
11212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
11213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
11214 multiarch modf for PPC64.
11215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
11216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
11218 multiarch modff for PPC64.
11219
43e246d2
AZ
11220 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
11221 and logl multiarch implementations.
11222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11225 multiarch logb for PPC64.
11226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11229 multiarch logb for PPC64.
11230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11233 multiarch logb for PPC64.
11234
8fdad123
AZ
11235 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11236 isinff multiarch implementation.
11237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11238 file.
11239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11241 multiarch isinf for PPC64.
11242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11243 file.
11244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11245 multiarch isinff for PPC64.
11246
1481d706
AZ
11247 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11248 finitef multiarch implementation.
11249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11250 file.
11251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11253 multiarch finite for PPC64.
11254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11255 file.
11256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11257 multiarch finitef for PPC64.
11258
5ccd5fc8
AZ
11259 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11260 lrint multiarch implementation.
11261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11262 file.
11263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
11264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
11265 multiarch llrint for PPC64.
11266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
11267 multiarch lrint for PPC64.
11268
2568f3fa
AZ
11269 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
11270 copysignf multiarch implementation.
11271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
11272 file.
11273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
11274 file.
11275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
11276 multiarch copysign for PPC64.
11277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
11278 multiarch copysignf for PPC64.
11279
1cb341fd
AZ
11280 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
11281 multiarch implementation.
11282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
11283 file.
11284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
11285 file.
11286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
11287 file.
11288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
11289 file.
11290 multiarch llround for PPC64.
11291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
11292 multiarch trunc for PPC64.
11293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
11294 multiarch truncf for PPC64.
11295
59a3e194
AZ
11296 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
11297 multiarch implementation.
11298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
11299 file.
11300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
11301 file.
11302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
11303 file.
11304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
11305 file.
11306 multiarch llround for PPC64.
11307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
11308 multiarch round for PPC64.
11309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
11310 multiarch roundf for PPC64.
11311
357fd3b4
AZ
11312 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
11313 multiarch implementation.
11314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
11315 file.
11316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
11317 file.
11318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
11319 file.
11320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
11321 file.
11322 multiarch llround for PPC64.
11323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
11324 multiarch floor for PPC64.
11325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
11326 multiarch floorf for PPC64.
11327
96770f12
AZ
11328 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
11329 multiarch implementation.
11330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
11331 file.
11332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
11333 file.
11334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
11335 file.
11336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
11337 file.
11338 multiarch llround for PPC64.
11339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
11340 multiarch ceil for PPC64.
11341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
11342 multiarch ceilf for PPC64.
11343
c3627f6e
AZ
11344 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11345 multiarch implementation.
11346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
11347 file.
11348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
11349 file.
11350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
11351 file.
11352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
11353 multiarch llround for PPC64.
11354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
11355 multiarch lround for PPC64.
11356
b2284ad7
AZ
11357 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11358 multiarch implementation.
11359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
11360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
11361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
11362 file.
11363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
11364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
11365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
11366 multiarch isnan for PPC64.
11367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
11368 multiarch isnanf for PPC64.
11369
69bbc63d
AZ
11370 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
11371 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
11372 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
11373 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
11374 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
11375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
11376
c24517c9
AZ
11377 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
11378 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11379 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11380 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11381
a52374e8
AZ
11382 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
11383 multiarch implementations.
11384 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11385 (__libc_ifunc_impl_list): Likewise.
11386 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11387 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
11388 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
11389 multiarch stpcpy for PPC64.
11390
7f5ec113
AZ
11391 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
11392 multiarch implementations.
11393 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11394 (__libc_ifunc_impl_list): Likewise.
11395 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
11396 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
11397 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
11398 multiarch strcpy for PPC64.
11399
e28bcd42
AZ
11400 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
11401 redefine function name.
11402 (_wordcopy_fwd_dest_aligned): Likewise.
11403 (_wordcopy_bwd_aligned): Likewise.
11404 (_wordcopy_bwd_dest_aligned): Likewise.
11405 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
11406 multiarch implementations.
11407 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11408 (__libc_ifunc_impl_list): Likewise.
11409 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
11410 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
11411 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
11412 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
11413 multiarch wcscpy for PPC64.
11414
92cacfce
AZ
11415 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
11416 multiarch implementations.
11417 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11418 (__libc_ifunc_impl_list): Likewise.
11419 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
11420 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
11421 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
11422 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
11423 multiarch wcscpy for PPC64.
11424
7b714620
AZ
11425 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
11426 multiarch implementations.
11427 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11428 (__libc_ifunc_impl_list): Likewise.
11429 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
11430 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
11431 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
11432 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
11433 multiarch wcsrchr for PPC64.
11434
16fd2ae3
AZ
11435 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
11436 multiarch implementations.
11437 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11438 (__libc_ifunc_impl_list): Likewise.
11439 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
11440 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
11441 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
11442 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
11443 multiarch wcschr for PPC64.
11444
9ee2969b
AZ
11445 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
11446 multiarch implementations.
11447 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11448 (__libc_ifunc_impl_list): Likewise.
11449 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
11450 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
11451 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
11452 multiarch strchrnul for PPC64.
11453
372dc060
AZ
11454 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
11455 implementations.
11456 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11457 (__libc_ifunc_impl_list): Likewise.
11458 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
11459 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
11460 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
11461 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
11462 strchr for PPC64.
11463
24c2c3b9
AZ
11464 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
11465 implementations.
11466 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11467 (__libc_ifunc_impl_list): Likewise.
11468 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
11469 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
11470 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
11471 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
11472 strncmp for PPC64.
11473
1c92d9a0
AZ
11474 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
11475 multiarch implementations.
11476 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11477 (__libc_ifunc_impl_list): Likewise.
11478 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
11479 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
11480 strncasecmp for PPC64.
11481 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
11482 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
11483 multiarch strncasecmp_l for PPC64.
11484
17de3ee3
AZ
11485 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
11486 multiarch implementations.
11487 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11488 (__libc_ifunc_impl_list): Likewise.
11489 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
11490 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
11491 multiarch strcasecmp for PPC64.
11492 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
11493 file.
11494 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
11495 multiarch strcasecmp_l for PPC64.
11496
62982bf9
AZ
11497 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
11498 implementations.
11499 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11500 (__libc_ifunc_impl_list): Likewise.
11501 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
11502 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
11503 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
11504 strnlen for PPC64.
11505
a65f4904
AZ
11506 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
11507 implementations.
11508 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11509 (__libc_ifunc_impl_list): Likewise.
11510 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
11511 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
11512 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
11513 strlen for PPC64.
11514
1fd005ad
AZ
11515 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
11516 implementations.
11517 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11518 (__libc_ifunc_impl_list): Likewise.
11519 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
11520 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
11521 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
11522 rawmemrchr for PPC64.
11523
cd05ba91
AZ
11524 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
11525 implementation.
11526 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11527 (__libc_ifunc_impl_list): Likewise.
11528 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
11529 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
11530 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
11531 memrchr for PPC64.
11532
870f8676
AZ
11533 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
11534 implementation.
11535 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11536 (__libc_ifunc_impl_list): Likewise.
11537 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
11538 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
11539 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
11540 memchr for PPC64.
11541
f00be62b
AZ
11542 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
11543 implementation.
11544 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11545 (__libc_ifunc_impl_list): Likewise.
11546 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
11547 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
11548 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
11549 mempcpy for PPC64.
11550
8a29a3d0
AZ
11551 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
11552 avoid cretion of __bzero symbol.
11553 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
11554 Likewise.
11555 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
11556 Likewise.
11557 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
11558 Likewise.
11559 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
11560 multiarch implementations.
11561 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11562 (__libc_ifunc_impl_list): Likewise.
11563 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
11564 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
11565 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
11566 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
11567 bzero for PPC32.
11568 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
11569 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
11570 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
11571 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
11572 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
11573 memset for PPC64.
11574 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
11575
07253fcf
AZ
11576 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
11577 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
11578 implementations.
11579 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11580 (__libc_ifunc_impl_list): Likewise.
11581 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
11582 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
11583 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
11584 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
11585 memcmp for PPC64.
11586
b5beafbc
AZ
11587 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
11588 multiarch for POWER/PPC64.
11589 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11590 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
11591 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
11592 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
11593 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
11594 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
11595 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
11596 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
11597 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
11598 memcpy for PPC64.
11599
5e6a4d4b
AZ
11600 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
11601 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
11602 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
11603 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
11604 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
11605 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
11606 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
11607 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
11608 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
11609 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
11610 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
11611 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
11612 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
11613 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
11614 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
11615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
11616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
11617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
11618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
11619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
11620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
11621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
11622
ddfab6dc
KK
116232013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11624
11625 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
11626
19b5525e
SP
116272013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11628
11629 * benchtests/Makefile (bench): Add exp2 and log2.
11630 (LDLIBS-bench-exp2): Add -lm.
11631 (LDLIBS-bench-log2): Likewise.
11632 * benchtests/exp2-inputs: New inputs file.
11633 * benchtests/log2-inputs: New inputs file.
11634 * benchtests/log-inputs: Add new inputs.
11635 * benchtests/tan-inputs: Likewise.
11636
196f7f5d
SP
116372013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11638
7a74607f
SP
11639 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
11640 definition...
57f41c40
AS
11641 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
11642 (csloww2): ... from here.
7a74607f 11643
196f7f5d
SP
11644 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
11645 instead of structures.
11646 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
11647 (POLYNOMIAL): Likewise.
11648 (TAYLOR_SLOW): Likewise.
11649 (__sin): Likewise.
11650 (__cos): Likewise.
11651 (slow1): Likewise.
11652 (slow2): Likewise.
11653 (sloww): Likewise.
11654 (sloww1); Likewise.
11655 (sloww2): Likewise.
11656 (bsloww1): Likewise.
11657 (bsloww2): Likewise.
11658 (cslow2): Likewise.
11659 (csloww): Likewise.
11660 (csloww1): Likewise.
11661 (csloww2): Likewise.
11662
0dfa665c
OB
116632013-12-10 Ondřej Bílka <neleai@seznam.cz>
11664
11665 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
11666 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
11667 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
11668 * malloc/hooks.c (realloc_check): Likewise.
11669
5782a80f
OB
11670 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
11671 * malloc/arena.c: Remove PER_THREAD conditional.
11672 [!PER_THREAD]: Remove code.
11673 (ptmalloc_unlock_all2): Likewise.
11674 (ptmalloc_init): Likewise.
11675 (_int_new_arena): Likewise.
11676 (arena_get2): Likewise.
11677 * malloc/hooks.c (__malloc_get_state): Likewise.
11678 (__malloc_set_state): Likewise.
11679 * malloc/malloc.c: Likewise.
11680 (struct malloc_state): Likewise.
11681 (struct malloc_par): Likewise.
11682 (__libc_realloc): Likewise.
11683 (__libc_mallopt): Likewise.
11684
aeb95445
AZ
116852013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11686
11687 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
11688
e8349efd
OB
116892013-12-09 Ondřej Bílka <neleai@seznam.cz>
11690
11691 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
11692 macro to a function. Check for zero perturb_byte.
11693 (_int_malloc, _int_free): Remove zero perturb_byte checks.
11694
f3eeb3fc 11695 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
11696 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
11697 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
11698 force_reg by atomic_forced_read.
11699 * malloc/arena.c (ptmalloc_init): Likewise.
11700 * malloc/hooks.c (top_check): Likewise.
11701
be2f9009
AZ
117022013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11703
11704 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11705
e7b914bd
MT
117062013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
11707
11708 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11709
9f0be4f8
JM
117102013-12-08 Joseph Myers <joseph@codesourcery.com>
11711
11712 * math/auto-libm-test-in: Add tests of lgamma.
11713 * math/auto-libm-test-out: Regenerated.
11714 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
11715 (M_LOG_2_SQRT_PIl): Likewise.
11716 (lgamma_test_data): Use AUTO_TESTS_f_f1.
11717 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11718 mpfr_f_f1.
11719 (func_calc_desc): Add mpfr_f_f1 union field.
11720 (ARGS1): New macro.
11721 (ARGS2): Likewise.
11722 (ARGS3): Likewise.
11723 (ARGS4): Likewise.
11724 (RET1): Likewise.
11725 (RET2): Likewise.
11726 (CALC): Likewise.
11727 (FUNC): Likewise.
11728 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
11729 (test_functions): Add lgamma.
11730 (calc_generic_results): Handle mpfr_f_f1.
11731 * sysdeps/i386/fpu/libm-test-ulps: Update.
11732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11733
24eeafdb
AZ
117342013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11735
11736 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
11737 __mpn_add_n for PowerPC64/POWER7.
11738 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
11739 __mpn_sub_n for PowerPC64/POWER7.
11740
4a2c0fd4
AZ
11741 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
11742 __mpn_addmul_1 for PowerPC64.
11743 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
11744 __mpn_submul_1 for PowerPC64.
11745 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
11746 for PowerPC64.
11747 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
11748 for PowerPC64.
11749
4b5b548c
FS
117502013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
11751
11752 [BZ #15089]
11753 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
11754
0a3ac0aa
AZ
117552013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11756
11757 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
11758
ccdc8438
AZ
11759 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
11760 add multiarch folders.
11761 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
11762 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
11763 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
11764 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
11765 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
11766 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
11767 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
11768 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
11769 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11770 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11771 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11778
2e973d99
AZ
11779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11780 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11782 New file.
11783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11784 New file.
11785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11786 multiarch __ieee754_hypot for PowerPC32.
11787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11788 New file.
11789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11790 New file.
11791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11792 multiarch __ieee754_hypotf for PowerPC32.
11793
2d9470b2
AZ
11794 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11795 long_double_symbol only if __logbl is defined.
11796 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
11797 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
11798 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
11799 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
11800 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
11801 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
11802 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
11803 path for implementation.
11804 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
11805 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
11806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
11807 logb, and logbl multiarch implementations for PowerPC32.
11808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
11809 file.
11810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
11811 file.
11812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
11813 multiarch logb for PowerPC32.
11814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
11815 file.
11816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
11817 file.
11818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
11819 multiarch logbf for PowerPC32.
11820 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
11821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
11822 file.
11823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
11824 multiarch logbl implementation for PowerPC32.
11825
5212ffce
AZ
11826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
11827 and modff multiarch implementations.
11828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
11829 New file.
11830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
11831 New file.
11832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
11833 multiarch modf for PowerPC32.
11834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
11835 New file.
11836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
11837 New file.
11838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
11839 multiarch modff for PowerPC32.
11840
79dccf31
AZ
11841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
11842 and lrintf multiarch implementations.
11843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
11844 New file.
11845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
11846 New file.
11847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
11848 multiarch lrint for PowerPC32.
11849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
11850 file: multiarch lrintf for PowerPC32.
11851
deb66480
AZ
11852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
11853 and lroundf multiarch implementations.
11854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
11855 New file.
11856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
11857 New file.
11858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
11859 New file.
11860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
11861 multiarch lround for PowerPC32.
11862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
11863 file: multiarch lroundf for PowerPC32.
11864
264b036b
AZ
11865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11866 copysign and copysignf multiarch implementations.
11867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
11868 New file.
11869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
11870 New file.
11871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
11872 file: multiarch copysign for PowerPC32.
11873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
11874 file: multiarch copysignf for PowerPC32.
11875
d47db6c9
AZ
11876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
11877 and truncf multiarch implementations.
11878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
11879 New file.
11880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
11881 file.
11882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
11883 multiarch trunc for PowerPC32.
11884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
11885 New file.
11886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
11887 New file.
11888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
11889 multiarch truncf for PowerPC32.
11890
ddb60b5a
AZ
11891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
11892 and roundf multiarch implementations.
11893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
11894 New file.
11895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
11896 file.
11897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
11898 multiarch round for PowerPC32.
11899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
11900 New file.
11901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
11902 New file.
11903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
11904 multiarch roundf for PowerPC32.
11905
bedcf49b
AZ
11906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
11907 and floorf multiarch implementations.
11908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
11909 New file.
11910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
11911 file.
11912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
11913 multiarch floor for PowerPC32.
11914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
11915 New file.
11916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
11917 New file.
11918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
11919 multiarch floorf for PowerPC32.
11920
35ae5b40
AZ
11921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
11922 and ceilf multiarch implementations.
11923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
11924 New file.
11925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
11926 file.
11927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
11928 multiarch ceil for PowerPC32.
11929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
11930 New file.
11931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
11932 file.
11933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
11934 multiarch ceilf for PowerPC32.
11935
ae1a4cd9
AZ
11936 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
11937 is defined.
11938 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
11939 FINITEF is defined.
11940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
11941 and finitef multiarch implementations.
11942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
11943 New file.
11944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
11945 file.
11946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
11947 multiarch finite for PowerPC32.
11948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
11949 New file.
11950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
11951 file: multiarch finitef for PowerPC32.
11952
64fffd65
AZ
11953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
11954 and isinff multiarch implementations.
11955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
11956 file.
11957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
11958 file.
11959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
11960 multiarch isinf for PowerPC32.
11961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
11962 New file.
11963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
11964 multiarch isinff for PowerPC32.
11965
8e4e7ba2
AZ
11966 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
11967 alias when __isnan is defined.
11968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
11969 and isnanf multiarch implementations.
11970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
11971 file.
11972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
11973 file.
11974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
11975 file.
11976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
11977 file.
11978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
11979 multiarch isnan for PowerPC32.
11980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
11981 New file.
11982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
11983 New file.
11984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
11985 multiarch isnanf for PowerPC32.
11986
ddba588e
AZ
11987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
11988 and sqrtf multiarch implementations.
11989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
11990 file.
11991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
11992 file.
11993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
11994 multiarch sqrt for PowerPC32.
11995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
11996 file.
11997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
11998 file.
11999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
12000 multiarch sqrtf for PowerPC32.
12001
0f96a2f0
AZ
12002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
12003 and llroundf multiarch implementations.
12004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
12005 New file.
12006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
12007 New file.
12008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
12009 New file.
12010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
12011 file: multiarch llround for PowerPC32.
12012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
12013 file: multiarch llroundf for PowerPC32.
12014
c9b5d79e
AZ
12015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
12016 multiarch PowerPC32 fpu implementations.
12017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
12018 New file.
12019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
12020 New file.
12021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
12022 multiarch llrint for PowerPC32.
12023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
12024 New file.
12025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
12026 New file.
12027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
12028 file.
12029
9cbb3aab
AZ
12030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
12031
ea5a72f8
AZ
12032 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
12033 file.
12034 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
12035 file.
12036 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
12037 file.
12038 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
12039 multiarch wordcopy for PPC32.
12040 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12041 wordcopy objects.
12042 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12043 (__libc_ifunc_impl_list): Likewise.
12044 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
12045 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
12046 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
12047 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
12048 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
12049 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
12050
93be09e7
AZ
12051 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
12052 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
12053 file.
12054 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
12055 file.
12056 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
12057 file.
12058 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
12059 multiarch wcscpy for PPC32.
12060 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12061 multiarch objects.
12062 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12063 (__libc_ifunc_impl_list): Likewise.
12064 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12065 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12066 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
12067 sysdeps/powerpc/power6/wcscpy.c.
12068
bb04e529
AZ
12069 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
12070 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
12071 file.
12072 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
12073 file.
12074 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
12075 file.
12076 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
12077 multiarch wcsrchr for PPC32.
12078 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12079 multiarch objects.
12080 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12081 (__libc_ifunc_impl_list): Likewise.
12082 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12083 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12084 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
12085 sysdeps/powerpc/power6/wcsrchr.c.
12086
05b5cd1c
AZ
12087 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
12088 file.
12089 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
12090 file.
12091 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
12092 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
12093 multiarch wcschr for PPc32.
12094 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12095 multiarch objects.
12096 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12097 (__libc_ifunc_impl_list): Likewise.
12098 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
12099 * sysdeps/powerpc/power6/wcschr.c: ... to here.
12100 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
12101 sysdeps/powerpc/power6/wcschr.c.
12102
ba964147
AZ
12103 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
12104 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
12105 file.
12106 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
12107 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
12108 file: multiarch strchr for PPC32.
12109 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
12110 multiarch objects.
12111 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12112 (__libc_ifunc_impl_list): Likewise.
12113
31c81aaa
AZ
12114 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
12115 name.
12116 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
12117 file.
12118 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
12119 file.
12120 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
12121 multiarch strchrnul for PPC32.
12122 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
12123 multiarch objects.
12124 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12125 (__libc_ifunc_impl_list): Likewise.
12126
0d0607d9
AZ
12127 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
12128 file.
12129 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
12130 multiarch strncasecmp for PPC32.
12131 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
12132 file.
12133 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
12134 multiarch strncasecmp_l for PPC32.
12135 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
12136 strncasecmp multiarch objects.
12137 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12138 (__libc_ifunc_impl_list): Likewise.
12139
4dfd5c86
AZ
12140 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
12141 file.
12142 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
12143 multiarch strncasecmp for PPC32.
12144 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12145 New file.
12146 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
12147 multiarch strcasecmp_l for PPC32.
12148 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
12149 multiarch objects.
12150 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12151 (__libc_ifunc_impl_list): Likewise.
12152
a19e01a3
AZ
12153 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
12154 file.
12155 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
12156 file.
12157 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
12158 multiarch strncmp for PPC32.
12159 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12160 multiarch objects.
12161 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12162 (__libc_ifunc_impl_list): Likewise.
12163
ae9cf7a2
AZ
12164 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12165 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12166 file.
12167 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12168 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12169 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12170 multiarch objects.
12171 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12172 (__libc_ifunc_impl_list): Likewise.
12173
3148bb7d
AZ
12174 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
12175 file.
12176 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
12177 file.
12178 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
12179 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
12180 multiarch objects.
12181 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12182 (__libc_ifunc_impl_list): Likewise.
12183
7af8b946
AZ
12184 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
12185 file.
12186 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
12187 file.
12188 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
12189 multiarch rawmemchr for PPC32.
12190 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
12191 multiarch objects.
12192 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12193 (__libc_ifunc_impl_list): Likewise.
12194
03a6aa6a
AZ
12195 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
12196 file.
12197 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
12198 file.
12199 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
12200 file: memrchr multiarch for PPC32.
12201 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
12202 multiarch objects.
12203 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12204 (__libc_ifunc_impl_list): Likewise.
12205
1c62e6d9
AZ
12206 * string/memchr.c (__memchr): Using macro to redefine symbol name.
12207 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
12208 file.
12209 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
12210 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
12211 multiarch memchr for PPC32.
12212 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
12213 multiarch objects.
12214 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12215 (__libc_ifunc_impl_list): Likewise.
12216
87da8bdb
AZ
12217 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
12218 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
12219 file.
12220 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
12221 file.
12222 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12223 file: multiarch mempcpy for PPC32.
12224 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12225 multiarch objects.
12226 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12227 (__libc_ifunc_impl_list): Likewise.
12228
20ed4714
AZ
12229 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12230 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12231 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12232 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12233 multiarch bzero for PPC32.
12234 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12235 file.
12236 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12237 file.
12238 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12239 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12240 file: multiarch memset for PPC32.
12241 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12242 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12243 memset multiarch objects.
12244 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12245 (__libc_ifunc_impl_list): Likewise.
12246
ab3e3a46
AZ
12247 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12248 file.
12249 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12250 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12251 memcmp for PPC32.
12252 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12253 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12254 multiarch objects.
12255 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12256 (__libc_ifunc_impl_list): Likewise.
12257
930de6f0
AZ
12258 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12259 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12260 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12261 file.
12262 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
12263 file.
12264 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
12265 file.
12266 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12267 multiarch memcpy for PPC32.
12268 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
12269 multiarch objects.
12270 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12271 (__libc_ifunc_impl_list): Likewise.
12272
4c628e00
AZ
12273 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
12274 support multiarch for POWER/PPC32.
12275 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
12276 Likewise.
12277 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
12279 Implies file to make multiarch folder appers before the fpu and
12280 default folder for power4 configuration.
12281
f4479220
SP
122822013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12283
12284 * scripts/bench.pl: Append volatile keyword to type.
12285
8517800f
KK
122862013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12287
12288 * sysdeps/sh/sotruss-lib.c: New file.
12289 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
12290
180138f1
AZ
122912013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12292
12293 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12294
bbf37bdc
JM
122952013-12-05 Joseph Myers <joseph@codesourcery.com>
12296
e47cc4e0
JM
12297 [BZ #6810]
12298 * math/w_tgamma.c: Include <errno.h>.
12299 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
12300 * math/w_tgammaf.c: Include <errno.h>.
12301 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
12302 * math/w_tgammal.c: Include <errno.h>.
12303 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
12304 * math/auto-libm-test-in: Do not allow missing errno on tgamma
12305 underflow. Add more tgamma tests.
12306 * math/auto-libm-test-out: Regenerated.
12307 * sysdeps/i386/fpu/libm-test-ulps: Update.
12308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12309
bbf37bdc
JM
12310 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
12311 sin, sinh, tan, tanh, tgamma, y0 and y1.
12312 * math/auto-libm-test-out: Regenerated.
12313 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12314 (TEST_COND_x86): Likewise.
12315 (M_E2l): Remove macro.
12316 (M_E3l): Likewise.
12317 (M_2_SQRT_PIl): Likewise.
12318 (M_SQRT_PIl): Likewise.
12319 (M_1_DIV_El): Likewise.
12320 (log_test_data): Use AUTO_TESTS_f_f.
12321 (log10_test_data): Likewise.
12322 (log1p_test_data): Likewise.
12323 (log2_test_data): Likewise.
12324 (sin_test_data): Likewise.
12325 (sin_tonearest_test_data): Likewise.
12326 (sin_towardzero_test_data): Likewise.
12327 (sin_downward_test_data): Likewise.
12328 (sin_upward_test_data): Likewise.
12329 (sinh_test_data): Likewise.
12330 (sinh_tonearest_test_data): Likewise.
12331 (sinh_towardzero_test_data): Likewise.
12332 (sinh_downward_test_data): Likewise.
12333 (sinh_upward_test_data): Likewise.
12334 (tan_test_data): Likewise.
12335 (tan_tonearest_test_data): Likewise.
12336 (tan_towardzero_test_data): Likewise.
12337 (tan_downward_test_data): Likewise.
12338 (tan_upward_test_data): Likewise.
12339 (tanh_test_data): Likewise.
12340 (tgamma_test_data): Likewise.
12341 (y0_test_data): Likewise.
12342 (y1_test_data): Likewise.
12343 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
12344 (special_real_inputs): Add pi/4.
12345 * sysdeps/i386/fpu/libm-test-ulps: Update.
12346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12347
eb5ad6b9
AZ
123482013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12349
12350 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
12351 "longjmp_target" static probes.
12352 (__longjmp): Rename to __longjmp_symbol.
12353 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12354 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
12355 on which longjmp to generate.
12356 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12357 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
12358 probe.
12359 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12360 (__sigjmp_save): Rename to __sigjmp_save_symbol.
12361 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12362 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
12363 and __sigjmp_save_symbol based on which sigsetjmp to generated.
12364 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
12365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
12366 __longjmp_symbol based on which __longjmp to generate.
12367 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
12368 probe.
12369 (setjmp): Rename to setjmp_symbol.
12370 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12371 (_setjmp): Rename to _setjmp_symbol.
12372 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12373 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
12374 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
12375 which setjmp to generate.
12376 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
12377 "longjmp_target" static probes.
12378
d136c6dc
SP
123792013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12380
9298ecba
SP
12381 * benchtests/README: Add note about output arguments.
12382 * benchtests/bench-sincos.c: Remove file.
12383 * benchtests/sincos-inputs: New file.
12384 * scripts/bench.pl: Identify output arguments and define
12385 static variables for them.
12386
232983e9
SP
12387 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
12388
d136c6dc
SP
12389 [BZ #15941]
12390 * Makefile (INSTALL): Add install-plain.texi as the primary
12391 dependency.
12392 * manual/install-plain.texi: New file.
12393 * manual/install.texi: Include node directive only for
12394 non-plaintext output.
12395
699ff837
JM
123962013-12-04 Joseph Myers <joseph@codesourcery.com>
12397
ab07cea8
JM
12398 * stdlib/longlong.h: Update from GCC.
12399
699ff837
JM
12400 [BZ #6807]
12401 [BZ #15901]
12402 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
12403 * math/w_j0f.c (y0f): Likewise.
12404 * math/w_j0l.c (__y0l): Likewise.
12405 * math/w_j1.c (y1): Likewise.
12406 * math/w_j1f.c (y1f): Likewise.
12407 * math/w_j1l.c (__y1l): Likewise
12408 * math/w_jn.c (yn): Likewise.
12409 * math/w_jnf.c (ynf): Likewise.
12410 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
12411 Bessel function pole errors in _POSIX_ mode. Use NAN as return
12412 value for Bessel function domain errors outside _SVID_ mode.
12413 Adjust sign of return value for yn (negative integer, 0).
12414 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
12415 by zero in return for negative x and set sign appropriately for
12416 negative n.
12417 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
12418 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12419 * math/libm-test.inc (y0_test_data): Add more tests and adjust
12420 expectations in error cases.
12421 (y1_test_data): Likewise.
12422 (yn_test_data): Likewise.
12423 * sysdeps/i386/fpu/libm-test-ulps: Update.
12424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12425
5b118558
UW
124262013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12427
12428 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
12429 "64" to "64-v1". Add "64-v2".
12430 (abi-64-options): Rename to ...
12431 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
12432 (abi-64-condition): Rename to ...
12433 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
12434 (abi-64-ld-soname): Rename to ...
12435 (abi-64-v1-ld-soname): ... this.
12436 (abi-64-v2-options): Define.
12437 (abi-64-v2-condition): Likewise.
12438 (abi-64-v2-ld-soname): Likewise.
12439 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
12440 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
12441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
12442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
12443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
12444
61cd8fe4
UW
124452013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12446 Alan Modra <amodra@gmail.com>
12447
12448 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
12449 New versions for use with the ELFv2 ABI.
12450 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
12451 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
12452 declaration.
12453 (struct La_ppc64v2_retval): Likewise.
12454 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
12455 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
12456 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
12457 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
12458 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
12459 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12460 Do not save or restore CR.
12461 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
12462 (_dl_profile_resolve): Do no save or restore CR. Support extended
12463 return values for ELFv2 ABI. Fix location of FPR return registers.
12464 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
12465 updated values for _CALL_ELF == 2.
12466 (La_regs, La_retval, int_retval): Likewise.
12467
8b8a692c
UW
124682013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12469
12470 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
12471 (FRAME_MIN_SIZE_PARM): Likewise.
12472 (FRAME_BACKCHAIN): Likewise.
12473 (FRAME_CR_SAVE): Likewise.
12474 (FRAME_LR_SAVE): Likewise.
12475 (FRAME_TOC_SAVE): Likewise.
12476 (FRAME_PARM_SAVE): Likewise.
12477 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
12478 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
12479 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12480 (call_mcount_parm_offset): New macro.
12481 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
12482 (PROF): Use symbolic stack frame offsets.
12483 (TAIL_CALL_SYSCALL_ERROR): Likewise.
12484 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
12485 Redefine in terms of FRAME_MIN_SIZE.
12486 (_dl_runtime_resolve): Use symbolic stack frame offsets.
12487 (_dl_profile_resolve): Likewise. Update comment.
12488 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
12489 symbols stack frame offsets.
12490 (__sigsetjmp): Likewise.
12491 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
12492 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
12493 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
12494 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
12495
12496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
12497 (FRAME_BACKCHAIN): Remove.
12498 (FRAME_CR_SAVE): Likewise.
12499 (FRAME_LR_SAVE): Likewise.
12500 (FRAME_COMPILER_DW): Likewise.
12501 (FRAME_LINKER_DW): Likewise.
12502 (FRAME_TOC_SAVE): Likewise.
12503 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
12504 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
12505 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
12506 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
12507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
12508 (CHECK_SP): Use symbolic stack frame offsets.
12509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
12510 zone" instead of caller's parameter save area for temp storage.
12511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12512 Likewise. Also, use symbolic stack frame offsets.
12513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
12514 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
12515 our own stack frame instead of the caller's.
12516 (__socket): Use symbolic stack frame offsets.
12517
122b66de
UW
125182013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12519 Alan Modra <amodra@gmail.com>
12520
12521 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
12522 Define.
57f41c40
AS
12523 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
12524 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
12525 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
12526 New function.
12527 (elf_machine_fixup_plt): Call it.
12528 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
12529 reloc arguments.
12530 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
12531 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12532 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
12533 r2 before calling target.
12534
696caf1d
UW
125352013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12536 Alan Modra <amodra@gmail.com>
12537
12538 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
12539 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
12540 versions of macros to support ELFv2 ABI.
12541 (LOCALENTRY): New macro.
12542 (ENTRY, EALIGN): Use it.
12543 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
12544 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
12545 fall through into ENTRY entry point.
12546 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
12547 Only define if _CALL_ELF != 2.
12548
12549 (elf_machine_matches_host): Verify ABI version matches.
12550 (RTLD_START): Use LOCALENTRY.
12551 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
12552 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
12553 (PLT_ENTRY_WORDS): New macro.
12554 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
12555 (elf_machine_runtime_setup): Support ELFv2 ABI.
12556 (elf_machine_fixup_plt): Likewise.
12557 (elf_machine_plt_conflict): Likewise.
12558 (resolve_ifunc): Likewise.
12559 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12560 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12561 Likewise.
12562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
12563 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
12564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12565 (makecontext): Support ELFv2 ABI.
12566 * elf/elf.h (EF_PPC64_ABI): Define.
12567
d31beafa
UW
125682013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12569
57f41c40
AS
12570 * sysdeps/powerpc/powerpc64/sysdep.h
12571 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
12572 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
12573 (ENTRY) [ASSEMBLER]: ... but instead here ...
12574 (EALIGN) [ASSEMBLER]: ... and here.
12575 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
12576 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
12577 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
12578 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
12579 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
12580 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12581 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
12582 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
12583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
12584 Use PPC64_LOAD_FUNCPTR.
12585
b525166b
UW
12586 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
12587
7ec07d9a
AM
125882013-12-04 Alan Modra <amodra@gmail.com>
12589
12590 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
12591 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
12592 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
12593 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
12594
12595 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
12596 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
12597 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
12598 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
12599 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
12600 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
12601
5162e7dd
UW
126022013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12603
12604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12605 (__makecontext): Fix incorrect CFI when backtracing out of
12606 context created via makecontext.
12607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
12608 (__setcontext): Fix incorrect CFI during switch to new context.
12609 (__novec_setcontext): Likewise.
12610
19e3372b
OB
126112013-12-04 Ondřej Bílka <neleai@seznam.cz>
12612
12613 [BZ #4772]
12614 * time/strptime_l.c (__strptime_internal): Allow modifiers
12615 in strptime.
12616 * time/tst-strptime.c (day_tests): Add testcase.
12617
ecaf142d
SP
126182013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12619
12620 * scripts/bench.pl: Skip over blank lines.
12621
fbf964ae
PE
126222013-12-04 Paul Eggert <eggert@cs.ucla.edu>
12623
12624 [BZ #926]
12625 * manual/time.texi (Calendar Time): Clarify what timezone functions
12626 use.
12627
fa60a674
AZ
126282013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12629
12630 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12631
d674f0ef
OB
126322013-12-04 Ondřej Bílka <neleai@seznam.cz>
12633
12634 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
12635 implementation.
12636 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12637 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12638 * debug/memset_chk.c (__memset_chk): Likewise.
12639 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
12640 * debug/strncpy_chk.c: Likewise.
12641
17dea188
JM
126422013-12-03 Joseph Myers <joseph@codesourcery.com>
12643
749008ff
JM
12644 [BZ #15268]
12645 [BZ #15425]
12646 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
12647 (__ieee754_exp): For possibly underflowing results, check size of
12648 result and force underflow exception if required.
12649 * math/auto-libm-test-in: Add more tests of exp.
12650 * math/auto-libm-test-out: Regenerated.
12651 * sysdeps/i386/fpu/libm-test-ulps: Update.
12652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12653
17dea188
JM
12654 [BZ #16283]
12655 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
12656 * math/w_exp2f.c (__exp2f): Likewise.
12657 * math/w_exp2l.c (__exp2l): Likewise.
12658 * math/auto-libm-test-in: Do not allow missing errno on exp2
12659 underflow.
12660 * math/auto-libm-test-out: Regenerated.
12661
b20de2c3
OB
126622013-12-03 Ondřej Bílka <neleai@seznam.cz>
12663
12664 [BZ #16274]
12665 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
12666 handle filename validation.
12667 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
12668 (do_open): Delete.
12669
d8e2dbe3
JM
126702013-12-03 Joseph Myers <joseph@codesourcery.com>
12671
34e16df5
JM
12672 [BZ #6786]
12673 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
12674 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
12675 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
12676 <float.h>.
12677 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
12678 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
12679 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12680 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
12681 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12682 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
12683 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12684 * math/auto-libm-test-in: Don't allow missing errno from erfc.
12685 Add more erfc tests.
12686 * math/auto-libm-test-out: Regenerated.
12687 * sysdeps/i386/fpu/libm-test-ulps: Update.
12688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12689
d8e2dbe3
JM
12690 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
12691 exp2, expm1, j0 and j1.
12692 * math/auto-libm-test-out: Regenerated.
12693 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
12694 (erfc_test_data): Likewise.
12695 (exp_test_data): Likewise.
12696 (exp_tonearest_test_data): Likewise.
12697 (exp_towardzero_test_data): Likewise.
12698 (exp_downward_test_data): Likewise.
12699 (exp_upward_test_data): Likewise.
12700 (exp10_test_data): Likewise.
12701 (exp2_test_data): Likewise.
12702 (expm1_test_data): Likewise.
12703 (j0_test_data): Likewise.
12704 (j1_test_data): Likewise.
12705 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
12706 (input_flag_type): Add flag_xfail_rounding.
12707 (input_flags): Add xfail-rounding.
12708 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
12709 (output_for_one_input_case): Handle flag_xfail_rounding.
12710 * sysdeps/i386/fpu/libm-test-ulps: Update.
12711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12712
18d14251
AJ
127132013-12-03 Aurelien Jarno <aurelien@aurel32.net>
12714
3d2e6075 12715 [BZ #16289]
18d14251
AJ
12716 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
12717 division by 0.
12718
520d437b
SP
127192013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12720
12721 [BZ #16195]
12722 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
12723 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
12724 (STAP_PROBE0): New macro.
12725 (STAP_PROBE1): Likewise.
12726 (STAP_PROBE2): Likewise.
12727 (STAP_PROBE3): Likewise.
12728 (STAP_PROBE4): Likewise.
12729
416e0145
OB
127302013-12-02 Ondřej Bílka <neleai@seznam.cz>
12731
12732 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
12733
9d17796a
SE
127342013-12-02 Steve Ellcey <sellcey@mips.com>
12735
12736 * benchtests/Makefile (bench): Add sqrt.
12737 (LDLIBS-bench-sqrt): New.
12738 * benchtests/sqrt-input: New.
12739
f524d6a8
PS
127402013-12-02 Pavel Simerda <psimerda@redhat.com>
12741
639a0ef8
PS
12742 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
12743 (GAIH_EAI): Likewise.
12744 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
12745 (gaih_inet): Likewise.
12746 (getaddrinfo): Don't use GAIH_EAI.
12747
f524d6a8
PS
12748 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
12749 (struct gaih): Remove definition.
12750
df3aedaf
SP
127512013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12752
12753 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
12754 Use HERRNOP directly.
12755
1ab19dec
AZ
127562013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12757
b42ad38d 12758 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 12759
176b0c79
JM
127602013-11-30 Joseph Myers <joseph@codesourcery.com>
12761
12762 * math/gen-auto-libm-tests.c (test_functions): Add more
12763 single-argument functions.
12764 (special_fill_pi_2): New function.
12765 (special_fill_minus_pi_2): Likewise.
12766 (special_fill_pi_6): Likewise.
12767 (special_fill_minus_pi_6): Likewise.
12768 (special_fill_pi_3): Likewise.
12769 (special_fill_2pi_3): Likewise.
12770 (special_fill_e): Likewise.
12771 (special_fill_1_e): Likewise.
12772 (special_fill_e_minus_1): Likewise.
12773 (special_real_inputs): Add more special inputs.
12774 (output_for_one_input_case): Do not require ERANGE on underflow to
12775 zero if round-to-nearest result does not underflow to zero, unless
12776 exact results required.
12777 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12778 atan, atanh, cbrt, cos and cosh.
12779 * math/auto-libm-test-out: Regenerated.
12780 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12781 (acos_tonearest_test_data): Likewise.
12782 (acos_towardzero_test_data): Likewise.
12783 (acos_downward_test_data): Likewise.
12784 (acos_upward_test_data): Likewise.
12785 (acosh_test_data): Likewise.
12786 (asin_test_data): Likewise.
12787 (asin_tonearest_test_data): Likewise.
12788 (asin_towardzero_test_data): Likewise.
12789 (asin_upward_test_data): Likewise.
12790 (asinh_test_data): Likewise.
12791 (atan_test_data): Likewise.
12792 (atanh_test_data): Likewise.
12793 (cbrt_test_data): Likewise.
12794 (cos_test_data): Likewise.
12795 (cos_tonearest_test_data): Likewise.
12796 (cos_towardzero_test_data): Likewise.
12797 (cos_downward_test_data): Likewise.
12798 (cos_upward_test_data): Likewise.
12799 (cosh_test_data): Likewise.
12800 (cosh_tonearest_test_data): Likewise.
12801 (cosh_towardzero_test_data): Likewise.
12802 (cosh_downward_test_data): Likewise.
12803 (cosh_upward_test_data): Likewise.
12804 * sysdeps/i386/fpu/libm-test-ulps: Update.
12805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12806
ffb536d0
JM
128072013-11-29 Joseph Myers <joseph@codesourcery.com>
12808
2a77a467
JM
12809 [BZ #6787]
12810 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
12811 * math/w_exp10f.c (__exp10f): Likewise.
12812 * math/w_exp10l.c (__exp10l): Likewise.
12813 * math/libm-test.inc (exp10_test_data): Add more tests and expect
12814 errno settings in existing tests.
12815
ea3bc4e8
JM
12816 [BZ #14032]
12817 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
12818 precision control set to double precision.
12819 * sysdeps/i386/fpu/w_sqrt.c: New file.
12820 * math/auto-libm-test-in: Add more tests.
12821 * math/auto-libm-test-out: Update.
12822
0712c9d8
JM
12823 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
12824 (sqrt_test_tonearest): New function.
12825 (sqrt_towardzero_test_data): New variable.
12826 (sqrt_test_towardzero): New function.
12827 (sqrt_downward_test_data): New variable.
12828 (sqrt_test_downward): New function.
12829 (sqrt_upward_test_data): New variable.
12830 (sqrt_test_upward): New function.
12831 (main): Call the new functions.
12832
ffb536d0
JM
12833 * math/gen-auto-libm-tests.c: New file.
12834 * math/auto-libm-test-in: Likewise.
12835 * math/auto-libm-test-out: New generated file.
12836 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
12837 variables.
12838 (%beautify): Add generated representations of zero.
12839 (top level): Set $auto_input and call parse_auto_input.
12840 (beautify): Remove trailing "f" from hex float constants.
12841 (parse_args): Handle XFAIL_TEST.
12842 (convert_condition): New function.
12843 (or_value): Likewise.
12844 (or_cond_value): Likewise.
12845 (generate_testfile): Handle AUTO_TESTS_* lines.
12846 (parse_auto_input): New function.
12847 * math/libm-test.inc (XFAIL_TEST): New macro.
12848 (ERRNO_UNCHANGED): Update value.
12849 (ERRNO_EDOM): Likewise.
12850 (ERRNO_ERANGE): Likewise.
12851 (IGNORE_RESULT): Likewise.
12852 (TEST_COND_flt_32): New macro.
12853 (TEST_COND_dbl_64): Likewise.
12854 (TEST_COND_ldbl_96_intel): Likewise.
12855 (TEST_COND_ldbl_96_m68k): Likewise.
12856 (TEST_COND_ldbl_128): Likewise.
12857 (TEST_COND_ldbl_128ibm): Likewise.
12858 (TEST_COND_long32): Likewise.
12859 (TEST_COND_long64): Likewise.
12860 (TEST_COND_before_rounding): Likewise.
12861 (TEST_COND_after_rounding): Likewise.
12862 (enable_test): Handle XFAIL_TEST flag.
12863 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
12864 with finite results.
12865 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
12866 auto-libm-test-out.
12867
acd98a8e
AK
128682013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12869 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12870
12871 [BZ #16214]
12872 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
12873 __tls_get_addr_internal instead of __tls_get_offset in order to
12874 avoid GOT pointer dependency. Make rtld export
12875 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
12876 __tls_get_addr since we are a __tls_get_offset platform.
12877 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
12878 GOT pointer being set up before.
12879 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
12880
3c1c46a6
JM
128812013-11-28 Joseph Myers <joseph@codesourcery.com>
12882
7475aef5
JM
12883 * manual/math.texi (Errors in Math Functions): Document accuracy
12884 goals.
12885
8bca7cd8
JM
12886 [BZ #15004]
12887 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
12888 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
12889 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12890 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12891 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12892 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12893 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12894 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12895 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12896 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12897 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12898 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12899 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12900 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12901 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12902 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12903
91a1f3fe
JM
12904 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
12905 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
12906 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
12907 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
12908 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
12909 Likewise.
12910 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
12911 Likewise.
12912 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
12913 Likewise.
12914 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
12915 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12916 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
12917 atomic-feupdateenv and flt-rounds.
12918 * sysdeps/powerpc/nofpu/Versions (libc): Add
12919 __atomic_feholdexcept, __atomic_feclearexcept,
12920 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
12921 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
12922 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
12923 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
12924 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
12925 here.
12926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12927 Update.
12928
c5df7609
JM
12929 * manual/arith.texi (FP Exceptions): Document that exceptions may
12930 not be raised when matherr is used.
12931 (Math Error Reporting): Document overflow in directed rounding
12932 modes. Document that errno may not be set when finite values are
12933 returned on overflow. Document intent to set errno on underflow
12934 only for underflow to zero.
12935
3c1c46a6
JM
12936 [BZ #16271]
12937 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
12938 round-to-nearest then adjust result for other rounding modes.
12939 * include/fenv.h (fegetround): Use libm_hidden_proto.
12940 * math/fegetround.c (fegetround): Use libm_hidden_def.
12941 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
12942 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
12943 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12944 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
12945 Likewise.
12946 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
12947 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12948 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
12949 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
12950
5a4c6d53
SP
129512013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12952
12953 [BZ #16077]
12954 * nss/Versions (libnss_files): Add
12955 _nss_files_gethostbyname3_r.
12956 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
12957 New function.
12958 (HOST_DB_LOOKUP): Remove macro.
12959 (_nss_files_gethostbyname_r): Implement function without the
12960 HOST_DB_LOOKUP macro.
12961 (_nss_files_gethostbyname2_r): Likewise.
12962
897b98ba
OB
129632013-11-28 Ondřej Bílka <neleai@seznam.cz>
12964
12965 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
12966
6f476861
UB
129672013-11-26 Uros Bizjak <ubizjak@gmail.com>
12968
12969 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
12970 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
12971 warning.
12972
bd12ab55
AZ
129732013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12974
12975 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
12976 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
12977 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12978 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
12979 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
12980 __fe_nomask_env_priv and attribute_hidden.
12981 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
12982 (libc_feupdateenv_test_ppc): Likewise.
12983 (libc_feresetround_ppc): Likewise.
12984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12985 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
12986 compat_symbol macro.
12987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12988 (__fe_nomask_env): Likewise.
12989 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
12990
52bb6543
OB
129912013-11-26 Ondřej Bílka <neleai@seznam.cz>
12992
12993 * string/Makefile: Remove ifunc tests.
12994 * string/test-string.h: Define TEST_IFUNC.
12995 * string/test-bcopy-ifunc.c: Remove.
12996 * string/test-bzero-ifunc.c: Likewise.
12997 * string/test-memccpy-ifunc.c: Likewise.
12998 * string/test-memchr-ifunc.c: Likewise.
12999 * string/test-memcmp-ifunc.c: Likewise.
13000 * string/test-memcpy-ifunc.c: Likewise.
13001 * string/test-memmem-ifunc.c: Likewise.
13002 * string/test-memmove-ifunc.c: Likewise.
13003 * string/test-mempcpy-ifunc.c: Likewise.
13004 * string/test-memrchr-ifunc.c: Likewise.
13005 * string/test-memset-ifunc.c: Likewise.
13006 * string/test-rawmemchr-ifunc.c: Likewise.
13007 * string/test-stpcpy-ifunc.c: Likewise.
13008 * string/test-stpncpy-ifunc.c: Likewise.
13009 * string/test-strcasecmp-ifunc.c: Likewise.
13010 * string/test-strcasestr-ifunc.c: Likewise.
13011 * string/test-strcat-ifunc.c: Likewise.
13012 * string/test-strchr-ifunc.c: Likewise.
13013 * string/test-strchrnul-ifunc.c: Likewise.
13014 * string/test-strcmp-ifunc.c: Likewise.
13015 * string/test-strcpy-ifunc.c: Likewise.
13016 * string/test-strcspn-ifunc.c: Likewise.
13017 * string/test-strlen-ifunc.c: Likewise.
13018 * string/test-strncasecmp-ifunc.c: Likewise.
13019 * string/test-strncat-ifunc.c: Likewise.
13020 * string/test-strncmp-ifunc.c: Likewise.
13021 * string/test-strncpy-ifunc.c: Likewise.
13022 * string/test-strnlen-ifunc.c: Likewise.
13023 * string/test-strpbrk-ifunc.c: Likewise.
13024 * string/test-strrchr-ifunc.c: Likewise.
13025 * string/test-strspn-ifunc.c: Likewise.
13026 * string/test-strstr-ifunc.c: Likewise.
13027
ab260039 130282013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
13029
13030 * benchtests/Makefile: Remove ifunc tests.
13031 * benchtests/bench-string.h: Define TEST_IFUNC.
13032 * benchtests/bench-bcopy-ifunc.c: Remove.
13033 * benchtests/bench-bzero-ifunc.c: Likewise.
13034 * benchtests/bench-memccpy-ifunc.c: Likewise.
13035 * benchtests/bench-memchr-ifunc.c: Likewise.
13036 * benchtests/bench-memcmp-ifunc.c: Likewise.
13037 * benchtests/bench-memcpy-ifunc.c: Likewise.
13038 * benchtests/bench-memmem-ifunc.c: Likewise.
13039 * benchtests/bench-memmove-ifunc.c: Likewise.
13040 * benchtests/bench-mempcpy-ifunc.c: Likewise.
13041 * benchtests/bench-memrchr-ifunc.c: Likewise.
13042 * benchtests/bench-memset-ifunc.c: Likewise.
13043 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
13044 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
13045 * benchtests/bench-stpcpy-ifunc.c: Likewise.
13046 * benchtests/bench-stpncpy-ifunc.c: Likewise.
13047 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
13048 * benchtests/bench-strcasestr-ifunc.c: Likewise.
13049 * benchtests/bench-strcat-ifunc.c: Likewise.
13050 * benchtests/bench-strchr-ifunc.c: Likewise.
13051 * benchtests/bench-strchrnul-ifunc.c: Likewise.
13052 * benchtests/bench-strcmp-ifunc.c: Likewise.
13053 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
13054 * benchtests/bench-strcpy-ifunc.c: Likewise.
13055 * benchtests/bench-strcspn-ifunc.c: Likewise.
13056 * benchtests/bench-strlen-ifunc.c: Likewise.
13057 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
13058 * benchtests/bench-strncat-ifunc.c: Likewise.
13059 * benchtests/bench-strncmp-ifunc.c: Likewise.
13060 * benchtests/bench-strncpy-ifunc.c: Likewise.
13061 * benchtests/bench-strnlen-ifunc.c: Likewise.
13062 * benchtests/bench-strpbrk-ifunc.c: Likewise.
13063 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 13064 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
13065 * benchtests/bench-strspn-ifunc.c: Likewise.
13066 * benchtests/bench-strstr-ifunc.c: Likewise.
13067
130682013-11-26 Ondřej Bílka <neleai@seznam.cz>
13069
ab260039
OB
13070 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
13071
d1d9eaf4 130722013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 13073
d1d9eaf4
OB
13074 * resolv/netdb.h: Use __glibc_reserved instead __unused.
13075 * rt/aio.h: Likewise.
13076 * sysdeps/gnu/bits/utmp.h: Likewise.
13077 * sysdeps/gnu/bits/utmpx.h: Likewise.
13078 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13079 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
13080 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
13081 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
13082 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
13083 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
13084 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
13085 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
13086 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
13087 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
13088 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
13089 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
13090 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
13091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
13092 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13093 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
13094 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
13095 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
13096 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
13097 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
13098 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
13099 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
13100 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
13101 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13102 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
13103 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13104 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
13105 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
13106 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
13107 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
13108 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
13109 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
13110 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
13111 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13112 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
13113 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
13114 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
13115 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
13116 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
13117 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
13118 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13119 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13120
a7624ed9
CD
131212013-11-25 Carlos O'Donell <carlos@redhat.com>
13122
13123 [BZ #16245]
13124 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
13125 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
13126
63cfe52b
JM
131272013-11-25 Joseph Myers <joseph@codesourcery.com>
13128
13129 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
13130 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13131 Likewise.
13132
41e8926a
AZ
131332013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13134
13135 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
13136 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
13137 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
13138 (__fesetround): Remove define.
13139 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
13140 rounding and exceptions handling.
13141 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
13142 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
13143 (__fe_nomask_env): Likewise.
13144 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
13145 __fegetround instead of fegetround.
13146 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13147 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13148
6851bd4d
RM
131492013-11-21 Roland McGrath <roland@hack.frob.com>
13150
070906ff
RM
13151 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
13152 it's there.
13153
6851bd4d
RM
13154 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
13155
84ae135d
MI
131562013-11-21 Meador Inge <meadori@codesourcery.com>
13157
13158 [BZ #11157]
13159 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13160 (encrypt_r): Likewise.
13161 * malloc/obstack.h (obstack_free): Likewise.
13162 * posix/unistd.h (encrypt): Likewise.
13163
daf75146
GM
131642013-11-21 Guy Martin <gmsoft@tuxicoman.be>
13165
13166 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13167 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13168 DL_CALL_DT_FINI() that call the functions directly.
13169 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13170 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13171 * elf/dl-fini.c: Likewise.
13172
10ad46bc
OB
131732013-11-20 Ondřej Bílka <neleai@seznam.cz>
13174
13175 * malloc/hooks.c (memalign_check): Add alignment rounding.
13176 * malloc/malloc.c (_mid_memalign): New function.
13177 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
13178 Implement by calling _mid_memalign.
13179 * manual/probes.texi (Memory Allocation Probes): Remove
13180 memory_valloc_retry and memory_pvalloc_retry.
13181
f3fd2628
SP
131822013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13183
4712799f
SP
13184 * locale/programs/locarchive.c (open_archive): Add const
13185 qualifier to ARCHIVEFNAME and copy default fname to
13186 DEFAULT_FNAME.
13187
0417b20f
SP
13188 [BZ #15601]
13189 * libio/tst-widetext.input: Rename Oriya to Odia.
13190 * locale/iso-639.def: Likewise.
13191
f3fd2628
SP
13192 * manual/probes.texi (Mathematical Function Probes): Add
13193 documentation for sin, cos, asin and acos probes.
13194 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
13195 (__sin32): Add slowasin probe.
13196 (__cos32): Add slowacos probe.
13197 (__mpsin): Add slowsin probe.
13198 (__mpcos): Add slowcos probe.
13199
73c1ce4f
JM
132002013-11-19 Joseph Myers <joseph@codesourcery.com>
13201
13202 [BZ #15483]
13203 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
13204 thread-local __sim_exceptions_thread and global
13205 __sim_exceptions_global.
13206 (__sim_disabled_exceptions): Change to thread-local
13207 __sim_disabled_exceptions_thread and global
13208 __sim_disabled_exceptions_global.
13209 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13210 and global __sim_round_mode_global.
13211 (__simulate_exceptions): Use thread-local floating-point state and
13212 set global state from it as needed.
13213 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
13214 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
13215 __sim_round_mode_thread.
13216 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
13217 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
13218 and global __sim_exceptions_global.
13219 (__sim_disabled_exceptions): Change to thread-local
13220 __sim_disabled_exceptions_thread and global
13221 __sim_disabled_exceptions_global.
13222 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13223 and global __sim_round_mode_global.
13224 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13225 (SIM_SET_GLOBAL): Likewise.
13226 * sysdeps/powerpc/soft-fp/sfp-machine.h
13227 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13228 __sim_round_mode_thread.
13229 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13230 __sim_disabled_exceptions_thread.
13231 (__sim_exceptions): Change to __sim_exceptions_thread.
13232 (__sim_disabled_exceptions): Change to
13233 __sim_disabled_exceptions_thread.
13234 (__sim_round_mode): Change to __sim_round_mode_thread.
13235 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13236 thread-local floating-point state and set global state from it as
13237 needed.
13238 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13239 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13240 (__sim_disabled_exceptions): Remove extern declaration.
13241 (feenableexcept): Use thread-local floating-point state and set
13242 global state from it as needed.
13243 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13244 extern declaration.
13245 (__sim_disabled_exceptions): Likewise.
13246 (__sim_round_mode): Likewise.
13247 (__fegetenv): Use thread-local floating-point state.
13248 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13249 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13250 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13251 floating-point state and set global state from it as needed.
13252 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13253 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13254 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13255 Likewise.
13256 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13257 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13258 Likewise.
13259 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13260 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13261 Use __sim_round_mode_thread.
13262 * math/test-fenv-tls.c: New file.
13263 * math/Makefile (tests): Add test-fenv-tls.
13264 ($(objpfx)test-fenv-tls): Depend on
13265 $(common-objpfx)nptl/libpthread.so.
13266
b5449b12
AS
132672013-11-19 Andreas Schwab <schwab@suse.de>
13268
13269 * locale/programs/locale.c (show_info): Decode wordarray elements.
13270 * locale/categories.def (LC_MONETARY): Add element for
13271 _NL_MONETARY_CRNCYSTR.
13272 * locale/C-monetary.c (conversion_rate): New variable.
13273 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
13274 element.
13275
e186536b
CM
132762013-11-18 Chris Metcalf <cmetcalf@tilera.com>
13277
13278 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
13279 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
13280
5c349950
PP
132812013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13282
13283 * elf/Makefile (tst-auxv): New test.
13284 * elf/tst-auxv.c: New
13285 * elf/rtld.c (dl_main): Adjust AT_EXECFN
13286
699df45b
JM
132872013-11-18 Joseph Myers <joseph@codesourcery.com>
13288
13289 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
13290 (hidden_proto): Caller changed.
13291 (hidden_tls_proto): New macro.
13292 (libc_hidden_tls_proto): Likewise.
13293 (rtld_hidden_tls_proto): Likewise.
13294 (libm_hidden_tls_proto): Likewise.
13295 (libresolv_hidden_tls_proto): Likewise.
13296 (librt_hidden_tls_proto): Likewise.
13297 (libdl_hidden_tls_proto): Likewise.
13298 (libnss_files_hidden_tls_proto): Likewise.
13299 (libnsl_hidden_tls_proto): Likewise.
13300 (libnss_nisplus_hidden_tls_proto): Likewise.
13301 (libutil_hidden_tls_proto): Likewise.
13302
b7589107
OB
133032013-11-18 Ondřej Bílka <neleai@seznam.cz>
13304
13305 [BZ #10253]
13306 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
13307 (decompose_rpath): Defer expansion to fillin_rpath.
13308 (_dl_init_paths): Pass linkmap to fillin_rpath.
13309
250c23bd
RS
133102013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13311
13312 * benchtests/Makefile: Add strsep.
13313 * benchtests/bench-strsep.c: New file: strsep benchtest.
13314 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
13315
a7931fcf
AS
133162013-11-18 Andreas Schwab <schwab@suse.de>
13317
13318 * locale/programs/locale.c (show_info) [case byte]: Check for
13319 '\377' instead of '\177'.
13320 * locale/C-monetary.c (not_available): Always use "\377".
13321 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
13322 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
13323 detect unavailable sign_posn locale elements.
13324 * locale/localeconv.c (__localeconv): For grouping and
13325 mon_grouping handle "\177" and "\377" like no grouping.
13326 (INT_ELEM): New macro. Use it to set all numeric members.
13327 * locale/programs/ld-monetary.c (monetary_read)
13328 <tok_mon_grouping>: Normalize single -1 to the empty string.
13329 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
13330 Likewise.
13331
728dab0e
OB
133322013-11-07 Ondřej Bílka <neleai@seznam.cz>
13333
13334 [BZ #16055]
13335 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
13336 when we match (nil).
13337 * stdio-common/tst-sscanf.c (struct test): Add testcase.
13338
66294491
JM
133392013-11-16 Joseph Myers <joseph@codesourcery.com>
13340
ce665817
JM
13341 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
13342 (NO_TEST_INLINE): Update value.
13343 (ERRNO_UNCHANGED): Likewise.
13344 (ERRNO_EDOM): Likewise.
13345 (ERRNO_ERANGE): Likewise.
13346 (IGNORE_RESULT): Likewise.
13347 (check_float_internal): Check signs of NaN results if
13348 TEST_NAN_SIGN used.
13349 (check_complex): Pass TEST_NAN_SIGN flag through to second
13350 check_float_internal call.
13351 (copysign_test_data): Add tests with quiet NaNs as second
13352 argument. Use TEST_NAN_SIGN.
13353 (fabs_test_data): Add test of negative quiet NaN argument. Use
13354 TEST_NAN_SIGN.
13355 (signbit_test_data): Add tests of quiet NaN argument.
13356 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
13357
ee1466a9
JM
13358 * math/gen-libm-test.pl (show_exceptions): Take extra argument
13359 $ignore_result.
13360 (parse_args): Handle function results specified as IGNORE.
13361 * math/libm-test.inc (IGNORE_RESULT): New macro.
13362 (check_float_internal): Do not check numerical result if flag
13363 IGNORE_RESULT set.
13364 (check_complex): Pass through IGNORE_RESULT to second
13365 check_float_internal call.
13366 (check_int): Do not check numerical result if flag IGNORE_RESULT
13367 set.
13368 (check_long): Likewise.
13369 (check_bool): Likewise.
13370 (check_longlong): Likewise.
13371 (lrint_test_data): Add tests of infinite and NaN arguments.
13372 (lrint_tonearest_test_data): Likewise.
13373 (lrint_towardzero_test_data): Likewise.
13374 (lrint_downward_test_data): Likewise.
13375 (lrint_upward_test_data): Likewise.
13376 (llrint_test_data): Likewise.
13377 (llrint_tonearest_test_data): Likewise.
13378 (llrint_towardzero_test_data): Likewise.
13379 (llrint_downward_test_data): Likewise.
13380 (llrint_upward_test_data): Likewise.
13381 (lround_test_data): Likewise.
13382 (llround_test_data): Likewise.
13383
14407b7e
JM
13384 * math/libm-test.inc (NO_TEST_INLINE): New macro.
13385 (ERRNO_UNCHANGED): Update value.
13386 (ERRNO_EDOM): Likewise.
13387 (ERRNO_ERANGE): Likewise.
13388 (NO_TEST_INLINE_FLOAT): New macro.
13389 (NO_TEST_INLINE_DOUBLE): Likewise.
13390 (enable_test): New function.
13391 (RUN_TEST_f_f): Check enable_test before running test.
13392 (RUN_TEST_2_f): Likewise.
13393 (RUN_TEST_fff_f): Likewise.
13394 (RUN_TEST_c_f): Likewise.
13395 (RUN_TEST_f_f1): Likewise.
13396 (RUN_TEST_fF_f1): Likewise.
13397 (RUN_TEST_fI_f1): Likewise.
13398 (RUN_TEST_ffI_f1): Likewise.
13399 (RUN_TEST_c_c): Likewise.
13400 (RUN_TEST_cc_c): Likewise.
13401 (RUN_TEST_f_i): Likewise.
13402 (RUN_TEST_f_i_tg): Likewise.
13403 (RUN_TEST_ff_i_tg): Likewise.
13404 (RUN_TEST_f_b): Likewise.
13405 (RUN_TEST_f_b_tg): Likewise.
13406 (RUN_TEST_f_l): Likewise.
13407 (RUN_TEST_f_L): Likewise.
13408 (RUN_TEST_fFF_11): Likewise.
13409 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
13410 conditionals.
13411 (cosh_test_data): Likewise.
13412 (exp_test_data): Likewise.
13413 (expm1_test_data): Likewise.
13414 (hypot_test_data): Likewise.
13415 (pow_test_data): Likewise.
13416 (sinh_test_data): Likewise.
13417 (tanh_test_data): Likewise.
13418 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
13419 flags argument.
13420
ca07f197
JM
13421 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
13422 tests with quiet NaN input and output.
13423 (acosh_test_data): Likewise.
13424 (asin_test_data): Likewise.
13425 (asinh_test_data): Likewise.
13426 (atan_test_data): Likewise.
13427 (atanh_test_data): Likewise.
13428 (atan2_test_data): Likewise.
13429 (cbrt_test_data): Likewise.
13430 (cos_test_data): Likewise.
13431 (cosh_test_data): Likewise.
13432 (erf_test_data): Likewise.
13433 (erfc_test_data): Likewise.
13434 (exp_test_data): Likewise.
13435 (exp10_test_data): Likewise.
13436 (exp2_test_data): Likewise.
13437 (expm1_test_data): Likewise.
13438 (hypot_test_data): Likewise.
13439 (j0_test_data): Likewise.
13440 (j1_test_data): Likewise.
13441 (jn_test_data): Likewise.
13442 (lgamma_test_data): Likewise.
13443 (log_test_data): Likewise.
13444 (log10_test_data): Likewise.
13445 (log1p_test_data): Likewise.
13446 (log2_test_data): Likewise.
13447 (pow_test_data): Likewise.
13448 (scalb_test_data): Likewise.
13449 (sin_test_data): Likewise.
13450 (sincos_test_data): Likewise.
13451 (sinh_test_data): Likewise.
13452 (tan_test_data): Likewise.
13453 (tanh_test_data): Likewise.
13454 (tgamma_test_data): Likewise.
13455 (y0_test_data): Likewise.
13456 (y1_test_data): Likewise.
13457 (yn_test_data): Likewise.
13458
66294491
JM
13459 [BZ #16167]
13460 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
13461 argument being NaN and avoid computations with second argument in
13462 that case.
13463 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13464 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13465 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13466
1820b143
CL
134672013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
13468
13469 * locale/iso-639.def: Add Chitwani Tharu (the).
13470
714bd261
AS
134712013-11-14 Andreas Schwab <schwab@suse.de>
13472
13473 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
13474 word instead of empty string.
13475
7ab44563
AZ
134762013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13477
13478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13479 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
13480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13481 (__fe_nomask_env): Likewise.
13482
e8470ea2
SE
134832013-11-13 Steve Ellcey <sellcey@mips.com>
13484
13485 * benchtests/bench-timing.h: Include time.h.
13486
17c1d9f0
L
134872013-11-13 H.J. Lu <hongjiu.lu@intel.com>
13488
13489 [BZ #15997]
13490 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
13491 to 3.4.0 for x32.
13492 * sysdeps/unix/sysv/linux/configure: Regenerated.
13493
9310c284
JM
134942013-11-13 Joseph Myers <joseph@codesourcery.com>
13495
13496 [BZ #16151]
13497 * stdlib/strtod_l.c (round_and_return): Do not consider
13498 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
13499 exponent one less than half the least subnormal exponent.
13500 * stdlib/test-strtod-round-data: Add more tests.
13501 * stdlib/tst-strtod-round.c (tests): Regenerated.
13502
7a2ad8cf
AZ
135032013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13504
13505 [BZ #14143]
13506 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
13507 (__fe_mask_env): Likewise.
13508 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
13509 libm_hidden_proto and add function prototype.
13510 (__fe_mask_env): Add function prototype.
13511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13512 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
13513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13514 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
13515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13516 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
13517
50727aa7
MS
135182013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13519
b2f386c1 13520 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
13521 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
13522
a615be46
MS
135232013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13524
13525 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
13526 of htab_find_slot().
13527
7ddace62
DM
135282013-11-11 David S. Miller <davem@davemloft.net>
13529
13530 [BZ #16150]
13531 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
13532 symbol in the non-vis3 case in static builds.
13533 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
13534 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
13535 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
13536 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
13537
9182aa67
JK
135382013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13539
13540 [BZ #387]
13541 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
13542 it is empty.
13543
450a2e2d
AZ
135442013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13545
b2f386c1
SP
13546 * benchtests/Makefile: Add bench-strtod.
13547 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 13548
8ec3f656
AS
135492013-11-11 Andreas Schwab <schwab@suse.de>
13550
13551 [BZ #16153]
13552 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
13553 terminating NUL in key length.
13554
76a9b998
AZ
135552013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13556
13557 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13558 Add artificial ODP entry for vDSO symbol for PPC64.
13559 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
13560 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13561
e4368156
OB
135622013-11-07 Ondřej Bílka <neleai@seznam.cz>
13563
13564 [BZ #15374]
13565 * nss/getent.c (services_keys): Recognize services starting with digit.
13566
8d6bb57c
DM
135672013-11-06 David S. Miller <davem@davemloft.net>
13568
13569 [BZ #15985]
13570 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
13571 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
13572
e256c421
WN
135732013-11-06 Will Newton <will.newton@linaro.org>
13574
13575 * manual/memory.texi (Malloc Examples): Remove register
13576 keyword from examples.
13577
f6e12daa 135782013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 13579
f6e12daa 13580 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 13581
9d880655
AS
135822013-11-04 Joseph Myers <joseph@codesourcery.com>
13583
fd2f9486 13584 [BZ #6981]
9d880655
AS
13585 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
13586 depending on [__GCC_IEC_559 > 0].
13587 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
13588 depending on [__GCC_IEC_559_COMPLEX > 0].
13589
ae129d3c
CL
135902013-11-03 Chris Leonard <cjl@sugarlabs.org>
13591
13592 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
13593 to iso-639.def.
13594
4a15c2a4 135952013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
13596
13597 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
13598
8b35e35d
OB
135992013-11-01 Ondřej Bílka <neleai@seznam.cz>
13600
13601 [BZ #16112]
13602 * malloc/malloc (malloc_info): Do not handle first bin as
13603 special case.
13604
1d70fd6c
CL
136052013-11-01 Chris Leonard <cjl@sugarlabs.org>
13606
13607 * locale/iso-639.def: Add Central Nahuatl (nhn).
13608
8c5c2600
BH
136092013-11-01 Bruno Haible <bruno@clisp.org>
13610
13611 [BZ #7003]
13612 * manual/math.texi (BSD Random): Specify range upper bound as
13613 in POSIX.
13614
da5579c2
CL
136152013-10-31 Chris Leonard <cjl@sugarlabs.org>
13616
13617 * locale/iso-639.def: Add Meadow Mari (mhr).
13618
5d30d853
OB
136192013-10-31 Ondřej Bílka <neleai@seznam.cz>
13620
13621 [BZ #14752], [BZ #15763]
13622 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
13623 Validate name.
13624 * rt/tst_shm.c: Add test for escaping directory.
13625
a4966c61
AS
136262013-10-31 Andreas Schwab <schwab@suse.de>
13627
8a43e768 13628 [BZ #15917]
a4966c61
AS
13629 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
13630 followed by 'x' as part of digit sequence.
13631 * stdio-common/tst-sscanf.c (double_tests2): New tests.
13632
28d708c4
MAP
136332013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
13634
13635 [BZ #16037]
13636 * configure.ac: allow GNU Make 4.0 and greater.
13637 * configure: Regenerated.
13638
a56ee40b
WN
136392013-10-30 Will Newton <will.newton@linaro.org>
13640
13641 [BZ #16038]
13642 * malloc/hooks.c (memalign_check): Limit alignment to the
13643 maximum representable power of two.
13644 * malloc/malloc.c (__libc_memalign): Likewise.
13645 * malloc/tst-memalign.c (do_test): Add test for very
13646 large alignment values.
13647 * malloc/tst-posix_memalign.c (do_test): Likewise.
13648
c6e4925d
OB
136492013-10-30 Ondřej Bílka <neleai@seznam.cz>
13650
13651 [BZ #11087]
13652 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
13653 (munmap_chunk): Likewise.
13654 (mremap_chunk): Likewise.
13655
136562013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 13657
8a43e768 13658 [BZ #15799]
bbea82f7
OB
13659 * stdlib/div.c (div): Remove obsolete code.
13660 * stdlib/ldiv.c (ldiv): Likewise.
13661 * stdlib/lldiv.c (lldiv): Likewise.
13662
977f4b31
SP
136632013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13664
13665 [BZ #16071]
13666 * nss/nss_files/files-XXX.c (get_contents_ret): New
13667 enumerator.
13668 (get_contents): New function.
13669 (internal_getent): Use it. Expand size of LINEBUFLEN.
13670
cb8a6dbd
MF
136712013-10-30 Mike Frysinger <vapier@gentoo.org>
13672
13673 * configure.in: Moved to ...
13674 * configure.ac: ... here. Change reference to configure.in
13675 to configure.ac.
13676 * sysdeps/arm/preconfigure.ac: ... here.
13677 configure.in to configure.ac.
13678 * sysdeps/gnu/configure.in: Moved to ...
13679 * sysdeps/gnu/configure.ac: ... here.
13680 * sysdeps/i386/configure.in: Moved to ...
13681 * sysdeps/i386/configure.ac: ... here.
13682 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
13683 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
13684 * sysdeps/mach/configure.in: Moved to ...
13685 * sysdeps/mach/configure.ac: ... here.
13686 * sysdeps/mach/hurd/configure.in: Moved to ...
13687 * sysdeps/mach/hurd/configure.ac: ... here.
13688 * sysdeps/powerpc/configure.in: Moved to ...
13689 * sysdeps/powerpc/configure.ac: ... here.
13690 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
13691 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
13692 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
13693 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
13694 * sysdeps/s390/s390-32/configure.in: Moved to ...
13695 * sysdeps/s390/s390-32/configure.ac: ... here.
13696 * sysdeps/s390/s390-64/configure.in: Moved to ...
13697 * sysdeps/s390/s390-64/configure.ac: ... here.
13698 * sysdeps/sh/configure.in: Moved to ...
13699 * sysdeps/sh/configure.ac: ... here.
13700 * sysdeps/sparc/configure.in: Moved to ...
13701 * sysdeps/sparc/configure.ac: ... here.
13702 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
13703 * sysdeps/unix/sysv/linux/configure.ac: ... here.
13704 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
13705 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
13706 * sysdeps/x86_64/configure.in: Moved to ...
13707 * sysdeps/x86_64/configure.ac: ... here.
13708 * sysdeps/x86_64/preconfigure.in: Moved to ...
13709 * sysdeps/x86_64/preconfigure.ac: ... here.
13710 * aclocal.m4: Change reference to configure.in to configure.ac.
13711 * config.h.in: Likewise.
13712 * manual/install.texi: Likewise.
13713 * manual/maint.texi: Likewise.
13714 * Makefile: Likewise.
13715 * malloc/Makefile: Likewise.
13716 * nscd/Makefile: Likewise.
13717 * Makeconfig: Change reference to configure.in and
13718 preconfigure.in to configure.ac and preconfigure.ac
13719 respectively.
13720 * INSTALL: Regenerated.
13721 * configure: Likewise.
13722 * sysdeps/gnu/configure: Likewise.
13723 * sysdeps/i386/configure: Likewise.
13724 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
13725 * sysdeps/mach/configure: Likewise.
13726 * sysdeps/mach/hurd/configure: Likewise.
13727 * sysdeps/powerpc/configure: Likewise.
13728 * sysdeps/powerpc/powerpc32/configure: Likewise.
13729 * sysdeps/powerpc/powerpc64/configure: Likewise.
13730 * sysdeps/s390/s390-32/configure: Likewise.
13731 * sysdeps/s390/s390-64/configure: Likewise.
13732 * sysdeps/sh/configure: Likewise.
13733 * sysdeps/sparc/configure: Likewise.
13734 * sysdeps/unix/sysv/linux/configure: Likewise.
13735 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
13736 * sysdeps/x86_64/configure: Likewise.
13737 * sysdeps/x86_64/preconfigure: Likewise.
13738
36a4953a
AS
137392013-10-29 Andreas Schwab <schwab@suse.de>
13740
13741 * stdio-common/Makefile (tst-swscanf-ENV): Define.
13742
c79a1204
SP
137432013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13744
dfa1b402
SP
13745 * benchtests/pow-inputs: Add new inputs.
13746
54f73d9c
SP
13747 * benchtests/exp-inputs: Add new inputs.
13748
c79a1204
SP
13749 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
13750 conditional check for return value.
13751 (__cos32): Likewise.
13752
67beb545 137532013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
13754
13755 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
13756 to provide a boost for large inputs with word alignment.
13757 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
13758 implementation based on optimized PPC64 strcpy.
13759 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
13760 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
13761 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
13762 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
13763
151659f6
OB
137642013-10-25 Ondřej Bílka <neleai@seznam.cz>
13765
482a077e 13766 [BZ #2801]
151659f6
OB
13767 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
13768
10b0f26b
OB
137692013-10-25 Ondřej Bílka <neleai@seznam.cz>
13770
13771 [BZ #14876]
13772 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13773 * time/tst-strptime.c (day_tests): Add testcase.
13774
ca42d35e
OB
137752013-10-25 Ondřej Bílka <neleai@seznam.cz>
13776
482a077e 13777 [BZ #14029]
ca42d35e
OB
13778 * manual/pattern.texi: Acknowledge that fnmatch can fail.
13779
52e6d801
FB
137802013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
13781
13782 [BZ #16074]
13783 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13784 MAP_FAILED on error.
13785
7cbcdb36
SP
137862013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13787
13788 [BZ #16072]
13789 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13790 heap for large requests.
13791
894f3f10
AM
137922013-10-25 Aurelien Jarno <aurelien@aurel32.net>
13793
13794 [BZ #9954]
13795 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
13796 result if the result has no associated interface.
13797 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13798 interface for all 127.X.Y.Z addresses.
13799
b85545a6
CL
138002013-10-24 Chris Leonard <cjl@sugarlabs.org>
13801
13802 * locale/iso-639.def: Add Ligurian (lij)
13803
d1f23d46
OB
138042013-10-21 Ondřej Bílka <neleai@seznam.cz>
13805
13806 [BZ #15825]
13807 * sunrpc/rpc_main.c: Document rpcgen -5.
13808
4db5b08f
MS
138092013-10-19 Michael Stahl <mstahl@redhat.com>
13810
13811 * elf/rtld.c (do_preload): Print the reason why preloading failed.
13812
a471e96a
OB
138132013-10-19 Ondřej Bílka <neleai@seznam.cz>
13814
d1f23d46 13815 [BZ #10278]
a471e96a
OB
13816 * posix/glob.c: Match only directories when trailing slash is present.
13817 * posix/tst-gnuglob.c (my_opendir): Do not open files.
13818 (main): Add testcase.
13819
45c30c61
OB
138202013-10-19 Ondřej Bílka <neleai@seznam.cz>
13821
13822 [BZ #15670]
13823 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
13824
484c12fb
CD
138252013-10-18 Carlos O'Donell <carlos@redhat.com>
13826
3d7dc513
CD
13827 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
13828 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
13829 AUTH_DES and cindex for FIPS 140-2.
13830 (DES Encryption): Add cindex FIPS 46-3.
13831
484c12fb
CD
13832 * locale/locarchive.h (struct locarhandle): Add fname.
13833 * locale/programs/localedef.c (main): Pass ARGV[remaining]
13834 if an optional argument was specified to --list-archive,
13835 otherwise NULL.
13836 * locale/programs/locarchive.c (show_archive_content): Take new
13837 argument fname and pass it via ah.fname to open_archive.
13838 * locale/programs/localedef.h: Update decl.
13839 (open_archive): If AH->fname is non-null, open that file
13840 rather than the default file name, and don't ignore ENOENT.
13841 (create_archive): Set AH.fname to NULL.
13842 (delete_locales_from_archive): Likewise.
13843 (add_locales_to_archive): Likewise.
13844 * locale/programs/locfile.c (write_all_categories): Likewise.
13845
3c8325fb
JM
138462013-10-18 Joseph Myers <joseph@codesourcery.com>
13847 Aldy Hernandez <aldyh@redhat.com>
13848
13849 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
13850 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
13851 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
13852 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
13853 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
13854 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
13855 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
13856 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
13857 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
13858 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
13859 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
13860 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
13861 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
13862 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
13863 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
13864 Likewise.
13865 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
13866 Likewise.
13867 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
13868 Likewise.
13869 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
13870 Likewise.
13871 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
13872 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
13873 Likewise.
13874 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
13875 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
13876 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
13877 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
13878 Likewise.
13879 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
13880 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
13881 * sysdeps/powerpc/preconfigure: Likewise.
13882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13883 Likewise.
13884 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
13885 Replace contents of file by #include of <fenv_libc.h>.
13886 * sysdeps/powerpc/soft-fp/sfp-machine.h
13887 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
13888 and <sys/prctl.h>.
13889 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
13890 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
13891 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
13892 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
13893 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
13894 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
13895 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
13896 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
13897 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
13898 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
13899 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
13900 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
13901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13902 Allow copysignl PLT reference to be missing.
13903
5abe0682
RS
139042013-10-18 Richard Sandiford <richard@codesourcery.com>
13905 Joseph Myers <joseph@codesourcery.com
13906
13907 [BZ #15948]
13908 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
13909 single character.
13910 (add_to_tablewc): Assert sequence of wide characters is nonempty.
13911
c7738d08
SP
139122013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13913
13914 * elf/tst-tls-dlinfo.c: Don't include tls.h.
13915 * elf/tst-tls1.c: Likewise.
13916 * elf/tst-tls10.h: Likewise.
13917 * elf/tst-tls14.c: Likewise.
13918 * elf/tst-tls2.c: Likewise.
13919 * elf/tst-tls3.c: Likewise.
13920 * elf/tst-tls4.c: Likewise.
13921 * elf/tst-tls5.c: Likewise.
13922 * elf/tst-tls6.c: Likewise.
13923 * elf/tst-tls7.c: Likewise.
13924 * elf/tst-tls8.c: Likewise.
13925 * elf/tst-tls9.c: Likewise.
13926 * elf/tst-tlsmod1.c: Likewise.
13927 * elf/tst-tlsmod13.c: Likewise.
13928 * elf/tst-tlsmod13a.c: Likewise.
13929 * elf/tst-tlsmod14a.c: Likewise.
13930 * elf/tst-tlsmod16a.c: Likewise.
13931 * elf/tst-tlsmod16b.c: Likewise.
13932 * elf/tst-tlsmod2.c: Likewise.
13933 * elf/tst-tlsmod3.c: Likewise.
13934 * elf/tst-tlsmod4.c: Likewise.
13935 * elf/tst-tlsmod5.c: Likewise.
13936 * elf/tst-tlsmod6.c: Likewise.
13937
0bfcf2c7
OB
139382013-10-18 Ondřej Bílka <neleai@seznam.cz>
13939
13940 [BZ #12486]
13941 * malloc/malloc.c: remove checks for statistics.
13942
264aad1e
OB
139432013-10-17 Ondřej Bílka <neleai@seznam.cz>
13944
13945 [BZ #15277]
13946 * inet/inet_net.c (inet_network): Detect additional invalid strings.
13947 * inet/tst-network.c: Add testcase.
13948
b957ced8
AS
139492013-10-17 Andreas Schwab <schwab@suse.de>
13950
13951 [BZ #15218]
13952 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
13953 to determine canonical name.
13954
c5d5d574
OB
139552013-10-17 Ondřej Bílka <neleai@seznam.cz>
13956
13957 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
13958 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
13959 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13960 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13961 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13962 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13963 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13964 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13965 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13966 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13967 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13968 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13969 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13970 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13971 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13972 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13973 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13974 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13975 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13976 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13977 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13978 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13979 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13980 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
13981 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
13982 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13983 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13984 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
13985 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13986 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
13987 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13988 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13989 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13990 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13991 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13992 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13993 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13994 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13995 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13996 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13997 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13998 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13999 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14000 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14001 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14002 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14003 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14004 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14005 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14006 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14007 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14008 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14009 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14010 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14011 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14012 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14013 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14014 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14015
e5c2c2d0
JM
140162013-10-17 Joseph Myers <joseph@codesourcery.com>
14017
14018 [BZ #16041]
14019 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
14020 make result into a quiet NaN.
14021
51ca9e29
JM
140222013-10-16 Joseph Myers <joseph@codesourcery.com>
14023
14024 * soft-fp/adddf3.c: Fix horizontal whitespace.
14025 * soft-fp/addsf3.c: Likewise.
14026 * soft-fp/addtf3.c: Likewise.
14027 * soft-fp/divdf3.c: Likewise.
14028 * soft-fp/divsf3.c: Likewise.
14029 * soft-fp/divtf3.c: Likewise.
14030 * soft-fp/double.h: Likewise.
14031 * soft-fp/eqdf2.c: Likewise.
14032 * soft-fp/eqsf2.c: Likewise.
14033 * soft-fp/eqtf2.c: Likewise.
14034 * soft-fp/extenddftf2.c: Likewise.
14035 * soft-fp/extended.h: Likewise.
14036 * soft-fp/extendsfdf2.c: Likewise.
14037 * soft-fp/extendsftf2.c: Likewise.
14038 * soft-fp/extendxftf2.c: Likewise.
14039 * soft-fp/fixdfdi.c: Likewise.
14040 * soft-fp/fixdfsi.c: Likewise.
14041 * soft-fp/fixdfti.c: Likewise.
14042 * soft-fp/fixsfdi.c: Likewise.
14043 * soft-fp/fixsfsi.c: Likewise.
14044 * soft-fp/fixsfti.c: Likewise.
14045 * soft-fp/fixtfdi.c: Likewise.
14046 * soft-fp/fixtfsi.c: Likewise.
14047 * soft-fp/fixtfti.c: Likewise.
14048 * soft-fp/fixunsdfdi.c: Likewise.
14049 * soft-fp/fixunsdfsi.c: Likewise.
14050 * soft-fp/fixunsdfti.c: Likewise.
14051 * soft-fp/fixunssfdi.c: Likewise.
14052 * soft-fp/fixunssfsi.c: Likewise.
14053 * soft-fp/fixunssfti.c: Likewise.
14054 * soft-fp/fixunstfdi.c: Likewise.
14055 * soft-fp/fixunstfsi.c: Likewise.
14056 * soft-fp/fixunstfti.c: Likewise.
14057 * soft-fp/floatdidf.c: Likewise.
14058 * soft-fp/floatdisf.c: Likewise.
14059 * soft-fp/floatditf.c: Likewise.
14060 * soft-fp/floatsidf.c: Likewise.
14061 * soft-fp/floatsisf.c: Likewise.
14062 * soft-fp/floatsitf.c: Likewise.
14063 * soft-fp/floattidf.c: Likewise.
14064 * soft-fp/floattisf.c: Likewise.
14065 * soft-fp/floattitf.c: Likewise.
14066 * soft-fp/floatundidf.c: Likewise.
14067 * soft-fp/floatundisf.c: Likewise.
14068 * soft-fp/floatunditf.c: Likewise.
14069 * soft-fp/floatunsidf.c: Likewise.
14070 * soft-fp/floatunsisf.c: Likewise.
14071 * soft-fp/floatunsitf.c: Likewise.
14072 * soft-fp/floatuntidf.c: Likewise.
14073 * soft-fp/floatuntisf.c: Likewise.
14074 * soft-fp/floatuntitf.c: Likewise.
14075 * soft-fp/fmadf4.c: Likewise.
14076 * soft-fp/fmasf4.c: Likewise.
14077 * soft-fp/fmatf4.c: Likewise.
14078 * soft-fp/gedf2.c: Likewise.
14079 * soft-fp/gesf2.c: Likewise.
14080 * soft-fp/getf2.c: Likewise.
14081 * soft-fp/ledf2.c: Likewise.
14082 * soft-fp/lesf2.c: Likewise.
14083 * soft-fp/letf2.c: Likewise.
14084 * soft-fp/muldf3.c: Likewise.
14085 * soft-fp/mulsf3.c: Likewise.
14086 * soft-fp/multf3.c: Likewise.
14087 * soft-fp/negdf2.c: Likewise.
14088 * soft-fp/negsf2.c: Likewise.
14089 * soft-fp/negtf2.c: Likewise.
14090 * soft-fp/op-1.h: Likewise.
14091 * soft-fp/op-2.h: Likewise.
14092 * soft-fp/op-4.h: Likewise.
14093 * soft-fp/op-8.h: Likewise.
14094 * soft-fp/op-common.h: Likewise.
14095 * soft-fp/quad.h: Likewise.
14096 * soft-fp/single.h: Likewise.
14097 * soft-fp/soft-fp.h: Likewise.
14098 * soft-fp/sqrtdf2.c: Likewise.
14099 * soft-fp/sqrtsf2.c: Likewise.
14100 * soft-fp/sqrttf2.c: Likewise.
14101 * soft-fp/subdf3.c: Likewise.
14102 * soft-fp/subsf3.c: Likewise.
14103 * soft-fp/subtf3.c: Likewise.
14104 * soft-fp/truncdfsf2.c: Likewise.
14105 * soft-fp/trunctfdf2.c: Likewise.
14106 * soft-fp/trunctfsf2.c: Likewise.
14107 * soft-fp/trunctfxf2.c: Likewise.
14108 * soft-fp/unorddf2.c: Likewise.
14109 * soft-fp/unordsf2.c: Likewise.
14110 * soft-fp/unordtf2.c: Likewise.
14111
9ebb0332
JM
141122013-10-15 Joseph Myers <joseph@codesourcery.com>
14113
14114 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
14115 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
14116
4b1a6d8b
OB
141172013-10-15 Ondřej Bílka <neleai@seznam.cz>
14118
14119 * elf/dl-libc.c: Clear initfini list after freeing.
14120
1e145589
JM
141212013-10-14 Joseph Myers <joseph@codesourcery.com>
14122
14123 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
14124 * soft-fp/addsf3.c: Likewise.
14125 * soft-fp/addtf3.c: Likewise.
14126 * soft-fp/divdf3.c: Likewise.
14127 * soft-fp/divsf3.c: Likewise.
14128 * soft-fp/divtf3.c: Likewise.
14129 * soft-fp/double.h: Likewise.
14130 * soft-fp/eqdf2.c: Likewise.
14131 * soft-fp/eqsf2.c: Likewise.
14132 * soft-fp/eqtf2.c: Likewise.
14133 * soft-fp/extenddftf2.c: Likewise.
14134 * soft-fp/extended.h: Likewise.
14135 * soft-fp/extendsfdf2.c: Likewise.
14136 * soft-fp/extendsftf2.c: Likewise.
14137 * soft-fp/extendxftf2.c: Likewise.
14138 * soft-fp/fixdfdi.c: Likewise.
14139 * soft-fp/fixdfsi.c: Likewise.
14140 * soft-fp/fixdfti.c: Likewise.
14141 * soft-fp/fixsfdi.c: Likewise.
14142 * soft-fp/fixsfsi.c: Likewise.
14143 * soft-fp/fixsfti.c: Likewise.
14144 * soft-fp/fixtfdi.c: Likewise.
14145 * soft-fp/fixtfsi.c: Likewise.
14146 * soft-fp/fixtfti.c: Likewise.
14147 * soft-fp/fixunsdfdi.c: Likewise.
14148 * soft-fp/fixunsdfsi.c: Likewise.
14149 * soft-fp/fixunsdfti.c: Likewise.
14150 * soft-fp/fixunssfdi.c: Likewise.
14151 * soft-fp/fixunssfsi.c: Likewise.
14152 * soft-fp/fixunssfti.c: Likewise.
14153 * soft-fp/fixunstfdi.c: Likewise.
14154 * soft-fp/fixunstfsi.c: Likewise.
14155 * soft-fp/fixunstfti.c: Likewise.
14156 * soft-fp/floatdidf.c: Likewise.
14157 * soft-fp/floatdisf.c: Likewise.
14158 * soft-fp/floatditf.c: Likewise.
14159 * soft-fp/floatsidf.c: Likewise.
14160 * soft-fp/floatsisf.c: Likewise.
14161 * soft-fp/floatsitf.c: Likewise.
14162 * soft-fp/floattidf.c: Likewise.
14163 * soft-fp/floattisf.c: Likewise.
14164 * soft-fp/floattitf.c: Likewise.
14165 * soft-fp/floatundidf.c: Likewise.
14166 * soft-fp/floatundisf.c: Likewise.
14167 * soft-fp/floatunsidf.c: Likewise.
14168 * soft-fp/floatunsisf.c: Likewise.
14169 * soft-fp/floatuntidf.c: Likewise.
14170 * soft-fp/floatuntisf.c: Likewise.
14171 * soft-fp/floatuntitf.c: Likewise.
14172 * soft-fp/fmadf4.c: Likewise.
14173 * soft-fp/fmasf4.c: Likewise.
14174 * soft-fp/fmatf4.c: Likewise.
14175 * soft-fp/gedf2.c: Likewise.
14176 * soft-fp/gesf2.c: Likewise.
14177 * soft-fp/getf2.c: Likewise.
14178 * soft-fp/ledf2.c: Likewise.
14179 * soft-fp/lesf2.c: Likewise.
14180 * soft-fp/letf2.c: Likewise.
14181 * soft-fp/muldf3.c: Likewise.
14182 * soft-fp/mulsf3.c: Likewise.
14183 * soft-fp/multf3.c: Likewise.
14184 * soft-fp/negdf2.c: Likewise.
14185 * soft-fp/negsf2.c: Likewise.
14186 * soft-fp/negtf2.c: Likewise.
14187 * soft-fp/op-1.h: Likewise.
14188 * soft-fp/op-2.h: Likewise.
14189 * soft-fp/op-4.h: Likewise.
14190 * soft-fp/op-8.h: Likewise.
14191 * soft-fp/op-common.h: Likewise.
14192 * soft-fp/quad.h: Likewise.
14193 * soft-fp/single.h: Likewise.
14194 * soft-fp/soft-fp.h: Likewise.
14195 * soft-fp/sqrtdf2.c: Likewise.
14196 * soft-fp/sqrtsf2.c: Likewise.
14197 * soft-fp/sqrttf2.c: Likewise.
14198 * soft-fp/subdf3.c: Likewise.
14199 * soft-fp/subsf3.c: Likewise.
14200 * soft-fp/subtf3.c: Likewise.
14201 * soft-fp/truncdfsf2.c: Likewise.
14202 * soft-fp/trunctfdf2.c: Likewise.
14203 * soft-fp/trunctfsf2.c: Likewise.
14204 * soft-fp/trunctfxf2.c: Likewise.
14205 * soft-fp/unorddf2.c: Likewise.
14206 * soft-fp/unordsf2.c: Likewise.
14207 * soft-fp/unordtf2.c: Likewise.
14208
17c48a60
OB
142092013-10-14 Ondřej Bílka <neleai@seznam.cz>
14210
14211 [BZ #15672]
14212 * misc/error.c (error_tail): Fix possible buffer overflow.
14213
cabba934
OB
142142013-10-14 Aurelien Jarno <aurelien@aurel32.net>
14215
14216 [BZ #13028]
14217 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
14218 address.
14219
94bf958a
PM
142202013-10-14 P. J. McDermott <pj@pehjota.net>
14221
14222 [BZ #832]
14223 * elf/ldd.bash.in (try_trace): New function. Delete previous code
14224 testing pipefail option.
14225
71b4dea7
JM
142262013-10-12 Joseph Myers <joseph@codesourcery.com>
14227
14228 * soft-fp/double.h: Indent preprocessor directives inside #if.
14229 * soft-fp/extended.h: Likewise.
14230 * soft-fp/op-2.h: Likewise.
14231 * soft-fp/op-4.h: Likewise.
14232 * soft-fp/op-common.h: Likewise.
14233 * soft-fp/quad.h: Likewise.
14234 * soft-fp/single.h: Likewise.
14235 * soft-fp/soft-fp.h: Likewise.
14236
55602758
YC
142372013-10-12 Yuri Chornoivan <yurchor@ukr.net>
14238
14239 * iconv/iconv_prog.c: Fix typos.
14240 * stdio-common/psiginfo-data.h: Likewise.
14241
9cd83302
RT
142422013-10-12 Reuben Thomas <rrt@sc3d.org>
14243
14244 [BZ #15764]
14245 * locale/setlocale.c: Fix typo.
14246
99fd9f47
JM
142472013-10-12 Joseph Myers <joseph@codesourcery.com>
14248
b7ea74f0
JM
14249 [BZ #16036]
14250 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14251 signaling NaN arguments.
14252 * soft-fp/unordsf2.c (__unordsf2): Likewise.
14253 * soft-fp/unordtf2.c (__unordtf2): Likewise.
14254
8a509447
JM
14255 [BZ #14910]
14256 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14257 unordered operands.
14258 * soft-fp/gesf2.c (__gesf2): Likewise.
14259 * soft-fp/getf2.c (__getf2): Likewise.
14260 * soft-fp/ledf2.c (__ledf2): Likewise.
14261 * soft-fp/lesf2.c (__lesf2): Likewise.
14262 * soft-fp/letf2.c (__letf2): Likewise.
14263
98998e9f
JM
14264 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
14265 * soft-fp/eqsf2.c (__eqsf2): Likewise.
14266 * soft-fp/eqtf2.c (__eqtf2): Likewise.
14267 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
14268 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
14269 * soft-fp/fixdfti.c (__fixdfti): Likewise.
14270 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
14271 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
14272 * soft-fp/fixsfti.c (__fixsfti): Likewise.
14273 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
14274 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14275 * soft-fp/fixtfti.c (__fixtfti): Likewise.
14276 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
14277 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
14278 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
14279 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
14280 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
14281 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
14282 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
14283 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
14284 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
14285 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
14286 * soft-fp/floatdisf.c (__floatdisf): Likewise.
14287 * soft-fp/floatsisf.c (__floatsisf): Likewise.
14288 * soft-fp/floattidf.c (__floattidf): Likewise.
14289 * soft-fp/floattisf.c (__floattisf): Likewise.
14290 * soft-fp/floattitf.c (__floattitf): Likewise.
14291 * soft-fp/floatundidf.c (__floatundidf): Likewise.
14292 * soft-fp/floatundisf.c (__floatundisf): Likewise.
14293 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
14294 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
14295 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
14296 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
14297 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
14298 * soft-fp/gesf2.c (__gesf2): Likewise.
14299 * soft-fp/getf2.c (__getf2): Likewise.
14300 * soft-fp/ledf2.c (__ledf2): Likewise.
14301 * soft-fp/lesf2.c (__lesf2): Likewise.
14302 * soft-fp/letf2.c (__letf2): Likewise.
14303
8edc4a11
JM
14304 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
14305 Undefine and redefine.
14306 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
14307 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
14308 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
14309 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
14310 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14311 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
14312 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14313 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
14314 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14315 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
14316 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14317 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
14318 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14319 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
14320 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14321
8399acaf
JM
14322 [BZ #16032]
14323 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
14324 without decrementing exponent if mantissa >= that for the
14325 denominator, not >.
14326 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
14327 denominator, not >. Decrement exponent in < case instead of
14328 incrementing in >= case.
14329 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
14330 without decrementing exponent if mantissa >= that for the
14331 denominator, not >.
14332
99fd9f47
JM
14333 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
14334 computing saturated result for unsigned overflow.
14335
10e1cf6b
SP
143362013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14337 Jeff Law <law@redhat.com>
14338
14339 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
14340 (atan2Mp): Add systemtap probe marker.
14341 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
14342 (__ieee754_log): Add systemtap probe marker.
14343 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
14344 (atanMp): Add systemtap probe marker.
14345 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
14346 (tanMp): Add systemtap probe marker.
14347 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
14348 (__slowexp): Add systemtap probe marker.
14349 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
14350 (__slowpow): Add systemtap probe marker.
14351 * manual/probes.texi: Document probes.
14352
3d110c7c
EB
143532013-10-11 Eric Biggers <ebiggers3@gmail.com>
14354
14355 [BZ #15362]
14356 * libio/fileops.c (_IO_new_file_write): Return count of bytes
14357 written.
14358 (_IO_new_file_xsputn): Don't return EOF if nothing has been
14359 written.
14360 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
14361 written to buffer but not flushed.
14362 * libio/iofwrite_u.c: Likewise.
14363 * libio/iopadn.c: Return bytes returned even if EOF was
14364 encountered.
14365 * libio/iowpadn.c: Likewise.
14366 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
14367 if _IO_padn does not write the whole buffer.
14368 [!COMPILE_WPRINTF] (PAD): Likewise.
14369
75b4202a
DM
143702013-10-10 David S. Miller <davem@davemloft.net>
14371
14372 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
14373 directory block.
14374
6c6352e6
JM
143752013-10-10 Joseph Myers <joseph@codesourcery.com>
14376
33b853c3
JM
14377 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
14378 instead of FSF address.
14379 * soft-fp/fixdfti.c: Likewise.
14380 * soft-fp/fixsfti.c: Likewise.
14381 * soft-fp/fixtfti.c: Likewise.
14382 * soft-fp/fixunsdfti.c: Likewise.
14383 * soft-fp/fixunssfti.c: Likewise.
14384 * soft-fp/fixunstfti.c: Likewise.
14385 * soft-fp/floattidf.c: Likewise.
14386 * soft-fp/floattisf.c: Likewise.
14387 * soft-fp/floattitf.c: Likewise.
14388 * soft-fp/floatuntidf.c: Likewise.
14389 * soft-fp/floatuntisf.c: Likewise.
14390 * soft-fp/floatuntitf.c: Likewise.
14391 * soft-fp/trunctfxf2.c: Likewise.
14392
6c6352e6
JM
14393 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
14394 * soft-fp/fixdfti.c: Likewise.
14395 * soft-fp/fixsfti.c: Likewise.
14396 * soft-fp/fixtfti.c: Likewise.
14397 * soft-fp/fixunsdfti.c: Likewise.
14398 * soft-fp/fixunssfti.c: Likewise.
14399 * soft-fp/fixunstfti.c: Likewise.
14400 * soft-fp/floattidf.c: Likewise.
14401 * soft-fp/floattisf.c: Likewise.
14402 * soft-fp/floattitf.c: Likewise.
14403 * soft-fp/floatuntidf.c: Likewise.
14404 * soft-fp/floatuntisf.c: Likewise.
14405 * soft-fp/floatuntitf.c: Likewise.
14406 * soft-fp/trunctfxf2.c: Likewise.
14407
3bf78b71
DM
144082013-10-10 David S. Miller <davem@davemloft.net>
14409
14410 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14411
6f10289e
JM
144122013-10-10 Joseph Myers <joseph@codsourcery.com>
14413
bd878fc0
JM
14414 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14415 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
14416 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
14417 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
14418 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
14419 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
14420 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
14421
6f10289e
JM
14422 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
14423 for NaNs before doing comparisons on argument.
14424 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14425 Likewise.
14426
321e2684
WN
144272013-10-10 Will Newton <will.newton@linaro.org>
14428
14429 * malloc/hooks.c (memalign_check): Ensure the value of bytes
14430 passed to _int_memalign does not overflow.
14431
40fefba1
TR
144322013-10-10 Torvald Riegel <triegel@redhat.com>
14433
14434 * scripts/bench.pl: Add include-sources directive.
14435 * benchtests/README: Update documentation.
14436
2ae21ed2
JM
144372013-10-10 Joseph Myers <joseph@codesourcery.com>
14438
dcc2dd3f
JM
14439 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
14440 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
14441 instead of FP_INIT_ROUNDMODE.
14442 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
14443 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
14444
2ae21ed2
JM
14445 [BZ #16034]
14446 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
14447 copy class of input value.
14448 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
14449 not handle exceptions.
14450 * soft-fp/negsf2.c (__negsf2): Likewise.
14451 * soft-fp/negtf2.c (__negtf2): Likewise.
14452 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
14453
cb8f9562
JM
144542013-10-09 Joseph Myers <joseph@codesourcery.com>
14455
14456 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
14457 semicolon. From Linux kernel.
14458
5b60c59d
AB
144592013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
14460
14461 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
14462
b86835ca
YC
144632013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
14464
14465 [BZ #156]
14466 * manual/socket.texi: Added statement about buffer
14467 for gethostbyname2_r.
14468
e7044ea7
OB
144692013-10-08 Ondřej Bílka <neleai@seznam.cz>
14470
14471 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
14472 Use .p2align directive instead, throughout.
14473 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14474 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
14475 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14476 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14477 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14478 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14479 * sysdeps/x86_64/strchr.S: Likewise.
14480 * sysdeps/x86_64/strrchr.S: Likewise.
14481
09544cbc
SP
144822013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14483
88576635
SP
14484 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
14485
e7b2d1dd
SP
14486 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
14487
09544cbc
SP
14488 * sysdeps/generic/math_private.h (__mpsin1): Remove
14489 declaration.
14490 (__mpcos1): Likewise.
14491 (__mpsin): New argument __range_reduce.
14492 (__mpcos): Likewise.
14493 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14494 (slow): Use __mpsin and __mpcos.
14495 (slow1): Likewise.
14496 (slow2): Likewise.
14497 (sloww): Likewise.
14498 (sloww1): Likewise.
14499 (sloww2): Likewise.
14500 (bsloww): Likewise.
14501 (bsloww1): Likewise.
14502 (bsloww2): Likewise.
14503 (cslow2): Likewise.
14504 (csloww): Likewise.
14505 (csloww1): Likewise.
14506 (csloww2): Likewise.
14507 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
14508 range_reduce. Merge in __mpsin1.
14509 (__mpcos): Likewise.
14510 (__mpsin1): Remove.
14511 (__mpcos1): Likewise.
14512
7602d070
JM
145132013-10-07 Joseph Myers <joseph@codesourcery.com>
14514
14515 * locale/loadlocale.c (_nl_intern_locale_data): Use
14516 LOCFILE_ALIGNED_P.
14517 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
14518 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
14519 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
14520 obstack data is appropriately aligned.
14521 (obstack_int32_grow_fast): Likewise.
14522 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
14523 * locale/programs/locfile.c (add_locale_uint32): Likewise.
14524 (add_locale_uint32_array): Likewise.
14525
a357259b
SP
145262013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14527
14528 * benchtests/Makefile: Remove ARGLIST and RET variables.
14529 ($(objpfx)bench-%.c): Pass only function name to the script.
14530 * benchtests/README: Update documentation.
14531 * benchtests/acos-inputs: Add new directives.
14532 * benchtests/acosh-inputs: Likewise.
14533 * benchtests/asin-inputs: Likewise.
14534 * benchtests/asinh-inputs: Likewise.
14535 * benchtests/atan-inputs: Likewise.
14536 * benchtests/atanh-inputs: Likewise.
14537 * benchtests/cos-inputs: Likewise.
14538 * benchtests/cosh-inputs: Likewise.
14539 * benchtests/exp-inputs: Likewise.
14540 * benchtests/log-inputs: Likewise.
14541 * benchtests/pow-inputs: Likewise.
14542 * benchtests/rint-inputs: Likewise.
14543 * benchtests/sin-inputs: Likewise.
14544 * benchtests/sinh-inputs: Likewise.
14545 * benchtests/tan-inputs: Likewise.
14546 * benchtests/tanh-inputs: Likewise.
14547 * scripts/bench.pl: Add support for new directives.
14548
9ec1b13d
AM
145492013-10-07 Alan Modra <amodra@gmail.com>
14550
14551 * README: Fix careless merge.
14552
8b7d57cd
AM
145532013-10-05 Alan Modra <amodra@gmail.com>
14554
14555 * NEWS: Mention powerpc64le support and bugs fixed.
14556 * README: Both big-endian and little-endian powerpc64 supported.
14557
7b7bab13
ST
145582013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14559
57f41c40
AS
14560 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
14561 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
14562 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
14563 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
14564
d39baad1
RA
145652013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
14566
14567 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
14568 match prototype.
14569
cd78f7e7
JM
145702013-10-04 Joseph Myers <joseph@codesourcery.com>
14571
29d73d86
JM
14572 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
14573 Move -mhard-float appending from
14574 ports/sysdeps/powerpc/powerpc32/Makefile.
14575 [$(with-fp) = yes] (ASFLAGS): Likewise.
14576 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
14577 * sysdeps/powerpc/nofpu: Move directory from
14578 ports/sysdeps/powerpc/nofpu.
14579 * sysdeps/powerpc/soft-fp: Move directory from
14580 ports/sysdeps/powerpc/soft-fp.
14581 * sysdeps/powerpc/powerpc32/405: Move directory from
14582 ports/sysdeps/powerpc/powerpc32/405.
14583 * sysdeps/powerpc/powerpc32/440: Move directory from
14584 ports/sysdeps/powerpc/powerpc32/440.
14585 * sysdeps/powerpc/powerpc32/464: Move directory from
14586 ports/sysdeps/powerpc/powerpc32/464.
14587 * sysdeps/powerpc/powerpc32/476: Move directory from
14588 ports/sysdeps/powerpc/powerpc32/476.
14589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
14590 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
14591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
14592 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
14593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
14594 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
14595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
14596 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
14597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
14598 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
14599 * README: Update for powerpc-*-linux-gnu software floating point
14600 support in libc.
14601
e246b347
JM
14602 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
14603 case to powerpc/powerpc32*.
14604 * sysdeps/unix/sysv/linux/configure: Regenerated.
14605
89c2003e
JM
14606 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
14607 (_FPU_MASK_OM): Define as 0x04.
14608 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
14609 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
14610 0x00c10080.
14611 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
14612 0x0000003c.
14613 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
14614
cd78f7e7
JM
14615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
14616 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14617 getcontext_e500.
14618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
14619 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14620 setcontext_e500.
14621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
14622 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
14623 and setcontext_e500.
14624
c755294d
CL
146252013-10-04 Chris Leonard <cjl@sugarlabs,.org>
14626
14627 * locale/iso-3166.def: Update iso-1366.def and related occurrences
14628
e16d221c
SP
146292013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14630
14631 * manual/threads.texi (Default Thread Attributes): Fix typo.
14632
215c7d43
WN
146332013-10-04 Will Newton <will.newton@linaro.org>
14634
14635 * malloc/Makefile: Add tst-memalign.
14636 * malloc/tst-memalign.c: New file.
14637
27d0461b
WN
14638 * malloc/tst-posix_memalign.c: Add comments.
14639 (do_test): Add comments and call free on all potentially
14640 allocated pointers. Add space after cast.
14641
1bc92709
WN
14642 * malloc/tst-pvalloc.c: Add comments.
14643 (do_test): Add comments and call free on all potentially
14644 allocated pointers. Remove duplicate check for NULL pointer.
14645 Add space after cast.
14646
66a9be9d
WN
14647 * malloc/tst-valloc.c: Add comments.
14648 (do_test): Add comments and call free on all potentially
14649 allocated pointers. Remove duplicate check for NULL pointer.
14650 Add space after cast.
14651
4cb81307
AM
146522013-10-04 Alan Modra <amodra@gmail.com>
14653
14654 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14655 Use stdint types in rather than __attribute__((mode())).
14656 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14657
f8e3e9f3
AM
146582013-10-04 Alan Modra <amodra@gmail.com>
14659
14660 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14661 Correct handling of unaligned relocs for little-endian.
14662 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14663
8f9ebb08
AM
146642013-10-04 Alan Modra <amodra@gmail.com>
14665
14666 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
14667 * configure: Regenerate.
14668 * nptl/shlib-versions: Powerpc*le starts at 2.18.
14669 * shlib-versions: Likewise.
14670
0edf96c2
AM
146712013-10-04 Alan Modra <amodra@gmail.com>
14672
14673 * string/tester.c (test_memrchr): Increment reported test cycle.
14674
e0f7a380
AM
146752013-10-04 Alan Modra <amodra@gmail.com>
14676
14677 * string/test-memcpy.c (do_one_test): When reporting errors, print
14678 string address and don't overrun end of string.
14679
466b0393
AM
146802013-10-04 Alan Modra <amodra@gmail.com>
14681
14682 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
14683 insrdi. Make better use of reg selection to speed exit slightly.
14684 Schedule entry path a little better. Remove useless "are we done"
14685 checks on entry to main loop. Handle wrapping around zero address.
14686 Correct main loop count. Handle single left-over word from main
14687 loop inline rather than by using loop_small. Remove extra word
14688 case in loop_small caused by wrong loop count. Add little-endian
14689 support.
14690 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14691 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
14692 cache hint.
14693 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14694 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
14695 support. Avoid rlwimi.
14696 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
14697
3be87c77
AM
146982013-10-04 Alan Modra <amodra@gmail.com>
14699
14700 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 14701 insrdi. Formatting.
3be87c77
AM
14702 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
14703 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14704 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14705 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14706 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14707 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
14708
759cfef3
AM
147092013-10-04 Alan Modra <amodra@gmail.com>
14710
14711 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
14712 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14713 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14714 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
14715 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14716 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14717 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14718 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14719 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
14720 use of regs. Use power7 mtocrf. Tidy function tails.
14721
fe6e95d7
AM
147222013-10-04 Alan Modra <amodra@gmail.com>
14723
14724 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
14725 Formatting. Consistently use rXXX register defines or rN defines.
14726 Use early exit labels that avoid restoring unused non-volatile regs.
14727 Make cr field use more consistent with rWORDn compares. Rename
14728 regs used as shift registers for unaligned loop, using rN defines
14729 for short lifetime/multiple use regs.
14730 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14731 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
14732 addi 1,1,64 to pop stack frame. Simplify return value code.
14733 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14734
664318c3
AM
147352013-10-04 Alan Modra <amodra@gmail.com>
14736
14737 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
14738 support. Correct typos, formatting. Optimize tail. Use insrdi
14739 rather than rlwimi.
14740 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
14741 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
14742 little-endian support. Correct typos.
14743 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
14744 rather than rlwimi.
14745 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
14746 in loop and entry code to keep "and." results.
14747 (strchr): Add little-endian support. Comment. Move cntlzd
14748 earlier in tail.
14749 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
14750
43b84013
AM
147512013-10-04 Alan Modra <amodra@gmail.com>
14752
14753 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
14754 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
14755 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14756 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
14757
8a7413f9
AM
147582013-10-04 Alan Modra <amodra@gmail.com>
14759
14760 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
14761 (rTMP): Define as r11.
14762 (strcmp): Add little-endian support. Optimise tail.
14763 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
14764 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14765 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14766 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14767 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14768 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14769 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14770
33ee81de
AM
147712013-10-04 Alan Modra <amodra@gmail.com>
14772
14773 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14774 little-endian support. Remove unnecessary "are we done" tests.
14775 Handle "s" wrapping around zero and extremely large "size".
14776 Correct main loop count. Handle single left-over word from main
14777 loop inline rather than by using small_loop. Correct comments.
14778 Delete "zero" tail, use "end_max" instead.
14779 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14780
db9b4570
AM
147812013-10-04 Alan Modra <amodra@gmail.com>
14782
14783 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14784 support. Don't branch over align.
14785 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14786 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14787 support. Rearrange tmp reg use to suit. Comment.
14788 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14789
f7c399cf
AM
147902013-10-04 Alan Modra <amodra@gmail.com>
14791
14792 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14793
0b2c2ace
AM
147942013-10-04 Alan Modra <amodra@gmail.com>
14795
14796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
14797 conditional form of branch and link when obtaining pc.
14798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14799
02f04a6c
AM
148002013-10-04 Alan Modra <amodra@gmail.com>
14801
14802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
14803 HIWORD/LOWORD.
14804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
14805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
14806
9b874b2f
AM
148072013-10-04 Alan Modra <amodra@gmail.com>
14808
14809 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
14810 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
14811 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
14812 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
14813 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14814 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14815 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
14816 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14817 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
14818 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
14819
be1e5d31
AB
148202013-10-04 Anton Blanchard <anton@au1.ibm.com>
14821 Alistair Popple <alistair@ozlabs.au.ibm.com>
14822 Alan Modra <amodra@gmail.com>
14823
14824 [BZ #15723]
14825 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
14826 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
14827 _dl_hwcap access for little-endian.
14828 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
14829 destroy vmx regs when saving unaligned.
14830 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
14831 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
14832 destroy vmx regs when saving unaligned.
14833
fef13a78
AM
148342013-10-04 Alan Modra <amodra@gmail.com>
14835
14836 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
14837 Don't use a union to pack hi/low value.
14838
76a66d51
AB
148392013-10-04 Anton Blanchard <anton@au1.ibm.com>
14840
14841 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
14842 for little-endian.
14843 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14844 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
14845 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14846 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14847 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14848
6a31fe7f
AM
148492013-10-04 Alan Modra <amodra@gmail.com>
14850
14851 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
14852 constants to usual value for .cst8 section, and remove redundant
14853 high address load.
14854 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
14855 constant for 0x1p52. Load little-endian words of double from
14856 correct stack offsets.
14857
7b88401f
AM
148582013-10-04 Alan Modra <amodra@gmail.com>
14859
14860 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
14861 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
14862 words of double from correct stack offsets.
14863 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
14864 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
14865 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14866 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14867 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14868 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14869 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14870 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
14871 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
14872 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14873 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14874 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14875 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14876 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14877 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14878 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
14879 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
14880
9c008155
AM
148812013-10-04 Alan Modra <amodra@gmail.com>
14882
14883 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
14884 64-bit int/double union.
14885 (_FPU_SETCW): Likewise.
14886 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
14887 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
14888
da13146d
AM
148892013-10-04 Alan Modra <amodra@gmail.com>
14890
14891 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
14892 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
14893
603e8410
AM
148942013-10-04 Alan Modra <amodra@gmail.com>
14895
14896 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
14897 use vector int constants.
14898 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
14899
4a28b3ca
AB
149002013-10-04 Anton Blanchard <anton@au1.ibm.com>
14901
14902 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
14903 array with long long.
14904 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
14905 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
14906 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
14907 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
14908 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
14909 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
14910 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
14911 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
14912 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
14913 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
14914 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
14915 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
14916 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
14917
2ca85d2b
AB
149182013-10-04 Anton Blanchard <anton@au1.ibm.com>
14919
14920 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
14921 (__signbit): Likewise. Correct for little-endian.
14922 (__signbitl): Call __signbit.
14923 (lrint): Correct for little-endian.
14924 (lrintf): Call lrint.
14925
62a728ae
AM
149262013-10-04 Alan Modra <amodra@gmail.com>
14927
14928 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
14929 union 32-bit int array member with 64-bit int array.
14930 (t515, tm256): Double rather than long double.
14931 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
14932
32c301df
AM
149332013-10-04 Alan Modra <amodra@gmail.com>
14934
14935 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
14936 Delete.
14937 (IEEE854_LONG_DOUBLE_BIAS): Delete.
14938 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
14939 version of math_ldbl.h.
14940
650ef4bd
AM
149412013-10-04 Alan Modra <amodra@gmail.com>
14942
14943 [BZ #15734], [BZ #15735]
14944 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
14945 all uses of ieee875 long double macros and unions. Simplify test
14946 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
14947 ldbl_extract_mantissa value for ix,iy exponents. Properly
14948 normalize after ldbl_extract_mantissa, and don't add hidden bit
14949 already handled. Don't treat low word of ieee854 mantissa like
14950 low word of IBM long double and mask off bit when testing for
14951 zero.
14952 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
14953 all uses of ieee875 long double macros and unions. Simplify tests
14954 for 0.0L and inf. Correct double adjustment of k. Delete dead code
14955 adjusting ha,hb. Simplify code setting kld. Delete two600 and
14956 two1022, instead use their values. Recognise that tests for large
14957 "a" and small "b" are mutually exclusive. Rename vars. Comment.
14958 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
14959 Rewrite all uses of ieee875 long double macros and unions. Simplify
14960 test for 0.0L and nan. Correct negation.
14961 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
14962 ieee875 long double macros and unions. Correct output for large
14963 magnitude x. Correct absolute value calculation.
14964 (__erfcl): Likewise.
14965 * math/libm-test.inc: Add tests for errors discovered in IBM long
14966 double versions of fmodl, remainderl, erfl and erfcl.
14967
765714ca
AM
149682013-10-04 Alan Modra <amodra@gmail.com>
14969
14970 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
14971 all uses of ieee854 long double macros and unions. Simplify tests
14972 for long doubles that are fully specified by the high double.
14973 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14974 Likewise.
14975 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
14976 Remove dead code too.
14977 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14978 (__ieee754_ynl): Likewise.
14979 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
14980 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
14981 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14982 Remove dead code too.
14983 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14984 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
14985 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
14986 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
14987 Simplify.
14988 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
14989 Simplify.
14990 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
14991 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
14992 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
14993 Comment on variable precision.
14994 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
14995 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14996 Likewise.
14997 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14998 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14999 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15000 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15001 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
15002
4ebd120c
AM
150032013-10-04 Alan Modra <amodra@gmail.com>
15004
15005 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
15006 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
15007 all uses of ieee854 long double macros and unions.
15008 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15009 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15010 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
15011 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
15012 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
15013 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15014 Likewise.
15015 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
15016 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15017 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
15018 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15019 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15020 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15021 Simplify sign and nan test too.
15022 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
15023 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
15024 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
15025 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
15026 Likewise.
15027 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15028 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
15029 Likewise.
15030 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15031 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15032 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
15033 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
15034 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
15035 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
15036
1b6adf88
AM
150372013-10-04 Alan Modra <amodra@gmail.com>
15038
15039 * stdio-common/printf_size.c (__printf_size): Don't use
15040 union ieee854_long_double in fpnum union.
15041 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
15042 signbit macro to retrieve sign from long double.
15043 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
15044 retrieve sign from long double.
15045 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
15046 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
15047 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
15048 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15049 * math/test-misc.c (main): Don't use union ieee854_long_double.
15050
4cf69995
AM
150512013-10-04 Alan Modra <amodra@gmail.com>
15052
15053 [BZ #15680]
15054 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
15055 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
15056 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
15057 calculation. Remove unnecessary test for denormal exponent.
15058 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
15059 Correct handling of denormals. Avoid undefined shift behaviour.
15060 Correct normalisation of low mantissa when low double is denormal.
15061 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
15062 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
15063 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
15064 Correct normalisation of low mantissa. Test for overflow of high
15065 mantissa and normalise.
15066 (ldbl_nearbyint): Use more readable constant for two52.
15067 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
15068 (__mpn_construct_long_double): Fix test for overflow of high
15069 mantissa and correct normalisation. Avoid undefined shift.
15070
9605ca6c
AM
150712013-10-04 Alan Modra <amodra@gmail.com>
15072
15073 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15074 (union ibm_extended_long_double): Define as an array of ieee754_double.
15075 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
15076 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
15077 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
15078 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15079 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15080 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
15081 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15082 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15083 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15084 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
15085 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15086
975569d0
JM
150872013-10-03 Joseph Myers <joseph@codesourcery.com>
15088
d3d23756
JM
15089 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
15090 page size instead of calling getpagesize.
15091
975569d0
JM
15092 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
15093 (LOCFILE_ALIGN_MASK): Likewise.
15094 (LOCFILE_ALIGN_UP): Likewise.
15095 (LOCFILE_ALIGNED_P): Likewise.
15096 * locale/programs/ld-collate.c (collate_output): Use the new
15097 macros instead of __alignof__ (int32_t).
15098 * locale/weight.h (findidx): Likewise.
15099
b1fe1f2b
OB
151002013-10-03 Ondřej Bílka <neleai@seznam.cz>
15101
15102 [BZ #431]
15103 * manual/string.texi: Fix strncat and wcsncat.
15104
5f855e35
BM
151052013-10-03 Brooks Moses <bmoses@google.com>
15106
15107 [BZ #15915]
15108 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
15109 * Makerules: ...here, and adjust associated comments.
15110
3cef6009
WN
151112013-10-02 Will Newton <will.newton@linaro.org>
15112
15113 * malloc/Makefile: Add tst-pvalloc.
15114 * malloc/tst-pvalloc.c: New file.
15115
7815420b
WN
151162013-10-02 Will Newton <will.newton@linaro.org>
15117
15118 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
15119 improve test coverage.
15120
4868b204
WN
151212013-10-02 Will Newton <will.newton@linaro.org>
15122
15123 * malloc/Makefile: Add tst-posix_memalign.
15124 * malloc/tst-posix_memalign.c: New file.
15125
29c793b3
EB
151262013-10-01 Eric Blake <eblake@redhat.com>
15127
15128 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
15129 Use __THROWNL rather than __THROW on static functions.
15130
fd967522
PM
151312013-09-30 Petr Machata <pmachata@redhat.com>
15132
15133 * elf/elf.h (R_AARCH64_ABS16): New macro.
15134 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
15135 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
15136 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
15137 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
15138 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
15139 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
15140 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
15141 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
15142 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
15143 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
15144 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
15145 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
15146 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
15147 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
15148 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
15149 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
15150 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
15151 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
15152 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
15153 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
15154 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
15155 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
15156 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
15157 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
15158 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15159 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15160 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15161 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15162 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15163 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15164 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15165 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15166 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15167 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15168 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15169 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15170 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15171 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15172 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15173 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15174 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
15175 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
15176 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
15177 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
15178 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
15179 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
15180 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
15181 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
15182 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
15183 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
15184 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
15185 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
15186 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
15187 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
15188 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
15189 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
15190 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
15191 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
15192 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
15193 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
15194 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
15195 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
15196 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
15197 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
15198 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
15199 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
15200 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
15201 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
15202 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
15203 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
15204 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
15205 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
15206 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
15207 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
15208 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
15209 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
15210 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
15211 (R_AARCH64_TLSDESC_LDR): Likewise.
15212 (R_AARCH64_TLSDESC_ADD): Likewise.
15213 (R_AARCH64_TLSDESC_CALL): Likewise.
15214
b2179107
AS
152152013-09-30 Andreas Schwab <schwab@suse.de>
15216
15217 [BZ #15048]
15218 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
15219 the nss database lookup.
15220 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15221 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15222
47f28d0a
MF
152232013-09-28 Mike Frysinger <vapier@gentoo.org>
15224
15225 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15226
152272013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
15228
15229 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15230 ${Bash-specific parameter/pattern/string} parameter expansion.
15231 * sysdeps/unix/make-syscalls.sh: Likewise.
15232
f4518a17
KK
152332013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15234
15235 * sysdeps/sh/stackguard-macros.h: New file.
15236
dc1a95c7
OB
152372013-09-26 Ondřej Bílka <neleai@seznam.cz>
15238
15239 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15240 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15241 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15242 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15243 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15244 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15245
5ebbff8f
AZ
152462013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15247
15248 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15249 Fix thread ID register.
15250
4fd2cf9f
JM
152512013-09-25 Joseph Myers <joseph@codesourcery.com>
15252
15253 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15254 [POSIX || UNIX98]: Require rather than permitting all symbols from
15255 <time.h>.
15256 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15257 element of struct sched_param.
15258 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15259 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15260 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15261 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
15262 constant.
15263
12c22bc4
OL
152642013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
15265
15266 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
15267 argument calculation.
15268
a03d8ea7
JM
152692013-09-24 Joseph Myers <joseph@codesourcery.com>
15270
15271 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
15272 Expect macro.
15273 [POSIX] (pthread_attr_t): Do not require type.
15274 [POSIX] (pthread_cond_t): Likewise.
15275 [POSIX] (pthread_condattr_t): Likewise.
15276 [POSIX] (pthread_key_t): Likewise.
15277 [POSIX] (pthread_mutex_t): Likewise.
15278 [POSIX] (pthread_mutexattr_t): Likewise.
15279 [POSIX] (pthread_once_t): Likewise.
15280 [POSIX] (pthread_t): Likewise.
15281 [POSIX-based standards] (pthread_atfork): Expect function.
15282
6055173a
JM
152832013-09-24 Joseph Myers <joseph@codesourcery.com>
15284 Richard Sandiford <richard@codesourcery.com>
15285
15286 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
15287 (swap_endianness_p): New extern variable.
15288 (set_big_endian): New inline function.
15289 (maybe_swap_uint32): Likewise.
15290 (maybe_swap_uint32_array): Likewise.
15291 (maybe_swap_uint32_obstack): Likewise.
15292 * locale/programs/locfile.c: Include <stdbool.h>.
15293 (swap_endianness_p): New variable.
15294 (add_locale_uint32): Call maybe_swap_uint32.
15295 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
15296 (write_locale_data): Call maybe_swap_uint32_array.
15297 * locale/programs/ld-collate.c (obstack_int32_grow): Call
15298 maybe_swap_uint32.
15299 (obstack_int32_grow_fast): Likewise.
15300 (output_weightwc): Call maybe_swap_uint32_obstack.
15301 (collate_output): Likewise.
15302 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
15303 (OPT_LITTLE_ENDIAN): Likewise.
15304 (options): Add --little-endian and --big-endian options.
15305 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
15306 * locale/programs/locarchive.c: Include "locfile.h".
15307 (GET): New macro.
15308 (SET): Likewise.
15309 (INC): Likewise.
15310 (create_archive): Use the new macros to access fields of
15311 structures directly mapped from or written to locale archives.
15312 (oldlocrecentcmp): Likewise.
15313 (enlarge_archive): Likewise.
15314 (insert_name): Likewise.
15315 (add_alias): Likewise.
15316 (add_locale): Likewise.
15317 (delete_locales_from_archive): Likewise.
15318 (show_archive_content): Likewise.
15319 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
15320 locale data.
15321
39bf0bb4
RM
153222013-09-24 Roland McGrath <roland@hack.frob.com>
15323
15324 * manual/freemanuals.texi: Updated from (newly) canonical copy at
15325 http://www.gnu.org/doc/freemanuals.texi.
15326 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
15327
f02eed10
WN
153282013-09-24 Will Newton <will.newton@linaro.org>
15329
15330 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
15331 macro.
15332
a3a6c312
JM
153332013-09-23 Joseph Myers <joseph@codesourcery.com>
15334
15335 * locale/hashval.h (compute_hashval): Interpret bytes of key as
15336 unsigned char.
15337
107375ac
MR
153382013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
15339
15340 * manual/threads.texi (POSIX Threads): Fix a typo.
15341
141f3a77
SP
153422013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15343
303e567a
SP
15344 [BZ #14547]
15345 * string/tst-strcoll-overflow.c: New test case.
15346 * string/Makefile (xtests): Add tst-strcoll-overflow.
15347 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
15348 cache if string sizes may cause integer overflow.
15349
141f3a77
SP
15350 [BZ #14547]
15351 * string/strcoll_l.c (coll_seq): New members rule, idx,
15352 save_idx and back_us.
15353 (get_next_seq_nocache): New function.
15354 (do_compare_nocache): New function.
15355 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
15356 when malloc fails.
15357
c61b4d41
CD
153582013-09-23 Carlos O'Donell <carlos@redhat.com>
15359
0b1f8e35
CD
15360 [BZ #15754]
15361 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
15362 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
15363 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
15364
c61b4d41
CD
15365 [BZ #15754]
15366 * elf/Makefile (tests): Add tst-ptrguard1.
15367 (tests-static): Add tst-ptrguard1-static.
15368 (tst-ptrguard1-ARGS): Define.
15369 (tst-ptrguard1-static-ARGS): Define.
15370 * elf/tst-ptrguard1.c: New file.
15371 * elf/tst-ptrguard1-static.c: New file.
15372 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
15373 * sysdeps/i386/stackguard-macros.h: Likewise.
15374 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15375 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15376 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15377 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15378 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15379 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15380
153812013-09-23 Hector Marco <hecmargi@upv.es>
15382 Ismael Ripoll <iripoll@disca.upv.es>
15383 Carlos O'Donell <carlos@redhat.com>
15384
15385 [BZ #15754]
15386 * sysdeps/generic/stackguard-macros.h: Define
15387 __pointer_chk_guard_local and POINTER_CHK_GUARD.
15388 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
15389 Define __pointer_chk_guard_local.
15390 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
15391 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
15392
f5f4e7b4
VV
153932013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
15394
15395 [BZ #15859]
15396 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
15397
5bb43a43
AS
153982013-09-20 Andreas Schwab <schwab@linux-m68k.org>
15399
15400 * include/string.h (__ffs): Declare as hidden.
15401 * string/ffs.c (__ffs): Define as hidden.
15402 * sysdeps/i386/ffs.c (__ffs): Likewise.
15403 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15404 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
15405 * sysdeps/s390/ffs.c (__ffs): Likewise.
15406 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
15407
3ea5be54
AO
154082013-09-20 Alexandre Oliva <aoliva@redhat.com>
15409
ffb89e53
AO
15410 * NEWS: Mention malloc probes.
15411
322dea08
AO
15412 * malloc/arena.c (new_heap): New memory_heap_new probe.
15413 (grow_heap): New memory_heap_more probe.
15414 (shrink_heap): New memory_heap_less probe.
15415 (heap_trim): New memory_heap_free probe.
15416 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
15417 (systrim): New memory_sbrk_less probe.
15418 * manual/probes.texi: Document them.
15419
655673f3
AO
15420 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
15421 * manual/probes.texi: Document it.
15422
35fed6f1
AO
15423 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
15424 (__libc_realloc): Add memory_realloc_retry probe.
15425 (__libc_memalign): Add memory_memalign_retry probe.
15426 (__libc_valloc): Add memory_valloc_retry probe.
15427 (__libc_pvalloc): Add memory_pvalloc_retry probe.
15428 (__libc_calloc): Add memory_calloc_retry probe.
15429 * manual/probes.texi: Document them.
15430
6999d38c
AO
15431 * malloc/arena.c (get_free_list): Add probe
15432 memory_arena_reuse_free_list.
15433 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
15434 and memory_arena_reuse.
15435 (arena_get2) [!PER_THREAD]: Likewise.
15436 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
15437 memory_arena_reuse_realloc.
15438 * manual/probes.texi: Document them.
15439
0653427f
AO
15440 * malloc/malloc.c (__libc_free): Add
15441 memory_mallopt_free_dyn_thresholds probe.
15442 (__libc_mallopt): Add multiple memory_mallopt probes.
15443 * manual/probes.texi: Document them.
15444
3ea5be54
AO
15445 * malloc/malloc.c: Include stap-probe.h.
15446 (__libc_mallopt): Add memory_mallopt probe.
15447 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
15448 * manual/probes.texi: New.
15449 * manual/Makefile (chapters): Add probes.
15450 * manual/threads.texi: Set next node.
15451
e35696c3 154522013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 15453
e35696c3
CL
15454 [BZ #15963, #13985]
15455 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
15456 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
15457 Add `Chinese' to `nan' entry name.
15458
4aafb73c
SP
154592013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15460
15461 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
15462 (POLYNOMIAL): Likewise.
15463 (TAYLOR_SINCOS): Likewise.
15464 (TAYLOR_SLOW): Likewise.
15465 (__sin): Use TAYLOR_SINCOS.
15466 (__cos): Likewise.
15467 (slow): Use TAYLOR_SLOW.
15468 (sloww): Likewise.
15469 (bsloww): Likewise.
15470 (csloww): Likewise.
15471
d84f25c7
LD
154722013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15473
15474 * stdlib/strtod_l.c: Fix buffer overrun.
15475
5eea0404
SP
154762013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15477
7849ff93
SP
15478 * benchtests/Makefile (bench): Add sincos.
15479 * benchtests/bench-sincos.c: New file.
15480
cfa3c886
SP
15481 * math/libm-test.inc (cos_test_data): New test inputs.
15482 (sin_test_data): Likewise.
15483
b348e1e3
SP
15484 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
15485 macro.
15486 (__sin): Use it.
15487 (__cos): Likewise.
15488 (slow1): Likewise.
15489 (slow2): Likewise.
15490 (sloww1): Likewise.
15491 (sloww2): Likewise.
15492 (bsloww1): Likewise.
15493 (bsloww2): Likewise.
15494 (cslow2): Likewise.
15495 (csloww1): Likewise.
15496 (csloww2): Likewise.
15497
6cce25f8
SP
15498 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
15499 function.
15500 (__sin): Use it.
15501 (__cos): Likewise.
15502
5eea0404
SP
15503 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
15504 gotos.
15505 (__cos): Likewise.
15506
9c21573c
MR
155072013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
15508
15509 * config.h.in (HAVE_MIPS_NAN2008): New macro.
15510 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
15511 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
15512 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
15513 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
15514 * elf/cache.c (print_entry): Handle the new cache flags.
15515
24d22e65
JM
155162013-09-18 Joseph Myers <joseph@codesourcery.com>
15517 Aldy Hernandez <aldyh@redhat.com>
15518
15519 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
15520 Change condition to [_SOFT_FLOAT].
15521 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
15522 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
15523 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
15524 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
15525 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
15526 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
15527 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
15528 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
15529 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
15530 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
15531 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
15532 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
15533 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
15534 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
15535 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
15536 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
15537 declaration.
15538
d13ef066
JM
155392013-09-18 Joseph Myers <joseph@codesourcery.com>
15540
2e071de0
JM
15541 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
15542 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15543 (__longjmp): Use LOAD_GP to load saved GPRs.
15544 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
15545 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15546 (__sigsetjmp): Use SAVE_GP to save GPRs.
15547
d13ef066
JM
15548 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
15549 Do not append -msoft-float.
15550 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
15551
97a0650b
SP
155522013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15553
15554 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
15555
11ca09e9
JM
155562013-09-17 Joseph Myers <joseph@codesourcery.com>
15557
15558 [BZ #15966]
15559 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
15560 (_FPU_GETCW): Use initial "__" on variable and field names but not
15561 on macro parameter name.
15562 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
15563 parentheses around reference to macro parameter.
15564
08ffcf34
RS
155652013-09-13 Richard Sandiford <richard@codesourcery.com>
15566
15567 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
15568 prototype.
15569 (ctype_startup): Use uint32_t in cast and sizeof for
15570 ctype->charnames.
15571
ae7080d3
JL
155722013-09-11 Jia Liu <proljc@gmail.com>
15573
15574 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
15575 __daddr_t_defined.
15576 [__FreeBSD__]: Likewise.
15577
5905e7b3
OB
155782013-09-11 Ondřej Bílka <neleai@seznam.cz>
15579
15580 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15581 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
15582 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
15583 (strchr): Remove __strchr_sse42 ifunc selection.
15584 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
15585 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
15586
b987c776
WN
155872013-09-11 Will Newton <will.newton@linaro.org>
15588
15589 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
15590 parameter to RES. Remove hardcoded 1000 value.
15591 * benchtests/bench-skeleton.c (main): Pass RES parameter
15592 to TIMING_INIT and multiply result by 1000.
15593
ddf985af
AZ
155942013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15595
15596 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15597
ffdd3181
AS
155982013-09-11 Andreas Schwab <schwab@suse.de>
15599
15600 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15601 if not defined.
15602 (O_TMPFILE) [__USE_GNU]: Define.
15603 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
15604 Define.
15605
b73ed247
WN
156062013-09-11 Will Newton <will.newton@linaro.org>
15607
15608 [BZ #15857]
15609 * malloc/malloc.c (__libc_memalign): Check the value of bytes
15610 does not overflow.
15611
55e17aad
WN
156122013-09-11 Will Newton <will.newton@linaro.org>
15613
15614 [BZ #15856]
15615 * malloc/malloc.c (__libc_valloc): Check the value of bytes
15616 does not overflow.
15617
1159a193
WN
156182013-09-11 Will Newton <will.newton@linaro.org>
15619
15620 [BZ #15855]
15621 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
15622 does not overflow.
15623
5905e7b3 156242013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
15625
15626 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
15627 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15628 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15629 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15630 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15631
cdfc721b
AM
156322013-09-10 Allan McRae <allan@archlinux.org>
15633
aa04af00
AM
15634 [BZ #15748]
15635 * manual/arith.texi (Parsing of Floats): Clarify
15636 cross-reference.
15637
cdfc721b
AM
15638 [BZ #15849]
15639 * manual/install.texi (Running make install): Mention
15640 --enable-pt-chown.
15641 * INSTALL: Regenerated.
15642
95e7cf29
MR
156432013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15644
15645 * csu/init-first.c (_init): Remove the !SHARED condition around
15646 FPU control word initialization.
15647 * elf/dl-support.c (_dl_fpu_control): New variable.
15648 (_dl_aux_init) <AT_FPUCW>: Initialize it.
15649 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
15650 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
15651 * math/test-fpucw-static.c: New file.
15652 * math/test-fpucw-ieee.c: New file.
15653 * math/test-fpucw-ieee-static.c: New file.
15654 * math/Makefile (tests): Add `test-fpucw-ieee' and
15655 `$(tests-static)'.
15656 (tests-static): New variable.
15657 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
15658 dependency to...
15659 [($(build-shared),yes)]
15660 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15661 ... this.
15662 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
15663 New dependency.
15664
83e43bf0
AM
156652013-09-09 Allan McRae <allan@archlinux.org>
15666
a9f5ce09
AM
15667 [BZ #15939]
15668 * manual/string.texi (Collation Functions): Fix typo in
15669 strcoll example.
15670 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
15671
34829bc2
AM
15672 [BZ #15893]
15673 * stdlib/isomac.c (get_null_defines): Fix memory leak.
15674
3932737d
AM
15675 [BZ #15892]
15676 * libio/memstream.c (open_memstream): Fix memory leak.
15677 * libio/wmemstream.c (open_wmemstream): Likewise.
15678
83e43bf0
AM
15679 [BZ #15895]
15680 * nscd/netgroupcache.c: Fix nesting of ifdefs.
15681
0c66b8e9
WN
156822013-09-09 Will Newton <will.newton@linaro.org>
15683
15684 * malloc/Makefile: Add tst-realloc to tests.
15685 * malloc/tst-realloc.c: New file.
15686
f6b00fd1
AM
156872013-09-09 Allan McRae <allan@archlinux.org>
15688
15689 [BZ #15844]
15690 * COPYING: Update from GNU website to fix FSF address.
15691 * COPYING.LIB: Likewise.
15692
eec55e16
DM
156932013-09-06 David S. Miller <davem@davemloft.net>
15694
15695 * po/zh_TW.po: Update Chinese (traditional) translation from
15696 translation project.
15697
1ecbb381
RS
156982013-09-06 Richard Sandiford <richard@codesourcery.com>
15699 Joseph Myers <joseph@codesourcery.com>
15700
15701 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
15702 "localeinfo.h".
15703 (obstack_chunk_alloc): New macro.
15704 (obstack_chunk_free): Likewise.
15705 (record_offset): New function.
15706 (init_locale_data): Likewise.
15707 (align_locale_data): Likewise.
15708 (add_locale_empty): Likewise.
15709 (add_locale_raw_data): Likewise.
15710 (add_locale_raw_obstack): Likewise.
15711 (add_locale_string): Likewise.
15712 (add_locale_wstring): Likewise.
15713 (add_locale_uint32): Likewise.
15714 (add_locale_uint32_array): Likewise.
15715 (add_locale_char): Likewise.
15716 (start_locale_structure): Likewise.
15717 (end_locale_structure): Likewise.
15718 (start_locale_prelude): Likewise.
15719 (end_locale_prelude): Likewise.
15720 (write_locale_data): Take locale_file structure rather than an
15721 iovec.
15722 * locale/programs/locfile.h: Include "obstack.h".
15723 (struct locale_file): Change to store locale file contents instead
15724 of header.
15725 (init_locale_data): New prototype.
15726 (align_locale_data): Likewise.
15727 (add_locale_empty): Likewise.
15728 (add_locale_raw_data): Likewise.
15729 (add_locale_raw_obstack): Likewise.
15730 (add_locale_string): Likewise.
15731 (add_locale_wstring): Likewise.
15732 (add_locale_uint32): Likewise.
15733 (add_locale_uint32_array): Likewise.
15734 (add_locale_char): Likewise.
15735 (start_locale_structure): Likewise.
15736 (end_locale_structure): Likewise.
15737 (start_locale_prelude): Likewise.
15738 (end_locale_prelude): Likewise.
15739 (write_locale_data): Update prototype.
15740 * locale/programs/3level.h (struct TABLE): Remove result field.
15741 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
15742 Use new locale_file interface.
15743 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
15744 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
15745 * locale/programs/ld-address.c (address_output): Use new
15746 locale_file interface.
15747 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
15748 NO_ADD_LOCALE.
15749 (collate_finish): Don't call collseq_table_finalize.
15750 (collate_output): Use new locale_file interface.
15751 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
15752 in file.
15753 (NO_FINALIZE): Change to NO_ADD_LOCALE.
15754 (TABLE): Move defines earlier in file.
15755 (ELEMENT): Likewise.
15756 (DEFAULT): Likewise.
15757 (wctrans_table_add): Move macro and inline function earlier in
15758 file.
15759 (struct wctype_table): Move type earlier in file.
15760 (add_locale_wctype_table): New static prototype.
15761 (struct locale_ctype_t): Use logical types instead of struct iovec
15762 pointers for members.
15763 (ctype_output): Use new locale_file interface.
15764 (wctype_table_finalize): Change to add_locale_wctype_table. Use
15765 new locale_file interface.
15766 (allocate_arrays): Update for use of new locale_file interface.
15767 * locale/programs/ld-identification.c (identification_output): Use
15768 new locale_file interface.
15769 * locale/programs/ld-measurement.c (measurement_output): Likewise.
15770 * locale/programs/ld-messages.c (messages_output): Likewise.
15771 * locale/programs/ld-monetary.c (monetary_output): Likewise.
15772 * locale/programs/ld-name.c (name_output): Likewise.
15773 * locale/programs/ld-numeric.c (numeric_output): Likewise.
15774 * locale/programs/ld-paper.c (paper_output): Likewise.
15775 * locale/programs/ld-telephone.c (telephone_output): Likewise.
15776 * locale/programs/ld-time.c (time_output): Likewise.
15777
e029e2e5
AZ
157782013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15779
15780 * benchtests/Makefile: Add memrchr benchmark.
15781 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15782 benchmark as memrchr.
15783 * benchtests/bench-memrchr-ifunc.c: New file.
15784 * benchtests/bench-memrchr.c: New file.
15785
bbf6e8e4
WN
157862013-09-06 Will Newton <will.newton@linaro.org>
15787
15788 * benchtests/Makefile (string-bench): Add memcpy.
15789
6c82a2f8
CD
157902013-09-05 Carlos O'Donell <carlos@redhat.com>
15791 Cong Wang <amwang@redhat.com>
15792
e732c5f0 15793 [BZ #15850]
6c82a2f8
CD
15794 * sysdeps/unix/sysv/linux/bits/in.h
15795 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
15796 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
15797 before __USE_KERNEL_IPV6_DEFS uses.
15798 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
15799 IPPROTO_BEETPH.
15800 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
15801 sockaddr_in6, or ipv6_mreq.
15802
5430fc65
AZ
158032013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15804
15805 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
15806 memory access for final bytes in some large inputs.
15807 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
15808
4660856c
AZ
158092013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15810
15811 * string/test-memrchr.c: New file.
15812 * string/test-memrchr-ifunc.c: New file.
15813 * string/Makefile: Add new memrchr testcase.
15814
bb8ea713
MF
158152013-09-05 Mike Frysinger <vapier@gentoo.org>
15816
15817 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
15818 fanotify_init returns EPERM.
15819
b92a20b5
JM
158202013-09-04 Joseph Myers <joseph@codesourcery.com>
15821
15822 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
15823 errors.
15824 (top level): Treat second token from macro or constant entries for
15825 allowed headers as allowed.
15826 * include/complex.h: Condition internal declarations on
15827 [!_ISOMAC].
15828 * include/fenv.h: Condition include of <stdbool.h> and internal
15829 declarations on [!_ISOMAC].
7447ccd9
CL
15830
158312013-09-04 Chris Leonard <cjl@sugarlabs,.org>
15832
3e181dda 15833 [BZ #15923]
7447ccd9
CL
15834 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
15835
3f2e46a4
JM
158362013-09-04 Joseph Myers <joseph@codesourcery.com>
15837
15838 * configure.in (--enable-versioning): Remove configure option.
15839 (libc_cv_asm_symver_directive): Remove configure test.
15840 (libc_cv_ld_version_script_option): Likewise.
15841 (VERSIONING): Remove variable and AC_SUBST.
15842 (DO_VERSIONING): Remove AC_DEFINE.
15843 * configure: Regenerated.
15844 * config.h.in (DO_VERSIONING): Remove macro.
15845 * Makerules [$(versioning) = yes]: Change conditionals to
15846 [$(build-shared) = yes].
15847 * config.make.in (versioning): Remove variable.
15848 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
15849 [$(build-shared) = yes].
15850 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
15851 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
15852 * elf/Makefile [$(versioning) = yes]: Change conditionals to
15853 [$(build-shared) = yes].
15854 * extra-lib.mk [$(versioning) = yes]: Likewise.
15855 * hurd/Makefile [$(versioning) = yes]: Likewise.
15856 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
15857 [SHARED].
15858 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
15859 [SHARED].
15860 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15861 [SHARED && !NO_HIDDEN].
15862 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
15863 [SHARED].
15864 [SHARED && DO_VERSIONING]: Likewise..
15865 * libio/Makefile [$(versioning) = yes]: Change conditionals to
15866 [$(build-shared) = yes].
15867 * manual/install.texi (--disable-versioning): Remove
15868 documentation.
15869 * INSTALL: Regenerated.
15870 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
15871 to [SHARED].
15872 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
15873 [$(build-shared) = yes].
15874 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
15875 * sysdeps/i386/i686/multiarch/strstr-c.c
15876 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15877 [SHARED && !NO_HIDDEN].
15878 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
15879 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
15880 * sysdeps/powerpc/powerpc32/dl-machine.c
15881 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
15882 * sysdeps/powerpc/powerpc32/sysdep.h
15883 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
15884 to [SHARED && PIC && !NO_HIDDEN].
15885 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
15886 conditional to [SHARED].
15887
44558701
WN
158882013-09-04 Will Newton <will.newton@linaro.org>
15889
15890 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
15891 * benchtests/bench-string.h: Include bench-timing.h instead
15892 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
15893 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
15894 call to HP_TIMING_DIFF_INIT.
15895 * benchtests/bench-memccpy.c: Use bench-timing.h macros
15896 instead of hp-timing.h macros.
15897 * benchtests/bench-memchr.c: Likewise.
15898 * benchtests/bench-memcmp.c: Likewise.
15899 * benchtests/bench-memcpy.c: Likewise.
15900 * benchtests/bench-memmem.c: Likewise.
15901 * benchtests/bench-memmove.c: Likewise.
15902 * benchtests/bench-memset.c: Likewise.
15903 * benchtests/bench-rawmemchr.c: Likewise.
15904 * benchtests/bench-strcasecmp.c: Likewise.
15905 * benchtests/bench-strcasestr.c: Likewise.
15906 * benchtests/bench-strcat.c: Likewise.
15907 * benchtests/bench-strchr.c: Likewise.
15908 * benchtests/bench-strcmp.c: Likewise.
15909 * benchtests/bench-strcpy.c: Likewise.
15910 * benchtests/bench-strcpy_chk.c: Likewise.
15911 * benchtests/bench-strlen.c: Likewise.
15912 * benchtests/bench-strncasecmp.c: Likewise.
15913 * benchtests/bench-strncat.c: Likewise.
15914 * benchtests/bench-strncmp.c: Likewise.
15915 * benchtests/bench-strncpy.c: Likewise.
15916 * benchtests/bench-strnlen.c: Likewise.
15917 * benchtests/bench-strpbrk.c: Likewise.
15918 * benchtests/bench-strrchr.c: Likewise.
15919 * benchtests/bench-strspn.c: Likewise.
15920 * benchtests/bench-strstr.c: Likewise.
15921
cae16d66
WN
159222013-09-04 Will Newton <will.newton@linaro.org>
15923
15924 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
15925
ffa3cd7f
JM
159262013-09-03 Joseph Myers <joseph@codesourcery.com>
15927
15928 [BZ #15427]
15929 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
15930 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
15931 * math/libm-test.inc (lgamma_test_data): Add more tests.
15932 * sysdeps/i386/fpu/libm-test-ulps: Update.
15933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15934
8f02859f
OB
159352013-09-03 Ondřej Bílka <neleai@seznam.cz>
15936
15937 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
15938 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15939 Add ifunc.
15940 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15941 Add strcmp-sse2-unaligned
15942 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
15943
18d43716
MF
159442013-09-02 Mike Frysinger <vapier@gentoo.org>
15945
15946 * Versions.def (libc): Add GLIBC_2.19.
15947
ac444012
MF
159482013-09-02 Mike Frysinger <vapier@gentoo.org>
15949
15950 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
15951 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
15952
b7835e32
JM
159532013-09-02 Joseph Myers <joseph@codesourcery.com>
15954
15955 [BZ #14155]
15956 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
15957 intermediate calculations in recurrence.
15958 (__ieee754_ynf): Likewise.
15959 * math/libm-test.inc (jn_test_data): Do not allow spurious
15960 underflow exception. Add more tests.
15961 (yn_test_data): Add more tests.
15962 * sysdeps/i386/fpu/libm-test-ulps: Update.
15963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15964
8220f4f0
OB
159652013-09-02 Ondřej Bílka <neleai@seznam.cz>
15966
15967 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
15968
f24a6d08
OB
159692013-08-30 Ondřej Bílka <neleai@seznam.cz>
15970
15971 * csu/init-first.c: Fix then/than typos.
15972 * locale/programs/ld-collate.c: Likewise.
15973 * locale/programs/linereader.h: Likewise.
15974 * manual/charset.texi: Likewise.
15975 * manual/filesys.texi: Likewise.
15976 * manual/stdio.texi: Likewise.
15977 * manual/string.texi: Likewise.
15978 * stdlib/fmtmsg.c: Likewise.
15979 * sysdeps/i386/stpncpy.S: Likewise.
15980 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15981 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15982 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15983 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15984
382466e0
OB
159852013-08-30 Ondřej Bílka <neleai@seznam.cz>
15986
15987 * elf/dl-open.c: Fix typos.
15988 * iconvdata/gbbig5.c: Likewise.
15989 * iconvdata/iso-2022-jp.c: Likewise.
15990 * iconv/gconv_int.h: Likewise.
15991 * iconv/loop.c: Likewise.
15992 * nis/rpcsvc/nis.h: Likewise.
15993 * resolv/ns_name.c: Likewise.
15994 * stdio-common/vfscanf.c: Likewise.
15995 * streams/stropts.h: Likewise.
15996 * sunrpc/rpc_thread.c: Likewise.
15997 * sysdeps/i386/strpbrk.S: Likewise.
15998 * sysdeps/ieee754/k_standard.c: Likewise.
15999 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16000 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16001 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
16002 * sysdeps/mach/hurd/profil.c: Likewise.
16003 * sysdeps/s390/dl-procinfo.h: Likewise.
16004 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
16005 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
16006 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
16007 * sysdeps/x86_64/dl-trampoline.S: Likewise.
16008 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16009
0186c6e9
OB
160102013-08-30 Ondřej Bílka <neleai@seznam.cz>
16011
16012 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
16013 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
16014
d4e16af1
OB
160152013-08-29 Ondřej Bílka <neleai@seznam.cz>
16016
16017 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
16018 aix specific files.
16019 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
16020 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
16021 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
16022 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
16023 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
16024 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
16025 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
16026 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
16027
88335980
TS
160282013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16029 Roland McGrath <roland@hack.frob.com>
16030
16031 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
16032 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16033
ed479b02
ST
160342013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
16035
16036 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
16037 __executable_start symbol instead of _start.
16038
f1cc4c86
TS
160392013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16040
d821f07c
TS
16041 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
16042 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
16043 Move macros to...
16044 * sysdeps/gnu/ldsodefs.h: ... this new file.
16045
c54290cf
TS
16046 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
16047 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
16048 instead of ELFOSABI_LINUX.
16049
0007fc9b 16050 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
16051 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
16052 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
16053 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
16054 Likewise.
16055 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
16056 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
16057 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
16058 Likewise.
16059 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16060 (ibm_extended_long_double): Add ieee_nan member.
16061 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
16062 (do_test): New function.
16063
f1cc4c86
TS
16064 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
16065 TEST_TRUNC.
16066 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
16067 functions, renamed from truncdfsf_test, trunctfsf_test,
16068 trunctfdf_test.
16069 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
16070 functions.
16071 (do_test): Run all these.
16072
6f65e668
OB
160732013-08-29 Ondřej Bílka <neleai@seznam.cz>
16074
16075 * argp/argp-help.c: Fix typos.
16076 * argp/argp-parse.c: Likewise.
16077 * debug/backtracesyms.c: Likewise.
16078 * elf/elf.h: Likewise.
16079 * malloc/malloc.c: Likewise.
16080 * nis/nis_print.c: Likewise.
16081 * resolv/res_comp.c: Likewise.
16082 * stdlib/stdlib.h: Likewise.
16083 * sunrpc/clnt_tcp.c: Likewise.
16084 * sunrpc/clnt_udp.c: Likewise.
16085 * sunrpc/clnt_unix.c: Likewise.
16086 * sysdeps/unix/bsd/ptsname.c: Likewise.
16087 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16088 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
16089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
16090 Likewise.
16091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
16092 Likewise.
16093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16094 Likewise.
6f65e668
OB
16095 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16096
3a309239
SP
160972013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16098
16099 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
16100 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16101
3b813b29
MF
161022013-08-27 Mike Frysinger <vapier@gentoo.org>
16103
16104 [BZ #15897]
16105 * dlfcn/Makefile (tests): Add bug-dl-leaf.
16106 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
16107 ($(objpfx)bug-dl-leaf): New rule.
16108 ($(objpfx)bug-dl-leaf.so): Likewise.
16109 ($(objpfx)bug-dl-leaf.out): Likewise.
16110 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
16111 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
16112 * dlfcn/bug-dl-leaf.c: New test.
16113 * dlfcn/bug-dl-leaf-lib.c: Likewise.
16114 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
16115 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
16116 (dlclose): Likewise.
16117 (dlmopen): Likewise.
16118
8cc3269f
RM
161192013-08-27 Roland McGrath <roland@hack.frob.com>
16120
7f9d0034
RM
16121 * include/netdb.h [!_ISOMAC]:
16122 Don't include <tls.h>.
16123 (h_errno, __libc_h_errno): Move declaration and macros out of
16124 [_LIBC_REENTRANT].
16125
fb431262
RM
16126 * include/resolv.h [_RESOLV_H_]:
16127 Don't include <tls.h>.
16128 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
16129 * resolv/res_libc.c: Don't include <tls.h>.
16130 (_res): Use __attribute__ ((nocommon)) in place of
16131 __attribute__ ((section (".bss"))).
16132
bd81123a
RM
16133 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
16134 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
16135
c4e42566
RM
16136 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
16137
f890a59b
RM
16138 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
16139 only under [SIOCGIFCONF && SIOCGIFNETMASK].
16140
16141 * resolv/res_mkquery.c: Include <sys/time.h>.
16142
5d1f0a09
RM
16143 * inet/ifreq.c: Moved to ...
16144 * sysdeps/unix/ifreq.c: ... here.
16145 * inet/ifreq.c: New file, true stub version.
16146
6fcf28b3
RM
16147 * socket/sa_len.c: New file.
16148 * socket/Makefile (aux): Add it.
16149 * sysdeps/unix/sysv/linux/Makefile
16150 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
16151 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
16152 and #include <socket/sa_len.c>.
16153 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
16154 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
16155
e041fb8b
RM
16156 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
16157 * bits/socket.h: ... here.
16158
8cc3269f
RM
16159 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16160 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16161 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16162
5d228a43
AS
161632013-08-27 Andreas Schwab <schwab@suse.de>
16164
45b8accc
AS
16165 [BZ #15736]
16166 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16167 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16168 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16169 * string/test-strcasecmp.c (test_main): Run tests in several
16170 locales.
16171 * string/test-strncasecmp.c (test_main): Likewise.
16172
5d228a43
AS
16173 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16174 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
16175 to __strcasecmp_nonascii and __strncasecmp_nonascii.
16176 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
16177 (__strncasecmp_ssse3) [PIC]: Likewise.
16178
59d112a4
RM
161792013-08-26 Roland McGrath <roland@hack.frob.com>
16180
53234cc3
RM
16181 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
16182
59d112a4
RM
16183 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
16184 instead of explicitly declaring xdecrypt.
16185 * nis/nss_nis/nis-publickey.c: Likewise.
16186
595aba70
SP
161872013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16188
16189 [BZ #15890]
16190 * nscd/aicache.c: Include res_hconf.h.
16191 (addhstaiX): Initialize res_hconf.
16192
ffabd393
AS
161932013-08-26 Andreas Schwab <schwab@suse.de>
16194
16195 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
16196 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
16197
e0a69f5c
SP
161982013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16199
16200 * nscd/aicache.c (addhstaiX): Fix indentation.
16201
8c12f01d
MF
162022013-08-25 Mike Frysinger <vapier@gentoo.org>
16203
16204 * configure.ac: Quote $build_pt_chown test.
16205 * configure: Regenerated.
16206
8fe89494
JM
162072013-08-23 Joseph Myers <joseph@codesourcery.com>
16208
16209 [BZ #15532]
16210 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
16211 * math/s_cexpf.c (__cexpf): Likewise.
16212 * math/s_cexpl.c (__cexpl): Likewise.
16213 * math/libm-test.inc (cexp_test_data): Correct expected return
16214 value for NaN + i0. Add another test.
16215
75b181d6
DM
162162013-08-22 David S. Miller <davem@davemloft.net>
16217
16218 * po/ca.po: Update Catalan translation from translation project.
936241e4 16219 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 16220
acd06bb1
JM
162212013-08-21 Joseph Myers <joseph@codesourcery.com>
16222
16223 [BZ #15797]
16224 * math/s_fdim.c (__fdim): Check for infinite arguments if result
16225 is infinite, not alongside NaN test.
16226 * math/s_fdimf.c (__fdimf): Likewise.
16227 * math/s_fdiml.c (__fdiml): Likewise.
16228 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
16229 errno is unchanged.
16230
c0c3f78a
OB
162312013-08-21 Ondřej Bílka <neleai@seznam.cz>
16232
16233 * argp/argp-help.c: Fix typos.
16234 * crypt/speeds.c: Likewise.
16235 * csu/check_fds.c: Likewise.
16236 * elf/dl-load.c: Likewise.
16237 * elf/dl-open.c: Likewise.
16238 * elf/reldep3.c: Likewise.
16239 * elf/reldep.c: Likewise.
16240 * elf/sprof.c: Likewise.
16241 * iconv/iconv_charmap.c: Likewise.
16242 * iconv/skeleton.c: Likewise.
16243 * iconv/strtab.c: Likewise.
16244 * io/lockf64.c: Likewise.
16245 * libio/libioP.h: Likewise.
16246 * resolv/gai_notify.c: Likewise.
16247 * resolv/ns_name.c: Likewise.
16248 * resolv/ns_samedomain.c: Likewise.
16249 * resolv/res_send.c: Likewise.
16250 * stdlib/random.c: Likewise.
16251 * sunrpc/rpc/xdr.h: Likewise.
16252 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16253 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16254 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16255 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16256 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16257 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16258 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16259 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16260 * sysdeps/mach/hurd/check_fds.c: Likewise.
16261 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16262 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16263 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16264 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16265 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16266 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16267 * sysdeps/pthread/aio_notify.c: Likewise.
16268 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
16269 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
16270 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
16271 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16272 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16273
46ed1038
LD
162742013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16275
16276 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
16277 version if bit_Slow_SSE4_2 is set.
16278 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16279 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16280
d400dcac
AZ
162812013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16282
16283 [BZ #15867]
16284 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
16285 trampoline stack frame information.
16286 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
16287 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
16288 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
16289 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
16290 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
16291 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16292 (_libc_vdso_platform_setup): Initialize the signal trampolines.
16293 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
16294 sa_flags value.
16295 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
16296 interrupting a syscall and set with option SA_SIGINFO.
16297
42c8fdd8
JM
162982013-08-20 Joseph Myers <joseph@codesourcery.com>
16299
c980f2f4
JM
16300 [BZ #15531]
16301 * math/s_cproj.c (__cproj): Only return an infinity if one part of
16302 argument is infinite.
16303 * math/s_cprojf.c (__cprojf): Likewise.
16304 * math/s_cprojl.c (__cprojl): Likewise.
16305 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
16306 * math/libm-test.inc (cproj_test_data): Add more tests.
16307
0716c4fc
JM
16308 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
16309
42c8fdd8
JM
16310 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
16311 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
16312 size. Use __ffs to determine corresponding shift.
16313
b31469d0
JM
163142013-08-20 Joseph Myers <joseph@codesourcery.com>
16315 Roland McGrath <roland@hack.frob.com>
16316
16317 * Makefile (INSTALL): Remove trailing blank lines from output of
16318 makeinfo.
16319
4e39af6e
AK
163202013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16321
16322 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
16323 Align 32 bit compat elf_greg to 8 bytes.
16324
f315524e
AA
163252013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
16326
16327 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
16328
1326ba1a
SP
163292013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16330
16331 * string/strcoll_l.c (coll_seq): New structure.
16332 (get_next_seq_cached): New function.
16333 (get_next_seq): New function.
16334 (do_compare): New function.
16335 (STRCOLL): Use GNU style definition. Simplify implementation
16336 by using get_next_seq, get_next_seq_cached and do_compare.
16337
91ce4085
FW
163382013-08-16 Florian Weimer <fweimer@redhat.com>
16339
16340 [BZ #14699]
16341 CVE-2013-4237
16342 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
16343 member.
16344 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
16345 member.
16346 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
16347 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
16348 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
16349 conditional.
16350 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
16351 GETDENTS_64BIT_ALIGNED.
16352 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16353 * manual/filesys.texi (Reading/Closing Directory): Document
16354 ENAMETOOLONG return value of readdir_r. Recommend readdir more
16355 strongly.
16356 * manual/conf.texi (Limits for Files): Add portability note to
16357 NAME_MAX, PATH_MAX.
16358 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
16359
ca0a6bc4
AS
163602013-08-13 Andreas Schwab <schwab@suse.de>
16361
16362 [BZ #15749]
16363 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
16364 of fabs.
16365 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
16366 LDBL_MAX_EXP >= 16384]: Add tests for it.
16367
6c1fd795
DM
163682013-08-12 David S. Miller <davem@davemloft.net>
16369
16370 * version.h (RELEASE): Set to "development".
16371 (VERSION): Set to "2.18.90".
16372 * NEWS: Add 2.19 section.
16373
31ad488d
DM
163742013-08-03 David S. Miller <davem@davemloft.net>
16375
16376 * po/ko.po: Update Korean translation from translation project.
16377
db24e684
DM
163782013-08-01 David S. Miller <davem@davemloft.net>
16379
16380 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
16381 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
16382 Bilka.
16383
f723285b
DM
163842013-07-30 David S. Miller <davem@davemloft.net>
16385
16386 * po/fr.po: Update French translation from translation project.
16387
3cbc52db
DM
163882013-07-28 David S. Miller <davem@davemloft.net>
16389
30bbc0cc
DM
16390 * po/cs.po: Update Czech translation from translation project.
16391
3cbc52db
DM
16392 * po/sv.po: Update Swedish translation from translation project.
16393
d492e6d0
DM
163942013-07-27 David S. Miller <davem@davemloft.net>
16395
f1a7f492
DM
16396 * po/eo.po: Update Esperanto translation from translation project.
16397
90e62a4a
DM
16398 * po/vi.po: Update Vietnamese translation from translation project.
16399
d492e6d0
DM
16400 * po/de.po: Update German translation from translation project.
16401
d4baa62d
DM
164022013-07-26 David S. Miller <davem@davemloft.net>
16403
641aa7b4
DM
16404 * po/bg.po: Update Bulgarian translation from translation project.
16405
d4baa62d
DM
16406 * po/nl.po: Update Dutch translation from translation project.
16407 * po/pl.po: Update Polish translation from translation project.
16408 * po/ru.po: Update Russian translation from translation project.
16409
61a9dcb9
DM
164102013-07-24 David S. Miller <davem@davemloft.net>
16411
16412 * po/libc.pot: Update.
16413
7b1f8b58
AZ
164142013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16415
16416 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
16417 variable page size.
16418 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
16419 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
16420 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
16421
a8fc7a03
AK
164222013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16423
16424 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
16425
e4608715
CD
164262013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16427 Andreas Schwab <schwab@suse.de>
16428 Roland McGrath <roland@hack.frob.com>
16429 Joseph Myers <joseph@codesourcery.com>
16430 Carlos O'Donell <carlos@redhat.com>
16431
16432 [BZ #15755]
16433 * config.h.in: Define HAVE_PT_CHOWN.
16434 * config.make.in (build-pt-chown): New variable.
16435 * configure.in (--enable-pt_chown): New configure option.
16436 * configure: Regenerate.
16437 * login/Makefile: Include Makeconfig. Build pt_chown only if
16438 build-pt-chown is enabled.
16439 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
16440 pt_chown to fix pty ownership.
16441 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
16442 CLOSE_ALL_FDS.
16443 * manual/install.texi (Configuring and compiling): Mention
16444 --enable-pt_chown. Add @findex for grantpt.
16445 * INSTALL: Regenerate.
16446
da2d62df
DM
164472013-07-20 David S. Miller <davem@davemloft.net>
16448
16449 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
16450 difference between 32-bit and 64-bit.
16451
d7e06450
CD
164522013-07-15 Carlos O'Donell <carlos@redhat.com>
16453
16454 [BZ #15711]
16455 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
16456 Avoid system header dependency with -ffreestanding.
16457 ($(objpfx)bits/syscall%d): Likewise.
16458
f959cfd7
DM
164592013-07-13 David S. Miller <davem@davemloft.net>
16460
16461 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
16462 underflows from atanl/atan2l due to bug 15319.
16463 (casinh_test_data): Likewise.
16464
c61f8513
DM
164652013-07-07 David S. Miller <davem@davemloft.net>
16466
16467 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16468
72c90ed0
JA
164692013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
16470
16471 * sysdeps/i386/fpu/libm-test-ulps: Update.
16472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16473
52dfbe13
SP
164742013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16475
16476 * configure.in (--enable-lock-elision): Fix message text.
16477 * INSTALL: Regenerate.
16478 * configure: Regenerate.
16479
3f169543
AZ
164802013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16481
16482 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16483
521c6785
AJ
164842013-07-03 Andreas Jaeger <aj@suse.de>
16485
16486 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
16487 define.
16488 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
16489 (ptrace_peeksiginfo_args): Add.
16490 (__ptrace_peeksiginfo_flags): Add.
16491 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16492 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16493 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16494
d2cc15cb
AM
164952013-07-03 Allan McRae <allan@archlinux.org>
16496
16497 * sysdeps/i386/fpu/libm-test-ulps: Update.
16498
3aaeeca7
DM
164992013-07-02 David S. Miller <davem@davemloft.net>
16500
16501 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16502
5314ed1a
MT
165032013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
16504
16505 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16506
67338156
JM
165072013-07-02 Joseph Myers <joseph@codesourcery.com>
16508
16509 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16511
1717da59
AK
165122013-07-02 Andi Kleen <ak@linux.intel.com>
16513
16514 * config.h.in (ENABLE_LOCK_ELISION): Add.
16515 * configure.in (--enable-lock-elision): Add option.
16516 * manual/install.texi: Document --enable lock elision.
16517 * configure: Regenerate
16518 * INSTALL: Regenerate.
16519
1c81621c
L
165202013-07-02 H.J. Lu <hongjiu.lu@intel.com>
16521
16522 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
16523 SSE4.2 strcasecmp for libc.a.
16524 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
16525
77f01ab5
JM
165262013-07-02 Joseph Myers <joseph@codesourcery.com>
16527
16528 [BZ #13304]
16529 * soft-fp/op-common.h (_FP_FMA): New macro.
16530 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
16531 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
16532 (_FP_MUL_MEAT_1_imm): ... here.
16533 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
16534 (_FP_MUL_MEAT_1_wide): ... here.
16535 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
16536 (_FP_MUL_MEAT_1_hard): ... here.
16537 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
16538 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
16539 (_FP_MUL_MEAT_2_wide): ... here.
16540 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
16541 (_FP_MUL_MEAT_2_wide_3mul): ... here.
16542 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
16543 (_FP_MUL_MEAT_2_gmp): ... here.
16544 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
16545 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
16546 (_FP_MUL_MEAT_4_wide): ... here.
16547 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
16548 (_FP_MUL_MEAT_4_gmp): ... here.
16549 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
16550 (_FP_WFRACBITS_DW_S): Likewise.
16551 (_FP_WFRACXBITS_DW_S): Likewise.
16552 (_FP_HIGHBIT_DW_S): Likewise.
16553 (FP_FMA_S): Likewise.
16554 (_FP_FRAC_HIGH_DW_S): Likewise.
16555 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
16556 (_FP_WFRACBITS_DW_D): Likewise.
16557 (_FP_WFRACXBITS_DW_D): Likewise.
16558 (_FP_HIGHBIT_DW_D): Likewise.
16559 (FP_FMA_D): Likewise.
16560 (_FP_FRAC_HIGH_DW_D): Likewise.
16561 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
16562 (_FP_WFRACBITS_DW_E): Likewise.
16563 (_FP_WFRACXBITS_DW_E): Likewise.
16564 (_FP_HIGHBIT_DW_E): Likewise.
16565 (FP_FMA_E): Likewise.
16566 (_FP_FRAC_HIGH_DW_E): Likewise.
16567 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
16568 (_FP_WFRACBITS_DW_Q): Likewise.
16569 (_FP_WFRACXBITS_DW_Q): Likewise.
16570 (_FP_HIGHBIT_DW_Q): Likewise.
16571 (FP_FMA_Q): Likewise.
16572 (_FP_FRAC_HIGH_DW_Q): Likewise.
16573 * soft-fp/fmasf4.c: New file.
16574 * soft-fp/fmadf4.c: Likewise.
16575 * soft-fp/fmatf4.c: Likewise.
16576
6308fd9a
LD
165772013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16578
16579 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16580 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
16581 Silvermont.
16582 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
16583 macro.
16584 (index_Slow_SSE4_2): Likewise.
16585 (index_Prefer_PMINUB_for_stringop): Likewise.
16586 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
16587 bit_Slow_SSE4_2 is set.
16588 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16589 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16590
89cd9569
RA
165912013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16592
16593 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
16594 rtld_global._dl_hwcap2.
16595 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
16596 POWER8.
16597 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
16598 POWER8 feature descriptions defined in _dl_hwcap2.
16599 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
16600 string handling for POWER8 feature bits.
16601 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
16602 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
16603 _dl_powerpc_cap_flags.
16604 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
16605 * sysdeps/powerpc/rtld-global-offsets.sym
16606 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
16607 _dl_hwcap2 in the rtld_global_ro structure.
16608
1ae8bfe0
RA
166092013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16610
16611 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
16612 hardware capabilities in support of AT_HWCAP2.
16613 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
16614 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
16615 GLRO(dl_hwcap2).
16616 (_dl_show_auxv): Add support for calling _dl_procinfo to display
16617 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
16618 explicitly the unknown a_type display mechanism is used.
16619 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
16620 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
16621 struct member.
16622 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
16623 to macro prototype for AT_HWCAP2 support.
16624 * sysdeps/i386/dl-procinfo.h: Likewise.
16625 * sysdeps/s390/dl-procinfo.h: Likewise.
16626 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
16627 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
16628 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
16629 return -1 for unknown a_type display fallback.
16630 * sysdeps/sparc/dl-procinfo.h: Likewise.
16631 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
16632 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
16633
8fbec010
JM
166342013-06-28 Joseph Myers <joseph@codesourcery.com>
16635
16636 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
16637 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
16638
0432680e
PY
166392013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
16640
16641 [BZ #12492]
16642 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
16643 mprotect making __stack_prot writable.
16644
ce61a2ad
NF
166452013-06-28 Nathan Froyd <froydnj@codesourcery.com>
16646 Joseph Myers <joseph@codesourcery.com>
16647
16648 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
16649 as being properly aligned.
16650
f91f1c0f
MR
166512013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
16652
3d0f5d0c
MR
16653 * dlfcn/modstatic5.c: New file.
16654 * dlfcn/tststatic5.c: New file.
16655 * dlfcn/Makefile (tests): Add tststatic5.
16656 (tests-static): Likewise.
16657 (modules-names): Add modstatic5.
16658 (tststatic5-ENV): New variable.
16659 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
16660
f91f1c0f
MR
16661 [BZ #15022]
16662 * elf/dl-support.c (_dl_main_map): New variable.
16663 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
16664 (_dl_nns, _dl_load_adds): Set to 1.
16665 (_dl_initial_searchlist): Refer to _dl_main_map.
16666 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
16667 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
16668 call to _dl_get_origin.
16669 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
16670 around call_map.
16671 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
16672 * dlfcn/modstatic3.c: New file.
16673 * dlfcn/tststatic3.c: New file.
16674 * dlfcn/tststatic4.c: New file.
16675 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
16676 (tests-static): Likewise.
16677 (modules-names): Add modstatic3.
16678 (tststatic3-ENV, tststatic4-ENV): New variables.
16679 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
16680 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
16681
cbe7d24b
JM
166822013-06-26 Joseph Myers <joseph@codesourcery.com>
16683
16684 * configure.in (CC): Require GCC version 4.4 or later.
16685 * configure: Regenerated.
16686 * manual/install.texi (Tools for Compilation): Update GCC version
16687 requirement.
16688 * INSTALL: Regenerated.
16689
11b8a0e1
LD
166902013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16691
16692 [BZ #15674]
bb5bb87c
L
16693 * string/test-memcmp.c (check2): New.
16694 (main): Call check2.
16695
11b8a0e1
LD
16696 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
16697
b0037103
MR
166982013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
16699
16700 [BZ #15022]
16701 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
16702 over to...
16703 (dl_open_worker) [!SHARED]: ... here.
16704
c18c701d
RA
167052013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16706
16707 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
16708
1d17fa5f
RH
167092013-06-25 Richard Henderson <rth@redhat.com>
16710
16711 * locale/programs/locarchive.c: Include <libc-internal.h>
16712
8fcb833a
JM
167132013-06-25 Joseph Myers <joseph@codesourcery.com>
16714
16715 * manual/texinfo.tex: Update to version 2013-06-21.17, with
16716 trailing whitespace removed.
16717
17db6e8d
MF
167182013-06-24 Mike Frysinger <vapier@gentoo.org>
16719
16720 [BZ #10283]
17db6e8d
MF
16721 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
16722 * locale/programs/locarchive.c: Include libc-mmap.h.
16723 (prepare_address_space): Take two new outputs (the mmap base and len).
16724 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
16725 values.
16726 (create_archive): Declare new mmap base and len values for
16727 prepare_address_space, and store the result in ah.
16728 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
16729 (enlarge_archive): If ah->mmap_base is not NULL, use that and
16730 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16731 Declare new mmap base and len values for
16732 prepare_address_space, and store the result in new_ah.
16733 (open_archive): Declare new mmap base and len values for
16734 prepare_address_space, and store the result in ah.
16735 (close_archive): If ah->mmap_base is not NULL, use that and
16736 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16737 * sysdeps/generic/libc-mmap.h: New file.
16738
d605071e
MF
167392013-06-24 Mike Frysinger <vapier@gentoo.org>
16740
16741 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
16742 (ALIGN_UP): Likewise.
16743 (PTR_ALIGN_DOWN): Likewise.
16744 (PTR_ALIGN_UP): Likewise.
16745
2f063a6e
RA
167462013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16747
16748 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
16749 entry mapped to PPC_PLATFORM_POWER8.
16750 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
16751 POWER8.
16752 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
16753 (_dl_string_platform): Add case for exporting platform position for
16754 POWER8.
16755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
16756 search path to sysdeps/powerpc/powerpc32/power8 directory.
16757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
16758 search path to sysdeps/powerpc/powerpc64/power8 directory.
16759 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
16760 power7 directories.
16761 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
16762 power7 directories.
16763
a31ee4b3
SP
167642013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16765
a74ca98f
SP
16766 * INSTALL: Regenerate.
16767
a31ee4b3
SP
16768 * nscd/connections.c (nscd_init): Fix comment.
16769
695c378f
JM
167702013-06-22 Joseph Myers <joseph@codesourcery.com>
16771
d8412221
JM
16772 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16773
695c378f
JM
16774 [BZ #15667]
16775 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16776 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16777
d1d54715
MR
167782013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16779
16780 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16781 DL_DST_REQ_STATIC.
16782 (DL_DST_REQ_STATIC): Remove macro.
16783
8fdda7af
JM
167842013-06-21 Joseph Myers <joseph@codesourcery.com>
16785
16786 [BZ #7006]
16787 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16788 with a shift of 0 bits.
16789
f3bc5e5a
MR
167902013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16791
16792 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16793 $(tststatic-ENV).
16794
be09e8c9
KK
167952013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16796
16797 [BZ #15655]
16798 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
16799
85c2e611
AZ
168002013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16801
16802 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
16803 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
16804 accepts -fno-tree-loop-distribute-patterns.
16805 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
16806 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
16807 recursive call.
16808 * string/memset.c (memset): Likewise.
16809 * string/test-memmove.c (simple_memmove): Disable loop transformation
16810 to library calls.
16811 * string/test-memset.c (simple_memset): Likewise.
16812 * benchtests/bench-memmove.c (simple_memmove): Likewise.
16813 * benchtests/bench-memset.c (simple_memset): Likewise.
16814 * configure: Regenerated.
16815
c91e0825
JM
168162013-06-20 Joseph Myers <joseph@codesourcery.com>
16817
b8c792af
JM
16818 * math/test-misc.c (main): Ignore fesetround failure when failures
16819 of subsequent rounding tests would be ignored.
16820
c91e0825
JM
16821 [BZ #15654]
16822 * math/fedisblxcpt.c (fedisableexcept): Return 0.
16823 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
16824 * math/fegetenv.c (__fegetenv): Return 0.
16825 * math/fegetexcept.c (fegetexcept): Return 0.
16826 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
16827 FE_TONEAREST.
16828 * math/feholdexcpt.c (feholdexcept): Return 0.
16829 * math/fesetenv.c (__fesetenv): Return 0.
16830 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
16831 argument FE_TONEAREST.
16832 * math/feupdateenv.c (__feupdateenv): Return 0.
16833 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
16834
bfcacbde
RM
168352013-06-18 Roland McGrath <roland@hack.frob.com>
16836
16837 * elf/rtld-Rules (rtld-compile-command.S): New variable.
16838 (rtld-compile-command.s, rtld-compile-command.c): New variables.
16839 ($(objpfx)rtld-%.os rules): Use them.
16840
e55a9b25
AZ
168412013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16842
16843 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
16844 fields.
16845
346d65b3
RM
168462013-06-17 Roland McGrath <roland@hack.frob.com>
16847
12086fb4
RM
16848 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
16849 length of target pattern, then descending length of dependency pattern.
16850 * configure.in (AWK): Require gawk 3.1.2 or newer.
16851 * manual/install.texi (Tools for Compilation): Say that we do.
16852 * configure: Regenerated.
16853
346d65b3
RM
16854 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
16855 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
16856 * scripts/sysd-rules.awk: ... this new script.
16857 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
16858 than a glob-style pattern.
16859
1a846317
JM
168602013-06-17 Joseph Myers <joseph@codesourcery.com>
16861
16862 * math/test-misc.c (main): Do not treat incorrectly rounded
16863 conversions as failure unless ROUNDING_TESTS passes.
16864
8fc75e6f
JM
168652013-06-15 Joseph Myers <joseph@codesourcery.com>
16866
3711a167
JM
16867 [BZ #15631]
16868 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
16869 restore exception state around main square root computation, then
16870 check for inexactness explicitly.
16871
8fc75e6f
JM
16872 * math/libm-test.inc (fma_test_data): Add another test.
16873
61dd6208
SP
168742013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16875
adf23d2c
SP
16876 * manual/threads.texi (Non-POSIX Extensions): New document
16877 node. Document pthread_getattr_default_np and
16878 pthread_setattr_default_np.
16879
61dd6208
SP
16880 * Versions.def (libpthread): Add GLIBC_2.18.
16881 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
16882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16883 Likewise.
16884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16885 Likewise.
16886 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16887 Likewise.
16888 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16889 Likewise.
16890 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
16891 Likewise.
16892 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16893 Likewise.
16894 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16895 Likewise.
16896 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16897 Likewise.
16898 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16899 Likewise.
16900
d086fc7b
LD
169012013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16902
16903 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16904 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
16905
747ef469
SP
169062013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16907 H.J. Lu <hjl.tools@gmail.com>
16908
16909 [BZ #15627]
16910 * sysdeps/x86_64/rtld-memset.c: Remove file.
16911 * sysdeps/x86_64/rtld-memset.S: New file.
16912
1b2feed2
JM
169132013-06-14 Joseph Myers <joseph@codesourcery.com>
16914
16915 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
16916 (test_in_one_mode): Take arguments for whether the rounding mode
16917 is supported for each floating-point type.
16918 (do_test): Pass new arguments to test_in_one_mode using
16919 ROUNDING_TESTS.
16920
a58ad3f8
RM
169212013-06-13 Roland McGrath <roland@hack.frob.com>
16922
16923 * posix/tst-waitid.c (do_test): Distinguish different instances of
16924 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
16925 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
16926 before entering the kernel for waitpid.
16927
c204ab28
SP
169282013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16929
16930 * NEWS: Fix note on clock function precision. Text by Roland
16931 McGrath.
16932
f4a29fba
RM
169332013-06-13 Roland McGrath <roland@hack.frob.com>
16934
16935 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
16936 it into place only when and if the sanity check passes.
16937
1f24b9ad
JM
169382013-06-13 Joseph Myers <joseph@codesourcery.com>
16939
16940 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
16941 output for whether conversion result is exact. Take argument
16942 indicating whether type is IBM long double.
16943 (round_for_all): Change need_exact field to ibm_ld.
16944 * stdlib/tst-strtod-round.c (struct exactness): New type.
16945 (struct test): Change bool ld_ok field to struct exactness exact.
16946 (TEST): Update all definitions for change to field.
16947 (tests): Regenerate array contents.
16948 (test_in_one_mode): Take pointer to new field instead of old ld_ok
16949 field value. Check for IBM long double here.
16950 (do_test): Update calls to test_in_one_mode.
16951
58206c68
SP
169522013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16953
16954 [BZ #12515]
16955 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
16956 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
16957
2d6f4c5b 169582013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
16959
16960 [BZ #15605]
16961 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
16962 generated by the compiler on loop optimizations.
16963 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
16964 general definitions.
16965
94f2c076
JM
169662013-06-12 Joseph Myers <joseph@codesourcery.com>
16967
16968 * math/bug-nextafter.c: Include <math-tests.h>.
16969 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16970 the relevant type.
16971 * math/bug-nexttoward.c: Include <math-tests.h>.
16972 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16973 the relevant type.
16974 * math/test-misc.c: Include <math-tests.h>.
16975 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16976 the relevant type.
16977
e0e50a0a
AJ
169782013-06-12 Andreas Jaeger <aj@suse.de>
16979
16980 * po/ia.po: Update Interlingua translation from translation
16981 project.
16982
25061094
SP
169832013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16984
16985 * include/fenv.h: Include stdbool.h.
16986 (struct rm_ctx): New structure.
16987 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
16988 Define macro.
16989 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
16990 (SET_RESTORE_ROUNDF): Likewise.
16991 (SET_RESTORE_ROUNDL): Likewise.
16992 (SET_RESTORE_ROUND_NOEX): Likewise.
16993 (SET_RESTORE_ROUND_NOEXF): Likewise.
16994 (SET_RESTORE_ROUND_NOEXL): Likewise.
16995 (SET_RESTORE_ROUND_53BIT): Likewise.
16996 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
16997 (libc_feresetround_noexf_ctx): Likewise.
16998 (libc_feresetround_noexl_ctx): Likewise.
16999 (libc_feholdsetround_53bit_ctx): Likewise.
17000 (libc_feresetround_53bit_ctx): Likewise.
17001 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
17002 (libc_feholdexcept_setround_sse_ctx): New function.
17003 (libc_fesetenv_sse_ctx): Likewise.
17004 (libc_feupdateenv_sse_ctx): Likewise.
17005 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
17006 (libc_feholdexcept_setround_387_ctx): Likewise.
17007 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
17008 (libc_feholdsetround_387_prec_ctx): Likewise.
17009 (libc_feholdsetround_387_ctx): Likewise.
17010 (libc_feholdsetround_387_53bit_ctx): Likewise.
17011 (libc_feholdsetround_sse_ctx): Likewise.
17012 (libc_feresetround_sse_ctx): Likewise.
17013 (libc_feresetround_387_ctx): Likewise.
17014 (libc_feupdateenv_387_ctx): Likewise.
17015 (libc_feholdexcept_setroundf_ctx): Define macro.
17016 (libc_fesetenvf_ctx): Likewise.
17017 (libc_feupdateenvf_ctx): Likewise.
17018 (libc_feholdsetroundf_ctx): Likewise.
17019 (libc_feresetroundf_ctx): Likewise.
17020 (libc_feholdexcept_setround_ctx): Likewise.
17021 (libc_fesetenv_ctx): Likewise.
17022 (libc_feupdateenv_ctx): Likewise.
17023 (libc_feholdsetround_ctx): Likewise.
17024 (libc_feresetround_ctx): Likewise.
17025 (libc_feholdexcept_setroundl_ctx): Likewise.
17026 (libc_feupdateenvl_ctx): Likewise.
17027 (libc_feholdsetroundl_ctx): Likewise.
17028 (libc_feresetroundl_ctx): Likewise.
17029 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
17030 (libc_feresetround_53bit_ctx): Likewise.
17031
59b30555
SP
170322013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17033
17034 * locale/iso-639.def: Convert to UTF-8.
17035
f1d73d30
JM
170362013-06-11 Joseph Myers <joseph@codesourcery.com>
17037
17038 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
17039 (EXCEPTION_TESTS_double): Likewise.
17040 (EXCEPTION_TESTS_long_double): Likewise.
17041 (EXCEPTION_TESTS): Likewise.
17042 * math/libm-test.inc (test_exceptions): Only test exceptions if
17043 EXCEPTION_TESTS (FLOAT).
17044
94aca5e7
SP
170452013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17046
17047 * benchtests/Makefile (string-bench): Add strcpy_chk and
17048 stpcpy_chk.
17049 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
17050 * benchtests/bench-stpcpy_chk.c: New file.
17051 * benchtests/bench-strcpy_chk-ifunc.c: New file.
17052 * benchtests/bench-strcpy_chk.c: New file.
17053 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
17054 code.
17055 (do_test): Likewise.
17056
fac0c5f2
RA
170572013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17058
17059 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
17060 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
17061 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
17062 with tabs where appropriate.
17063 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
17064 dl-procinfo.h.
17065 [PPC_PLATFORM_PPC440]: Likewise.
17066 [PPC_PLATFORM_PPC464]: Likewise.
17067 [PPC_PLATFORM_PPC476]: Likewise.
17068 (_dl_string_platform): Add support for detecting ppc405, ppc440,
17069 ppc464, and ppc476 platform strings merging from ports/
17070 dl-procinfo.h.
17071
f22bc486
AS
170722013-06-11 Andreas Schwab <schwab@suse.de>
17073
17074 [BZ #14991]
17075 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
17076 (from_ucs4_idx): Regenerate.
17077 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
17078 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
17079 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
17080 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
17081 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
17082 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
17083 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
17084 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
17085 from FROM_LOOP and TO_LOOP specific macros.
17086 (BODY): Handle combining characters.
17087 * iconvdata/BIG5HKSCS.irreversible: Update.
17088 * iconvdata/BIG5HKSCS.precomposed: New file.
17089 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
17090 characters.
17091 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
17092
c1f75dc3
SP
170932013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17094
4eacded2
SP
17095 * include/sys/time.h: Fix indentation and add copyright header.
17096
fec799f8
SP
17097 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
17098 (do_test): Likewise.
17099 * string/test-memchr.c (do_one_test): Likewise.
17100 (do_test): Likewise.
17101 * string/test-memcmp.c (do_one_test): Likewise.
17102 (do_test): Likewise.
17103 * string/test-memcpy.c (do_one_test): Likewise.
17104 (do_test): Likewise.
17105 * string/test-memmem.c (do_one_test): Likewise.
17106 (do_test): Likewise.
17107 (do_random_tests): Likewise.
17108 * string/test-memmove.c (do_one_test): Likewise.
17109 (do_test): Likewise.
17110 * string/test-memset.c (do_one_test): Likewise.
17111 (do_test): Likewise.
17112 * string/test-rawmemchr.c (do_one_test): Likewise.
17113 (do_test): Likewise.
17114 * string/test-strcasecmp.c (do_one_test): Likewise.
17115 (do_test): Likewise.
17116 * string/test-strcasestr.c (do_one_test): Likewise.
17117 (do_test): Likewise.
17118 * string/test-strcat.c (do_one_test): Likewise.
17119 (do_test): Likewise.
17120 * string/test-strchr.c (do_one_test): Likewise.
17121 (do_test): Likewise.
17122 * string/test-strcmp.c (do_one_test): Likewise.
17123 (do_test): Likewise.
17124 * string/test-strcpy.c (do_one_test): Likewise.
17125 (do_test): Likewise.
17126 * string/test-string.h: Likewise.
17127 (test_init): Likewise.
17128 * string/test-strlen.c (do_one_test): Likewise.
17129 (do_test): Likewise.
17130 * string/test-strncasecmp.c (do_one_test): Likewise.
17131 (do_test): Likewise.
17132 * string/test-strncat.c (do_one_test): Likewise.
17133 (do_test): Likewise.
17134 * string/test-strncmp.c (do_one_test): Likewise.
17135 (do_test_limit): Likewise.
17136 (do_test): Likewise.
17137 * string/test-strncpy.c (do_one_test): Likewise.
17138 (do_test): Likewise.
17139 * string/test-strnlen.c (do_one_test): Likewise.
17140 (do_test): Likewise.
17141 * string/test-strpbrk.c (do_one_test): Likewise.
17142 (do_test): Likewise.
17143 * string/test-strrchr.c (do_one_test): Likewise.
17144 (do_test): Likewise.
17145 * string/test-strspn.c (do_one_test): Likewise.
17146 (do_test): Likewise.
17147 * string/test-strstr.c (do_one_test): Likewise.
17148 (do_test): Likewise.
17149
97020474
SP
17150 * benchtests/Makefile (string-bench): Add string benchmarks.
17151 * benchtests/bench-bcopy-ifunc.c: New file.
17152 * benchtests/bench-bcopy.c: New file.
17153 * benchtests/bench-bzero-ifunc.c: New file.
17154 * benchtests/bench-bzero.c: New file.
17155 * benchtests/bench-memccpy-ifunc.c: New file.
17156 * benchtests/bench-memccpy.c: New file.
17157 * benchtests/bench-memchr-ifunc.c: New file.
17158 * benchtests/bench-memchr.c: New file.
17159 * benchtests/bench-memcmp-ifunc.c: New file.
17160 * benchtests/bench-memcmp.c: New file.
17161 * benchtests/bench-memmem-ifunc.c: New file.
17162 * benchtests/bench-memmem.c: New file.
17163 * benchtests/bench-memmove-ifunc.c: New file.
17164 * benchtests/bench-memmove.c: New file.
17165 * benchtests/bench-mempcpy-ifunc.c: New file.
17166 * benchtests/bench-mempcpy.c: New file.
17167 * benchtests/bench-memset-ifunc.c: New file.
17168 * benchtests/bench-memset.c: New file.
17169 * benchtests/bench-rawmemchr-ifunc.c: New file.
17170 * benchtests/bench-rawmemchr.c: New file.
17171 * benchtests/bench-stpcpy-ifunc.c: New file.
17172 * benchtests/bench-stpcpy.c: New file.
17173 * benchtests/bench-stpncpy-ifunc.c: New file.
17174 * benchtests/bench-stpncpy.c: New file.
17175 * benchtests/bench-strcasecmp-ifunc.c: New file.
17176 * benchtests/bench-strcasecmp.c: New file.
17177 * benchtests/bench-strcasestr-ifunc.c: New file.
17178 * benchtests/bench-strcasestr.c: New file.
17179 * benchtests/bench-strcat-ifunc.c: New file.
17180 * benchtests/bench-strcat.c: New file.
17181 * benchtests/bench-strchr-ifunc.c: New file.
17182 * benchtests/bench-strchr.c: New file.
17183 * benchtests/bench-strchrnul-ifunc.c: New file.
17184 * benchtests/bench-strchrnul.c: New file.
17185 * benchtests/bench-strcmp-ifunc.c: New file.
17186 * benchtests/bench-strcmp.c: New file.
17187 * benchtests/bench-strcpy-ifunc.c: New file.
17188 * benchtests/bench-strcpy.c: New file.
17189 * benchtests/bench-strcspn-ifunc.c: New file.
17190 * benchtests/bench-strcspn.c: New file.
17191 * benchtests/bench-strlen-ifunc.c: New file.
17192 * benchtests/bench-strlen.c: New file.
17193 * benchtests/bench-strncasecmp-ifunc.c: New file.
17194 * benchtests/bench-strncasecmp.c: New file.
17195 * benchtests/bench-strncat-ifunc.c: New file.
17196 * benchtests/bench-strncat.c: New file.
17197 * benchtests/bench-strncmp-ifunc.c: New file.
17198 * benchtests/bench-strncmp.c: New file.
17199 * benchtests/bench-strncpy-ifunc.c: New file.
17200 * benchtests/bench-strncpy.c: New file.
17201 * benchtests/bench-strnlen-ifunc.c: New file.
17202 * benchtests/bench-strnlen.c: New file.
17203 * benchtests/bench-strpbrk-ifunc.c: New file.
17204 * benchtests/bench-strpbrk.c: New file.
17205 * benchtests/bench-strrchr-ifunc.c: New file.
17206 * benchtests/bench-strrchr.c: New file.
17207 * benchtests/bench-strspn-ifunc.c: New file.
17208 * benchtests/bench-strspn.c: New file.
17209 * benchtests/bench-strstr-ifunc.c: New file.
17210 * benchtests/bench-strstr.c: New file.
17211
c1f75dc3
SP
17212 * benchtests/Makefile: Disable parallel execution of targets.
17213 (string-bench): Add memcpy.
17214 (benchset): New variable to store a list of benchmark sets.
17215 (bench-func): Renamed from bench.
17216 (bench-set): New target.
17217 (bench): Depend on bench-func and bench-set.
17218 * benchtests/README: Add section on benchmark sets.
17219 * benchtests/bench-memcpy-ifunc.c: New file.
17220 * benchtests/bench-memcpy.c: New file.
17221 * benchtests/bench-string.h: New file.
17222
50fd745b
AS
172232013-06-11 Andreas Schwab <schwab@suse.de>
17224
17225 [BZ #15577]
17226 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17227 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17228 values in the triple.
17229 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17230 terminator in the group key.
17231
3ee7e9fe
AJ
172322013-06-11 Andreas Jaeger <aj@suse.de>
17233
17234 * po/zh_TW.po: Update Chinese (traditional) translation from
17235 translation project.
17236
89fb6835
SP
172372013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17238
17239 * include/time.h (__clock_gettime): Add libc_hidden_proto.
17240 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17241 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
17242 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17243 (clock_getcpuclockid): Likewise.
17244 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17245 Add weak_alias and libc_hidden_def.
17246 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17247 * rt/clock_gettime.c (clock_gettime): Rename to
17248 __clock_gettime. Add weak_alias and libc_hidden_def.
17249 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17250 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17251 __clock_nanosleep. Add weak_alias and libc_hidden_def.
17252 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17253 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17254 Likewise.
17255 * rt/clock_settime.c (clock_settime): Rename to
17256 __clock_settime. Add weak_alias and libc_hidden_def.
17257 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17258
0efa6f8b
JM
172592013-06-10 Joseph Myers <joseph@codesourcery.com>
17260
b8c61b4b
JM
17261 * mach/err_boot.sub: Remove trailing whitespace.
17262 * mach/err_ipc.sub: Likewise.
17263 * mach/err_mach.sub: Likewise.
17264
0efa6f8b
JM
17265 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
17266 (ROUNDING_TESTS_double): Likewise.
17267 (ROUNDING_TESTS_long_double): Likewise.
17268 (ROUNDING_TESTS): Likewise.
17269 * math/libm-test.inc: Include <math-tests.h>.
17270 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
17271 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17272 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17273 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17274
50b818bf
SP
172752013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17276
17277 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
17278 of assigning.
17279
60d2f8f3
JM
172802013-06-08 Joseph Myers <joseph@codesourcery.com>
17281
4902d2c3
JM
17282 * sysdeps/gnu/errlist.awk: Do not generate space at end of
17283 otherwise empty TRANS lines.
17284 * sysdeps/gnu/errlist.c: Regenerated.
17285
60d2f8f3
JM
17286 * catgets/gencat.c (error_print): Use (void) in function
17287 definition.
17288 * crypt/crypt_util.c (__init_des): Likewise.
17289 * crypt/speeds.c (Stop): Likewise.
17290 (main): Likewise.
17291 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
17292 * inet/ruserpass.c (token): Likewise.
17293 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
17294 * intl/localealias.c (extend_alias_table): Likewise.
17295 * intl/plural-exp.c (init_germanic_plural): Likewise.
17296 * libio/fcloseall.c (__fcloseall): Likewise.
17297 * libio/genops.c (_IO_flush_all): Likewise.
17298 (_IO_flush_all_linebuffered): Likewise.
17299 (_IO_cleanup): Likewise.
17300 (_IO_iter_begin): Likewise.
17301 (_IO_iter_end): Likewise.
17302 (_IO_list_lock): Likewise.
17303 (_IO_list_unlock): Likewise.
17304 (_IO_list_resetlock): Likewise.
17305 * libio/getchar.c (getchar): Likewise.
17306 * libio/getchar_u.c (getchar_unlocked): Likewise.
17307 * libio/getwchar.c (getwchar): Likewise.
17308 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
17309 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
17310 * login/getpt.c (__getpt): Likewise.
17311 * login/tst-utmp.c (main): Likewise.
17312 * malloc/hooks.c (__malloc_check_init): Likewise.
17313 * malloc/malloc.c (__malloc_stats): Likewise.
17314 * malloc/mtrace.c (tr_break): Likewise.
17315 (mtrace): Likewise.
17316 (muntrace): Likewise.
17317 * misc/fstab.c (endfsent): Likewise.
17318 * misc/getclktck.c (__getclktck): Likewise.
17319 * misc/getdtsz.c (__getdtablesize): Likewise.
17320 * misc/gethostid.c (gethostid): Likewise.
17321 * misc/getpagesize.c (__getpagesize): Likewise.
17322 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
17323 (__get_nprocs): Likewise.
17324 (__get_phys_pages): Likewise.
17325 (__get_avphys_pages): Likewise.
17326 * misc/getttyent.c (getttyent): Likewise.
17327 (setttyent): Likewise.
17328 (endttyent): Likewise.
17329 * misc/getusershell.c (getusershell): Likewise.
17330 (endusershell): Likewise.
17331 (setusershell): Likewise.
17332 (initshells): Likewise.
17333 * misc/hsearch.c (__hdestroy): Likewise.
17334 * misc/sync.c (sync): Likewise.
17335 * misc/syslog.c (closelog_internal): Likewise.
17336 (closelog): Likewise.
17337 * misc/ttyslot.c (ttyslot): Likewise.
17338 * misc/vhangup.c (vhangup): Likewise.
17339 * posix/fork.c (__fork): Likewise.
17340 * posix/getegid.c (__getegid): Likewise.
17341 * posix/geteuid.c (__geteuid): Likewise.
17342 * posix/getgid.c (__getgid): Likewise.
17343 * posix/getpid.c (__getpid): Likewise.
17344 * posix/getppid.c (__getppid): Likewise.
17345 * posix/getuid.c (__getuid): Likewise.
17346 * posix/pause.c (pause): Likewise.
17347 * posix/setpgrp.c (setpgrp): Likewise.
17348 * posix/setsid.c (__setsid): Likewise.
17349 * posix/test-vfork.c (noop): Likewise.
17350 * resolv/gethnamaddr.c (_endhtent): Likewise.
17351 (_gethtent): Likewise.
17352 (ht_endhostent): Likewise.
17353 (gethostent): Likewise.
17354 (dns_service): Likewise.
17355 * stdlib/drand48.c (drand48): Likewise.
17356 * stdlib/lrand48.c (lrand48): Likewise.
17357 * stdlib/mrand48.c (mrand48): Likewise.
17358 * stdlib/rand.c (rand): Likewise.
17359 * stdlib/random.c (__random): Likewise.
17360 * stdlib/setenv.c (clearenv): Likewise.
17361 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
17362 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
17363 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
17364 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
17365 (__get_nprocs): Likewise.
17366 (__get_phys_pages): Likewise.
17367 (__get_avphys_pages): Likewise.
17368 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
17369 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
17370 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
17371 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
17372 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
17373 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
17374 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
17375 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
17376 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
17377 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
17378 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
17379 * sysdeps/mach/hurd/sync.c (sync): Likewise.
17380 * sysdeps/posix/clock.c (clock): Likewise.
17381 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
17382 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
17383 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
17384 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
17385 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
17386 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
17387 (__get_nprocs_conf): Likewise.
17388 (__get_phys_pages): Likewise.
17389 (__get_avphys_pages): Likewise.
17390 * time/clock.c (clock): Likewise.
17391 * time/tzset.c (__tzname_max): Likewise.
17392
2e09a79a
JM
173932013-06-07 Joseph Myers <joseph@codesourcery.com>
17394
17395 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
17396 (__bswap_32): Do not use "register".
17397 * crypt/crypt.c (_ufc_doit_r): Likewise.
17398 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17399 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17400 * gmon/gmon.c (__monstartup): Likewise.
17401 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
17402 * hurd/hurdmalloc.c (more_memory): Likewise.
17403 (malloc): Likewise.
17404 (free): Likewise.
17405 (realloc): Likewise.
17406 (malloc_fork_prepare): Likewise.
17407 (malloc_fork_parent): Likewise.
17408 (malloc_fork_child): Likewise.
17409 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
17410 (_svcauth_des): Likewise.
17411 * inet/inet_lnaof.c (inet_lnaof): Likewise.
17412 * inet/inet_net.c (inet_network): Likewise.
17413 * inet/inet_netof.c (inet_netof): Likewise.
17414 * inet/rcmd.c (__validuser2_sa): Likewise.
17415 * io/fts.c (fts_open): Likewise.
17416 (fts_load): Likewise.
17417 (fts_close): Likewise.
17418 (fts_read): Likewise.
17419 (fts_children): Likewise.
17420 (fts_build): Likewise.
17421 (fts_stat): Likewise.
17422 (fts_sort): Likewise.
17423 (fts_alloc): Likewise.
17424 (fts_lfree): Likewise.
17425 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
17426 (_IO_file_xsgetn): Likewise.
17427 (_IO_file_xsgetn_mmap): Likewise.
17428 * libio/iofopncook.c (_IO_cookie_read): Likewise.
17429 (_IO_cookie_write): Likewise.
17430 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
17431 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
17432 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
17433 * malloc/obstack.c (_obstack_begin): Likewise.
17434 (_obstack_begin_1): Likewise.
17435 (_obstack_newchunk): Likewise.
17436 (_obstack_allocated_p): Likewise.
17437 (obstack_free): Likewise.
17438 (_obstack_memory_used): Likewise.
17439 * misc/getttyent.c (getttynam): Likewise.
17440 (getttyent): Likewise.
17441 (skip): Likewise.
17442 (value): Likewise.
17443 * misc/getusershell.c (initshells): Likewise.
17444 * misc/syslog.c (__vsyslog_chk): Likewise.
17445 * misc/ttyslot.c (ttyslot): Likewise.
17446 * nis/nis_hash.c (__nis_hash): Likewise.
17447 * posix/fnmatch_loop.c (FCT): Likewise.
17448 * posix/getconf.c (print_all): Likewise.
17449 (main): Likewise.
17450 * posix/getopt.c (exchange): Likewise.
17451 * posix/glob.c (globfree): Likewise.
17452 (prefix_array): Likewise.
17453 (__glob_pattern_type): Likewise.
17454 * resolv/arpa/nameser.h (NS_GET16): Likewise.
17455 (NS_GET32): Likewise.
17456 (NS_PUT16): Likewise.
17457 (NS_PUT32): Likewise.
17458 * resolv/gethnamaddr.c (getanswer): Likewise.
17459 (gethostbyname2): Likewise.
17460 (gethostbyaddr): Likewise.
17461 (_gethtent): Likewise.
17462 (_gethtbyname2): Likewise.
17463 (_gethtbyaddr): Likewise.
17464 * resolv/ns_print.c (dst_s_get_int16): Likewise.
17465 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
17466 * resolv/res_init.c (__res_vinit): Likewise.
17467 (net_mask): Likewise.
17468 * resolv/res_mkquery.c (outchar): Likewise.
17469 (PRINT): Likewise.
17470 * stdio-common/printf_fp.c (outchar): Likewise.
17471 (PRINT): Likewise.
17472 * stdio-common/printf_fphex.c (outchar): Likewise.
17473 (PRINT): Likewise.
17474 * stdio-common/printf_size.c (outchar): Likewise.
17475 (PRINT): Likewise.
17476 * stdio-common/test_rdwr.c (main): Likewise.
17477 * stdio-common/tfformat.c (matches): Likewise.
17478 * stdio-common/vfprintf.c (outchar): Likewise.
17479 (printf_unknown): Likewise.
17480 (buffered_vfprintf): Likewise.
17481 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17482 * stdio-common/xbug.c (AppendToBuffer): Likewise.
17483 (ReadFile): Likewise.
17484 * stdlib/qsort.c (SWAP): Likewise.
17485 (_quicksort): Likewise.
17486 * stdlib/setenv.c (__add_to_environ): Likewise.
17487 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17488 * stdlib/strtol_l.c (__strtol_l): Likewise.
17489 * stdlib/tst-strtod.c (main): Likewise.
17490 * stdlib/tst-strtol.c (main): Likewise.
17491 * stdlib/tst-strtoll.c (main): Likewise.
17492 * string/bits/string2.h (__strcmp_cc): Likewise.
17493 (__strcmp_cg): Likewise.
17494 (__strcspn_c1): Likewise.
17495 (__strcspn_c2): Likewise.
17496 (__strcspn_c3): Likewise.
17497 (__strspn_c1): Likewise.
17498 (__strspn_c2): Likewise.
17499 (__strspn_c3): Likewise.
17500 (__strsep_1c): Likewise.
17501 (__strsep_2c): Likewise.
17502 (__strsep_3c): Likewise.
17503 * string/memccpy.c (__memccpy): Likewise.
17504 * string/stpcpy.c (__stpcpy): Likewise.
17505 * string/strcmp.c (strcmp): Likewise.
17506 * string/strrchr.c (strrchr): Likewise.
17507 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
17508 Likewise.
17509 * sysdeps/mach/hurd/getcwd.c
17510 (_hurd_canonicalize_directory_name_internal): Likewise.
17511 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
17512 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
17513 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
17514 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
17515 Likewise, in both definitions.
17516 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
17517 definitions.
17518 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
17519 64] (__bswap_64): Likewise.
17520 * time/test_time.c (main): Likewise.
17521 * time/tzfile.c (__tzfile_read): Likewise.
17522 (__tzfile_compute): Likewise.
17523 * time/tzset.c (__tzset_parse_tz): Likewise.
17524 (tzset_internal): Likewise.
17525 (compute_change): Likewise.
17526 * wcsmbs/wcscat.c (__wcscat): Likewise.
17527 * wcsmbs/wcschr.c (wcschr): Likewise.
17528 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17529 * wcsmbs/wcscspn.c (wcscspn): Likewise.
17530 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17531 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
17532 * wcsmbs/wcsspn.c (wcsspn): Likewise.
17533 * wcsmbs/wcsstr.c (wcsstr): Likewise.
17534 * wcsmbs/wmemchr.c (wmemchr): Likewise.
17535 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17536 * wcsmbs/wmemset.c (wmemset): Likewise.
17537
9e54314b
JM
175382013-06-06 Joseph Myers <joseph@codesourcery.com>
17539
17540 * scripts/config.guess: Update to version 2013-05-16.
17541 * scripts/config.sub: Update to version 2013-04-24.
17542 * scripts/install-sh: Update to version 2011-11-20.07.
17543 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
17544 * scripts/move-if-change: Update to version 2012-01-06 07:23.
17545
350635a5
OB
175462013-06-06 Ondřej Bílka <neleai@seznam.cz>
17547
17548 * debug/fgetws_u_chk.c: Fix leading whitespaces.
17549 * elf/sln.c: Likewise.
17550 * hurd/hurd/ioctl.h: Likewise.
17551 * hurd/hurdmalloc.c: Likewise.
17552 * hurd/xattr.c: Likewise.
17553 * include/shlib-compat.h: Likewise.
17554 * inet/ruserpass.c: Likewise.
17555 * libio/iofgets_u.c: Likewise.
17556 * libio/iofgetws_u.c: Likewise.
17557 * locale/programs/ld-identification.c: Likewise.
17558 * locale/programs/ld-time.c: Likewise.
17559 * mach/msg-destroy.c: Likewise.
17560 * nss/nss_files/files-netgrp.c: Likewise.
17561 * resolv/res_data.c: Likewise.
17562 * soft-fp/op-1.h: Likewise.
17563 * soft-fp/op-2.h: Likewise.
17564 * soft-fp/op-4.h: Likewise.
17565 * soft-fp/op-common.h: Likewise.
17566 * stdio-common/printf_fphex.c: Likewise.
17567 * stdlib/strtod_l.c: Likewise.
17568 * sunrpc/rpc/clnt.h: Likewise.
17569 * sysdeps/generic/framestate.c: Likewise.
17570 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17571 * sysdeps/i386/bsd-setjmp.S: Likewise.
17572 * sysdeps/i386/__longjmp.S: Likewise.
17573 * sysdeps/i386/setjmp.S: Likewise.
17574 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17575 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17576 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17577 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17578 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17579 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17580 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17581 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17582 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17583 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17584 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17585 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17586 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17587 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17588 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17589 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17590 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17591 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
17592 * sysdeps/ieee754/support.c: Likewise.
17593 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17594 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
17595 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
17596 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
17597 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
17598 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
17599 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
17600 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
17601 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
17602 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
17603 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
17604 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
17605 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
17606 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
17607 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
17608 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
17609 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17611
44a988af
OB
176122013-06-05 Ondřej Bílka <neleai@seznam.cz>
17613
25506f09 17614 * posix/transbug.c: Remove executable mode.
44a988af 17615
9c84384c
JM
176162013-06-05 Joseph Myers <joseph@codesourcery.com>
17617
17618 * crypt/speeds.c: Remove trailing whitespace.
17619 * dlfcn/default.c: Likewise.
17620 * elf/ifuncdep2.c: Likewise.
17621 * elf/ifuncmain1.c: Likewise.
17622 * elf/ifuncmain1vis.c: Likewise.
17623 * elf/testobj.h: Likewise.
17624 * elf/tst-stackguard1.c: Likewise.
17625 * gmon/sys/gmon.h: Likewise.
17626 * hurd/hurdmsg.c: Likewise.
17627 * hurd/new-fd.c: Likewise.
17628 * hurd/ports-get.c: Likewise.
17629 * iconvdata/ibm1008_420.c: Likewise.
17630 * inet/tst-getni1.c: Likewise.
17631 * inet/tst-getni2.c: Likewise.
17632 * libio/ioungetc.c: Likewise.
17633 * libio/wfiledoalloc.c: Likewise.
17634 * manual/libm-err-tab.pl: Likewise.
17635 * math/w_dremf.c: Likewise.
17636 * misc/ftruncate.c: Likewise.
17637 * posix/bug-glob2.c: Likewise.
17638 * posix/tst-pcre.c: Likewise.
17639 * posix/wait4.c: Likewise.
17640 * resolv/README: Likewise.
17641 * resolv/res_debug.h: Likewise.
17642 * resolv/tst-inet_ntop.c: Likewise.
17643 * setjmp/bug269-setjmp.c: Likewise.
17644 * soft-fp/extended.h: Likewise.
17645 * soft-fp/op-1.h: Likewise.
17646 * soft-fp/op-2.h: Likewise.
17647 * soft-fp/op-4.h: Likewise.
17648 * soft-fp/op-8.h: Likewise.
17649 * soft-fp/testit.c: Likewise.
17650 * stdio-common/bug16.c: Likewise.
17651 * stdlib/random.c: Likewise.
17652 * sunrpc/rpcsvc/rquota.x: Likewise.
17653 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
17654 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17655 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17656 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17657 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17658 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17659 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17660 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17661 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17662 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17663 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17664 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17665 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17666 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17667 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17668 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17669 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17670 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17671 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17672 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17673 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17674 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17675 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17676 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17677 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17678 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17679 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17680 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17681 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17682 * sysdeps/ieee754/s_lib_version.c: Likewise.
17683 * sysdeps/mach/hurd/check_fds.c: Likewise.
17684 * sysdeps/mach/hurd/getsockname.c: Likewise.
17685 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
17686 * sysdeps/mach/hurd/recvfrom.c: Likewise.
17687 * sysdeps/powerpc/bits/link.h: Likewise.
17688 * sysdeps/powerpc/dl-procinfo.c: Likewise.
17689 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
17690 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
17691 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
17692 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17693 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17694 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
17695 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17696 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
17697 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17698 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17699 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17700 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
17701 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17702 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17703 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17704 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17705 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17706 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17707 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17708 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17709 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
17710 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17711 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17712 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
17713 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17714 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17715 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17716 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17717 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17718 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17719 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17720 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17721 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17722 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
17723 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17724 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
17725 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17726 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17727 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
17728 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
17729 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
17730 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
17731 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
17732 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17733 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
17734 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
17735 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17736 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
17737 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
17738 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17739 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17740 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17741 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17742 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
17743 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17744 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17745 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17746 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
17747 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17748 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
17749 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
17750 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
17751 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17752 * sysdeps/powerpc/sysdep.h: Likewise.
17753 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17754 * sysdeps/s390/s390-64/sub_n.S: Likewise.
17755 * sysdeps/sh/dl-trampoline.S: Likewise.
17756 * sysdeps/sh/memset.S: Likewise.
17757 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
17758 * sysdeps/sh/strlen.S: Likewise.
17759 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
17760 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
17761 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
17762 * sysdeps/sparc/sparc32/rem.S: Likewise.
17763 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17764 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
17765 * sysdeps/sparc/sparc32/strchr.S: Likewise.
17766 * sysdeps/sparc/sparc32/udiv.S: Likewise.
17767 * sysdeps/sparc/sparc32/urem.S: Likewise.
17768 * sysdeps/sparc/sparc64/add_n.S: Likewise.
17769 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17770 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17771 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17772 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17773 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17774 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17775 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17776 * sysdeps/unix/bsd/times.c: Likewise.
17777 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17778 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17782 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17783 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17784 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17785 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17786 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17787 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17788 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17789 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17790 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17791 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17792 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17793 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17794 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17795 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
17796 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
17797 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
17798 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
17799 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17800 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
17801 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
17802 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17803 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
17804 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17805 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
17806 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
17807 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
17808 * sysdeps/x86_64/strcspn.S: Likewise.
17809
869378a5
RA
178102013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17811
17812 * locale/C-translit.h: Revert #include <stdint.h> because this is a
17813 generated file. Regenerate properly from gen-translit.pl.
17814 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
17815 locale/C-translit.h.
17816
840e2943
AS
178172013-06-05 Andreas Schwab <schwab@suse.de>
17818
17819 [BZ #15100]
17820 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
17821 week as 6 instead of -1.
17822 * time/tst-strptime.c (day_tests): Add test case.
17823
4c60cb0c
SP
178242013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17825
17826 * sysdeps/generic/math_private.h
17827 (libc_feholdexcept_setround_53bit): Replace with
17828 libc_feholdsetround_53bit.
17829 (libc_feupdateenv_53bit): Replace with
17830 libc_feresetround_53bit.
17831 (SET_RESTORE_ROUND_53BIT): Adjust.
17832
d180203e
SP
178332013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17834
96df079a
SP
17835 * string/test-strchrnul.c: Add copyright header.
17836
d180203e
SP
17837 * posix/tst-getaddrinfo4.c: Increase test timeout.
17838
8b0ccb2d
CD
178392013-06-03 Carlos O'Donell <carlos@redhat.com>
17840
17841 [BZ #15536]
17842 * math/libm-test.inc (MAX_EXP): Remove
17843 (MIN_EXP): Define.
17844 (ulp): Use MIN_EXP - MANT_DIG.
17845 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
17846
3b3c4d40
CD
178472013-05-31 Carlos O'Donell <carlos@redhat.com>
17848
17849 * po/be.po: Revert last change.
17850 * po/zh_CN.po: Likewise.
17851 * po/header.pot: Likewise.
17852
fab7ce3f
JM
178532013-05-31 Joseph Myers <joseph@codesourcery.com>
17854
17855 * Makefile ($(common-objpfx)linkobj/libc.so): Define
17856 link-libc-deps to empty as target-specific variable.
17857 * Makerules (link-libc-args): New variable.
17858 (libc-for-link): Likewise.
17859 (link-libc-deps): Likewise.
17860 (lib%.so): Depend on $(link-libc-deps). Link with
17861 $(link-libc-args).
17862 (build-module): Link with $(link-libc-args).
17863 (build-module-asneeded): Likewise.
17864 (build-module-helper-objlist): Filter out $(link-libc-deps) from
17865 list of objects.
17866 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
17867 target-specific variable.
17868 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
17869 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
17870 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
17871 libc.
17872 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
17873 libc and ld.so.
17874 ($(objpfx)libpcprofile.so): Likewise.
17875 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
17876 libc_nonshared.a.
17877 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
17878 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
17879 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
17880 $(link-libc-deps).
17881 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
17882 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
17883 * login/Makefile ($(objpfx)libutil.so): Likewise.
17884 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
17885 * math/Makefile ($(objpfx)libm.so): Likewise.
17886 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
17887 $(objpfx)libnsl.so): Define libc-for-link as target-specific
17888 variable instead of depending directly on libc.
17889 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
17890 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
17891 $(link-libc-deps).
17892 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
17893 libc.
17894 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
17895 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
17896 ($(objpfx)libanl.so): Likewise.
17897 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
17898 ld.so.
17899 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
17900 $(link-libc-deps).
17901 * sysdeps/i386/fpu/Makefile: Remove file.
17902 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
17903 ($(objpfx)libm.so): Remove dependency on ld.so.
17904
eca5920c
PF
179052013-05-30 Patsy Franklin <pfrankli@redhat.com>
17906
17907 [BZ # 15553]
17908 * nis/yp_xdr.c (XDRMAXNAME): Define.
17909 (XDRMAXRECORD): Define.
17910 (xdr_domainname): Use XDRMAXNAME.
17911 (xdr_mapname): Likewise.
17912 (xdr_peername): Likewise.
17913 (xdr_keydat): Use XDRMAXRECORD.
17914 (xdr_valdat): Likewise.
17915
179162013-05-30 Jeff Law <law@redhat.com>
96945714
JL
17917
17918 [BZ #14256]
17919 * manual/errno.texi (ESTALE): Update to account for more than
17920 just NFS file systems.
17921 * sysdeps/gnu/errlist.c: Regenerated.
17922
b9375348
SP
179232013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17924
17925 [BZ #15465]
17926 * elf/Makefile (tests): Add tst-null-argv.
17927 (modules-names): Add tst-null-argv-lib.
17928 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
17929 (tst-null-argv-ENV): Set environment for tst-null-argv.
17930 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
17931 (RTLD_PROGNAME): New macro.
17932 * elf/tst-null-argv.c: New test case.
17933 * elf/tst-null-argv-lib.c: Library for test case.
17934 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
17935 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
17936 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
17937 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
17938 * elf/dl-init.c (call_init): Likewise.
17939 (_dl_init): Likewise.
17940 * elf/dl-load.c (print_search_path): Likewise.
17941 (_dl_map_object): Likewise.
17942 * elf/dl-lookup.c (do_lookup_x): Likewise.
17943 (add_dependency): Likewise.
17944 (_dl_lookup_symbol_x): Likewise.
17945 (_dl_debug_bindings): Likewise.
17946 * elf/dl-open.c (_dl_show_scope): Likewise.
17947 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17948 * elf/dl-version.c (match_symbol): Likewise.
17949 (_dl_check_map_versions): Likewise.
17950 * elf/rtld.c (dl_main): Likewise.
17951 (print_unresolved): Use RTLD_PROGNAME.
17952 (print_missing_version): Likewise.
17953 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
17954 (elf_machine_rela): Likewise.
17955 * sysdeps/powerpc/powerpc32/dl-machine.c
17956 (__process_machine_rela): Likewise.
17957 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17958 Likewise.
17959 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17960 Likewise.
17961 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17962 Likewise.
17963 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17964 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
17965 Likewise.
17966 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
17967 Likewise.
17968 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17969
8a9f20c8
CD
179702013-05-28 Carlos O'Donell <carlos@redhat.com>
17971
17972 * po/be.po: Add descriptive title.
17973 * po/zh_CN.po: Likewise.
17974 * po/header.pot: Likewise.
17975
0e60d68e
MF
179762013-05-28 Mike Frysinger <vapier@gentoo.org>
17977
17978 * locale/programs/locarchive.c (create_archive): Inlucde fname in
17979 error message.
17980 (enlarge_archive): Likewise.
17981
56b672e9
BN
179822013-05-28 Ben North <ben@redfrontdoor.org>
17983
17984 * manual/arith.texi (frexp): It is the magnitude of the return
17985 value which lies in [0.5, 1), not the return value itself.
17986
5e056687
AZ
179872013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17988
17989 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17990
2b66ef5d
TS
179912013-05-26 Thomas Schwinge <thomas@codesourcery.com>
17992
528c2405
TS
17993 * stdio-common/bug26.c (main): Correct fscanf template.
17994
07b4c13d
TS
17995 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
17996 declare _dl_skip_args.
17997
ec9dd97c
TS
17998 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
17999 Don't declare.
18000
2b66ef5d
TS
18001 * manual/platform.texi: Add missing @end deftypefun.
18002
4f8dfe27
JM
180032013-05-24 Joseph Myers <joseph@codesourcery.com>
18004
0323d086
JM
18005 [BZ #15529]
18006 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
18007 bit of mantissa of 2^16382.
18008 * math/libm-test.inc (hypot_test_data): Add more tests.
18009
dd4259b9
JM
18010 * math/libm-test.inc: Add drem and pow10 to list of tested
18011 functions.
18012 (pow10_test): New function.
18013 (drem_test): Likewise.
18014 (drem_test_tonearest): Likewise.
18015 (drem_test_towardzero): Likewise.
18016 (drem_test_downward): Likewise.
18017 (drem_test_upward): Likewise.
18018 (main): Call the new functions.
18019
4f8dfe27
JM
18020 * math/libm-test.inc (finite_test_data): Remove.
18021 (finite_test): Run tests from isfinite_test_data.
18022 (gamma_test_data): Remove.
18023 (gamma_test): Run tests from lgamma_test_data.
18024 * sysdeps/i386/fpu/libm-test-ulps: Update.
18025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18026
d116b7c4
AZ
180272013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18028
18029 * manual/platform.texi: Add PowerPC PPR function set documentation.
18030 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
18031 implementation.
18032
e96e3767
CD
180332013-05-24 Carlos O'Donell <carlos@redhat.com>
18034
18035 * math/libm-test.inc (MAX_EXP): Define.
18036 (ULPDIFF): Define.
18037 (ulp): New function.
18038 (check_float_internal): Use ULPDIFF.
18039 (cpow_test): Disable failing test.
18040 (check_ulp): Test ulp() implemetnation.
18041 (main): Call check_ulp before starting tests.
18042
b679a606
JM
180432013-05-24 Joseph Myers <joseph@codesourcery.com>
18044
e8bdba36
JM
18045 * math/gen-libm-test.pl (generate_testfile): Do not handle
18046 START_DATA and END_DATA.
18047 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
18048 END_DATA.
18049 (acos_tonearest_test_data): Likewise.
18050 (acos_towardzero_test_data): Likewise.
18051 (acos_downward_test_data): Likewise.
18052 (acos_upward_test_data): Likewise.
18053 (acosh_test_data): Likewise.
18054 (asin_test_data): Likewise.
18055 (asin_tonearest_test_data): Likewise.
18056 (asin_towardzero_test_data): Likewise.
18057 (asin_downward_test_data): Likewise.
18058 (asin_upward_test_data): Likewise.
18059 (asinh_test_data): Likewise.
18060 (atan_test_data): Likewise.
18061 (atanh_test_data): Likewise.
18062 (atan2_test_data): Likewise.
18063 (cabs_test_data): Likewise.
18064 (cacos_test_data): Likewise.
18065 (cacosh_test_data): Likewise.
18066 (carg_test_data): Likewise.
18067 (casin_test_data): Likewise.
18068 (casinh_test_data): Likewise.
18069 (catan_test_data): Likewise.
18070 (catanh_test_data): Likewise.
18071 (cbrt_test_data): Likewise.
18072 (ccos_test_data): Likewise.
18073 (ccosh_test_data): Likewise.
18074 (ceil_test_data): Likewise.
18075 (cexp_test_data): Likewise.
18076 (cimag_test_data): Likewise.
18077 (clog_test_data): Likewise.
18078 (clog10_test_data): Likewise.
18079 (conj_test_data): Likewise.
18080 (copysign_test_data): Likewise.
18081 (cos_test_data): Likewise.
18082 (cos_tonearest_test_data): Likewise.
18083 (cos_towardzero_test_data): Likewise.
18084 (cos_downward_test_data): Likewise.
18085 (cos_upward_test_data): Likewise.
18086 (cosh_test_data): Likewise.
18087 (cosh_tonearest_test_data): Likewise.
18088 (cosh_towardzero_test_data): Likewise.
18089 (cosh_downward_test_data): Likewise.
18090 (cosh_upward_test_data): Likewise.
18091 (cpow_test_data): Likewise.
18092 (cproj_test_data): Likewise.
18093 (creal_test_data): Likewise.
18094 (csin_test_data): Likewise.
18095 (csinh_test_data): Likewise.
18096 (csqrt_test_data): Likewise.
18097 (ctan_test_data): Likewise.
18098 (ctan_tonearest_test_data): Likewise.
18099 (ctan_towardzero_test_data): Likewise.
18100 (ctan_downward_test_data): Likewise.
18101 (ctan_upward_test_data): Likewise.
18102 (ctanh_test_data): Likewise.
18103 (ctanh_tonearest_test_data): Likewise.
18104 (ctanh_towardzero_test_data): Likewise.
18105 (ctanh_downward_test_data): Likewise.
18106 (ctanh_upward_test_data): Likewise.
18107 (erf_test_data): Likewise.
18108 (erfc_test_data): Likewise.
18109 (exp_test_data): Likewise.
18110 (exp_tonearest_test_data): Likewise.
18111 (exp_towardzero_test_data): Likewise.
18112 (exp_downward_test_data): Likewise.
18113 (exp_upward_test_data): Likewise.
18114 (exp10_test_data): Likewise.
18115 (exp2_test_data): Likewise.
18116 (expm1_test_data): Likewise.
18117 (fabs_test_data): Likewise.
18118 (fdim_test_data): Likewise.
18119 (finite_test_data): Likewise.
18120 (floor_test_data): Likewise.
18121 (fma_test_data): Likewise.
18122 (fma_towardzero_test_data): Likewise.
18123 (fma_downward_test_data): Likewise.
18124 (fma_upward_test_data): Likewise.
18125 (fmax_test_data): Likewise.
18126 (fmin_test_data): Likewise.
18127 (fmod_test_data): Likewise.
18128 (fpclassify_test_data): Likewise.
18129 (frexp_test_data): Likewise.
18130 (gamma_test_data): Likewise.
18131 (hypot_test_data): Likewise.
18132 (ilogb_test_data): Likewise.
18133 (isfinite_test_data): Likewise.
18134 (isgreater_test_data): Likewise.
18135 (isgreaterequal_test_data): Likewise.
18136 (isinf_test_data): Likewise.
18137 (isless_test_data): Likewise.
18138 (islessequal_test_data): Likewise.
18139 (islessgreater_test_data): Likewise.
18140 (isnan_test_data): Likewise.
18141 (isnormal_test_data): Likewise.
18142 (issignaling_test_data): Likewise.
18143 (isunordered_test_data): Likewise.
18144 (j0_test_data): Likewise.
18145 (j1_test_data): Likewise.
18146 (jn_test_data): Likewise.
18147 (ldexp_test_data): Likewise.
18148 (lgamma_test_data): Likewise.
18149 (lrint_test_data): Likewise.
18150 (lrint_tonearest_test_data): Likewise.
18151 (lrint_towardzero_test_data): Likewise.
18152 (lrint_downward_test_data): Likewise.
18153 (lrint_upward_test_data): Likewise.
18154 (llrint_test_data): Likewise.
18155 (llrint_tonearest_test_data): Likewise.
18156 (llrint_towardzero_test_data): Likewise.
18157 (llrint_downward_test_data): Likewise.
18158 (llrint_upward_test_data): Likewise.
18159 (log_test_data): Likewise.
18160 (log10_test_data): Likewise.
18161 (log1p_test_data): Likewise.
18162 (log2_test_data): Likewise.
18163 (logb_test_data): Likewise.
18164 (logb_downward_test_data): Likewise.
18165 (lround_test_data): Likewise.
18166 (llround_test_data): Likewise.
18167 (modf_test_data): Likewise.
18168 (nearbyint_test_data): Likewise.
18169 (nextafter_test_data): Likewise.
18170 (nexttoward_test_data): Likewise.
18171 (pow_test_data): Likewise.
18172 (pow_tonearest_test_data): Likewise.
18173 (pow_towardzero_test_data): Likewise.
18174 (pow_downward_test_data): Likewise.
18175 (pow_upward_test_data): Likewise.
18176 (remainder_test_data): Likewise.
18177 (remainder_tonearest_test_data): Likewise.
18178 (remainder_towardzero_test_data): Likewise.
18179 (remainder_downward_test_data): Likewise.
18180 (remainder_upward_test_data): Likewise.
18181 (remquo_test_data): Likewise.
18182 (rint_test_data): Likewise.
18183 (rint_tonearest_test_data): Likewise.
18184 (rint_towardzero_test_data): Likewise.
18185 (rint_downward_test_data): Likewise.
18186 (rint_upward_test_data): Likewise.
18187 (round_test_data): Likewise.
18188 (scalb_test_data): Likewise.
18189 (scalbn_test_data): Likewise.
18190 (scalbln_test_data): Likewise.
18191 (signbit_test_data): Likewise.
18192 (sin_test_data): Likewise.
18193 (sin_tonearest_test_data): Likewise.
18194 (sin_towardzero_test_data): Likewise.
18195 (sin_downward_test_data): Likewise.
18196 (sin_upward_test_data): Likewise.
18197 (sincos_test_data): Likewise.
18198 (sinh_test_data): Likewise.
18199 (sinh_tonearest_test_data): Likewise.
18200 (sinh_towardzero_test_data): Likewise.
18201 (sinh_downward_test_data): Likewise.
18202 (sinh_upward_test_data): Likewise.
18203 (sqrt_test_data): Likewise.
18204 (tan_test_data): Likewise.
18205 (tan_tonearest_test_data): Likewise.
18206 (tan_towardzero_test_data): Likewise.
18207 (tan_downward_test_data): Likewise.
18208 (tan_upward_test_data): Likewise.
18209 (tanh_test_data): Likewise.
18210 (tgamma_test_data): Likewise.
18211 (trunc_test_data): Likewise.
18212 (y0_test_data): Likewise.
18213 (y1_test_data): Likewise.
18214 (yn_test_data): Likewise.
18215 (significand_test_data): Likewise.
18216
b679a606
JM
18217 * math/gen-libm-test.pl (@functions): Remove variable.
18218 (generate_testfile): Don't handle START and END lines.
18219 * math/libm-test.inc (START): New macro.
18220 (END): Likewise.
18221 (END_COMPLEX): Likewise.
18222 (acos_test): Use END macro without arguments.
18223 (acos_test_tonearest): Likewise.
18224 (acos_test_towardzero): Likewise.
18225 (acos_test_downward): Likewise.
18226 (acos_test_upward): Likewise.
18227 (acosh_test): Likewise.
18228 (asin_test): Likewise.
18229 (asin_test_tonearest): Likewise.
18230 (asin_test_towardzero): Likewise.
18231 (asin_test_downward): Likewise.
18232 (asin_test_upward): Likewise.
18233 (asinh_test): Likewise.
18234 (atan_test): Likewise.
18235 (atanh_test): Likewise.
18236 (atan2_test): Likewise.
18237 (cabs_test): Likewise.
18238 (cacos_test): Use END_COMPLEX macro without arguments.
18239 (cacosh_test): Likewise.
18240 (carg_test): Use END macro without arguments.
18241 (casin_test): Use END_COMPLEX macro without arguments.
18242 (casinh_test): Likewise.
18243 (catan_test): Likewise.
18244 (catanh_test): Likewise.
18245 (cbrt_test): Use END macro without arguments.
18246 (ccos_test): Use END_COMPLEX macro without arguments.
18247 (ccosh_test): Likewise.
18248 (ceil_test): Use END macro without arguments.
18249 (cexp_test): Use END_COMPLEX macro without arguments.
18250 (cimag_test): Use END macro without arguments.
18251 (clog_test): Use END_COMPLEX macro without arguments.
18252 (clog10_test): Likewise.
18253 (conj_test): Likewise.
18254 (copysign_test): Use END macro without arguments.
18255 (cos_test): Likewise.
18256 (cos_test_tonearest): Likewise.
18257 (cos_test_towardzero): Likewise.
18258 (cos_test_downward): Likewise.
18259 (cos_test_upward): Likewise.
18260 (cosh_test): Likewise.
18261 (cosh_test_tonearest): Likewise.
18262 (cosh_test_towardzero): Likewise.
18263 (cosh_test_downward): Likewise.
18264 (cosh_test_upward): Likewise.
18265 (cpow_test): Use END_COMPLEX macro without arguments.
18266 (cproj_test): Likewise.
18267 (creal_test): Use END macro without arguments.
18268 (csin_test): Use END_COMPLEX macro without arguments.
18269 (csinh_test): Likewise.
18270 (csqrt_test): Likewise.
18271 (ctan_test): Likewise.
18272 (ctan_test_tonearest): Likewise.
18273 (ctan_test_towardzero): Likewise.
18274 (ctan_test_downward): Likewise.
18275 (ctan_test_upward): Likewise.
18276 (ctanh_test): Likewise.
18277 (ctanh_test_tonearest): Likewise.
18278 (ctanh_test_towardzero): Likewise.
18279 (ctanh_test_downward): Likewise.
18280 (ctanh_test_upward): Likewise.
18281 (erf_test): Use END macro without arguments.
18282 (erfc_test): Likewise.
18283 (exp_test): Likewise.
18284 (exp_test_tonearest): Likewise.
18285 (exp_test_towardzero): Likewise.
18286 (exp_test_downward): Likewise.
18287 (exp_test_upward): Likewise.
18288 (exp10_test): Likewise.
18289 (exp2_test): Likewise.
18290 (expm1_test): Likewise.
18291 (fabs_test): Likewise.
18292 (fdim_test): Likewise.
18293 (finite_test): Likewise.
18294 (floor_test): Likewise.
18295 (fma_test): Likewise.
18296 (fma_test_towardzero): Likewise.
18297 (fma_test_downward): Likewise.
18298 (fma_test_upward): Likewise.
18299 (fmax_test): Likewise.
18300 (fmin_test): Likewise.
18301 (fmod_test): Likewise.
18302 (fpclassify_test): Likewise.
18303 (frexp_test): Likewise.
18304 (gamma_test): Likewise.
18305 (hypot_test): Likewise.
18306 (ilogb_test): Likewise.
18307 (isfinite_test): Likewise.
18308 (isgreater_test): Likewise.
18309 (isgreaterequal_test): Likewise.
18310 (isinf_test): Likewise.
18311 (isless_test): Likewise.
18312 (islessequal_test): Likewise.
18313 (islessgreater_test): Likewise.
18314 (isnan_test): Likewise.
18315 (isnormal_test): Likewise.
18316 (issignaling_test): Likewise.
18317 (isunordered_test): Likewise.
18318 (j0_test): Likewise.
18319 (j1_test): Likewise.
18320 (jn_test): Likewise.
18321 (ldexp_test): Likewise.
18322 (lgamma_test): Likewise.
18323 (lrint_test): Likewise.
18324 (lrint_test_tonearest): Likewise.
18325 (lrint_test_towardzero): Likewise.
18326 (lrint_test_downward): Likewise.
18327 (lrint_test_upward): Likewise.
18328 (llrint_test): Likewise.
18329 (llrint_test_tonearest): Likewise.
18330 (llrint_test_towardzero): Likewise.
18331 (llrint_test_downward): Likewise.
18332 (llrint_test_upward): Likewise.
18333 (log_test): Likewise.
18334 (log10_test): Likewise.
18335 (log1p_test): Likewise.
18336 (log2_test): Likewise.
18337 (logb_test): Likewise.
18338 (logb_test_downward): Likewise.
18339 (lround_test): Likewise.
18340 (llround_test): Likewise.
18341 (modf_test): Likewise.
18342 (nearbyint_test): Likewise.
18343 (nextafter_test): Likewise.
18344 (nexttoward_test): Likewise.
18345 (pow_test): Likewise.
18346 (pow_test_tonearest): Likewise.
18347 (pow_test_towardzero): Likewise.
18348 (pow_test_downward): Likewise.
18349 (pow_test_upward): Likewise.
18350 (remainder_test): Likewise.
18351 (remainder_test_tonearest): Likewise.
18352 (remainder_test_towardzero): Likewise.
18353 (remainder_test_downward): Likewise.
18354 (remainder_test_upward): Likewise.
18355 (remquo_test): Likewise.
18356 (rint_test): Likewise.
18357 (rint_test_tonearest): Likewise.
18358 (rint_test_towardzero): Likewise.
18359 (rint_test_downward): Likewise.
18360 (rint_test_upward): Likewise.
18361 (round_test): Likewise.
18362 (scalb_test): Likewise.
18363 (scalbn_test): Likewise.
18364 (scalbln_test): Likewise.
18365 (signbit_test): Likewise.
18366 (sin_test): Likewise.
18367 (sin_test_tonearest): Likewise.
18368 (sin_test_towardzero): Likewise.
18369 (sin_test_downward): Likewise.
18370 (sin_test_upward): Likewise.
18371 (sincos_test): Likewise.
18372 (sinh_test): Likewise.
18373 (sinh_test_tonearest): Likewise.
18374 (sinh_test_towardzero): Likewise.
18375 (sinh_test_downward): Likewise.
18376 (sinh_test_upward): Likewise.
18377 (sqrt_test): Likewise.
18378 (tan_test): Likewise.
18379 (tan_test_tonearest): Likewise.
18380 (tan_test_towardzero): Likewise.
18381 (tan_test_downward): Likewise.
18382 (tan_test_upward): Likewise.
18383 (tanh_test): Likewise.
18384 (tgamma_test): Likewise.
18385 (trunc_test): Likewise.
18386 (y0_test): Likewise.
18387 (y1_test): Likewise.
18388 (yn_test): Likewise.
18389 (significand_test): Likewise.
18390
bae143d2
OB
183912013-05-24 Ondřej Bílka <neleai@seznam.cz>
18392
18393 [BZ #15381]
18394 * libio/genops.c (_IO_no_init): Initialize wide struct info.
18395
9323d39b
EM
183962013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
18397
d4ea44a0 18398 [BZ #14894]
9323d39b
EM
18399 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
18400 __ppc_mdoio and __ppc_mdoom.
18401 * manual/platform.texi: Document new functions __ppc_yield,
18402 __ppc_mdoio and __ppc_mdoom.
18403
13e23af7
CD
184042013-05-22 Carlos O'Donell <carlos@redhat.com>
18405
18406 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
18407 (main): Mention "tls" pseudo-hwcap is legacy.
18408 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
18409
351fe550
JM
184102013-05-22 Joseph Myers <joseph@codesourcery.com>
18411
18412 * math/gen-libm-test.pl (parse_args): Output only string of
18413 arguments as text for test name, not full call or descriptions of
18414 tests for extra outputs.
18415 (generate_testfile): Do not pass function name to parse_args.
18416 Generate this_func variable from START.
18417 * math/libm-test.inc (struct test_f_f_data): Rename test_name
18418 field to arg_str.
18419 (struct test_ff_f_data): Likewise.
18420 (test_ff_f_data_nexttoward): Likewise.
18421 (struct test_fi_f_data): Likewise.
18422 (struct test_fl_f_data): Likewise.
18423 (struct test_if_f_data): Likewise.
18424 (struct test_fff_f_data): Likewise.
18425 (struct test_c_f_data): Likewise.
18426 (struct test_f_f1_data): Likewise. Remove field extra_name.
18427 (struct test_fF_f1_data): Likewise.
18428 (struct test_ffI_f1_data): Likewise.
18429 (struct test_c_c_data): Rename test_name field to arg_str.
18430 (struct test_cc_c_data): Likewise.
18431 (struct test_f_i_data): Likewise.
18432 (struct test_ff_i_data): Likewise.
18433 (struct test_f_l_data): Likewise.
18434 (struct test_f_L_data): Likewise.
18435 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
18436 and extra2_name.
18437 (COMMON_TEST_SETUP): New macro.
18438 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
18439 (COMMON_TEST_CLEANUP): Likewise.
18440 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
18441 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
18442 macros.
18443 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
18444 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
18445 macros.
18446 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
18447 (RUN_TEST_fff_f): Take argument string. Call new setup and
18448 cleanup macros.
18449 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
18450 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
18451 macros.
18452 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
18453 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
18454 macros.
18455 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18456 (RUN_TEST_fF_f1): Take argument string. Call new setup and
18457 cleanup macros.
18458 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18459 (RUN_TEST_fI_f1): Take argument string. Call new setup and
18460 cleanup macros.
18461 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18462 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
18463 cleanup macros.
18464 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18465 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
18466 macros.
18467 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
18468 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
18469 macros.
18470 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
18471 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
18472 macros.
18473 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
18474 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
18475 cleanup macros.
18476 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
18477 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
18478 cleanup macros.
18479 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
18480 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
18481 macros.
18482 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
18483 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
18484 cleanup macros.
18485 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
18486 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
18487 macros.
18488 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
18489 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
18490 macros.
18491 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
18492 (RUN_TEST_fFF_11): Take argument string. Call new setup and
18493 cleanup macros.
18494 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
18495
85118d4d
EBM
184962013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18497
18498 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
18499 to _sifields.sigfault.
18500 (si_addr_lsb): Define new macro.
18501 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18502 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18503 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
18504
7a44c18f
CD
185052013-05-03 Carlos O'Donell <carlos at redhat.com>
18506
18507 [BZ #15441]
18508 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
18509 returns -1.
18510 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
18511 null return -1.
18512 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
18513 loading the domain.
18514
b50a7181
JM
185152013-05-22 Joseph Myers <joseph@codesourcery.com>
18516
18517 * math/gen-libm-test.pl (parse_args): Do not include expected
18518 result in test name.
18519 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
18520 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18521 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18522 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18523 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18525
051063c8
SP
185262013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18527
3ce9e010
SP
18528 * benchtests/Makefile: Sort function entries.
18529
051063c8
SP
18530 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
18531 tanh, asinh, acosh, atanh.
18532 * benchtests/acos-inputs: New file.
18533 * benchtests/acosh-inputs: New file.
18534 * benchtests/asin-inputs: New file.
18535 * benchtests/asinh-inputs: New file.
18536 * benchtests/atanh-inputs: New file.
18537 * benchtests/cosh-inputs: New file.
18538 * benchtests/log-inputs: New file.
18539 * benchtests/sinh-inputs: New file.
18540 * benchtests/tanh-inputs: New file.
18541
47c22455
DL
185422013-05-21 Dmitry V. Levin <ldv@altlinux.org>
18543
18544 [BZ #15339]
18545 * posix/tst-getaddrinfo4.c: New test.
18546 * posix/Makefile (tests): Add it.
18547
3d04f5db
SP
185482013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18549
18550 [BZ #15339]
18551 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
18552 when no services were used.
18553 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
18554 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
18555
d5dd6189
AS
185562013-05-21 Andreas Schwab <schwab@suse.de>
18557
18558 [BZ #15014]
18559 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
18560 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
18561 successful.
18562 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
18563 redundant variable declarations and reallocation of buffer when
18564 parsing as IPv6 address. Always set NSS status when called from
18565 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
18566 buffer too small. Correct computation of needed size.
18567 * nss/Makefile (tests): Add test-digits-dots.
18568 * nss/test-digits-dots.c: New test.
18569
fef94eab
SP
185702013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18571
18572 * benchtests/Makefile: Remove instructions for adding
18573 benchmark tests.
18574 * benchtests/README: New file to explain how to execute and
18575 enhance the benchmark tests.
18576
e39adf43
AS
185772013-05-21 Andreas Schwab <schwab@suse.de>
18578
18579 [BZ #15493]
18580 * setjmp/Makefile (tests): Add tst-sigsetjmp.
18581 * setjmp/tst-sigsetjmp.c: New test.
18582
b2b671b6
OB
185832013-05-20 Ondřej Bílka <neleai@seznam.cz>
18584
18585 * sysdeps/x86_64/memset.S (memset): New implementation.
18586 (__bzero): Likewise.
18587 (__memset_tail): New function.
18588
2d48b41c
OB
185892013-05-20 Ondřej Bílka <neleai@seznam.cz>
18590
18591 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
18592 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
18593 __memcpy_sse2_unaligned ifunc selection.
18594 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18595 Add memcpy-sse2-unaligned.S.
18596 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18597 Add: __memcpy_sse2_unaligned.
18598
f16cc3eb
JM
185992013-05-19 Joseph Myers <joseph@codesourcery.com>
18600
3e694268
JM
18601 [BZ #15490]
18602 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18603 math_force_eval before restoring floating-point envrionment.
18604 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
18605 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
18606 Likewise.
18607 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
18608 <math_private.h>.
18609 (__nearbyintl): Use math_force_eval before restoring
18610 floating-point environment.
18611 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
18612
db62a907
JM
18613 * math/gen-libm-test.pl (special_functions): Remove.
18614 (parse_args): Don't handle TEST_extra. Handle functions with no
18615 return value.
18616 * math/libm-test.inc (struct test_sincos_data): Replace with
18617 struct test_fFF_11_data.
18618 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
18619 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
18620 (sincos_test_data): Change element type to struct
18621 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
18622 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
18623 RUN_TEST_LOOP_sincos.
18624 * math/README.libm-test: Don't mention special handling of
18625 individual functions.
18626 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
18627 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18628 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18629 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18630 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18632
f16cc3eb
JM
18633 * math/gen-libm-test.pl (get_variable): Remove function.
18634 (parse_args): Don't show pointer parameters to call in test
18635 names. Use "extra output N" in test names for extra outputs
18636 rather than naming variables.
18637
3779b5b6
JM
186382013-05-18 Joseph Myers <joseph@codesourcery.com>
18639
2ee094ff
JM
18640 [BZ #15488]
18641 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
18642 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
18643 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
18644 double tests.
18645 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
18646 disable.
18647 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
18648 check_long_double.
18649
3779b5b6
JM
18650 * math/gen-libm-test.pl (@tests): Remove variable.
18651 ($count): Likewise.
18652 (new_test): Remove function.
18653 (show_exceptions): New function.
18654 (special_functions): Use show_exceptions instead of new_test.
18655 (parse_args): Likewise.
18656 (generate_testfile): Pass only function name in generated call to
18657 print_max_error or print_complex_max_error.
18658 (get_ulps): Do not handle complex tests specially.
18659 (output_test): Rename to ...
18660 (get_all_ulps_for_test): ... this. Return a string rather than
18661 printing to a file. Require ulps to be present.
18662 (output_ulps): Generate arrays rather than #defines.
18663 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
18664 (struct ulp_data): New type.
18665 (BUILD_COMPLEX_ULP): Remove macro.
18666 (compare_ulp_data): New function.
18667 (find_ulps): Likewise.
18668 (find_test_ulps): Likewise.
18669 (find_function_ulps): Likewise.
18670 (find_complex_function_ulps): Likewise.
18671 (print_max_error): Determine allowed ulps using
18672 find_function_ulps.
18673 (print_complex_max_error): Determine allowed ulps using
18674 find_complex_function_ulps.
18675 (check_float_internal): Determine max ulps using find_test_ulps.
18676 (check_float): Do not take max_ulp parameter. Update call to
18677 check_float_internal.
18678 (check_complex): Likewise.
18679 (check_int): Do not take max_ulp parameter.
18680 (check_long): Likewise.
18681 (check_bool): Likewise.
18682 (check_longlong): Likewise.
18683 (struct test_f_f_data): Remove max_ulp field.
18684 (struct test_ff_f_data): Likewise.
18685 (struct test_ff_f_data_nexttoward): Likewise.
18686 (struct test_fi_f_data): Likewise.
18687 (struct test_fl_f_data): Likewise.
18688 (struct test_if_f_data): Likewise.
18689 (struct test_fff_f_data): Likewise.
18690 (struct test_c_f_data): Likewise.
18691 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
18692 (struct test_fF_f1_data): Likewise.
18693 (struct test_ffI_f1_data): Likewise.
18694 (struct test_c_c_data): Remove max_ulp field.
18695 (struct test_cc_c_data): Likewise.
18696 (struct test_f_i_data): Likewise.
18697 (struct test_ff_i_data): Likewise.
18698 (struct test_f_l_data): Likewise.
18699 (struct test_f_L_data): Likewise.
18700 (struct test_sincos_data): Likewise.
18701 (RUN_TEST_f_f): Do not handle ulps.
18702 (RUN_TEST_LOOP_f_f): Likewise.
18703 (RUN_TEST_2_f): Likewise.
18704 (RUN_TEST_LOOP_2_f): Likewise.
18705 (RUN_TEST_fff_f): Likewise.
18706 (RUN_TEST_LOOP_fff_f): Likewise.
18707 (RUN_TEST_c_f): Likewise.
18708 (RUN_TEST_LOOP_c_f): Likewise.
18709 (RUN_TEST_f_f1): Likewise.
18710 (RUN_TEST_LOOP_f_f1): Likewise.
18711 (RUN_TEST_fF_f1): Likewise.
18712 (RUN_TEST_LOOP_fF_f1): Likewise.
18713 (RUN_TEST_fI_f1): Likewise.
18714 (RUN_TEST_LOOP_fI_f1): Likewise.
18715 (RUN_TEST_ffI_f1): Likewise.
18716 (RUN_TEST_LOOP_ffI_f1): Likewise.
18717 (RUN_TEST_c_c): Likewise.
18718 (RUN_TEST_LOOP_c_c): Likewise.
18719 (RUN_TEST_cc_c): Likewise.
18720 (RUN_TEST_LOOP_cc_c): Likewise.
18721 (RUN_TEST_f_i): Likewise.
18722 (RUN_TEST_LOOP_f_i): Likewise.
18723 (RUN_TEST_f_i_tg): Likewise.
18724 (RUN_TEST_LOOP_f_i_tg): Likewise.
18725 (RUN_TEST_ff_i_tg): Likewise.
18726 (RUN_TEST_LOOP_ff_i_tg): Likewise.
18727 (RUN_TEST_f_b): Likewise.
18728 (RUN_TEST_LOOP_f_b): Likewise.
18729 (RUN_TEST_f_b_tg): Likewise.
18730 (RUN_TEST_LOOP_f_b_tg): Likewise.
18731 (RUN_TEST_f_l): Likewise.
18732 (RUN_TEST_LOOP_f_l): Likewise.
18733 (RUN_TEST_f_L): Likewise.
18734 (RUN_TEST_LOOP_f_L): Likewise.
18735 (RUN_TEST_sincos): Likewise.
18736 (RUN_TEST_LOOP_sincos): Likewise.
18737
8269107f
JM
187382013-05-17 Joseph Myers <joseph@codesourcery.com>
18739
bb38759d
JM
18740 [BZ #15480]
18741 [BZ #15485]
18742 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
18743 main case of finite arguments, set rounding mode to FE_TONEAREST
18744 and discard exceptions.
18745 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
18746 exceptions.
18747 (remainder_tonearest_test_data): New variable.
18748 (remainder_test_tonearest): New function.
18749 (remainder_towardzero_test_data): New variable.
18750 (remainder_test_towardzero): New function.
18751 (remainder_downward_test_data): New variable.
18752 (remainder_test_downward): New function.
18753 (remainder_upward_test_data): New variable.
18754 (remainder_test_upward): New function.
18755 (main): Call the new test functions.
18756
a00bdcf0
JM
18757 * math/libm-test.inc (struct test_f_f1_data): Remove field
18758 extra_init.
18759 (struct test_fF_f1_data): Likewise.
18760 (struct test_ffI_f1_data): Likewise.
18761 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
18762 based on value of EXTRA_EXPECTED.
18763 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18764 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
18765 EXTRA_VAR based on value of EXTRA_EXPECTED.
18766 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18767 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
18768 EXTRA_VAR based on value of EXTRA_EXPECTED.
18769 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18770 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
18771 EXTRA_VAR based on value of EXTRA_EXPECTED.
18772 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18773 * math/gen-libm-test.pl (parse_args): Don't output initializers
18774 for extra output values.
18775
de407f79
JM
18776 * math/libm-test.inc (check_int): Expect result to be exactly
18777 equal to expected value and do not handle ulps.
18778 (check_long): Likewise.
18779 (check_longlong): Likewise.
18780
8269107f
JM
18781 * math/libm-test.inc (ceil_test_data): Test for "inexact"
18782 exceptions.
18783 (cimag_test_data): Likewise.
18784 (conj_test_data): Likewise.
18785 (copysign_test_data): Likewise.
18786 (cproj_test_data): Likewise.
18787 (creal_test_data): Likewise.
18788 (fabs_test_data): Likewise.
18789 (fdim_test_data): Likewise.
18790 (finite_test_data): Likewise.
18791 (floor_test_data): Likewise.
18792 (fmax_test_data): Likewise.
18793 (fmin_test_data): Likewise.
18794 (fmod_test_data): Likewise.
18795 (fpclassify_test_data): Likewise.
18796 (frexp_test_data): Likewise.
18797 (ilogb_test_data): Likewise.
18798 (isfinite_test_data): Likewise.
18799 (isgreater_test_data): Likewise.
18800 (isgreaterequal_test_data): Likewise.
18801 (isinf_test_data): Likewise.
18802 (isless_test_data): Likewise.
18803 (islessequal_test_data): Likewise.
18804 (islessgreater_test_data): Likewise.
18805 (isnan_test_data): Likewise.
18806 (isnormal_test_data): Likewise.
18807 (issignaling_test_data): Likewise.
18808 (isunordered_test_data): Likewise.
18809 (ldexp_test_data): Likewise.
18810 (lrint_test_data): Likewise.
18811 (lrint_test_data) [TEST_FLOAT]: Disable one test.
18812 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
18813 (lrint_tonearest_test_data): Test for "inexact" exceptions.
18814 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18815 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
18816 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18817 test input.
18818 (lrint_towardzero_test_data): Test for "inexact" exceptions.
18819 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18820 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
18821 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
18822 that test input.
18823 (lrint_downward_test_data): Test for "inexact" exceptions.
18824 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18825 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
18826 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18827 test input.
18828 (lrint_upward_test_data): Test for "inexact" exceptions.
18829 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
18830 test input.
18831 (llrint_test_data): Test for "inexact" exceptions.
18832 (llrint_test_data) [TEST_FLOAT]: Disable one test.
18833 (llrint_tonearest_test_data): Test for "inexact" exceptions.
18834 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18835 (llrint_towardzero_test_data): Test for "inexact" exceptions.
18836 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18837 (llrint_downward_test_data): Test for "inexact" exceptions.
18838 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18839 (llrint_upward_test_data): Test for "inexact" exceptions.
18840 (logb_test_data): Likewise.
18841 (logb_downward_test_data): Likewise.
18842 (nextafter_test_data): Likewise.
18843 (nexttoward_test_data): Likewise.
18844 (remainder_test_data): Likewise.
18845 (remquo_test_data): Likewise.
18846 (scalbn_test_data): Likewise.
18847 (scalbln_test_data): Likewise.
18848 (signbit_test_data): Likewise.
18849 (sqrt_test_data): Likewise.
18850 (significand_test_data): Likewise.
18851
48a18de1
SP
188522013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18853
18854 [BZ #15424]
18855 * benchtests/bench-modf.c (struct args): Mark arg0 as
18856 volatile.
18857 * scripts/bench.pl: Mark members of struct args as volatile.
18858
13d3b41a
AZ
188592013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18860
68191c1d 18861 [BZ # 15497]
13d3b41a
AZ
18862 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
18863 negative infinity on POWER6 or lower.
18864 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
18865
2848b105
MR
188662013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
18867
18868 [BZ #15442]
18869 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
18870 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
18871 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
18872 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
18873 (_FP_SETQNAN): New macro.
18874 (_FP_SETQNAN_SEMIRAW): Likewise.
18875 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
18876 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
18877 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
18878 (FP_EXTEND): Use _FP_FRAC_SNANP.
18879 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
18880 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
18881 into account.
18882 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18883 New macro.
18884 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18885 Likewise.
18886
323e5cb7
JM
188872013-05-16 Joseph Myers <joseph@codesourcery.com>
18888
c58b274f
JM
18889 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
18890 with DIVIDE_BY_ZERO_EXCEPTION.
18891 (gamma_test_data): Likewise.
18892 (lgamma_test_data): Likewise.
18893 (log_test_data): Likewise.
18894 (log10_test_data): Likewise.
18895 (log2_test_data): Likewise.
18896 (tgamma_test_data): Likewise.
18897
0ab34904
JM
18898 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
18899 (acos_test_tonearest): Likewise.
18900 (acos_test_towardzero): Likewise.
18901 (acos_test_downward): Likewise.
18902 (acos_test_upward): Likewise.
18903 (acosh_test): Likewise.
18904 (asin_test): Likewise.
18905 (asin_test_tonearest): Likewise.
18906 (asin_test_towardzero): Likewise.
18907 (asin_test_downward): Likewise.
18908 (asin_test_upward): Likewise.
18909 (asinh_test): Likewise.
18910 (atan_test): Likewise.
18911 (atanh_test): Likewise.
18912 (atan2_test): Likewise.
18913 (cabs_test): Likewise.
18914 (cacos_test): Likewise.
18915 (cacosh_test): Likewise.
18916 (casin_test): Likewise.
18917 (casinh_test): Likewise.
18918 (catan_test): Likewise.
18919 (catanh_test): Likewise.
18920 (cbrt_test): Likewise.
18921 (ccos_test): Likewise.
18922 (ccosh_test): Likewise.
18923 (cexp_test): Likewise.
18924 (clog_test): Likewise.
18925 (clog10_test): Likewise.
18926 (cos_test): Likewise.
18927 (cos_test_tonearest): Likewise.
18928 (cos_test_towardzero): Likewise.
18929 (cos_test_downward): Likewise.
18930 (cos_test_upward): Likewise.
18931 (cosh_test): Likewise.
18932 (cosh_test_tonearest): Likewise.
18933 (cosh_test_towardzero): Likewise.
18934 (cosh_test_downward): Likewise.
18935 (cosh_test_upward): Likewise.
18936 (cpow_test): Likewise.
18937 (csin_test): Likewise.
18938 (csinh_test): Likewise.
18939 (csqrt_test): Likewise.
18940 (ctan_test): Likewise.
18941 (ctan_test_tonearest): Likewise.
18942 (ctan_test_towardzero): Likewise.
18943 (ctan_test_downward): Likewise.
18944 (ctan_test_upward): Likewise.
18945 (ctanh_test): Likewise.
18946 (ctanh_test_tonearest): Likewise.
18947 (ctanh_test_towardzero): Likewise.
18948 (ctanh_test_downward): Likewise.
18949 (ctanh_test_upward): Likewise.
18950 (erf_test): Likewise.
18951 (erfc_test): Likewise.
18952 (exp_test): Likewise.
18953 (exp_test_tonearest): Likewise.
18954 (exp_test_towardzero): Likewise.
18955 (exp_test_downward): Likewise.
18956 (exp_test_upward): Likewise.
18957 (exp10_test): Likewise.
18958 (exp2_test): Likewise.
18959 (expm1_test): Likewise.
18960 (fmod_test): Likewise.
18961 (gamma_test): Likewise.
18962 (hypot_test): Likewise.
18963 (j0_test): Likewise.
18964 (j1_test): Likewise.
18965 (jn_test): Likewise.
18966 (lgamma_test): Likewise.
18967 (log_test): Likewise.
18968 (log10_test): Likewise.
18969 (log1p_test): Likewise.
18970 (log2_test): Likewise.
18971 (logb_test_downward): Likewise.
18972 (pow_test): Likewise.
18973 (pow_test_tonearest): Likewise.
18974 (pow_test_towardzero): Likewise.
18975 (pow_test_downward): Likewise.
18976 (pow_test_upward): Likewise.
18977 (remainder_test): Likewise.
18978 (remquo_test): Likewise.
18979 (sin_test): Likewise.
18980 (sin_test_tonearest): Likewise.
18981 (sin_test_towardzero): Likewise.
18982 (sin_test_downward): Likewise.
18983 (sin_test_upward): Likewise.
18984 (sincos_test): Likewise.
18985 (sinh_test): Likewise.
18986 (sinh_test_tonearest): Likewise.
18987 (sinh_test_towardzero): Likewise.
18988 (sinh_test_downward): Likewise.
18989 (sinh_test_upward): Likewise.
18990 (sqrt_test): Likewise.
18991 (tan_test): Likewise.
18992 (tan_test_tonearest): Likewise.
18993 (tan_test_towardzero): Likewise.
18994 (tan_test_downward): Likewise.
18995 (tan_test_upward): Likewise.
18996 (tanh_test): Likewise.
18997 (tgamma_test): Likewise.
18998 (y0_test): Likewise.
18999 (y1_test): Likewise.
19000 (yn_test): Likewise.
19001
323e5cb7
JM
19002 * math/gen-libm-test.pl (adjust_arg): Remove function.
19003 (special_function): Remove argument $in_func. Only handle
19004 generating output for tables of tests, not inside functions.
19005 (parse_args): Likewise.
19006 (generate_testfile): Remove variable $in_func. Update call to
19007 parse_args.
19008 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
19009 (MINUS_ZERO_INIT): Rename macro to minus_zero.
19010 (PLUS_INFTY_INIT): Rename macro to plus_infty.
19011 (MINUS_INFTY_INIT): Rename macro to minus_infty.
19012 (QNAN_VALUE_INIT): Rename macro to qnan_value.
19013 (MAX_VALUE_INIT): Rename macro to max_value.
19014 (MIN_VALUE_INIT): Rename macro to min_value.
19015 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
19016 (plus_zero): Remove variable.
19017 (minus_zero): Likewise.
19018 (plus_infty): Likewise.
19019 (minus_infty): Likewise.
19020 (qnan_value): Likewise.
19021 (max_value): Likewise.
19022 (min_value): Likewise.
19023 (min_subnorm_value): Likewise.
19024
e054f494
RA
190252013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19026
19027 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
19028 uint64_t or uint32_t usage.
19029 * crypt/sha256-block.c: Likewise.
19030 * crypt/sha256-crypt.c: Likewise.
19031 * crypt/sha256.c: Likewise.
19032 * crypt/sha512-block.c: Likewise.
19033 * crypt/sha512-crypt.c: Likewise.
19034 * crypt/sha512.c: Likewise.
19035 * debug/backtrace-tst.c: Likewise.
19036 * debug/pcprofiledump.c: Likewise.
19037 * elf/cache.c: Likewise.
19038 * elf/dl-cache.c: Likewise.
19039 * elf/dl-misc.c: Likewise.
19040 * elf/dl-profile.c: Likewise.
19041 * elf/dl-support.c: Likewise.
19042 * elf/ldconfig.c: Likewise.
19043 * elf/sprof.c: Likewise.
19044 * iconv/dummy-repertoire.c: Likewise.
19045 * iconv/iconv_charmap.c: Likewise.
19046 * iconv/skeleton.c: Likewise.
19047 * iconvdata/8bit-generic.c: Likewise.
19048 * iconvdata/cp737.h: Likewise.
19049 * iconvdata/cp775.h: Likewise.
19050 * iconvdata/ibm1008.h: Likewise.
19051 * iconvdata/ibm1025.h: Likewise.
19052 * iconvdata/ibm1046.h: Likewise.
19053 * iconvdata/ibm1097.h: Likewise.
19054 * iconvdata/ibm1112.h: Likewise.
19055 * iconvdata/ibm1122.h: Likewise.
19056 * iconvdata/ibm1123.h: Likewise.
19057 * iconvdata/ibm1124.h: Likewise.
19058 * iconvdata/ibm1129.h: Likewise.
19059 * iconvdata/ibm1130.h: Likewise.
19060 * iconvdata/ibm1132.h: Likewise.
19061 * iconvdata/ibm1133.h: Likewise.
19062 * iconvdata/ibm1137.h: Likewise.
19063 * iconvdata/ibm1140.h: Likewise.
19064 * iconvdata/ibm1141.h: Likewise.
19065 * iconvdata/ibm1142.h: Likewise.
19066 * iconvdata/ibm1143.h: Likewise.
19067 * iconvdata/ibm1144.h: Likewise.
19068 * iconvdata/ibm1145.h: Likewise.
19069 * iconvdata/ibm1146.h: Likewise.
19070 * iconvdata/ibm1147.h: Likewise.
19071 * iconvdata/ibm1148.h: Likewise.
19072 * iconvdata/ibm1149.h: Likewise.
19073 * iconvdata/ibm1153.h: Likewise.
19074 * iconvdata/ibm1154.h: Likewise.
19075 * iconvdata/ibm1155.h: Likewise.
19076 * iconvdata/ibm1156.h: Likewise.
19077 * iconvdata/ibm1157.h: Likewise.
19078 * iconvdata/ibm1158.h: Likewise.
19079 * iconvdata/ibm1160.h: Likewise.
19080 * iconvdata/ibm1161.h: Likewise.
19081 * iconvdata/ibm1162.h: Likewise.
19082 * iconvdata/ibm1163.h: Likewise.
19083 * iconvdata/ibm1164.h: Likewise.
19084 * iconvdata/ibm1166.h: Likewise.
19085 * iconvdata/ibm1167.h: Likewise.
19086 * iconvdata/ibm12712.h: Likewise.
19087 * iconvdata/ibm1390.h: Likewise.
19088 * iconvdata/ibm1399.h: Likewise.
19089 * iconvdata/ibm16804.h: Likewise.
19090 * iconvdata/ibm4517.h: Likewise.
19091 * iconvdata/ibm4899.h: Likewise.
19092 * iconvdata/ibm4909.h: Likewise.
19093 * iconvdata/ibm4971.h: Likewise.
19094 * iconvdata/ibm5347.h: Likewise.
19095 * iconvdata/ibm803.h: Likewise.
19096 * iconvdata/ibm856.h: Likewise.
19097 * iconvdata/ibm901.h: Likewise.
19098 * iconvdata/ibm902.h: Likewise.
19099 * iconvdata/ibm9030.h: Likewise.
19100 * iconvdata/ibm9066.h: Likewise.
19101 * iconvdata/ibm921.h: Likewise.
19102 * iconvdata/ibm922.h: Likewise.
19103 * iconvdata/ibm9448.h: Likewise.
19104 * iconvdata/isiri-3342.h: Likewise.
19105 * iconvdata/jis0201.h: Likewise.
19106 * include/link.h: Likewise.
19107 * include/netdb.h: Likewise.
19108 * inet/check_native.c: Likewise.
19109 * inet/check_pf.c: Likewise.
19110 * inet/getipv4sourcefilter.c: Likewise.
19111 * inet/getnameinfo.c: Likewise.
19112 * inet/getsourcefilter.c: Likewise.
19113 * inet/htonl.c: Likewise.
19114 * inet/setipv4sourcefilter.c: Likewise.
19115 * inet/setsourcefilter.c: Likewise.
19116 * inet/test-inet6_opt.c: Likewise.
19117 * inet/tst-network.c: Likewise.
19118 * locale/C-collate.c: Likewise.
19119 * locale/C-ctype.c: Likewise.
19120 * locale/C-time.c: Likewise.
19121 * locale/C-translit.h: Likewise.
19122 * locale/loadarchive.c: Likewise.
19123 * locale/programs/3level.h: Likewise.
19124 * locale/programs/charmap.c: Likewise.
19125 * locale/programs/charmap.h: Likewise.
19126 * locale/programs/ld-address.c: Likewise.
19127 * locale/programs/ld-collate.c: Likewise.
19128 * locale/programs/ld-ctype.c: Likewise.
19129 * locale/programs/ld-identification.c: Likewise.
19130 * locale/programs/ld-measurement.c: Likewise.
19131 * locale/programs/ld-messages.c: Likewise.
19132 * locale/programs/ld-monetary.c: Likewise.
19133 * locale/programs/ld-name.c: Likewise.
19134 * locale/programs/ld-numeric.c: Likewise.
19135 * locale/programs/ld-paper.c: Likewise.
19136 * locale/programs/ld-telephone.c: Likewise.
19137 * locale/programs/ld-time.c: Likewise.
19138 * locale/programs/linereader.c: Likewise.
19139 * locale/programs/locale.c: Likewise.
19140 * locale/programs/locarchive.c: Likewise.
19141 * locale/programs/locfile.h: Likewise.
19142 * locale/programs/repertoire.c: Likewise.
19143 * locale/programs/simple-hash.c: Likewise.
19144 * locale/programs/simple-hash.h: Likewise.
19145 * malloc/memusage.c: Likewise.
19146 * malloc/memusagestat.c: Likewise.
19147 * nis/nis_defaults.c: Likewise.
19148 * nis/nis_hash.c: Likewise.
19149 * nis/nis_print.c: Likewise.
19150 * nis/nis_xdr.c: Likewise.
19151 * nscd/connections.c: Likewise.
19152 * nscd/hstcache.c: Likewise.
19153 * nscd/nscd_gethst_r.c: Likewise.
19154 * nscd/nscd_getserv_r.c: Likewise.
19155 * nscd/nscd_helper.c: Likewise.
19156 * nscd/servicescache.c: Likewise.
19157 * nss/makedb.c: Likewise.
19158 * nss/nss_db/db-XXX.c: Likewise.
19159 * nss/nss_db/db-initgroups.c: Likewise.
19160 * nss/nss_db/db-netgrp.c: Likewise.
19161 * nss/nss_files/files-network.c: Likewise.
19162 * nss/nss_files/files-parse.c: Likewise.
19163 * posix/bug-regex5.c: Likewise.
19164 * posix/fnmatch_loop.c: Likewise.
19165 * posix/regcomp.c: Likewise.
19166 * posix/regexec.c: Likewise.
19167 * posix/tst-rfc3484-2.c: Likewise.
19168 * posix/tst-rfc3484-3.c: Likewise.
19169 * posix/tst-rfc3484.c: Likewise.
19170 * resolv/nss_dns/dns-canon.c: Likewise.
19171 * resolv/nss_dns/dns-network.c: Likewise.
19172 * resolv/res_init.c: Likewise.
19173 * resolv/res_mkquery.c: Likewise.
19174 * resolv/tst-aton.c: Likewise.
19175 * stdlib/cxa_atexit.c: Likewise.
19176 * stdlib/cxa_finalize.c: Likewise.
19177 * stdlib/gen-fpioconst.c: Likewise.
19178 * stdlib/strtol_l.c: Likewise.
19179 * string/tst-endian.c: Likewise.
19180 * sunrpc/auth_des.c: Likewise.
19181 * sunrpc/clnt_udp.c: Likewise.
19182 * sunrpc/rtime.c: Likewise.
19183 * sunrpc/svcauth_des.c: Likewise.
19184 * sunrpc/xdr.c: Likewise.
19185 * sunrpc/xdr_intXX_t.c: Likewise.
19186 * sunrpc/xdr_rec.c: Likewise.
19187 * sysdeps/generic/ldconfig.h: Likewise.
19188 * sysdeps/generic/ldsodefs.h: Likewise.
19189 * sysdeps/generic/memusage.h: Likewise.
19190 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19191 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
19192 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
19193 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19194 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19195 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19196 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19197 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19198 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19199 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19200 * sysdeps/posix/getaddrinfo.c: Likewise.
19201 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19202 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19203 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19204 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19205 * sysdeps/powerpc/test-gettimebase.c: Likewise.
19206 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19207 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
19208 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
19209 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19210 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
19211 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19212 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19213 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
19214 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
19215 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
19216 * sysdeps/x86_64/dl-tls.h: Likewise.
19217 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
19218 * time/alt_digit.c: Likewise.
19219 * time/era.c: Likewise.
19220 * wcsmbs/tst-c16c32-1.c: Likewise.
19221
8c75f674
JM
192222013-05-16 Joseph Myers <joseph@codesourcery.com>
19223
19224 * math/libm-test.inc (struct test_sincos_data): New type.
19225 (RUN_TEST_LOOP_sincos): New macro.
19226 (sincos_test_data): New variable.
19227 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19228
e6e49e59
RH
192292013-05-16 Richard Henderson <rth@redhat.com>
19230
19231 * math/atest-exp2.c (LIMB64): New macro.
19232 (CONSTSZ): New macro.
19233 (mp_exp1, mp_exp_m1, mp_log2): New variables.
19234 (hexdig): Move ...
19235 (print_mpn_fp): ... to function scope.
19236 (read_mpn_hex): Remove.
19237 (get_log2): Remove.
19238 (exp2_mpn): Use mp_log2.
19239 (main): Use mp_exp1.
19240
15c7c18d
JM
192412013-05-16 Joseph Myers <joseph@codesourcery.com>
19242
105a07df
JM
19243 * math/libm-test.inc: Remove comment about not testing "inexact"
19244 exceptions.
19245 (INEXACT_EXCEPTION): New macro.
19246 (NO_INEXACT_EXCEPTION): Likewise.
19247 (INVALID_EXCEPTION_OK): Update value.
19248 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19249 (OVERFLOW_EXCEPTION_OK): Likewise.
19250 (UNDERFLOW_EXCEPTION_OK): Likewise.
19251 (IGNORE_ZERO_INF_SIGN): Likewise.
19252 (ERRNO_UNCHANGED): Likewise.
19253 (ERRNO_EDOM): Likewise.
19254 (ERRNO_ERANGE): Likewise.
19255 (test_exceptions): Handle testing "inexact" exceptions.
19256 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19257 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19258 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19259 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19260 INEXACT_EXCEPTION.
19261 (rint_towardzero_test_data): Likewise.
19262 (rint_downward_test_data): Likewise.
19263 (rint_upward_test_data): Likewise.
19264
e9eee333
JM
19265 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
19266 with OVERFLOW_EXCEPTION.
19267 (exp10_test_data): Likewise.
19268 (exp2_test_data): Likewise.
19269 (expm1_test_data): Likewise.
19270 (lgamma_test_data): Likewise.
19271 (pow_test_data): Likewise.
19272 (tgamma_test_data): Likewise.
19273 (yn_test_data): Remove duplicate test of overflow.
19274
1c38ff73
JM
19275 * math/libm-test.inc (struct test_cc_c_data): New type.
19276 (RUN_TEST_LOOP_cc_c): New macro.
19277 (cpow_test_data): New variable.
19278 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
19279
15c7c18d
JM
19280 * math/libm-test.inc (struct test_f_L_data): New type.
19281 (RUN_TEST_LOOP_f_L): New macro.
19282 (llrint_test_data): New variable.
19283 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
19284 (llrint_tonearest_test_data): New variable.
19285 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
19286 (llrint_towardzero_test_data): New variable.
19287 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
19288 (llrint_downward_test_data): New variable.
19289 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
19290 (llrint_upward_test_data): New variable.
19291 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
19292 (llround_test_data): New variable.
19293 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
19294
f137ff13
PC
192952013-05-13 Peter Collingbourne <pcc@google.com>
19296
19297 * math/atest-exp2.c (get_log2): Remove const attribute.
19298
3608cb24
JM
192992013-05-15 Joseph Myers <joseph@codesourcery.com>
19300
19301 * math/libm-test.inc (struct test_f_l_data): New type.
19302 (RUN_TEST_LOOP_f_l): New macro.
19303 (lrint_test_data): New variable.
19304 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
19305 (lrint_tonearest_test_data): New variable.
19306 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
19307 (lrint_towardzero_test_data): New variable.
19308 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
19309 (lrint_downward_test_data): New variable.
19310 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
19311 (lrint_upward_test_data): New variable.
19312 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
19313 (lround_test_data): New variable.
19314 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
19315
39b1f617
PC
193162013-05-15 Peter Collingbourne <pcc@google.com>
19317
1deff3dc
PC
19318 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
19319 (EXTRACT_WORDS64) Use where appropriate.
19320 (INSERT_WORDS64) Likewise.
19321
791f3ba0
PC
19322 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
19323 constraints with x constraints.
19324 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
19325
39b1f617
PC
19326 * malloc/obstack.c (_obstack_compat): Add initializer.
19327
12fba011
EM
193282013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
19329
19330 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
19331 si_trapno and add si_addr_lsb to _sifields.sigfault.
19332 (si_trapno): Remove macro.
19333 (si_addr_lsb): Define new macro.
19334 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19335
d369f531
JM
193362013-05-15 Joseph Myers <joseph@codesourcery.com>
19337
b861c6c4
JM
19338 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
19339 instead of TEST_f_l.
19340 (llrint_test_tonearest): Likewise.
19341 (llrint_test_towardzero): Likewise.
19342 (llrint_test_downward): Likewise.
19343 (llrint_test_upward): Likewise.
19344 (llround_test): Likewise.
19345
7abeee12
JM
19346 * math/libm-test.inc (struct test_f_i_data): Add comment.
19347 (RUN_TEST_LOOP_f_b): New macro.
19348 (RUN_TEST_LOOP_f_b_tg): Likewise.
19349 (finite_test_data): New variable.
19350 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
19351 (isfinite_test_data): New variable.
19352 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19353 (isinf_test_data): New variable.
19354 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19355 (isnan_test_data): New variable.
19356 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19357 (isnormal_test_data): New variable.
19358 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19359 (issignaling_test_data): New variable.
19360 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19361 (signbit_test_data): New variable.
19362 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19363
cbe8c4d3
JM
19364 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
19365 with INVALID_EXCEPTION.
19366 (acosh_test_data): Likewise.
19367 (asin_test_data): Likewise.
19368 (atanh_test_data): Likewise.
19369 (fmod_test_data): Likewise.
19370 (log_test_data): Likewise.
19371 (log10_test_data): Likewise.
19372 (log2_test_data): Likewise.
19373 (pow_test_data): Likewise.
19374 (sqrt_test_data): Likewise.
19375 (y0_test_data): Likewise.
19376 (y1_test_data): Likewise.
19377 (yn_test_data): Likewise.
19378
5575c0e5
JM
19379 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
19380 function contents.
19381
d369f531
JM
19382 * math/libm-test.inc (struct test_ff_i_data): New type.
19383 (RUN_TEST_LOOP_ff_i_tg): New macro.
19384 (isgreater_test_data): New variable.
19385 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19386 (isgreaterequal_test_data): New variable.
19387 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19388 (isless_test_data): New variable.
19389 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19390 (islessequal_test_data): New variable.
19391 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19392 (islessgreater_test_data): New variable.
19393 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19394 (isunordered_test_data): New variable.
19395 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19396
781fd748
DM
193972013-05-14 David S. Miller <davem@davemloft.net>
19398
19399 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19400
87aa21df
JM
194012013-05-14 Joseph Myers <joseph@codesourcery.com>
19402
5e908270
JM
19403 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
19404
f71172e5
JM
19405 * math/libm-test.inc (struct test_fF_f1_data): Change type of
19406 extra_test to int.
19407 (struct test_f_i_data): Change type of max_ulp to int.
19408
8cfa635a
JM
19409 * math/libm-test.inc (test_ffI_f1_data): New type.
19410 (RUN_TEST_LOOP_ffI_f1): New macro.
19411 (remquo_test_data): New variable.
19412 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
19413
2bcb36b2
JM
19414 * setjmp/tst-setjmp-fp.c: New file.
19415 * setjmp/Makefile (tests): Add tst-setjmp-fp.
19416 (link-libm): New variable.
19417 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
19418
acbd839a
JM
19419 * math/libm-test.inc (struct test_f_i_data): New type.
19420 (RUN_TEST_LOOP_f_i): New macro.
19421 (RUN_TEST_LOOP_f_i_tg): Likewise.
19422 (fpclassify_test_data): New variable.
19423 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
19424 (ilogb_test_data): New variable.
19425 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
19426
e414d745
JM
19427 * math/libm-test.inc (scalbln_test): Correct function name in END
19428 call.
19429
d9c2a0fd
JM
19430 * math/libm-test.inc (struct test_f_f1_data): Add comment.
19431 (RUN_TEST_LOOP_fI_f1): New macro.
19432 (frexp_test_data): New variable.
19433 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
19434
9dc9095d
JM
19435 * math/libm-test.inc (struct test_fF_f1_data): New type.
19436 (RUN_TEST_LOOP_fF_f1): New macro.
19437 (modf_test_data): New variable.
19438 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
19439
87aa21df
JM
19440 * math/libm-test.inc (struct test_f_f1_data): New type.
19441 (RUN_TEST_LOOP_f_f1): New macro.
19442 (gamma_test_data): New variable.
19443 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19444 (lgamma_test_data): New variable.
19445 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19446
141af660
CD
194472013-05-13 Carlos O'Donell <carlos@redhat.com>
19448
19449 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
19450 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
19451 (main): Comment "tls" pseudo-hwcap.
19452
6d33265c
JM
194532013-05-13 Joseph Myers <joseph@codesourcery.com>
19454
68fc074c
JM
19455 * math/libm-test.inc (struct test_fl_f_data): New type.
19456 (RUN_TEST_LOOP_fl_f): New variable.
19457 (scalbln_test_data): New variable.
19458 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
19459
243216e1
JM
19460 * math/libm-test.inc (struct test_fi_f_data): New type.
19461 (RUN_TEST_LOOP_fi_f): New macro.
19462 (ldexp_test_data): New variable.
19463 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
19464 (scalbn_test_data): New variable.
19465 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
19466
6a1992e2
JM
19467 * math/libm-test.inc (struct test_c_f_data): New type.
19468 (RUN_TEST_LOOP_c_f): New macro.
19469 (cabs_test_data): New variable.
19470 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
19471 (carg_test_data): New variable.
19472 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
19473 (cimag_test_data): New variable.
19474 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
19475 (creal_test_data): New variable.
19476 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
19477
0e400df5
JM
19478 * math/libm-test.inc (struct test_if_f_data): New type.
19479 (RUN_TEST_LOOP_if_f): New macro.
19480 (jn_test_data): New variable.
19481 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
19482 (yn_test_data): New variable.
19483 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
19484
6d33265c
JM
19485 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
19486
f98ece5f
AZ
194872013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19488
19489 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
19490 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
19491
0f7d347b
SP
194922013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19493
43fe811b
SP
19494 * benchtests/Makefile (CPPFLAGS-nonlib): Add
19495 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
19496 (bench-deps): Add bench-timing.h.
19497 * benchtests-bench-skeleton.c: Include bench-timing.h.
19498 (main): Use TIMING_* macros instead of clock_gettime.
19499 * benchtests/bench-timing.h: New file.
19500
0f7d347b
SP
19501 [BZ #14582]
19502 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
19503 Renamed from _LIB_VERSION.
19504 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
19505
601a3a5f
JM
195062013-05-12 Joseph Myers <joseph@codesourcery.com>
19507
4f184d30
JM
19508 * math/libm-test.inc (struct test_fff_f_data): New type.
19509 (RUN_TEST_LOOP_fff_f): New macro.
19510 (fma_test_data): New variable.
19511 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
19512 (fma_towardzero_test_data): New variable.
19513 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
19514 (fma_downward_test_data): New variable.
19515 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
19516 (fma_upward_test_data): New variable.
19517 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
19518
08198877
JM
19519 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
19520 (struct test_c_c_data): New type.
19521 (RUN_TEST_LOOP_c_c): New macro.
19522 (cacos_test_data): New variable.
19523 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
19524 (cacosh_test_data): New variable.
19525 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
19526 (casin_test_data): New variable.
19527 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
19528 (casinh_test_data): New variable.
19529 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
19530 (catan_test_data): New variable.
19531 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
19532 (catanh_test_data): New variable.
19533 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
19534 (ccos_test_data): New variable.
19535 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
19536 (ccosh_test_data): New variable.
19537 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
19538 (cexp_test_data): New variable.
19539 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
19540 (clog_test_data): New variable.
19541 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
19542 (clog10_test_data): New variable.
19543 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
19544 (conj_test_data): New variable.
19545 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
19546 (cproj_test_data): New variable.
19547 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
19548 (csin_test_data): New variable.
19549 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
19550 (csinh_test_data): New variable.
19551 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
19552 (csqrt_test_data): New variable.
19553 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
19554 (ctan_test_data): New variable.
19555 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
19556 (ctan_tonearest_test_data): New variable.
19557 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19558 (ctan_towardzero_test_data): New variable.
19559 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19560 (ctan_downward_test_data): New variable.
19561 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19562 (ctan_upward_test_data): New variable.
19563 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19564 (ctanh_test_data): New variable.
19565 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
19566 (ctanh_tonearest_test_data): New variable.
19567 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19568 (ctanh_towardzero_test_data): New variable.
19569 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19570 (ctanh_downward_test_data): New variable.
19571 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19572 (ctanh_upward_test_data): New variable.
19573 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19574 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
19575 of BUILD_COMPLEX.
19576
601a3a5f
JM
19577 * math/libm-test.inc (struct test_ff_f_data): New type.
19578 (struct test_ff_f_data_nexttoward): Likewise.
19579 (RUN_TEST_LOOP_2_f): New macro.
19580 (RUN_TEST_LOOP_ff_f): Likewise.
19581 (atan2_test_data): New variable.
19582 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
19583 (copysign_test_data): New variable.
19584 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
19585 (fdim_test_data): New variable.
19586 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
19587 (fmax_test_data): New variable.
19588 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
19589 (fmin_test_data): New variable.
19590 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
19591 (fmod_test_data): New variable.
19592 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
19593 (hypot_test_data): New variable.
19594 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
19595 (nextafter_test_data): New variable.
19596 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
19597 (nexttoward_test_data): New variable.
19598 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
19599 (pow_test_data): New variable.
19600 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
19601 (pow_tonearest_test_data): New variable.
19602 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
19603 (pow_towardzero_test_data): New variable.
19604 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
19605 (pow_downward_test_data): New variable.
19606 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
19607 (pow_upward_test_data): New variable.
19608 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
19609 (remainder_test_data): New variable.
19610 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
19611 (scalb_test_data): New variable.
19612 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
19613 * sysdeps/i386/fpu/libm-test-ulps: Update.
19614
74c57478
JM
196152013-05-11 Joseph Myers <joseph@codesourcery.com>
19616
8329e4da
JM
19617 * math/libm-test.inc (fma_test): Use max_value instead of local
19618 variable fltmax.
19619 (nextafter_test): Likewise.
19620
74c57478
JM
19621 * math/libm-test.inc (acos_towardzero_test_data): New variable.
19622 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19623 (acos_downward_test_data): New variable.
19624 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19625 (acos_upward_test_data): New variable.
19626 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19627 (acosh_test_data): New variable.
19628 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
19629 (asin_test_data): New variable.
19630 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
19631 (asin_tonearest_test_data): New variable.
19632 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19633 (asin_towardzero_test_data): New variable.
19634 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19635 (asin_downward_test_data): New variable.
19636 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19637 (asin_upward_test_data): New variable.
19638 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19639 (asinh_test_data): New variable.
19640 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
19641 (atan_test_data): New variable.
19642 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
19643 (atanh_test_data): New variable.
19644 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
19645 (cbrt_test_data): New variable.
19646 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
19647 (ceil_test_data): New variable.
19648 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
19649 (cos_test_data): New variable.
19650 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
19651 (cos_tonearest_test_data): New variable.
19652 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19653 (cos_towardzero_test_data): New variable.
19654 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19655 (cos_downward_test_data): New variable.
19656 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19657 (cos_upward_test_data): New variable.
19658 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19659 (cosh_test_data): New variable.
19660 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
19661 (cosh_tonearest_test_data): New variable.
19662 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19663 (cosh_towardzero_test_data): New variable.
19664 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19665 (cosh_downward_test_data): New variable.
19666 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19667 (cosh_upward_test_data): New variable.
19668 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19669 (erf_test_data): New variable.
19670 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
19671 (erfc_test_data): New variable.
19672 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
19673 (exp_test_data): New variable.
19674 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
19675 (exp_tonearest_test_data): New variable.
19676 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19677 (exp_towardzero_test_data): New variable.
19678 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19679 (exp_downward_test_data): New variable.
19680 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19681 (exp_upward_test_data): New variable.
19682 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19683 (exp10_test_data): New variable.
19684 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
19685 (exp2_test_data): New variable.
19686 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
19687 (expm1_test_data): New variable.
19688 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
19689 (fabs_test_data): New variable.
19690 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
19691 (floor_test_data): New variable.
19692 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
19693 (j0_test_data): New variable.
19694 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
19695 (j1_test_data): New variable.
19696 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
19697 (log_test_data): New variable.
19698 (log_test): Run tests with RUN_TEST_LOOP_f_f.
19699 (log10_test_data): New variable.
19700 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
19701 (log1p_test_data): New variable.
19702 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
19703 (log2_test_data): New variable.
19704 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
19705 (logb_test_data): New variable.
19706 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
19707 (logb_downward_test_data): New variable.
19708 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19709 (nearbyint_test_data): New variable.
19710 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
19711 (rint_test_data): New variable.
19712 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
19713 (rint_tonearest_test_data): New variable.
19714 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19715 (rint_towardzero_test_data): New variable.
19716 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19717 (rint_downward_test_data): New variable.
19718 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19719 (rint_upward_test_data): New variable.
19720 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19721 (round_test_data): New variable.
19722 (round_test): Run tests with RUN_TEST_LOOP_f_f.
19723 (sin_test_data): New variable.
19724 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
19725 (sin_tonearest_test_data): New variable.
19726 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19727 (sin_towardzero_test_data): New variable.
19728 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19729 (sin_downward_test_data): New variable.
19730 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19731 (sin_upward_test_data): New variable.
19732 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19733 (sinh_test_data): New variable.
19734 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
19735 (sinh_tonearest_test_data): New variable.
19736 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19737 (sinh_towardzero_test_data): New variable.
19738 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19739 (sinh_downward_test_data): New variable.
19740 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19741 (sinh_upward_test_data): New variable.
19742 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19743 (sqrt_test_data): New variable.
19744 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
19745 (tan_test_data): New variable.
19746 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
19747 (tan_tonearest_test_data): New variable.
19748 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19749 (tan_towardzero_test_data): New variable.
19750 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19751 (tan_downward_test_data): New variable.
19752 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19753 (tan_upward_test_data): New variable.
19754 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19755 (tanh_test_data): New variable.
19756 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
19757 (tgamma_test_data): New variable.
19758 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
19759 (trunc_test_data): New variable.
19760 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
19761 (y0_test_data): New variable.
19762 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
19763 (y1_test_data): New variable.
19764 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
19765 (significand_test_data): New variable.
19766 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
19767
7187d844
CG
197682013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
19769
19770 [BZ #12387]
19771 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19772
f63fae73
PT
197732013-05-10 Pino Toscano <toscano.pino@tiscali.it>
19774
19775 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19776
8a67a4b3
AJ
197772013-05-10 Andreas Jaeger <aj@suse.de>
19778
19779 [BZ #15448]
19780 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19781 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19782
51df539d
JM
197832013-05-10 Joseph Myers <joseph@codesourcery.com>
19784
19785 * math/gen-libm-test.pl (adjust_arg): New function.
19786 (special_functions): Handle generating output in both functions
19787 and arrays.
19788 (parse_args): Likewise.
19789 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
19790 $in_func argument to parse_args.
19791 * math/libm-test.inc (struct test_f_f_data): New type.
19792 (IF_ROUND_INIT_): New macro.
19793 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19794 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19795 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19796 (IF_ROUND_INIT_FE_UPWARD): Likewise.
19797 (ROUND_RESTORE_): Likewise.
19798 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
19799 (ROUND_RESTORE_FE_TONEAREST): Likewise.
19800 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19801 (ROUND_RESTORE_FE_UPWARD): Likewise.
19802 (RUN_TEST_LOOP_f_f): New macro.
19803 (acos_test_data): New variable.
19804 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
19805 (acos_tonearest_test_data): New variable.
19806 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19807
5c637fe5
SP
198082013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19809
19810 * benchtests/bench-skeleton.c (startup): Fix coding style.
19811
ab2b9461
JM
198122013-05-10 Joseph Myers <joseph@codesourcery.com>
19813
19814 [BZ #6809]
19815 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
19816 negative infinity argument.
19817 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
19818 negative infinity argument.
19819 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
19820 negative infinity argument.
19821 * math/libm-test.inc (tgamma_test): Expect errno to be set for
19822 domain errors.
19823
4c0fe6fe
FW
198242013-05-10 Florian Weimer <fweimer@redhat.com>
19825
19826 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
19827 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
19828 * iconv/iconv_prog.c (main): Likewise.
19829 * locale/programs/charmap-dir.c (charmap_readdir)
19830 (fopen_uncompressed): Likewise.
19831 * locale/programs/locfile.c (siblings_uncached)
19832 (write_locale_data): Use lstat64 instead of lstat.
19833 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
19834 stat.
19835
a3375d29
AJ
198362013-05-10 Andreas Jaeger <aj@suse.de>
19837
19838 [BZ #15395]
19839 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
19840 localization.
19841 Include <locale.h>.
19842
36129722
CD
198432013-05-09 Carlos O'Donell <carlos@redhat.com>
19844
19845 * elf/dl-close.c (_dl_close_worker): Add comments.
19846
faa7f811
JM
198472013-05-09 Joseph Myers <joseph@codesourcery.com>
19848
ed41ffef
JM
19849 [BZ #15359]
19850 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
19851 high part of pi/2.
19852 (__ieee754_rem_pio2l): Update comments.
19853
d0213cd0
JM
19854 [BZ #15429]
19855 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
19856 high part of pi/2.
19857 (__ieee754_rem_pio2l): Update comments.
19858
0d3e777a
JM
19859 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
19860 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
19861
24f56066
JM
19862 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
19863 M_PI_4l.
19864
faa7f811
JM
19865 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
19866 (M_PI_34_LOG10El): Likewise.
19867 (M_PI2_LOG10El): Likewise.
19868 (M_PI4_LOG10El): Likewise.
19869 (M_PI_LOG10El): Likewise.
19870
e9a5e0fd
AZ
198712013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19872
19873 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19874
d8cd06db
JM
198752013-05-08 Joseph Myers <joseph@codesourcery.com>
19876
a0d9f9d7
JM
19877 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
19878 (MINUS_ZERO_INIT): Likewise.
19879 (PLUS_INFTY_INIT): Likewise.
19880 (MINUS_INFTY_INIT): Likewise.
19881 (QNAN_VALUE_INIT): Likewise.
19882 (MAX_VALUE_INIT): Likewise.
19883 (MIN_VALUE_INIT): Likewise.
19884 (MIN_SUBNORM_VALUE_INIT): Likewise.
19885 (plus_zero): Initialize with PLUS_ZERO_INIT.
19886 (minus_zero): Initialize with MINUS_ZERO_INIT.
19887 (plus_infty): Initialize with PLUS_INFTY_INIT.
19888 (minus_infty): Initialize with MINUS_INFTY_INIT.
19889 (qnan_value): Initialize with QNAN_VALUE_INIT.
19890 (max_value): Initialize with MAX_VALUE_INIT.
19891 (min_value): Initialize with MIN_VALUE_INIT.
19892 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
19893
ae08db3b
JM
19894 * math/libm-test.inc (RUN_TEST_if_f): New macro.
19895 (jn_test): Use TEST_if_f instead of TEST_ff_f.
19896 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
19897 (yn_test): Use TEST_if_f instead of TEST_ff_f.
19898
f44bf14a
JM
19899 * math/libm-test.inc (RUN_TEST_f_f): New macro.
19900 (RUN_TEST_2_f): Likewise.
19901 (RUN_TEST_ff_f): Likewise.
19902 (RUN_TEST_fi_f): Likewise.
19903 (RUN_TEST_fl_f): Likewise.
19904 (RUN_TEST_fff_f): Likewise.
19905 (RUN_TEST_c_f): Likewise.
19906 (RUN_TEST_f_f1): Likewise.
19907 (RUN_TEST_fF_f1): Likewise.
19908 (RUN_TEST_fI_f1): Likewise.
19909 (RUN_TEST_ffI_f1): Likewise.
19910 (RUN_TEST_c_c): Likewise.
19911 (RUN_TEST_cc_c): Likewise.
19912 (RUN_TEST_f_i): Likewise.
19913 (RUN_TEST_f_i_tg): Likewise.
19914 (RUN_TEST_ff_i_tg): Likewise.
19915 (RUN_TEST_f_b): Likewise.
19916 (RUN_TEST_f_b_tg): Likewise.
19917 (RUN_TEST_f_l): Likewise.
19918 (RUN_TEST_f_L): Likewise.
19919 (RUN_TEST_sincos): Likewise.
19920 * math/gen-libm-test.pl (new_test): Take new argument to indicate
19921 whether to show exceptions. Do not include ");\n" in return
19922 value.
19923 (special_functions): Output call to RUN_TEST_sincos instead of
19924 check_float calls. Update calls to new_test.
19925 (parse_args): Output call to single RUN_TEST_* macro instead of
19926 check_* calls and other assignments. Update calls to new_test.
19927
d8cd06db
JM
19928 [BZ #2546]
19929 [BZ #2560]
19930 [BZ #5159]
19931 [BZ #15426]
19932 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
19933 input to result for tgamma overflow.
19934 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
19935 (gamma_coeff): New variable.
19936 (NCOEFF): New macro.
19937 (gamma_positive): New function.
19938 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
19939 underflow here. Use gamma_positive instead of exp (lgamma) for
19940 other arguments.
19941 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
19942 (gamma_coeff): New variable.
19943 (NCOEFF): New macro.
19944 (gammaf_positive): New function.
19945 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
19946 underflow here. Use gamma_positive instead of exp (lgamma) for
19947 other arguments.
19948 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
19949 (gamma_coeff): New variable.
19950 (NCOEFF): New macro.
19951 (gammal_positive): New function.
19952 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
19953 underflow here. Use gamma_positive instead of exp (lgamma) for
19954 other arguments.
19955 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
19956 (gamma_coeff): New variable.
19957 (NCOEFF): New macro.
19958 (gammal_positive): New function.
19959 (__ieee754_gammal_r): Handle positive infinity, overflow and
19960 underflow here. Handle NaN the same as positive infinity. Remove
19961 check x < 0xffffffff for negative integers. Use gamma_positive
19962 instead of exp (lgamma) for other arguments.
19963 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
19964 (gamma_coeff): New variable.
19965 (NCOEFF): New macro.
19966 (gammal_positive): New function.
19967 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
19968 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
19969 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
19970 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
19971 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
19972 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
19973 * sysdeps/generic/math_private.h (__gamma_productf): New
19974 prototype.
19975 (__gamma_product): Likewise.
19976 (__gamma_productl): Likewise.
19977 * math/Makefile (libm-calls): Add gamma_product.
19978 * math/libm-test.inc (tgamma_test): Add more tests.
19979 * sysdeps/i386/fpu/libm-test-ulps: Update.
19980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19981
bb7cf681
OB
199822013-05-08 Ondřej Bílka <neleai@seznam.cz>
19983
19984 * benchtests/bench-skeleton.c (main): Preheat CPU.
19985
ba853947
AJ
199862013-05-07 Aurelien Jarno <aurelien@aurel32.net>
19987
19988 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
19989
8347c74c
RM
199902013-05-07 Roland McGrath <roland@hack.frob.com>
19991
19992 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
19993 and _dl_skip_args_internal.
19994
e8dd4791
CD
199952013-05-07 Carlos O'Donell <carlos@redhat.com>
19996
19997 * manual/message.texi (Message Translation): Talk about users.
19998 Message to key mapping impacts design.
19999
c7405830
RM
200002013-05-06 Roland McGrath <roland@hack.frob.com>
20001
a9173057
RM
20002 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
20003
976e2f03
RM
20004 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
20005
9723ffc5
RM
20006 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
20007 * sysdeps/wordsize-64/glob64.c: ... here.
20008
962e6658
RM
20009 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
20010 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
20011 New macros.
20012
ee586a6d
RM
20013 * debug/getlogin_r_chk.c: Moved to ...
20014 * login/getlogin_r_chk.c: ... here.
20015 * debug/Makefile (routines): Move getlogin_r_chk to ...
20016 * login/Makefile (routines): ... here.
20017 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
20018 * login/Versions (libc: GLIBC_2.4): ... here.
20019
355f9165
RM
20020 * io/poll.c (__poll): Renamed from poll.
20021 Add libc_hidden_def.
20022 (poll): Define as weak alias.
20023
bd9ffde6
RM
20024 * debug/ptsname_r_chk.c: Moved to ...
20025 * login/ptsname_r_chk.c: ... here.
20026 * debug/Makefile (routines): Move ptsname_r_chk to ...
20027 * login/Makefile (routines): ... here.
20028 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
20029 * login/Versions (libc: GLIBC_2.4): ... here.
20030
8fb16a04
RM
20031 * posix/getlogin.c: Moved to ...
20032 * login/getlogin.c: ... here.
20033 * posix/getlogin_r.c: Moved to ...
20034 * login/getlogin_r.c: ... here.
20035 * posix/getlogin_r.c: Moved to ...
20036 * login/getlogin_r.c: ... here.
20037 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
20038 * login/Makefile (routines): ... here.
20039 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
20040 * login/Versions (libc: GLIBC_2.0): ... here.
20041
b99b892f
RM
20042 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
20043 (setrlimit): Define as weak alias.
20044
c7405830
RM
20045 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
20046 Call __ names for open, ftruncate, and close.
20047 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
20048 (truncate): Define as weak alias.
20049
5bf96de5
JM
200502013-05-06 Joseph Myers <joseph@codesourcery.com>
20051
9ea3513c
JM
20052 * math/gen-libm-test.pl (parse_args): Initialize x before each
20053 test of frexp, modf and remquo.
20054
5bf96de5
JM
20055 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
20056 test signgam value.
20057
16e616a7
AZ
200582013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20059
20060 [BZ #15418]
20061 [BZ #15419]
20062 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
20063 internal tests.
20064 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20065
d5e82754
RM
200662013-05-06 Roland McGrath <roland@hack.frob.com>
20067
20068 * elf/dl-writev.h: New file.
20069 * elf/dl-misc.c: Include it.
20070 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
20071 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
20072
a7548d41
JM
200732013-05-04 Joseph Myers <joseph@codesourcery.com>
20074
b7dab1e4
JM
20075 * math/libm-test.inc (noXFails): Remove variable.
20076 (noXPasses): Likewise.
20077 (BUILD_COMPLEX_INT): Remove macro.
20078 (print_screen): Remove xfail argument.
20079 (print_screen_max_error): Likewise.
20080 (update_stats): Likewise.
20081 (print_max_error): Likewise. Update calls to other affected
20082 functions.
20083 (print_complex_max_error): Likewise.
20084 (test_single_exception): Update calls to print_screen.
20085 (test_single_errno): Likewise.
20086 (check_float_internal): Remove xfail argument. Update calls to
20087 other affected functions.
20088 (check_float): Likewise.
20089 (check_complex): Likewise.
20090 (check_int): Likewise.
20091 (check_long): Likewise.
20092 (check_bool): Likewise.
20093 (check_longlong): Likewise.
20094 (main): Don't print noXFails and noXPasses.
20095 * math/gen-libm-test.pl (top level): Don't mention expected
20096 failure handling in comment.
20097 (new_test): Don't handle expected failures.
20098 (parse_args): Don't mention expected failure handling in comment.
20099 (generate_testfile): Don't handle expected failures.
20100 (parse_ulps): Likewise.
20101 (print_ulps_file): Likewise.
20102 (get_failure): Remove function.
20103 (output_test): Don't handle expected failures.
20104 * make/README.libm-test: Don't mention expected failure handling.
20105
a7548d41
JM
20106 * math/libm-test.inc (plus_zero): Make const. Add initializer.
20107 (minus_zero): Likewise.
20108 (plus_infty): Likewise.
20109 (minus_infty): Likewise.
20110 (qnan_value): Likewise.
20111 (max_value): Likewise.
20112 (min_value): Likewise.
20113 (min_subnorm_value): Likewise.
20114 (initialize): Do not initialize those variables dynamically.
20115
60bfd54c
RM
201162013-05-03 Roland McGrath <roland@hack.frob.com>
20117
cc0e6ed8
RM
20118 * io/open.c (__open_2): Moved to ...
20119 * io/open_2.c: ... this new file.
20120 * io/open64.c (__open64_2): Moved to ...
20121 * io/open64_2.c: ... this new file.
20122 * io/openat.c (__openat_2): Moved to ...
20123 * io/openat_2.c: ... this new file.
20124 * io/openat64.c (__openat64_2): Moved to ...
20125 * io/openat64_2.c: ... this new file.
20126 * io/Makefile (routines): Add them.
20127 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
20128 * sysdeps/unix/sysv/linux/open_2.c: File removed.
20129 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
20130 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
20131 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
20132 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
20133 (__openat64): Add hidden_ver.
20134 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
20135 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
20136
60bfd54c
RM
20137 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
20138 Separately conditionalize setting of GLRO(dl_sysinfo) so
20139 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
20140 as well, but the actual setting is only under [NEED_DL_SYSINFO].
20141
83e7640f
AZ
201422013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20143
20144 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
20145 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
20146 definition.
20147 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
20148 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20149 (_libc_vdso_platform_setup): Add __vdso_time initialization.
20150 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
20151 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
20152
d5dc2af3
JM
201532013-05-03 Joseph Myers <joseph@codesourcery.com>
20154
c31a5b1e
JM
20155 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
20156 test signgam value.
20157
d5dc2af3
JM
20158 * math/libm-test.inc (hypot_test): Do not use
20159 IGNORE_ZERO_INF_SIGN.
20160
164fd39d
AJ
201612013-05-03 Andreas Jaeger <aj@suse.de>
20162
20163 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20164 Linux 3.9.
20165 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20166 (PF_MAX): Adjust for VSOCK change.
20167
8237f48c
AZ
201682013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20169
20170 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20171
9df02941
CD
201722013-05-02 Carlos O'Donell <carlos@redhat.com>
20173
20174 [BZ #15264]
20175 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
20176 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
20177 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
20178
d422395e
DM
201792013-05-02 David S. Miller <davem@davemloft.net>
20180
20181 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20182
a07c5731
OB
201832013-05-01 Ondřej Bílka <neleai@seznam.cz>
20184
20185 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20186
1324e37f
RM
201872013-05-01 Roland McGrath <roland@hack.frob.com>
20188
20189 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
20190
0695940b
RS
201912013-05-01 Richard Smith <richard@metafoo.co.uk>
20192
bb5f27ad 20193 [BZ #14952]
0695940b
RS
20194 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
20195 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20196 Use __attribute__ ((__gnu_inline__)).
20197 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20198 Don't use __attribute__ ((__gnu_inline__)).
20199
10de07f5
JM
202002013-05-01 Joseph Myers <joseph@codesourcery.com>
20201
20202 [BZ #15423]
20203 * math/s_catan.c (__catan): Handle small real or imaginary part of
20204 input specially to avoid spurious underflow.
20205 * math/s_catanf.c (__catanf): Likewise.
20206 * math/s_catanh.c (__catanh): Likewise.
20207 * math/s_catanhf.c (__catanhf): Likewise.
20208 * math/s_catanhl.c (__catanhl): Likewise.
20209 * math/s_catanl.c (__catanl): Likewise.
20210 * math/libm-test.inc (catan_test): Add more tests.
20211 (catanh_test): Likewise.
20212 * sysdeps/i386/fpu/libm-test-ulps: Update.
20213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20214
cb4d5414
AZ
202152013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20216
20217 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20218
caf84319
JM
202192013-04-30 Joseph Myers <joseph@codesourcery.com>
20220
20221 [BZ #15416]
20222 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20223 accurately for denominator in atan2.
20224 * math/s_catanf.c (__catanf): Likewise.
20225 * math/s_catanh.c (__catanh): Likewise.
20226 * math/s_catanhf.c (__catanhf): Likewise.
20227 * math/s_catanhl.c (__catanhl): Likewise.
20228 * math/s_catanl.c (__catanl): Likewise.
20229 * math/libm-test.inc (catan_test): Add more tests.
20230 (catanh_test): Likewise.
20231 * sysdeps/i386/fpu/libm-test-ulps: Update.
20232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20233
d569c6ee
SP
202342013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20235
6dbe713d
SP
20236 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20237
f0ee064b
SP
20238 * benchtests/Makefile (bench): Remove slow benchmarks.
20239 * benchtests/atan-inputs: Add slow benchmark inputs.
20240 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20241 (BENCH_FUNC): Accept variant offset.
20242 (VARIANT): Define.
20243 * benchtests/bench-skeleton.c (main): Run benchmark for each
20244 variant.
20245 * benchtests/cos-inputs: Add slow benchmark inputs.
20246 * benchtests/exp-inputs: Likewise.
20247 * benchtests/pow-inputs: Likewise.
20248 * benchtests/sin-inputs: Likewise.
20249 * benchtests/slowatan-inputs: Remove.
20250 * benchtests/slowatan.c: Remove.
20251 * benchtests/slowcos-inputs: Remove.
20252 * benchtests/slowcos.c: Remove.
20253 * benchtests/slowexp-inputs: Remove.
20254 * benchtests/slowexp.c: Remove.
20255 * benchtests/slowpow-inputs: Remove.
20256 * benchtests/slowpow.c: Remove.
20257 * benchtests/slowsin-inputs: Remove.
20258 * benchtests/slowsin.c: Remove.
20259 * benchtests/slowtan-inputs: Remove.
20260 * benchtests/slowtan.c: Remove.
20261 * benchtests/tan-inputs: Add slow benchmark inputs.
20262 * scripts/bench.pl: Parse comments and directives.
20263
d569c6ee
SP
20264 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
20265 in CPPFLAGS.
20266 ($(objpfx)bench-%.c): Remove *-ITER.
20267 * benchtests/bench-modf.c: Remove definition of ITER.
20268 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
20269 (main): Loop for DURATION seconds instead of fixed number of
20270 iterations.
20271 * scripts/bench.pl: Don't expect iterations in parameters.
20272
a6a242fe
RM
202732013-04-29 Roland McGrath <roland@hack.frob.com>
20274
20275 * io/fchdir.c (__fchdir): Renamed from fchdir.
20276 (fchdir): Define as weak alias.
20277
f2da7793
JM
202782013-04-29 Joseph Myers <joseph@codesourcery.com>
20279
20280 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20281 (ERRNO_EDOM): Likewise.
20282 (ERRNO_ERANGE): Likewise.
20283 (noErrnoTests): New variable.
20284 (init_max_error): Set errno to 0.
20285 (test_single_errno): New function.
20286 (test_errno): Likewise.
20287 (check_float_internal): Call test_errno. Set errno to 0.
20288 (check_complex): Refer to errno tests in comment.
20289 (check_int): Call test_errno. Set errno to 0.
20290 (check_long): Likewise.
20291 (check_bool): Likewise.
20292 (check_longlong): Likewise.
20293 (cos_test): Use ERRNO_* flags for errno tests instead of
20294 check_int.
20295 (expm1_test): Likewise.
20296 (fmod_test): Likewise.
20297 (ilogb_test): Likewise.
20298 (lgamma_test): Likewise.
20299 (pow_test): Likewise.
20300 (remainder_test): Likewise.
20301 (sin_test): Likewise.
20302 (tan_test): Likewise.
20303 (yn_test): Likewise.
20304 (initialize): Set errno to 0.
20305 (main): Print number of errno tests.
20306 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
20307
b1a36ceb
AJ
203082013-04-29 Andreas Jaeger <aj@suse.de>
20309
c3ed8088
AJ
20310 [BZ #15084]
20311 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
20312 and RES_USEVC.
20313
f1a24198
AJ
20314 [BZ #15085]
20315 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
20316 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
20317 unimplemented.
20318
9ce3b2cb
AJ
20319 [BZ #15380]
20320 * stdlib/random.c (__initstate): Return NULL if
20321 __initstate fails.
20322
f1a24198 20323 [BZ #15086]
b1a36ceb
AJ
20324 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
20325 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
20326 RES_SNGLKUPREOP.
20327
7e7b6f36
AZ
203282013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20329
20330 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20331
4d14f449
JM
203322013-04-29 Joseph Myers <joseph@codesourcery.com>
20333
20334 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
20335 of individual tests.
20336 (casin_test): Likewise.
20337 (casinh_test): Likewise.
20338
5b4217d7
JM
203392013-04-27 Joseph Myers <joseph@codesourcery.com>
20340
20341 [BZ #15409]
20342 * math/s_catan.c (__catan): Handle arguments with large real or
20343 imaginary part separately without squaring.
20344 * math/s_catanf.c (__catanf): Likewise.
20345 * math/s_catanh.c (__catanh): Likewise.
20346 * math/s_catanhf.c (__catanhf): Likewise.
20347 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20348 and redefine.
20349 (__catanhl): Handle arguments with large real or imaginary part
20350 separately without squaring.
20351 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20352 and redefine.
20353 (__catanl): Handle arguments with large real or imaginary part
20354 separately without squaring.
20355 * math/libm-test.inc (catan_test): Add more tests.
20356 (catanh_test): Likewise.
20357 * sysdeps/i386/fpu/libm-test-ulps: Update.
20358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20359
4220c3ef
AJ
203602013-04-27 Andreas Jaeger <aj@suse.de>
20361
20362 [BZ #15007]
20363 * stdlib/stdlib.h: Update guards for qecvt.
20364 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
20365 <stdlib.h>.
20366
4721b2d1
AM
203672013-04-27 Allan McRae <allan@archlinux.org>
20368
20369 * sysdeps/i386/fpu/libm-test-ulps: Update.
20370
f0302940
JM
203712013-04-26 Joseph Myers <joseph@codesourcery.com>
20372
9457fd95
JM
20373 [BZ #15406]
20374 * math/s_catan.c: Include <float.h>.
20375 (__catan): Ensure underflow exception occurs for underflowed
20376 result.
20377 * math/s_catanf.c: Include <float.h>.
20378 (__catanf): Ensure underflow exception occurs for underflowed
20379 result.
20380 * math/s_catanh.c: Include <float.h>.
20381 (__catanh): Ensure underflow exception occurs for underflowed
20382 result.
20383 * math/s_catanhf.c: Include <float.h>.
20384 (__catanhf): Ensure underflow exception occurs for underflowed
20385 result.
20386 * math/s_catanhl.c: Include <float.h>.
20387 (__catanhl): Ensure underflow exception occurs for underflowed
20388 result.
20389 * math/s_catanl.c: Include <float.h>.
20390 (__catanl): Ensure underflow exception occurs for underflowed
20391 result.
20392 * math/libm-test.inc (catan_test): Add more tests.
20393 (catanh_test): Likewise.
20394
f0302940
JM
20395 [BZ #15405]
20396 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
20397 underflowed result.
20398 * math/s_ccoshf.c (__ccoshf): Likewise.
20399 * math/s_ccoshl.c (__ccoshl): Likewise.
20400 * math/s_csin.c (__csin): Likewise.
20401 * math/s_csinf.c (__csinf): Likewise.
20402 * math/s_csinh.c (__csinh): Likewise.
20403 * math/s_csinhf.c (__csinhf): Likewise.
20404 * math/s_csinhl.c (__csinhl): Likewise.
20405 * math/s_csinl.c (__csinl): Likewise.
20406 * math/libm-test.inc (ccos_test): Add more tests.
20407 (ccosh_test): Likewise.
20408 (csin_test): Likewise.
20409 (csinh_test): Likewise.
20410
aa630f59
AZ
204112013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20412
20413 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
20414 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
20415 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
20416 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
20417 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
20418 powerpc/power5+/fpu folders.
20419 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
20420
20421
1b835983
MT
204222013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
20423
20424 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20425
73709b26
JM
204262013-04-25 Joseph Myers <joseph@codesourcery.com>
20427
20428 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
20429 additions to variable.
20430 [$(config-machine) = x86_64] (modules-names): Likewise.
20431 ($(objpfx)tst-audit3): Remove dependency.
20432 ($(objpfx)tst-audit3.out): Likewise.
20433 ($(objpfx)tst-audit4): Likewise.
20434 ($(objpfx)tst-audit4.out): Likewise.
20435 ($(objpfx)tst-audit5): Likewise.
20436 ($(objpfx)tst-audit5.out): Likewise.
20437 ($(objpfx)tst-audit6): Likewise.
20438 ($(objpfx)tst-audit6.out): Likewise.
20439 ($(objpfx)tst-audit7): Likewise.
20440 ($(objpfx)tst-audit7.out): Likewise.
20441 (tst-audit3-ENV): Remove variable.
20442 (tst-audit4-ENV): Likewise.
20443 (tst-audit5-ENV): Likewise.
20444 (tst-audit6-ENV): Likewise.
20445 (tst-audit7-ENV): Likewise.
20446 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
20447 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
20448 addition to variable.
20449 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
20450 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
20451 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
20452 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
20453 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
20454 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
20455 tst-audit3, tst-audit4 and tst-audit5.
20456 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
20457 tst-audit6 and tst-audit7.
20458 [$(subdir) = elf] (modules-names): Add audit modules for those
20459 tests.
20460 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
20461 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
20462 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
20463 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
20464 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
20465 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
20466 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
20467 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
20468 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
20469 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
20470 [$(subdir) = elf] (tst-audit3-ENV): New variable.
20471 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
20472 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
20473 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
20474 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
20475 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
20476 Likewise.
20477 [$(subdir) = elf && $(config-cflags-avx) = yes]
20478 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
20479 [$(subdir) = elf && $(config-cflags-avx) = yes]
20480 (CFLAGS-tst-auditmod4a.c): Likewise.
20481 [$(subdir) = elf && $(config-cflags-avx) = yes]
20482 (CFLAGS-tst-auditmod4b.c): Likewise.
20483 [$(subdir) = elf && $(config-cflags-avx) = yes]
20484 (CFLAGS-tst-auditmod6b.c): Likewise.
20485 [$(subdir) = elf && $(config-cflags-avx) = yes]
20486 (CFLAGS-tst-auditmod6c.c): Likewise.
20487 [$(subdir) = elf && $(config-cflags-avx) = yes]
20488 (CFLAGS-tst-auditmod7b.c): Likewise.
20489 * elf/tst-audit3.c: Move to ...
20490 * sysdeps/x86_64/tst-audit3.c: ... here.
20491 * elf/tst-audit4.c: Move to ...
20492 * sysdeps/x86_64/tst-audit4.c: ... here.
20493 * elf/tst-audit5.c: Move to ...
20494 * sysdeps/x86_64/tst-audit5.c: ... here.
20495 * elf/tst-audit6.c: Move to ...
20496 * sysdeps/x86_64/tst-audit6.c: ... here.
20497 * elf/tst-audit7.c: Move to ...
20498 * sysdeps/x86_64/tst-audit7.c: ... here.
20499 * elf/tst-auditmod3a.c: Move to ...
20500 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
20501 * elf/tst-auditmod3b.c: Move to ...
20502 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
20503 * elf/tst-auditmod4a.c: Move to ...
20504 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
20505 * elf/tst-auditmod4b.c: Move to ...
20506 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
20507 * elf/tst-auditmod5a.c: Move to ...
20508 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
20509 * elf/tst-auditmod5b.c: Move to ...
20510 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
20511 * elf/tst-auditmod6a.c: Move to ...
20512 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
20513 * elf/tst-auditmod6b.c: Move to ...
20514 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
20515 * elf/tst-auditmod6c.c: Move to ...
20516 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
20517 * elf/tst-auditmod7a.c: Move to ...
20518 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
20519 * elf/tst-auditmod7b.c: Move to ...
20520 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
20521
1ef74943
PP
205222013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
20523
20524 [BZ #15366]
20525 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
20526 define unconditionally.
20527 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
20528 define unconditionally.
20529 (INT8_C, INT16_C, etc.): Likewise.
20530
93fd48c5
MR
205312013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
20532
ae9552cf
MR
20533 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
20534 __ehdr_start with hidden visibility.
20535
93fd48c5
MR
20536 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
20537
418601aa
CD
205382013-04-24 Carlos O'Donell <carlos@redhat.com>
20539
20540 * math/libm-test.inc (cos_test): Use accurate hex constants.
20541 (sincost_test): Likewise.
20542
2f38fbfe
JM
205432013-04-24 Joseph Myers <joseph@codesourcery.com>
20544
5e221800
JM
20545 * math/libm-test.inc (catan_test): Add more tests.
20546 (catanh_test): Likewise.
20547
77f143fd
JM
20548 * math/s_catanf.c (__catanf): Use suffixed floating-point
20549 constants.
20550 * math/s_catanhf.c (__catanhf): Likewise.
20551 * math/s_catanhl.c (__catanhl): Likewise.
20552 * math/s_catanl.c (__catanl): Likewise.
20553
2f38fbfe
JM
20554 [BZ #15394]
20555 * math/s_catan.c (__catan): Calculate imaginary part of result
20556 with log1p not log unless computing log of number close to 0.
20557 * math/s_catanf.c (__catanf): Likewise.
20558 * math/s_catanl.c (__catanl): Likewise.
20559 * math/s_catanh.c (__catanh): Calculate real part of result with
20560 log1p not log unless computing log of number close to 0.
20561 * math/s_catanhf.c (__catanhf): Likewise.
20562 * math/s_catanhl.c (__catanhl): Likewise.
20563 * math/libm-test.inc (catan_test): Add more tests.
20564 (catanh_test): Likewise.
20565 * sysdeps/i386/fpu/libm-test-ulps: Update.
20566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20567
45d69176
SP
205682013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20569
20570 * benchtests/Makefile: Mention files in which fast and slow
20571 paths of math functions are implemented.
20572
87f51853
RM
205732013-04-23 Roland McGrath <roland@hack.frob.com>
20574
20575 * sysdeps/posix/timespec_get.c: New file.
20576
3c026539
AZ
205772013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20578
20579 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
20580 POWER.
20581 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
20582 for POWER.
20583 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
20584 powerpc/power5/fpu folders.
20585 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
20586 * benchtests/Makefile: Add modf testcase.
20587 * benchtests/bench-modf.c: New file: Benchmark test for mo
20588
ff491d14
SP
205892013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
20590
20591 [BZ #14888]
20592 * time/Makefile (tests): Add tst-strptime-whitespace.
20593 * time/strptime_l.c (get_number): Use ISSPACE.
20594 (__strptime_internal): Likewise.
20595 * time/tst-strptime-whitespace.c: New test case.
20596
7ed3f4e8
AS
205972013-04-23 Andreas Schwab <schwab@linux-m68k.org>
20598
20599 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
20600 member.
20601 (_nss_files_init): Set it here.
20602
5c95f7b6
HC
206032013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
20604
20605 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
20606 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
20607 unsigned.
20608
d34c9158
JBG
206092013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
20610
20611 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
20612
2169712d
SP
206132013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20614
20615 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
20616 size just once.
20617
29c5de99
DM
206182013-04-21 David S. Miller <davem@davemloft.net>
20619
20620 * po/ru.po: Update Russion translation from translation project.
20621
ccdad15d
AC
206222013-04-17 Adam Conrad <adconrad@0c3.net>
20623
20624 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
20625 and setfsgid.
20626
0f122b8d
CD
206272013-04-17 Carlos O'Donell <carlos@redhat.com>
20628
5c5b07da 20629 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 20630 * configure: Regenerate.
5c5b07da 20631 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
20632 Add example to error message.
20633 * sysdeps/i386/configure: Regenerate.
20634
037714dd
SP
206352013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20636
20637 * benchtests/Makefile (bench): Add cos, tan, slowcos and
20638 slowtan.
20639 * benchtests/cos-inputs: New file.
20640 * benchtests/slowcos-inputs: New file.
20641 * benchtests/slowcos.c: New file.
20642 * benchtests/slowtan-inputs: New file.
20643 * benchtests/slowtan.c: New file.
20644 * benchtests/tan-inputs: New file.
20645
e913141d
RM
206462013-04-16 Roland McGrath <roland@hack.frob.com>
20647
20648 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
20649 considered kosher.
20650
a2964074
SP
206512013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20652
4856bcd2
SP
20653 * benchtests/Makefile: Include cppflags-iterator.mk to add
20654 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
20655
a2964074
SP
20656 * Makefile.in (bench-clean): New target.
20657 * benchtests/Makefile (bench-clean): Likewise.
20658
9fbf9aca
DH
206592013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
20660
20661 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
20662
207d1e2a
TS
206632013-04-15 Thomas Schwinge <thomas@codesourcery.com>
20664
20665 * stdio-common/tstdiomisc.c: Fix coding-style violation.
20666
306dfba9
AS
206672013-04-15 Andreas Schwab <schwab@suse.de>
20668
20669 * nscd/grpcache.c (cache_addgr): Properly check for short write.
20670 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20671 * nscd/pwdcache.c (cache_addpw): Likewise.
20672 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
20673 more than recsize.
20674
206a6699
SP
206752013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20676
20677 * benchtests/Makefile (bench): Write all output to
20678 bench-out.tmp together.
20679
0582f6b3
AS
206802013-04-15 Andreas Schwab <schwab@suse.de>
20681
20682 * nscd/nscd.c (main): Don't fork again after closing files.
20683
acb4325f
SP
206842013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20685
5cb26d0a
SP
20686 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
20687
acb4325f
SP
20688 * benchtests/Rules (bench-deps): Collect dependencies into a
20689 single variable. Add Makefile to dependencies.
20690 ($(objpfx)bench-%.c): Depend on bench-deps.
20691
47792506
RM
206922013-04-12 Roland McGrath <roland@hack.frob.com>
20693 Xavier Roche <roche+kml2@exalead.com>
20694
20695 [BZ #15361]
20696 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
20697 just that it's a file descriptor.
20698 * manual/llio.texi (Synchronizing AIO Operations): Update description
20699 for EBADF error from aio_fsync.
20700
8fc1bee5
SP
207012013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20702
20703 * Rules (bench): Move target definition...
20704 * benchtests/Makefile: ... here.
20705
aba5e333
CD
207062013-04-11 Carlos O'Donell <carlos@redhat.com>
20707
20708 * math/libm-test.inc (cos_test): Fix PI/2 test.
20709 (sincos_test): Likewise.
20710 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20711 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
20712
273cdee8
AS
207132013-04-11 Andreas Schwab <schwab@suse.de>
20714
6ecec3b6
AS
20715 [BZ #13988]
20716 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
20717 accept exponent character only when digits were seen.
20718 * stdio-common/Makefile (tests): Add bug26.
20719 * stdio-common/bug26.c: New file.
20720
273cdee8
AS
20721 [BZ #14293]
20722 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
20723 non-freeable.
20724
8da491f5
SP
207252013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20726
01dc6df9
SP
20727 * Makeconfig (rtld-prefix): Define built linker prefix.
20728 * Rules (run-bench): Use it.
20729 * math/Makefile (run-regen-ulps): Likewise.
20730
8da491f5
SP
20731 * Rules (bench): Remove eval.
20732
abe7f530
SP
207332013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20734 Roland McGrath <roland@hack.frob.com>
20735 Ondrej Bilka <neleai@seznam.cz>
20736
20737 [BZ #15346]
20738 * time/getdate.c: Include ctype.h and alloca.h.
20739 (__getdate_r): Trim leading and trailing spaces of input.
20740 * time/tst-getdate.c (tests): Add tests with leading and
20741 trailing spaces.
20742
61c23e62
RM
207432013-04-08 Roland McGrath <roland@hack.frob.com>
20744
20745 [BZ #14280]
20746 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
20747 when computing value.
20748
7208a313
CD
207492013-04-06 Carlos O'Donell <carlos@redhat.com>
20750
085b2d41
CD
20751 * math/README.libm-test (How can I generate "libm-test-ulps"?):
20752 Use testrun.sh to run libm tests.
20753
7208a313
CD
20754 [BZ #15309]
20755 * elf/dl-open.c (dl_open_worker): memset all of seen array.
20756
872c0acd
MM
207572013-04-06 Marko Myllynen <myllynen@redhat.com>
20758
20759 [BZ #15264]
20760 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
20761
26510bdd
CD
207622013-04-06 Carlos O'Donell <carlos@redhat.com>
20763
20764 * Makefile.in (regen-ulps): New target.
20765 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
20766 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
20767 [ifneq (no,$(PERL)] (regen-ulps): New target.
20768 [ifeq (no,$(PERL)] (regen-ulps): New target.
20769 * math/libm-test.inc (ulps_file_name): Define.
20770 (output_dir): New variable.
20771 (options): Add "output-dir" option.
20772 (parse_opt): Handle 'o' case.
20773 (main): If output_dir is non-NULL use it as a prefix
20774 otherwise use "".
20775 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20776
a01f19c8
CD
207772013-04-06 Carlos O'Donell <carlos@redhat.com>
20778
20779 [BZ #10060, #10062]
20780 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20781 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20782 fail configure if __sync_val_compare_and_swap is not inlined.
20783 * sysdeps/i386/configure: Regenerate.
20784 * configure.in: Build for i686 when configured for i386.
20785 * configure: Regenerate.
20786 * README: Remove i386 reference.
20787
b7a329a5
CD
207882013-04-06 Carlos O'Donell <carlos@redhat.com>
20789
20790 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20791 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20792
bf0f50df
TS
207932013-04-05 Thomas Schwinge <thomas@codesourcery.com>
20794
ee091edf
TS
20795 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
20796 (lmsnanval): New variables.
20797 (F): Add conversion tests.
20798 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
20799 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
20800
a8b792d6
TS
20801 * stdio-common/tstdiomisc.c (F): Properly collect individual
20802 tests' results.
20803
a1cbf437
TS
20804 [BZ #14686, #15336]
20805 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
20806 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20807 Instead, use input NaN values or generate a qNaN by arithmetic
20808 operation. Also fix bugs to comply with the standard.
20809 * math/libm-test.inc (remainder_test): Add more tests.
20810
8b43a0c9
TS
20811 [BZ #15335, #15342]
20812 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
20813 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
20814 input NaN values or generate a qNaN by arithmetic operation.
20815
d91da4ce
TS
20816 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
20817 unreachable code.
20818
bf0f50df
TS
20819 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
20820 definitions.
20821
05e166c8
JM
208222013-04-03 Joseph Myers <joseph@codesourcery.com>
20823
20824 [BZ #14478]
20825 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
20826 underflowed result.
20827 * math/s_cexpf.c (__cexpf): Likewise.
20828 * math/s_cexpl.c (__cexpl): Likewise.
20829 * math/libm-test.inc (cexp_test): Add more tests.
20830
1cef1b19
AS
208312013-04-03 Andreas Schwab <schwab@suse.de>
20832
20833 [BZ #15330]
20834 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
20835 order arrays from heap if bigger than alloca cutoff.
20836
74d87055
TS
208372013-04-03 Thomas Schwinge <thomas@codesourcery.com>
20838
20839 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
20840 (SNAN_TESTS_double): Refer to GCC PR56831.
20841 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
20842 GCC PR56828.
20843
d755bba4
SP
208442013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20845
90d5d5bb
SP
20846 * Rules (bench): Move bench.out after the run is complete.
20847
73e0cd5d
SP
20848 * Rules (bench): Echo currently running benchmark.
20849
64aabd4b
SP
20850 * benchtests/Makefile (bench): Add atan and slowatan.
20851 * benchtests/atan-inputs: New file.
20852 * benchtests/slowatan-inputs: New file.
20853 * benchtests/slowatan.c: New file.
20854
c871eccd
SP
20855 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
20856 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
20857 its value.
20858
d755bba4
SP
20859 [BZ #15305]
20860 * sysdeps/unix/sysv/linux/kernel-features.h
20861 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
20862 __ASSUME_XFS_RESTRICTED_CHOWN.
20863 * sysdeps/unix/sysv/linux/pathconf.c
20864 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
20865 Save and restore errno.
20866
52ce4860
JM
208672013-04-02 Joseph Myers <joseph@codesourcery.com>
20868
20869 [BZ #15327]
20870 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
20871 arguments using __kernel_casinh.
20872 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
20873 arguments using __kernel_casinhf.
20874 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
20875 arguments using __kernel_casinhl.
20876 * math/libm-test.inc (cacosh_test): Add more tests.
20877 * sysdeps/i386/fpu/libm-test-ulps: Update.
20878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20879
81f311c2
SP
208802013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20881
e7906a47
SP
20882 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
20883 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
20884
92e3664b
SP
20885 * bench/Makefile (bench): Add sin and slowsin.
20886 * benchtests/sin-inputs: New file.
20887 * benchtests/slowsin-inputs: New file.
20888 * benchtests/slowsin.c: New file.
20889
81f311c2
SP
20890 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
20891 (bench): Add slowexp and slowpow.
20892 (exp-ITER): Increase iterations.
20893 (pow-ITER): Likewise.
20894 * benchtests/exp-inputs: Change input.
20895 * benchtests/pow-inputs: Likewise.
20896 * benchtests/slowexp-inputs: New file.
20897 * benchtests/slowexp.c: New file.
20898 * benchtests/slowpow-inputs: New file.
20899 * benchtests/slowpow.c: New file.
20900
ab0f1aa9
AZ
209012013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20902
20903 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
20904 instructions.
20905 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20906 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
20907 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20908 * benchtests/Makefile: Add rint benchtest.
20909 * benchtests/rint-inputs: Input for rint benchtest.
20910
57267616
TS
209112013-04-02 Thomas Schwinge <thomas@codesourcery.com>
20912
20913 * Versions.def (libm): Add GLIBC_2.18.
20914 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
20915 hidden libm prototypes.
20916 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
20917 * math/Makefile (libm-calls): Add s_issignaling.
20918 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
20919 __issignalingf, __issignalingl. Adjust all libm.abilist files.
20920 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
20921 declaration.
20922 * math/math.h [__USE_GNU] (issignaling): New macro.
20923 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
20924 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
20925 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
20926 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
20927 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
20928 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
20929 * manual/arith.texi (issignaling): New section.
20930 * manual/libm-err-tab.pl (@all_functions): Update comment.
20931 * math/gen-libm-test.pl (parse_args): Apply special handling for
20932 issignaling.
20933 * math/libm-test.inc (print_float, issignaling_test): New
20934 functions.
20935 (check_float_internal): Add issignaling checks.
20936 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
20937 default definition.
20938 * sysdeps/powerpc/math-tests.h: New file.
20939 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
20940 tests.
20941 * math/test-snan.c (TEST_FUNC): Likewise.
20942
6142896d
DM
209432013-03-30 David S. Miller <davem@davemloft.net>
20944
20945 * po/de.po: Update from translation team.
20946
ccc8cadf
JM
209472013-03-30 Joseph Myers <joseph@codesourcery.com>
20948
20949 [BZ #10357]
20950 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20951 imaginary part less than 1.0 and real part less than 0.5
20952 specially.
20953 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20954 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20955 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
20956 (cacos_test): Add more tests.
20957 (casin_test): Likewise.
20958 (casinh_test): Likewise.
20959 * sysdeps/i386/fpu/libm-test-ulps: Update.
20960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20961
0f6a8d4b
SP
209622013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20963
0d1029de
SP
20964 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
20965 ONE with its value.
20966
c2d94018
SP
20967 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
20968 (__pow_mp): Replace ONE and MONE with their values.
20969 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20970 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
20971 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20972 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
20973 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20974 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20975
27ec37f1
SP
20976 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
20977
a64d7e0e
SP
20978 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
20979 (__pow_mp): Replace ZERO and MZERO with their values.
20980 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20981 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20982 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20983 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20984 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20985 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
20986 (__sqr): Likewise.
20987
d26dd3eb
SP
20988 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
20989
0f6a8d4b
SP
20990 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
20991
e57b0c61
RM
209922013-03-28 Roland McGrath <roland@hack.frob.com>
20993
20994 * include/stdlib.h [!SHARED] (__call_tls_dtors):
20995 Declare with __attribute__ ((weak)).
20996 * stdlib/exit.c (__libc_atexit) [!SHARED]:
20997 Call __call_tls_dtors only if it's not NULL.
20998
356b3480
RM
209992013-03-28 Roland McGrath <roland@hack.frob.com>
21000
288f7d79
RM
21001 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
21002 didn't do it already, then set _dl_phdr and _dl_phnum based on the
21003 magic __ehdr_start linker symbol if it's defined.
21004 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
21005 them up here if it was already done.
21006
dc0a0263
RM
21007 * elf/dl-support.c (_dl_phdr): Make pointer to const.
21008 (_dl_aux_init): Use const in cast when setting it.
21009 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
21010 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
21011 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
21012
3d3436ae
RM
21013 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
21014 Declare them here.
21015 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
21016 * csu/libc-tls.c: Nor here.
21017 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
21018
356b3480
RM
21019 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
21020 (__libc_message): Never call vsyslog.
21021
b0f1246a
AM
210222013-03-28 Alan Modra <amodra@gmail.com>
21023
21024 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
21025 Define as empty.
21026 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
21027 Likewise.
21028
fbbe2b9a
AZ
210292013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21030
21031 [BZ #15214]
21032 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
21033 underflow.
21034 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21035
1728ab37
SP
210362013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21037
7a86be6e
SP
21038 [BZ #15304]
21039 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21040 Don't add gid passed as argument.
21041
1728ab37
SP
21042 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
21043
3a7182a1
JM
210442013-03-27 Joseph Myers <joseph@codesourcery.com>
21045
21046 [BZ #15307]
21047 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21048 imaginary part between 1.0 and 1.5 and real part less than 0.5
21049 specially.
21050 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21051 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21052 * math/libm-test.inc (cacos_test): Add more tests.
21053 (casin_test): Likewise.
21054 (casinh_test): Likewise.
21055 * sysdeps/i386/fpu/libm-test-ulps: Update.
21056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21057
6f2e90e7
SP
210582013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21059
5739f705
SP
21060 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
21061 constants.
21062 (norm): Likewise.
21063 (denorm): Likewise.
21064 (__dbl_mp): Likewise.
21065 (add_magnitudes): Likewise.
21066 (sub_magnitudes): Likewise.
21067 (__add): Likewise.
21068 (__sub): Likewise.
21069 (__mul): Likewise.
21070 (__sqr): Likewise.
21071 (__inv): Likewise.
21072 (__dvd): Likewise.
21073
e375e83d
SP
21074 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
21075 commented code.
21076 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
21077 (__dubcos): Likewise.
21078 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
21079 (__ieee754_acos): Likewise.
21080 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21081 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
21082 (__exp1): Likewise.
21083 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21084 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21085 (log1): Likewise.
21086 (my_log2): Likewise.
21087 (checkint): Likewise.
21088 * sysdeps/ieee754/dbl-64/e_remainder.c
21089 (__ieee754_remainder): Likewise.
21090 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21091 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21092 (bsloww): Likewise.
21093 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21094
6f2e90e7
SP
21095 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21096 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
21097 MANTISSA_STORE_T to store computations on mantissa. Use
21098 macros for rounding and division.
21099 (denorm): Likewise.
21100 (__dbl_mp): Likewise.
21101 (add_magnitudes): Likewise.
21102 (sub_magnitudes): Likewise.
21103 (__mul): Likewise.
21104 (__sqr): Likewise.
21105 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21106 powers of two in terms of TWOPOW macro.
21107 (mp_no): Make type of mantissa as MANTISSA_T.
21108 [!RADIXI]: Define RADIXI.
21109 [!TWO52]: Define TWO52.
21110 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21111
fce14d4e
AZ
211122013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21113
21114 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
21115 llroundl symbol when building for PPC32.
21116
9ad027fb
MW
211172013-03-24 Mark H Weaver <mhw@netris.org>
21118
21119 * manual/arith.texi (Normalization Functions): Fix prototypes for
21120 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
21121
e42a38dd
AZ
211222013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21123
21124 [BZ #13889]
21125 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
21126 high value to check if expl overflow.
21127 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
21128 to check for underflow and overflow.
21129 * math/libm-test.inc: Add exp test.
21130
2e0fb521
DL
211312013-03-21 Dmitry V. Levin <ldv@altlinux.org>
21132
21133 [BZ #11120]
21134 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
21135 with NOT_IN_libc.
21136
b5784d95
AZ
211372013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21138
21139 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
21140 symbol.
21141
5aa4a1a1
TS
211422013-03-21 Thomas Schwinge <thomas@codesourcery.com>
21143
bdef0be7
TS
21144 * math/gen-libm-test.pl (parse_args, special_functions): Properly
21145 wrap blocks consisting of several statements.
21146
5aa4a1a1
TS
21147 * sysdeps/generic/math-tests.h: New file.
21148 * sysdeps/i386/fpu/math-tests.h: Likewise.
21149 * math/test-snan.c: Include it.
21150 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
21151
98c48fe5
JM
211522013-03-21 Joseph Myers <joseph@codesourcery.com>
21153
21154 [BZ #15285]
21155 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
21156 (__ieee754_j0l): Do not improve calculations using cos of twice
21157 input for inputs above LDBL_MAX / 2.0L.
21158 (__ieee754_y0l): Likewise.
21159 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21160 (__ieee754_j1l): Do not improve calculations using cos of twice
21161 input for inputs above LDBL_MAX / 2.0L.
21162 (__ieee754_y1l): Likewise.
21163 * math/libm-test.inc (j0_test): Add another test.
21164 (j1_test): Likewise.
21165 (y0_test): Likewise.
21166 (y1_test): Likewise.
21167 * sysdeps/i386/fpu/libm-test-ulps: Update.
21168
3775a8bc
SP
211692013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21170
21171 * Rules ($(objpfx)bench-%.c): Include code from a C source
21172 file.
21173
0a1b2ae6
JM
211742013-03-21 Joseph Myers <joseph@codesourcery.com>
21175
21176 [BZ #15287]
21177 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21178 imaginary part 1.0 and real part less than 0.5 specially.
21179 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21180 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21181 * math/libm-test.inc (cacos_test): Add more tests.
21182 (casin_test): Likewise.
21183 (casinh_test): Likewise.
21184 * sysdeps/i386/fpu/libm-test-ulps: Update.
21185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21186
b33d4ce4
SP
211872013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21188
21189 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
21190 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
21191
bef0b507
JM
211922013-03-20 Joseph Myers <joseph@codesourcery.com>
21193
21194 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
21195 * config.make.in (config-cflags-sse4): Remove variable.
21196 (config-cflags-avx): Likewise.
21197 (config-cflags-sse2avx): Likewise.
21198 (config-cflags-novzeroupper): Likewise.
21199 (config-asflags-i686): Likewise.
21200 (have-mfma4): Likewise.
21201 (have-as-vis3): Likewise.
21202 (MIG): Likewise.
21203 * configure.in (MIG): Do not AC_SUBST.
21204 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
21205 (libc_cv_cc_sse4): Do not AC_SUBST.
21206 (libc_cv_cc_avx): Likewise.
21207 (libc_cv_cc_sse2avx): Likewise.
21208 (libc_cv_cc_novzeroupper): Likewise.
21209 (libc_cv_cc_fma4): Likewise.
21210 (libc_cv_as_i686): Likewise.
21211 (libc_cv_sparc_as_vis3): Likewise.
21212 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
21213 LIBC_CONFIG_VAR.
21214 (config-asflags-i686): Likewise.
21215 (config-cflags-avx): Likewise.
21216 (config-cflags-sse2avx): Likewise.
21217 (have-mfma4): Likewise.
21218 (config-cflags-novzeroupper): Likewise.
21219 * sysdeps/mach/configure.in (MIG): Likewise.
21220 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
21221 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
21222 LIBC_CONFIG_VAR.
21223 (config-cflags-avx): Likewise.
21224 (config-cflags-sse2avx): Likewise.
21225 (have-mfma4): Likewise.
21226 (config-cflags-novzeroupper): Likewise.
21227 * configure: Regenerated.
21228 * sysdeps/i386/configure: Likewise.
21229 * sysdeps/mach/configure: Likewise.
21230 * sysdeps/sparc/configure: Likewise.
21231 * sysdeps/x86_64/configure: Likewise.
21232
912cc4b3
RM
212332013-03-20 Roland McGrath <roland@hack.frob.com>
21234
21235 [BZ #14812]
21236 * locale/programs/localedef.c (options): Put N_ translation marker
21237 on argument names, not just descriptions.
21238
04eed2b0
MS
212392013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21240
21241 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21242
a065ceff
OB
212432013-03-20 Ondřej Bílka <neleai@seznam.cz>
21244
9bb2a810 21245 [BZ #14176]
a065ceff
OB
21246 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21247
a600e5ce
RM
212482013-03-19 Roland McGrath <roland@hack.frob.com>
21249
21250 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21251 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21252 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21253 [!BEFORE_ABORT] (before_abort): New function.
21254 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21255 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21256 (writev_for_fatal): New function.
21257 (WRITEV_FOR_FATAL): New macro; call that.
21258 (backtrace_and_maps): New function.
21259 (BEFORE_ABORT): New macro; call that.
21260 (struct str_list): Type removed.
21261 (__libc_message, __libc_fatal): Functions removed.
21262 Include <sysdeps/posix/libc_fatal.c> instead.
21263
6b18bea6
JM
212642013-03-19 Joseph Myers <joseph@codesourcery.com>
21265
21266 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
21267 constants.
21268 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
21269 double constants.
21270
aaa8cb4b
AS
212712013-03-19 Andreas Schwab <schwab@suse.de>
21272
44673770
AS
21273 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
21274 * sysdeps/gnu/configure: Regenerate.
21275
aaa8cb4b
AS
21276 * configure.in: Substitute libc_cv_rtlddir.
21277 * configure: Regenerate.
21278 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
21279 * Makeconfig (rtlddir, inst_rtlddir): New variables.
21280 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
21281 * elf/Makefile (install-others, CFLAGS-interp.c)
21282 (ldso_install, common-ldd-rewrite): Likewise.
21283 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
21284 $(inst_slibdir)/$(rtld-installed-name).
21285 * scripts/rellns-sh: Add -p option.
21286 * Makerules (make-shlib-link): Use rellns-sh to get relative name
21287 for source.
21288
d3cfc668
SP
212892013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21290
21291 * manual/nptl.texi: Renamed to ...
21292 * manual/threads.texi: ... this.
21293 * manual/Makefile (chapters): Update.
21294
0e2b9cdd
RM
212952013-03-18 Roland McGrath <roland@hack.frob.com>
21296
21297 [BZ #14812]
21298 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
21299 on argument names, not just descriptions.
0e2b9cdd
RM
21300 * malloc/memusagestat.c (options): Likewise.
21301 * nss/getent.c (options): Likewise.
63270c24
RM
21302
213032013-03-18 Benno Schulenberg <bensberg@justemail.net>
21304
21305 [BZ #14812]
21306 * iconv/iconv_prog.c (options): Put N_ translation marker
21307 on argument names, not just descriptions.
21308 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 21309
b2e1393c
OB
213102013-03-18 Ondrej Bilka <neleai@seznam.cz>
21311
21312 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
21313 implementation which is faster on all x86_64 architectures.
21314 Tested on AMD, Intel Nehalem, SNB, IVB.
21315 * sysdeps/x86_64/strnlen.S: Likewise.
21316
21317 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21318 Remove all multiarch strlen and strnlen versions.
21319 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21320 Remove strlen and strnlen related parts.
21321
21322 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
21323 Inline strlen part.
21324 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21325
21326 * sysdeps/x86_64/multiarch/strlen.S: Remove.
21327 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
21328 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
21329 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
21330 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21331 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
21332
ec4ff04d
CD
213332013-03-17 Carlos O'Donell <carlos@redhat.com>
21334
21335 * manual/memory.texi (Malloc Tunable Parameters):
21336 Sort parameters alphabetically. Add comments for missing entries.
21337
cd18e90a
DM
213382013-03-17 David S. Miller <davem@davemloft.net>
21339
21340 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21341
2a185d32
JM
213422013-03-16 Joseph Myers <joseph@codesourcery.com>
21343
d2f9799e
JM
21344 [BZ #15283]
21345 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
21346 for arguments at most half maximum finite value.
21347 * math/libm-test.inc (j0_test): Add more tests.
21348 (j1_test): Likewise.
21349 (y0_test): Likewise.
21350 (y1_test): Likewise.
21351 * sysdeps/i386/fpu/libm-test-ulps: Update.
21352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21353
2a185d32
JM
21354 [BZ #14155]
21355 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
21356 1 / x and functions P and Q for arguments above 0x1p256L.
21357 (__ieee754_y0l): Likewise.
21358 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21359 (__ieee754_y1l): Likewise.
21360 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
21361 (j1_test): Likewise.
21362 (y0_test): Likewise.
21363 (y1_test): Likewise.
21364
6cbec759
TS
213652013-03-16 Thomas Schwinge <thomas@codesourcery.com>
21366
21367 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
21368 variable.
21369
bc16e260
RM
213702013-03-15 Roland McGrath <roland@hack.frob.com>
21371
aefc9b8c
RM
21372 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
21373 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
21374 zero since it's initialized to EXEC_PAGESIZE.
21375
bc16e260
RM
21376 * sysdeps/unix/sysv/linux/ldsodefs.h
21377 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
21378 * sysdeps/generic/ldsodefs.h: ... here.
21379
a57da955
TS
213802013-03-15 Thomas Schwinge <thomas@codesourcery.com>
21381
af00a34d
TS
21382 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
21383
495ded2c
TS
21384 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
21385 math/test-snan.c.
21386 * math/test-snan.c: Renamed from
21387 sysdeps/powerpc/fpu/test-powerpc-snan.c.
21388 * math/Makefile (tests): Add test-snan.
21389 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
21390 test-powerpc-snan.
21391
777b0332
TS
21392 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
21393 SUFFIX. Initialize qNaN_var with __builtin_nan family of
21394 functions.
21395 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
21396 __builtin_nan family of functions.
21397 * math/libm-test.inc (initialize): Initialize qnan_value with
21398 __builtin_nan family of functions.
21399 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
21400 Remove variables.
21401 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
21402 Remove functions.
21403 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
21404 storage class. Initialize qNaN_var and sNaN_var with
21405 __builtin_nan and __builtin_nans families of functions,
21406 respectively.
21407
64d063b8
TS
21408 * math/libm-test.inc (acosh_test): Also test with qNaN input.
21409 (sqrt_test): Remove duplicate test with qNaN input.
21410 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
21411 (round_test, signbit_test, significand_test): Note missing +/-Inf
21412 as well as qNaN tests.
21413
67e971f1
TS
21414 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
21415 qNaN_var. Fix a few strings, too.
21416 * math/libm-test.inc (nan_value): Rename to qnan_value.
21417 * math/gen-libm-test.pl (%beautify): Adjust to that.
21418 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
21419 * math/test-misc.c (main): Likewise.
21420 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
21421 to __qnan_bytes, and __qnan_union, respectively.
21422 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
21423 Likewise.
21424 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
21425 and lqnanval, respectively.
21426 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
21427 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
21428 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
21429 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
21430
64487e12
TS
21431 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
21432 * math/test-misc.c (main) [__x86_64__]: Enable test for long
21433 doubles.
21434
e015e27b
TS
21435 * math/test-misc.c (main): Fix copy'n'pastos.
21436 * misc/tst-efgcvt.c (special): Likewise.
21437
a57da955
TS
21438 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
21439 Remove declarations.
21440
1e380345
SP
214412013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21442
21443 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
21444 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
21445 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
21446 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
21447
ef26eece
AZ
214482013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21449
21450 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
21451 macro to return vdso values correctly in IFUNC implementations.
21452 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21453 Optimization by using IFUNC.
21454
8cfdb7e0
SP
214552013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21456 Richard Henderson <rth@redhat.com>
21457 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21458
21459 * Makefile.in (bench): New target.
21460 * NEWS: Mention the benchmark framework.
21461 * Rules (bench): Likewise.
21462 (binaries-bench): Generate binaries for functions to
21463 benchmark.
21464 * benchtests/Makefile: New makefile for benchmark tests.
21465 * benchtests/bench-skeleton.c: New skeleton file for benchmark
21466 programs.
21467 * benchtests/exp-inputs: New input file for EXP function.
21468 * benchtests/pow-inputs: New input file for POW function.
21469 * scripts/bench.pl: New script to generate source files for
21470 benchmark programs.
21471
bcda9880
SP
214722013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21473
d22ca8cd
SP
21474 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21475 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
21476 computations on mantissa. Use macros for rounding and
21477 division.
21478 (denorm): Likewise.
21479 (__dbl_mp): Likewise.
21480 (add_magnitudes): Likewise.
21481 (sub_magnitudes): Likewise.
21482 (__mul): Likewise.
21483 (__sqr): Likewise.
21484 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21485 powers of two in terms of TWOPOW macro.
21486 (mp_no): Make type of mantissa as MANTISSA_T.
21487 [!RADIXI]: Define RADIXI.
21488 [!TWO52]: Define TWO52.
21489 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21490
bcda9880
SP
21491 * manual/nptl.texi (cindex): Modify threads to pthreads.
21492
06d5adfb
JM
214932013-03-15 Joseph Myers <joseph@codesourcery.com>
21494
21495 * sysdeps/x86_64/preconfigure: Regenerated.
21496
41c7328e
JM
214972013-03-14 Joseph Myers <joseph@codesourcery.com>
21498
21499 [BZ #14155]
21500 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
21501 0x1p28 and above.
21502 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
21503 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
21504 0x1p28 and above.
21505 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
21506 * math/libm-test.inc (j0_test): Do not allow one spurious
21507 underflow exception.
21508 (y1_test): Likewise.
21509
e25cfa60
SP
215102013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21511
0409959c
SP
21512 * manual/Makefile (chapters): Add nptl.
21513 * manual/debug.texi (Debugging Support): Add link to Threads
21514 chapter.
21515 * manual/nptl.texi: New file.
21516
e25cfa60
SP
21517 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
21518
58a1335e
PB
215192013-03-14 Petr Baudis <pasky@ucw.cz>
21520
21521 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
21522 for non-NULL pointer before the memory validity test. Pointed
21523 out by Holger Brunck <holger.brunck@keymile.com>.
21524
9dc7c64f
AS
215252013-03-13 Andreas Schwab <schwab@suse.de>
21526
21527 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
21528 instead of .os.
21529
54206aa6
JM
215302013-03-13 Joseph Myers <joseph@codesourcery.com>
21531
21532 * timezone/zic.c: Update from tzcode 2013b.
21533
e98cdb38
CD
215342013-03-12 Carlos O'Donell <carlos@redhat.com>
21535
21536 * manual/install.texi (Configuring and compiling):
21537 Mention i686 and i586.
21538 * INSTALL: Regenerate.
21539
9967e003
RM
215402013-03-12 Roland McGrath <roland@hack.frob.com>
21541
21542 * sysdeps/init_array/elf-init.c: New file.
21543 * csu/elf-init.c
21544 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
21545 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
21546
21547 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
21548 __gmon_start__ as global, but as static with a .preinit_array pointer.
21549 * sysdeps/init_array/gmon-start.c: New file. Use that.
21550 * sysdeps/init_array/crti.S: New file, empty except for comments.
21551 * sysdeps/init_array/crtn.S: Likewise.
21552
e6b5a293 215532013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
21554
21555 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
21556 definining bcopy.
80f844c9
OB
21557 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21558 Remove Prefer_SSE_for_memop.
21559 * sysdeps/x86_64/multiarch/init-arch.h: Remove
21560 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
21561 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
21562 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21563 memset-x86-64.
80f844c9 21564 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 21565 Remove bzero, memset ifunc support.
80f844c9
OB
21566 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
21567 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
21568 * sysdeps/x86_64/multiarch/memset.S: Likewise.
21569 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21570
fb6b0fcb
AS
215712013-03-11 Andreas Schwab <schwab@suse.de>
21572
21573 [BZ #15234]
21574 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
21575 by SHLIB_COMPAT.
21576 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
21577 (GLIBC_2.16): Remove pthread_atfork.
21578
3e6bd4b1
PP
215792013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
21580
21581 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
21582 (ptestcases.h): Likewise.
21583
222d7f00
RM
215842013-03-08 Roland McGrath <roland@hack.frob.com>
21585
21586 * Makeconfig ($(common-objpfx)config.status): Depend on
21587 sysdeps/*/preconfigure{,.in} too.
21588
1ba4f030
JM
215892013-03-08 Joseph Myers <joseph@codesourcery.com>
21590
a222d91a
JM
21591 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
21592 (__free_hook): Use void * instead of __malloc_ptr_t.
21593 (__malloc_hook): Likewise.
21594 (__realloc_hook): Likewise.
21595 (__memalign_hook): Likewise.
21596 (__after_morecore_hook): Likewise.
21597 * malloc/arena.c (save_malloc_hook): Likewise.
21598 (save_free_hook): Likewise.
21599 * malloc/hooks.c (malloc_hook_ini): Likewise.
21600 (realloc_hook_ini): Likewise.
21601 (memalign_hook_ini): Likewise.
21602 * malloc/malloc.c (malloc_hook_ini): Likewise.
21603 (realloc_hook_ini): Likewise.
21604 (memalign_hook_ini): Likewise.
21605 (__free_hook): Likewise.
21606 (__malloc_hook): Likewise.
21607 (__realloc_hook): Likewise.
21608 (__memalign_hook): Likewise.
21609 (__libc_malloc): Likewise.
21610 (__libc_free): Likewise.
21611 (__libc_realloc): Likewise.
21612 (__libc_memalign): Likewise.
21613 (__libc_valloc): Likewise.
21614 (__libc_pvalloc): Likewise.
21615 (__libc_calloc): Likewise.
21616 (__posix_memalign): Likewise.
21617 * malloc/morecore.c (__sbrk): Likewise.
21618 (__default_morecore): Likewise.
21619
5cc45e10
JM
21620 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
21621
dd54b864
JM
21622 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
21623 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
21624 __malloc_ptrdiff_t.
21625
1ba4f030
JM
21626 * malloc/malloc.h (__malloc_size_t): Remove macro.
21627 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
21628 __malloc_size_t.
21629 (old_memalign_hook): Likewise.
21630 (old_realloc_hook): Likewise.
21631 (struct hdr): Likewise.
21632 (flood): Likewise.
21633 (mallochook): Likewise.
21634 (memalignhook): Likewise.
21635 (reallochook): Likewise.
21636 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
21637 (tr_old_realloc_hook): Likewise.
21638 (tr_old_memalign_hook): Likewise.
21639 (tr_mallochook): Likewise.
21640 (tr_reallochook): Likewise.
21641 (tr_memalignhook): Likewise.
21642
edf66e57
AZ
216432013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21644
21645 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
21646 default_ldbl_pack and using as default implementation.
21647 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
21648 implementation.
21649 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
21650 redundant definition.
21651 (ldbl_insert_mantissa): Likewise.
21652 (ldbl_canonicalize): Likewise.
21653 (ldbl_nearbyint): Likewise.
21654 (ldbl_pack): Rename to ldbl_pack_ppc.
21655 (ldbl_unpack): Rename to ldbl_unpack_ppc.
21656 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
21657 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
21658
6d9145d8
SP
216592013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21660
21661 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
21662 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
21663 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
21664 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
21665 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
21666 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
21667 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
21668 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
21669
4dd4e157
AJ
216702013-03-07 Andreas Jaeger <aj@suse.de>
21671
21672 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21673 bits/mman-linux.h.
21674
adbb8027
SP
216752013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21676
ce544b5b
SP
21677 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
21678 Include mpa.h and declare __MPEXP.
21679 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
21680 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21681 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21682 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
21683 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21684 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21685 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
21686
4cc149fd
SP
21687 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
21688 (__slowpow): Use long double EXPL and LOGL functions to
21689 compute POW.
21690 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21691 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21692 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
21693 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21694 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21695 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
21696
e6ebd4a7
SP
21697 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
21698 intermediate variable to calculate exponent.
21699 (__sqr): Likewise.
21700 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21701 Likewise.
21702 (__sqr): Likewise.
21703
82a9811d
SP
21704 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
21705 [!NO__SQR]: Define __sqr.
21706 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
21707 and NO__SQR. Remove all code except __mul and __sqr. Include
21708 sysdeps/ieee754/dbl-64/mpa.c.
21709 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21710
adbb8027
SP
21711 [BZ #12723]
21712 * posix/Makefile (tests): Add tst-pathconf.
21713 * posix/tst-pathconf.c: New test case.
21714 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
21715 _PC_PIPE_BUF.
21716 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
21717
39120df9
PF
217182013-03-06 Patsy Franklin <pfrankli@redhat.com>
21719
21720 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
21721
67525cb8
AJ
217222013-03-06 Andreas Jaeger <aj@suse.de>
21723
664a9ce4
AJ
21724 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
21725 definition via __MAP_ANONYMOUS.
21726
8e39047d
AJ
21727 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
21728 it's not part of Linux headers.
21729
67525cb8
AJ
21730 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
21731 (MAP_HUGE_MASK): Define.
21732
21733 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21734 Define.
21735 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21736 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21737 Define.
21738 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21739 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21740 Define.
21741 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21742 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
21743 Define.
21744 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21745
21746 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
21747 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
21748 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
21749 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
21750 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
21751 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
21752
21753 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21754 Handle f2fs.
21755
21756 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21757 Handle f2fs and efivarfs.
21758
21759 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
21760 f2fs.
21761
21762 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
21763 (EFIVARFS_MAGIC): Add.
21764 (F2FS_LINK_MAX): Add.
21765
e1b42695
PP
217662013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21767
21768 * stdio-common/vfprintf.c: Replace __builtin_expect with
21769 __glibc_unlikely.
21770
2d67d91a
JM
217712013-03-06 Joseph Myers <joseph@codesourcery.com>
21772
21773 [BZ #13550]
21774 * sysdeps/generic/bp-sym.h: Remove file.
21775 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21776 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21777 <bp-sym.h> and <bp-asm.h>.
21778 (__longjmp): Don't use BP_SYM.
21779 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21780 and <bp-asm.h>.
21781 (memcpy): Don't use BP_SYM.
21782 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21783 <bp-sym.h> and <bp-asm.h>.
21784 (memcpy): Don't use BP_SYM.
21785 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21786 <bp-asm.h>.
21787 (memcpy): Don't use BP_SYM.
21788 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21789 <bp-asm.h>.
21790 (memset): Don't use BP_SYM.
21791 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21792 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21793 (__bzero): Don't use BP_SYM.
21794 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21795 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21796 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
21797 <bp-sym.h> and <bp-asm.h>.
21798 (memcmp): Don't use BP_SYM. Remove comment about bounded
21799 pointers.
21800 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
21801 <bp-sym.h> and <bp-asm.h>.
21802 (memcpy): Don't use BP_SYM.
21803 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
21804 <bp-sym.h> and <bp-asm.h>.
21805 (memset): Don't use BP_SYM.
21806 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21807 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21808 (__bzero): Don't use BP_SYM.
21809 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21810 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21811 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
21812 <bp-sym.h> and <bp-asm.h>.
21813 (strncmp): Don't use BP_SYM. Remove comment about bounded
21814 pointers.
21815 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
21816 <bp-sym.h> and <bp-asm.h>.
21817 (memcpy): Don't use BP_SYM.
21818 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
21819 <bp-sym.h> and <bp-asm.h>.
21820 (memset): Don't use BP_SYM.
21821 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21822 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21823 (__bzero): Don't use BP_SYM.
21824 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21825 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21826 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
21827 <bp-sym.h> and <bp-asm.h>.
21828 (__memchr): Don't use BP_SYM.
21829 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
21830 <bp-sym.h> and <bp-asm.h>.
21831 (memcmp): Don't use BP_SYM. Remove comment about bounded
21832 pointers.
21833 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
21834 <bp-sym.h> and <bp-asm.h>.
21835 (memcpy): Don't use BP_SYM.
21836 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
21837 <bp-sym.h> and <bp-asm.h>.
21838 (__mempcpy): Don't use BP_SYM.
21839 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
21840 <bp-sym.h> and <bp-asm.h>.
21841 (__memrchr): Don't use BP_SYM.
21842 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
21843 <bp-sym.h> and <bp-asm.h>.
21844 (memset): Don't use BP_SYM.
21845 (__bzero): Likewise.
21846 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
21847 <bp-sym.h> and <bp-asm.h>.
21848 (__rawmemchr): Don't use BP_SYM.
21849 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
21850 <bp-sym.h> and <bp-asm.h>.
21851 (__STRCMP): Don't use BP_SYM.
21852 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
21853 <bp-sym.h> and <bp-asm.h>.
21854 (strchr): Don't use BP_SYM.
21855 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
21856 <bp-sym.h> and <bp-asm.h>.
21857 (__strchrnul): Don't use BP_SYM.
21858 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
21859 <bp-sym.h> and <bp-asm.h>.
21860 (strlen): Don't use BP_SYM.
21861 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
21862 <bp-sym.h> and <bp-asm.h>.
21863 (strncmp): Don't use BP_SYM. Remove comment about bounded
21864 pointers.
21865 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
21866 <bp-sym.h> and <bp-asm.h>.
21867 (__strnlen): Don't use BP_SYM.
21868 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
21869 <bp-sym.h> and <bp-asm.h>.
21870 (__GI__setjmp): Don't use BP_SYM.
21871 (_setjmp): Likewise.
21872 (__sigsetjmp): Likewise.
21873 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
21874 (L(start_addresses)): Don't use BP_SYM.
21875 (_start): Likewise.
21876 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
21877 <bp-asm.h>.
21878 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
21879 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
21880 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21881 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21882 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
21883 <bp-asm.h>.
21884 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
21885 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
21886 about bounded pointers.
21887 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21888 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21889 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
21890 <bp-asm.h>.
21891 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21892 about bounded pointers. Remove GKM FIXME comments.
21893 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21894 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
21895 <bp-asm.h>.
21896 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
21897 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
21898 Remove GKM FIXME comments.
21899 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21900 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21901 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
21902 <bp-asm.h>.
21903 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21904 about bounded pointers. Remove GKM FIXME comment.
21905 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
21906 and <bp-asm.h>.
21907 (strncmp): Don't use BP_SYM. Remove comment about bounded
21908 pointers.
21909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
21910 <bp-sym.h> and <bp-asm.h>.
21911 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
21913 <bp-sym.h> and <bp-asm.h>.
21914 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21915 comment.
21916
cdcf361f
PP
219172013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21918
21919 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
21920 call free(NULL).
21921
3c4a2b15
DM
219222013-03-05 David S. Miller <davem@davemloft.net>
21923
21924 * po/es.po: Update from translation team.
21925
cdcf361f 219262013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
21927
21928 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
21929 <bits/mman-linux.h>.
21930 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21931 is fine.
21932 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
21933 <bits/mman-linux.h> to end of file.
21934 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21935 is fine.
21936 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
21937 <bits/mman-linux.h> to end of file.
21938 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21939 is fine.
21940 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
21941 <bits/mman-linux.h> to end of file.
21942
21943 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
21944 (MCL_CURRENT, MCL_FUTURE): Define here.
21945
5f67c04f
AK
219462013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21947
8a4473cc 21948 [BZ #15232]
5f67c04f
AK
21949 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
21950 attribute_hidden.
21951 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21952
c3e94a95
AK
219532013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21954
21955 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
21956 fourth parameter needed for rt_sigprocmask syscall.
21957 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21958 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21959 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
21960 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21961 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21962 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
21963
cfb6382a
JM
219642013-03-04 Joseph Myers <joseph@codesourcery.com>
21965
21966 [BZ #13550]
21967 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
21968 comment about bounded pointers.
21969 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
21970 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
21971
539d8e01
AJ
219722013-03-04 Andreas Jaeger <aj@suse.de>
21973
21974 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
21975 common definitions.
21976
21977 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
21978 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
21979 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
21980 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21981 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
21982 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21983
2e167a70 219842013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
21985
21986 [BZ #15055]
21987 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
21988 __ieee754_sqrl instead of __sqrl.
21989
68508633
JM
219902013-03-01 Joseph Myers <joseph@codesourcery.com>
21991
21992 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
21993 * sysdeps/powerpc/fpu_control.h: ... here.
21994 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
21995 * sysdeps/powerpc/bits/fenvinline.h: ... here.
21996 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
21997 * sysdeps/powerpc/bits/mathinline.h: ... here.
21998
7775448e
RM
219992013-03-01 Roland McGrath <roland@hack.frob.com>
22000
22001 * elf/dl-hwcaps.c (_dl_important_hwcaps):
22002 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
22003 to just [NEED_DL_SYSINFO_DSO].
22004 * elf/dl-support.c: Likewise.
22005 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
22006 * elf/rtld.c (dl_main): Likewise.
22007 * elf/setup-vdso.h (setup_vdso): Likewise.
22008 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
22009 * sysdeps/unix/sysv/linux/dl-sysdep.c
22010 (_dl_discover_osversion): Likewise.
22011
4e9b5995
CD
220122013-03-01 Carlos O'Donell <carlos@redhat.com>
22013
22014 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
22015 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22016
e23872c8
SP
220172013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
22018
e5c74c63
SP
22019 * NEWS: Mention libm performance improvements and non-x86 PI
22020 futex support.
22021
e23872c8
SP
22022 * csu/libc-start.c (__pthread_initialize_minimal): Change
22023 function arguments.
22024 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22025
b5510883
JM
220262013-02-28 Joseph Myers <joseph@codesourcery.com>
22027
22028 [BZ #13550]
22029 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
22030 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
22031 <bp-sym.h> and <bp-asm.h>.
22032 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22033 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
22034 and <bp-asm.h>.
22035 (memcpy): Don't use BP_SYM.
22036 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
22037 <bp-asm.h>.
22038 (__mpn_add_n): Don't use BP_SYM.
22039 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
22040 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
22041 and <bp-asm.h>.
22042 (__mpn_addmul_1): Don't use BP_SYM.
22043 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22044 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
22045 <bp-sym.h>.
22046 (_setjmp): Don't use BP_SYM.
22047 (__novmx_setjmp): Likewise.
22048 (__GI__setjmp): Likewise.
22049 (__vmx_setjmp): Likewise.
22050 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
22051 <bp-sym.h>.
22052 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
22053 (__bzero): Don't use BP_SYM.
22054 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22055 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22056 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
22057 <bp-sym.h> and <bp-asm.h>.
22058 (memcpy): Don't use BP_SYM.
22059 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
22060 <bp-sym.h> and <bp-asm.h>.
22061 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22062 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
22063 <bp-sym.h> and <bp-asm.h>.
22064 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22065 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
22066 <bp-asm.h>.
22067 (__mpn_lshift): Don't use BP_SYM.
22068 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22069 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
22070 <bp-asm.h>.
22071 (memset): Don't use BP_SYM.
22072 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22073 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22074 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
22075 <bp-asm.h>.
22076 (__mpn_mul_1): Don't use BP_SYM.
22077 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22078 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
22079 <bp-sym.h> and <bp-asm.h>.
22080 (memcmp): Don't use BP_SYM.
22081 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
22082 <bp-sym.h> and <bp-asm.h>.
22083 (memcpy): Don't use BP_SYM.
22084 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
22085 <bp-sym.h> and <bp-asm.h>.
22086 (memset): Don't use BP_SYM.
22087 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
22088 <bp-sym.h> and <bp-asm.h>.
22089 (strncmp): Don't use BP_SYM.
22090 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
22091 <bp-sym.h> and <bp-asm.h>.
22092 (memcpy): Don't use BP_SYM.
22093 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
22094 <bp-sym.h> and <bp-asm.h>.
22095 (memset): Don't use BP_SYM.
22096 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
22097 <bp-sym.h> and <bp-asm.h>.
22098 (__memchr): Don't use BP_SYM.
22099 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
22100 <bp-sym.h> and <bp-asm.h>.
22101 (memcmp): Don't use BP_SYM.
22102 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
22103 <bp-sym.h> and <bp-asm.h>.
22104 (memcpy): Don't use BP_SYM.
22105 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
22106 <bp-sym.h> and <bp-asm.h>.
22107 (__mempcpy): Don't use BP_SYM.
22108 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
22109 <bp-sym.h> and <bp-asm.h>.
22110 (__memrchr): Don't use BP_SYM.
22111 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
22112 <bp-sym.h> and <bp-asm.h>.
22113 (memset): Don't use BP_SYM.
22114 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
22115 <bp-sym.h> and <bp-asm.h>.
22116 (__rawmemchr): Don't use BP_SYM.
22117 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
22118 <bp-sym.h> and <bp-asm.h>.
22119 (__STRCMP): Don't use BP_SYM.
22120 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
22121 <bp-sym.h> and <bp-asm.h>.
22122 (strchr): Don't use BP_SYM.
22123 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
22124 <bp-sym.h> and <bp-asm.h>.
22125 (__strchrnul): Don't use BP_SYM.
22126 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
22127 <bp-sym.h> and <bp-asm.h>.
22128 (strlen): Don't use BP_SYM.
22129 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
22130 <bp-sym.h> and <bp-asm.h>.
22131 (strncmp): Don't use BP_SYM.
22132 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
22133 <bp-sym.h> and <bp-asm.h>.
22134 (__strnlen): Don't use BP_SYM.
22135 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
22136 <bp-asm.h>.
22137 (__mpn_rshift): Don't use BP_SYM.
22138 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22139 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
22140 <bp-sym.h> and <bp-asm.h>.
22141 (__sigsetjmp): Don't use BP_SYM.
22142 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
22143 (L(start_addresses)): Don't use BP_SYM.
22144 (_start): Likewise.
22145 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
22146 <bp-asm.h>.
22147 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
22148 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22149 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22150 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
22151 <bp-asm.h>.
22152 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
22153 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22154 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22155 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
22156 <bp-asm.h>.
22157 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22158 comments.
22159 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22160 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22161 <bp-asm.h>.
22162 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
22163 FIXME comments.
22164 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22165 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22166 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22167 <bp-asm.h>.
22168 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22169 comment.
22170 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22171 and <bp-asm.h>.
22172 (strncmp): Don't use BP_SYM,
22173 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22174 <bp-asm.h>.
22175 (__mpn_sub_n): Don't use BP_SYM.
22176 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22177 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
22178 and <bp-asm.h>.
22179 (__mpn_submul_1): Don't use BP_SYM.
22180 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
22182 <bp-sym.h> and <bp-asm.h>.
22183 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
22185 <bp-sym.h> and <bp-asm.h>.
22186 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22187 comment.
22188
8d19fe64
SP
221892013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22190
22191 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
22192 Use ZK to minimize writes to Z.
22193 (sub_magnitudes): Simplify code a bit.
22194 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
22195 Use ZK to minimize writes to Z.
22196 (sub_magnitudes): Simplify code a bit.
22197
85bd816a
RM
221982013-02-27 Roland McGrath <roland@hack.frob.com>
22199
22200 * csu/gmon-start.c: Add special exception to license text.
22201
b5977bf2
RH
222022013-02-27 Richard Henderson <rth@redhat.com>
22203
22204 * scripts/config.guess: Update from config.git.
22205 * scripts/config.sub: Likewise.
22206
11d6e2f2
SP
222072013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22208
09c14ed2
SP
22209 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22210
a688864e
SP
22211 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
22212
6295157a
SP
22213 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
22214
b8de2202
SP
22215 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
22216
11d6e2f2
SP
22217 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22218
7e80ddb8
RM
222192013-02-26 Roland McGrath <roland@hack.frob.com>
22220
22221 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
22222 [$(build-shared = yes].
7e80ddb8 22223
7da6d9ed
SP
222242013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22225
45f05884
SP
22226 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22227 (__mul): Reduce iterations for calculating mantissa.
22228
2236d359
SP
22229 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22230 MPTWO.
22231 (__mpranred): Likewise.
22232
7da6d9ed
SP
22233 [BZ #15160]
22234 * malloc/memusagestat.c (main): Draw graphs for heap and stack
22235 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22236
b7688c42
PE
222372013-02-26 Paul Eggert <eggert@cs.ucla.edu>
22238
22239 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22240 Define __attribute__.
22241
53a5c423
SP
222422013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22243
22244 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22245 unused.
22246 * posix/regex_internal.h (__attribute): Remove.
22247 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22248 (re_string_context_at): Likewise.
22249 (bitset_not): Use __attribute__ and mark function as possibly
22250 unused.
22251 (bitset_merge): Likewise.
22252 (bitset_mask): Likewise.
22253 (re_string_char_size_at): Likewise.
22254 (re_string_wchar_at): Likewise.
22255 (re_string_elem_size_at): Likewise.
22256
60f5a8b5
SP
222572013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22258
2a983a2e
SP
22259 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22260 code.
22261 (cc32): Likewise.
22262
e69804d1
SP
22263 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
22264 (__acr): Likewise.
22265 (__cpy): Likewise.
22266 (norm): Likewise.
22267 (denorm): Likewise.
22268 (__dbl_mp): Likewise.
22269 (add_magnitudes): Likewise.
22270 (sub_magnitudes): Likewise.
22271 (__mul): Likewise.
22272 (__inv): Likewise.
22273
2f22a1e8
SP
22274 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
22275 style.
22276
8930ddc7
SP
22277 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
22278 style.
22279
dc60cb11
SP
22280 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
22281 code.
22282
60f5a8b5
SP
22283 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
22284 up changes with default code.
22285 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
22286 Likewise.
22287
b4d1fd33
AM
222882013-02-24 Allan McRae <allan@archlinux.org>
22289
faf6f8bc
AM
22290 * manual/socket.texi (The Internet Namespace): Order menu items
22291 to match that in the file.
22292
b4d1fd33
AM
22293 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
22294 node listing of the info page menu.
22295
2366713d
JM
222962013-02-21 Joseph Myers <joseph@codesourcery.com>
22297
22298 [BZ #13550]
22299 * sysdeps/i386/bp-asm.h: Remove file.
22300 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22301 (PARMS): Do not use macros from bp-asm.h.
22302 (S1): Likewise.
22303 (S2): Likewise.
22304 (SIZE): Likewise.
22305 (__mpn_add_n): Do not use BP_SYM
22306 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
22307 "bp-asm.h".
22308 (PARMS): Do not use macros from bp-asm.h.
22309 (S1): Likewise.
22310 (SIZE): Likewise.
22311 (__mpn_addmul_1): Do not use BP_SYM
22312 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
22313 "bp-asm.h".
22314 (PARMS): Do not use macros from bp-asm.h.
22315 (SIGMSK): Likewise.
22316 (_setjmp): Likewise. Do not use BP_SYM.
22317 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
22318 "bp-asm.h".
22319 (PARMS): Do not use macros from bp-asm.h.
22320 (SIGMSK): Likewise.
22321 (setjmp): Likewise. Do not use BP_SYM.
22322 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
22323 "bp-asm.h".
22324 (PARMS): Do not use macros from bp-asm.h.
22325 (__frexp): Do not use BP_SYM.
22326 (frexp): Likewise.
22327 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
22328 "bp-asm.h".
22329 (PARMS): Do not use macros from bp-asm.h.
22330 (__frexpf): Do not use BP_SYM.
22331 (frexpf): Likewise.
22332 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
22333 "bp-asm.h".
22334 (PARMS): Do not use macros from bp-asm.h.
22335 (__frexpl): Do not use BP_SYM.
22336 (frexpl): Likewise.
22337 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
22338 "bp-asm.h".
22339 (PARMS): Do not use macros from bp-asm.h.
22340 (__remquo): Do not use BP_SYM.
22341 (remquo): Likewise.
22342 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
22343 "bp-asm.h".
22344 (PARMS): Do not use macros from bp-asm.h.
22345 (__remquof): Do not use BP_SYM.
22346 (remquof): Likewise.
22347 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
22348 "bp-asm.h".
22349 (PARMS): Do not use macros from bp-asm.h.
22350 (__remquol): Do not use BP_SYM.
22351 (remquol): Likewise.
22352 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
22353 "bp-asm.h".
22354 (PARMS): Do not use macros from bp-asm.h.
22355 (DEST): Likewise.
22356 (SRC): Likewise.
22357 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
22358 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
22359 "bp-asm.h".
22360 (PARMS): Do not use macros from bp-asm.h.
22361 (strlen): Do not use BP_SYM.
22362 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
22363 "bp-asm.h".
22364 (PARMS): Do not use macros from bp-asm.h.
22365 (S1): Likewise.
22366 (S2): Likewise.
22367 (SIZE): Likewise.
22368 (__mpn_add_n): Do not use BP_SYM.
22369 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
22370 "bp-asm.h".
22371 (PARMS): Do not use macros from bp-asm.h.
22372 (S1): Likewise.
22373 (SIZE): Likewise.
22374 (__mpn_addmul_1): Do not use BP_SYM.
22375 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
22376 weak_alias.
22377 (bzero): Likewise.
22378 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
22379 "bp-asm.h".
22380 (PARMS): Do not use macros from bp-asm.h.
22381 (S): Likewise.
22382 (SIZE): Likewise.
22383 (__mpn_lshift): Do not use BP_SYM.
22384 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
22385 "bp-asm.h".
22386 (PARMS): Do not use macros from bp-asm.h.
22387 (DEST): Likewise.
22388 (SRC): Likewise.
22389 (LEN): Likewise.
22390 (memcpy): Likewise. Do not use BP_SYM.
22391 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
22392 libc_hidden_def and weak_alias.
22393 (mempcpy): Do not use BP_SYM in weak_alias.
22394 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
22395 "bp-asm.h".
22396 (PARMS): Do not use macros from bp-asm.h.
22397 (DEST): Likewise.
22398 (LEN): Likewise.
22399 [!BZERO_P] (CHR): Likewise.
22400 (memset): Likewise. Do not use BP_SYM.
22401 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
22402 "bp-asm.h".
22403 (PARMS): Do not use macros from bp-asm.h.
22404 (S1): Likewise.
22405 (SIZE): Likewise.
22406 (__mpn_mul_1): Do not use BP_SYM.
22407 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
22408 "bp-asm.h".
22409 (PARMS): Do not use macros from bp-asm.h.
22410 (S): Likewise.
22411 (SIZE): Likewise.
22412 (__mpn_rshift): Do not use BP_SYM.
22413 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
22414 "bp-asm.h".
22415 (PARMS): Do not use macros from bp-asm.h.
22416 (STR): Likewise.
22417 (CHR): Likewise.
22418 (strchr): Likewise. Do not use BP_SYM.
22419 (index): Do not use BP_SYM in weak_alias.
22420 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
22421 "bp-asm.h".
22422 (PARMS): Do not use macros from bp-asm.h.
22423 (DEST): Likewise.
22424 (SRC): Likewise.
22425 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
22426 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
22427 "bp-asm.h".
22428 (PARMS): Do not use macros from bp-asm.h.
22429 (strlen): Do not use BP_SYM.
22430 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
22431 "bp-asm.h".
22432 (PARMS): Do not use macros from bp-asm.h.
22433 (S1): Likewise.
22434 (S2): Likewise.
22435 (SIZE): Likewise.
22436 (__mpn_sub_n): Do not use BP_SYM.
22437 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
22438 "bp-asm.h".
22439 (PARMS): Do not use macros from bp-asm.h.
22440 (S1): Likewise.
22441 (SIZE): Likewise.
22442 (__mpn_submul_1): Do not use BP_SYM.
22443 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
22444 "bp-asm.h".
22445 (PARMS): Do not use macros from bp-asm.h.
22446 (S1): Likewise.
22447 (S2): Likewise.
22448 (SIZE): Likewise.
22449 (__mpn_add_n): Do not use BP_SYM.
22450 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
22451 weak_alias.
22452 (bzero): Likewise.
22453 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
22454 "bp-asm.h".
22455 (PARMS): Do not use macros from bp-asm.h.
22456 (BLK2): Likewise.
22457 (LEN): Likewise.
22458 (memcmp): Do not use BP_SYM.
22459 (bcmp): Do not use BP_SYM in weak_alias.
22460 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
22461 "bp-asm.h".
22462 (PARMS): Do not use macros from bp-asm.h.
22463 (DEST): Likewise.
22464 (SRC): Likewise.
22465 (LEN): Likewise.
22466 (memcpy): Likewise. Do not use BP_SYM.
22467 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
22468 "bp-asm.h".
22469 (PARMS): Do not use macros from bp-asm.h.
22470 (DEST): Likewise.
22471 (SRC): Likewise.
22472 (LEN): Likewise.
22473 (memmove): Likewise. Do not use BP_SYM.
22474 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
22475 "bp-asm.h".
22476 (PARMS): Do not use macros from bp-asm.h.
22477 (DEST): Likewise.
22478 (SRC): Likewise.
22479 (LEN): Likewise.
22480 (__mempcpy): Likewise. Do not use BP_SYM.
22481 (mempcpy): Do not use BP_SYM in weak_alias.
22482 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
22483 "bp-asm.h".
22484 (PARMS): Do not use macros from bp-asm.h.
22485 (DEST): Likewise.
22486 (LEN): Likewise.
22487 [!BZERO_P] (CHR): Likewise.
22488 (memset): Likewise. Do not use BP_SYM.
22489 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
22490 "bp-asm.h".
22491 (PARMS): Do not use macros from bp-asm.h.
22492 (STR2): Likewise.
22493 (strcmp): Do not use BP_SYM.
22494 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
22495 "bp-asm.h".
22496 (PARMS): Do not use macros from bp-asm.h.
22497 (STR): Likewise.
22498 (DELIM): Likewise.
22499 [USE_AS_STRTOK_R] (SAVE): Likewise.
22500 (FUNCTION): Likewise. Do not use BP_SYM.
22501 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
22502 aliases.
22503 (strtok_r): Likewise.
22504 (__GI___strtok_r): Likewise.
22505 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22506 (PARMS): Do not use macros from bp-asm.h.
22507 (S): Likewise.
22508 (SIZE): Likewise.
22509 (__mpn_lshift): Do not use BP_SYM.
22510 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22511 (PARMS): Do not use macros from bp-asm.h.
22512 (STR): Likewise.
22513 (CHR): Likewise.
22514 (__memchr): Do not use BP_SYM.
22515 (memchr): Do not use BP_SYM in weak_alias.
22516 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22517 (PARMS): Do not use macros from bp-asm.h.
22518 (BLK2): Likewise.
22519 (LEN): Likewise.
22520 (memcmp): Do not use BP_SYM.
22521 (bcmp): Do not use BP_SYM in weak_alias.
22522 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
22523 (PARMS): Do not use macros from bp-asm.h.
22524 (S1): Likewise.
22525 (SIZE): Likewise.
22526 (__mpn_mul_1): Do not use BP_SYM.
22527 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
22528 "bp-asm.h".
22529 (PARMS): Do not use macros from bp-asm.h.
22530 (STR): Likewise.
22531 (CHR): Likewise.
22532 (__rawmemchr): Do not use BP_SYM.
22533 (rawmemchr): Do not use BP_SYM in weak_alias.
22534 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22535 (PARMS): Do not use macros from bp-asm.h.
22536 (S): Likewise.
22537 (SIZE): Likewise.
22538 (__mpn_rshift): Do not use BP_SYM.
22539 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22540 (PARMS): Do not use macros from bp-asm.h.
22541 (SIGMSK): Likewise.
22542 (__sigsetjmp): Likewise. Do not use BP_SYM.
22543 * sysdeps/i386/start.S: Do not include "bp-sym.h".
22544 (_start): Do not use BP_SYM.
22545 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
22546 (PARMS): Do not use macros from bp-asm.h.
22547 (DEST): Likewise.
22548 (SRC): Likewise.
22549 (__stpcpy): Likewise. Do not use BP_SYM.
22550 (stpcpy): Do not use BP_SYM in weak_alias.
22551 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
22552 "bp-asm.h".
22553 (PARMS): Do not use macros from bp-asm.h.
22554 (DEST): Likewise.
22555 (SRC): Likewise.
22556 (LEN): Likewise.
22557 (__stpncpy): Likewise. Do not use BP_SYM.
22558 (stpncpy): Do not use BP_SYM in weak_alias.
22559 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22560 (PARMS): Do not use macros from bp-asm.h.
22561 (STR): Likewise.
22562 (CHR): Likewise.
22563 (strchr): Likewise. Do not use BP_SYM.
22564 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
22565 "bp-asm.h".
22566 (PARMS): Do not use macros from bp-asm.h.
22567 (STR): Likewise.
22568 (CHR): Likewise.
22569 (__strchrnul): Likewise. Do not use BP_SYM.
22570 (strchrnul): Do not use BP_SYM in weak_alias.
22571 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
22572 "bp-asm.h".
22573 (PARMS): Do not use macros from bp-asm.h.
22574 (STOP): Likewise.
22575 (strcspn): Do not use BP_SYM.
22576 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
22577 "bp-asm.h".
22578 (PARMS): Do not use macros from bp-asm.h.
22579 (STR): Likewise.
22580 (STOP): Likewise.
22581 (strpbrk): Likewise. Do not use BP_SYM.
22582 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
22583 "bp-asm.h".
22584 (PARMS): Do not use macros from bp-asm.h.
22585 (STR): Likewise.
22586 (CHR): Likewise.
22587 (strrchr): Likewise. Do not use BP_SYM.
22588 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
22589 (PARMS): Do not use macros from bp-asm.h.
22590 (SKIP): Likewise.
22591 (strspn): Do not use BP_SYM.
22592 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
22593 (PARMS): Do not use macros from bp-asm.h.
22594 (STR): Likewise.
22595 (DELIM): Likewise.
22596 (SAVE): Likewise.
22597 (FUNCTION): Likewise. Do not use BP_SYM.
22598 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
22599 aliases.
22600 (strtok_r): Likewise.
22601 (__GI___strtok_r): Likewise.
22602 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22603 (PARMS): Do not use macros from bp-asm.h.
22604 (S1): Likewise.
22605 (S2): Likewise.
22606 (SIZE): Likewise.
22607 (__mpn_sub_n): Do not use BP_SYM.
22608 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
22609 "bp-asm.h".
22610 (PARMS): Do not use macros from bp-asm.h.
22611 (S1): Likewise.
22612 (SIZE): Likewise.
22613 (__mpn_submul_1): Do not use BP_SYM.
22614 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
22615 <bp-sym.h>.
22616 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
22617 and <bp-asm.h>.
22618 (PARMS): Do not use macros from bp-asm.h.
22619 (FLAGS): Likewise.
22620 (PTID): Likewise.
22621 (TLS): Likewise.
22622 (CTID): Likewise.
22623 (__clone): Do not use BP_SYM.
22624 (clone): Do not use BP_SYM in weak_alias.
22625 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
22626 and <bp-asm.h>.
22627 (PARMS): Do not use macros from bp-asm.h.
22628 (LEN): Likewise.
22629 (__mmap64): Do not use BP_SYM.
22630 (mmap64): Do not use BP_SYM in weak_alias.
22631 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22632 <bp-sym.h> and <bp-asm.h>.
22633 (PARMS): Do not use macros from bp-asm.h.
22634 (__posix_fadvise64_l64): Do not use BP_SYM.
22635 * sysdeps/unix/sysv/linux/i386/semtimedop.S
22636 (PARMS): Do not use macros from bp-asm.h.
22637 (NSOPS): Likewise.
22638 (semtimedop): Do not use BP_SYM.
22639 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
22640 and <bp-asm.h>.
22641
582a3cff
AM
226422013-02-21 Allan McRae <allan@archlinux.org>
22643
22644 * manual/message.texi (Charset conversion in gettext):
22645 Move @end statement to beginning of line.
22646
bab8a695
SP
226472013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22648
80945231
SP
22649 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
22650 static.
22651 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22652 Likewise.
22653
bab8a695
SP
22654 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
22655 (denorm): Likewise.
22656 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
22657 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
22658
e21d7aa7
AK
226592013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22660
22661 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
22662 tail-call to the resolved function if pltexit isn't needed.
22663
4c7a4263
SP
226642013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22665
22666 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
22667 or Y being zero as being unlikely.
22668 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22669 Likewise.
22670
41f49342
CD
226712013-02-20 Carlos O'Donell <carlos@redhat.com>
22672
22673 * manual/nss.texi (System Databases and Name Service Switch):
22674 Remove frobnicate @pxref.
22675
50022a93
TS
226762013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22677
22678 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22679 __attribute__ ((unused)) to __attribute__ ((__unused__)).
22680
08cbd996
PM
226812013-02-20 Petr Machata <pmachata@redhat.com>
22682
22683 * elf/elf.h (R_ARM_TARGET1): New macro.
22684 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
22685 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
22686 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
22687 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
22688 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
22689 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
22690 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
22691 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
22692 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
22693 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
22694 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
22695 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
22696 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
22697 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
22698 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
22699 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
22700 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
22701 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
22702 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
22703 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
22704 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
22705 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
22706 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
22707 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
22708 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
22709 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
22710 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
22711 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
22712 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
22713 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
22714 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
22715 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
22716 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
22717 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
22718 (R_ARM_THM_GOT_BREL12): Likewise.
22719 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
22720 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
22721 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
22722 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
22723 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
22724 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
22725 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
22726 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
22727 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
22728
c7b275d6
TS
227292013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22730
22731 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22732 __attribute_used__ to __attribute__ ((unused)).
22733
20cd7fb3
SP
227342013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22735
22736 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
22737 powerpc mpa.c.
22738 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
22739 comment formatting.
22740 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
22741
92945b52
JM
227422013-02-19 Joseph Myers <joseph@codesourcery.com>
22743
22744 [BZ #13550]
22745 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
22746 Remove macro.
22747 (ENTER): Remove both macro definitions.
22748 (LEAVE): Likewise.
22749 (CHECK_BOUNDS_LOW): Likewise.
22750 (CHECK_BOUNDS_HIGH): Likewise.
22751 (CHECK_BOUNDS_BOTH): Likewise.
22752 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
22753 (RETURN_BOUNDED_POINTER): Likewise.
22754 (RETURN_NULL_BOUNDED_POINTER): Likewise.
22755 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
22756 (POP_ERRNO_LOCATION_RETURN): Likewise.
22757 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
22758 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22759 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
22760 macros.
22761 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22762 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
22763 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
22764 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
22765 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
22766 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
22767 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
22768 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
22769 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22770 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22771 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22772 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22773 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22774 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22775 removed macros.
22776 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22777 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22778 macros.
22779 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22780 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22781 * sysdeps/i386/i586/memset.S (memset): Likewise.
22782 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22783 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22784 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22785 macros.
22786 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22787 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22788 Change uses of L(2) to L(out).
22789 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22790 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22791 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22792 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22793 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22794 removed macros.
22795 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22796 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
22797 macros.
22798 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22799 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
22800 (RETURN): Do not use macro LEAVE.
22801 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
22802 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
22803 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
22804 * sysdeps/i386/i686/memset.S (memset): Likewise.
22805 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
22806 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
22807 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22808 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
22809 Likewise.
22810 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22811 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
22812 L(1_2) and L(1_3) into L(1).
22813 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22814 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
22815 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22816 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
22817 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22818 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
22819 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
22820 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22821 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
22822 macros.
22823 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
22824 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22825 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
22826 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
22827 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
22828 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22829 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
22830 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
22831 * sysdeps/i386/strcspn.S (strcspn): Likewise.
22832 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
22833 * sysdeps/i386/strrchr.S (strrchr): Likewise.
22834 * sysdeps/i386/strspn.S (strspn): Likewise.
22835 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
22836 conditional code.
22837 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22838 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
22839 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22840 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
22841 L(1_3) into L(1_1).
22842 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
22843 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22844 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
22845 macros.
22846 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22847
2389741a
JJ
228482013-02-19 Jakub Jelinek <jakub@redhat.com>
22849
22850 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
22851 macro.
22852
2016b3cd
SP
228532013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22854
e4f22324
SP
22855 * math/atest-exp.c (exp_mpn): Remove ROUND.
22856 * math/atest-exp2.c (exp_mpn): Likewise.
22857 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
22858
2016b3cd
SP
22859 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
22860 * stdlib/tst-tls-atexit-lib.c: Likewise.
22861 * stdlib/tst-tls-atexit.c: Likewise.
22862
4be9b544
MF
228632013-02-18 Mike Frysinger <vapier@gentoo.org>
22864
22865 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
22866 and __attribute_alloc_size__.
22867
2f62b9ee
MF
228682013-02-18 Mike Frysinger <vapier@gentoo.org>
22869
22870 * include/programs/xmalloc.h: Change __attribute_alloc_size to
22871 __attribute_alloc_size__.
22872 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
22873 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
22874
6ff444c4
MF
228752013-02-18 Mike Frysinger <vapier@gentoo.org>
22876
22877 * include/programs/xmalloc.h: New file.
22878 * catgets/gencat.c: Include it.
22879 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
22880 * elf/pldd.c: Likewise.
22881 * iconv/iconv_charmap.c: Likewise.
22882 * iconv/iconvconfig.c: Likewise.
22883 * iconv/strtab.c: Likewise.
22884 * locale/programs/locale.c: Likewise.
22885 * locale/programs/localedef.h: Likewise.
22886 * locale/programs/simple-hash.c: Likewise.
22887 * nscd/nscd.h: Likewise.
22888 * nss/makedb.c: Likewise.
22889 * sysdeps/generic/ldconfig.h: Likewise.
22890
be179c8a
SP
228912013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22892
ba384f6e
SP
22893 * Versions.def: Add GLIBC_2.18.
22894 * include/link.h (struct link_map): New member l_tls_dtor_count.
22895 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
22896 (__call_tls_dtors): Likewise.
22897 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
22898 __cxa_thread_atexit_impl.
22899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22900 Likewise.
22901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22902 Likewise.
22903 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22904 Likewise.
22905 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22906 Likewise.
22907 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22908 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
22909 Likewise.
22910 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
22911 Likewise.
22912 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22913 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22914 Likewise.
22915 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
22916 (tests): Add test case tst-tls-atexit.
22917 (modules-names): Add shared library for tst-tls-atexit.
85891aca 22918 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
22919 (GLIBC_PRIVATE): Add __call_tls_dtors.
22920 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
22921 for libstdc++.
22922 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
22923 * stdlib/tst-tls-atexit.c: New test case.
22924 * stdlib/tst-tls-atexit-lib.c: New test case.
22925
ffaa74cf 22926 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 22927
be179c8a
SP
22928 * elf/Versions (ld): Add _dl_find_dso_for_object.
22929 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
22930 * elf/dl-open.c (_dl_find_dso_for_object): New function.
22931 (dl_open_worker): Use _dl_find_dso_for_object.
22932 * elf/dl-sym.c (do_sym): Likewise.
22933 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
22934
f78b5caa
AK
229352013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22936
22937 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
22938 Syntactic changes only.
22939 (_dl_runtime_profile): Do a tail-call to the resolved function.
22940
29691210
JM
229412013-02-17 Joseph Myers <joseph@codesourcery.com>
22942
22943 [BZ #13550]
22944 * sysdeps/x86_64/bp-asm.h: Remove file.
22945 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
22946 <bp-sym.h> and <bp-asm.h>.
22947 (__clone): Do not use BP_SYM.
22948 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
22949 <bp-sym.h> and <bp-asm.h>.
22950 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22951 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
22952 "bp-asm.h".
22953 (_setjmp): Do not use BP_SYM.
22954 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
22955 "bp-asm.h".
22956 (setjmp): Do not use BP_SYM.
22957 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
22958 libc_hidden_def.
22959 (mempcpy): Do not use BP_SYM in weak_alias.
22960 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
22961 "bp-asm.h".
22962 (strchr): Do not use BP_SYM.
22963 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
22964 "bp-asm.h".
22965 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
22966 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
22967 (_start): Do not use BP_SYM.
22968 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
22969 "bp-asm.h".
22970 (strcat): Do not use BP_SYM.
22971 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
22972 "bp-asm.h".
22973 (STRCMP): Do not use BP_SYM.
22974 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
22975 "bp-asm.h".
22976 (STRCPY): Do not use BP_SYM.
22977 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
22978 "bp-asm.h".
22979 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
22980 "bp-asm.h".
22981 (FUNCTION): Do not use BP_SYM.
22982 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
22983 weak_alias.
22984 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
22985
f238fd19
AJ
229862013-02-17 Andreas Jaeger <aj@suse.de>
22987
22988 * time/Versions: Sort entries.
22989 * string/Versions: Likewise.
22990 * resolv/Versions: Likewise.
22991 * posix/Versions: Likewise.
22992 * iconv/Versions: Likewise.
22993 * elf/Versions: Likewise.
22994 * wcsmbs/Versions: Likewise.
22995
bd07f23c 229962013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 22997
22af19f9
SP
22998 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
22999 loop termination condition.
23000
4709fe76
SP
23001 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
23002 variable to calculate EZ.
23003 (__sqr): Likewise.
2d0e0f29
SP
23004
23005 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
23006 the lower precision input.
23007
daaa7713
JM
230082013-02-15 Joseph Myers <joseph@codesourcery.com>
23009
23010 [BZ #13550]
23011 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
23012 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
23013 (run-via-rtld-prefix): Do not handle %-bp tests.
23014 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
23015 (all-object-suffixes): Remove .ob.
23016 (bppfx): Remove variable.
23017 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
23018 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
23019 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
23020 [$(build-bounded) = yes] (libtype.ob): Likewise.
23021 * Makerules (elide-routines.ob): Remove variable.
23022 (do-tests-clean): Do not handle *-bp.out.
23023 (common-mostlyclean): Do not handle *-bp and *-bp.out.
23024 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
23025 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
23026 (tests): Do not include $(tests-bp.out).
23027 (xtests): Do not include $(xtests-bp.out).
23028 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
23029 [$(build-bounded) = yes] ($(addprefix
23030 $(objpfx),$(binaries-bounded))): Remove rule.
23031 ($(objpfx)%-bp.out): Remove rule.
23032 * config.make.in (build-bounded): Remove variable.
23033 * crypt/Makefile [$(build-bounded) = yes]
23034 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
23035 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
23036 append to variable.
23037 [$(build-bounded) = yes] (install-lib): Likewise.
23038 [$(build-bounded) = yes] (generated): Likewise.
23039 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
23040 Remove rule.
23041 * intl/Makefile [$(build-bounded) = yes]
23042 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
23043 * math/Makefile [$(build-bounded) = yes]
23044 ($(tests:%=$(objpfx)%-bp): Likewise.
23045 * misc/Makefile [$(build-bounded) = yes]
23046 ($(objpfx)tst-tsearch-bp): Likewise.
23047 * nptl/Makeconfig (bounded-thread-library): Remove variable.
23048 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
23049 Remove dependency.
23050 * string/Makefile (o-objects.ob): Remove variable.
23051 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
23052 (CFLAGS-.ob): Remove variable.
23053 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
23054 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
23055 both definitions of variable.
23056 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
23057 (ASFLAGS-.ob): Remove variable.
23058
e97ed6dd
JM
230592013-02-14 Joseph Myers <joseph@codesourcery.com>
23060
2bdd4ca6
JM
23061 [BZ #13550]
23062 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
23063 Remove __BOUNDED_POINTERS__ from condition.
23064 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
23065 * string/bits/string2.h [!__NO_STRING_INLINES &&
23066 !__BOUNDED_POINTERS__]: Likewise.
23067 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
23068 Likewise.
23069 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
23070 Remove conditional code.
23071 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
23072 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
23073 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
23074 condition.
23075
e97ed6dd
JM
23076 [BZ #13550]
23077 * csu/libc-start.c: Do not include <bp-sym.h>.
23078 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
23079 * elf/dl-open.c: Do not include <bp-sym.h>.
23080 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
23081 * math/fegetenv.c: Do not include <bp-sym.h>.
23082 (fegetenv): Do not use BP_SYM in versioned symbols.
23083 * nptl/sysdeps/pthread/bits/libc-lockP.h
23084 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
23085 <bp-sym.h>.
23086 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23087 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
23088 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23089 (__pthread_mutex_destroy): Likewise.
23090 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23091 (__pthread_mutex_lock): Likewise.
23092 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23093 (__pthread_mutex_trylock): Likewise.
23094 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23095 (__pthread_mutex_unlock): Likewise.
23096 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23097 (__pthread_mutexattr_init): Likewise.
23098 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23099 (__pthread_mutexattr_destroy): Likewise.
23100 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23101 (__pthread_mutexattr_settype): Likewise.
23102 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23103 (__pthread_rwlock_init): Likewise.
23104 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23105 (__pthread_rwlock_destroy): Likewise.
23106 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23107 (__pthread_rwlock_rdlock): Likewise.
23108 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23109 (__pthread_rwlock_tryrdlock): Likewise.
23110 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23111 (__pthread_rwlock_wrlock): Likewise.
23112 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23113 (__pthread_rwlock_trywrlock): Likewise.
23114 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23115 (__pthread_rwlock_unlock): Likewise.
23116 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23117 (__pthread_key_create): Likewise.
23118 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23119 (__pthread_setspecific): Likewise.
23120 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23121 (__pthread_getspecific): Likewise.
23122 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
23123 Likewise.
23124 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23125 (_pthread_cleanup_push_defer): Likewise.
23126 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23127 (_pthread_cleanup_pop_restore): Likewise.
23128 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23129 (pthread_setcancelstate): Likewise.
23130 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
23131 <bp-sym.h>.
23132 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
23133 (memchr): Do not use BP_SYM in weak_alias.
23134 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
23135 (fegetenv): Do not use BP_SYM in versioned symbols.
23136 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
23137 (fesetenv): Do not use BP_SYM in versioned symbols.
23138 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23139 (feupdateenv): Do not use BP_SYM in versioned symbols.
23140 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23141 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23142 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
23143 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
23144 (open64): Do not use BP_SYM in weak_alias.
23145 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
23146 (fegetenv): Do not use BP_SYM in versioned symbols.
23147 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
23148 (fesetenv): Do not use BP_SYM in versioned symbols.
23149 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23150 (feupdateenv): Do not use BP_SYM in versioned symbols.
23151 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
23152 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
23153 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
23154 (feraiseexcept): Do not use BP_SYM in versioned symbols.
23155 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23156 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23157 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
23158 <bp-sym.h>.
23159 (__libc_start_main): Do not use BP_SYM.
23160
d6752ccd
SP
231612013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23162
cb57ce60
SP
23163 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23164 redundant return line.
23165 (norm): Likewise.
23166 (denorm): Likewise.
23167 (dbl_mp): Likewise.
23168 (sub_magnitudes): Likewise.
23169 (__add): Likewise.
23170 (__sub): Likewise.
23171 (__mul): Likewise.
23172 (__inv): Likewise.
23173 (__dvd): Likewise.
23174 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
23175 (norm): Likewise.
23176 (denorm): Likewise.
23177 (dbl_mp): Likewise.
23178 (sub_magnitudes): Likewise.
23179 (__add): Likewise.
23180 (__sub): Likewise.
23181 (__mul): Likewise.
23182 (__inv): Likewise.
23183 (__dvd): Likewise.
23184
f414520d
SP
23185 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
23186 instead of __mul.
23187 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23188 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
23189 (cc32): Likewise.
23190
d6752ccd
SP
23191 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
23192 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
23193 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
23194 of __mul for squares.
23195 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
23196 function
23197 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
23198 Likewise.
23199 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
23200 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23201
70d9946a
JM
232022013-02-13 Joseph Myers <joseph@codesourcery.com>
23203
23204 [BZ #13550]
23205 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
23206 code.
23207 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
23208 prototype or function definition. Rename ubp_* variables and
23209 parameters. Remove argv definitions conditional on
23210 [__BOUNDED_POINTERS__].
23211 * debug/backtrace.c (__backtrace): Do not use __unbounded.
23212 * elf/dl-runtime.c (_dl_fixup): Likewise.
23213 * include/set-hooks.h (RUN_HOOK): Likewise.
23214 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
23215 definition.
23216 * string/strcpy.c (strcpy): Do not use __unbounded.
23217 * sysdeps/generic/frame.h (struct layout): Likewise.
23218 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
23219 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
23220 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
23221 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
23222 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23223 (__backtrace): Likewise.
23224 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23225 use __ptrvalue.
23226 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23227 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23228 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23229 Likewise.
23230 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23231 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23232 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23233 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23234 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23235 Do not use __unbounded.
23236 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23237 Rename __unboundedrlimits parameter to rlimits in prototype.
23238 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23239 Do not use __unbounded.
23240 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23241 not use __ptrvalue.
23242 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23243 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23244 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23245 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23246 __ptrvalue or __unbounded.
23247 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23248 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23249 use __unbounded.
23250 (__new_msgctl): Do not use __ptrvalue.
23251 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23252 __unbounded.
23253 (__libc_msgrcv): Do not use __ptrvalue.
23254 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23255 startup_info): Do not use __unbounded.
23256 (__libc_start_main): Likewise. Rename ubp_* variables and
23257 parameters. Remove argv definitions conditional on
23258 [__BOUNDED_POINTERS__].
23259 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23260 __ptrvalue.
23261 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23262 use __unbounded.
23263 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
23264 or __ptrvalue.
23265 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
23266 use __unbounded.
23267 (__new_shmctl): Do not use __ptrvalue.
23268 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23269 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23270 Likewise.
23271 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23272 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
23273 (__libc_sigaction): Likewise.
23274 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
23275 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
23276 Likewise.
23277 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23278
cc7834d6
OB
232792013-02-13 Ondřej Bílka <neleai@seznam.cz>
23280
ffb1ec7b 23281 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
23282
23283 * string/mempcpy.c: Implement by calling memcpy.
23284
bdf02814
SP
232852013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23286
c2af38aa
SP
23287 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
23288
4e92d59e
SP
23289 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
23290 evaluation.
23291
909279a5
SP
23292 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
23293 values in the mantissa.
23294
bdf02814
SP
23295 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
23296 minimize writes to Z.
23297 (sub_magnitudes): Simplify code a bit.
23298
cd525923
RM
232992013-02-12 Roland McGrath <roland@hack.frob.com>
23300
23301 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
23302 from the message. The linker prefixes all warnings with that already.
23303
7e2f0d2d
AS
233042013-02-12 Andreas Schwab <schwab@suse.de>
23305
a445af0b
AS
23306 [BZ #15078]
23307 * posix/regexec.c (extend_buffers): Add parameter min_len.
23308 (check_matching): Pass minimum needed length.
23309 (clean_state_log_if_needed): Likewise.
23310 (get_subexp): Likewise.
23311 * posix/Makefile (tests): Add bug-regex34.
23312 (bug-regex34-ENV): Define.
23313 * posix/bug-regex34.c: New file.
23314
7e2f0d2d
AS
23315 [BZ #11561]
23316 * posix/regcomp.c (parse_bracket_exp): When looking up collating
23317 elements compare against the byte sequence of it, not its name.
23318 * posix/Makefile (tests): Add bug-regex35.
23319 (bug-regex35-ENV): Define.
23320 * posix/bug-regex35.c: New file.
23321
a175b684
TV
233222013-02-11 Tom de Vries <tom@codesourcery.com>
23323
23324 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
23325 comment.
23326 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
23327 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
23328 (CHECK_EOL): Add undef.
23329
310998fe 233302013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
23331
23332 * bits/stdlib-bsearch.h: New file.
23333 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 23334 * stdlib/stdlib.h: Likewise.
41eda41d 23335
8ded91fb
RM
233362013-02-11 Roland McGrath <roland@hack.frob.com>
23337
23338 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
23339 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
23340 declaration.
23341 * manual/search.texi (Array Search Function): Add missing const in
23342 lfind prototype.
23343 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
23344 declaration to use rlim_t.
23345 (Basic Scheduling Functions): Remove erroneous const from
23346 sched_getparam prototype. Remove erroneous * from
23347 sched_get_priority_max and sched_get_priority_min prototypes.
23348 (Resource Usage): Fix summary @comment on vtimes to refer to
23349 sys/vtimes.h rather than vtimes.h.
23350 Add missing *s in vtimes prototype.
23351 (Limits on Resources): Fix ulimit prototype to return long int.
23352 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
23353 prototypes to use long int rather than double.
23354 (BSD Random): Fix initstate and setstate to use char *, not void *.
23355 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
23356 prototype to make second argument 'struct aiocb64 *const[]'.
23357 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
23358 (Status of AIO Operations): Remove erroneous const in aio_return and
23359 aio_return64 prototypes.
23360 (Synchronizing I/O): Fix sync prototype to return void.
23361 * manual/startup.texi (Suboptions): Remove an erroneous const in
23362 getsubopt prototype.
23363 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
23364 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
23365 use size_t rather than int.
23366 (Scanning All Users): Likewise for getpwent_r.
23367 (Setting Groups): Add missing const to setgroups prototype.
23368 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
23369 * manual/socket.texi (Host Names): Fix gethostbyaddr and
23370 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
23371 'const void *' rather than 'const char *'.
23372 (Host Address Functions): Likewise for inet_ntop.
23373 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
23374 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
23375 ssize_t for return value.
23376 (Sending Data): Likewise for send, sendto, sendmsg.
23377 (Socket Option Functions): Add a missing const in setsockopt prototype.
23378 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
23379 use wchar_t for the argument.
23380 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
23381 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
23382 take no arguments.
23383 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
23384 double/float/long double for second argument.
23385 Fix return types of significand, significandf, significandl.
23386 * manual/filesys.texi (Setting Permissions): Use mode_t for second
23387 argument in fchmod prototype.
23388 (File Owner): Use uid_t and gid_t in fchown prototype.
23389 (File Times): Add const to utimes, futimes, and lutimes prototypes.
23390 (Making Special Files): Use mode_t and dev_t in mknod prototype.
23391 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
23392 use 'const struct dirent **' as argument types to CMP function pointer
23393 argument.
23394 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
23395 (File Times): Fix summary magic @comment for struct utimbuf and utime
23396 to refer to utime.h, not time.h.
23397 * manual/string.texi (Argz Functions): Add missing const in
23398 argz_extract and argz_next prototypes.
23399 (Finding Tokens in a String): Likewise for basename.
23400 (String/Array Comparison): Fix typo in wcscasecmp prototype.
23401 (Copying and Concatenation): Fix typo in wmemmove prototype.
23402 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
23403 (Signal Stack): Remove erroneous const in sigstack prototype.
23404 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
23405 prototype.
23406 (Simple Calendar Time): Likewise for stime.
23407 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
23408 prototype.
23409 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
23410 say sys/sysctl.h instead.
23411 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
23412 and vsyslog prototypes.
23413
fe77fe6d
TV
234142013-02-11 Tom de Vries <tom@codesourcery.com>
23415
23416 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
23417 Remove.
23418
3a09b620
RM
234192013-02-11 Roland McGrath <roland@hack.frob.com>
23420
23421 * misc/sys/mman.h: Fix typo in mremap comment.
23422
550a0b89
RM
234232013-02-08 Roland McGrath <roland@hack.frob.com>
23424
23425 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
23426 the '\0' terminator.
23427
a2da1673
JM
234282013-02-08 Joseph Myers <joseph@codesourcery.com>
23429
23430 [BZ #13550]
23431 * debug/segfault.c: Don't include <bp-checks.h>.
23432 * sysdeps/generic/bp-checks.h: Remove file.
23433 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
23434 (__GETDENTS): Don't use CHECK_N.
23435 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
23436 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
23437 (__getgroups): Don't use CHECK_N.
23438 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
23439 (setgroups): Don't use CHECK_N.
23440 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
23441 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
23442 (__libc_msgrcv): Don't use CHECK_N.
23443 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
23444 (__libc_msgsnd): Don't use CHECK_N.
23445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
23446 <bp-checks.h>.
23447 (__libc_pread): Don't use CHECK_N.
23448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
23449 include <bp-checks.h>.
23450 (__libc_pread64): Don't use CHECK_N.
23451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
23452 include <bp-checks.h>.
23453 (__libc_pwrite): Don't use CHECK_N.
23454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
23455 include <bp-checks.h>.
23456 (__libc_pwrite64): Don't use CHECK_N.
23457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
23458 <bp-checks.h>.
23459 (__libc_pread): Don't use CHECK_N.
23460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
23461 include <bp-checks.h>.
23462 (__libc_pread64): Don't use CHECK_N.
23463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
23464 include <bp-checks.h>.
23465 (__libc_pwrite): Don't use CHECK_N.
23466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
23467 include <bp-checks.h>.
23468 (__libc_pwrite64): Don't use CHECK_N.
23469 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
23470 (do_pread): Don't use CHECK_N.
23471 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
23472 (do_pread64): Don't use CHECK_N.
23473 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
23474 (do_pwrite): Don't use CHECK_N.
23475 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
23476 (do_pwrite64): Don't use CHECK_N.
23477 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
23478 (__libc_readv): Don't use CHECK_N.
23479 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
23480 (semop): Don't use CHECK_N.
23481 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
23482 <bp-checks.h>.
23483 (semtimedop): Don't use CHECK_N.
23484 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
23485 (__libc_pread): Don't use CHECK_N.
23486 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
23487 <bp-checks.h>.
23488 (__libc_pread64): Don't use CHECK_N.
23489 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
23490 <bp-checks.h>.
23491 (__libc_pwrite): Don't use CHECK_N.
23492 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
23493 <bp-checks.h>.
23494 (__libc_pwrite64): Don't use CHECK_N.
23495 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
23496 <bp-checks.h>.
23497 (__libc_msgrcv): Don't use CHECK_N.
23498 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
23499 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
23500 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
23501 (__libc_writev): Don't use CHECK_N.
23502
b84660a8
RM
235032013-02-08 Roland McGrath <roland@hack.frob.com>
23504
7f3e75f8
RM
23505 * string/strcpy.c: Removed unused variable.
23506
b84660a8
RM
23507 * Makeconfig (+sysdep-includes): Define with := rather than =.
23508 Use an existing include/ subdir of each sysdeps dir before it.
23509
471514d3
CD
235102013-02-08 Carlos O'Donell <carlos@redhat.com>
23511
23512 * nscd/connection.c (register_traced_file): Comment function.
23513 [HAVE_INOTIFY] (union __inev): Define.
23514 [HAVE_INOTIFY] (inotify_check_files): New function.
23515 [HAVE_INOTIFY] (clear_db_cache): Likewise.
23516 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
23517 clear_db_cache.
23518 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
23519
b2d3c3be
CD
235202013-02-08 Carlos O'Donell <carlos@redhat.com>
23521
23522 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
23523 loaded if not already and that a failure is permanent.
23524
b39949d2
CD
235252013-02-08 Carlos O'Donell <carlos@redhat.com>
23526
ddacd1db 23527 [BZ #15006]
b39949d2
CD
23528 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
23529 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
23530
b2c9eff4
JM
235312013-02-08 Joseph Myers <joseph@codesourcery.com>
23532
f3aae3f3
JM
23533 [BZ #13550]
23534 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
23535 (CHECK_1_NULL_OK): Likewise.
23536 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
23537 (__fxstat): Do not use CHECK_1.
23538 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
23539 <bp-checks.h>.
23540 (___fxstat64): Do not use CHECK_1.
23541 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23542 <bp-checks.h>.
23543 (__fxstatat): Do not use CHECK_1.
23544 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23545 <bp-checks.h>.
23546 (__fxstatat64): Do not use CHECK_1.
23547 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
23548 <bp-checks.h>.
23549 (__fxstat): Do not use CHECK_1.
23550 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23551 <bp-checks.h>.
23552 (__fxstatat): Do not use CHECK_1.
23553 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23554 <bp-checks.h>.
23555 (__getresgid): Do not use CHECK_1.
23556 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23557 <bp-checks.h>.
23558 (__getresuid): Do not use CHECK_1.
23559 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
23560 <bp-checks.h>.
23561 (__lxstat): Do not use CHECK_1.
23562 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23563 <bp-checks.h>.
23564 (__old_msgctl): Do not use CHECK_1.
23565 (__new_msgctl): Likewise.
23566 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
23567 <bp-checks.h>.
23568 (__new_setrlimit): Do not use CHECK_1.
23569 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23570 <bp-checks.h>.
23571 (__old_shmctl): Do not use CHECK_1.
23572 (__new_shmctl): Likewise.
23573 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
23574 <bp-checks.h>.
23575 (__xstat): Do not use CHECK_1.
23576 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
23577 (__lxstat): Do not use CHECK_1.
23578 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
23579 <bp-checks.h>.
23580 (___lxstat64): Do not use CHECK_1.
23581 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
23582 (__old_msgctl): Do not use CHECK_1.
23583 (__new_msgctl): Likewise.
23584 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
23585 <bp-checks.h>.
23586 (__gettimeofday): Do not use CHECK_1.
23587 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
23588 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
23589 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
23590 <bp-checks.h>.
23591 (__gettimeofday): Do not use CHECK_1.
23592 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
23593 (__old_shmctl): Do not use CHECK_1_NULL_OK.
23594 (__new_shmctl): Do not use CHECK_1.
23595 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
23596 <bp-checks.h>.
23597 (do_sigtimedwait): Do not use CHECK_1.
23598 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
23599 <bp-checks.h>.
23600 (do_sigwaitinfo): Do not use CHECK_1.
23601 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
23602 <bp-checks.h>.
23603 (msgctl): Do not use CHECK_1.
23604 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
23605 <bp-checks.h>.
23606 (shmctl): Do not use CHECK_1.
23607 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
23608 (ustat): Do not use CHECK_1.
23609 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
23610 <bp-checks.h>.
23611 (__fxstat): Do not use CHECK_1.
23612 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
23613 <bp-checks.h>.
23614 (__fxstatat): Do not use CHECK_1.
23615 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
23616 <bp-checks.h>.
23617 (__lxstat): Do not use CHECK_1.
23618 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
23619 <bp-checks.h>.
23620 (__xstat): Do not use CHECK_1.
23621 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
23622 (__xstat): Do not use CHECK_1.
23623 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
23624 (___xstat64): Do not use CHECK_1.
23625
b2c9eff4
JM
23626 [BZ #13550]
23627 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
23628 definitions.
23629 (CHECK_BOUNDS_HIGH): Likewise.
23630 * string/strcpy.c: Do not include <bp-checks.h>.
23631 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
23632
f1d70dad
RM
236332013-02-07 Roland McGrath <roland@hack.frob.com>
23634
23635 * nscd/nscd-client.h (__nscd_drop_map_ref):
23636 Add __attribute__ ((unused)).
23637 * nis/nss-nisplus.h (niserr2nss): Likewise.
23638
23639 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
23640 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
23641
23642 * csu/libc-tls.c (init_static_tls, init_slotinfo):
23643 Remove inline keyword.
23644 * include/rounding-mode.h (round_away): Likewise.
23645 * libio/wfileops.c (adjust_wide_data): Likewise.
23646 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
23647 (__m128i_strloadu_tolower): Likewise.
23648 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
23649 (__m128i_strloadu_tolower): Likewise.
23650 * time/mktime.c (ydhms_diff): Likewise.
23651 * locale/elem-hash.h (elem_hash): Likewise.
23652 * locale/setlocale.c (setdata): Likewise.
23653 * posix/regex_internal.h (re_string_char_size_at): Likewise.
23654 (re_string_wchar_at): Likewise.
23655 (bitset_not, bitset_merge, bitset_mask): Likewise.
23656 [!(__GNUC__ > 3)] (inline): Remove macro.
23657 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
23658 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
23659 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23660 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23661 * string/memcmp.c (memcmp_bytes): Likewise.
23662 * locale/programs/locarchive.c (compute_hashval): Likewise.
23663 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
23664 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
23665 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
23666 * nss/getent.c (print_rpc, print_protocols): Likewise.
23667 (print_passwd, print_group, print_aliases): Likewise.
23668 * nis/nss-nisplus.h (niserr2nss): Likewise.
23669 * nscd/connections.c (restart_p): Likewise.
23670 Change return type to bool.
23671
eab55bfb
RM
236722013-02-05 Roland McGrath <roland@hack.frob.com>
23673
7bd642f5
RM
23674 * Makeconfig (all-Depend-files): Add existing
23675 $(sorted-subdirs:=/Depend) files.
23676 (all-subdirs): Remove nss.
23677 * sysdeps/unix/inet/Subdirs: Add it here instead.
23678 * hesiod/Depend: New file.
23679
573c29b2
RM
23680 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
23681 instead of calling alloca.
23682
b2e25af0
RM
23683 * io/lseek.c (__lseek): Rename to __libc_lseek.
23684 Define __lseek as an alias.
23685
eab55bfb
RM
23686 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
23687
9a0d1941
CD
236882013-02-04 Carlos O'Donell <carlos@redhat.com>
23689
23690 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
23691 else clause and remove check for non-standard endianness.
23692
b83bbec4
DM
236932013-02-04 David S. Miller <davem@davemloft.net>
23694
23695 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23696
6277fdab
JM
236972013-02-04 Joseph Myers <joseph@codesourcery.com>
23698
23699 [BZ #13550]
23700 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
23701 (__ubp_memchr): Remove prototype.
23702 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
23703 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23704 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
23705 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23706 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
23707 Remove alias.
23708 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
23709 (__ubp_memchr): Likewise.
23710 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
23711 (__ubp_memchr): Likewise.
23712 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
23713 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
23714 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
23715 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
23716 CHECK_STRING.
23717 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23718 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
23719 (__getcwd): Do not use CHECK_STRING.
23720 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23721 <bp-checks.h>.
23722 (__real_chown): Do not use CHECK_STRING.
23723 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
23724 <bp-checks.h>.
23725 (fchownat): Do not use CHECK_STRING.
23726 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
23727 CHECK_STRING.
23728 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23729 <bp-checks.h>.
23730 (__lchown): Do not use CHECK_STRING.
23731 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23732 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23733 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23734 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23736 include <bp-checks.h>.
23737 (truncate64): Do not use CHECK_STRING.
23738 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23739 <bp-checks.h>.
23740 (__real_chown): Do not use CHECK_STRING.
23741 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23742 <bp-checks.h>.
23743 (__lchown): Do not use CHECK_STRING.
23744 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23745 <bp-checks.h>.
23746 (__chown): Do not use CHECK_STRING.
23747 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
23748 <bp-checks.h>.
23749 (truncate64): Do not use CHECK_STRING.
23750 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
23751 Likewise.
23752 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
23753 (__xmknod): Do not use CHECK_STRING.
23754 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23755 <bp-checks.h>.
23756 (__xmknodat): Do not use CHECK_STRING.
23757 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23758 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23759
903ae060
AS
237602013-02-04 Andreas Schwab <schwab@suse.de>
23761
23762 [BZ #14142]
23763 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
23764 * include/netdb.h: Likewise for h_errno.
23765 * elf/tst-stackguard1.c: Include <tls.h>.
23766
542f9466
JK
237672013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
23768
23769 * elf/link.h (struct link_map): Extend the l_addr comment.
23770 * include/link.h (struct link_map): Likewise.
23771
e782a927
JM
237722013-02-01 Joseph Myers <joseph@codesourcery.com>
23773
23774 [BZ #13550]
23775 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23776 (BOUNDED_1): Remove macro.
23777 * debug/backtrace.c: Don't include <bp-checks.h>.
23778 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23779 (__backtrace): Likewise.
23780 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23781 <bp-checks.h>.
23782 (__backtrace): Don't use BOUNDED_1.
23783 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23784 <bp-checks.h>.
23785 (__backtrace): Don't use BOUNDED_1.
23786 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23787 (__backtrace): Don't use BOUNDED_1.
23788 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23789 (shmat): Don't use BOUNDED_N.
23790
8cf28c5e
JM
237912013-01-31 Joseph Myers <joseph@codesourcery.com>
23792
3a7ac8a0
JM
23793 [BZ #13550]
23794 * sysdeps/generic/bp-start.h: Remove file.
23795 * csu/libc-start.c: Don't include <bp-start.h>.
23796 (LIBC_START_MAIN): Set up __environ directly instead of using
23797 INIT_ARGV_and_ENVIRON.
23798 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
23799 <bp-start.h>.
23800
f3499f95
JM
23801 [BZ #13550]
23802 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
23803 definitions.
23804 (CHECK_FCNTL): Likewise.
23805 (CHECK_N_PAGES): Likewise.
23806
32a45bea
JM
23807 [BZ #13550]
23808 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
23809 definitions.
23810 (CHECK_SIGSET_NULL_OK): Likewise.
23811 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
23812 <bp-checks.h>.
23813 (sigpending): Don't use CHECK_SIGSET.
23814 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
23815 <bp-checks.h>.
23816 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23817 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
23818 <bp-checks.h>.
23819 (do_sigsuspend): Don't use CHECK_SIGSET.
23820 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
23821 use CHECK_SIGSET.
23822 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
23823 (do_sigwait): Don't use CHECK_SIGSET.
23824 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
23825 use CHECK_SIGSET.
23826 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
23827 include <bp-checks.h>.
23828 (sigpending): Don't use CHECK_SIGSET.
23829 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
23830 include <bp-checks.h>.
23831 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23832 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
23833 <bp-checks.h>.
23834 (sigpending): Don't use CHECK_SIGSET.
23835 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
23836 <bp-checks.h>.
23837 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23838
2e8a5c8c
JM
23839 [BZ #13550]
23840 * sysdeps/generic/bp-semctl.h: Remove file.
23841 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
23842 <bp-checks.h> and <bp-semctl.h>.
23843 (__old_semctl): Don't use CHECK_SEMCTL.
23844 (__new_semctl): Likewise.
23845 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
23846 and <bp-semctl.h>.
23847 (__old_semctl): Don't use CHECK_SEMCTL.
23848 (__new_semctl): Likewise.
23849 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
23850 <bp-checks.h> and <bp-semctl.h>.
23851 (__old_semctl): Don't use CHECK_SEMCTL.
23852 (__new_semctl): Likewise.
23853 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
23854 <bp-checks.h> and <bp-semctl.h>.
23855 (semctl): Don't use CHECK_SEMCTL.
23856
c2d54929
JM
23857 [BZ #13550]
23858 * Makerules (elide-bp-thunks): Remove variable.
23859 (elide-routines.oS): Don't use $(elide-bp-thunks).
23860 (elide-routines.os): Likewise.
23861 (elide-routines.o): Likewise.
23862 (elide-routines.op): Likewise.
23863 (elide-routines.og): Likewise.
23864 (objects): Don't use $(bp-thunks).
23865 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
23866 include.
23867 (common-generated): Do not add s-proto-bp.d.
23868 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
23869 (int): Likewise.
23870 (typ): Likewise.
23871 Do not generate makefile rules for bounded-pointer thunks.
23872 * sysdeps/generic/bp-thunks.h: Remove file.
23873 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
23874 * sysdeps/unix/s-proto-bp.S: Likewise.
23875
8cf28c5e
JM
23876 [BZ #15062]
23877 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
23878 parts of result separately when argument is not close to line from
23879 -i to i and one part of argument is small.
23880 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23881 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23882 * math/libm-test.inc (cacos_test): Add more tests.
23883 (casin_test): Likewise.
23884 (casinh_test): Likewise.
23885 * sysdeps/i386/fpu/libm-test-ulps: Update.
23886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23887
c4e33b8d
DM
238882013-01-31 David S. Miller <davem@davemloft.net>
23889
23890 * po/de.po: Update from translation team.
23891
3b60b421
MK
238922013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
23893
23894 * time/tzfile.c: Include stdint.h for SIZE_MAX.
23895
bb931195
TS
238962013-01-25 Thomas Schwinge <thomas@codesourcery.com>
23897
b5a5da23
TS
23898 * configure.in (_AC_PROG_CC_C89): New definition.
23899 * configure: Regenerate.
23900
bb931195
TS
23901 * configure.in (AC_PROG_CPP): New definition.
23902 * configure: Regenerate.
23903
8c53a12c
JM
239042013-01-23 Joseph Myers <joseph@codesourcery.com>
23905
23906 * debug/tst-backtrace.h: New file.
23907 * debug/tst-backtrace2.c: Include tst-backtrace.h.
23908 (ret): Remove variable.
23909 (x): Likewise.
23910 (FAIL): Remove macro.
23911 (NO_INLINE): Likewise.
23912 (fn1): Use match function instead of strstr.
23913 * debug/tst-backtrace3.c: Include tst-backtrace.h.
23914 (ret): Remove variable.
23915 (x): Likewise.
23916 (FAIL): Remove macro.
23917 (NO_INLINE): Likewise.
23918 (fn): Use match function instead of strstr.
23919 * debug/tst-backtrace4.c: Include tst-backtrace.h.
23920 (ret): Remove variable.
23921 (x): Likewise.
23922 (FAIL): Remove macro.
23923 (NO_INLINE): Likewise.
23924 (handle_signal): Use match function instead of strstr.
23925 * debug/tst-backtrace5.c: Include tst-backtrace.h.
23926 (ret): Remove variable.
23927 (x): Likewise.
23928 (FAIL): Remove macro.
23929 (NO_INLINE): Likewise.
23930 (handle_signal): Use match function instead of strstr.
23931
4858fa2a
RM
239322013-01-23 Roland McGrath <roland@hack.frob.com>
23933
23934 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
23935
bae8e7f5
DM
239362013-01-23 David S. Miller <davem@davemloft.net>
23937
23938 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
23939 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
23940 argument of CAS if possible.
23941 * sysdeps/sparc/sparc64/bits/atomic.h
23942 (__arch_compare_and_exchange_val_32_acq): Likewise.
23943 (__arch_compare_and_exchange_val_64_acq): Likewise.
23944
9cbbc4ae
PT
239452013-01-23 Pino Toscano <toscano.pino@tiscali.it>
23946
23947 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
23948 * sysdeps/posix/ulimit.c: ... this.
92a601b8 23949 Include <limits.h>.
67b3f58c 23950 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 23951
5655a0b5
AC
239522013-01-23 Adam Conrad <adconrad@0c3.net>
23953
23954 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
23955 (LDFLAGS-tst-array5): Likewise.
23956
052aff95
JM
239572013-01-23 Joseph Myers <joseph@codesourcery.com>
23958
23959 [BZ #15036]
23960 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
23961 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
23962 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
23963 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
23964
7c1e01aa
DM
239652013-01-21 David S. Miller <davem@davemloft.net>
23966
23967 * sysdeps/sparc/backtrace.c: New file.
23968 * sysdeps/sparc/sparc32/backtrace.h: New file.
23969 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
23970 * sysdeps/sparc/sparc64/backtrace.h: New file.
23971 * sysdeps/sparc/sparc64/backtrace.c: Delete.
23972 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
23973 -funwind-tables.
23974
ab087e0a
AS
239752013-01-21 Andreas Schwab <schwab@suse.de>
23976
23977 [BZ #15020]
23978 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
23979 closed its stdout.
23980
ed689c2f
AS
239812013-01-20 Andreas Schwab <schwab@linux-m68k.org>
23982
23983 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
23984 "mpa2.h".
23985 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23986
31d470ac
JM
239872013-01-18 Joseph Myers <joseph@codesourcery.com>
23988 Mark Mitchell <mark@codesourcery.com>
23989 Tom de Vries <tom@codesourcery.com>
23990 Paul Pluzhnikov <ppluzhnikov@google.com>
23991
23992 * debug/tst-backtrace2.c: New file.
23993 * debug/tst-backtrace3.c: Likewise.
23994 * debug/tst-backtrace4.c: Likewise.
23995 * debug/tst-backtrace5.c: Likewise.
23996 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
23997 (CFLAGS-tst-backtrace3.c): Likewise.
23998 (CFLAGS-tst-backtrace4.c): Likewise.
23999 (CFLAGS-tst-backtrace5.c): Likewise.
24000 (LDFLAGS-tst-backtrace2): Likewise.
24001 (LDFLAGS-tst-backtrace3): Likewise.
24002 (LDFLAGS-tst-backtrace4): Likewise.
24003 (LDFLAGS-tst-backtrace5): Likewise.
24004 (tests): Add new tests tst-backtrace2, tst-backtrace3,
24005 tst-backtrace4 and tst-backtrace5.
24006
90567f30 240072013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
24008 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24009
24010 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
24011 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
24012 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
24013 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
24014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24015 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
24016 "+r" and remove output regs list as redundant. Add explicit inline
24017 asm to specify register of return val to work around compiler codegen
24018 bug. Remove (int) cast on return value. Add return type parameter to
24019 use in macro so that this macro does not truncate return value for
24020 64-bit values.
24021 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
24022 pass to INTERNAL_VSYSCALL_NCS.
24023 (INLINE_VSYSCALL): Add 'long int' as return type to
24024 INTERNAL_VSYSCALL_NCS macro invocation.
24025 (INTERNAL_VSYSCALL): Add 'long int' as return type to
24026 INTERNAL_VSYSCALL_NCS macro invocation.
24027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24028
d3b9ea61
SP
240292013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24030
0b57daeb
SP
24031 [BZ #14496]
24032 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
24033 Fix application of SIMD FP exception mask.
24034
caa99d06
SP
24035 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
24036 mp_no from a power of two.
24037 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
24038 __mpexp_twomm1. Use __pow_mp.
24039
d3b9ea61
SP
24040 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
24041 multiplication.
24042
1dbaee3c
DM
240432013-01-17 David S. Miller <davem@davemloft.net>
24044
24045 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24046
728d7b43
JM
240472013-01-17 Joseph Myers <joseph@codesourcery.com>
24048
24049 [BZ #15023]
24050 * include/complex.h: Condition contents on [!_COMPLEX_H].
24051 (__kernel_casinhf): New prototype.
24052 (__kernel_casinh): Likewise.
24053 (__kernel_casinhl): Likewise.
24054 * math/Makefile (libm_calls): Add k_casinh.
24055 * math/k_casinh.c: New file.
24056 * math/k_casinhf.c: Likewise.
24057 * math/k_casinhl.c: Likewise.
24058 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
24059 finite nonzero arguments.
24060 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
24061 finite nonzero arguments.
24062 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
24063 finite nonzero arguments.
24064 * math/s_casinh.c: Do not include <float.h>.
24065 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
24066 * math/s_casinhf.c: Do not include <float.h>.
24067 (__casinhf): Move code for finite nonzero arguments to
24068 k_casinhf.c.
24069 * math/s_casinhl.c: Do not include <float.h>.
24070 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
24071 redefine.
24072 (__casinhl): Move code for finite nonzero arguments to
24073 k_casinhl.c.
24074 * math/libm-test.inc (cacos_test): Add more tests.
24075 * sysdeps/i386/fpu/libm-test-ulps: Update.
24076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24077
2a26ef3a
PT
240782013-01-17 Pino Toscano <toscano.pino@tiscali.it>
24079
24080 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
24081 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
24082 [!HAVE_MREMAP]: Remove [defined linux] case.
24083 * malloc/arena.c: Do not include <malloc-sysdep.h>.
24084
a897655d
SP
240852013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24086
24087 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
24088
881ebe89 240892013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
24090
24091 * elf/elf.h (R_386_SIZE32): New relocation.
24092 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
24093 R_386_SIZE32.
24094 (elf_machine_rela): Likewise.
24095 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24096 R_X86_64_SIZE64 and R_X86_64_SIZE32.
24097
59981e9b
JM
240982013-01-17 Joseph Myers <joseph@codesourcery.com>
24099
24100 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
24101 (FP_FAST_FMA): Do not define.
24102 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
24103 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
24104 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
24105 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
24106 !_SOFT_FLOAT]: Likewise.
24107 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
24108 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
24109 value.
24110 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
24111 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
24112 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
24113 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
24114 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
24115 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
24116 file.
24117
cfa8054f
AS
241182013-01-16 Andreas Schwab <schwab@suse.de>
24119
24120 [BZ #14327]
24121 * include/stdlib.h (__mktemp): Add declaration.
24122 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
24123 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
24124
dd930cc5
SP
241252013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24126
881ebe89
SP
24127 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
24128 definitions.
24129 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24130 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
24131 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
24132 definitions here.
24133 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
24134 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
24135 definitions.
24136 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
24137 and ONE.
24138 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
24139 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
24140 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
24141 definitions.
24142 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
24143 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
24144 definitions.
24145 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 24146
dd930cc5
SP
24147 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
24148
c19a9f89
DM
241492013-01-15 David S. Miller <davem@davemloft.net>
24150
1aa61767
DM
24151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24152 trunc{,f} to libm-sysdep_routes.
24153 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
24155 file.
24156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
24157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
24158 file.
24159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24160 file.
24161 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24162 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24163 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24164 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24165 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24166 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24167 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24168 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24169
c42d5e98
DM
24170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24171 nearbyint{,f} to libm-sysdep_routes.
24172 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24174 New file.
24175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
24176 file.
24177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
24178 New file.
24179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
24180 file.
24181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
24182 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
24183 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
24184 file.
24185 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
24186 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
24187 file.
24188 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
24189 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
24190 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
24191
c19a9f89
DM
24192 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24193 libc_feholdexcept and libc_fesetenv.
24194
357679d2
MF
241952013-01-15 Mike Frysinger <vapier@gentoo.org>
24196
24197 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
24198
65a82e3d
DM
241992013-01-14 David S. Miller <davem@davemloft.net>
24200
8b954ab9
DM
24201 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
24202 (SPARC_ASM_VIS2_IFUNC): Likewise.
24203 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
24204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
24205 use of 'siam' instruction.
24206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
24207 Likewise.
24208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
24209 Likewise.
24210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
24211 Likewise.
24212 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
24213 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24214 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
24215 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
24216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
24217 file.
24218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
24219 file.
24220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
24221 file.
24222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24223 file.
24224 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24225 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24226 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24227 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24229 new VIS2 routines.
24230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24233 Likewise.
24234 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24235 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24236 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24237 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24239 routines to libm-sysdep_routines.
24240 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24241
65a82e3d
DM
24242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24243 fdim/fdimf to libm-sysdep_routines.
24244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24245 file.
24246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24248 file.
24249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24250 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24251 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24252 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24253 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24254 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24255 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24256
e34ab705
SP
242572013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24258
2a91b573
SP
24259 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24260 to optimize copies.
24261
1066a534
SP
24262 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24263 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24264 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24265
e34ab705
SP
24266 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
24267 local variable MPTWO.
24268 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24269 Likewise.
24270
aba5e596
MF
242712013-01-13 Mike Frysinger <vapier@gentoo.org>
24272
24273 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
24274 GLOB_NOESCAPE.
24275
e557e9e5
MF
242762013-01-13 Mike Frysinger <vapier@gentoo.org>
24277
24278 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
24279
0428cec9
MF
242802013-01-13 Mike Frysinger <vapier@gentoo.org>
24281
24282 * manual/pattern.texi (glob_t): Document gl_flags.
24283 (glob64_t): Likewise.
24284
8794a964
DM
242852013-01-11 David S. Miller <davem@davemloft.net>
24286
66438c3f
RM
24287 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
24288 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
24289 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
24290 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
24291 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
24292 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
24293 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
24294 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
24295 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
24296 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
24297 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
24298 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
24299 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
24300
4ae4244d
DM
24301 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24302 sparc V9 rather than using V8 code.
24303 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24304 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24305
8794a964
DM
24306 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24307 Move to...
24308 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
24309 Here.
24310
6270516e
RM
243112013-01-11 Roland McGrath <roland@hack.frob.com>
24312
24313 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
24314 not in the main loop.
24315 * configure: Regenerated.
24316
6a57d931
JM
243172013-01-11 Joseph Myers <joseph@codesourcery.com>
24318
24319 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
24320 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
24321 to just #else.
24322 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
24323 [!__GLIBC_HAVE_LONG_LONG] case.
24324 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
24325 condition to just #else.
24326 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
24327 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
24328 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
24329 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
24330 unconditional.
24331 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
24332 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24333 #elif condition to just #else.
24334 * sysdeps/unix/sysv/linux/sys/sysmacros.h
24335 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
24336 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24337 #elif condition to just #else.
24338
0e8529e9
SE
243392013-01-11 Steve Ellcey <sellcey@mips.com>
24340
24341 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
24342 (EF_MIPS_ARCH_64): Fix value.
24343 (EF_MIPS_ARCH_32R2): New.
24344 (EF_MIPS_ARCH_64R2): New.
24345
740b3dbe
L
243462013-01-11 H.J. Lu <hongjiu.lu@intel.com>
24347
24348 * Makeconfig (+link-pie-before-libc): New.
24349 (+link-pie-after-libc): Likewise.
24350 (+link-pie-tests): Likewise.
24351 (+link-pie): Rewritten.
24352 (link-before-libc): Remove $(config-LDFLAGS).
24353 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
24354 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
24355 (config-LDFLAGS): Renamed to ...
24356 (rtld-LDFLAGS): This.
24357 (rtld-tests-LDFLAGS): New macro.
24358 (link-libc-rpath-link): Likewise.
24359 (link-libc-tests-rpath-link): Likewise.
24360 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
24361 (link-libc): Prepand $(link-libc-rpath-link).
24362 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
24363 (test-program-prefix): New macro.
24364 (test-via-rtld-prefix): Likewise.
24365 (test-program-cmd): Likewise.
24366 (host-test-program-cmd): Likewise.
24367 * Makefile ($(common-objpfx)testrun.sh): Replace
24368 $(run-program-prefix) with $(test-program-prefix).
24369 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
24370 $(rtld-LDFLAGS).
24371 ($(common-objpfx)shlib.lds): Likewise.
24372 (build-module-helper): Likewise.
24373 ($(common-objpfx)format.lds): Likewise.
24374 * Rules (binaries-pie-tests): New.
24375 (binaries-pie-notests): Likewise.
24376 (binaries-pie): Rewritten.
24377 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
24378 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
24379 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
24380 (make-test-out): Replace $(host-built-program-cmd) with
24381 $(host-test-program-cmd).
24382 * config.make.in (build-hardcoded-path-in-tests): New variable.
24383 * configure.in (--enable-hardcoded-path-in-tests): New configure
24384 option.
24385 (hardcoded_path_in_tests): New AC_SUBST.
24386 * configure: Regenerated.
24387 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
24388 $(built-program-cmd) with $(test-program-cmd).
24389 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
24390 (test_program_cmd): This.
24391 * elf/Makefile ($(objpfx)order.out): Run test with
24392 $(test-program-prefix).
24393 ($(objpfx)order2.out): Likewise.
24394 ($(objpfx)tst-initorder.out): Likewise.
24395 ($(objpfx)tst-initorder2.out): Likewise.
24396 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
24397 $(test-program-cmd).
24398 ($(objpfx)tst-array1-static.out): Likewise.
24399 ($(objpfx)tst-array2.out): Likewise.
24400 ($(objpfx)tst-array3.out): Likewise.
24401 ($(objpfx)tst-array4.out): Likewise.
24402 ($(objpfx)tst-array5.out): Likewise.
24403 ($(objpfx)tst-array5-static.out): Likewise.
24404 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
24405 $(test-program-cmd).
24406 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
24407 $(run-program-prefix) with $(test-program-prefix).
24408 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
24409 (test_program_prefix): This.
24410 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
24411 $(run-program-prefix) with $(test-program-prefix).
24412 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
24413 (test_program_prefix): This.
24414 * iconvdata/tst-tables.sh: Likewise.
24415 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
24416 $(run-program-prefix) with $(test-program-prefix).
24417 ($(objpfx)tst-translit.out): Likewise.
24418 ($(objpfx)tst-gettext2.out): Likewise.
24419 ($(objpfx)tst-gettext4.out): Likewise.
24420 ($(objpfx)tst-gettext6.out): Likewise.
24421 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
24422 (test_program_prefix): This.
24423 * intl/tst-gettext2.sh: Likewise.
24424 * intl/tst-gettext4.sh Likewise.
24425 * intl/tst-gettext6.sh: Likewise.
24426 * intl/tst-translit.sh: Likewise.
24427 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
24428 with $(test-program-cmd).
24429 * libio/Makefile ($(objpfx)test-freopen.out): Replace
24430 $(run-program-prefix) with $(test-program-prefix).
24431 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
24432 (test_program_prefix): This.
24433 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
24434 $(run-program-prefix) with $(test-program-prefix).
24435 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
24436 (test_program_prefix): This.
24437 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
24438 * posix/Makefile ($(objpfx)globtest.out): Replace
24439 $(run-via-rtld-prefix) and $(test-wrapper) with
24440 $(test-program-prefix) and $(test-via-rtld-prefix).
24441 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
24442 $(test-program-prefix).
24443 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
24444 $(host-test-program-cmd).
24445 (tst-spawn-ARGS): Likewise.
24446 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
24447 $(test-program-prefix).
24448 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
24449 (test_via_rtld_prefix): This.
24450 (test_wrapper): Renamed to ...
24451 (test_program_prefix): This.
24452 (run_program_prefix): Replaced by test_program_prefix.
24453 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
24454 (test_program_prefix): This.
24455 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
24456 with $(host-test-program-cmd).
24457 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
24458 $(run-program-prefix) with $(test-program-prefix).
24459 ($(objpfx)tst-printf.out): Likewise.
24460 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
24461 $(test-program-cmd).
24462 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
24463 (test_program_prefix): This.
24464 * stdio-common/tst-unbputc.sh: Likewise.
24465 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
24466 $(run-program-prefix) with $(test-program-prefix).
24467 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
24468 (test_program_prefix): This.
24469 * string/Makefile ($(objpfx)tst-svc.out): Replace
24470 $(built-program-cmd) with $(test-program-cmd).
24471
c6fe55cf
AJ
244722013-01-11 Andreas Jaeger <aj@suse.de>
24473
24474 [BZ #15003]
24475 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
24476 value. Sync with Linux 3.7.
24477
9e6919c8
DM
244782013-01-10 David S. Miller <davem@davemloft.net>
24479
24480 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
24481 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24482 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24483
1c9f1a02
RM
244842013-01-10 Roland McGrath <roland@hack.frob.com>
24485
24486 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
24487 never set.
24488 * configure: Regenerated.
24489
b9de2dde
DM
244902013-01-10 David S. Miller <davem@davemloft.net>
24491
24492 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24493 sparc V9 rather than using V8 code.
24494 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24495 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24496
e7f68ef4
RM
244972013-01-10 Roland McGrath <roland@hack.frob.com>
24498
24499 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
24500 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
24501 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
24502 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
24503 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
24504 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
24505 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
24506 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
24507 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
24508 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
24509 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
24510 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
24511 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
24512 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
24513 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
24514 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
24515 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
24516 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
24517 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
24518 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
24519 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
24520 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
24521 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
24522 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
24523 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
24524 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
24525 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
24526
5a47cc9c
DM
245272013-01-10 David S. Miller <davem@davemloft.net>
24528
24529 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24530
4cf8f209
L
245312013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24532
24533 * posix/Makefile (tests-static): New variable.
24534 (tests): Add $(tests-static).
24535 (tst-exec-static-ARGS): New variable.
24536 (tst-spawn-static-ARGS): Likewise.
24537 * posix/tst-exec-static.c: New file.
24538 * posix/tst-spawn-static.c: Likewise.
24539 * posix/tst-exec.c: Support run directly.
24540 * posix/tst-spawn.c: Likewise.
24541
fed0faa1
JM
245422013-01-10 Joseph Myers <joseph@codesourcery.com>
24543
828beb13
JM
24544 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
24545 long.
24546 * math/bits/mathcalls.h (llrint): Likewise.
24547 (llround): Likewise.
24548 * stdlib/stdlib.h (struct drand48_data): Likewise.
24549 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
24550 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
24551 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
24552 Likewise.
24553 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
24554 Likewise.
24555 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
24556 (elf_greg_t): Likewise.
24557 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
24558 (__jmp_buf): Likewise.
24559 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
24560 definitions.
24561 (llrint): Likewise, for all definitions.
24562 (llrintl): Likewise.
24563
fed0faa1
JM
24564 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
24565 Remove [__GNUC__] condition.
24566 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
24567 condition to just [__USE_ISOC99].
24568 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
24569
1a20cb20
L
245702013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24571
24572 [BZ #14200]
24573 * sysdeps/unix/sysv/linux/x86/bits/environments.h
24574 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
24575 defined.
24576 (_POSIX_V6_ILP32_OFF32): Likewise.
24577 (_XBS5_ILP32_OFF32): Likewise.
24578 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
24579 (__ILP32_OFFBIG_LDFLAGS): Likewise.
24580
751b85f7
SP
245812013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24582
7490eb81
SP
24583 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
24584
751b85f7
SP
24585 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
24586 doubles __mpexp_twomm1. Adjust usage.
24587 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
24588 Remove.
24589
988197f0
AS
245902013-01-10 Andreas Schwab <schwab@suse.de>
24591
24592 [BZ #14964]
24593 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
24594 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
24595
e83d7298
DM
245962013-01-09 David S. Miller <davem@davemloft.net>
24597
034ed64b 24598 [BZ #15003]
57f41c40
AS
24599 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
24600 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
24601 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
24602 (TCP_FASTOPEN): Define.
e83d7298
DM
24603 (tcp_repair_opt): New structure.
24604 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
24605 enum values.
57f41c40
AS
24606 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
24607 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
24608 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
24609 (tcp_cookie_transactions): New structure.
24610
d5e0b9bd
AB
246112013-01-09 Anton Blanchard <anton@samba.org>
24612
24613 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
24614 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
24615 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
24616 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24617
0c07e3ea
JM
246182013-01-09 Joseph Myers <joseph@codesourcery.com>
24619
24620 * include/features.h (__USE_ANSI): Remove.
24621
232f7002
RM
246222013-01-09 Roland McGrath <roland@hack.frob.com>
24623
ad98e30c
RM
24624 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
24625
232f7002
RM
24626 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
24627
950c99ca
SP
246282013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
24629
b5792741
SP
24630 * sysdeps/s390/fpu/libm-test-ulps: Update.
24631
47cf2278
SP
24632 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24633
950c99ca
SP
24634 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
24635 (__acr): Likewise.
24636 (__cpy): Likewise.
24637 (norm): Likewise.
24638 (denorm): Likewise.
24639 (__mp_dbl): Likewise.
24640 (__dbl_mp): Likewise.
24641 (add_magnitudes): Likewise.
24642 (sub_magnitudes): Likewise.
24643 (__add): Likewise.
24644 (__sub): Likewise.
24645 (__mul): Likewise.
24646 (__inv): Likewise.
24647 (__dvd): Likewise.
24648 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
24649 (__acr): Likewise.
24650 (__cpy): Likewise.
24651 (norm): Likewise.
24652 (denorm): Likewise.
24653 (__mp_dbl): Likewise.
24654 (__dbl_mp): Likewise.
24655 (add_magnitudes): Likewise.
24656 (sub_magnitudes): Likewise.
24657 (__add): Likewise.
24658 (__sub): Likewise.
24659 (__mul): Likewise.
24660 (__inv): Likewise.
24661 (__dvd): Likewise.
24662 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
24663 (__acr): Likewise.
24664 (__cpy): Likewise.
24665 (norm): Likewise.
24666 (denorm): Likewise.
24667 (__mp_dbl): Likewise.
24668 (__dbl_mp): Likewise.
24669 (add_magnitudes): Likewise.
24670 (sub_magnitudes): Likewise.
24671 (__add): Likewise.
24672 (__sub): Likewise.
24673 (__mul): Likewise.
24674 (__inv): Likewise.
24675 (__dvd): Likewise.
24676
eede9df9
JM
246772013-01-08 Joseph Myers <joseph@codesourcery.com>
24678
24679 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
24680 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
24681 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
24682 2 && __USE_EXTERN_INLINES]: Likewise.
24683
c40ea3d9
AJ
246842013-01-08 Andreas Jaeger <aj@suse.de>
24685
24686 [BZ# 14985]
24687 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
24688 Remove.
24689 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24690 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24691
2ccdea26
AB
246922013-01-07 Anton Blanchard <anton@samba.org>
24693
24694 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
24695 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24696 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
24697 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24698 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24699 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24700 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
24701 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24702 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24703 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24704 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24705 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24706 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24707 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24708 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24709 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24710 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24711 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24712 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24713 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24714 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24715 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
24716 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24717 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24718 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
24719 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24720 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24721 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24722 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
24723 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24724 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24725 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24726 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24727 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24728 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24729 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24730 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24731 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24732 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
24733 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24734 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
24735 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24736 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24737
a9708fed
JM
247382013-01-07 Joseph Myers <joseph@codesourcery.com>
24739
375607b9
JM
24740 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
24741 (__MALLOC_PMT): Likewise.
24742 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
24743 [__GNUC__], only on [_LIBC].
24744 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24745 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
24746 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24747 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
24748 forward declaration.
24749 (realloc_hook_ini): Likewise.
24750 (memalign_hook_ini): Likewise.
24751 (__libc_memalign): Do not use __MALLOC_PMT in variable
24752 declaration.
24753 (__libc_valloc): Likewise.
24754 (__libc_pvalloc): Likewise.
24755 (__libc_calloc): Likewise.
24756 (__posix_memalign): Likewise.
24757
a9708fed
JM
24758 [BZ #14996]
24759 * math/s_casinh.c: Include <float.h>.
24760 (__casinh): Do not do computation with squaring and square root
24761 for large arguments.
24762 * math/s_casinhf.c: Include <float.h>.
24763 (__casinhf): Do not do computation with squaring and square root
24764 for large arguments.
24765 * math/s_casinhl.c: Include <float.h>.
24766 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
24767 (__casinhl): Do not do computation with squaring and square root
24768 for large arguments.
24769 * math/libm-test.inc (casin_test): Add more tests.
24770 (casinh_test): Likewise.
24771 * sysdeps/i386/fpu/libm-test-ulps: Update.
24772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24773
afec409a
L
247742013-01-04 H.J. Lu <hongjiu.lu@intel.com>
24775
24776 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24777 (__x86_64_raw_data_cache_size): Likewise.
24778 (__x86_64_data_cache_size_half): Likewise.
24779 (__x86_64_raw_data_cache_size_half): Likewise.
24780 (__x86_64_shared_cache_size): Likewise.
24781 (__x86_64_raw_shared_cache_size): Likewise.
24782 (__x86_64_shared_cache_size_half): Likewise.
24783 (__x86_64_raw_shared_cache_size_half): Likewise.
24784 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24785 to ...
24786 (__x86_data_cache_size): This.
24787 (__x86_64_raw_data_cache_size): Renamed to ...
24788 (__x86_raw_data_cache_size): This.
24789 (__x86_64_data_cache_size_half): Renamed to ...
24790 (__x86_data_cache_size_half): This.
24791 (__x86_64_raw_data_cache_size_half): Renamed to ...
24792 (__x86_raw_data_cache_size_half): This.
24793 (__x86_64_shared_cache_size): Renamed to ...
24794 (__x86_shared_cache_size): This.
24795 (__x86_64_raw_shared_cache_size): Renamed to ...
24796 (__x86_raw_shared_cache_size): This.
24797 (__x86_64_shared_cache_size_half): Renamed to ...
24798 (__x86_shared_cache_size_half): This.
24799 (__x86_64_raw_shared_cache_size_half): Renamed to ...
24800 (__x86_raw_shared_cache_size_half): This.
24801 * sysdeps/x86_64/memcpy.S: Updated.
24802 * sysdeps/x86_64/memset.S: Likewise.
24803 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24804 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24805 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24806
0b3986d0
DM
248072013-01-04 David S. Miller <davem@davemloft.net>
24808
24809 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24810
e47686e9
AS
248112013-01-04 Andreas Schwab <schwab@linux-m68k.org>
24812
d643bac1
AS
24813 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
24814 1 to avoid redefinition warning.
24815 (__USE_GNU): Don't define.
24816 (init_signaling_nan): Protoize.
24817
e47686e9
AS
24818 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24819
b18decba
SP
248202013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24821
fffb407f
SP
24822 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
24823 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
24824 (__cpymn): Likewise.
24825 (norm): Remove commented code.
24826 (denorm): Likewise.
24827 (__mp_dbl): Likewise.
24828 (__inv): Likewise.
24829 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
24830 (__cpymn): Likewise.
24831 (norm): Remove commented code.
24832 (denorm): Likewise.
24833 (__mp_dbl): Likewise.
24834 (__inv): Likewise.
24835
b18decba
SP
24836 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
24837 mp_no value for 1.0 and 2.0.
24838 (norm): Use RADIXI instead of radixi.d.
24839 (denorm): Likewise.
24840 (__mul): Use 0.0 instead of zero.d.
24841 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
24842 mp_no value for 1.0 and 2.0.
24843 (norm): Use RADIXI instead of radixi.d.
24844 (denorm): Likewise.
24845 (__mul): Use 0.0 instead of zero.d.
24846
cdc1c96f
JM
248472013-01-04 Joseph Myers <joseph@codesourcery.com>
24848
24849 [BZ #14994]
24850 * math/s_casinh.c (__casinh): Reduce finite argument to first
24851 quadrant then set signs of results at the end.
24852 * math/s_casinhf.c (__casinhf): Likewise.
24853 * math/s_casinhl.c (__casinhl): Likewise.
24854 * math/libm-test.inc (casin_test): Add more tests.
24855 (casinh_test): Likewise.
24856 * sysdeps/i386/fpu/libm-test-ulps: Update.
24857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24858
302913e1
SP
248592013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24860
6420d207
SP
24861 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
24862
a9e48ab4
SP
24863 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
24864
b7837264
SP
24865 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
24866 declarations.
24867 (denorm): Likewise.
24868 (__mp_dbl): Likewise.
24869 (__inv): Likewise.
24870
f8af25d2
SP
24871 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
24872 and adjust the header comment.
24873
302913e1
SP
24874 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
24875 variable name from declaration.
24876
5d7dd1ca
L
248772013-01-03 H.J. Lu <hongjiu.lu@intel.com>
24878
24879 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24880 Initialize COMMON_CPUID_INDEX_7 element.
24881 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
24882 (CPUID_RTM): Likewise.
24883 (HAS_RTM): Likewise.
24884 (COMMON_CPUID_INDEX_7): New enum.
24885
2f5f40f4
AS
248862013-01-03 Andreas Schwab <schwab@linux-m68k.org>
24887
24888 [BZ #14981]
24889 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
24890 size is zero, record memory as freed.
24891
4056f4a0
AJ
248922013-01-03 Andreas Jaeger <aj@suse.de>
24893
24894 * po/ia.po: Add new Interlingua translation.
24895
ab15736f 248962012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
24897
24898 * locale/programs/localedef.c: Fix description of '--posix' flag.
24899
568035b7
JM
249002013-01-02 Joseph Myers <joseph@codesourcery.com>
24901
e6898b8d
JM
24902 * NEWS: Update dates in second copyright notice.
24903 * README: Update copyright dates in example.
24904 * manual/libc.texinfo: Update copyright dates.
24905 * scripts/test-installation.pl: Update copyright date in --version
24906 output.
24907
0e2f9562
JM
24908 * hurd/ctty-input.c: Fix copyright notice formatting.
24909 * hurd/ctty-output.c: Likewise.
24910 * hurd/dtable.c: Likewise.
24911 * hurd/hurd-raise.c: Likewise.
24912 * hurd/hurdprio.c: Likewise.
24913 * hurd/msgportdemux.c: Likewise.
24914 * misc/sys/file.h: Likewise.
24915 * misc/sys/ioctl.h: Likewise.
24916 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24917 * sysdeps/mach/hurd/chdir.c: Likewise.
24918 * sysdeps/mach/hurd/fchdir.c: Likewise.
24919 * sysdeps/mach/hurd/rename.c: Likewise.
24920 * sysdeps/mach/hurd/rmdir.c: Likewise.
24921 * sysdeps/mach/hurd/seekdir.c: Likewise.
24922 * sysdeps/mach/hurd/setsid.c: Likewise.
24923 * sysdeps/posix/wait3.c: Likewise.
24924
568035b7
JM
24925 * All files with FSF copyright notices: Update copyright dates
24926 using scripts/update-copyrights.
24927 * intl/plural.c: Regenerated.
24928 * locale/programs/charmap-kw.h: Likewise.
24929 * locale/programs/locfile-kw.h: Likewise.
24930
da08f647
SP
249312013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24932
0f5477af
SP
24933 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
24934 four values.
24935
44e0d4c2
SP
24936 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
24937 calculation loop and add branch prediction.
24938
4d55b4e5
SP
24939 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
24940 check access beyond bounds of m1np.
24941
da08f647
SP
24942 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24943 MPTWO.
24944 (__inv): Remove local variable MPTWO to use the global
24945 constant.
24946 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
24947 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24948 variable MPTWO.
24949 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
24950 MP3HALFS static const.
24951
8e051029
DM
249522013-01-01 David S. Miller <davem@davemloft.net>
24953
24954 * po/ca.po: Update from translation team.
24955
f4cf5f2d
JM
249562013-01-01 Joseph Myers <joseph@codesourcery.com>
24957
24958 * scripts/update-copyrights: New file.
24959 * Makeconfig: Reformat copyright notice.
24960 * ctype/ctype.h: Likewise.
24961 * debug/swprintf_chk.c: Likewise.
24962 * elf/dl-cache.c: Likewise.
24963 * elf/dl-debug.c: Likewise.
24964 * elf/dl-object.c: Likewise.
24965 * grp/initgroups.c: Likewise.
24966 * hurd/Makefile: Likewise.
24967 * hurd/hurd/signal.h: Likewise.
24968 * hurd/hurdfault.c: Likewise.
24969 * hurd/hurdioctl.c: Likewise.
24970 * hurd/hurdlookup.c: Likewise.
24971 * hurd/intr-msg.c: Likewise.
24972 * iconv/gconv_open.c: Likewise.
24973 * libio/swprintf.c: Likewise.
24974 * locale/lc-ctype.c: Likewise.
24975 * locale/nl_langinfo.c: Likewise.
24976 * mach/Machrules: Likewise.
24977 * mach/Makefile: Likewise.
24978 * malloc/obstack.h: Likewise.
24979 * manual/Makefile: Likewise.
24980 * manual/tsort.awk: Likewise.
24981 * misc/bits/stab.def: Likewise.
24982 * nis/nis_print_group_entry.c: Likewise.
24983 * nis/nis_table.c: Likewise.
24984 * nis/nss_compat/compat-pwd.c: Likewise.
24985 * nis/nss_compat/compat-spwd.c: Likewise.
24986 * po/Makefile: Likewise.
24987 * posix/fnmatch.c: Likewise.
24988 * posix/regex.h: Likewise.
24989 * resolv/Makefile: Likewise.
24990 * resolv/nss_dns/dns-network.c: Likewise.
24991 * resolv/res_hconf.c: Likewise.
24992 * scripts/gen-sorted.awk: Likewise.
24993 * soft-fp/soft-fp.h: Likewise.
24994 * stdio-common/printf.h: Likewise.
24995 * stdlib/monetary.h: Likewise.
24996 * stdlib/random.c: Likewise.
24997 * stdlib/random_r.c: Likewise.
24998 * sysdeps/generic/Makefile: Likewise.
24999 * sysdeps/gnu/Makefile: Likewise.
25000 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25001 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25002 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25003 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25004 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25005 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25006 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25007 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25008 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25009 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25010 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25011 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25012 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25013 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25014 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
25015 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25016 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25017 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25018 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25019 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25020 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25021 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25022 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25023 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25024 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
25025 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25026 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25027 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
25028 * sysdeps/mach/hurd/errnos.awk: Likewise.
25029 * sysdeps/mach/hurd/fork.c: Likewise.
25030 * sysdeps/mach/hurd/getcwd.c: Likewise.
25031 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
25032 * sysdeps/mach/hurd/mmap.c: Likewise.
25033 * sysdeps/mach/hurd/utimes.c: Likewise.
25034 * sysdeps/mach/hurd/xmknod.c: Likewise.
25035 * sysdeps/posix/profil.c: Likewise.
25036 * sysdeps/posix/readdir_r.c: Likewise.
25037 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25038 * sysdeps/powerpc/bits/setjmp.h: Likewise.
25039 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
25040 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25041 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25042 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25043 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25044 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25045 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25046 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25047 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25048 * sysdeps/pthread/lio_listio.c: Likewise.
25049 * sysdeps/sparc/dl-procinfo.h: Likewise.
25050 * sysdeps/unix/i386/sysdep.S: Likewise.
25051 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
25052 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
25053 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
25054 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
25055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25056 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25057 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25058 * sysdeps/unix/sysv/linux/speed.c: Likewise.
25059 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25060 * sysdeps/wordsize-32/divdi3.c: Likewise.
25061 * time/sys/time.h: Likewise.
25062 * wcsmbs/Makefile: Likewise.
25063
0549fbba
DM
250642013-01-01 David S. Miller <davem@davemloft.net>
25065
a141f1a7
DM
25066 * po/fr.po: Update from translation team.
25067
0549fbba
DM
25068 * catgets/gencat.c: Update copyright year.
25069 * csu/version.c: Likewise.
25070 * debug/catchsegv.sh: Likewise.
25071 * debug/pcprofiledump.c: Likewise.
25072 * debug/xtrace.sh: Likewise.
25073 * elf/ldconfig.c: Likewise.
25074 * elf/ldd.bash.in: Likewise.
25075 * elf/pldd.c: Likewise.
25076 * elf/sotruss.ksh: Likewise.
25077 * elf/sprof.c: Likewise.
25078 * iconv/iconv_prog.c: Likewise.
25079 * iconv/iconvconfig.c: Likewise.
25080 * locale/programs/locale.c: Likewise.
25081 * locale/programs/localedef.c: Likewise.
25082 * login/programs/pt_chown.c: Likewise.
25083 * malloc/memusage.sh: Likewise.
25084 * malloc/memusagestat.c: Likewise.
25085 * malloc/mtrace.pl: Likewise.
25086 * nscd/nscd.c: Likewise.
25087 * nss/getent.c: Likewise.
25088 * nss/makedb.c: Likewise.
25089 * posix/getconf.c: Likewise.
25090
18ea052c
SP
250912012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25092
25093 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
25094 numbers.
25095
9c89fca6
MF
250962012-12-30 Mike Frysinger <vapier@gentoo.org>
25097
25098 * math/bits/mathcalls.h (modf): Use __nonnull.
25099
085ec079
SP
251002012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25101
25102 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
25103 (split): Use macro CN instead of the bare value.
25104 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
25105 could be used.
25106 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
25107 instead of the bare value.
25108 (power1): Likewise.
25109
6d9f97e1
SP
251102012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25111
d63f73be
SP
25112 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
25113 __ATAN_TWOM.
25114 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25115
6d9f97e1
SP
25116 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
25117 their values.
25118 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25119 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25120 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
25121 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25122
4c4febf5
AJ
251232012-12-28 Andreas Jaeger <aj@suse.de>
25124
af5843ef
AJ
25125 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
25126 values are from Linux 3.7.
25127
4c4febf5
AJ
25128 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
25129 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
25130
99136f82
SP
251312012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25132
2f216c3c 25133 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
25134 TRUE case.
25135
99136f82
SP
25136 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
25137 (norm): Likewise.
25138 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
25139 variables with preprocessor constants.
25140 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25141 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25142 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25143
7fffbdff
BH
251442012-12-27 Bruno Haible <bruno@clisp.org>
25145
25146 [BZ #14317]
25147 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
25148 only if needed.
25149
b76eb5f0
SP
251502012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25151
31a7fe5c
SP
25152 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
25153 and use variable directly.
25154 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
25155
b76eb5f0
SP
25156 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25157 MPONE.
25158 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25159 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25160 variable MPONE.
25161 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25162 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25163 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25164 include directive. Remove local variable MPONE.
25165 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25166 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25167 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25168
2c8bfe7d
DM
251692012-12-25 David S. Miller <davem@davemloft.net>
25170
25171 * version.h (RELEASE): Set to "development".
25172 (VERSION): Set to "2.17.90".
25173 * NEWS: Add 2.18 section.
25174
147d03b0
DM
251752012-12-21 David S. Miller <davem@davemloft.net>
25176
25177 * po/hr.po: Update from translation team.
25178
a8ebb2b9
AK
251792012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25180
25181 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
25182
95b4f1b6
SE
251832012-12-19 Steve Ellcey <sellcey@mips.com>
25184
b2d94007 25185 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 25186
cedb2a90
MS
251872012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25188
25189 * manual/contrib.texi (Contributors): Spelling correction.
25190
bbf527d6
DM
251912012-12-15 David S. Miller <davem@davemloft.net>
25192
25193 * po/ru.po: Update from translation team.
25194
bc38c906
DM
251952012-12-13 David S. Miller <davem@davemloft.net>
25196
85429b1a
DM
25197 * NEWS: Mention IFUNC testsuite enhancements.
25198
d283e353
DM
25199 * po/pl.po: Update from translation team.
25200 * po/bg.po: Likewise.
25201
bc38c906
DM
25202 * manual/contrib.texi (Contributors): Update entries for Hongjiu
25203 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
25204
a181b0d7
DM
252052012-12-11 David S. Miller <davem@davemloft.net>
25206
4641d57e
DM
25207 * po/sv.po: Update from translation team.
25208
f7bc6495
DM
25209 * po/vi.po: Update from translation team.
25210
6fc9048f
DM
25211 * po/cs.po: Update from translation team.
25212
a181b0d7
DM
25213 * po/de.po: Update from translation team.
25214 * po/eo.po: Likewise.
25215 * po/nl.po: Likewise.
25216
f70bfe80
SP
252172012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25218
3c8b4190
SP
25219 [BZ #14246]
25220 * manual/argp.texi (Argp Helper Functions): Move node to follow
25221 Argp Parsing State.
25222
f70bfe80
SP
25223 [BZ #14872]
25224 * manual/conf.texi (Limits on File System Capacity): Mention if
25225 terminating null is included in the max size.
25226
188f0adf
AJ
252272012-12-10 Andreas Jaeger <aj@suse.de>
25228
25229 * po/cs.po: Update from translation team.
25230
56e7d3ad
SP
252312012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25232
25233 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25234 void pointer and cast to uintptr_t.
25235 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25236 path.
25237 * sysdeps/s390/s390-64/memcpy.S: Likewise.
25238 * sysdeps/s390/s390-64/memset.S: Likewise.
25239
76f2d2ea 252402012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
25241
25242 [BZ #14833]
25243 * menual/message.texi (Message Translation): Fix typos.
25244 (Helper programs for gettext): Likewise.
25245
67cbf9a2
AS
252462012-12-07 Andreas Schwab <schwab@linux-m68k.org>
25247
25248 [BZ #14898]
25249 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25250 Change to -1.
25251
682d0e9a
DM
252522012-12-07 David S. Miller <davem@davemloft.net>
25253
25254 * po/libc.pot: Update.
25255
573cd484
RH
252562012-12-07 Richard Henderson <rth@redhat.com>
25257
7e9da188 25258 [BZ #10114]
573cd484
RH
25259 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25260 normal/normal case to before the switch.
25261 (_FP_DIV): Likewise.
25262
e933a943
MF
252632012-12-06 Carlos O'Donell <carlos@systemhalted.org>
25264 Mike Frysinger <vapier@gentoo.org>
25265
25266 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
25267 check for __NR_fadvise64_64.
25268
82123268
CM
252692012-12-06 Chris Metcalf <cmetcalf@tilera.com>
25270
25271 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
25272 0, not just to plain "0" as a statement.
25273 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
25274 with cw.
25275
d9814526
JM
252762012-12-06 Joseph Myers <joseph@codesourcery.com>
25277
25278 * NEWS: Use sourceware.org in Bugzilla URL.
25279
7728c574
SP
252802012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25281
f16946dd
SP
25282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25283 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25284
5704bbcb
SP
25285 * stdio-common/tst-put-error.c (do_test): Add newline to the
25286 padded test to ensure flush.
25287
17aa0516
JL
252882012-12-05 Jeff Law <law@redhat.com>
25289
25290 * sunrpc/etc.rpc (fedfs_admin): Add entry.
25291
363313b5
JM
252922012-12-05 Joseph Myers <joseph@codesourcery.com>
25293
effbd42a
JM
25294 * README: Don't refer to ports add-on as distributed separately.
25295 Mention AArch64 in list of systems supported in the ports add-on.
25296
87600365
JM
25297 * LICENSES: Add more non-FSF copyright and license notices.
25298
a0d7066a
JM
25299 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
25300 ((unused)).
25301
66ca5a5b
JM
25302 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
25303
363313b5
JM
25304 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
25305 10000 as width of padded output.
25306
b37984ad
JM
253072012-12-04 Joseph Myers <joseph@codesourcery.com>
25308
9003570a
JM
25309 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
25310
b37984ad
JM
25311 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
25312 variable LX with __attribute__ ((unused)).
25313 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25314 Likewise.
25315 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25316 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25317 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
25318 with __attribute__ ((unused)).
25319
c8df52ec
DM
253202012-12-04 David S. Miller <davem@abraco.davemloft.net>
25321
25322 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
25323
b3b099af
JM
253242012-12-04 Joseph Myers <joseph@codesourcery.com>
25325
c33aa6e3
JM
25326 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
25327 (CFLAGS-nldbl-acos.c): New variable.
25328 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
25329 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
25330 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
25331 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
25332 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
25333 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
25334 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
25335 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
25336 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
25337 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
25338 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
25339 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
25340 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
25341 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
25342 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
25343 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
25344 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
25345 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
25346 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
25347 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
25348 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
25349 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
25350 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
25351 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
25352 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
25353 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
25354 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
25355 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
25356 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
25357 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
25358 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
25359 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
25360 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
25361 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
25362 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
25363 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
25364 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
25365 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
25366 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
25367 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
25368 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
25369 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
25370 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
25371 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
25372 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
25373 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
25374 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
25375 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
25376 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
25377 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
25378 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
25379 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
25380 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
25381 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
25382 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
25383 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
25384 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
25385 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
25386 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
25387 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
25388 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
25389 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
25390 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
25391 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
25392 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
25393 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
25394 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
25395 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
25396 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
25397 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
25398 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
25399 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
25400 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
25401 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
25402 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
25403 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
25404 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
25405 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
25406 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
25407 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
25408 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
25409 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
25410 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
25411 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
25412 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
25413 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
25414 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
25415 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
25416 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
25417 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
25418 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
25419 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
25420 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
25421 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
25422 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
25423 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
25424 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
25425
20f0018d
JM
25426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25427 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25428
b3b099af
JM
25429 [BZ #14914]
25430 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
25431 whole low double instead of just low 47 bits when splitting values
25432 into two parts.
25433
029264d1
AM
254342012-12-03 Allan McRae <allan@archlinux.org>
25435
25436 * manual/stdio.texi (Predefined Printf Handlers): Remove
25437 @hsep and @vsep usage.
25438
c9d6789e
MF
254392012-12-03 Mike Frysinger <vapier@gentoo.org>
25440
25441 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
25442 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
25443
4b7634a5
JL
254442012-12-03 Jeff Law <law@redhat.com>
25445
25446 * time/sys/time.h (settimeofday): Do not mark TV argument
25447 as __nonnull.
25448
eb6cbd24
MF
254492012-12-01 Mike Frysinger <vapier@gentoo.org>
25450
25451 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
25452 when currently writing and seek to current position when not.
25453 * libio/Makefile (tests): Remove bug-fclose1.
25454 * libio/bug-fclose1.c: Delete.
25455
f638872a
JM
254562012-12-01 Joseph Myers <joseph@codesourcery.com>
25457
25458 * manual/arith.texi (feenableexcept): Fix typo.
25459 (fedisableexcept): Likewise.
25460
48085d14
RM
254612012-11-30 Roland McGrath <roland@hack.frob.com>
25462
25463 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
25464 second, differently-typed declaration, rather than a cast.
25465
1a538b9f
SP
254662012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25467
25468 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
25469 * include/rpc/svc.h: ... here.
25470
d07f2ff1 254712012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
25472
25473 [BZ #13013]
25474 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
25475 depending n and resplen2 to catch cases where answer
25476 equals answerp2.
25477
c93ec1f0
CD
254782012-11-29 Carlos O'Donell <carlos@systemhalted.org>
25479
25480 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
25481 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
25482
37db69de
MF
254832012-11-29 Mike Frysinger <vapier@gentoo.org>
25484
25485 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
25486
e10c4e4f
RM
254872012-11-29 Roland McGrath <roland@hack.frob.com>
25488
25489 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
25490
2af1b328
JL
254912012-11-28 Jeff Law <law@redhat.com>
25492
25493 [BZ #13761]
25494 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
25495 dataset_temporary. Track alloca usage into alloca_used.
25496 If dataset is large allocate and release it via malloc/free.
25497
111db5b1
FW
254982012-06-04 Florian Weimer <fweimer@redhat.com>
25499
f06cc227 25500 [BZ #14197]
111db5b1
FW
25501 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
25502
dd694abd
DM
255032012-11-28 David S. Miller <davem@davemloft.net>
25504
25505 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25506
9984dd01
JM
255072012-11-28 Joseph Myers <joseph@codesourcery.com>
25508
25509 [BZ #14803]
25510 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
25511 of pi/2 rounded to nearest to 64 bits.
25512 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
25513 nearest to 64 bits.
25514 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
25515 bits.
25516
14bc93a9
JL
255172012-11-28 Jeff Law <law@redhat.com>
25518 Martin Osvald <mosvald@redhat.com>
25519
25520 [BZ #14889]
25521 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
25522 * sunrpc/svc.c: Include time.h.
25523 (__svc_accept_failed): New function.
25524 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
25525 any reason other than EINTR, call __svc_accept_failed.
25526 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
25527 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
25528
e3c6aa3a
AS
255292012-11-28 Andreas Schwab <schwab@suse.de>
25530
25531 * scripts/abilist.awk: Also handle indirect functions in .opd
25532 section.
25533
1bead169
JM
255342012-11-28 Joseph Myers <joseph@codesourcery.com>
25535
25536 [BZ #13881]
25537 * sysdeps/x86/fpu/powl_helper.c: New file.
25538 * sysdeps/x86/fpu/Makefile: Likewise.
25539 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
25540 (p3): New object.
25541 (__ieee754_powl): Use __powl_helper for finite arguments except
25542 integer exponents below 8.
25543 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
25544 (p3): New object.
25545 (__ieee754_powl): Use __powl_helper for finite arguments except
25546 integer exponents below 8.
25547 * math/libm-test.inc (pow_test): Add more tests and enable some
25548 previously disabled tests.
25549 * sysdeps/i386/fpu/libm-test-ulps: Update.
25550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25551
0817d63d
SP
255522012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25553 Carlos O'Donell <carlos_odonell@mentor.com>
25554
25555 * nss/makedb.c (is_prime): Assert that input is odd and greater
25556 than 4. Note that fact in a comment too.
25557 (next_prime): Add 4 to input.
25558
de2fd463
SP
255592012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25560
25561 [BZ #11741]
25562 * libio/Makefile (tests): Add test case tst-fwrite-error.
25563 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
25564 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25565 * libio/tst-fwrite-error.c: New test case.
25566
c515fb51
L
255672012-11-26 H.J. Lu <hongjiu.lu@intel.com>
25568
25569 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
25570 before casting to void *.
25571 * include/libc-internal.h (__pointer_type): New macro.
25572 (__integer_if_pointer_type_sub): Likewise.
25573 (__integer_if_pointer_type): Likewise.
25574 (cast_to_integer): Likewise.
25575 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
25576 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
25577 before casting to atomic64_t.
25578 (atomic_exchange_acq): Likewise.
25579 (__arch_exchange_and_add_body): Likewise.
25580 (__arch_add_body): Likewise.
25581 (atomic_add_negative): Likewise.
25582 (atomic_add_zero): Likewise.
25583
4cf77aa9
JM
255842012-11-26 Joseph Myers <joseph@codesourcery.com>
25585
25586 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
25587 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
25588 (add_fdes): Likewise.
25589 (linear_search_fdes): Likewise.
25590 (binary_search_unencoded_fdes): Likewise.
25591
d260b3b4
AS
255922012-11-26 Andreas Schwab <schwab@linux-m68k.org>
25593
25594 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
25595
67060746
AC
255962012-11-24 Adam Conrad <adconrad@0c3.net>
25597
25598 * configure.in: Autodetect C++ header directories.
25599 * configure: Regenerated.
25600
800938a1
MF
256012012-11-23 Mike Frysinger <vapier@gentoo.org>
25602
25603 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
25604
4e6e34e6
AS
256052012-11-23 Andreas Schwab <schwab@linux-m68k.org>
25606
25607 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25608
7c7feb47
JM
256092012-11-22 Joseph Myers <joseph@codesourcery.com>
25610
7184dcdf
JM
25611 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
25612 LDBL_MANT_DIG == 106]: Disable some tests.
25613 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25614 Likewise.
25615 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25616 Likewise.
25617
0a42601f
JM
25618 [BZ #14871]
25619 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
25620 input for small inputs. Return +/- pi/2 for large inputs.
25621 * math/libm-test.inc (atan_test): Add more tests.
25622
79c9b9fe
JM
25623 * sysdeps/generic/unwind-dw2-fde-glibc.c
25624 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
25625 __attribute__ ((unused)).
25626
c60d3bf2
JM
25627 [BZ #14645]
25628 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
25629 x * y if x and y are nonzero and z is zero.
25630
ef1e0867
JM
25631 [BZ #14811]
25632 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
25633 nonzero exponents with absolute value below 0x1p-117 to +/-
25634 0x1p-117.
25635
1468ded3
JM
25636 [BZ #14869]
25637 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
25638 up arguments below 2**-450, not just those below 2**-500.
25639 * math/libm-test.inc (hypot_test): Add another test.
25640
8e27e3cc
JM
25641 [BZ #14868]
25642 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
25643 Return a+b for ratio over 2**120, not 2**60.
25644 * math/libm-test.inc (hypot_test): Add another test.
25645
c9c0279b
JM
25646 * math/libm-test.inc (clog_test): Use
25647 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
25648 (clog10_test): Likewise.
25649
7c7feb47
JM
25650 [BZ #6778]
25651 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
25652
fff1530e
AS
256532012-11-22 Andreas Schwab <schwab@suse.de>
25654
25655 * sysdeps/i386/fpu/libm-test-ulps: Update.
25656
94558d30
PT
256572012-11-22 Pino Toscano <toscano.pino@tiscali.it>
25658
25659 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
25660 printf output with newline.
25661
7e1be741
L
256622012-11-21 H.J. Lu <hongjiu.lu@intel.com>
25663
6bfea974
L
25664 [BZ #14865]
25665 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
25666 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
25667 -z nodlopen, -z initfirst and -z execstack support.
25668 * configure: Regenerated.
25669
7e1be741
L
25670 * elf/elf.h (DF_1_NODIRECT): New macro.
25671 (DF_1_IGNMULDEF): Likewise.
25672 (DF_1_NOKSYMS): Likewise.
25673 (DF_1_NOHDR): Likewise.
25674 (DF_1_EDITED): Likewise.
25675 (DF_1_NORELOC): Likewise.
25676 (DF_1_SYMINTPOSE): Likewise.
25677 (DF_1_GLOBAUDIT): Likewise.
25678 (DF_1_SINGLETON): Likewise.
25679 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
25680 DT_1_SUPPORTED_MASK bits.
25681 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
25682
105ce2ce
CD
256832012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
25684
25685 * sysdeps/unix/make-syscalls.sh: Document prefixes.
25686
123be9de
TS
256872012-11-20 Thomas Schwinge <thomas@codesourcery.com>
25688
d072f3f7
TS
25689 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
25690 macro.
25691
123be9de
TS
25692 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
25693 (sendmmsg): Move declarations...
25694 * socket/sys/socket.h: ... here.
25695 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
25696 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
25697 include it from...
25698 * socket/recvmmsg.c: ... this new file.
25699 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
25700 (sendmmsg): Rename to __sendmmsg, create weak alias and make
25701 definition of __sendmmsg hidden.
25702 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25703 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
25704 Move ENOSYS stub into and include it from...
25705 * socket/sendmmsg.c: ... this new file.
25706 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
25707 (sysdep_routines): Move recvmmsg and sendmmsg...
25708 * socket/Makefile (routines): ... here.
25709 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
25710 (GLIBC_PRIVATE): Add __sendmmsg.
25711 * include/sys/socket.h (__sendmmsg): Add declarations.
25712 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
25713 sendmmsg.
25714
cf9a5d18
JM
257152012-11-20 Joseph Myers <joseph@codesourcery.com>
25716
25717 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
25718 variable I1 with __attribute__ ((unused)).
25719 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25720
ecd4caf9
JM
257212012-11-19 Joseph Myers <joseph@codesourcery.com>
25722
be14d48f
JM
25723 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
25724 DUMMY variables with __attribute__ ((unused)).
25725
ecd4caf9
JM
25726 * bits/byteswap.h: Include <bits/types.h>.
25727 (__bswap_64): Use __uint64_t instead of unsigned long long int.
25728
986cab95
PT
257292012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25730
25731 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
25732 string_t. Do not manually set errno.
25733 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
25734 length with __strnlen. Make sure to both set errno and return it on
25735 failure.
25736
6d33cc9d
DM
257372012-11-19 David S. Miller <davem@davemloft.net>
25738
25739 With help from Joseph Myers.
25740 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
25741 very large arguments properly.
25742 * math/libm-test.inc (atan_test): New tests.
25743 (atan2_test): New tests.
25744 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25745 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25746
ee663277
JM
257472012-11-19 Joseph Myers <joseph@codesourcery.com>
25748
877f2d8e
JM
25749 [BZ #14856]
25750 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
25751 Define to 3.
25752
116fc08a
JM
25753 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
25754 [POSIX] (EADDRNOTAVAIL): Likewise.
25755 [POSIX] (EAFNOSUPPORT): Likewise.
25756 [POSIX] (EALREADY): Likewise.
25757 [POSIX] (ECONNABORTED): Likewise.
25758 [POSIX] (ECONNREFUSED): Likewise.
25759 [POSIX] (ECONNRESET): Likewise.
25760 [POSIX] (EDESTADDRREQ): Likewise.
25761 [POSIX] (EDQUOT): Likewise.
25762 [POSIX] (EHOSTUNREACH): Likewise.
25763 [POSIX] (EIDRM): Likewise.
25764 [POSIX] (EISCONN): Likewise.
25765 [POSIX] (ELOOP): Likewise.
25766 [POSIX] (EMULTIHOP): Likewise.
25767 [POSIX] (ENETDOWN): Likewise.
25768 [POSIX] (ENETUNREACH): Likewise.
25769 [POSIX] (ENOBUFS): Likewise.
25770 [POSIX] (ENODATA): Likewise.
25771 [POSIX] (ENOLINK): Likewise.
25772 [POSIX] (ENOMSG): Likewise.
25773 [POSIX] (ENOPROTOOPT): Likewise.
25774 [POSIX] (ENOSR): Likewise.
25775 [POSIX] (ENOSTR): Likewise.
25776 [POSIX] (ENOTCONN): Likewise.
25777 [POSIX] (ENOTSOCK): Likewise.
25778 [POSIX] (EOPNOTSUPP): Likewise.
25779 [POSIX] (EOVERFLOW): Likewise.
25780 [POSIX] (EPROTO): Likewise.
25781 [POSIX] (EPROTONOSUPPORT): Likewise.
25782 [POSIX] (EPROTOTYPE): Likewise.
25783 [POSIX] (ESTALE): Likewise.
25784 [POSIX] (ETIME): Likewise.
25785 [POSIX] (ETXTBSY): Likewise.
25786 [POSIX] (EWOULDBLOCK): Likewise.
25787 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25788 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25789 [POSIX] (SEEK_CUR): Likewise.
25790 [POSIX] (SEEK_END): Likewise.
25791 [POSIX || UNIX98] (mode_t): Do not require.
25792 [POSIX] (off_t): Likewise.
25793 [POSIX] (pid_t): Likewise.
25794 [POSIX] (sys/stat.h): Do not allow header.
25795 [POSIX] (unistd.h): Likewise.
25796 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
25797 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
25798 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
25799 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
25800 require.
25801 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
25802 sigevent): Specify elements.
25803 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
25804 entry.
25805 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
25806 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
25807
a483863f
JM
25808 * conform/data/cpio.h-data [POSIX]: Disable whole file.
25809 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
25810 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
25811 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
25812 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
25813 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
25814 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
25815 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
25816 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
25817 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
25818 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
25819 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
25820 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
25821 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
25822 Likewise.
25823 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
25824 Likewise.
25825 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
25826 Likewise.
25827 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
25828 Likewise.
25829 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
25830 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
25831 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
25832 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
25833 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
25834 Specify lower bound on value.
25835 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
25836 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
25837 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
25838 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
25839 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
25840 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
25841 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
25842 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
25843 value.
25844 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
25845 as optional.
25846 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
25847 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
25848 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
25849 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
25850 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
25851 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
25852 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
25853 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
25854 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
25855 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
25856 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
25857 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
25858 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
25859 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
25860 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
25861 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
25862 entry.
25863 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
25864 optional.
25865 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
25866 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
25867 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
25868 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
25869 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
25870 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
25871 Likewise.
25872 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
25873 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
25874 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
25875 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
25876 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
25877 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
25878 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
25879 as optional.
25880 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
25881 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
25882 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
25883 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
25884 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
25885 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
25886 specify as optional.
25887 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
25888 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
25889 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
25890 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
25891 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
25892 [XPG3] (NL_LANGMAX): Likewise.
25893 [POSIX || XPG3] (NL_MSGMAX): Likewise.
25894 [POSIX || XPG3] (NL_NMAX): Likewise.
25895 [POSIX || XPG3] (NL_SETMAX): Likewise.
25896 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
25897 [XPG3] (NZERO): Likewise.
25898 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
25899 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
25900 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
25901 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
25902 (REG_ERANGE): Expect.
25903 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
25904 optional-constant.
25905 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
25906 Use (void) in prototype.
25907 [POSIX] (*_t): Allow.
25908 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
25909 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
25910 (WRDE_BADVAL): Expect.
25911
5ba924e3
JM
25912 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
25913 expect.
25914 [XPG3 || XPG4] (O_RSYNC): Likewise.
25915 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
25916 Likewise.
25917 [XPG3 || XPG4] (pthread_sigmask): Likewise.
25918 [XPG3 || XPG4] (sigqueue): Likewise.
25919 [XPG3 || XPG4] (sigtimedwait): Likewise.
25920 [XPG3 || XPG4] (sigwaitinfo): Likewise.
25921 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
25922 [XPG3 || XPG4] (vsnprintf): Likewise.
25923 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
25924 Likewise.
25925 [XPG3 || XPG4] (blksize_t): Likewise.
25926 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
25927 Likewise.
25928 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
25929 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25930 [XPG3 || XPG4] (struct itimerspec): Likewise.
25931 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
25932 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
25933 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
25934 [XPG3 || XPG4] (clockid_t): Likewise.
25935 [XPG3 || XPG4] (timer_t): Likewise.
25936 [XPG3 || XPG4] (clock_getres): Likewise.
25937 [XPG3 || XPG4] (clock_gettime): Likewise.
25938 [XPG3 || XPG4] (clock_settime): Likewise.
25939 [XPG3 || XPG4] (nanosleep): Likewise.
25940 [XPG3 || XPG4] (timer_create): Likewise.
25941 [XPG3 || XPG4] (timer_delete): Likewise.
25942 [XPG3 || XPG4] (timer_gettime): Likewise.
25943 [XPG3 || XPG4] (timer_getoverrun): Likewise.
25944 [XPG3 || XPG4] (timer_settime): Likewise.
25945 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
25946 [XPG3 || XPG4] (getlogin_r): Likewise.
25947 [XPG3 || XPG4] (pread): Likewise.
25948 [XPG3 || XPG4] (pthread_atfork): Likewise.
25949 [XPG3 || XPG4] (pwrite): Likewise.
25950
ee663277
JM
25951 [BZ #14835]
25952 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
25953 <bits/siginfo.h>.
25954
942caa16
PT
259552012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25956
e19af380
PT
25957 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
25958 finalizing MALLSTREAM.
25959
942caa16
PT
25960 * sysdeps/mach/hurd/syncfs.c: New file.
25961
cfde9b46
SP
259622012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25963
25964 [BZ #14719]
25965 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
25966 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
25967 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
25968 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
25969 (_nss_dns_gethostbyname4_r): Likewise.
25970 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
25971 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
25972
f6da27e5
PH
259732012-11-19 Peng Haitao <penght@cn.fujitsu.com>
25974
25975 [BZ #13763]
25976 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
25977
6665d4a2
SM
259782012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
25979
1f51ee92
SM
25980 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
25981 * elf/cache.c (print_entry): Print ",AArch64" for
25982 FLAG_AARCH64_LIB64
25983
6665d4a2
SM
25984 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
25985 * elf/cache.c (print_entry): Print ",hard-float" for
25986 FLAG_ARM_LIBHF.
25987
05b227bd
DM
259882012-11-18 David S. Miller <davem@davemloft.net>
25989
25990 With help from Joseph Myers.
25991 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
25992 cutoff to 2**-13.
25993 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
25994 cutoff to 2**-25.
25995 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
25996 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
25997 small.
25998 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
25999 * math/libm-test.inc (y0_test): New tests.
26000 (y1_test): New tests.
26001 * sysdeps/i386/fpu/libm-test-ulps: Update.
26002 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26003 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26004
786b0b67
AS
260052012-11-18 Andreas Schwab <schwab@linux-m68k.org>
26006
26007 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
26008 64-bit targets.
26009 * configure: Regenerated.
26010
8e18b86d
DM
260112012-11-17 David S. Miller <davem@davemloft.net>
26012
26013 [BZ #14811]
26014 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
26015 nonzero exponents with absolute value below 0x1p-128 to +/-
26016 0x1p-128.
26017
531f1ae0
JM
260182012-11-17 Joseph Myers <joseph@codesourcery.com>
26019
12df29e2
JM
26020 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
26021
150dc1a0
JM
26022 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
26023
531f1ae0
JM
26024 * posix/getconf-speclist.c: New file.
26025 * posix/posix-envs.def: Likewise.
26026 * posix/confstr.c (START_ENV_GROUP): New macro.
26027 (END_ENV_GROUP): Likewise.
26028 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26029 (KNOWN_PRESENT_ENV_STRING): Likewise.
26030 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26031 (UNKNOWN_ENVIRONMENT): Likewise.
26032 (confstr): Include posix-envs.def instead of handling
26033 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
26034 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
26035 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
26036 (END_ENV_GROUP): Likewise.
26037 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26038 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26039 (UNKNOWN_ENVIRONMENT): Likewise.
26040 (__sysconf): Include posix-envs.def instead of handling associated
26041 cases directly here.
26042 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
26043 preprocessing getconf-speclist.c rather than running getconf or
26044 generating empty file.
26045
a93f9cbc
PT
260462012-11-16 Pino Toscano <toscano.pino@tiscali.it>
26047
26048 * scripts/check-local-headers.sh: Ignore 'mach' headers.
26049
d64d9f87
AL
260502012-11-16 Andrej Lajovic <natrij@gmail.com>
26051
26052 [BZ #14672]
26053 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
26054
447885eb
DM
260552012-11-16 David S. Miller <davem@davemloft.net>
26056
26057 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
26058 smaller than LDBL_EPSILON/2.0L, just return xm1.
26059
bcbf9830
L
260602012-11-16 H.J. Lu <hongjiu.lu@intel.com>
26061
26062 * elf/tst-array1.c (init): Set constructor priority to 1000.
26063 (fini): Set destructor priority to 1000.
26064 * elf/tst-array2dep.c: Likewise.
26065
2b766585
SP
260662012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26067
26068 [BZ #11741]
26069 * libio/fileops.c (_IO_new_file_write): Correctly return error.
26070 (_IO_new_file_xsputn): Also return EOF if none of the input
26071 data was written when overflow failed.
26072 * libio/iopadn.c (_IO_padn): Likewise.
26073 * libio/iowpadn.c (_IO_wpadn): Likewise.
26074 * stdio-common/tst-put-error.c: Add copyright notice.
26075 (do_test): Add case for printing padded string.
26076 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
26077 _IO_padn returned error.
26078 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
26079 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
26080 return EOF.
26081
b1848fde
SP
260822012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26083
26084 * libio/libioP.h: Add comment note that the references to C++
26085 bits are now obsolete.
26086
2fd89785
MS
260872012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26088
26089 * math/libm-test.inc (check_complex): Use asprintf.
26090
e3ea5409
JM
260912012-11-14 Joseph Myers <joseph@codesourcery.com>
26092
26093 * debug/pcprofiledump.c (print_version): Update copyright year.
26094 * malloc/memusagestat.c (print_version): Likewise.
26095
2e64d265
L
260962012-11-14 H.J. Lu <hongjiu.lu@intel.com>
26097
26098 [BZ #14831]
26099 * elf/Makefile (tests): Add tst-audit8.
26100 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
26101 ($(objpfx)tst-audit8.out): New target.
26102 (tst-audit8-ENV): New variable.
26103 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
26104 audit if l_reloc_result is NULL.
26105 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
26106 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
26107 * elf/tst-audit8.c: New file.
26108
c485e4d2
MS
261092012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26110
26111 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
26112 * misc/Makefile (CFLAGS-select.c): Define.
26113 * posix/Makefile (CFLAGS-pause.c): Define.
26114
3a0d900a
DM
261152012-11-13 David S. Miller <davem@davemloft.net>
26116
26117 * crypt/Makefile: Move test targets after toplevel Rules
26118 inclusion. Grab any necessary sysdep routines when linking.
26119 * crypt/md5.c (md5_process_block): Remove define, we will always
26120 name it __md5_process_block.
26121 (md5_finish_ctx): Update md5_process_block call.
26122 (md5_stream): Likewise.
26123 (md5_process_bytes): Likewise.
26124 (md5_process_block): Rename to __md5_process_block and move to ...
26125 * crypt/md5-block.c: ... here.
26126 * crypt/sha256.c (sha256_process_block): Move to ...
26127 * crypt/sha256-block.c: ... here.
26128 * crypt/sha512.c (sha512_process_block): Move to ...
26129 * crypt/sha512-block.c: ... here.
26130 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
26131 path.
26132 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
26133 * sysdeps/sparc/sparc64/multiarch/Makefile
26134 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
26135 crypt subdir.
26136 (localedef-aux): Add md5 crypto assembler when in locale subdir.
26137 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
26138 multiarch changes.
26139 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
26140 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
26141 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
26142 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
26143 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
26144 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
26145 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
26146 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
26147 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
26148 file.
26149 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
26150 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
26151 file.
26152 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
26153
8ca89318
JM
261542012-11-13 Joseph Myers <joseph@codesourcery.com>
26155
e27d476a
JM
26156 * timezone/tzselect.ksh: Update from tzcode git revision
26157 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
26158 * timezone/zdump.c: Likewise.
26159 * timezone/zic.c: Likewise.
26160 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26161 in TZVERSION setting, not $(PKGVERSION).
26162 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
26163 REPORT_BUGS_TO settings.
26164
8ca89318
JM
26165 [BZ #14838]
26166 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26167 macro.
26168
47594329
MS
261692012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26170
26171 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26172 detection to immediately after _FP_ROUND().
26173 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26174 bits are 0.
26175
640ac3f1
DM
261762012-11-11 David S. Miller <davem@davemloft.net>
26177
26178 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26179 inttypes.h
26180 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
26181 __close rather than their public counterparts.
26182
3d2577bb
JM
261832012-11-10 Joseph Myers <joseph@codesourcery.com>
26184
26185 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
26186 file.
26187 [UNIX98] (sem_timedwait): Do not expect.
26188 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
26189 [XPG4 || UNIX98] (sockatmark): Do not expect.
26190 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
26191 (clock_getcpuclockid): Do not expect.
26192 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
26193 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
26194 Do not expect.
26195 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
26196 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
26197 [UNIX98] (vwscanf): Likewise.
26198 [UNIX98] (vswscanf): Likewise.
26199
fb1ae1ee
JM
262002012-11-09 Joseph Myers <joseph@codesourcery.com>
26201
9ec6f8bd
JM
26202 * timezone/version.h: Remove file.
26203 * timezone/README: Do not refer to version.h.
26204 * timezone/Makefile ($(objpfx)zic.o): New dependency on
26205 $(objpfx)version.h.
26206 ($(objpfx)zdump.o): Likewise.
c3f81911 26207 ($(objpfx)version.h): New target.
9ec6f8bd 26208
0aa8f8a1
JM
26209 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
26210 2012i.
26211 * timezone/README: Don't mention modification to tzselect.ksh.
26212 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
26213 work on unmodified tzselect.ksh. Substitute version numbers in
26214 tzselect.ksh.
26215
4e87147f
JM
26216 * Makefile (format-me): Remove.
26217 (INSTALL): Adjust indentation. Use commands directly instead of
26218 using $(format-me).
26219
8b748aed
JM
26220 * aclocal.m4 (ACX_PKGVERSION): New macro.
26221 (ACX_BUGURL): Likewise.
26222 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26223 (PKGVERSION): New AC_DEFINE_UNQUOTED.
26224 (REPORT_BUGS_TO): Likewise.
26225 * configure: Regenerated.
26226 * config.h.in (PKGVERSION): New macro.
26227 (REPORT_BUGS_TO): Likewise.
26228 * config.make.in (PKGVERSION): New variable.
26229 (PKGVERSION_TEXI): Likewise.
26230 (REPORT_BUGS_TO): Likewise.
26231 (REPORT_BUGS_TEXI): Likewise.
26232 * Makefile (format-me): Use -I$(common-objpfx)manual.
26233 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26234 ($(common-objpfx)manual/%): New target.
26235 (manual/%): Remove target.
26236 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26237 (print_version): Use PKGVERSION.
26238 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26239 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26240 and REPORT_BUGS_TO.
26241 ($(objpfx)xtrace): Likewise.
26242 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26243 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26244 (print_version): Use PKGVERSION.
26245 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26246 (do_version): Use PKGVERSION.
26247 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26248 REPORT_BUGS_TO.
26249 (common-ldd-rewrite): Likewise.
26250 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26251 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26252 (print_version): Use PKGVERSION.
26253 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26254 * elf/pldd.c (argp_program_bug_address): Remove variable.
26255 (more_help): New function.
26256 (argp): Use more_help.
26257 (print_version): Use PKGVERSION.
26258 * elf/sln.c (main): Use PKGVERSION.
26259 (usage): Use REPORT_BUGS_TO.
26260 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26261 (top level): Use PKGVERSION.
26262 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26263 (print_version): Use PKGVERSION.
26264 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
26265 (print_version): Use PKGVERSION.
26266 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
26267 (print_version): Use PKGVERSION.
26268 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
26269 (print_version): Use PKGVERSION.
26270 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
26271 (print_version): Use PKGVERSION.
26272 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
26273 (print_version): Use PKGVERSION.
26274 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
26275 and BUGURL.
26276 ($(objpfx)memusage): Likewise.
26277 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
26278 (do_version): Use PKGVERSION.
26279 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
26280 (print_version): Use PKGVERSION.
26281 * malloc/mtrace.pl ($PACKAGE): Remove variable.
26282 ($PKGVERSION): New variable.
26283 ($REPORT_BUGS_TO): Likewise.
26284 (usage): Use $REPORT_BUGS_TO.
26285 (top level): Use $PKGVERSION.
26286 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
26287 ($(objpfx)pkgvers.texi): New rule.
26288 ($(objpfx)stamp-pkgvers): Likewise.
26289 * manual/install.texi: Include pkgvers.texi.
26290 (--with-pkgversion): Document new configure option.
26291 (--with-bugurl): Likewise.
26292 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
26293 than necessarily for this particular distribution. Use
26294 REPORT_BUGS_TO for where to report bugs.
26295 * INSTALL: Regenerated.
26296 * manual/libc.texinfo: Include pkgvers.texi.
26297 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
26298 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
26299 (print_version): Use PKGVERSION.
26300 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
26301 (print_version): Use PKGVERSION.
26302 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
26303 (print_version): Use PKGVERSION.
26304 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
26305 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
26306 macro.
26307 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
26308 (print_version): Use PKGVERSION.
26309 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
26310 (print_version): Use PKGVERSION.
26311 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
26312 and PKGVERSION.
26313
92e4b6a9
JM
26314 * timezone/checktab.awk: Update from tzcode 2012i.
26315 * timezone/ialloc.c: Likewise.
26316 * timezone/private.h: Likewise.
26317 * timezone/scheck.c: Likewise.
26318 * timezone/tzfile.h: Likewise.
26319 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
26320 (TZVERSION): Hardcode tzcode version number.
26321 * timezone/zdump.c: Update from tzcode 2012i.
26322 * timezone/zic.c: Likewise.
26323 * timezone/version.h: New file.
26324 * timezone/README: Describe version.h. Update upstream location.
26325
9bde902c
JM
26326 [BZ #14824]
26327 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
26328 (mktemp): Enable declaration.
26329 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
26330 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
26331 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
26332 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
26333 Likewise.
26334 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
26335 Likewise.
26336 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
26337 Likewise.
26338 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
26339 Likewise.
26340 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
26341 Likewise.
26342 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
26343 Likewise.
26344
fb1ae1ee
JM
26345 [BZ #14821]
26346 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
26347 offset in buffer as u_int32_t not u_long. Consistently use memcpy
26348 for copies of such integer values.
26349 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26350 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26351
2c1adbcb
AJ
263522012-11-09 Andreas Jaeger <aj@suse.de>
26353
26354 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
26355 definitions and declarations that are provided by
26356 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26357
d0f8457e
AK
263582012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26359
3a235abb 26360 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
26361 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
26362 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
26363 definition.
26364
57241e26
MS
263652012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26366
26367 * elf/elf.h: Update comment before AArch64 relocations.
26368
60e8270d
DM
263692012-11-07 David S. Miller <davem@davemloft.net>
26370
26371 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
26372 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26373 (__start_context): Declare.
26374 (__makecontext_ret): Delete.
26375 (__makecontext): Hook up __start_context instead of
26376 __makecontext_ret.
26377 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
26378 (sysdep_routines): Add __start_context when in stdlib.
26379
0fbb0fbc
JM
263802012-11-07 Joseph Myers <joseph@codesourcery.com>
26381
26382 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
26383 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
26384 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
26385 hardcoded "nm".
26386 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
26387 (READELF): New variable. Use it instead of hardcoded "readelf".
26388
eb48db7e
L
263892012-11-07 H.J. Lu <hongjiu.lu@intel.com>
26390
26391 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
26392 * sysdeps/x86/Makefile: Here.
26393 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
26394 * sysdeps/x86/tst-xmmymm.sh: This.
26395
05bcf62a
JM
263962012-11-07 Joseph Myers <joseph@codesourcery.com>
26397
c4b6cf53
JM
26398 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
26399 expectations.
26400 [UNIX98] (pthread_barrier_t): Do not expect.
26401 [UNIX98] (pthread_barrierattr_t): Likewise.
26402 [UNIX98] (pthread_spinlock_t): Likewise.
26403 [UNIX98] (pthread_barrier_destroy): Likewise.
26404 [UNIX98] (pthread_barrier_init): Likewise.
26405 [UNIX98] (pthread_barrier_wait): Likewise.
26406 [UNIX98] (pthread_barrierattr_destroy): Likewise.
26407 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
26408 [UNIX98] (pthread_barrierattr_init): Likewise.
26409 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
26410 [UNIX98] (pthread_getcpuclockid): Likewise.
26411 [UNIX98] (pthread_mutex_timedlock): Likewise.
26412 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
26413 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
26414 [UNIX98] (pthread_sigmask): Likewise.
26415 [UNIX98] (pthread_spin_destroy): Likewise.
26416 [UNIX98] (pthread_spin_init): Likewise.
26417 [UNIX98] (pthread_spin_lock): Likewise.
26418 [UNIX98] (pthread_spin_trylock): Likewise.
26419 [UNIX98] (pthread_spin_unlock): Likewise.
26420 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
26421 Do not expect.
26422 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
26423 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
26424 [XPG3 || XPG4] (pthread_cond_t): Likewise.
26425 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
26426 [XPG3 || XPG4] (pthread_key_t): Likewise.
26427 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
26428 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
26429 [XPG3 || XPG4] (pthread_once_t): Likewise.
26430 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
26431 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
26432 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
26433 [XPG3 || XPG4] (pthread_t): Likewise.
26434
cbe6e120
JM
26435 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
26436 not expect.
26437 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
26438
1b126443
JM
26439 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
26440 Change function return type to int.
26441
b961a573
JM
26442 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
26443 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
26444 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
26445 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
26446 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
26447 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
26448 [!POSIX] (posix_madvise): Likewise.
26449 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
26450 && !UNIX98].
26451 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
26452 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
26453 (mode_t): Likewise.
26454 (posix_mem_offset): Likewise.
26455 (posix_typed_mem_get_info): Likewise.
26456 (posix_typed_mem_open): Likewise.
26457
9e188909
JM
26458 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
26459 Change condition to [XOPEN2K8].
26460
05bcf62a
JM
26461 * conform/conformtest.pl: Preprocess allow-header data with -x c
26462 instead of from stdin.
26463 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
26464 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
26465 [C99-based standards] (cerfc): Likewise.
26466 [C99-based standards] (cexp2): Likewise.
26467 [C99-based standards] (cexpm1): Likewise.
26468 [C99-based standards] (clog10): Likewise.
26469 [C99-based standards] (clog1p): Likewise.
26470 [C99-based standards] (clog2): Likewise.
26471 [C99-based standards] (clgamma): Likewise.
26472 [C99-based standards] (ctgamma): Likewise.
26473 [C99-based standards] (cerff): Likewise.
26474 [C99-based standards] (cerfcf): Likewise.
26475 [C99-based standards] (cexp2f): Likewise.
26476 [C99-based standards] (cexpm1f): Likewise.
26477 [C99-based standards] (clog10f): Likewise.
26478 [C99-based standards] (clog1pf): Likewise.
26479 [C99-based standards] (clog2f): Likewise.
26480 [C99-based standards] (clgammaf): Likewise.
26481 [C99-based standards] (ctgammaf): Likewise.
26482 [C99-based standards] (cerfl): Likewise.
26483 [C99-based standards] (cerfcl): Likewise.
26484 [C99-based standards] (cexp2l): Likewise.
26485 [C99-based standards] (cexpm1l): Likewise.
26486 [C99-based standards] (clog10l): Likewise.
26487 [C99-based standards] (clog1pl): Likewise.
26488 [C99-based standards] (clog2l): Likewise.
26489 [C99-based standards] (clgammal): Likewise.
26490 [C99-based standards] (ctgammal): Likewise.
26491 * conform/data/inttypes.h-data [C99-based standards]: Include
26492 stdint.h-data. Remove all expectations for stdint.h contents.
26493 [C99-based standards] (PRI*): Do not allow.
26494 [C99-based standards] (SCN*): Likewise.
26495 [C99-based standards] (*_t): Likewise.
26496 [C99-based-standards] (PRId8): Expect macro.
26497 [C99-based-standards] (PRIi8): Likewise.
26498 [C99-based-standards] (PRIo8): Likewise.
26499 [C99-based-standards] (PRIu8): Likewise.
26500 [C99-based-standards] (PRIx8): Likewise.
26501 [C99-based-standards] (PRIX8): Likewise.
26502 [C99-based-standards] (SCNd8): Likewise.
26503 [C99-based-standards] (SCNi8): Likewise.
26504 [C99-based-standards] (SCNo8): Likewise.
26505 [C99-based-standards] (SCNu8): Likewise.
26506 [C99-based-standards] (SCNx8): Likewise.
26507 [C99-based-standards] (PRIdLEAST8): Likewise.
26508 [C99-based-standards] (PRIiLEAST8): Likewise.
26509 [C99-based-standards] (PRIoLEAST8): Likewise.
26510 [C99-based-standards] (PRIuLEAST8): Likewise.
26511 [C99-based-standards] (PRIxLEAST8): Likewise.
26512 [C99-based-standards] (PRIXLEAST8): Likewise.
26513 [C99-based-standards] (SCNdLEAST8): Likewise.
26514 [C99-based-standards] (SCNiLEAST8): Likewise.
26515 [C99-based-standards] (SCNoLEAST8): Likewise.
26516 [C99-based-standards] (SCNuLEAST8): Likewise.
26517 [C99-based-standards] (SCNxLEAST8): Likewise.
26518 [C99-based-standards] (PRIdFAST8): Likewise.
26519 [C99-based-standards] (PRIiFAST8): Likewise.
26520 [C99-based-standards] (PRIoFAST8): Likewise.
26521 [C99-based-standards] (PRIuFAST8): Likewise.
26522 [C99-based-standards] (PRIxFAST8): Likewise.
26523 [C99-based-standards] (PRIXFAST8): Likewise.
26524 [C99-based-standards] (SCNdFAST8): Likewise.
26525 [C99-based-standards] (SCNiFAST8): Likewise.
26526 [C99-based-standards] (SCNoFAST8): Likewise.
26527 [C99-based-standards] (SCNuFAST8): Likewise.
26528 [C99-based-standards] (SCNxFAST8): Likewise.
26529 [C99-based-standards] (PRId16): Likewise.
26530 [C99-based-standards] (PRIi16): Likewise.
26531 [C99-based-standards] (PRIo16): Likewise.
26532 [C99-based-standards] (PRIu16): Likewise.
26533 [C99-based-standards] (PRIx16): Likewise.
26534 [C99-based-standards] (PRIX16): Likewise.
26535 [C99-based-standards] (SCNd16): Likewise.
26536 [C99-based-standards] (SCNi16): Likewise.
26537 [C99-based-standards] (SCNo16): Likewise.
26538 [C99-based-standards] (SCNu16): Likewise.
26539 [C99-based-standards] (SCNx16): Likewise.
26540 [C99-based-standards] (PRIdLEAST16): Likewise.
26541 [C99-based-standards] (PRIiLEAST16): Likewise.
26542 [C99-based-standards] (PRIoLEAST16): Likewise.
26543 [C99-based-standards] (PRIuLEAST16): Likewise.
26544 [C99-based-standards] (PRIxLEAST16): Likewise.
26545 [C99-based-standards] (PRIXLEAST16): Likewise.
26546 [C99-based-standards] (SCNdLEAST16): Likewise.
26547 [C99-based-standards] (SCNiLEAST16): Likewise.
26548 [C99-based-standards] (SCNoLEAST16): Likewise.
26549 [C99-based-standards] (SCNuLEAST16): Likewise.
26550 [C99-based-standards] (SCNxLEAST16): Likewise.
26551 [C99-based-standards] (PRIdFAST16): Likewise.
26552 [C99-based-standards] (PRIiFAST16): Likewise.
26553 [C99-based-standards] (PRIoFAST16): Likewise.
26554 [C99-based-standards] (PRIuFAST16): Likewise.
26555 [C99-based-standards] (PRIxFAST16): Likewise.
26556 [C99-based-standards] (PRIXFAST16): Likewise.
26557 [C99-based-standards] (SCNdFAST16): Likewise.
26558 [C99-based-standards] (SCNiFAST16): Likewise.
26559 [C99-based-standards] (SCNoFAST16): Likewise.
26560 [C99-based-standards] (SCNuFAST16): Likewise.
26561 [C99-based-standards] (SCNxFAST16): Likewise.
26562 [C99-based-standards] (PRId32): Likewise.
26563 [C99-based-standards] (PRIi32): Likewise.
26564 [C99-based-standards] (PRIo32): Likewise.
26565 [C99-based-standards] (PRIu32): Likewise.
26566 [C99-based-standards] (PRIx32): Likewise.
26567 [C99-based-standards] (PRIX32): Likewise.
26568 [C99-based-standards] (SCNd32): Likewise.
26569 [C99-based-standards] (SCNi32): Likewise.
26570 [C99-based-standards] (SCNo32): Likewise.
26571 [C99-based-standards] (SCNu32): Likewise.
26572 [C99-based-standards] (SCNx32): Likewise.
26573 [C99-based-standards] (PRIdLEAST32): Likewise.
26574 [C99-based-standards] (PRIiLEAST32): Likewise.
26575 [C99-based-standards] (PRIoLEAST32): Likewise.
26576 [C99-based-standards] (PRIuLEAST32): Likewise.
26577 [C99-based-standards] (PRIxLEAST32): Likewise.
26578 [C99-based-standards] (PRIXLEAST32): Likewise.
26579 [C99-based-standards] (SCNdLEAST32): Likewise.
26580 [C99-based-standards] (SCNiLEAST32): Likewise.
26581 [C99-based-standards] (SCNoLEAST32): Likewise.
26582 [C99-based-standards] (SCNuLEAST32): Likewise.
26583 [C99-based-standards] (SCNxLEAST32): Likewise.
26584 [C99-based-standards] (PRIdFAST32): Likewise.
26585 [C99-based-standards] (PRIiFAST32): Likewise.
26586 [C99-based-standards] (PRIoFAST32): Likewise.
26587 [C99-based-standards] (PRIuFAST32): Likewise.
26588 [C99-based-standards] (PRIxFAST32): Likewise.
26589 [C99-based-standards] (PRIXFAST32): Likewise.
26590 [C99-based-standards] (SCNdFAST32): Likewise.
26591 [C99-based-standards] (SCNiFAST32): Likewise.
26592 [C99-based-standards] (SCNoFAST32): Likewise.
26593 [C99-based-standards] (SCNuFAST32): Likewise.
26594 [C99-based-standards] (SCNxFAST32): Likewise.
26595 [C99-based-standards] (PRId64): Likewise.
26596 [C99-based-standards] (PRIi64): Likewise.
26597 [C99-based-standards] (PRIo64): Likewise.
26598 [C99-based-standards] (PRIu64): Likewise.
26599 [C99-based-standards] (PRIx64): Likewise.
26600 [C99-based-standards] (PRIX64): Likewise.
26601 [C99-based-standards] (SCNd64): Likewise.
26602 [C99-based-standards] (SCNi64): Likewise.
26603 [C99-based-standards] (SCNo64): Likewise.
26604 [C99-based-standards] (SCNu64): Likewise.
26605 [C99-based-standards] (SCNx64): Likewise.
26606 [C99-based-standards] (PRIdLEAST64): Likewise.
26607 [C99-based-standards] (PRIiLEAST64): Likewise.
26608 [C99-based-standards] (PRIoLEAST64): Likewise.
26609 [C99-based-standards] (PRIuLEAST64): Likewise.
26610 [C99-based-standards] (PRIxLEAST64): Likewise.
26611 [C99-based-standards] (PRIXLEAST64): Likewise.
26612 [C99-based-standards] (SCNdLEAST64): Likewise.
26613 [C99-based-standards] (SCNiLEAST64): Likewise.
26614 [C99-based-standards] (SCNoLEAST64): Likewise.
26615 [C99-based-standards] (SCNuLEAST64): Likewise.
26616 [C99-based-standards] (SCNxLEAST64): Likewise.
26617 [C99-based-standards] (PRIdFAST64): Likewise.
26618 [C99-based-standards] (PRIiFAST64): Likewise.
26619 [C99-based-standards] (PRIoFAST64): Likewise.
26620 [C99-based-standards] (PRIuFAST64): Likewise.
26621 [C99-based-standards] (PRIxFAST64): Likewise.
26622 [C99-based-standards] (PRIXFAST64): Likewise.
26623 [C99-based-standards] (SCNdFAST64): Likewise.
26624 [C99-based-standards] (SCNiFAST64): Likewise.
26625 [C99-based-standards] (SCNoFAST64): Likewise.
26626 [C99-based-standards] (SCNuFAST64): Likewise.
26627 [C99-based-standards] (SCNxFAST64): Likewise.
26628 [C99-based-standards] (PRIdMAX): Likewise.
26629 [C99-based-standards] (PRIiMAX): Likewise.
26630 [C99-based-standards] (PRIoMAX): Likewise.
26631 [C99-based-standards] (PRIuMAX): Likewise.
26632 [C99-based-standards] (PRIxMAX): Likewise.
26633 [C99-based-standards] (PRIXMAX): Likewise.
26634 [C99-based-standards] (SCNdMAX): Likewise.
26635 [C99-based-standards] (SCNiMAX): Likewise.
26636 [C99-based-standards] (SCNoMAX): Likewise.
26637 [C99-based-standards] (SCNuMAX): Likewise.
26638 [C99-based-standards] (SCNxMAX): Likewise.
26639 [C99-based-standards] (PRIdPTR): Likewise.
26640 [C99-based-standards] (PRIiPTR): Likewise.
26641 [C99-based-standards] (PRIoPTR): Likewise.
26642 [C99-based-standards] (PRIuPTR): Likewise.
26643 [C99-based-standards] (PRIxPTR): Likewise.
26644 [C99-based-standards] (PRIXPTR): Likewise.
26645 [C99-based-standards] (SCNdPTR): Likewise.
26646 [C99-based-standards] (SCNiPTR): Likewise.
26647 [C99-based-standards] (SCNoPTR): Likewise.
26648 [C99-based-standards] (SCNuPTR): Likewise.
26649 [C99-based-standards] (SCNxPTR): Likewise.
26650 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
26651 allow.
26652 * conform/data/stdint.h-data: Update comments to clarify
26653 requirements.
26654 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
26655 type.
26656 [C99-based standards] (INT8_MAX): Likewise.
26657 [C99-based standards] (INT16_MIN): Likewise.
26658 [C99-based standards] (INT16_MAX): Likewise.
26659 [C99-based standards] (INT32_MIN): Likewise.
26660 [C99-based standards] (INT32_MAX): Likewise.
26661 [C99-based standards] (INT64_MIN): Likewise.
26662 [C99-based standards] (INT64_MAX): Likewise.
26663 [C99-based standards] (UINT8_MAX): Likewise.
26664 [C99-based standards] (UINT16_MAX): Likewise.
26665 [C99-based standards] (UINT32_MAX): Likewise.
26666 [C99-based standards] (UINT64_MAX): Likewise.
26667 [C99-based standards] (INT_LEAST8_MIN): Likewise.
26668 [C99-based standards] (INT_LEAST8_MAX): Likewise.
26669 [C99-based standards] (INT_LEAST16_MIN): Likewise.
26670 [C99-based standards] (INT_LEAST16_MAX): Likewise.
26671 [C99-based standards] (INT_LEAST32_MIN): Likewise.
26672 [C99-based standards] (INT_LEAST32_MAX): Likewise.
26673 [C99-based standards] (INT_LEAST64_MIN): Likewise.
26674 [C99-based standards] (INT_LEAST64_MAX): Likewise.
26675 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
26676 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
26677 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
26678 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
26679 [C99-based standards] (INT_FAST8_MIN): Likewise.
26680 [C99-based standards] (INT_FAST8_MAX): Likewise.
26681 [C99-based standards] (INT_FAST16_MIN): Likewise.
26682 [C99-based standards] (INT_FAST16_MAX): Likewise.
26683 [C99-based standards] (INT_FAST32_MIN): Likewise.
26684 [C99-based standards] (INT_FAST32_MAX): Likewise.
26685 [C99-based standards] (INT_FAST64_MIN): Likewise.
26686 [C99-based standards] (INT_FAST64_MAX): Likewise.
26687 [C99-based standards] (UINT_FAST8_MAX): Likewise.
26688 [C99-based standards] (UINT_FAST16_MAX): Likewise.
26689 [C99-based standards] (UINT_FAST32_MAX): Likewise.
26690 [C99-based standards] (UINT_FAST64_MAX): Likewise.
26691 [C99-based standards] (INTPTR_MIN): Likewise.
26692 [C99-based standards] (INTPTR_MAX): Likewise.
26693 [C99-based standards] (UINTPTR_MAX): Likewise.
26694 [C99-based standards] (INTMAX_MIN): Likewise.
26695 [C99-based standards] (INTMAX_MAX): Likewise.
26696 [C99-based standards] (UINTMAX_MAX): Likewise.
26697 [C99-based standards] (PTRDIFF_MIN): Likewise.
26698 [C99-based standards] (PTRDIFF_MAX): Likewise.
26699 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
26700 [C99-based standards] (SIZE_MAX): Likewise.
26701 [C99-based standards] (WCHAR_MAX): Likewise.
26702 [C99-based standards] (WINT_MAX): Likewise.
26703 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
26704 constraint on value.
26705 [C99-based standards] (WCHAR_MIN): Likewise.
26706 [C99-based standards] (WINT_MIN): Likewise.
26707 [C99-based standards] (*_t): Allow.
26708 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
26709 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
26710 Include math.h-data and complex.h-data. Remove all expectations
26711 of math.h and complex.h contents.
26712 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
26713 at end of line.
26714 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
26715 (struct tm): Expect tag.
26716 [C99-based-standards] (wcstof): Expect function.
26717 [C99-based-standards] (wcstold): Likewise.
26718 [C99-based-standards] (wcstoll): Likewise.
26719 [C99-based-standards] (wcstoull): Likewise.
26720 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
26721 macro-int-constant. Specify type.
26722 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
26723 constraint on value.
26724 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26725 Specify type.
26726 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
26727 Specify value.
26728 [ISO C standards]: Do not allow headers.
26729 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
26730 wcs[abcdefghijklmnopqrstuvwxyz]*.
26731 [ISO C standards] (*_t): Do not allow.
26732 * conform/data/wctype.h-data [C99-based standards] (iswblank):
26733 Expect function.
26734 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
26735 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26736 Specify type.
26737 [ISO C standards]: Do not allow headers.
26738 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
26739 is[abcdefghijklmnopqrstuvwxyz]*.
26740 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
26741 to[abcdefghijklmnopqrstuvwxyz]*.
26742 [ISO C standards] (*_t): Do not allow.
26743 * conform/data/stdalign.h-data: New file.
26744 * conform/data/stdbool.h-data: Likewise.
26745 * conform/data/stdnoreturn.h-data: Likewise.
26746
7514feb8
RM
267472012-11-07 Roland McGrath <roland@hack.frob.com>
26748
26749 [BZ #14815]
26750 * manual/filesys.texi (Directory Entries): Typo fix.
26751 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
26752
19b2ecfc
MS
267532012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26754
26755 * elf/elf.h (EM_AARCH64): New macro.
26756 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
26757 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
26758 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
26759 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
26760 (R_AARCH64_TLSDESC): Likewise.
26761 (NT_ARM_TLS): Likewise.
26762 (NT_ARM_HW_BREAK): Likewise.
26763 (NT_ARM_HW_WATCH): Likewise.
26764
60e235ee
JM
267652012-11-07 Joseph Myers <joseph@codesourcery.com>
26766
26767 [BZ #14811]
26768 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
26769 (__ieee754_powl): Saturate nonzero exponents with absolute value
26770 below 0x1p-79 to +/- 0x1p-79.
26771 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26772 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26773 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26774 nonzero exponents with absolute value below 0x1p-32 to +/-
26775 0x1p-32.
26776 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26777 (__ieee754_powl): Saturate nonzero exponents with absolute value
26778 below 0x1p-79 to +/- 0x1p-79.
26779 * math/libm-test.inc (pow_test): Add more tests.
26780
0ab234b7
AK
267812012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26782
26783 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26784 _dl_s390_cap_flags with kernel. Increase string length.
26785 (_dl_s390_platforms): Add z196 and zEC12.
26786
45832f74
JM
267872012-11-07 Joseph Myers <joseph@codesourcery.com>
26788
26789 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26790 Change XOPEN21K to XOPEN2K.
26791
19218757
MK
267922012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
26793
26794 * string/memmove.c: Use memcpy when possible.
26795
c5f45721
AJ
267962012-11-06 Andreas Jaeger <aj@suse.de>
26797
26798 * po/eo.po: Update from translation team.
26799
82477c28
JM
268002012-11-06 Joseph Myers <joseph@codesourcery.com>
26801
26802 [BZ #14793]
26803 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
26804 exponent and small x and y exponents, scale x or y up. Increase
26805 by 2 the exponent used in scaling up.
26806 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26807 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26808 * math/libm-test.inc (fma_test): Add more tests.
26809 (fma_test_towardzero): Likewise.
26810 (fma_test_downward): Likewise.
26811 (fma_test_upward): Likewise.
26812
99252c8c
JM
268132012-11-05 Joseph Myers <joseph@codesourcery.com>
26814
acfa885f
JM
26815 [BZ #14805]
26816 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
26817 fenv_t *.
26818
99252c8c
JM
26819 [BZ #14801]
26820 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
26821 namespace for names of struct fields.
26822 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
26823 fenv_t fields.
26824 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26825 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
26826
d6d98dea
ST
268272012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
26828
26829 [BZ #3665]
26830 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
26831
e10bb107
TS
268322012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26833
26834 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
26835 PTR_DEMANGLE.
26836
26837 [BZ #5246]
26838 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
26839 PTR_DEMANGLE.
26840
a0c2940d
JM
268412012-11-04 Joseph Myers <joseph@codesourcery.com>
26842
26843 [BZ #14797]
26844 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
26845 definitely overflow as x * y not x * y + z.
26846 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26847 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26848 * math/libm-test.inc (fma_test): Add more tests.
26849 (fma_test_towardzero): Likewise.
26850 (fma_test_downward): Likewise.
26851 (fma_test_upward): Likewise.
26852
b830319d
TS
268532012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26854
26855 [BZ #157]
26856
26857 * include/stub-tag.h: Remove file.
26858 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
26859 '#include' of it.
26860 * manual/maint.texi (Porting): Don't reference it.
26861 * Makerules ($(objpfx)stubs): Likewise.
26862 * dirent/closedir.c: Don't include <stub-tag.h>.
26863 * dirent/dirfd.c: Likewise.
26864 * dirent/fdopendir.c: Likewise.
26865 * dirent/getdents.c: Likewise.
26866 * dirent/getdents64.c: Likewise.
26867 * dirent/opendir.c: Likewise.
26868 * dirent/readdir.c: Likewise.
26869 * dirent/readdir64.c: Likewise.
26870 * dirent/readdir64_r.c: Likewise.
26871 * dirent/readdir_r.c: Likewise.
26872 * dirent/rewinddir.c: Likewise.
26873 * dirent/seekdir.c: Likewise.
26874 * dirent/telldir.c: Likewise.
26875 * gmon/profil.c: Likewise.
26876 * grp/setgroups.c: Likewise.
26877 * inet/if_index.c: Likewise.
26878 * io/access.c: Likewise.
26879 * io/chdir.c: Likewise.
26880 * io/chmod.c: Likewise.
26881 * io/chown.c: Likewise.
26882 * io/close.c: Likewise.
26883 * io/dup.c: Likewise.
26884 * io/dup2.c: Likewise.
26885 * io/dup3.c: Likewise.
26886 * io/euidaccess.c: Likewise.
26887 * io/faccessat.c: Likewise.
26888 * io/fchdir.c: Likewise.
26889 * io/fchmod.c: Likewise.
26890 * io/fchmodat.c: Likewise.
26891 * io/fchown.c: Likewise.
26892 * io/fchownat.c: Likewise.
26893 * io/fcntl.c: Likewise.
26894 * io/flock.c: Likewise.
26895 * io/fstatfs.c: Likewise.
26896 * io/fstatfs64.c: Likewise.
26897 * io/fstatvfs.c: Likewise.
26898 * io/fstatvfs64.c: Likewise.
26899 * io/futimens.c: Likewise.
26900 * io/fxstat.c: Likewise.
26901 * io/fxstat64.c: Likewise.
26902 * io/fxstatat.c: Likewise.
26903 * io/fxstatat64.c: Likewise.
26904 * io/getcwd.c: Likewise.
26905 * io/isatty.c: Likewise.
26906 * io/lchmod.c: Likewise.
26907 * io/lchown.c: Likewise.
26908 * io/link.c: Likewise.
26909 * io/linkat.c: Likewise.
26910 * io/lseek.c: Likewise.
26911 * io/lseek64.c: Likewise.
26912 * io/lxstat64.c: Likewise.
26913 * io/mkdir.c: Likewise.
26914 * io/mkdirat.c: Likewise.
26915 * io/mkfifo.c: Likewise.
26916 * io/mkfifoat.c: Likewise.
26917 * io/open.c: Likewise.
26918 * io/open64.c: Likewise.
26919 * io/openat.c: Likewise.
26920 * io/openat64.c: Likewise.
26921 * io/pipe.c: Likewise.
26922 * io/pipe2.c: Likewise.
26923 * io/poll.c: Likewise.
26924 * io/posix_fadvise.c: Likewise.
26925 * io/posix_fadvise64.c: Likewise.
26926 * io/posix_fallocate.c: Likewise.
26927 * io/posix_fallocate64.c: Likewise.
26928 * io/read.c: Likewise.
26929 * io/readlink.c: Likewise.
26930 * io/readlinkat.c: Likewise.
26931 * io/rmdir.c: Likewise.
26932 * io/sendfile.c: Likewise.
26933 * io/sendfile64.c: Likewise.
26934 * io/statfs.c: Likewise.
26935 * io/statfs64.c: Likewise.
26936 * io/statvfs.c: Likewise.
26937 * io/statvfs64.c: Likewise.
26938 * io/symlink.c: Likewise.
26939 * io/symlinkat.c: Likewise.
26940 * io/ttyname.c: Likewise.
26941 * io/ttyname_r.c: Likewise.
26942 * io/umask.c: Likewise.
26943 * io/unlink.c: Likewise.
26944 * io/unlinkat.c: Likewise.
26945 * io/utime.c: Likewise.
26946 * io/utimensat.c: Likewise.
26947 * io/write.c: Likewise.
26948 * io/xmknod.c: Likewise.
26949 * io/xmknodat.c: Likewise.
26950 * io/xstat.c: Likewise.
26951 * io/xstat64.c: Likewise.
26952 * login/getpt.c: Likewise.
26953 * login/grantpt.c: Likewise.
26954 * login/unlockpt.c: Likewise.
26955 * math/e_acoshl.c: Likewise.
26956 * math/e_acosl.c: Likewise.
26957 * math/e_asinl.c: Likewise.
26958 * math/e_atan2l.c: Likewise.
26959 * math/e_atanhl.c: Likewise.
26960 * math/e_coshl.c: Likewise.
26961 * math/e_expl.c: Likewise.
26962 * math/e_fmodl.c: Likewise.
26963 * math/e_gammal_r.c: Likewise.
26964 * math/e_hypotl.c: Likewise.
26965 * math/e_j0l.c: Likewise.
26966 * math/e_j1l.c: Likewise.
26967 * math/e_jnl.c: Likewise.
26968 * math/e_lgammal_r.c: Likewise.
26969 * math/e_log10l.c: Likewise.
26970 * math/e_log2l.c: Likewise.
26971 * math/e_logl.c: Likewise.
26972 * math/e_powl.c: Likewise.
26973 * math/e_rem_pio2l.c: Likewise.
26974 * math/e_sinhl.c: Likewise.
26975 * math/e_sqrtl.c: Likewise.
26976 * math/fclrexcpt.c: Likewise.
26977 * math/fedisblxcpt.c: Likewise.
26978 * math/feenablxcpt.c: Likewise.
26979 * math/fegetenv.c: Likewise.
26980 * math/fegetexcept.c: Likewise.
26981 * math/fegetround.c: Likewise.
26982 * math/feholdexcpt.c: Likewise.
26983 * math/fesetenv.c: Likewise.
26984 * math/fesetround.c: Likewise.
26985 * math/feupdateenv.c: Likewise.
26986 * math/fgetexcptflg.c: Likewise.
26987 * math/fraiseexcpt.c: Likewise.
26988 * math/fsetexcptflg.c: Likewise.
26989 * math/ftestexcept.c: Likewise.
26990 * math/k_cosl.c: Likewise.
26991 * math/k_rem_pio2l.c: Likewise.
26992 * math/k_sinl.c: Likewise.
26993 * math/k_tanl.c: Likewise.
26994 * math/s_asinhl.c: Likewise.
26995 * math/s_atanl.c: Likewise.
26996 * math/s_cbrtl.c: Likewise.
26997 * math/s_erfl.c: Likewise.
26998 * math/s_expm1l.c: Likewise.
26999 * math/s_log1pl.c: Likewise.
27000 * math/s_tanhl.c: Likewise.
27001 * misc/acct.c: Likewise.
27002 * misc/brk.c: Likewise.
27003 * misc/chflags.c: Likewise.
27004 * misc/chroot.c: Likewise.
27005 * misc/fchflags.c: Likewise.
27006 * misc/fgetxattr.c: Likewise.
27007 * misc/flistxattr.c: Likewise.
27008 * misc/fremovexattr.c: Likewise.
27009 * misc/fsetxattr.c: Likewise.
27010 * misc/fsync.c: Likewise.
27011 * misc/ftruncate.c: Likewise.
27012 * misc/futimes.c: Likewise.
27013 * misc/futimesat.c: Likewise.
27014 * misc/getdomain.c: Likewise.
27015 * misc/getdtsz.c: Likewise.
27016 * misc/gethostid.c: Likewise.
27017 * misc/gethostname.c: Likewise.
27018 * misc/getloadavg.c: Likewise.
27019 * misc/getpagesize.c: Likewise.
27020 * misc/getsysstats.c: Likewise.
27021 * misc/getxattr.c: Likewise.
27022 * misc/gtty.c: Likewise.
27023 * misc/ioctl.c: Likewise.
27024 * misc/lgetxattr.c: Likewise.
27025 * misc/listxattr.c: Likewise.
27026 * misc/llistxattr.c: Likewise.
27027 * misc/lremovexattr.c: Likewise.
27028 * misc/lsetxattr.c: Likewise.
27029 * misc/lutimes.c: Likewise.
27030 * misc/madvise.c: Likewise.
27031 * misc/mincore.c: Likewise.
27032 * misc/mlock.c: Likewise.
27033 * misc/mlockall.c: Likewise.
27034 * misc/mmap.c: Likewise.
27035 * misc/mprotect.c: Likewise.
27036 * misc/msync.c: Likewise.
27037 * misc/munlock.c: Likewise.
27038 * misc/munlockall.c: Likewise.
27039 * misc/munmap.c: Likewise.
27040 * misc/preadv.c: Likewise.
27041 * misc/preadv64.c: Likewise.
27042 * misc/ptrace.c: Likewise.
27043 * misc/pwritev.c: Likewise.
27044 * misc/pwritev64.c: Likewise.
27045 * misc/readv.c: Likewise.
27046 * misc/reboot.c: Likewise.
27047 * misc/remap_file_pages.c: Likewise.
27048 * misc/removexattr.c: Likewise.
27049 * misc/revoke.c: Likewise.
27050 * misc/select.c: Likewise.
27051 * misc/setdomain.c: Likewise.
27052 * misc/setegid.c: Likewise.
27053 * misc/seteuid.c: Likewise.
27054 * misc/sethostid.c: Likewise.
27055 * misc/sethostname.c: Likewise.
27056 * misc/setregid.c: Likewise.
27057 * misc/setreuid.c: Likewise.
27058 * misc/setxattr.c: Likewise.
27059 * misc/sstk.c: Likewise.
27060 * misc/stty.c: Likewise.
27061 * misc/swapoff.c: Likewise.
27062 * misc/swapon.c: Likewise.
27063 * misc/sync.c: Likewise.
27064 * misc/syncfs.c: Likewise.
27065 * misc/syscall.c: Likewise.
27066 * misc/truncate.c: Likewise.
27067 * misc/ualarm.c: Likewise.
27068 * misc/usleep.c: Likewise.
27069 * misc/ustat.c: Likewise.
27070 * misc/utimes.c: Likewise.
27071 * misc/vhangup.c: Likewise.
27072 * misc/writev.c: Likewise.
27073 * posix/_exit.c: Likewise.
27074 * posix/alarm.c: Likewise.
27075 * posix/execve.c: Likewise.
27076 * posix/fexecve.c: Likewise.
27077 * posix/fork.c: Likewise.
27078 * posix/fpathconf.c: Likewise.
27079 * posix/getaddrinfo.c: Likewise.
27080 * posix/getegid.c: Likewise.
27081 * posix/geteuid.c: Likewise.
27082 * posix/getgid.c: Likewise.
27083 * posix/getgroups.c: Likewise.
27084 * posix/getlogin.c: Likewise.
27085 * posix/getlogin_r.c: Likewise.
27086 * posix/getpgid.c: Likewise.
27087 * posix/getpid.c: Likewise.
27088 * posix/getppid.c: Likewise.
27089 * posix/getresgid.c: Likewise.
27090 * posix/getresuid.c: Likewise.
27091 * posix/getsid.c: Likewise.
27092 * posix/getuid.c: Likewise.
27093 * posix/glob64.c: Likewise.
27094 * posix/nanosleep.c: Likewise.
27095 * posix/pathconf.c: Likewise.
27096 * posix/pause.c: Likewise.
27097 * posix/posix_madvise.c: Likewise.
27098 * posix/pread.c: Likewise.
27099 * posix/pread64.c: Likewise.
27100 * posix/pwrite.c: Likewise.
27101 * posix/pwrite64.c: Likewise.
27102 * posix/sched_getaffinity.c: Likewise.
27103 * posix/sched_getp.c: Likewise.
27104 * posix/sched_gets.c: Likewise.
27105 * posix/sched_primax.c: Likewise.
27106 * posix/sched_primin.c: Likewise.
27107 * posix/sched_rr_gi.c: Likewise.
27108 * posix/sched_setaffinity.c: Likewise.
27109 * posix/sched_setp.c: Likewise.
27110 * posix/sched_sets.c: Likewise.
27111 * posix/sched_yield.c: Likewise.
27112 * posix/setgid.c: Likewise.
27113 * posix/setlogin.c: Likewise.
27114 * posix/setpgid.c: Likewise.
27115 * posix/setresgid.c: Likewise.
27116 * posix/setresuid.c: Likewise.
27117 * posix/setsid.c: Likewise.
27118 * posix/setuid.c: Likewise.
27119 * posix/sleep.c: Likewise.
27120 * posix/spawni.c: Likewise.
27121 * posix/sysconf.c: Likewise.
27122 * posix/times.c: Likewise.
27123 * posix/wait.c: Likewise.
27124 * posix/wait3.c: Likewise.
27125 * posix/wait4.c: Likewise.
27126 * posix/waitpid.c: Likewise.
27127 * resolv/gai_sigqueue.c: Likewise.
27128 * resource/getpriority.c: Likewise.
27129 * resource/getrlimit.c: Likewise.
27130 * resource/getrusage.c: Likewise.
27131 * resource/nice.c: Likewise.
27132 * resource/setpriority.c: Likewise.
27133 * resource/setrlimit.c: Likewise.
27134 * resource/ulimit.c: Likewise.
27135 * rt/aio_cancel.c: Likewise.
27136 * rt/aio_fsync.c: Likewise.
27137 * rt/aio_read.c: Likewise.
27138 * rt/aio_sigqueue.c: Likewise.
27139 * rt/aio_suspend.c: Likewise.
27140 * rt/aio_write.c: Likewise.
27141 * rt/clock_getres.c: Likewise.
27142 * rt/clock_gettime.c: Likewise.
27143 * rt/clock_nanosleep.c: Likewise.
27144 * rt/clock_settime.c: Likewise.
27145 * rt/lio_listio.c: Likewise.
27146 * rt/mq_close.c: Likewise.
27147 * rt/mq_getattr.c: Likewise.
27148 * rt/mq_notify.c: Likewise.
27149 * rt/mq_open.c: Likewise.
27150 * rt/mq_receive.c: Likewise.
27151 * rt/mq_send.c: Likewise.
27152 * rt/mq_setattr.c: Likewise.
27153 * rt/mq_timedreceive.c: Likewise.
27154 * rt/mq_timedsend.c: Likewise.
27155 * rt/mq_unlink.c: Likewise.
27156 * rt/shm_open.c: Likewise.
27157 * rt/shm_unlink.c: Likewise.
27158 * rt/timer_create.c: Likewise.
27159 * rt/timer_delete.c: Likewise.
27160 * rt/timer_getoverr.c: Likewise.
27161 * rt/timer_gettime.c: Likewise.
27162 * rt/timer_settime.c: Likewise.
27163 * setjmp/__longjmp.c: Likewise.
27164 * setjmp/setjmp.c: Likewise.
27165 * signal/kill.c: Likewise.
27166 * signal/killpg.c: Likewise.
27167 * signal/raise.c: Likewise.
27168 * signal/sigaction.c: Likewise.
27169 * signal/sigaltstack.c: Likewise.
27170 * signal/sigblock.c: Likewise.
27171 * signal/sigignore.c: Likewise.
27172 * signal/sigintr.c: Likewise.
27173 * signal/signal.c: Likewise.
27174 * signal/sigpause.c: Likewise.
27175 * signal/sigpending.c: Likewise.
27176 * signal/sigqueue.c: Likewise.
27177 * signal/sigreturn.c: Likewise.
27178 * signal/sigset.c: Likewise.
27179 * signal/sigsetmask.c: Likewise.
27180 * signal/sigstack.c: Likewise.
27181 * signal/sigsuspend.c: Likewise.
27182 * signal/sigtimedwait.c: Likewise.
27183 * signal/sigvec.c: Likewise.
27184 * signal/sigwait.c: Likewise.
27185 * signal/sigwaitinfo.c: Likewise.
27186 * signal/sysv_signal.c: Likewise.
27187 * socket/accept.c: Likewise.
27188 * socket/accept4.c: Likewise.
27189 * socket/bind.c: Likewise.
27190 * socket/connect.c: Likewise.
27191 * socket/getpeername.c: Likewise.
27192 * socket/getsockname.c: Likewise.
27193 * socket/getsockopt.c: Likewise.
27194 * socket/isfdtype.c: Likewise.
27195 * socket/listen.c: Likewise.
27196 * socket/recv.c: Likewise.
27197 * socket/recvfrom.c: Likewise.
27198 * socket/recvmsg.c: Likewise.
27199 * socket/send.c: Likewise.
27200 * socket/sendmsg.c: Likewise.
27201 * socket/sendto.c: Likewise.
27202 * socket/setsockopt.c: Likewise.
27203 * socket/shutdown.c: Likewise.
27204 * socket/sockatmark.c: Likewise.
27205 * socket/socket.c: Likewise.
27206 * socket/socketpair.c: Likewise.
27207 * stdio-common/ctermid.c: Likewise.
27208 * stdio-common/cuserid.c: Likewise.
27209 * stdio-common/remove.c: Likewise.
27210 * stdio-common/rename.c: Likewise.
27211 * stdio-common/renameat.c: Likewise.
27212 * stdio-common/tempname.c: Likewise.
27213 * stdlib/getcontext.c: Likewise.
27214 * stdlib/makecontext.c: Likewise.
27215 * stdlib/setcontext.c: Likewise.
27216 * stdlib/swapcontext.c: Likewise.
27217 * stdlib/system.c: Likewise.
27218 * streams/fattach.c: Likewise.
27219 * streams/fdetach.c: Likewise.
27220 * streams/getmsg.c: Likewise.
27221 * streams/getpmsg.c: Likewise.
27222 * streams/putmsg.c: Likewise.
27223 * streams/putpmsg.c: Likewise.
27224 * sysdeps/unix/bsd/getpt.c: Likewise.
27225 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27226 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27227 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27229 Likewise.
27230 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27231 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27232 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27233 * sysvipc/msgctl.c: Likewise.
27234 * sysvipc/msgget.c: Likewise.
27235 * sysvipc/msgrcv.c: Likewise.
27236 * sysvipc/msgsnd.c: Likewise.
27237 * sysvipc/semctl.c: Likewise.
27238 * sysvipc/semget.c: Likewise.
27239 * sysvipc/semop.c: Likewise.
27240 * sysvipc/semtimedop.c: Likewise.
27241 * sysvipc/shmat.c: Likewise.
27242 * sysvipc/shmctl.c: Likewise.
27243 * sysvipc/shmdt.c: Likewise.
27244 * sysvipc/shmget.c: Likewise.
27245 * termios/tcdrain.c: Likewise.
27246 * termios/tcflow.c: Likewise.
27247 * termios/tcflush.c: Likewise.
27248 * termios/tcgetattr.c: Likewise.
27249 * termios/tcgetpgrp.c: Likewise.
27250 * termios/tcsendbrk.c: Likewise.
27251 * termios/tcsetattr.c: Likewise.
27252 * termios/tcsetpgrp.c: Likewise.
27253 * time/adjtime.c: Likewise.
27254 * time/clock.c: Likewise.
27255 * time/getitimer.c: Likewise.
27256 * time/gettimeofday.c: Likewise.
27257 * time/setitimer.c: Likewise.
27258 * time/settimeofday.c: Likewise.
27259 * time/stime.c: Likewise.
27260 * time/time.c: Likewise.
27261
272622012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 27263
a20492cf
PT
27264 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
27265 /usr/old/bin.
27266
72e182e3
PT
27267 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
27268 instead of spaces.
27269 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
27270
fbeafede
JM
272712012-11-03 Joseph Myers <joseph@codesourcery.com>
27272
5b5b04d6
JM
27273 [BZ #14796]
27274 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
27275 FE_TONEAREST before applying Dekker multiplication and Knuth
27276 addition. Clear inexact exceptions and check for exact zero
27277 results afterwards.
27278 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27279 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27280 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27281 * math/libm-test.inc (fma_test): Add more tests.
27282 (fma_test_towardzero): Likewise.
27283 (fma_test_downward): Likewise.
27284 (fma_test_upward): Likewise.
27285 * sysdeps/generic/math_private.h (default_libc_fesetround): New
27286 function.
27287 (libc_fesetround): New macro.
27288 (libc_fesetroundf): Likewise.
27289 (libc_fesetroundl): Likewise.
27290 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
27291 function.
27292 (libc_fesetround_387): Likewise.
27293 (libc_fesetroundf): New macro.
27294 (libc_fesetround): Likewise.
27295 (libc_fesetroundl): Likewise.
27296 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
27297 function.
27298 (libc_fesetroundf): New macro.
27299 (libc_fesetround): Likewise.
27300 (libc_fesetroundl): Likewise.
27301 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
27302 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
27303 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
27304 libm_hidden_ver.
27305 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
27306 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
27307 libm_hidden_def.
27308 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
27309 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
27310 libm_hidden_ver.
27311 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
27312 libm_hidden_def.
27313
fbeafede
JM
27314 [BZ #3439]
27315 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
27316 integer constant usable in #if and use that to give value to enum
27317 constant.
27318 (FE_DIVBYZERO): Likewise.
27319 (FE_UNDERFLOW): Likewise.
27320 (FE_OVERFLOW): Likewise.
27321 (FE_INVALID): Likewise.
27322 (FE_INVALID_SNAN): Likewise.
27323 (FE_INVALID_ISI): Likewise.
27324 (FE_INVALID_IDI): Likewise.
27325 (FE_INVALID_ZDZ): Likewise.
27326 (FE_INVALID_IMZ): Likewise.
27327 (FE_INVALID_COMPARE): Likewise.
27328 (FE_INVALID_SOFTWARE): Likewise.
27329 (FE_INVALID_SQRT): Likewise.
27330 (FE_INVALID_INTEGER_CONVERSION): Likewise.
27331 (FE_TONEAREST): Likewise.
27332 (FE_TOWARDZERO): Likewise.
27333 (FE_UPWARD): Likewise.
27334 (FE_DOWNWARD): Likewise.
27335 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
27336 (FE_DIVBYZERO): Likewise.
27337 (FE_OVERFLOW): Likewise.
27338 (FE_UNDERFLOW): Likewise.
27339 (FE_INEXACT): Likewise.
27340 (FE_TONEAREST): Likewise.
27341 (FE_DOWNWARD): Likewise.
27342 (FE_UPWARD): Likewise.
27343 (FE_TOWARDZERO): Likewise.
27344 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
27345 (FE_UNDERFLOW): Likewise.
27346 (FE_OVERFLOW): Likewise.
27347 (FE_DIVBYZERO): Likewise.
27348 (FE_INVALID): Likewise.
27349 (FE_TONEAREST): Likewise.
27350 (FE_TOWARDZERO): Likewise.
27351 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
27352 (FE_OVERFLOW): Likewise.
27353 (FE_UNDERFLOW): Likewise.
27354 (FE_DIVBYZERO): Likewise.
27355 (FE_INEXACT): Likewise.
27356 (FE_TONEAREST): Likewise.
27357 (FE_TOWARDZERO): Likewise.
27358 (FE_UPWARD): Likewise.
27359 (FE_DOWNWARD): Likewise.
27360 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
27361 (FE_DIVBYZERO): Likewise.
27362 (FE_OVERFLOW): Likewise.
27363 (FE_UNDERFLOW): Likewise.
27364 (FE_INEXACT): Likewise.
27365 (FE_TONEAREST): Likewise.
27366 (FE_DOWNWARD): Likewise.
27367 (FE_UPWARD): Likewise.
27368 (FE_TOWARDZERO): Likewise.
27369
105ca950
CM
273702012-11-02 Chris Metcalf <cmetcalf@tilera.com>
27371
27372 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
27373
a542b389
AS
273742012-11-03 Andreas Schwab <schwab@linux-m68k.org>
27375
27376 * scripts/cross-test-ssh.sh (command): Use newlines to separate
27377 commands. Quote $PWD.
27378 (blacklist_exports): Don't use remove_newlines. Replace "declare
27379 -x" by "export".
27380 (remove_newlines): Remove.
27381
f62c8abc
L
273822012-11-02 H.J. Lu <hongjiu.lu@intel.com>
27383
27384 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
27385 * stdlib/stdlib.h (atof): Moved to ...
27386 * include/bits/stdlib-float.h: Here. New file.
27387 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
27388 * stdlib/bits/stdlib-float.h: New file.
27389 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
27390 -mno-sse -mno-mmx.
27391 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
27392 <xmmintrin.h>.
27393
0155d5b2
JM
273942012-11-02 Joseph Myers <joseph@codesourcery.com>
27395
a68d0680
JM
27396 * conform/conformtest.pl (@headers): Add fenv.h.
27397 * conform/data/fenv.h-data: New file.
27398 * include/fenv.h [_ISOMAC]: Disable all contents of file except
27399 include of <math/fenv.h>.
27400
caf7f573
JM
27401 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
27402 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
27403 && !UNIX98]. Enables tests for XOPEN2K8.
27404 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
27405 POSIX2008]: Likewise.
27406
6c073ad6
JM
27407 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
27408 (struct rusage): Do not expect type or its members.
27409
0155d5b2
JM
27410 [BZ #3439]
27411 * math/math.h (FP_NAN): Define macro to integer constant usable in
27412 #if and use that to give value to enum constant.
27413 (FP_INFINITE): Likewise.
27414 (FP_ZERO): Likewise.
27415 (FP_SUBNORMAL): Likewise.
27416 (FP_NORMAL): Likewise.
27417
b5dcacb4
AS
274182012-11-02 Andreas Schwab <schwab@linux-m68k.org>
27419
27420 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
27421 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
27422 arguments.
27423
f7934be8
RM
274242012-11-02 Roland McGrath <roland@hack.frob.com>
27425
27426 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
27427 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
27428 autoconf-time if not.
27429 * configure.in: Remove AC_PREREQ.
27430
d7d08bde
TMQMF
274312012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27432
27433 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
27434 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
27435 of the internal implementation.
27436
dcdae19a
JM
274372012-11-02 Joseph Myers <joseph@codesourcery.com>
27438
27439 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
27440 except include of <misc/sys/syslog.h>.
27441
d6cffd3e
AS
274422012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27443
27444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
27445 function returns with a NULL context exit with zero.
27446
b3563932
TMQMF
274472012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27448
27449 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
27450
b288a93d
L
274512012-11-01 H.J. Lu <hongjiu.lu@intel.com>
27452
27453 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
27454 (run_program_cmd): This.
27455 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
27456 (tst_langinfo): New variable. Use it.
27457
a2421a68
SAS
274582012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
27459
27460 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
27461 floating point opcodes.
27462
6f796e1b
TS
274632012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27464
7402596b
TS
27465 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
27466 variable.
27467
d0d4f868
TS
27468 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
27469
6f796e1b
TS
27470 * sysdeps/mach/hurd/powerpc: Remove directory.
27471 * sysdeps/mach/powerpc: Likewise.
27472
4da224a2
AS
274732012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27474
27475 * scripts/check-local-headers.sh: Ignore c++ headers.
27476
341dd673
TS
274772012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27478
27479 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
27480 __libc_cleanup_region_start argument.
27481
473611b2
JM
274822012-11-01 Joseph Myers <joseph@codesourcery.com>
27483
27484 [BZ #14784]
27485 [BZ #14785]
27486 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
27487 x * y using scaling, not as x * y + z.
27488 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27489 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27490 * math/libm-test.inc (fma_test): Add more tests.
27491 (fma_test_towardzero): Likewise.
27492 (fma_test_downward): Likewise.
27493 (fma_test_upward): Likewise.
27494
4078da3d
TS
274952012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27496
27497 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
27498
903252aa
JM
274992012-10-31 Joseph Myers <joseph@codesourcery.com>
27500
27501 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
27502 New variable.
27503
cbc818d0
TS
275042012-10-31 Thomas Schwinge <thomas@codesourcery.com>
27505
27506 * rt/tst-shm.c (worker): Correct checking for mmap failure.
27507
5a03cb1e
AS
275082012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27509
27510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27511 Fix sort order.
27512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27513 Likewise.
27514
90aff2ff
TMQMF
275152012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27516
27517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27518 Fix the order of the list for glibc 2.17.
27519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27520 Likewise.
27521
1818fcb7
AS
275222012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27523
27524 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27525
ef82f4da
JM
275262012-10-31 Joseph Myers <joseph@codesourcery.com>
27527
16a0e2ec
JM
27528 [BZ #14610]
27529 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
27530 for low part of x being zero before using __atanl (y).
27531 * math/libm-test.inc (atan2_test): Add another test.
27532
0eb69512
JM
27533 * manual/install.texi (Configuring and compiling): Document
27534 general use of test-wrapper and test-wrapper-env.
27535 * INSTALL: Regenerated.
27536
ef82f4da
JM
27537 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
27538 (__fma): Do not extract and scale down low bits on after-rounding
27539 systems when result rounded to normal precision would have normal
27540 exponent.
27541 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
27542 (__fmal): Do not extract and scale down low bits on after-rounding
27543 systems when result rounded to normal precision would have normal
27544 exponent.
27545 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
27546 (__fmal): Do not extract and scale down low bits on after-rounding
27547 systems when result rounded to normal precision would have normal
27548 exponent.
27549 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
27550 macro.
27551 (fma_test): Add more tests.
27552 (fma_test_towardzero): Likewise.
27553 (fma_test_downward): Likewise.
27554 (fma_test_upward): Likewise.
27555
954ef0d9
L
275562012-10-30 H.J. Lu <hongjiu.lu@intel.com>
27557
27558 * sysdeps/i386/tininess.h: Renamed to ...
27559 * sysdeps/x86/tininess.h: This.
27560 * sysdeps/x86_64/tininess.h: Removed.
27561
df61ffb2
JM
275622012-10-30 Joseph Myers <joseph@codesourcery.com>
27563
27564 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
27565 input. Use $(build-program-cmd).
27566 ($(objpfx)tst-array1-static.out): Likewise.
27567 ($(objpfx)tst-array2.out): Likewise.
27568 ($(objpfx)tst-array3.out): Likewise.
27569 ($(objpfx)tst-array4.out): Likewise.
27570 ($(objpfx)tst-array5.out): Likewise.
27571 ($(objpfx)tst-array5-static.out): Likewise.
27572
01767843
CM
275732012-10-30 Chris Metcalf <cmetcalf@tilera.com>
27574
47cc1490
CM
27575 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
27576 if defined.
27577
01767843
CM
27578 * nss/nsswitch.h (nss_interface_function): Provide new
27579 macro for use with NSS functions.
27580 * grp/initgroups.c: Use new macro.
27581 * nss/getXXbyYY.c: Likewise.
27582 * nss/getXXbyYY_r.c: Likewise.
27583 * nss/getXXent.c: Likewise.
27584 * nss/getXXent_r.c: Likewise.
27585 * sysdeps/posix/getaddrinfo.c: Likewise.
27586
8321aa97
AJ
275872012-10-30 Andreas Jaeger <aj@suse.de>
27588
27589 * po/ru.po: Update Russion translation from translation project.
27590
2a27fd6d
JM
275912012-10-30 Joseph Myers <joseph@codesourcery.com>
27592
8627a232
JM
27593 [BZ #14152]
27594 [BZ #14783]
27595 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
27596 result and shift together with sticky bit instead of replicating
27597 round-to-nearest rounding.
27598 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27599 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27600 * math/libm-test.inc (fma_test): Add more tests. Do not permit
27601 missing underflow exceptions.
27602 (fma_test_towardzero): Add more tests.
27603 (fma_test_downward): Likewise.
27604 (fma_test_upward): Likewise.
27605
2a27fd6d
JM
27606 [BZ #14047]
27607 * sysdeps/generic/tininess.h: New file.
27608 * sysdeps/i386/tininess.h: Likewise.
27609 * sysdeps/sh/tininess.h: Likewise.
27610 * sysdeps/x86_64/tininess.h: Likewise.
27611 * stdlib/tst-strtod-underflow.c: Likewise.
27612 * stdlib/tst-tininess.c: Likewise.
27613 * stdlib/strtod_l.c: Include <tininess.h>.
27614 (round_and_return): Do not set errno for exact underflow cases.
27615 Force an underflow exception when setting errno for underflow.
27616 Determine underflow based on rounding to normal precision if
27617 TININESS_AFTER_ROUNDING.
27618 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
27619 ERANGE for exact underflow cases.
27620 * stdlib/Makefile (tests): Add tst-tininess and
27621 tst-strtod-underflow.
27622 ($(objpfx)tst-tininess): Use $(link-libm).
27623 ($(objpfx)tst-strtod-underflow): Likewise.
27624
e7170363
AJ
276252012-10-30 Andreas Jaeger <aj@suse.de>
27626
e5088dc6
AJ
27627 [BZ#14767]
27628 * elf/Makefile (tests): Remove conditional for have-initfini-array
27629 since this is now always required and the variable does not exist
27630 anymore.
27631 (tests-static): Likewise.
27632 (modules-names): Likewise.
27633
e7170363 27634 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
27635
27636 * elf/tst-array1.c (fini_array): Make writeable so that it can be
27637 merged with constructor/destructor.
27638 (init_array): Likewise.
27639 * elf/tst-array2dep.c (fini_array): Likewise.
27640 (init_array): Likewise.
27641
60457d8a
MF
276422012-10-29 Mike Frysinger <vapier@gentoo.org>
27643
27644 * manual/message.texi: Delete @cartouche tags.
27645
8bece752
PT
276462012-10-29 Pino Toscano <toscano.pino@tiscali.it>
27647
94ce799f
PT
27648 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
27649 EOPNOTSUPP.
27650 * sysdeps/mach/hurd/fsync.c: Likewise.
27651
8bece752
PT
27652 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
27653 [_POSIX_REALTIME_SIGNALS]: Change condition to
27654 [_POSIX_REALTIME_SIGNALS > 0].
27655
86ebe6b1
AJ
276562012-10-27 Andreas Jaeger <aj@suse.de>
27657
27658 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
27659 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
27660 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
27661 [__WORDSIZE != 64]: Likewise.
27662
54399c08
L
276632012-10-26 H.J. Lu <hongjiu.lu@intel.com>
27664
27665 * iconvdata/tst-table.sh: Remove ${SHELL}.
27666 * iconvdata/tst-tables.sh: Likewise.
27667
e2211bed
DM
276682012-10-25 David S. Miller <davem@davemloft.net>
27669
27670 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27671 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
27672 of strtoull.
27673
f303f97c
DM
27674 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
27675 ifunc-impl-list.c
27676 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27677 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
27678 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
27679 file.
27680
1e9d84cd
RM
276812012-10-25 Roland McGrath <roland@hack.frob.com>
27682
27683 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27684 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
27685 __getdirentries.
27686
df381762
JM
276872012-10-25 Joseph Myers <joseph@codesourcery.com>
27688 Jim Blandy <jimb@codesourcery.com>
27689
27690 * scripts/cross-test-ssh.sh: New file.
27691 * manual/install.texi (Configuring and compiling): Document use of
27692 cross-test-ssh.sh.
27693 * INSTALL: Regenerated.
27694
bff64913
PT
276952012-10-25 Pino Toscano <toscano.pino@tiscali.it>
27696
27697 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
27698 EOPNOTSUPP.
27699
25fe8932
JM
277002012-10-25 Joseph Myers <joseph@codesourcery.com>
27701
27702 * Makeconfig (run-program-prefix): Fix comment.
27703
cc1290d0
JM
277042012-10-24 Joseph Myers <joseph@codesourcery.com>
27705 Jim Blandy <jimb@codesourcery.com>
27706
27707 * Makeconfig (test-wrapper): New variable,
27708 (test-wrapper-env): Likewise.
27709 [$(cross-compiling) = yes && $(test-wrapper) != ""]
27710 (run-built-tests): Define to yes.
27711 (run-program-prefix): Use $(test-wrapper).
27712 (built-program-cmd): Likewise.
27713 * Rules (make-test-out): Use $(test-wrapper-env) and
27714 $(host-built-program-cmd).
27715 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
27716 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
27717 tst-pathopt.sh.
27718 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
27719 $(test-wrapper-env) to tst-rtld-load-self.sh.
27720 ($(objpfx)order2.out): Use $(test-wrapper).
27721 ($(objpfx)tst-initorder.out): Likewise.
27722 ($(objpfx)tst-initorder2.out): Likewise.
27723 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
27724 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
27725 (test_wrapper_env): New variable. Use it to run ld.so.
27726 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
27727 Use it to run ld.so.
27728 (test_wrapper_env): Likewise.
27729 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
27730 $(test-wrapper) to run-iconv-test.sh.
27731 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
27732 (ICONV): Use $test_wrapper.
27733 * posix/Makefile ($(objpfx)globtest.out): Pass
27734 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
27735 globtest.sh, not $(run-program-prefix).
27736 * posix/globtest.sh (run_via_rtld_prefix): New variable.
27737 (test_wrapper): Likewise.
27738 (test_wrapper_env): Likewise. Use it to run globtest with HOME
27739 set together with run_via_rtld_prefix.
27740 (run_program_prefix): Define in terms of test_wrapper and
27741 run_via_rtld_prefix.
27742
6e6249d0
RM
277432012-10-24 Roland McGrath <roland@hack.frob.com>
27744
27745 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
27746 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
27747 Targets removed.
27748
27749 [BZ #14743]
27750 * include/time.h: Remove librt_hidden_proto (clock_gettime).
27751 Declare __clock_getres, __clock_gettime, __clock_settime,
27752 __clock_nanosleep, and __clock_getcpuclockid.
27753 * rt/clock_gettime.c: Define __clock_gettime as an alias.
27754 Remove librt_hidden_def (clock_gettime).
27755 * sysdeps/unix/clock_gettime.c: Likewise.
27756 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
27757 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27758 * rt/clock_getres.c: Define __clock_getres as an alias.
27759 * sysdeps/posix/clock_getres.c: Likewise.
27760 * rt/clock_settime.c: Define __clock_settime as an alias.
27761 * sysdeps/unix/clock_settime.c: Likewise.
27762 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
27763 * sysdeps/unix/clock_nanosleep.c: Likewise.
27764 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27765 * rt/clock-compat.c: New file.
27766 * rt/Makefile (librt-routines): Add clock-compat and move
27767 $(clock-routines) to ...
27768 (routines): ... here, new variable.
27769 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27770 Don't add get_clockfreq here.
27771 * rt/Versions (libc: GLIBC_2.17): New version set.
27772 Add clock_* symbols here.
27773 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
27774 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27775 (GLIBC_2.17): Add clock_* symbols.
27776 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27777 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27778 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27780 Likewise.
27781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27782 Likewise.
27783 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27784 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27785 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27786 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27787 * NEWS: Mention the move.
27788
27789 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27790 Use __open, __read, __close rather than their public counterparts.
27791 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27792 (__get_clockfreq_via_cpuinfo): Likewise.
27793 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27794 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27795
27796 * config.h.in (HAVE_IFUNC): New #undef.
27797 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
27798 was successful.
27799 * configure: Regenerated.
27800
0cae3f4b
MF
278012012-10-24 Mike Frysinger <vapier@gentoo.org>
27802
27803 * configure.in: Move READELF check to start of file.
27804 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
27805 libc_cv_asm_gnu_indirect_function in the process.
27806 * configure: Regenerated.
27807
8175a253
MF
278082012-10-24 Mike Frysinger <vapier@gentoo.org>
27809
27810 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
27811 send the output to /dev/null.
27812 (libc_cv_cc_with_libunwind): Likewise.
27813 (libc_cv_as_noexecstack): Likewise.
27814 * configure: Regenerate.
27815
0708a7d1
JM
278162012-10-24 Joseph Myers <joseph@codesourcery.com>
27817
10b40d85
JM
27818 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
27819
0708a7d1
JM
27820 * posix/globtest.sh (TMPDIR): Do not set.
27821 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
27822 (testout): Likewise.
27823
9fddec1a
AJ
278242012-10-24 Andreas Jaeger <aj@suse.de>
27825
3a8db22f
AJ
27826 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
27827 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
27828 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
27829 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
27830 posix_fadvise64, posix_fallocate64.
27831
9fddec1a
AJ
27832 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
27833 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
27834 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
27835 Likewise.
27836 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
27837 Likewise.
27838 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
27839
27840 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
27841 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
27842 <bits/fcntl-linux.h>.
27843 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
27844
27845 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
27846 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
27847 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
27848 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
27849 [__WORDSIZE != 64]: Likewise.
27850
ebfd1bbd
JM
278512012-10-23 Joseph Myers <joseph@codesourcery.com>
27852
03ac099f
JM
27853 * Makeconfig (run-built-tests): New variable.
27854 * Rules [$(cross-compiling) = yes]: Change condition to
27855 [$(run-built-tests) = no].
27856 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
27857 to [$(run-built-tests) = yes].
27858 * elf/Makefile [$(cross-compiling) = no]: Likewise
27859 * grp/Makefile [$(cross-compiling) = no]: Likewise.
27860 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
27861 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
27862 * intl/Makefile [$(cross-compiling) = no]: Likewise.
27863 * io/Makefile [$(cross-compiling) = no]: Likewise.
27864 * libio/Makefile [$(cross-compiling) = no]: Likewise.
27865 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
27866 * misc/Makefile [$(cross-compiling) = no]: Likewise.
27867 * posix/Makefile [$(cross-compiling) = no]: Likewise.
27868 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
27869 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
27870 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
27871 * string/Makefile [$(cross-compiling) = no]: Likewise.
27872
ebfd1bbd
JM
27873 * posix/Makefile ($(objpfx)globtest.out): Pass
27874 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
27875 $(rtld-installed-name).
27876 * posix/globtest.sh (elf_objpfx): Remove variable.
27877 (rtld_installed_name): Likewise.
27878 (library_path): Likewise.
27879 (run_program_prefix): New variable. Use for running globtest
27880 binary.
27881
166bca24
JB
278822012-10-23 Jim Blandy <jimb@codesourcery.com>
27883 Joseph Myers <joseph@codesourcery.com>
27884
27885 * Makeconfig (host-built-program-cmd): New variable.
27886 * elf/Makefile (tst-stackguard1-ARGS): Use
27887 $(host-built-program-cmd).
27888 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
27889 (tst-spawn-ARGS): Likewise.
27890 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
27891
88866099
JM
278922012-10-23 Joseph Myers <joseph@codesourcery.com>
27893 Jim Blandy <jimb@codesourcery.com>
27894
27895 * Makeconfig (run-via-rtld-prefix): New variable.
27896 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
27897 (built-program-cmd): Likewise.
27898
b4b4c296
AJ
278992012-10-22 Andreas Jaeger <aj@suse.de>
27900
27901 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
27902 __O_RSYNC if it exists, otherwise to O_SYNC.
27903
6fb54a22
JB
279042012-10-22 Jim Blandy <jimb@codesourcery.com>
27905 Joseph Myers <joseph@codesourcery.com>
27906
27907 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
27908 /dev/null.
27909 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
27910 from /dev/null
27911 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
27912 /dev/null.
27913
481b90b9
AJ
279142012-10-22 Andreas Jaeger <aj@suse.de>
27915
2a0e2669
AJ
27916 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
27917 Define always.
27918 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
27919
76e38f9a
AJ
27920 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27921 bits/fcntl-linux.h.
27922
7cd37b43
AJ
27923 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
27924 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
27925
481b90b9
AJ
27926 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
27927 to __O_LARGEFILE.
27928 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
27929 to __O_LARGEFILE.
27930
aba75984
JB
279312012-10-21 Jim Blandy <jimb@codesourcery.com>
27932 Joseph Myers <joseph@codesourcery.com>
27933
27934 * config.make.in (NM): New variable.
27935
88d4247f
AJ
279362012-10-21 Andreas Jaeger <aj@suse.de>
27937
27938 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
27939 definitions and declarations that are provided by
27940 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27941
f2eed205
L
279422012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27943
27944 [BZ #14683]
27945 * elf/Makefile (tests-static): Add tst-leaks1-static.
27946 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
27947 ($(objpfx)tst-leaks1-static): New rule.
27948 ($(objpfx)tst-leaks1-static-mem): Likewise.
27949 (tst-leaks1-static-ENV): New macro.
27950 * elf/dl-open.c (dl_open_worker): Check the main application
27951 only if SHARED is defined.
27952 * elf/tst-leaks1-static.c: New file.
27953
335e6931
AJ
279542012-10-20 Andreas Jaeger <aj@suse.de>
27955
27956 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
27957 generic values for Linux.
27958 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
27959 and declarations that are provided by <bits/fcntl-linux.h> and
27960 include <bits/fcntl-linux.h>.
27961 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27962 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27963
ac5c94d3
RM
279642012-10-20 Roland McGrath <roland@hack.frob.com>
27965
27966 * io/fcntl.h: Move include of <bits/types.h> to the top and
27967 include it unconditionally.
27968
de54b33a
L
279692012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27970
228cfb01
L
27971 * wcsmbs/Makefile (tests-ifunc): New variable.
27972 (tests): Add $(tests-ifunc).
27973 * wcsmbs/test-wcschr-ifunc.c: New file.
27974 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27975 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27976 * wcsmbs/test-wcslen-ifunc.c: Likewise.
27977 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27978 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27979
69f07e5f
L
27980 * string/Makefile (tests-ifunc): New variable.
27981 (tests): Add $(tests-ifunc).
27982 * string/test-memccpy.c (TEST_NAME): New macro.
27983 * string/test-memchr.c (TEST_NAME): Likewise.
27984 * string/test-memcmp.c (TEST_NAME): Likewise.
27985 * string/test-memcpy.c (TEST_NAME): Likewise.
27986 * string/test-memmem.c (TEST_NAME): Likewise.
27987 * string/test-memmove.c (TEST_NAME): Likewise.
27988 * string/test-memset.c (TEST_NAME): Likewise.
27989 * string/test-rawmemchr.c (TEST_NAME): Likewise.
27990 * string/test-stpcpy.c (TEST_NAME): Likewise.
27991 * string/test-stpncpy.c (TEST_NAME): Likewise.
27992 * string/test-strcasecmp.c (TEST_NAME): Likewise.
27993 * string/test-strcasestr.c (TEST_NAME): Likewise.
27994 * string/test-strcat.c (TEST_NAME): Likewise.
27995 * string/test-strchr.c (TEST_NAME): Likewise.
27996 * string/test-strcmp.c(TEST_NAME): Likewise.
27997 * string/test-strcpy.c (TEST_NAME): Likewise.
27998 * string/test-strcspn.c (TEST_NAME): Likewise.
27999 * string/test-strlen.c (TEST_NAME): Likewise.
28000 * string/test-strncasecmp.c (TEST_NAME): Likewise.
28001 * string/test-strncmp.c (TEST_NAME): Likewise.
28002 * string/test-strncpy.c (TEST_NAME): Likewise.
28003 * string/test-strnlen.c (TEST_NAME): Likewise.
28004 * string/test-strpbrk.c (TEST_NAME): Likewise.
28005 * string/test-strrchr.c (TEST_NAME): Likewise.
28006 * string/test-strspn.c (TEST_NAME): Likewise.
28007 * string/test-strstr.c (TEST_NAME): Likewise.
28008 * string/test-bcopy-ifunc.c: New file.
28009 * string/test-bzero-ifunc.c: Likewise.
28010 * string/test-memccpy-ifunc.c: Likewise.
28011 * string/test-memchr-ifunc.c: Likewise.
28012 * string/test-memcmp-ifunc.c: Likewise.
28013 * string/test-memcpy-ifunc.c: Likewise.
28014 * string/test-memmem-ifunc.c: Likewise.
28015 * string/test-memmove-ifunc.c: Likewise.
28016 * string/test-mempcpy-ifunc.c: Likewise.
28017 * string/test-memset-ifunc.c: Likewise.
28018 * string/test-rawmemchr-ifunc.c: Likewise.
28019 * string/test-stpcpy-ifunc.c: Likewise.
28020 * string/test-stpncpy-ifunc.c: Likewise.
28021 * string/test-strcasecmp-ifunc.c: Likewise.
28022 * string/test-strcasestr-ifunc.c: Likewise.
28023 * string/test-strcat-ifunc.c: Likewise.
28024 * string/test-strchr-ifunc.c: Likewise.
28025 * string/test-strchrnul-ifunc.c: Likewise.
28026 * string/test-strcmp-ifunc.c: Likewise.
28027 * string/test-strcpy-ifunc.c: Likewise.
28028 * string/test-strcspn-ifunc.c: Likewise.
28029 * string/test-strlen-ifunc.c: Likewise.
28030 * string/test-strncasecmp-ifunc.c: Likewise.
28031 * string/test-strncat-ifunc.c: Likewise.
28032 * string/test-strncmp-ifunc.c: Likewise.
28033 * string/test-strncpy-ifunc.c: Likewise.
28034 * string/test-strnlen-ifunc.c: Likewise.
28035 * string/test-strpbrk-ifunc.c: Likewise.
28036 * string/test-strrchr-ifunc.c: Likewise.
28037 * string/test-strspn-ifunc.c: Likewise.
28038 * string/test-strstr-ifunc.c: Likewise.
28039
de54b33a
L
28040 * debug/Makefile (tests-ifunc): New variable.
28041 (tests): Add $(tests-ifunc).
28042 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
28043 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
28044 * debug/test-stpcpy_chk-ifunc.c: New file.
28045 * debug/test-strcpy_chk-ifunc.c: Likewise.
28046
88481c16
SP
280472012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28048
28049 [BZ #13601]
28050 * elf/dl-load.c (open_verify): Retry read if the entire ELF
28051 header is not read in.
28052
135948bd
JM
280532012-10-19 Joseph Myers <joseph@codesourcery.com>
28054
89f1c388
JM
28055 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
28056 script to $(SHELL) as $<. Pass $(common-objpfx) to script
28057 directly. Pass built executable to script as
28058 $(built-program-cmd).
28059 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
28060 $testprogram without using LD_LIBRARY_PATH and $ldso.
28061
e40a0d21
JM
28062 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
28063 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
28064 $(rtld-installed-name).
28065 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
28066 (rtld_installed_name): Likewise.
28067 (library_path): Likewise.
28068 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
28069 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
28070 $(run-program-prefix) to tst-tables.sh.
28071 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
28072 it to run tst-table-from and tst-table-to.
28073 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
28074 Pass it to tst-table.sh.
28075 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
28076 $(run-program-prefix) to tst-gettext.sh.
28077 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
28078 tst-translit.sh.
28079 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
28080 tst-gettext2.sh.
28081 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
28082 to run tst-gettext.
28083 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
28084 to run tst-gettext2.
28085 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
28086 to run tst-translit.
28087 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
28088 $(run-program-prefix) to tst-mtrace.sh.
28089 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
28090 to run tst-mtrace.
28091 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
28092 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
28093 $(rtld-installed-name).
28094 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
28095 (rtld_installed_name): Likewise.
28096 (run_program_prefix): New variable. Use it to run wordexp-test.
28097
728e272a
JM
28098 * Makeconfig (ARCH): Remove all definitions.
28099 (machine): Likewise.
28100 [ARCH]: Remove conditional code.
28101 [!objdir]: Give error.
28102 [!objdir] (objpfx): Remove.
28103 [!objdir] (common-objpfx): Likewise.
28104 [!objdir] (common-objdir): Likewise.
28105 * configure.in (config_makefile): Remove. Hardcode Makefile in
28106 AC_CONFIG_FILES call.
28107 * configure: Regenerated.
28108
d528cdcf
JM
28109 [BZ #13888]
28110 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
28111 or TMPDIR.
28112 (testout): Likewise.
28113
135948bd
JM
28114 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
28115 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
28116 $(rtld-installed-name).
28117 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
28118 (rtld_installed_name): Likwise.
28119 (runit): Remove function.
28120 (run_getconf): New variable, Use it for running getconf binary.
28121
38c78296
L
281222012-10-18 H.J. Lu <hongjiu.lu@intel.com>
28123
28124 [BZ #14716]
28125 * string/test-memmem.c (check_result): New function.
28126 (do_one_test): Use it.
28127 (check1): New function.
28128 (test_main): Use it.
28129
d077f65f
MT
281302012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
28131
28132 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
28133
ced52c71
JM
281342012-10-18 Joseph Myers <joseph@codesourcery.com>
28135
28136 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
28137 (_G_LSEEK64): Likewise.
28138 (_G_MMAP64): Likewise.
28139 (_G_FSTAT64): Likewise.
28140 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
28141 (_G_LSEEK64): Likewise.
28142 (_G_MMAP64): Likewise.
28143 (_G_FSTAT64): Likewise.
28144 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
28145 unconditional. Call __mmap64 directly.
28146 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
28147 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
28148 __lseek64 directly.
28149 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
28150 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
28151 __mmap64 directly.
28152 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
28153 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
28154 __lseek64 directly.
28155 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
28156 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
28157 __lseek64 directly.
28158 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28159 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
28160 __lseek64 directly.
28161 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28162 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
28163 __fxstat64 directly.
28164 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28165 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28166 unconditional.
28167 (freopen64) [!_G_OPEN64]: Remove conditional code.
28168 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28169 unconditional.
28170 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28171 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28172 unconditional.
28173 (ftello64) [!_G_LSEEK64]: Remove conditional code.
28174 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
28175 unconditional.
28176 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28177 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
28178 unconditional.
28179 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
28180 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
28181 unconditional.
28182 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28183 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
28184 unconditional.
28185 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28186 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
28187 unconditional.
28188 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28189
b741de23
SP
281902012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28191
28192 [BZ #12140]
28193 * manual/memory.texi (Malloc Tunable Parameters): Add note
28194 about free list pointers overwriting some perturb bytes.
28195 Wording suggested by Roland McGrath.
28196
f9b9d9c9
JM
281972012-10-17 Joseph Myers <joseph@codesourcery.com>
28198
28199 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
28200 (lgamma_test): Likewise.
28201 (tgamma_test): Likewise.
28202
172a631a
FW
282032012-10-16 Florian Weimer <fweimer@redhat.com>
28204
28205 [BZ #14700]
28206 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
28207 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
28208
e9f37252
MK
282092012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
28210
28211 * NEWS: Mention BZ #14716.
28212 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
28213 when removing AVAILABLE1_USES_J macro.
28214
d394eb74
L
282152012-10-12 H.J. Lu <hongjiu.lu@intel.com>
28216
28217 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
28218 (__bswap_64): __uint64_t for unsigned 64-bit int.
28219
ca38dc17
AS
282202012-10-12 Andreas Schwab <schwab@linux-m68k.org>
28221
28222 * include/string.h (memmem): Declare libc hidden alias.
28223 * string/memmem.c (memmem): Define libc hidden alias.
28224 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28225 __read, __close instead of open, read, close.
28226
9a387d1f
L
282272012-10-11 H.J. Lu <hongjiu.lu@intel.com>
28228
ac49ecaf
L
28229 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28230 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28231 global and hidden.
28232 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28233 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28234 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28235 Likewise.
28236 (__rawmemchr_sse2): Likewise.
28237 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28238 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28239 (__strchr_sse2): Likewise.
28240 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28241 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28242 (__strcasecmp_sse2): Likewise.
28243 (__strncasecmp_sse2): Likewise.
28244 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28245 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28246 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28247 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28248 (__strrchr_sse2): Likewise.
28249 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28250 ifunc-impl-list.c.
28251 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28252 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28253 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28254 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28255 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28256 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28257 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28258 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28259 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28260 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28261 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28262 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28263 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
28264 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28265 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28266 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28267 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28268 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28269 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
28270 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
28271 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
28272 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
28273 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
28274 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28275 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
28276 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28277 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28278 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28279 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28280 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28281
b090e8ea
L
28282 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
28283 global and hidden.
28284 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
28285 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
28286 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
28287 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
28288 Likewise.
28289 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
28290 Likewise.
28291 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
28292 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
28293 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
28294 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
28295 ifunc-impl-list.c.
28296 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28297 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28298 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28299 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28300 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28301 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28302 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28303 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28304 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28305 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28306 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28307 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28308 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28309 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28310 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28311 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28312 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28313 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
28314 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28315 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28316 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28317 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28318 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28319 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28320 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28321 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28322 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28323 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28324 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28325 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28326 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
28327 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28328 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28329 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
28330 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28331 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28332 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28333 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28334 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28335 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28336 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
28337
11dd4af6
L
28338 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
28339 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
28340 * include/ifunc-impl-list.h: New file.
28341 * misc/ifunc-impl-list.c: Likewise.
28342 * misc/Makefile (routines): Add ifunc-impl-list.
28343 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
28344 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
28345 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
28346 TEST_NAME]: New variables.
11dd4af6
L
28347 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
28348 are defined.
28349 (test_init): Call __libc_ifunc_impl_list to initialize
28350 func_list if TEST_IFUNC and TEST_NAME are defined.
28351
9a387d1f
L
28352 * string/Makefile (strop-tests): Add bcopy and bzero.
28353 * string/test-bcopy.c: New file.
28354 * string/test-bzero.c: Likewise.
28355 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
28356 defined.
28357 * string/test-memset.c: Support bzero test if TEST_BZERO is
28358 defined.
28359 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
28360 __libc_memmove.
28361 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
28362 __libc_memset.
28363 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
28364 of memset.
28365
472371b9
JM
283662012-10-10 Joseph Myers <joseph@codesourcery.com>
28367
1e4a9536
JM
28368 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
28369 * configure: Regenerated.
28370
d173d12e
JM
28371 * Makeconfig (+link-static-before-libc): Don't include
28372 $(link-static-libc).
28373
472371b9
JM
28374 * libio/libio.h (_IO_pos_t): Remove.
28375
89a3ad0b
AO
283762012-10-10 Alexandre Oliva <aoliva@redhat.com>
28377
28378 * NEWS: Add note about FIPS mode. Wording suggested by Roland
28379 McGrath.
28380
e7451425
AO
283812012-10-10 Alexandre Oliva <aoliva@redhat.com>
28382
28383 * crypt/crypt-entry.c: Include fips-private.h.
28384 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
28385 * crypt/md5c-test.c (main): Tolerate disabled MD5.
28386 * sysdeps/unix/sysv/linux/fips-private.h: New file.
28387 * sysdeps/generic/fips-private.h: New file, dummy fallback.
28388
4ba74a35
AO
283892012-10-10 Alexandre Oliva <aoliva@redhat.com>
28390
28391 * crypt/crypt-private.h: Include stdbool.h.
28392 (_ufc_setup_salt_r): Return bool.
28393 * crypt/crypt-entry.c: Include errno.h.
28394 (__crypt_r): Return NULL with EINVAL for bad salt.
28395 * crypt/crypt_util.c (bad_for_salt): New.
28396 (_ufc_setup_salt_r): Check that salt is long enough and within
28397 the specified alphabet.
28398 * crypt/badsalttest.c: New file.
28399 * crypt/Makefile (tests): Add it.
28400 ($(objpfx)badsalttest): New.
28401
f96f1242
MK
284022012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
28403
28404 * NEWS: Add entry for BZ #14602.
28405
0e8e0c1c
JM
284062012-10-09 Joseph Myers <joseph@codesourcery.com>
28407
28408 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
28409 type-generic.
28410 * math/libm-test.inc: Update comment listing what functions and
28411 macros are tested.
28412 (isgreater_test): New function.
28413 (isgreaterequal_test): Likewise.
28414 (isless_test): Likewise.
28415 (islessequal_test): Likewise.
28416 (islessgreater_test): Likewise.
28417 (isunordered_test): Likewise.
28418 (main): Call the new functions.
28419
273edc5e
RM
284202012-10-09 Roland McGrath <roland@hack.frob.com>
28421
b8493de0
RM
28422 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
28423 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
28424 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
28425 * sysdeps/i386/configure: Regenerated.
28426 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
28427 * sysdeps/mach/configure: Regenerated.
28428 * sysdeps/mach/hurd/configure: Regenerated.
28429 * sysdeps/powerpc/configure: Regenerated.
28430 * sysdeps/powerpc/powerpc32/configure: Regenerated.
28431 * sysdeps/powerpc/powerpc64/configure: Regenerated.
28432 * sysdeps/s390/s390-32/configure: Regenerated.
28433 * sysdeps/s390/s390-64/configure: Regenerated.
28434 * sysdeps/sh/configure: Regenerated.
28435 * sysdeps/sparc/configure: Regenerated.
28436 * sysdeps/unix/sysv/linux/configure: Regenerated.
28437 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28438 * sysdeps/x86_64/configure: Regenerated.
28439
273edc5e
RM
28440 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
28441 defined. Don't check if MAP is NULL.
28442
c8450f70
JM
284432012-10-09 Joseph Myers <joseph@codesourcery.com>
28444
28445 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
28446 (_G_stat64): Likewise.
28447 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
28448 (_G_stat64): Likewise.
28449 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
28450 instead of struct _G_stat64.
28451 * libio/fileops.c (mmap_remap_check): Likewise.
28452 (decide_maybe_mmap): Likewise.
28453 (_IO_new_file_seekoff): Likewise.
28454 (_IO_file_stat): Likewise.
28455 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
28456 _G_off64_t.
28457 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
28458 instead of struct _G_stat64.
28459 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28460
57e605ba
MK
284612012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
28462
28463 [BZ #14602]
28464 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28465 Replace with ...
28466 (CHECK_EOL): New macro.
28467 (two_way_short_needle): Check beginning of haystack for EOL. Use
28468 CHECK_EOL.
28469 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28470 Replace with CHECK_EOL.
28471 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28472 Replace with CHECK_EOL.
28473
ef1bb361
JM
284742012-10-08 Joseph Myers <joseph@codesourcery.com>
28475
28476 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
28477 type-generic.
28478 * math/libm-test.inc: Update comment listing what functions and
28479 macros are tested.
28480 (finite_test): New function.
28481 (isinf_test): Likewise.
28482 (isnan_test): Likewise.
28483 (fpclassify_test): Test subnormal input.
28484 (isfinite_test): Likewise.
28485 (isnormal_test): Likewise.
28486 (main): Call the new functions.
28487
55f11534
JN
284882012-10-08 Jonathan Nieder <jrnieder@gmail.com>
28489
28490 [BZ #14660]
28491 * Makerules (%.dynsym): Force C locale when running
28492 $(OBJDUMP) --dynamic-syms.
28493
1ab29350
AS
284942012-10-08 Andreas Schwab <schwab@linux-m68k.org>
28495
28496 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
28497 <stdint.h>.
28498
f1ecb7ef
DM
284992012-10-06 David S. Miller <davem@davemloft.net>
28500
28501 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
28502 upper 32-bits of the length value in %o2 since we use branch-on-register
28503 tests which consider the entire 64-bit register.
28504
5d41d91a
L
285052012-10-06 H.J. Lu <hongjiu.lu@intel.com>
28506
28507 * string/test-strstr.c (check2): Add a test for page boundary.
28508
3baddb72
DM
285092012-10-05 David S. Miller <davem@davemloft.net>
28510
28511 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
28512 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
28513 file.
28514 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28515 sysdep_routines.
28516 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28517 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
28518 and bzero when HWCAP_SPARC_CRYPTO is present.
28519
9cee5585
L
285202012-10-05 H.J. Lu <hongjiu.lu@intel.com>
28521
d7e0dab9
L
28522 [BZ #14602]
28523 * string/test-strstr.c (check2): New function.
28524 (test_main): Call check2.
28525
03759f47
L
28526 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
28527 and bug-strchr1.
28528 * string/bug-strcasestr1.c (do_test): Moved to ...
28529 * string/test-strcasestr.c (check1): Here. New function.
28530 (do_one_test): Break out result checking code into ...
28531 (check_result): This. New function.
28532 (do_one_test): Call check_result.
28533 (test_main): Call check1.
28534 * string/bug-strchr1.c (do_test): Moved to ...
28535 * string/test-strchr.c (check1): Here. New function.
28536 (do_one_test): Break out result checking code into ...
28537 (check_result): This. New function.
28538 (do_one_test): Call check_result.
28539 (test_main): Call check1.
28540 * string/bug-strstr1.c (main): Moved to ...
046f153e 28541 * string/test-strstr.c (check1): Here. New function.
03759f47
L
28542 (do_one_test): Break out result checking code into ...
28543 (check_result): This. New function.
28544 (do_one_test): Call check_result.
28545 (test_main): Call check1.
28546 * string/bug-strcasestr1.c: Removed.
28547 * string/bug-strchr1.c: Likewise.
28548 * string/bug-strstr1.c: Likewise.
28549
53cea63e
L
28550 * elf/Makefile (dl-routines): Add hwcaps.
28551 * elf/dl-support.c (_dl_important_hwcaps): Removed.
28552 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
28553 (_dl_important_hwcaps): Moved to ...
28554 * elf/dl-hwcaps.c: Here. New file.
28555 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
28556
9cee5585 28557 [BZ #14557]
bb859b06
L
28558 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
28559 if IS_IN_rtld isn't defined.
28560
9cee5585
L
28561 * elf/dl-support.c (_dl_sysinfo_map): New.
28562 Include "get-dynamic-info.h" and "setup-vdso.h".
28563 (_dl_non_dynamic_init): Call setup_vdso.
28564 * elf/dynamic-link.h: Don't include <assert.h>.
28565 (elf_get_dynamic_info): Moved to ...
28566 * elf/get-dynamic-info.h: Here. New file.
28567 * elf/dynamic-link.h: Include "get-dynamic-info.h".
28568 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
28569 * elf/setup-vdso.h: Here. New file.
28570 * elf/rtld.c: Include "setup-vdso.h".
28571 (dl_main): Call setup_vdso.
28572
23c31b76
JM
285732012-10-05 Joseph Myers <joseph@codesourcery.com>
28574
28234b07
JM
28575 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
28576 creal in comment listing functions tested. List finite, isinf,
28577 isnan, isless, islessequal, isgreater, isgreaterequal,
28578 islessgreater, isunordered, lgamma_r and pow10 as functions and
28579 macros not tested. Mention which functions not tested are aliases
28580 for other functions. Fix typo. Note that signs of NaNs are not
28581 tested.
28582
23c31b76
JM
28583 * scripts/config.guess: Update from config.git.
28584 * scripts/config.sub: Likewise.
28585
9043e228
RM
285862012-10-04 Roland McGrath <roland@hack.frob.com>
28587
28588 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
28589 * misc/madvise.c (madvise): Renamed to __madvise.
28590 Make madvise a weak alias.
28591 * include/sys/mman.h: Declare __madvise.
28592 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
28593 * sysdeps/unix/syscalls.list
28594 (madvise): Make __madvise the strong name, and madvise a weak alias.
28595 * sysdeps/unix/sysv/linux/syscalls.list
28596 (madvise, mmap): Remove redundant entries.
28597 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
28598 * malloc/malloc.c (mtrim): Likewise.
28599 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
28600
f57f8055
RM
286012012-10-03 Roland McGrath <roland@hack.frob.com>
28602
28603 * sysdeps/mach/hurd/dl-cache.c: File removed.
28604 * config.h.in (USE_LDCONFIG): New #undef.
28605 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
28606 * configure: Regenerated.
28607 * elf/Makefile (dl-routines): Add dl-cache only under
28608 [$(use-ldconfig) = yes].
28609 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
28610 cache on [USE_LDCONFIG].
28611 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
28612 [USE_LDCONFIG].
28613 * elf/rtld.c (dl_main): Likewise.
28614
5bb0c10a
PT
286152012-10-03 Pino Toscano <toscano.pino@tiscali.it>
28616
28617 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
28618 _SC_LEVEL4_CACHE_LINESIZE.
28619
010188c6
RM
286202012-10-03 Roland McGrath <roland@hack.frob.com>
28621
28622 * sysdeps/unix/bsd/confstr.h: File removed.
28623
b6c5ec07
AO
286242012-10-02 Alexandre Oliva <aoliva@redhat.com>
28625
28626 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
28627 sys/sdt-config.h.
28628
408223d4
RM
286292012-10-02 Roland McGrath <roland@hack.frob.com>
28630
28631 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
28632 Make 'mapoff' field ElfW(Off) rather than off_t.
28633
bb9510dc
DL
286342012-10-02 Dmitry V. Levin <ldv@altlinux.org>
28635
fc997c6e
DL
28636 * nscd/Makefile: Remove nscd-cflags and all its users.
28637 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
28638 (CFLAGS-nonlib): Add compiler flags for nscd modules.
28639
bb9510dc
DL
28640 [BZ #10631]
28641 * malloc.c (malloc_printerr): Clarify error message.
28642
05699367
L
286432012-10-02 H.J. Lu <hongjiu.lu@intel.com>
28644
28645 [BZ #14648]
28646 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28647 Set bit_FMA_Usable if FMA is supported.
28648 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
28649 macro.
28650 (bit_FMA4_Usable): Updated.
28651 (index_FMA_Usable): New macro.
28652 (CPUID_FMA): Likewise
28653 (HAS_FMA): Defined with bit_FMA_Usable.
28654
51367701
RM
286552012-10-01 Roland McGrath <roland@hack.frob.com>
28656
28657 * bits/types.h (__swblk_t): Type removed.
28658 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
28659 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
28660 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28661 (__SWBLK_T_TYPE): Likewise.
28662 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28663 (__SWBLK_T_TYPE): Likewise.
28664 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28665 (__SWBLK_T_TYPE): Likewise.
28666 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28667 (__SWBLK_T_TYPE): Likewise.
28668
4d57bf63 286692012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 28670 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
28671
28672 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
28673 (xdr_mapname): Use YPMAXMAP as maxsize.
28674 (xdr_peername): Use YPMAXPEER as maxsize.
28675 (xdr_keydat): Use YPAXRECORD as maxsize.
28676 (xdr_valdat): Use YPMAXRECORD as maxsize.
28677
93c65d43
RM
286782012-10-01 Roland McGrath <roland@hack.frob.com>
28679
497a03d6
RM
28680 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
28681
93c65d43
RM
28682 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
28683 * csu/init-first.c: ... here.
28684 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
28685 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28686 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28687 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28688 * sysdeps/i386/init-first.c: File removed.
28689 * sysdeps/sh/init-first.c: File removed.
28690
bec749fd
JM
286912012-10-01 Joseph Myers <joseph@codesourcery.com>
28692
28693 [BZ #14645]
28694 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
28695 if x * y might underflow to zero and z is zero.
28696 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28697 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28698 * math/libm-test.inc (min_subnorm_value): New variable.
28699 (fma_test): Add more tests.
28700 (fma_test_towardzero): Likewise.
28701 (fma_test_downward): Likewise
28702 (fma_test_upward): Likewise.
28703 (initialize): Set min_subnorm_value.
28704
8ec5b013
JM
287052012-09-29 Joseph Myers <joseph@codesourcery.com>
28706
28707 [BZ #14638]
28708 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
28709 0 + 0.
28710 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
28711 mode for addition resulting in exact zero.
28712 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
28713 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
28714 exact 0 + 0.
28715 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28716 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28717 * math/libm-test.inc (fma_test): Add more tests.
28718 (fma_test_towardzero): New function.
28719 (fma_test_downward): Likewise.
28720 (fma_test_upward): Likewise.
28721 (main): Call the new functions.
28722
b1fa802e
DM
287232012-09-28 David S. Miller <davem@davemloft.net>
28724
28725 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
28726
d3b9fd9e
RM
287272012-09-28 Roland McGrath <roland@hack.frob.com>
28728
ea4d37b3
RM
28729 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
28730 instead of SIGALRM.
28731
ac51c949
RM
28732 * sysdeps/gnu/_G_config.h: Moved to ...
28733 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
28734 * sysdeps/mach/hurd/_G_config.h: Moved to ...
28735 * sysdeps/generic/_G_config.h: ... here.
28736
28c195f7
RM
28737 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
28738
848917f9
RM
28739 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
28740
6bacf05b
RM
28741 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
28742 Conditionalize target on [libnss_test1.so-version].
28743
91363dbb
RM
28744 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
28745
cc87f7d8
RM
28746 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
28747 (elfobjdir): Move out of conditionals.
28748
b1c608fe
RM
28749 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
28750 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
28751 (__nss_lookup_function): Conditionalize label remove_from_tree on
28752 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 28753
1d9a6d96
DM
287542012-09-28 David S. Miller <davem@davemloft.net>
28755
28756 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
28757 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
28758 file.
28759 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28760 sysdep_routines.
28761 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28762 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
28763 when HWCAP_SPARC_CRYPTO is present.
28764
72581615
PT
287652012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28766
28767 * io/tst-mknodat.c: Create a FIFO instead of a socket.
28768
715a900c
JL
287692012-09-28 Andreas Schwab <schwab@linux-m68k.org>
28770
28771 [BZ #6530]
28772 * stdio-common/vfprintf.c (process_string_arg): Revert
28773 2000-07-22 change.
28774
287752011-09-28 Jonathan Nieder <jrnieder@gmail.com>
28776
28777 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28778 for testcase.
28779 * stdio-common/tst-sprintf.c: Include <locale.h>
28780 (main): Test sprintf's handling of incomplete multibyte
28781 characters.
28782
9bac1d86
L
287832012-09-28 H.J. Lu <hongjiu.lu@intel.com>
28784
28785 * elf/dl-runtime.c (VERSYMIDX): Removed.
28786 * elf/dl-version.c (VERSYMIDX): Likewise.
28787 * elf/do-rel.h (VERSYMIDX): Likewise.
28788 (VALIDX): Likewise.
28789 * elf/dynamic-link.h (VERSYMIDX): Likewise.
28790 * elf/rtld.c (VALIDX): Likewise.
28791 (ADDRIDX): Likewise.
9bac1d86
L
28792 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28793 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28794 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
28795 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
28796 (VALIDX): Likewise.
28797 (ADDRIDX): Likewise.
9bac1d86 28798
b31606c0
PT
287992012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28800
28801 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
28802
11541177
JL
288032012-09-28 Dmitry V. Levin <ldv@altlinux.org>
28804
28805 [BZ #11438]
28806 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
28807 to global scope.
28808 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
28809 addresses are in the same scope as 192.0.2/24.
28810 * posix/gai.conf: Document new scope table defaults.
28811
adb26fae
SP
288122012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28813
28814 [BZ #5298]
28815 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
28816 for ftell. Compute offsets from write pointers instead.
28817 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28818
4573c6b0
SP
288192012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28820
28821 [BZ #14543]
28822 * libio/Makefile (tests): New test case tst-fseek.
28823 * libio/tst-fseek.c: New test case to verify that fseek/ftell
28824 combination works in wide mode.
28825 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
28826 state when the external buffer state changes.
28827
aa9bbfe6
DM
288282012-09-27 David S. Miller <davem@davemloft.net>
28829
28830 [BZ #14376]
28831 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
28832 pass reloc->r_addend in as the 'high' argument to
28833 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
28834
784421e7
DM
28835 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28836
c39bc8b8
PT
288372012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28838
28839 * rt/tst-aio2.c: Include <pthread.h>.
28840 * rt/tst-aio3.c: Likewise.
28841
1ccc2399
SE
288422012-09-27 Steve Ellcey <sellcey@mips.com>
28843
28844 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
28845
31ed4153
L
288462012-09-27 H.J. Lu <hongjiu.lu@intel.com>
28847
25f5f885
L
28848 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
28849 contents on [SHARED].
31ed4153 28850
b7bfe116
MP
288512012-09-26 Marek Polacek <polacek@redhat.com>
28852
28853 [BZ #14530]
28854 [BZ #13741]
28855 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
28856 for C++ and GCC <4.3 as well as for non GCC compilers.
28857
43c4edba
MT
288582012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
28859
28860 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28861
6a1bf82f
RM
288622012-09-25 Roland McGrath <roland@hack.frob.com>
28863
28864 * Makefile.in (all, install): Declare with .PHONY.
28865 Reported by Michael Hope <michael.hope@linaro.org>.
28866
8ad11b9a
TMQMF
288672012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28868
28869 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
28870 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
28871 system header.
28872 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
28873 Likewise.
28874 (sydep_routines): Add the new and the internal functions.
28875 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
28876 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
28877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
28878 (GLIBC_2.17): Add the new function.
28879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28880 (GLIBC_2.17): Likewise.
28881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
28882 (GLIBC_2.17): Likewise.
28883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
28884 (GLIBC_2.17): Likewise.
28885 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
28886
7e2fca8d
AM
288872012-09-25 Alan Modra <amodra@gmail.com>
28888
28889 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
28890 Add release barrier before setting once_control to say
28891 initialisation is done. Add hints on lwarx. Use macro in
28892 place of isync.
28893 (clear_once_control): Add release barrier.
28894
b87c4b24
JM
288952012-09-25 Joseph Myers <joseph@codesourcery.com>
28896
d032e0d2
JM
28897 [BZ #13629]
28898 * math/s_clog.c (__clog): Handle more values close to |z| = 1
28899 specially.
28900 * math/s_clog10.c (__clog10): Likewise.
28901 * math/s_clog10f.c (__clog10f): Likewise.
28902 * math/s_clog10l.c (__clog10l): Likewise.
28903 * math/s_clogf.c (__clogf): Likewise.
28904 * math/s_clogl.c (__clogl): Likewise.
28905 * math/Makefile (libm-calls): Add x2y2m1.
28906 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
28907 (__x2y2m1): Likewise.
28908 (__x2y2m1l): Likewise.
28909 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
28910 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
28911 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
28912 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28913 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
28914 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
28915 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
28916 * sysdeps/i386/fpu/libm-test-ulps: Update.
28917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28918
b87c4b24
JM
28919 [BZ #14621]
28920 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
28921 int as type of variable DEPTH.
28922 (glob): Use size_t instead of int as type of variables NEWCOUNT
28923 and OLD_PATHC.
28924
6d3bf199
LD
289252012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28926
22bf5c17
LD
28927 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28928 Add s_sincosf-sse2.
28929 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
28930 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
28931 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
28932 macros for using routine as __sincosf_ia32.
28933 Use macro for function declaration and weak_alias.
28934 * sysdeps/i386/fpu/libm-test-ulps: Update.
28935
28936 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
28937 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28938
28939 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
28940 subnormal argument.
28941 * math/s_cexpf.c (__cexpf): Likewise.
28942 * math/s_csinf.c (__csinf): Likewise.
28943 * math/s_csinhf.c (__csinhf): Likewise.
28944 * math/s_ctanf.c (__ctanf): Likewise.
28945 * math/s_ctanhf.c (__ctanhf): Likewise.
28946 * math/s_ccosh.c (__ccoshf): Likewise.
28947 * math/s_cexp.c (__cexpl): Likewise.
28948 * math/s_csin.c (__csin): Likewise.
28949 * math/s_csinh.c (__csinh): Likewise.
28950 * math/s_ctan.c (__ctan): Likewise.
28951 * math/s_ctanh.c (ctanh): Likewise.
28952 * math/s_ccoshl.c (__ccoshl): Likewise.
28953 * math/s_cexpl.c (__cexpl): Likewise.
28954 * math/s_csinl.c (__csinl): Likewise.
28955 * math/s_csinhl.c (__csinhl): Likewise.
28956 * math/s_ctanl.c (__ctanl): Likewise.
28957 * math/s_ctanhl.c (__ctanhl): Likewise.
28958
203e5603
JM
289592012-09-25 Joseph Myers <joseph@codesourcery.com>
28960
28961 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
28962 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
28963 (_IO_off_t): Define to __off_t, not _G_off_t.
28964 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
28965 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
28966 (_IO_wint_t): Define to wint_t, not _G_wint_t.
28967 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
28968 type of __dummy and __dummy2 fields.
28969 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
28970 (_G_ssize_t): Likewise.
28971 (_G_off_t): Likewise.
28972 (_G_pid_t): Likewise.
28973 (_G_uid_t): Likewise.
28974 (_G_wchar_t): Likewise.
28975 (_G_wint_t): Likewise.
28976 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
28977 (_G_ssize_t): Likewise.
28978 (_G_off_t): Likewise.
28979 (_G_pid_t): Likewise.
28980 (_G_uid_t): Likewise.
28981 (_G_wchar_t): Likewise.
28982 (_G_wint_t): Likewise.
28983 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
28984 (_G_ssize_t): Likewise.
28985 (_G_off_t): Likewise.
28986 (_G_pid_t): Likewise.
28987 (_G_uid_t): Likewise.
28988 (_G_wchar_t): Likewise.
28989 (_G_wint_t): Likewise.
28990
9fab36eb
SP
289912012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28992
28993 * malloc/arena.c: Include malloc-sysdep.h.
28994 (shrink_heap): Use check_may_shrink_heap to decide if madvise
28995 is sufficient to shrink the heap or an unmap is needed.
28996 * sysdeps/generic/malloc-sysdep.h: New file. Define
28997 new function check_may_shrink_heap.
28998 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
28999 new function check_may_shrink_heap.
29000
2b4f00d1
SP
290012012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29002
29003 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
29004 comments.
29005
9a9028b1
DL
290062012-09-24 Dmitry V. Levin <ldv@altlinux.org>
29007
57c69bef
DL
29008 * catgets/test-gencat.sh: Add "set -e".
29009 * elf/tst-pathopt.sh: Likewise.
29010 * grp/tst_fgetgrent.sh: Likewise.
29011 * iconvdata/run-iconv-test.sh: Likewise.
29012 * intl/tst-gettext.sh: Likewise.
29013 * intl/tst-gettext2.sh: Likewise.
29014 * intl/tst-gettext4.sh: Likewise.
29015 * intl/tst-gettext6.sh: Likewise.
29016 * intl/tst-translit.sh: Likewise.
29017 * io/ftwtest-sh: Likewise.
29018 * libio/test-freopen.sh: Likewise.
29019 * malloc/tst-mtrace.sh: Likewise.
29020 * posix/globtest.sh: Likewise.
29021 * posix/tst-getconf.sh: Likewise.
29022 * posix/wordexp-tst.sh: Likewise.
29023 * stdio-common/tst-printf.sh: Likewise.
29024 * stdio-common/tst-unbputc.sh: Likewise.
29025 * stdlib/tst-fmtmsg.sh: Likewise.
29026 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29027 * catgets/Makefile: Do not specify -e option when running
29028 testsuite shell scripts.
29029 * elf/Makefile: Likewise.
29030 * grp/Makefile: Likewise.
29031 * iconvdata/Makefile: Likewise.
29032 * intl/Makefile: Likewise.
29033 * io/Makefile: Likewise.
29034 * libio/Makefile: Likewise.
29035 * malloc/Makefile: Likewise.
29036 * posix/Makefile: Likewise.
29037 * stdio-common/Makefile: Likewise.
29038 * stdlib/Makefile: Likewise.
29039 * sysdeps/x86_64/Makefile: Likewise.
29040
9a9028b1
DL
29041 * io/ftwtest-sh: Add copyright header.
29042 * posix/globtest.sh: Likewise.
29043 * posix/tst-getconf.sh: Likewise.
29044 * posix/wordexp-tst.sh: Likewise.
29045 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29046
ced6f16e
L
290472012-09-24 H.J. Lu <hongjiu.lu@intel.com>
29048
94b32c39
L
29049 [BZ #13679]
29050 * Makeconfig (+link): Defined as $(+link-static) if
29051 $(build-shared) isn't yes.
29052 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
29053 isn't yes.
29054 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
29055
189e935b
L
29056 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
29057
ced6f16e
L
29058 [BZ #14562]
29059 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
29060 new chunk size with MALLOC_ALIGN_MASK.
29061
a9f8e53a
JM
290622012-09-24 Joseph Myers <joseph@codesourcery.com>
29063
29064 [BZ #5044]
29065 * stdio-common/printf_fphex.c: Include <stdbool.h> and
29066 <rounding-mode.h>.
29067 (__printf_fphex): Determine rounding using get_rounding_mode and
29068 round_away.
29069 * stdio-common/tst-printf-round.c (struct hex_test): New
29070 structure.
29071 (hex_tests): New variable.
29072 (test_hex_in_one_mode): New function.
29073 (do_test): Also run tests for hex float output.
29074
43153109
JM
290752012-09-21 Joseph Myers <joseph@codesourcery.com>
29076
29077 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29078 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29079 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
29080 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29081 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29082 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
29083 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29084 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29085
8a26625d
JM
290862012-09-20 Joseph Myers <joseph@codesourcery.com>
29087
29088 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
29089 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
29090 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
29091 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
29092
f3fd569c
DL
290932012-09-19 Dmitry V. Levin <ldv@altlinux.org>
29094
29095 [BZ #14579]
29096 * elf/rtld.c (dl_main): Limit the check for self loading to normal
29097 mode only.
29098 * elf/tst-rtld-load-self.sh: New test.
29099 * elf/Makefile: Run it.
29100
63bbedd4
JM
291012012-09-18 Joseph Myers <joseph@codesourcery.com>
29102
29103 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
29104 (tst-writev-ENV): Remove.
29105 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
29106
626f8b6a
CM
291072012-09-17 Chris Metcalf <cmetcalf@tilera.com>
29108
29109 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
29110
b7aaa4d6
JM
291112012-09-17 Joseph Myers <joseph@codesourcery.com>
29112
29113 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
29114 unconditional.
29115 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
29116 Likewise.
29117 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
29118 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
29119 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
29120 Likewise.
29121
65513990
L
291222012-09-14 H.J. Lu <hongjiu.lu@intel.com>
29123
29124 [BZ #14587]
29125 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
29126 * config.make.in (have-cpp-asm-debuginfo): Removed.
29127 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
29128 * configure: Regenerated.
29129
784761be
JM
291302012-09-14 Joseph Myers <joseph@codesourcery.com>
29131
29132 [BZ #5044]
29133 * stdio-common/printf_fp.c: Include <stdbool.h> and
29134 <rounding-mode.h>.
29135 (___printf_fp): Determine rounding using get_rounding_mode and
29136 round_away.
29137 * stdio-common/tst-printf-round.c: New file.
29138 * stdio-common/Makefile (tests): Add tst-printf-round.
29139 (link-libm): New variable.
29140 ($(objpfx)tst-printf-round): Depend in $(link-libm).
29141
9503345f
L
291422012-09-13 H.J. Lu <hongjiu.lu@intel.com>
29143
29144 [BZ #14576]
29145 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
29146 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
29147 Likewise.
29148 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
29149 Likewise.
29150
ad35fc00
JM
291512012-09-13 Joseph Myers <joseph@codesourcery.com>
29152
29153 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
29154 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29155 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29156 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29157
6c9b0f68
JM
291582012-09-12 Joseph Myers <joseph@codesourcery.com>
29159
29160 [BZ #14518]
29161 * include/rounding-mode.h: New file.
29162 * sysdeps/generic/get-rounding-mode.h: Likewise.
29163 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29164 * stdlib/strtod_l.c: Include <rounding-mode.h>.
29165 (MAX_VALUE): New macro.
29166 (MIN_VALUE): Likewise.
29167 (overflow_value): New function.
29168 (underflow_value): Likewise.
29169 (round_and_return): Use overflow_value and underflow_value to
29170 determine return values in overflow and underflow cases. Use
29171 round_away to determine rounding depending on rounding mode.
29172 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29173 determine return values in overflow and underflow cases.
29174 * stdlib/tst-strtod-round.c: Include <fenv.h>.
29175 (struct test_results): New structure.
29176 (struct test): Use struct test_results to store expected results
29177 for all rounding modes.
29178 (TEST): Include expected results for all rounding modes.
29179 (test_in_one_mode): New function.
29180 (do_test): Use test_in_one_mode to compute and check results.
29181 Check results for all rounding modes.
29182 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
29183 $(link-libm).
29184
19fcedd5
AM
291852012-12-09 Allan McRae <allan@archlinux.org>
29186
1e9d84cd 29187 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 29188
8bbfd2f1
JM
291892012-09-11 Joseph Myers <joseph@codesourcery.com>
29190
29191 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
29192 (_G_int32_t): Likewise.
29193 (_G_uint16_t): Likewise.
29194 (_G_uint32_t): Likewise.
29195 (_G_HAVE_BOOL): Likewise.
29196 (_G_HAVE_ATEXIT): Likewise.
29197 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29198 (_G_HAVE_IO_FILE_OPEN): Likewise.
29199 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
29200 (_G_int32_t): Likewise.
29201 (_G_uint16_t): Likewise.
29202 (_G_uint32_t): Likewise.
29203 (_G_HAVE_BOOL): Likewise.
29204 (_G_HAVE_ATEXIT): Likewise.
29205 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29206 (_G_HAVE_IO_FILE_OPEN): Likewise.
29207 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
29208 (_G_int32_t): Likewise.
29209 (_G_uint16_t): Likewise.
29210 (_G_uint32_t): Likewise.
29211 (_G_HAVE_BOOL): Likewise.
29212 (_G_HAVE_ATEXIT): Likewise.
29213 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29214 (_G_HAVE_IO_FILE_OPEN): Likewise.
29215
b1dc5912
L
292162012-09-11 H.J. Lu <hongjiu.lu@intel.com>
29217
29218 * csu/libc-tls.c: Update copyright years.
29219
0e886ef9
JM
292202012-09-10 Joseph Myers <joseph@codesourcery.com>
29221
28361c5e
JM
29222 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29223 [!_G_USING_THUNKS]: Remove conditional code.
29224 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29225 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29226
0e886ef9
JM
29227 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29228 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29229 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29230 (_G_VTABLE_LABEL_PREFIX): Likewise.
29231 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29232 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29233 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29234 (_G_VTABLE_LABEL_PREFIX): Likewise.
29235 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29236 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29237 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29238 (_G_VTABLE_LABEL_PREFIX): Likewise.
29239 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29240
bcba7aa2
L
292412012-09-10 H.J. Lu <hongjiu.lu@intel.com>
29242
29243 * libio/Makefile: Include ../Makeconfig before tests.
29244 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29245 only if $(build-shared) is yes.
29246
06585ee8
L
29247 * iconv/gconv_db.c: Update copyright years.
29248
80ccd52c
LD
292492012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29250
29251 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29252 unwind info if defined PIC. Fix special cases description.
29253 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29254
29255 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29256 DP_HI_MASK entry.
29257 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29258
691bc9c1
L
292592012-09-07 H.J. Lu <hongjiu.lu@intel.com>
29260
3d9b46b3
L
29261 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29262
de2139a9
L
29263 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
29264 is NULL.
29265
5ca78dd0
L
29266 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
29267 (LDLIBS-tst-chk4): This.
29268 (LDFLAGS-tst-chk5): Renamed to ...
29269 (LDLIBS-tst-chk5): This.
29270 (LDFLAGS-tst-chk6): Renamed to ...
29271 (LDLIBS-tst-chk6): This.
29272 (LDFLAGS-tst-lfschk4): Renamed to ...
29273 (LDLIBS-tst-lfschk4): This.
29274 (LDFLAGS-tst-lfschk5): Renamed to ...
29275 (LDLIBS-tst-lfschk5): This.
29276 (LDFLAGS-tst-lfschk6): Renamed to ...
29277 (LDLIBS-tst-lfschk6): This.
29278
691bc9c1
L
29279 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
29280 on $(common-objpfx)soversions.mk.
29281
65cafb1c
JM
292822012-09-07 Joseph Myers <joseph@codesourcery.com>
29283
29284 [BZ #10014]
29285 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
29286 example host name.
29287
c78ab094
SP
292882012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29289
29290 * malloc/arena.c (arena_get_retry): New function that gets
29291 another arena for the caller to try its request on.
29292 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
29293 current arena cannot fulfill the request.
29294 (__libc_memalign): Likewise.
29295 (__libc_memalign): Likewise.
29296 (__libc_pvalloc): Likewise.
29297 (__libc_calloc): Likewise.
29298
01f49f59
JT
292992012-09-05 John Tobey <john.tobey@gmail.com>
29300
29301 [BZ #13542]
29302 * manual/arith.texi (Operations on Complex): Fix description
29303 of carg branch cut.
29304
4c23fed5
JM
293052012-09-06 Joseph Myers <joseph@codesourcery.com>
29306
1d3c8572
JM
29307 [BZ #10014]
29308 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
29309 host name.
29310
4c23fed5
JM
29311 [BZ #10038]
29312 * manual/memory.texi (Memory): Make order of menu items match
29313 order of sections.
29314
04570aaa
L
293152012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29316
29317 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
29318 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
29319 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
29320
b80af2f4
L
293212012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29322
29323 * csu/libc-tls.c (static_dtv): Renamed to ...
29324 (_dl_static_dtv): This. Make it global.
29325 (_dl_initial_dtv): Removed.
29326 (__libc_setup_tls): Updated.
29327 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
29328 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
29329 DL_INITIAL_DTV.
29330
2abe9f15
PM
293312012-09-06 Petr Machata <pmachata@redhat.com>
29332
29333 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
29334 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
29335 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
29336 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
29337
0948c3af
L
293382012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29339
29340 [BZ #14545]
29341 * csu/libc-tls.c (_dl_initial_dtv): New variable.
29342 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
29343 freeing dtv[-1].
29344
a5055ad1
L
293452012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29346
29347 [BZ #14544]
29348 * Makeconfig (link-static-before-libc): Replace $(+prector)
29349 with $(+prectorT).
29350 (link-static-after-libc): Replace $(+postctor) with
29351 $(+postctorT).
29352 (link-bounded): Replace $(+prector)/$(+postctor) with
29353 $(+prectorT)/$(+postctorT).
29354 (+prectorT): New macro.
29355 (+postctorT): Likewise.
29356
ed8c2ecd
JM
293572012-09-06 Joseph Myers <joseph@codesourcery.com>
29358
29359 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
29360 (round_str): Handle values above the maximum for IBM long double
29361 as inexact.
29362 * stdlib/tst-strtod-round.c (tests): Regenerated.
29363
14c996c8
AK
293642012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29365
29366 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
29367 assembler flag.
29368 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
29369 zarch_nohighgprs around the zarch optimized routines.
29370 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29371 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29372 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
29373 for zarch.
29374
430d6ce6
DM
293752012-09-05 David S. Miller <davem@davemloft.net>
29376
29377 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29378
57f41c40
AS
29379 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
29380 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
29381 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
29382 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29383 entries.
29384
24d4e01b
AO
293852012-09-05 Alexandre Oliva <aoliva@redhat.com>
29386
29387 * malloc/arena.c: Fold copyright years.
29388 * malloc/mcheck.c, malloc/memusage.c: Likewise.
29389
61d58174
AO
293902012-09-05 Alexandre Oliva <aoliva@redhat.com>
29391
29392 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
29393
20196a5e
AO
293942012-09-05 Alexandre Oliva <aoliva@redhat.com>
29395
29396 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
29397
5c447383
AO
293982012-09-05 Alexandre Oliva <aoliva@redhat.com>
29399
29400 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
29401 change internal state upon failure.
29402
fad64255
AO
294032012-09-05 Alexandre Oliva <aoliva@redhat.com>
29404
29405 * malloc/mcheck.c (mcheck_check_all): Fix typo.
29406 * malloc/memusage.c (mmap): Likewise.
29407 (mmap64, mremap): Likewise. Adjust name in comment.
29408
1ffb8c90
SP
294092012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29410
29411 * libio/fileops.c: Fix typos in comments.
29412 * libio/oldfileops.c: Likewise.
29413 * libio/wfileops.c: Likewise.
29414
6ef9cc37
SP
294152012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29416
29417 [BZ #1349]
29418 * malloc/Makefile (tests): Add tst-malloc-usable test case.
29419 (tst-malloc-usable-ENV): Set environment for test case.
29420 * malloc/hooks.c (malloc_check_get_size): New function to get
29421 requested size.
29422 * malloc/malloc.c (musable): Use malloc_check_get_size.
29423 * malloc/tst-malloc-usable.c: New test case.
29424
4d038ae3
AS
294252012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29426
29427 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
29428
c4e85184
AM
294292012-09-05 Allan McRae <allan@archlinux.org>
29430
b9dafc56 29431 [BZ #13966]
c4e85184
AM
29432 * configure.in (CXX_SYSINCLUDES): Use compiler output to
29433 determine header location.
29434 * configure: Regenerated.
29435
e1343020
AS
294362012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29437
29438 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
29439 float format.
29440 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
29441 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
29442 format.
e1343020
AS
29443 (test): Regenerate.
29444
0a9f1987
DM
294452012-09-04 David S. Miller <davem@davemloft.net>
29446
29447 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
29448 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
29449 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
29450
29237804
FW
294512012-09-04 Florian Weimer <fweimer@redhat.com>
29452
29453 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
29454 failures.
29455
edb3cb88
FW
29456 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
29457
60160d83
JM
294582012-09-04 Joseph Myers <joseph@codesourcery.com>
29459
29460 [BZ #9914]
29461 * libio/iogetdelim.c: Include <limits.h>.
29462 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
29463 + len + 1 would overflow.
29464
bcd6c8dc
AJ
294652012-09-03 Andreas Jaeger <aj@suse.de>
29466
29467 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29468 * sysdeps/i386/fpu/libm-test-ulps: Update.
29469
4ffffbd2
LD
294702012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29471
29472 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29473 Add s_sinf-sse2, s_conf-sse2.
29474
29475 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
29476 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
29477 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
29478 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
29479
29480 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
29481 for using routine as __sinf_ia32.
29482 Use macro for function declaration and weak_alias.
29483 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
29484 for using routine as __cosf_ia32.
29485 Use macro for function declaration and weak_alias.
29486
29487 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
29488 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
29489
29490 * sysdeps/x86_64/fpu/s_sinf.S: New file.
29491 * sysdeps/x86_64/fpu/s_cosf.S: New file.
29492 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29493
29494 * math/libm-test.inc (cos_test): Add more test cases.
29495 (sin_test): Likewise.
29496 (sincos_test): Likewise.
29497
511fa286
AK
294982012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29499
29500 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29501 (IFUNC_RESOLVE): Make pointers to the specialized implementations
29502 hidden.
29503 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29504
5f30cfec
L
295052012-09-02 H.J. Lu <hongjiu.lu@intel.com>
29506
29507 [BZ #14538]
29508 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
29509 first element of the GOT.
29510 (elf_machine_load_address): Return the difference between
29511 the runtime address of _DYNAMIC and elf_machine_dynamic ().
29512
0786794f
AM
295132012-09-01 Allan McRae <allan@archlinux.org>
29514
5f30cfec
L
29515 [BZ #13412]
29516 * configure.in (AWK): Require gawk version 3.0 or later.
29517 * configure: Regenerated.
0786794f 29518
26889eac
JM
295192012-09-01 Joseph Myers <joseph@codesourcery.com>
29520
29521 * sysdeps/unix/sysv/linux/kernel-features.h
29522 (__ASSUME_POSIX_CPU_TIMERS): Remove.
29523 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29524 [__NR_clock_getres]: Make code unconditional.
29525 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
29526 (clock_getcpuclockid): Remove code left unreachable by removal of
29527 conditionals.
29528 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
29529 code unconditional.
29530 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29531 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29532 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
29533 Make code unconditional.
29534 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29535 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29536 * sysdeps/unix/sysv/linux/clock_settime.c
29537 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
29538 conditional code.
29539 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
29540 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29541
d22e28b0
L
295422012-08-29 H.J. Lu <hongjiu.lu@intel.com>
29543
29544 [BZ #14476]
29545 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
29546 scripts/test-installation.pl.
29547
29548 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
29549 and $ld_so_version if it is set.
29550
050af9c4
SP
295512012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29552
29553 [BZ #14516]
29554 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
29555 failure if reading from procfs failed.
29556 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
29557
ad845c0b
JM
295582012-08-27 Joseph Myers <joseph@codesourcery.com>
29559
29560 * sysdeps/unix/sysv/linux/kernel-features.h
29561 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
29562 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29563 Remove conditional code.
29564 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29565 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
29566 Remove conditional code.
29567 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29568 * sysdeps/unix/sysv/linux/i386/fxstat.c
29569 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29570 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29571 * sysdeps/unix/sysv/linux/i386/fxstatat.c
29572 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29573 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29574 * sysdeps/unix/sysv/linux/i386/lxstat.c
29575 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29576 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29577 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
29578 Remove conditional code.
29579 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29580 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29581 Remove conditional code.
29582 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29583 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
29584 <kernel-features.h>.
29585 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
29586 Remove.
29587 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
29588 Remove conditional code.
29589 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29590 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
29591 Remove conditional.
29592
5dbf56af
MF
295932012-08-27 Mike Frysinger <vapier@gentoo.org>
29594
29595 [BZ #5400]
29596 * NEWS: Add fixed bug number.
29597
d6e70f43
JM
295982012-08-27 Joseph Myers <joseph@codesourcery.com>
29599
7efb4737
JM
29600 [BZ #14519]
29601 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
29602 underflowing exponent in case of negative sign.
29603 * stdlib/tst-strtod-round-data: Add more tests.
29604 * stdlib/tst-strtod-round.c (tests): Regenerated.
29605
af92131a
JM
29606 [BZ #3479]
29607 * stdlib/strtod_l.c (NDIG): Remove.
29608 (HEXNDIG): Likewise.
29609 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
29610 smallest representable value.
29611 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
29612 lie within an exact representation of 1/2 ulp of the result.
29613 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
29614 unconditionally.
29615 (TENS_P9_IDX): Define unconditionally.
29616 (TENS_P9_SIZE): Likewise.
29617 (TENS_P10_IDX): Likewise.
29618 (TENS_P10_SIZE): Likewise.
29619 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
29620 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
29621 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
29622 entries for 10^2^13 and 10^2^14.
29623 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
29624 (TENS_P13_IDX): Define.
29625 (TENS_P13_SIZE): Likewise.
29626 (TENS_P14_IDX): Likewise.
29627 (TENS_P14_SIZE): Likewise.
29628 (_fpioconst_pow10): Change array size to
29629 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
29630 unconditional.
29631 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
29632 1024]: Add entries for 10^2^13 and 10^2^14.
29633 [LAST_POW10 > _LAST_POW10]: Remove #error.
29634 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
29635 (_fpioconst_pow10): Change array size to
29636 FPIOCONST_POW10_ARRAY_SIZE.
29637 * stdlib/gen-fpioconst.c: New file.
29638 * stdlib/gen-tst-strtod-round.c: Likewise.
29639 * stdlib/tst-strtod-round-data: Likewise.
29640 * stdlib/tst-strtod-round.c: Likewise.
29641 * stdlib/Makefile (tests): Add tst-strtod-round.
29642
d6e70f43
JM
29643 [BZ #14459]
29644 * stdlib/strtod_l.c: Include <stdint.h>.
29645 (NDEBUG): Do not define.
29646 (round_and_return): Change EXPONENT parameter to type intmax_t.
29647 Rearrange calculations to avoid internal overflow possibilities.
29648 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
29649 Rearrange calculations to avoid internal overflow possibilities.
29650 Assert that number fits inside MPNSIZE limbs.
29651 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
29652 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
29653 calculations and add assertions to avoid internal overflow
29654 possibilities. Add casts to avoid signed/unsigned operations.
29655 * stdlib/tst-strtod-overflow.c: New file.
29656 * stdlib/Makefile (tests): Add tst-strtod-overflow.
29657
1f529f7d
MP
296582012-08-25 Marek Polacek <polacek@redhat.com>
29659
29660 * time/time.h: Fix some typos in comments.
29661
59a629f1
RM
296622012-08-23 Roland McGrath <roland@hack.frob.com>
29663
29664 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
29665 * posix/tst-rfc3484-2.c: Likewise.
29666 * posix/tst-rfc3484-3.c: Likewise.
29667
d3bafbc9
SM
296682012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
29669
29670 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
29671 (EF_ARM_ABI_FLOAT_HARD): Likewise.
29672
4efcc022
JM
296732012-08-23 Joseph Myers <joseph@codesourcery.com>
29674
29675 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
29676 #include of fxstatat64.c.
29677
3cc3ef96
RM
296782012-08-22 Roland McGrath <roland@hack.frob.com>
29679
f04e2132
RM
29680 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
29681 * shadow/getspent_r.c: Likewise.
29682 * shadow/getspnam.c: Likewise.
29683 * shadow/getspnam_r.c: Likewise.
29684 * gshadow/getsgent.c: Likewise.
29685 * gshadow/getsgent_r.c: Likewise.
29686 * gshadow/getsgnam.c: Likewise.
29687 * gshadow/getsgnam_r.c: Likewise.
29688 * inet/getnetbyad.c: Likewise.
29689 * inet/getnetbyad_r.c: Likewise.
29690 * inet/getnetbynm.c: Likewise.
29691 * inet/getnetbynm_r.c: Likewise.
29692 * inet/getnetent.c: Likewise.
29693 * inet/getnetent_r.c: Likewise.
29694 * inet/getproto.c: Likewise.
29695 * inet/getproto_r.c: Likewise.
29696 * inet/getprtent.c: Likewise.
29697 * inet/getprtent_r.c: Likewise.
29698 * inet/getprtname.c: Likewise.
29699 * inet/getprtname_r.c: Likewise.
29700 * inet/getrpcbyname.c: Likewise.
29701 * inet/getrpcbyname_r.c: Likewise.
29702 * inet/getrpcbynumber.c: Likewise.
29703 * inet/getrpcbynumber_r.c: Likewise.
29704 * inet/getrpcent.c: Likewise.
29705 * inet/getrpcent_r.c: Likewise.
29706 * inet/getaliasent.c: Likewise.
29707 * inet/getaliasent_r.c: Likewise.
29708 * inet/getaliasname.c: Likewise.
29709 * inet/getaliasname_r.c: Likewise.
29710 * nscd/getgrgid_r.c: Likewise.
29711 * nscd/getgrnam_r.c: Likewise.
29712 * nscd/gethstbyad_r.c: Likewise.
29713 * nscd/gethstbynm3_r.c: Likewise.
29714 * nscd/getpwnam_r.c: Likewise.
29715 * nscd/getpwuid_r.c: Likewise.
29716 * nscd/getsrvbynm_r.c: Likewise.
29717 * nscd/getsrvbypt_r.c: Likewise.
29718 * nscd/gai.c: Likewise.
29719
c53d909c
RM
29720 * configure.in (build_nscd): New substituted variable, set
29721 by --disable-build-nscd and defaults to $use_nscd.
29722 * configure: Regenerated.
29723 * config.make.in (build-nscd): New substituted variable.
29724 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
29725 Change conditional to require [$(build-nscd) = yes] as well.
29726 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
29727
3cc3ef96
RM
29728 [BZ# 13696]
29729 * configure.in (use_nscd): New substituted variable, set by
29730 --disable-nscd. If enabled, define USE_NSCD.
29731 * configure: Regenerated.
29732 * config.h.in: Add USE_NSCD.
29733 * config.make.in (use-nscd): New substituted variable.
29734 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
29735 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
29736 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
29737 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
29738 (CFLAGS-getgrnam_r.c): Likewise.
29739 (CFLAGS-initgroups.c): Likewise.
29740 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
29741 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
29742 Variables removed.
29743 * inet/getnetgrent_r.c
29744 (nscd_setnetgrent): New function, broken out of ...
29745 (setnetgrent): ... here. Call it.
29746 (innetgr): Conditionalize nscd bits on [USE_NSCD].
29747 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
29748 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
29749 * nscd/Makefile (routines, aux): Move definitions after include of
29750 Makeconfig. Conditionalize on [$(use-nscd) != no].
29751 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
29752 Conditionalize on [USE_NSCD].
29753 (is_nscd, nscd_init_cb): Likewise.
29754 (nss_load_library): Conditionalize init callback on [USE_NSCD].
29755 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
29756 * nss/nss_db/db-init.c: Likewise.
29757 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
29758 [USE_NSCD].
29759 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
29760 (make_request): Use it.
29761 (cache_valid_p): New function.
29762 (__check_pf): Use it.
29763 * NEWS: Add item for --disable-nscd.
29764
07e51550
DL
297652012-08-22 Dmitry V. Levin <ldv@altlinux.org>
29766
29767 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
29768 to support sed >= 4.2.1-20-ga9bf076.
29769 * configure: Regenerated.
29770
35a5b08b
RM
297712012-08-22 Roland McGrath <roland@hack.frob.com>
29772
29773 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29774 Conditionalize whole body on [IREL].
29775
8479f23a
JL
297762012-08-22 Jeff Law <law@redhat.com>
29777
29778 [BZ #14505]
29779 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29780 if the family is PF_UNSPEC.
29781
48da0b21
MF
297822012-08-22 Mike Frysinger <vapier@gentoo.org>
29783
29784 * Makerules (lib-version): Rename from V.
29785 (install-lib-nosubdir): Change V to lib-version.
29786
15d0da8c
WS
297872012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
29788
29789 [BZ #14252]
29790 * powerpc32/power6/wcschr.c: New file.
29791 * powerpc32/power6/wcscpy.c: New file.
29792 * powerpc32/power6/wcsrchr.c: New file.
29793 * powerpc64/power6/wcschr.c: New file.
29794 * powerpc64/power6/wcscpy.c: New file.
29795 * powerpc64/power6/wcsrchr.c: New file.
29796
bcca0895
MK
297972012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29798
29799 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
29800 (two_way_short_needle): Use it.
5a4aaa33
RM
29801 * string/strstr.c (AVAILABLE1_USES_J): Define.
29802 * string/strcasestr.c: Likewise.
99677e57
MK
29803
29804 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
29805 array references.
29806 * string/strcasestr.c (TOLOWER): Make side-effect safe.
29807
400726de
MK
29808 [BZ #11607]
29809 * NEWS: Add an entry.
29810 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
29811 define their defaults.
29812 (two_way_short_needle): Detect end-of-string on-the-fly.
29813 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
29814 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
29815 * string/bug-strcasestr1.c: New test.
29816 * string/Makefile: Run it.
29817
20a71f2c
MK
298182012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29819
29820 [BZ #11607]
29821 * string/str-two-way.h (two_way_short_needle): Optimize matching of
29822 the first character.
29823
21ad0558
RM
298242012-08-21 Roland McGrath <roland@hack.frob.com>
29825
29826 * csu/elf-init.c (__libc_csu_irel): Function removed.
29827 * csu/libc-start.c (apply_irel): New function.
29828 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
29829
0e1d9911
JM
298302012-08-21 Joseph Myers <joseph@codesourcery.com>
29831
29832 * sysdeps/unix/sysv/linux/kernel-features.h
29833 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
29834 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29835 <kernel-features.h>.
29836 [__NR_fadvise64_64]: Make code unconditional.
29837 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
29838 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29839 !__NR_fadvise64_64)]: Likewise.
29840 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29841 !__NR_fadvise64_64))]: Likewise.
29842 [__NR_fadvise64]: Make code unconditional.
29843 [!__NR_fadvise64]: Remove conditional code.
29844 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
29845 <kernel-features.h>.
29846 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29847 unconditional.
29848 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29849 conditional code.
29850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
29851 not include <kernel-features.h>.
29852 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29853 unconditional.
29854 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29855 conditional code.
29856 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
29857 include <kernel-features.h>.
29858 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29859 unconditional.
29860 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29861 conditional code.
29862
14a50c9d
WS
298632012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29864
29865 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
29866 slight instruction rearrangements per scrollpipe analysis.
29867 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29868
c0f4faf0
RM
298692012-08-20 Roland McGrath <roland@hack.frob.com>
29870
696da859
RM
29871 * manual/syslog.texi (syslog; vsyslog, closelog):
29872 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
29873 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
29874
c0f4faf0
RM
29875 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
29876 DSOCAPS to match condition on defining it.
29877
348363b2
JM
298782012-08-20 Joseph Myers <joseph@codesourcery.com>
29879
a35cbf28
JM
29880 * sysdeps/unix/sysv/linux/kernel-features.h
29881 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
29882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
29883 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29884 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
29886 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29887 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
29889 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29890 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29891
445f7ecd
JM
29892 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
29893 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
29894
348363b2
JM
29895 * sysdeps/unix/sysv/linux/kernel-features.h
29896 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
29897 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
29898 unconditional.
29899 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29900 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
29901 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29902 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29903 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
29904 Make code unconditional.
29905 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29906 (__mmap64) [!__NR_mmap2]: Likewise.
29907 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
29908 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29909 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29910 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
29911 [__NR_mmap2]: Make code unconditional.
29912 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29913 (__mmap64) [!__NR_mmap2]: Likewise.
29914
bc5bc0e5
AK
299152012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29916
29917 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
29918
88d506de
AJ
299192012-08-18 Andreas Jaeger <aj@suse.de>
29920
29921 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
29922
493387d2
MF
299232012-08-18 Mike Frysinger <vapier@gentoo.org>
29924
29925 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
29926 * include/unistd.h (__have_sock_cloexec): Likewise.
29927 (__have_pipe2): Likewise.
29928 (__have_dup3): Likewise.
29929
a277af22
MF
299302012-08-18 Mike Frysinger <vapier@gentoo.org>
29931
29932 [BZ #9685]
29933 * include/unistd.h (__have_pipe2): Change define into an extern int.
29934 (__have_dup3): Likewise.
29935 * socket/have_sock_cloexec.c: Include fcntl.h.
29936 (__have_pipe2): New variable.
29937 (__have_dup3): Likewise.
29938
fdab8fd3
MF
299392012-08-17 Mike Frysinger <vapier@gentoo.org>
29940
29941 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
29942
31035e80
MP
299432012-08-17 Marek Polacek <polacek@redhat.com>
29944
29945 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
29946 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
29947
3bd9e993
RM
299482012-08-17 Roland McGrath <roland@hack.frob.com>
29949
c91c505f
RM
29950 * configure.in: Add AC_SUBST for sysheaders.
29951 * configure: Regenerated.
29952 * config.make.in (sysheaders): New substituted variable.
29953
7c6f9d53
RM
29954 * sysdeps/unix/mkfifo.c: Moved ...
29955 * sysdeps/posix/mkfifo.c: ... here.
29956 * sysdeps/unix/mkfifoat.c: Moved ...
29957 * sysdeps/posix/mkfifoat.c: ... here.
29958
29959 * sysdeps/unix/utime.c: Moved ...
29960 * sysdeps/posix/utime.c: ... here.
29961
29962 * sysdeps/unix/time.c: Moved ...
29963 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
29964 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
29965 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
29966
29967 * sysdeps/unix/nice.c: Moved ...
29968 * sysdeps/posix/nice.c: ... here.
29969
29970 * sysdeps/unix/alarm.c: Moved ...
29971 * sysdeps/posix/alarm.c: ... here.
29972
3bd9e993
RM
29973 * intl/Makefile ($(codeset_mo)): Depend on the input file.
29974
d1f09384
JL
299752012-08-17 Jeff Law <law@redhat.com>
29976
29977 * intl/Makefile (codeset_mo): New variable.
29978 ($(codeset_mo)): New target.
29979 (tst-codeset.out): Depend on that. Remove explicit rule.
29980 (tst-gettext3.out, tst-gettext5.out): Likewise.
29981 (LOCPATH-ENV, tst-codeset-ENV): New variables.
29982 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
29983 * intl/tst-codeset.sh: Remove.
29984 * intl/tst-gettext3.sh: Likewise.
29985 * intl/tst-gettext5.sh: Likewise.
29986
2ae1ae5c
RM
299872012-08-17 Roland McGrath <roland@hack.frob.com>
29988
c31fdb83
RM
29989 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
29990 * sysdeps/unix/syscalls.list: ... here.
29991
a0844057
RM
29992 * sysdeps/posix/getaddrinfo.c
29993 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
29994 (gaiconf_init, gaiconf_reload): Use them.
29995 [!_STATBUF_ST_NSEC]
29996 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
29997 Define using time_t rather than struct timespec.
29998
750c1f2a
RM
29999 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
30000 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
30001 Macros removed.
30002 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
30003 [!NO_THREADS].
30004 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
30005 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
30006 Likewise.
30007
2ae1ae5c
RM
30008 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
30009 __libc_cleanup_push argument.
30010
e66a42f5
RM
30011 * bits/param.h: New file.
30012 * misc/sys/param.h: New file.
30013 * include/sys/param.h: New file.
30014 * misc/Makefile (headers): Add bits/param.h.
30015 * sysdeps/generic/sys/param.h: File removed.
30016 * sysdeps/unix/sysv/linux/bits/param.h: New file.
30017 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
30018 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 30019 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 30020
b7c08a66
RM
30021 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
30022 last change.
30023
b2e1c562
RM
30024 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
30025 [_IO_MTSAFE_IO].
30026 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
30027 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
30028 New macros.
30029
c75ccd4c
RM
30030 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
30031 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
30032 rather than -D_IO_MTSAFE_IO conditionally.
30033 * stdio-common/Makefile (CPPFLAGS): Likewise.
30034 * wcsmbs/Makefile (CPPFLAGS): Likewise.
30035 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
30036 Use $(libio-mtsafe).
30037 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
30038 of -D_IO_MTSAFE_IO.
30039 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
30040 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
30041 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
30042 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
30043 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
30044 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
30045 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
30046 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
30047 (CFLAGS-fread_u_chk.c): Likewise.
30048 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
30049 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
30050 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
30051 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
30052 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
30053 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
30054 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
30055 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
30056 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
30057
30058 * libio/Makefile: Test [$(libc-reentrant) = yes]
30059 instead of [$(filter %REENTRANT, $(defines)) nonempty].
30060
30061 * Makeconfig
30062 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
30063 * sysdeps/pthread/configure: File removed.
30064 * sysdeps/pthread/Makeconfig: New file.
30065 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
30066 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
30067
d9195db8
GB
300682012-08-16 Gary Benson <gbenson@redhat.com>
30069
30070 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
30071 unmapping the first object in a namespace.
30072
86466cd9
RM
300732012-08-16 Roland McGrath <roland@hack.frob.com>
30074
30075 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
30076 (__internal_setnetgrent): ... this. Add internal_function to
30077 definition. Add libc_hidden_def.
30078 (setnetgrent): Update caller.
30079 (internal_endnetgrent): Renamed to ...
30080 (__internal_endnetgrent): ... this. Add internal_function to
30081 definition. Add libc_hidden_def.
30082 (endnetgrent): Update caller.
30083 (internal_getnetgrent_r): Renamed to ...
30084 (__internal_getnetgrent_r): ... this. Add internal_function to
30085 definition. Add libc_hidden_def.
30086 (__getnetgrent_r): Update caller.
30087 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
30088
c3c8283c
JM
300892012-08-16 Joseph Myers <joseph@codesourcery.com>
30090
30091 * stdlib/longlong.h: Update from GCC.
30092
db1ee0a8
RM
300932012-08-16 Roland McGrath <roland@hack.frob.com>
30094
30095 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
30096 on _QL, which is set by umul_ppmm but never used.
30097 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
30098 variables, which are set by GMP macros but never used.
30099 * stdio-common/_itowa.c (_itowa): Likewise.
30100 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
30101 * stdlib/mod_1.c (mpn_mod_1): Likewise.
30102
30f69637
CD
301032012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
30104
30105 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
30106 struct La_sh_regs is not constant.
30107 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
30108 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
30109 and struct La_sparc64_regs are not constant.
30110
93a78ac4
JM
301112012-08-16 Joseph Myers <joseph@codesourcery.com>
30112
30113 * sysdeps/unix/sysv/linux/kernel-features.h
30114 (__ASSUME_POSIX_TIMERS): Remove.
30115 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30116 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30117 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
30118 Make code unconditional.
30119 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30120 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
30121 Make code unconditional.
30122 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30123 * sysdeps/unix/sysv/linux/clock_nanosleep.c
30124 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
30125 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30126 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
30127 Make code unconditional.
30128 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30129 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
30130 (__libc_missing_posix_timers): Remove.
30131
dd924cd7
RM
301322012-08-15 Roland McGrath <roland@hack.frob.com>
30133
4b4f2771
RM
30134 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
30135 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
30136
601c888b
RM
30137 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
30138
176790a7
RM
30139 * elf/dl-sym.c: Include <stdlib.h>.
30140
329bc018
RM
30141 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
30142 constants, which avoids warnings in 32-bit builds.
30143
e04e272d
RM
30144 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
30145 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
30146
952bf94a
RM
30147 * misc/lseek.c: File moved to ...
30148 * io/lseek.c: ... here.
30149
7c99b50a
RM
30150 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
30151
dd924cd7
RM
30152 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
30153 shifting LEN more than 31 bits at once.
30154
b3f479a8
LD
301552012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30156
30157 [BZ #14195]
8c4ae0d4
RM
30158 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30159 segmentation fault for a case of two empty input strings.
b3f479a8
LD
30160 * string/test-strncasecmp.c (check1): Renamed to...
30161 (bz12205): ...this.
30162 (bz14195): Add new testcase for two empty input strings and N > 0.
30163 (test_main): Call new testcase, adapt for renamed function.
30164
9c55864e
AJ
301652012-08-15 Andreas Jaeger <aj@suse.de>
30166
30167 [BZ #14090]
30168 * crypt/md5test2.c: New test, based on test supplied by Serge
30169 Belyshev <belyshev@depni.sinp.msu.ru>.
30170 * crypt/Makefile (xtests): Add md5test-giant..
30171 * crypt/Makefile ($(objpfx)md5test-giant): Add.
30172
02dcb6c5
PE
301732012-08-15 Paul Eggert <eggert@cs.ucla.edu>
30174
30175 [BZ #14090]
30176 * crypt/md5.c (md5_process_block): Don't assume the buffer
30177 length is less than 2**32.
30178 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
30179 length is less than 2**64.
30180
a3f95dcc
RM
301812012-08-15 Roland McGrath <roland@hack.frob.com>
30182
be75d758
RM
30183 * string/str-two-way.h: Include <sys/param.h>.
30184 (MAX): Macro removed.
30185
7312ca90
RM
30186 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
30187 Move #define and #undef of memmove to just before and after
30188 including <string.h>.
30189
9a0a5486
RM
30190 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
30191 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
30192 and after including <string.h>. Move declarations of
30193 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30194 to before #include "string/memmove.c".
30195
67cc348d
RM
30196 * include/dirent.h: Declare __getdirentries.
30197
a3f95dcc
RM
30198 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
30199 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
30200
ca98e171
MF
302012012-08-14 Mike Frysinger <vapier@gentoo.org>
30202
30203 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
30204 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
30205 * sysdeps/i386/configure: Regenerated.
30206 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
30207 STABS_CURRENT_FILE, and STABS_FUN.
30208 (END): Remove call to STABS_FUN_END.
30209 (STABS_CURRENT_FILE1): Delete.
30210 (STABS_CURRENT_FILE): Likewise.
30211 (STABS_FUN): Likewise.
30212 (STABS_FUN_END): Likewise.
30213 (STABS_FUN2): Likewise.
30214 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
30215 * sysdeps/x86_64/configure: Regenerated.
30216
5908bf46
RM
302172012-08-14 Roland McGrath <roland@hack.frob.com>
30218
30219 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 30220 * elf/dl-lookup.c: Likewise.
5908bf46 30221
f2c05b9e
JM
302222012-08-14 Joseph Myers <joseph@codesourcery.com>
30223
30224 * sysdeps/unix/sysv/linux/kernel-features.h
30225 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30226 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30227 unconditionally.
30228 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30229 unconditionally.
30230 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30231 condition on __ASSUME_CLONE_THREAD_FLAGS.
30232
e11f5155
AJ
302332012-08-14 Andreas Jaeger <aj@suse.de>
30234
30235 * sysdeps/i386/fpu/libm-test-ulps: Update.
30236
51a9ba86
MK
302372012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
30238
2fdd4f78
AJ
30239 * include/atomic.h (atomic_exchange_and_add): Split into ...
30240 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30241 New atomic macros.
51a9ba86 30242
ba6cba9e
MT
302432012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
30244
30245 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30246
42443a47
JL
302472012-08-13 Jeff Law <law@redhat.com>
30248
30249 * manual/stdio.texi (snprintf): Clarify handling of the trailing
30250 null byte in the output string.
30251
121dce05
JM
302522012-08-10 Joseph Myers <joseph@codesourcery.com>
30253
30254 * sysdeps/unix/sysv/linux/kernel-features.h
30255 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30256 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30257 (__ASSUME_ARG_MAX_STACK_BASED): Define.
30258 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30259 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30260 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
30261 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30262
bf51f568
JL
302632012-08-09 Jeff Law <law@redhat.com>
30264
30265 [BZ #13939]
30266 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
30267 When avoid_arena is set, don't retry in the that arena. Pick the
30268 next one, whatever it might be.
30269 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
30270 (arena_lock): Pass in new parameter to arena_get2.
30271 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
30272 arena_get2.
30273 (__libc_malloc): Unify retrying after main arena failure with
30274 __libc_memalign version.
30275 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
30276
f85fa270
L
302772012-08-09 H.J. Lu <hongjiu.lu@intel.com>
30278
30279 [BZ #14166]
30280 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
30281 to __redirect_strstr.
30282 (__strstr_sse42): Use typeof __redirect_strstr.
30283 (__strstr_ia32): Likewise.
30284 (__libc_strstr): New prototype.
30285 (strstr): Renamed to ...
30286 (__libc_strstr): This.
30287 (strstr): New strong alias of __libc_strstr.
30288 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30289 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
30290 __redirect_time.
30291 Include <time.h>.
30292 (__libc_time): New prototype.
30293 (time_ifunc): Replace time with __libc_time.
30294 (time): New strong alias and hidden definition of __libc_time.
30295 (__GI_time): Remove strong alias.
30296 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
30297 Include <stddef.h>.
30298 (memmove): Redefined to __redirect_memmove.
30299 (__memmove_sse2): Use typeof __redirect_memmove.
30300 (__memmove_ssse3): Likewise.
30301 (__memmove_ssse3_back): Likewise.
30302 (__libc_memmove): New prototype.
30303 (memmove): Renamed to ...
30304 (__libc_memmove): This.
30305 (memmove): New strong alias of __libc_memmove.
30306
33b4a91e
MS
303072012-08-08 Mark Salter <msalter@redhat.com>
30308
30309 * elf/elf.h
30310 (R_MN10300_TLS_GD): Define.
30311 (R_MN10300_TLS_LD): Likewise.
30312 (R_MN10300_TLS_LDO): Likewise.
30313 (R_MN10300_TLS_GOTIE): Likewise.
30314 (R_MN10300_TLS_IE): Likewise.
30315 (R_MN10300_TLS_LE): Likewise.
30316 (R_MN10300_TLS_DTPMOD): Likewise.
30317 (R_MN10300_TLS_DTPOFF): Likewise.
30318 (R_MN10300_TLS_TPOFF): Likewise.
30319 (R_MN10300_SYM_DIFF): Likewise.
30320 (R_MN10300_ALIGN): Likewise.
30321 (R_MN10300_NUM): Update.
30322
b36137f1
JM
303232012-08-08 Joseph Myers <joseph@codesourcery.com>
30324
30325 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
30326 Remove.
30327
cdd915fd
RM
303282012-08-08 Roland McGrath <roland@hack.frob.com>
30329
a2433aac
RM
30330 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
30331
cdd915fd
RM
30332 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
30333 sysdeps/unix -> sysdeps/posix move.
30334 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30335
bf9b740a
AM
303362012-08-07 Allan McRae <allan@archlinux.org>
30337
30338 [BZ #14303]
30339 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
30340 (SUNOS_CPP): Likewise.
30341 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
30342 not found.
30343 (open_input): Call CPP using execvp.
30344
93df14ee
JM
303452012-08-07 Joseph Myers <joseph@codesourcery.com>
30346
30347 * sysdeps/unix/sysv/linux/kernel-features.h
30348 (__ASSUME_PROT_GROWSUPDOWN): Remove.
30349 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30350 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30351 (__ASSUME_WAITID_SYSCALL): Likewise.
30352 * sysdeps/unix/sysv/linux/dl-execstack.c
30353 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
30354 code unconditional.
30355 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
30356 conditional code.
30357 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
30358 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
30359 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
30360 code.
30361 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
30362 unconditional.
30363 [__ASSUME_WAITID_SYSCALL]: Likewise.
30364 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
30365
d34689de
RM
303662012-08-07 Roland McGrath <roland@hack.frob.com>
30367
a281decc
RM
30368 * sysdeps/unix/closedir.c: Renamed to ...
30369 * sysdeps/posix/closedir.c: ... here.
30370 * sysdeps/unix/dirfd.c: Renamed to ...
30371 * sysdeps/posix/dirfd.c: ... here.
30372 * sysdeps/unix/dirstream.h: Renamed to ...
30373 * sysdeps/posix/dirstream.h: ... here.
30374 * sysdeps/unix/fdopendir.c: Renamed to ...
30375 * sysdeps/posix/fdopendir.c: ... here.
30376 * sysdeps/unix/opendir.c: Renamed to ...
30377 * sysdeps/posix/opendir.c: ... here.
30378 * sysdeps/unix/readdir.c: Renamed to ...
30379 * sysdeps/posix/readdir.c: ... here.
30380 * sysdeps/unix/readdir_r.c: Renamed to ...
30381 * sysdeps/posix/readdir_r.c: ... here.
30382 * sysdeps/unix/rewinddir.c: Renamed to ...
30383 * sysdeps/posix/rewinddir.c: ... here.
30384 * sysdeps/unix/seekdir.c: Renamed to ...
30385 * sysdeps/posix/seekdir.c: ... here.
30386 * sysdeps/unix/telldir.c: Renamed to ...
30387 * sysdeps/posix/telldir.c: ... here.
30388 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
30389 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
30390 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30391 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
30392
22895b47
RM
30393 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
30394 * bits/fcntl.h: ... here.
30395
707a53b6
RM
30396 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
30397 not 0.
30398 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
30399 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
30400 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
30401 (struct flock): Move l_start, l_len to the beginning.
30402 Use __pid_t for l_pid.
30403 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
30404 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
30405 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
30406 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
30407 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
30408 [__USE_LARGEFILE64] (struct flock64): New type.
30409 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
30410
f0bd3e25
RM
30411 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
30412 * bits/dirent.h: ... here.
30413
d34689de
RM
30414 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
30415 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
30416
6dad2c06
JM
304172012-08-07 Joseph Myers <joseph@codesourcery.com>
30418
30419 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30420 Change from 2.6.0 to 2.6.16.
30421 * sysdeps/unix/sysv/linux/configure: Regenerated.
30422 * sysdeps/unix/sysv/linux/kernel-features.h
30423 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
30424 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
30425 version.
30426 (__ASSUME_UTIMES): Likewise.
30427 (__ASSUME_CLONE_STOPPED): Remove.
30428 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
30429 architectures, not kernel version.
30430 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
30431 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30432 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30433 (__ASSUME_WAITID_SYSCALL): Likewise.
30434 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
30435 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
30436 * README: State 2.6.16 as minimum Linux kernel version. Do not
30437 refer to older versions.
30438
03af9520
RM
304392012-08-06 Roland McGrath <roland@hack.frob.com>
30440
8e49df1d
RM
30441 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
30442 Define alphasort64 as an alias.
30443 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
30444 Define versionsort64 as an alias.
30445 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
30446 Define scandir64 as an alias.
30447 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
30448 Define scandirat64 as an alias.
30449 * dirent/alphasort64.c (alphasort64):
30450 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
30451 * dirent/versionsort64.c: Likewise.
30452 * dirent/scandir64.c: Likewise.
30453 * dirent/scandirat64.c: Likewise.
30454 * sysdeps/wordsize-64/alphasort.c: File removed.
30455 * sysdeps/wordsize-64/alphasort64.c: File removed.
30456 * sysdeps/wordsize-64/scandir.c: File removed.
30457 * sysdeps/wordsize-64/scandir64.c: File removed.
30458 * sysdeps/wordsize-64/scandirat.c: File removed.
30459 * sysdeps/wordsize-64/scandirat64.c: File removed.
30460 * sysdeps/wordsize-64/versionsort.c: File removed.
30461 * sysdeps/wordsize-64/versionsort64.c: File removed.
30462 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
30463 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
30464 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
30465 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
30466 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
30467 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
30468 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
30469 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
30470
30471 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
30472 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30473 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
30474 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30475 [defined __arch64__ || defined __sparcv9]
30476 (__INO_T_MATCHES_INO64_T): New macro.
30477 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30478 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
30479 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
30480 * sysdeps/unix/sysv/linux/bits/dirent.h
30481 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
30482 (_DIRENT_MATCHES_DIRENT64): New macro.
30483
03af9520
RM
30484 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
30485 Define lockf64 as an alias.
30486 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
30487 Define fseeko64 as an alias.
30488 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
30489 Define ftello64 as an alias.
30490 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
30491 Define _IO_fgetpos64 and fgetpos64 as aliases.
30492 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
30493 Define _IO_fsetpos64 and fsetpos64 as aliases.
30494 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
30495 Conditionalize body on this.
30496 * libio/fseeko64.c: Likewise.
30497 * libio/ftello64.c: Likewise.
30498 * libio/iofgetpos64.c: Likewise.
30499 * libio/iofsetpos64.c: Likewise.
30500 * sysdeps/wordsize-64/lockf.c: File removed.
30501 * sysdeps/wordsize-64/lockf64.c: File removed.
30502 * sysdeps/wordsize-64/fseeko.c: File removed.
30503 * sysdeps/wordsize-64/fseeko64.c: File removed.
30504 * sysdeps/wordsize-64/ftello.c: File removed.
30505 * sysdeps/wordsize-64/ftello64.c: File removed.
30506 * sysdeps/wordsize-64/iofgetpos.c: File removed.
30507 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
30508 * sysdeps/wordsize-64/iofsetpos.c: File removed.
30509 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
30510 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
30511 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
30512 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
30513 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
30514 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
30515 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
30516 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
30517 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
30518 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
30519 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
30520
30521 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30522 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30523 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
30524 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30525 [defined __arch64__ || defined __sparcv9]
30526 (__OFF_T_MATCHES_OFF64_T): New macro.
30527 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30528 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30529 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30530 (__OFF_T_MATCHES_OFF64_T): New macro.
30531
c5757acd
L
305322012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30533
30534 * stdlib/secure-getenv.c (__secure_getenv): Replace
30535 GLIBC_2_16 with GLIBC_2_17.
30536
3a31811e
L
305372012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30538
30539 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
30540 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30541
faa2bccb
DM
305422012-08-03 David S. Miller <davem@davemloft.net>
30543
30544 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30545
85fe1997
JM
305462012-08-03 Joseph Myers <joseph@codesourcery.com>
30547
30548 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
30549 Remove.
30550 (__ASSUME_CORRECT_SI_PID): Likewise.
30551 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
30552 (__ASSUME_TMPFS_NAME): Likewise.
30553 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
30554 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
30555 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
30556 (HAVE_AUX_SECURE): Make definition unconditional.
30557 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
30558 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
30559
4f75b7a0
RM
305602012-08-03 Roland McGrath <roland@hack.frob.com>
30561
30562 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
30563 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
30564 * sysdeps/mach/hurd/eloop-threshold.h: New file.
30565 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30566 __eloop_threshold instead of SYMLOOP_MAX.
30567
30568 * sysdeps/generic/eloop-threshold.h: New file.
30569 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
30570 of MAXSYMLINKS.
30571 * elf/chroot_canon.c (chroot_canon): Likewise.
30572
7aab07e4
JM
305732012-08-03 Joseph Myers <joseph@codesourcery.com>
30574
30575 [BZ #13717]
30576 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30577 Change to 2.6.0 everywhere.
30578 * sysdeps/unix/sysv/linux/configure: Regenerated.
30579 * sysdeps/unix/sysv/linux/kernel-features.h
30580 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
30581 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
30582 kernel versions.
30583 (__ASSUME_POSIX_TIMERS): Define unconditionally.
30584 (__ASSUME_FUTEX_REQUEUE): Remove.
30585 (__ASSUME_STATFS64): Define unconditionally.
30586 (__ASSUME_AT_SECURE): Likewise.
30587 (__ASSUME_CORRECT_SI_PID): Likewise.
30588 (__ASSUME_TGKILL): Define without depending on kernel version for
30589 i386.
30590 (__ASSUME_UTIMES): Likewise.
30591 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
30592 kernel version.
30593 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
30594 (__ASSUME_TMPFS_NAME): Likewise.
30595 * README: Update reference to Linux kernel versions.
30596
b67e9372
MP
305972012-08-02 Marek Polacek <polacek@redhat.com>
30598
1f529f7d 30599 [BZ# 14150]
b67e9372
MP
30600 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
30601 libc_cv_asm_type_prefix with %.
30602 * configure: Regenerated.
d2441631
RM
30603 * include/libc-symbols.h: Remove comment about
30604 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
30605 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
30606 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
30607 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
30608 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
30609 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30610 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
30611 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
30612 * elf/tst-unique2mod1.c: Likewise.
30613 * elf/tst-unique1mod2.c: Likewise.
30614 * elf/tst-unique1mod1.c: Likewise.
30615 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
30616 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
30617 Replace ASM_TYPE_DIRECTIVE with .type.
30618 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30619 * sysdeps/i386/sysdep.h: Likewise.
30620 * sysdeps/x86_64/sysdep.h: Likewise.
30621 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
30622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30623 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 30624 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
30625 * sysdeps/powerpc/powerpc32/sysdep.h:
30626 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
30627 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30628 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30629 * sysdeps/i386/fpu/e_powf.S: Likewise.
30630 * sysdeps/i386/fpu/e_expl.S: Likewise.
30631 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30632 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30633 * sysdeps/i386/fpu/e_pow.S: Likewise.
30634 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30635 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30636 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30637 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30638 * sysdeps/i386/fpu/e_log2.S: Likewise.
30639 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30640 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30641 * sysdeps/i386/fpu/e_powl.S: Likewise.
30642 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30643 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30644 * sysdeps/i386/fpu/e_logl.S: Likewise.
30645 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30646 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30647 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30648 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30649 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30650 * sysdeps/i386/fpu/e_log.S: Likewise.
30651 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30652 * sysdeps/i386/fpu/e_logf.S: Likewise.
30653 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30654 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30655 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30656 * sysdeps/i386/fpu/e_log10.S: Likewise.
30657 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30658 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30659 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30660 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30661 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30662 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30663 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30664 * sysdeps/i386/i686/strtok.S: Likewise.
30665 * sysdeps/i386/i386-mcount.S: Likewise.
30666 * sysdeps/i386/strtok.S: Likewise.
30667 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
30668 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30669 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30670 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30671 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30672 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30673 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30674 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30675 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30676 * sysdeps/x86_64/_mcount.S: Likewise.
30677 * sysdeps/x86_64/strtok.S: Likewise.
30678 * sysdeps/sh/_mcount.S: Likewise.
30679
2747bf9a
RM
306802012-08-01 Roland McGrath <roland@hack.frob.com>
30681
30682 * libio/iofopen.c: Include <fcntl.h>.
30683 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
30684 (_IO_fopen64, fopen64): Define as aliases.
30685 * libio/iofopen64.c: Include <fcntl.h>.
30686 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
30687 Conditionalize body on this.
30688 * sysdeps/wordsize-64/iofopen.c: File removed.
30689 * sysdeps/wordsize-64/iofopen64.c: File removed.
30690
3fb791b8
MP
306912012-08-01 Marek Polacek <polacek@redhat.com>
30692
30693 * libc/Makeconfig: Use elf in place of binfmt-subdir.
30694 Use dlfcn directly instead of a variable.
30695 (binfmt-subdir): Do not define.
30696 (dlfcn): Likewise.
30697
a9f1039f
JM
306982012-08-01 Joseph Myers <joseph@codesourcery.com>
30699
23bddc06
JM
30700 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
30701 Remove all definitions.
30702 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
30703 <kernel-features.h>.
30704 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30705 (miss_F_GETOWN_EX): Remove all definitions.
30706 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
30707 macro definition.
30708 [!__ASSUME_FCNTL64]: Remove conditional code.
30709 [__ASSUME_FCNTL64]: Make code unconditional.
30710 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
30711 <kernel-features.h>.
30712 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30713 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
30714 (lockf64) [__NR_fcntl64]: Make code unconditional.
30715 (lockf64) [__ASSUME_FCNTL64]: Likewise.
30716
a9f1039f
JM
30717 * sysdeps/unix/sysv/linux/kernel-features.h
30718 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
30719 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
30720 Make code unconditional.
30721 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30722 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
30724 [__NR_vfork]: Make code unconditional.
30725 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30726 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
30728 [__NR_vfork]: Make code unconditional.
30729 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30730 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30731
09c0ee5f
RM
307322012-08-01 Roland McGrath <roland@hack.frob.com>
30733
48aec5b9
RM
30734 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
30735 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
30736
cd97c966
RM
30737 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30738 Define mkstemp64 as an alias.
3f55550c
RM
30739 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30740 Define mkstemps64 as an alias.
cd97c966
RM
30741 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30742 Define mkostemp64 as an alias.
b8625cfc
RM
30743 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30744 Define mkostemps64 as an alias.
cd97c966
RM
30745 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
30746 Conditionalize body on this.
30747 * misc/mkostemp64.c: Likewise.
b8625cfc 30748 * misc/mkostemps64.c: Likewise.
3f55550c 30749 * misc/mkstemps64.c: Likewise.
cd97c966
RM
30750 * sysdeps/wordsize-64/mkstemp64.c: File removed.
30751 * sysdeps/wordsize-64/mkostemp64.c: File removed.
30752 * sysdeps/wordsize-64/mkostemp.c: File removed.
30753 * sysdeps/wordsize-64/mkstemp.c: File removed.
30754 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
30755 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
30756 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
30757 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
30758
09c0ee5f
RM
30759 [BZ #14138]
30760 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
30761 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
30762 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
30763 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
30764
30765 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
30766 compat_symbol macros from <shlib-compat.h> rather than the underlying
30767 default_symbol_version and symbol_version macros, so that DEFAULT
30768 lines in shlib-versions are respected.
30769 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30770
7e66ee51
FW
307712012-08-01 Florian Weimer <fweimer@redhat.com>
30772
30773 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30774 Declare with warn_unused_result.
30775 (setgid, setregid, setegid, setresgid): Likewise.
30776 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30777 Likewise.
30778 * WUR-REPORT: Remove set*id functions.
30779
d2a54255
PT
307802012-07-31 Pino Toscano <toscano.pino@tiscali.it>
30781
30782 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30783
7ecdb005
RM
307842012-07-31 Roland McGrath <roland@hack.frob.com>
30785
b4180a5e 30786 [BZ #10191]
789bd351
RM
30787 * include/sys/socket.h (__libc_accept, __libc_accept4):
30788 Add attribute_hidden.
30789 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30790
40ce302d
RM
30791 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30792 use of PTR_MANGLE.
30793 * inet/getnetgrent_r.c (setup): Likewise.
30794
7ecdb005
RM
30795 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
30796
e2eabb2c
DM
307972012-07-31 David S. Miller <davem@davemloft.net>
30798
30799 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30800
d0419dbf
JM
308012012-07-31 Joseph Myers <joseph@codesourcery.com>
30802
30803 [BZ #13629]
30804 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
30805 value between 1.0 and 2.0 and smaller part has absolute value less
30806 than 1.0.
30807 * math/s_clog10.c (__clog10): Likewise.
30808 * math/s_clog10f.c (__clog10f): Likewise.
30809 * math/s_clog10l.c (__clog10l): Likewise.
30810 * math/s_clogf.c (__clogf): Likewise.
30811 * math/s_clogl.c (__clogl): Likewise.
30812 * math/libm-test.inc (clog_test): Add more tests.
30813 (clog10_test): Likewise.
30814 * sysdeps/i386/fpu/libm-test-ulps: Update.
30815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30816
2bc13872
FW
308172012-07-31 Florian Weimer <fweimer@redhat.com>
30818
30819 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
30820 Exit with zero in case no suitable GID is found, and write a
30821 message to standard error.
30822
bea9b193
RM
308232012-07-30 Roland McGrath <roland@hack.frob.com>
30824
30825 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
30826 rather than to 1.
30827 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
30828 (MAXPATHLEN): Removed.
30829 (NOGROUP, NODEV): New macros.
30830 (setbit, clrbit, isset, isclr): New macros.
30831 (howmany, roundup, powerof2): New macros.
30832 (DEV_BSIZE): New macro.
30833
30834 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
30835 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
30836
30837 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
30838 definition on [!__NO_LONG_DOUBLE_MATH].
30839
30840 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
30841 PTR_MANGLE and PTR_DEMANGLE.
30842
30843 * socket/accept4.c (accept4): Rename to __libc_accept4.
30844 Define accept4 as a weak alias.
30845
30846 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
30847 on [_DIRENT_HAVE_D_TYPE].
30848 * io/ftw.c (ftw_dir): Likewise.
30849
30850 * io/xmknod.c (__xmknod): Don't check PATH for being null.
30851
30852 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
30853
30854 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
30855 Use the BSD numbers rather than the arbitrary ones we had.
30856 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
30857 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
30858 (SIGXCPU, SIGXFSZ): New macros.
30859 (_NSIG): Now 32.
30860
30861 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
30862 initializer on [_LIBC_REENTRANT].
30863
30864 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
30865 definitions inside [_POSIX_MAPPED_FILES].
30866
30867 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
30868
30869 * dirent/opendir.c: Include <fcntl.h>.
30870
30871 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
30872 (__libc_getspecific): Likewise.
30873 (__libc_key_create): Likewise.
30874
30875 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
30876 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
30877 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
30878 (tmpfile64): Define as alias.
30879 * sysdeps/wordsize-64/tmpfile.c: File removed.
30880 * sysdeps/wordsize-64/tmpfile64.c: File removed.
30881 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
30882 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
30883
30884 * stdio-common/vfscanf.c: Include <stdbool.h>.
30885 * nss/makedb.c: Likewise.
30886 * stdio-common/_i18n_number.h: Likewise.
30887 * argp/argp-help.c: Likewise.
30888 * posix/wordexp.c: Likewise.
30889 * sysdeps/posix/spawni.c: Likewise.
30890 * nss/nss_files/files-initgroups.c: Likewise.
30891 * stdio-common/reg-modifier.c: Include <stdlib.h>.
30892 * nss/nss_files/files-initgroups.c: Likewise.
30893 * nss/nss_db/db-netgrp.c: Likewise.
30894 * nss/nss_db/db-initgroups.c: Likewise.
30895 * io/fchmodat.c: Include <sys/stat.h>.
30896
30897 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
30898 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
30899
30900 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
30901 [HAVE_MMAP].
30902
30903 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
30904 Add multiple inclusion protection.
30905
e5abc686
DM
309062012-07-27 David S. Miller <davem@davemloft.net>
30907
30908 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30909
815e6fa3
GB
309102012-07-27 Gary Benson <gbenson@redhat.com>
30911
30912 [BZ #14298]
30913 * elf/rtld.c: Include <stap-probe.h>.
30914 (dl_main): Added static probes "init_start" and "init_complete".
30915 * elf/dl-load.c: Include <stap-probe.h>.
30916 (lose): Take new parameter "nsid".
30917 Added static probe "map_failed".
30918 (_dl_map_object_from_fd): Pass namespace id to lose.
30919 Added static probe "map_start".
30920 (open_verify): Pass namespace id to lose.
30921 * elf/dl-open.c: Include <stap-probe.h>.
30922 (dl_open_worker) Added static probes "map_complete", "reloc_start"
30923 and "reloc_complete".
30924 * elf/dl-close.c: Include <stap-probe.h>.
30925 (_dl_close_worker): Added static probes "unmap_start" and
30926 "unmap_complete".
30927 * elf/rtld-debugger-interface.txt: New file documenting the above.
30928
9f98c16c
RM
309292012-07-26 Roland McGrath <roland@hack.frob.com>
30930
30931 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
30932 rather than a string variable.
30933 * sunrpc/rpc_main.c (h_output): Likewise.
30934 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
30935
f3c22df3
PT
309362012-07-26 Pino Toscano <toscano.pino@tiscali.it>
30937
30938 * inet/check_native.c: New file.
30939
3129cfc6
JM
309402012-07-26 Joseph Myers <joseph@codesourcery.com>
30941
da865e95
JM
30942 [BZ #13629]
30943 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
30944 if larger part has absolute value 1.0.
30945 * math/s_clog10.c (__clog10): Likewise.
30946 * math/s_clog10f.c (__clog10f): Likewise.
30947 * math/s_clog10l.c (__clog10l): Likewise.
30948 * math/s_clogf.c (__clogf): Likewise.
30949 * math/s_clogl.c (__clogl): Likewise.
30950 * math/libm-test.inc (clog_test): Add more tests.
30951 (clog10_test): Likewise.
30952 * sysdeps/i386/fpu/libm-test-ulps: Update.
30953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30954
3129cfc6
JM
30955 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
30956 (pltexit): Likewise.
30957 (La_regs): Likewise.
30958 (La_retval): Likewise.
30959 (int_retval): Likewise.
30960 Update #error for removed macros to refer only to definitions in
30961 tst-audit.h.
30962 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
30963 macro.
30964 (pltexit): Likewise.
30965 (La_regs): Likewise.
30966 (La_retval): Likewise.
30967 (int_retval): Likewise.
30968 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
30969 macro.
30970 (pltexit): Likewise.
30971 (La_regs): Likewise.
30972 (La_retval): Likewise.
30973 (int_retval): Likewise.
30974 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
30975 macro.
30976 (pltexit): Likewise.
30977 (La_regs): Likewise.
30978 (La_retval): Likewise.
30979 (int_retval): Likewise.
30980 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
30981 macro.
30982 (pltexit): Likewise.
30983 (La_regs): Likewise.
30984 (La_retval): Likewise.
30985 (int_retval): Likewise.
30986 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
30987 macro.
30988 (pltexit): Likewise.
30989 (La_regs): Likewise.
30990 (La_retval): Likewise.
30991 (int_retval): Likewise.
30992 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
30993 macro.
30994 (pltexit): Likewise.
30995 (La_regs): Likewise.
30996 (La_retval): Likewise.
30997 (int_retval): Likewise.
30998 * sysdeps/generic/tst-audit.h: Update comment to refer only to
30999 macro definitions in tst-audit.h.
31000 * sysdeps/i386/tst-audit.h: New file.
31001 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
31002 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
31003 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
31004 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
31005 * sysdeps/sh/tst-audit.h: Likewise.
31006 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
31007 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
31008 * sysdeps/x86_64/tst-audit.h: Likewise.
31009
bfc07087
AJ
310102012-07-26 Andreas Jaeger <aj@suse.de>
31011
b1b2aaf8
AJ
31012 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
31013 ptrace.
31014
31015 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
31016 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
31017 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
31018 PTRACE_O_MASK.
31019 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
31020 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
31021 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
31022
bfc07087
AJ
31023 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
31024 value.
31025
31026 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
31027 _sigsys.
31028 (si_call_addr, si_syscall, si_arch): Define new macro.
31029 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
31030 _sigsys.
31031 (si_call_addr, si_syscall, si_arch): Define new marcro.
31032 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
31033 _sigsys.
31034 (si_call_addr, si_syscall, si_arch): Define new macro.
31035 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
31036 _sigsys.
31037 (si_call_addr, si_syscall, si_arch): Define new macro.
31038
89b4b02f
JM
310392012-07-25 Joseph Myers <joseph@codesourcery.com>
31040
31041 [BZ #13717]
31042 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31043 Change to 2.4.21 where previously 2.4.1.
31044 * sysdeps/unix/sysv/linux/configure: Regenerated.
31045 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
31046 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
31047 Linux kernel version.
31048 (__ASSUME_STD_AUXV): Remove.
31049 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
31050 kernel version.
31051 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
31052 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
31053 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
31054 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
31055 (__ASSUME_NETLINK_SUPPORT): Likewise.
31056 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
31057 (__no_netlink_support): Remove conditional definition.
31058 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
31059 Remove.
31060 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31061 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
31062 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
31063 (if_nameindex_ioctl): Remove.
31064 (if_nameindex_netlink): Do not handle __no_netlink_support.
31065 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31066 code.
31067 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
31068 Remove conditional code.
31069 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31070 code.
31071 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
31072 unconditional.
31073 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31074 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
31075 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
31076 Remove.
31077 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
31078 [!__ASSUME_STD_AUXV]: Remove conditional code.
31079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
31080 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
31081 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
31082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
31083 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
31084 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31085 code.
31086 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31088 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
31089 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31090 conditional code.
31091 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31093 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31094 code.
31095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31096 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31097 conditional code.
31098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
31099 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31100 code unconditional.
31101 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31102 conditional code.
31103 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31104 unconditional.
31105 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31106 conditional code.
31107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31108 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31109 unconditional.
31110 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31111 conditional code.
31112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31113 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31114 code unconditional.
31115 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31116 conditional code.
31117 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31118 unconditional.
31119 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31120 conditional code.
31121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31122 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31123 code unconditional.
31124 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31125 conditional code.
31126 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31127 unconditional.
31128 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31129 conditional code.
31130
842a39cd
AS
311312012-07-25 Andreas Schwab <schwab@linux-m68k.org>
31132
31133 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
31134 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
31135 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31136 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
31137 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
31138 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31139 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31140 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
31141 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
31142 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31143 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
31144 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
31145 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
31146 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31147 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
31148 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
31149 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
31150 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
31151 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
31152 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
31153 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
31154 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
31155 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31156
84b3fd84
FW
311572012-07-25 Florian Weimer <fweimer@redhat.com>
31158
31159 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
31160 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31161 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31162 Introduce __libc_secure_getenv.
0c7936d5
FW
31163 * stdlib/Versions (2.17): Add secure_getenv
31164 (GLIBC_PRIVATE): Add __libc_secure_getenv.
31165 * stdlib/secure-getenv.c: Rename __secure_getenv to
31166 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
31167 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
31168 * stdlib/tst-secure-getenv.c: New.
31169 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
31170 * manual/startup.texi (Environment Access): Document
31171 secure_getenv.
84b3fd84
FW
31172 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31173 __libc_secure_getenv.
31174 * inet/ruserpass.c (ruserpass): Likewise.
31175 * malloc/mtrace.c (mtrace): Likewise.
31176 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 31177 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
31178 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
31179 * sysdeps/posix/tempname.c: Likewise. Evaluate
31180 HAVE_SECURE_GETENV.
31181 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 31182 __secure_getenv to __libc_secure_getenv.
84b3fd84 31183 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
31184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31185 Likewise.
31186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31187 Likewise.
31188 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31189 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31190 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31191 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31192 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31193 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31194 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 31195
56e49b71
JM
311962012-07-25 Joseph Myers <joseph@codesourcery.com>
31197
31198 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
31199 (struct La_i86_retval): Likewise.
31200 (struct La_x86_64_regs): Likewise.
31201 (struct La_x86_64_retval): Likewise.
31202 (struct La_x32_regs): Likewise.
31203 (struct La_x32_retval): Likewise.
31204 (struct La_ppc32_regs): Likewise.
31205 (struct La_ppc32_retval): Likewise.
31206 (struct La_ppc64_regs): Likewise.
31207 (struct La_ppc64_retval): Likewise.
31208 (struct La_sh_regs): Likewise.
31209 (struct La_sh_retval): Likewise.
31210 (struct La_s390_32_regs): Likewise.
31211 (struct La_s390_32_retval): Likewise.
31212 (struct La_s390_64_regs): Likewise.
31213 (struct La_s390_64_retval): Likewise.
31214 (struct La_sparc32_regs): Likewise.
31215 (struct La_sparc32_retval): Likewise.
31216 (struct La_sparc64_regs): Likewise.
31217 (struct La_sparc64_retval): Likewise.
31218 (struct audit_ifaces): Remove architecture-specific pltenter and
31219 pltexit members.
31220 * sysdeps/i386/ldsodefs.h: New file.
31221 * sysdeps/powerpc/ldsodefs.h: Likewise.
31222 * sysdeps/s390/ldsodefs.h: Likewise.
31223 * sysdeps/sh/ldsodefs.h: Likewise.
31224 * sysdeps/sparc/ldsodefs.h: Likewise.
31225 * sysdeps/x86_64/ldsodefs.h: Likewise.
31226
354691b7
MP
312272012-07-25 Marek Polacek <polacek@redhat.com>
31228
31229 [BZ #6808]
31230 * math/libm-test.inc (yn_test): Add another test.
31231 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31232 to ERANGE when the result is +-Inf.
31233 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31234 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31235 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31236 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31237
bf9e2071
JM
312382012-07-24 Joseph Myers <joseph@codesourcery.com>
31239
31240 * conform/data/time.h-data (NULL): Use macro-constant. Require
31241 equal to 0.
31242 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
31243 clock_t.
31244 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
31245
57633811
TS
312462012-07-23 Thomas Schwinge <thomas@codesourcery.com>
31247
31248 * configure.in <sysdeps resolving>: Correct printing
31249 Implies_before.
31250 * configure: Regenerate.
31251
c23c33b0
TS
312522012-07-22 Thomas Schwinge <thomas@codesourcery.com>
31253
31254 * math/w_ilogb.c: Include <limits.h>.
31255 * math/w_ilogbl.c: Likewise.
31256
b5982523
JM
312572012-07-20 Joseph Myers <joseph@codesourcery.com>
31258
31259 * manual/lang.texi (__va_copy): Document primarily as ISO C99
31260 va_copy. Document allowing for unavailable va_copy only as
31261 pre-C99 compatibility.
31262 * manual/string.texi (Copying and Concatenation): Use va_copy
31263 instead of __va_copy in concat example.
31264
ac4ea442
PT
312652012-07-20 Pino Toscano <toscano.pino@tiscali.it>
31266
31267 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
31268 (__sendto): Use create_address_port. Initialize APORT and deallocate
31269 it if not null.
31270
f98eafbd
PT
31271 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
31272 with O_NOLINK passed to __file_name_lookup.
31273
898c7aab
PT
31274 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
31275 with O_NOLINK passed to __file_name_lookup.
31276
0ced335a
PT
31277 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
31278 negative N or less than NGIDS.
31279
b3404dbd
PT
31280 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
31281 type to string_t. Set ERANGE as errno and return it if NAME is not big
31282 enough. Use memcpy instead of strncpy.
31283
0f48659e
JM
312842012-07-20 Joseph Myers <joseph@codesourcery.com>
31285
31286 * elf/Makefile (check-data): Remove.
31287 (localplt.data): New vpath directive.
31288 ($(objpfx)check-localplt.out): Use localplt.data from vpath
31289 instead of $(check-data).
31290 * scripts/data/localplt-generic.data: Move to ...
31291 * sysdeps/generic/localplt.data: ... here.
31292 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
31293 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
31294 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
31295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31296 ... here.
31297 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
31298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31299 ... here.
31300 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
31301 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
31302 ... here.
31303 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
31304 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31305 ... here.
31306 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
31307 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
31308 ... here.
31309 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
31310 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
31311 ... here.
31312
d37cbdaa
AZ
313132012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31314
31315 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
31316 PPC32 and PPC64 files.
31317 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
31318 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
31319
46f85fc2
AK
313202012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31321
31322 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
31323 __makecontext_ret to ...
31324 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31325 ... here and call exit if uc_link is NULL. New file.
31326 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
31327 __makecontext_ret.S.
31328 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
31329 __makecontext_ret to ...
31330 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31331 ... here and call exit if uc_link is NULL. New file.
31332 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
31333 __makecontext_ret.S.
31334
08f43f9b
AK
313352012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31336
31337 * elf/elf.h (R_390_IRELATIVE): New definition.
31338 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
31339 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
31340 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
31341 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31342 (elf_machine_lazy_rel): Likewise.
31343 * sysdeps/s390/dl-irel.h: New file.
31344 * sysdeps/s390/s390-64/memcpy.S: New asm code.
31345 * sysdeps/s390/s390-64/memset.S: New asm code.
31346 * sysdeps/s390/s390-64/memcmp.S: New asm code.
31347 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
31348 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
31349 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
31350 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
31351 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
31352 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
31353 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
31354 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
31355 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
31356 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
31357 * sysdeps/s390/s390-32/memcpy.S: New asm code.
31358 * sysdeps/s390/s390-32/memset.S: New asm code.
31359 * sysdeps/s390/s390-32/memcmp.S: New asm code.
31360
3b05db33
MP
313612012-07-17 Marek Polacek <polacek@redhat.com>
31362
31363 [BZ #14349]
31364 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
31365 * sysdeps/s390/s390-64/configure.in: Likewise.
31366 * sysdeps/sparc/configure.in: Likewise.
31367 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
31368 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
31369 * sysdeps/i386/configure.in: Likewise.
31370 * sysdeps/x86_64/configure.in: Likewise.
31371 * sysdeps/sh/configure.in: Likewise.
31372 * sysdeps/s390/s390-32/configure: Regenerated.
31373 * sysdeps/s390/s390-64/configure: Likewise.
31374 * sysdeps/x86_64/configure: Likewise.
31375 * sysdeps/sh/configure: Likewise.
31376 * sysdeps/powerpc/powerpc64/configure: Likewise.
31377 * sysdeps/powerpc/powerpc32/configure: Likewise.
31378 * sysdeps/sparc/configure: Likwise.
31379 * sysdeps/i386/configure: Likewise.
31380
a66877c6
MP
31381 * elf/dl-open.c: Comment fixes.
31382
cfc82fd8
JM
313832012-07-17 Joseph Myers <joseph@codesourcery.com>
31384
bd29910a
JM
31385 * Makefile [CXX] (check-data): Remove.
31386 [CXX] (c++-types.data): New vpath directive.
31387 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
31388 vpath. Do not allow for C++ type data being missing.
31389 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
31390 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
31391 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
31392 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
31393 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
31394 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
31395 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
31396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31397 ... here.
31398 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
31399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31400 ... here.
31401 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
31402 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
31403 ... here.
31404 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
31405 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
31406 ... here.
31407 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
31408 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
31409 ... here.
31410 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
31411 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
31412 ... here.
31413 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
31414 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
31415 ... here.
31416 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
31417 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
31418
cfc82fd8
JM
31419 * elf/tls-macros.h (TLS_LE): Move architecture-specific
31420 definitions to architecture-specific files.
31421 (TLS_IE): Likewise.
31422 (TLS_LD): Likewise.
31423 (TLS_GD): Likewise.
31424 * sysdeps/i386/tls-macros.h: New file.
31425 * sysdeps/powerpc/tls-macros.h: Likewise.
31426 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
31427 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
31428 * sysdeps/sh/tls-macros.h: Likewise.
31429 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
31430 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
31431 * sysdeps/x86_64/tls-macros.h: Likewise.
31432
f7db3170
TS
314332012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31434
07cbfc23
TS
31435 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
31436 zero value for regular exit case.
31437
f7db3170
TS
31438 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
31439 (__start_context): Preserve zero value for regular exit case.
31440
dc97c227
TS
314412012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31442 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31443
31444 * manual/setjmp.texi (setcontext): Clarify normal process
31445 termination when uc_link is the null pointer.
31446 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
31447 exit call.
31448
d0cd7d02
AS
314492012-07-16 Andreas Schwab <schwab@linux-m68k.org>
31450
31451 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
31452 preprocessor. Test for each exception mask separately.
31453
dd318934
AJ
314542012-07-16 Andreas Jaeger <aj@suse.de>
31455
31456 * po/ru.po: Update from translation team.
31457
8048311a
JM
314582012-07-15 Joseph Myers <joseph@codesourcery.com>
31459
31460 * conform/data/string.h-data (NULL): Use macro-constant. Require
31461 equal to 0.
31462 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31463 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31464 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
31465 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
31466 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31467
b637d46e
AJ
314682012-07-13 Andreas Jaeger <aj@suse.de>
31469
31470 * po/fr.po: Update from translation team.
31471
541428fe
MP
314722012-07-12 Marek Polacek <polacek@redhat.com>
31473
31474 [BZ #14173]
31475 * math/libm-test.inc (yn_test): Add test for BZ #14173.
31476 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
31477 loop condition.
31478
ec332e94
JM
314792012-07-12 Joseph Myers <joseph@codesourcery.com>
31480
31481 [BZ #13717]
31482 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31483 Change to 2.4.1 where previously 2.4.0.
31484 * sysdeps/unix/sysv/linux/configure: Regenerated.
31485 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
31486 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
31487 version.
31488 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
31489 (__ASSUME_AT_CLKTCK): Remove.
31490 (__ASSUME_AT_PAGESIZE): Likewise.
31491 (__ASSUME_AT_XID): Likewise.
31492 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
31493 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
31494 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
31495 unconditionally.
31496 (HAVE_AUX_PAGESIZE): Likewise.
31497 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
31498 [__ASSUME_AT_CLKTCK]: Make code unconditional.
31499 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
31500
7b6e99be
JB
315012012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
31502
31503 [BZ #14307]
31504 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
31505 the temporary buffer used to invoke __gethostbyname2_r,
31506 __gethostbyaddr_r and gethostbyname4_r to make room for struct
31507 host_data / struct gaih_addrtuple.
31508 * resolv/nss_dns/dns-host.c (global scope): Move definition of
31509 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
31510 header file nss/nsswitch.h.
31511 * nss/nsswitch.h (global scope): Add definition of implementation
31512 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
31513 resolv/nss_dns/dns-host.c).
31514
608404eb
AJ
315152012-07-11 Andreas Jaeger <aj@suse.de>
31516
31517 * po/fr.po: Update from translation team.
31518
71220aca
AJ
31519 * po/sv.po: Update from translation team
31520 * po/fr.po: Another update from translation team.
31521
28cfe843
AZ
315222012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31523
31524 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
31525 for subnormals or multiply small sinh result by itself.
31526 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31527 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31528
6b90f981
DM
315292012-07-11 David S. Miller <davem@davemloft.net>
31530
31531 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31532
c6825772
AS
315332012-07-10 Andreas Schwab <schwab@linux-m68k.org>
31534
31535 [BZ #14347]
31536 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
31537 (INTERNAL_MARK): Shift it here.
31538
7b8e0d49
MP
315392012-07-10 Marek Polacek <polacek@redhat.com>
31540
31541 [BZ #14151]
31542 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
31543 libc_cv_asm_global_directive with .globl.
31544 * configure: Regenerated.
31545 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
31546 with .globl.
31547 * sysdeps/i386/configure: Regenerated.
31548 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
31549 with .globl.
31550 * sysdeps/x86_64/configure: Regenerated.
31551 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
31552 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
31553 * elf/tst-unique2mod2.c: Likewise.
31554 * elf/tst-unique2mod1.c: Likewise.
31555 * elf/tst-unique1mod2.c: Likewise.
31556 * elf/tst-unique1mod1.c: Likewise.
31557 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31558 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31559 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31560 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31561 * sysdeps/mach/sysdep.h: Likewise.
31562 * sysdeps/i386/sysdep.h: Likewise.
31563 * sysdeps/i386/i386-mcount.S: Likewise.
31564 * sysdeps/x86_64/_mcount.S: Likewise.
31565 * sysdeps/x86_64/sysdep.h: Likewise.
31566 * sysdeps/sh/_mcount.S: Likewise.
31567 * sysdeps/sh/sysdep.h: Likewise.
31568 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
31569 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
31570 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
31571 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31572 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
31573 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
31574 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
31575 * locale/localeinfo.h: Likewise.
31576 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
31577 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
31578
6c55cda3
RM
315792012-07-09 Roland McGrath <roland@hack.frob.com>
31580
31581 [BZ #14336]
31582 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
31583 system".
31584 * manual/message.texi (The Uniforum approach): Likewise.
31585 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
31586 (glibc iconv Implementation): Likewise.
31587
638a572e
JM
315882012-07-09 Joseph Myers <joseph@codesourcery.com>
31589
31590 [BZ #14337]
31591 * math/s_clog.c (__clog): Avoid scaling a value down where that
31592 could result in underflow.
31593 * math/s_clog10.c (__clog10): Likewise.
31594 * math/s_clog10f.c (__clog10f): Likewise.
31595 * math/s_clog10l.c (__clog10l): Likewise.
31596 * math/s_clogf.c (__clogf): Likewise.
31597 * math/s_clogl.c (__clogl): Likewise.
31598 * math/libm-test.inc (clog_test): Add more tests.
31599 (clog10_test): Likewise.
31600 * sysdeps/i386/fpu/libm-test-ulps: Update.
31601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31602
261f4859
AS
316032012-07-06 Andreas Schwab <schwab@linux-m68k.org>
31604
0abaf3e4
AS
31605 [BZ #14283]
31606 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
31607 by 7 not 8 to examine high bit of fractional part.
31608
261f4859
AS
31609 [BZ #14042]
31610 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
31611 for call to __mcount_internal.
31612 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
31613 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
31614 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
31615
f17ac40d
JM
316162012-07-06 Joseph Myers <joseph@codesourcery.com>
31617
9ad63c23
JM
31618 [BZ #14154]
31619 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
31620 approximation for values within 0x1p-13f of an odd multiple of
31621 pi/4.
31622 * math/libm-test.inc (tan_test): Do not allow spurious underflow
31623 exception. Add more tests.
31624 * sysdeps/i386/fpu/libm-test-ulps: Update.
31625
f17ac40d
JM
31626 [BZ #6778]
31627 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
31628 inputs and return -1 for them. Do not check for +Inf in case not
31629 reachable for +Inf.
31630 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31631 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
31632 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31633 and return -1 for them. Do not check for +Inf in case not
31634 reachable for +Inf.
31635 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
31636 define.
31637 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31638 and return -1 for them. Do not check for +Inf in case not
31639 reachable for +Inf.
31640 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
31641 spurious underflow.
31642 * sysdeps/i386/fpu/libm-test-ulps: Update.
31643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31644
fb21f89b
MF
316452012-07-06 Mike Frysinger <vapier@gentoo.org>
31646
31647 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
31648
cdfe2c5e
JM
316492012-07-05 Joseph Myers <joseph@codesourcery.com>
31650
31651 [BZ #14157]
31652 [BZ #14331]
31653 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
31654 could result in spurious underflow. Scale down values above
31655 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
31656 * math/s_csqrtf.c (__csqrtf): Likewise.
31657 * math/s_csqrtl.c (__csqrtl): Likewise.
31658 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
31659 spurious underflow.
31660 * sysdeps/i386/fpu/libm-test-ulps: Update.
31661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31662
70d35b67
AS
316632012-07-04 Andreas Schwab <schwab@linux-m68k.org>
31664
704bc459
AS
31665 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
31666 xopen-msg.sed.
31667 * catgets/xopen-msg.awk: New file.
31668 * catgets/xopen-msg.sed: Removed.
31669
70d35b67
AS
31670 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
31671 po2text.sed.
31672 * intl/po2test.awk: New file.
31673 * intl/po2test.sed: Removed.
31674
ca61cf32
JM
316752012-07-04 Joseph Myers <joseph@codesourcery.com>
31676
31677 [BZ #14328]
31678 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
31679 or multiply small sinh result by itself.
31680 * math/s_ctanf.c (__ctanf): Likewise.
31681 * math/s_ctanh.c (__ctanh): Likewise.
31682 * math/s_ctanhf.c (__ctanhf): Likewise.
31683 * math/s_ctanhl.c (__ctanhl): Likewise.
31684 * math/s_ctanl.c (__ctanl): Likewise.
31685 * math/libm-test.inc (ctan_test_tonearest): New function.
31686 (ctan_test_towardzero): Likewise.
31687 (ctan_test_downward): Likewise.
31688 (ctan_test_upward): Likewise.
31689 (ctanh_test_tonearest): Likewise.
31690 (ctanh_test_towardzero): Likewise.
31691 (ctanh_test_downward): Likewise.
31692 (ctanh_test_upward): Likewise.
31693 (main): Call these new functions.
31694 * sysdeps/i386/fpu/libm-test-ulps: Update.
31695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31696
ca48a46a
MF
316972012-07-03 Mike Frysinger <vapier@gentoo.org>
31698
31699 * .gitignore: Delete /ports entry.
31700
9d63d37d
AJ
317012012-07-03 Andreas Jaeger <aj@suse.de>
31702
31703 * po/bg.po: Update from translation team.
31704 * po/cs.po: Likewise.
31705 * po/de.po: Likewise.
31706 * po/hr.po: Likewise.
31707 * po/nl.pl: Likewise.
31708 * po/pl.po: Likewise.
31709 * po/vi.po: Likewise.
31710
370ca3d2
JM
317112012-07-03 Joseph Myers <joseph@codesourcery.com>
31712
95f5a9a8
JM
31713 * Makeconfig [!+link] (+link-before-libc): New variable.
31714 [!+link] (+link-after-libc): Likewise.
31715 [!+link] (+link-tests): Likewise.
31716 [!+link] (+link): Define in terms of $(+link-before-libc) and
31717 $(+link-after-libc).
31718 [!+link-static] (+link-static-before-libc): New variable.
31719 [!+link-static] (+link-static-after-libc): Likewise.
31720 [!+link-static] (+link-static-tests): Likewise.
31721 [!+link-static] (+link-static): Define in terms of
31722 $(+link-static-before-libc) and $(+link-static-after-libc).
31723 [build-shared] (link-libc-before-gnulib): New variable.
31724 [build-shared] (link-libc-tests): Likewise.
31725 [build-shared] (link-libc): Define in terms of
31726 $(link-libc-before-gnulib).
31727 [!build-shared] (link-libc-tests): New variable.
31728 (link-libc-static-tests): New variable.
31729 [!gnulib] (gnulib-arch): New variable.
31730 [!gnulib] (gnulib-tests): Likewise.
31731 [!gnulib] (static-gnulib-arch): Likewise.
31732 [!gnulib] (static-gnulib-tests): Likewise.
31733 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
31734 Define with "=" instead of ":=".
31735 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
31736 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
31737 * Rules (binaries-all-notests): New variable.
31738 (binaries-all-tests): Likewise.
31739 (binaries-static-notests): Likewise.
31740 (binaries-static-tests): Likewise.
31741 (binaries-all): Define using $(binaries-all-notests) and
31742 $(binaries-all-tests).
31743 (binaries-static): Define using $(binaries-static-notests) and
31744 $(binaries-static-tests).
31745 (binaries-shared-tests): New variable.
31746 (binaries-shared-notests): Likewise.
31747 (binaries-shared): Remove variable.
31748 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
31749 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
31750 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
31751 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
31752 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
31753 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
31754 * elf/Makefile (sln-modules): New variable.
31755 (extra-objs): Add $(sln-modules:=.o).
31756 (ldconfig-modules): Add static-stubs.
31757 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
31758 * elf/static-stubs.c: New file.
31759
7a845b2c
JM
31760 [BZ #14283]
31761 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
31762 by 7 not 8 to examine high bit of fractional part. Use volatile
31763 variables when splitting into final array of floats if
31764 __FLT_EVAL_METHOD__ != 0.
31765 * math/libm-test.inc (cos_test): Add another test.
31766 (sin_test): Likewise.
31767 * sysdeps/i386/fpu/libm-test-ulps: Update.
31768
e2283f38
JM
31769 [BZ #14273]
31770 * math/libm-test.inc (cosh_test): Add more tests.
31771
370ca3d2
JM
31772 * version.h (RELEASE): Set to "development".
31773 (VERSION): Set to "2.16.90".
31774
ee9247c3
CD
317752012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
31776
31777 * NEWS: Update copyright. Remove last-updated date.
31778 Mention math library bug fixes and timezone data changes.
31779 * README: Mention GNU/Hurd, x32, and HPPA support status.
31780
4648c381
TS
317812012-06-28 Thomas Schwinge <thomas@codesourcery.com>
31782
31783 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31784
aac78a43
AJ
317852012-06-27 Andreas Jaeger <aj@suse.de>
31786
31787 * manual/contrib.texi (Contributors): Add Samuel Thibault.
31788
ed3dbfad
AJ
317892012-06-25 Andreas Jaeger <aj@suse.de>
31790
31791 * sysdeps/s390/fpu/libm-test-ulps: Update.
31792
4d0ee855
AS
317932012-06-23 Andreas Schwab <schwab@linux-m68k.org>
31794 Thomas Schwinge <thomas@codesourcery.com>
31795
31796 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31797 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
31798 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
31799 fanotify_mark.
31800
af1bce34
TS
318012012-06-23 Thomas Schwinge <thomas@codesourcery.com>
31802
a9fa33ba
TS
31803 * sysdeps/mach/start.c: Remove file.
31804 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
31805 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
31806 * sysdeps/sh/init-first.c: Likewise.
31807
58f902b8
TS
31808 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
31809 registers for frame unwinding purposes, add CFI directives.
31810 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31811 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
31812 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
31813 Likewise.
31814
1518f58b
TS
31815 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
31816 __fortify_fail returning.
31817 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31818
db9b5059
TS
31819 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
31820 sysdeps/sh/____longjmp_chk.S.
31821 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
31822 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
31823 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
31824 (gen-as-const-headers): Append sigaltstack-offsets.sym.
31825
967705fe
TS
31826 * sysdeps/sh/abort-instr.h: New file.
31827 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
31828 process in case exit returns.
31829
a9def8c4
TS
31830 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
31831 initialize the GOT register before use.
31832
2a649725
TS
31833 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
31834 calculation of ARGC > 4.
31835
af1bce34
TS
31836 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
31837 meaningful names to some local labels.
31838
d230f50a
KK
318392012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31840 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31841
31842 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
31843 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
31844 (__arch_compare_and_exchange_val_16_acq): Likewise.
31845 (__arch_compare_and_exchange_val_32_acq): Likewise.
31846 (atomic_exchange_and_add): Fix gUSA sequence.
31847 (atomic_add): Likewise.
31848 (atomic_add_negative): Likewise.
31849 (atomic_add_zero): Likewise.
31850 (atomic_bit_test_set): Likewise.
31851
0479b305
AS
318522012-06-22 Andreas Schwab <schwab@redhat.com>
31853
31854 [BZ #13579]
31855 * include/link.h (struct link_map): Add l_free_initfini.
31856 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
31857 l_initfini.
31858 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
31859 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
31860 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
31861 set.
31862
0e3933b9
CD
318632012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
31864
31865 * configure.in: Use AC_LANG_SOURCE.
31866 * configure: Regenerate.
31867
4248b1b1
RM
318682012-06-22 Roland McGrath <roland@hack.frob.com>
31869
31870 * configure.in (libc_cv_localstatedir): New substituted variable.
31871 * configure: Regenerated.
31872 * config.make.in (localstatedir): New variable, substituted from
31873 libc_cv_localstatedir.
31874 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
31875 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
31876 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
31877 * sysdeps/gnu/configure: Regenerated.
31878
006dd861
JL
318792012-06-21 Jeff Law <law@redhat.com>
31880
31881 [BZ #14277]
31882 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
31883 free. Simplify list management for _LIBC case.
31884
79662d42
JM
318852012-06-21 Joseph Myers <joseph@codesourcery.com>
31886
b7abb4bf
JM
31887 [BZ #14273]
31888 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31889 Clear sign bit of 64-bit integer value before comparing against
31890 overflow value.
31891
79662d42
JM
31892 * sysdeps/mach/configure: Regenerated.
31893
1f150908
L
318942012-06-21 H.J. Lu <hongjiu.lu@intel.com>
31895
31896 [BZ #14278]
31897 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
31898
28363bbf
JL
318992012-06-21 Jeff Law <law@redhat.com>
31900
31901 [BZ #13882]
31902 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
31903 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 31904 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
31905 * elf/dl-open.c (dl_open_worker): Likewise.
31906
09615db4
CD
319072012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
31908
31909 * scripts/list-sources.sh: Scan PORTS for translations.
31910 * po/libc.pot: Regenerated.
31911
2174c6dd
AJ
319122012-06-21 Andreas Jaeger <aj@suse.de>
31913
31914 [BZ #12194]
31915 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
31916 warning.
31917 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
31918 * bits/byteswap-16.h (__bswap_16): Likewise.
31919 * bits/byteswap.h (__bswap_constant_16): Likewise.
31920
3ee947b1
L
319212012-06-18 H.J. Lu <hongjiu.lu@intel.com>
31922
31923 [BZ #14117]
a2f34833
L
31924 * sysdeps/i386/fpu_control.h: Removed.
31925 * sysdeps/x86_64/fpu_control.h: Moved to ...
31926 * sysdeps/x86/fpu_control.h: Here.
31927
3ee947b1
L
31928 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
31929 (_FPU_SETCW): Likewise.
31930
ed1825f8
L
319312012-06-15 H.J. Lu <hongjiu.lu@intel.com>
31932
25f1282a
L
31933 [BZ #14117]
31934 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
31935 * sysdeps/x86/fpu/bits/mathinline.h: This.
31936 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
31937
ed1825f8
L
31938 [BZ #14050]
31939 [BZ #14117]
31940 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
31941 functions if __x86_64__ is defined.
31942
36d54b74
CLT
319432012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
31944
31945 * string/endian.h: Add !__ASSEMBLER__ condition for including
31946 conversion interfaces.
31947
10285c21
JM
319482012-06-15 Joseph Myers <joseph@codesourcery.com>
31949
31950 [BZ #14241]
31951 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
31952 of ABS(x) in calculating zero to negative powers other than odd
31953 integers.
31954 * math/libm-test.inc (pow_test): Add more tests.
31955
06c5abbd
AJ
319562012-06-15 Andreas Jaeger <aj@suse.de>
31957
31958 * manual/contrib.texi (Contributors): Update entry of Liubov
31959 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
31960 Machado Filho.
31961
a3aeac40
CH
319622012-06-15 Cyril Hrubis <metan@ucw.cz>
31963
31964 * string/string.h: Add __wur to GNU version of strerror_r.
31965
49bdf4c1
L
319662012-06-14 H.J. Lu <hongjiu.lu@intel.com>
31967
31968 [BZ #14229]
31969 * string/Makefile (tests): Add tst-strtok_r.
31970 * string/tst-strtok_r.c: New file.
31971 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
31972 RAX_LP/RDX_LP on SAVE_PTR.
31973
834f9b8d
RM
319742012-06-14 Roland McGrath <roland@hack.frob.com>
31975
31976 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
31977
75fa1921
JM
319782012-06-14 Joseph Myers <joseph@codesourcery.com>
31979
31980 * libm_test.inc (csqrt_test): Allow more spurious underflow
31981 exceptions.
31982 (j0_test): Likewise.
31983 (j1_test): Likewise.
31984 (y0_test): Likewise.
31985 (y1_test): Likewise.
31986
771766df
CD
319872012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
31988
31989 * po/Makefile (libc.pot): Use UTF-8 charset.
31990
ceb9e56b
PP
319912012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
31992
31993 [BZ #14210]
31994 Suppress sign-conversion warning from FD_SET.
31995 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
31996 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
31997 not unsigned long int.
31998 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
31999
ddb28975
L
320002012-06-12 H.J. Lu <hongjiu.lu@intel.com>
32001
32002 [BZ #14050]
32003 [BZ #14117]
32004 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
32005 __extern_always_inline instead of __extern_inline.
32006 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
32007 (__signbit): Likewise.
32008 (__signbitl): Support C++ namespace.
32009 (lrintf): New inline function.
32010 (lrint): Likewise.
32011 (llrintf): Likewise.
32012 (llrint): Likewise.
32013 (fmaxf): Likewise.
32014 (fmax): Likewise.
32015 (fminf): Likewise.
32016 (fmin): Likewise.
32017 (rint): Likewise.
32018 (rintf): Likewise.
32019 (ceil): Likewise.
32020 (ceilf): Likewise.
32021 (floor): Likewise.
32022 (floorf): Likewise.
32023 (nearbyint): Likewise.
32024 (nearbyintf): Likewise.
32025
d7b4fb26
TS
320262012-06-12 Thomas Schwinge <thomas@codesourcery.com>
32027
32028 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
32029 non-default versions.
32030
eb55f5c2
RM
320312012-06-11 Roland McGrath <roland@hack.frob.com>
32032
32033 [BZ #14218]
32034 * manual/argp.texi (Argp): Reword argp_parse description slightly.
32035
366af02c
TS
320362012-06-09 Thomas Schwinge <thomas@codesourcery.com>
32037
99ff6e5c
TS
32038 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
32039 (FE_UPWARD, FE_DOWNWARD): Don't define.
32040 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
32041 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32042
366af02c
TS
32043 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
32044 reading it.
32045 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32046 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32047
793ea851
KK
320482012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32049
32050 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32051 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
32052 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
32053 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
32054
a728a38f
L
320552012-06-06 H.J. Lu <hongjiu.lu@intel.com>
32056
32057 [BZ #14117]
c08010c7
L
32058 * sysdeps/i386/fpu/bits/fenv.h: Removed.
32059 * sysdeps/i386/fpu/Implies: New file.
32060 * sysdeps/x86_64/fpu/Implies: Likewise.
32061 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
32062 * sysdeps/x86/fpu/bits/fenv.h: This.
32063
a728a38f
L
32064 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
32065 __SSE_MATH__.
32066
6e230d11
SP
320672012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32068
32069 [BZ #14134]
32070 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
32071 character 0xffff that matches the last element of the
32072 conversion table.
32073
1b671feb
AZ
320742012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32075
32076 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
32077 fmodl commit.
32078
6043738b
AZ
320792012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32080
32081 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
32082 values higher than 25.6283.
32083
34ae0b32
AZ
320842012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32085
32086 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
32087 subnormal exponent extraction and add some __builtin_expect.
32088 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
32089 Fix for subnormal mantissa calculation.
32090
1214ec8f
MF
320912012-06-04 Mike Frysinger <vapier@gentoo.org>
32092
32093 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
32094 cpu2 is -1 and errno is not ENOSYS.
32095
f3d1f93c
L
320962012-06-04 H.J. Lu <hongjiu.lu@intel.com>
32097
32098 [BZ #14117]
0e4a3cd7
L
32099 * sysdeps/i386/i486/bits/string.h: Renamed to ...
32100 * sysdeps/x86/bits/string.h: This.
32101 * sysdeps/x86_64/bits/string.h: Removed.
32102
6704c645
L
32103 * sysdeps/i386/i486/bits/string.h: Define inline functions only
32104 if not compiling for x86-64, but compiling for >= i486.
32105
48495318
L
32106 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
32107 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
32108
14adcbfc
L
32109 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
32110 New macro from Linux kernel 3.4.0.
32111 (FP_XSTATE_MAGIC2): Likewise.
32112 (FP_XSTATE_MAGIC2_SIZE): Likewise.
32113 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
32114 (struct _fpx_sw_bytes): New struct.
32115 (struct _xsave_hdr): Likewise.
32116 (struct _ymmh_state): Likewise.
32117 (struct _xstate): Likewise.
32118
68e408ab
L
32119 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
32120 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
32121 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
32122 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
32123 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
32124 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
32125
f3d1f93c
L
32126 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
32127 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
32128 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
32129 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
32130 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
32131 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
32132
d9dc34cd
TMQMF
321332012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32134
32135 [BZ #13743]
32136 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
32137 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
32138 (sysdep_headers): Include sys/platform/ppc.h.
32139 * sysdeps/powerpc/test-gettimebase.c: Test for
32140 __ppc_get_timebase() to catch future ISA opcode/insn changes.
32141 * manual/Makefile (appendices): Include platform.texi.
32142 * manual/contrib.texi (Contributors): Update @node pointers.
32143 * manual/maint.texi (Maintenance): Likewise.
32144 (Platform): New node.
32145 * manual/platform.texi: New file. Document the new features.
32146
4af3879c
SP
321472012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32148 Jakub Jelinek <jakub@redhat.com>
32149
32150 [BZ #14188]
32151 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
32152 where __builtin_expect is unavailable.
32153
2fd6ff13
DM
321542012-06-03 David S. Miller <davem@davemloft.net>
32155
32156 * stdlib/longlong.h: Updated from GCC.
32157
173f7220
AS
321582012-06-02 Andreas Schwab <schwab@linux-m68k.org>
32159
32160 [BZ #14042]
32161 * sysdeps/powerpc/powerpc32/mcount.c: New file.
32162 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32163 __mcount_internal.
32164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32165 (GLIBC_2.16): Likewise.
32166
f34a1c6f
L
321672012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32168
32169 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32170
88a4576f
JM
321712012-06-01 Joseph Myers <joseph@codesourcery.com>
32172
ea32bcdd
JM
32173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32174 (default-abi): New variable.
32175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
32176 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
32177 variable.
32178 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
32179 Likewise.
32180 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
32181 Likewise.
32182 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
32183 Likewise.
32184
88a4576f
JM
32185 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
32186 definition. Document in comment.
32187
402fe938
DM
321882012-06-01 David S. Miller <davem@davemloft.net>
32189
32190 * stdlib/longlong.h: Updated from GCC.
32191
3553723f
L
321922012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32193
32194 [BZ #14117]
3bd872c4
L
32195 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
32196 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
32197 sys/debugreg.h sys/io.h here.
32198 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
32199 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
32200 sys/io.h.
32201 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
32202 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
32203 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
32204 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
32205 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
32206 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
32207
3553723f
L
32208 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
32209 Define only if __x86_64__ is defined.
32210
4842e4fe
JM
322112012-06-01 Joseph Myers <joseph@codesourcery.com>
32212
c5bfe3d5
JM
32213 [BZ #14048]
32214 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
32215 Use int64_t for variable i.
32216 * math/libm-test.inc (fmod_test): Add more tests.
32217
4842e4fe
JM
32218 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32219 z computation is not scheduled after fetestexcept.
32220 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
32221 Use math_force_eval instead of asm to ensure calculation scheduled
32222 before exception test.
32223 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32224 Ensure a1 + u.d computation is not scheduled after fetestexcept.
32225
efb73488
AJ
322262012-06-01 Aurelien Jarno <aurelien@aurel32.net>
32227
32228 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32229 computation is not scheduled after fetestexcept.
32230
29bcce7c
L
322312012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32232
32233 [BZ #14117]
32234 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32235 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32236
73a68f94
AZ
322372012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32238
32239 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32240 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32241
67b6df78
L
322422012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32243
edf2933a 32244 [BZ #14117]
ebc64a18
L
32245 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32246 <bits/wordsize.h>.
32247 (__WCHAR_MIN): Support __WORDSIZE == 64.
32248 (__WCHAR_MAX): Likewise.
32249
edf2933a
L
32250 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32251 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32252
57c6cf40
L
32253 [BZ #14183]
32254 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32255 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32256
67b6df78 32257 [BZ #14117]
8eb6281e
L
32258 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32259 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32260
aac639f4
L
32261 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32262 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
32263
67b6df78
L
32264 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
32265 Defined to 1 if __x86_64__ isn't defined.
32266 (_STAT_VER_LINUX_OLD): New.
32267 (st_atime): Remove duplicate.
32268 (st_mtime): Likewise.
32269 (st_ctime): Likewise.
32270
1c2cfe81
DM
322712012-05-31 David S. Miller <davem@davemloft.net>
32272
32273 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
32274 entries.
32275
5be8418c
AS
322762012-06-01 Andreas Schwab <schwab@linux-m68k.org>
32277
e7725326
AS
32278 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
32279 gen-libm-test.pl.
32280
5be8418c
AS
32281 [BZ #14132]
32282 * elf/dl-reloc.c: Include <_itoa.h>.
32283 (_dl_reloc_bad_type): Remove use of INTUSE.
32284 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
32285 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
32286 * stdio-common/psiginfo.c (psiginfo): Likewise.
32287 * stdio-common/psignal.c (psignal): Likewise.
32288 * string/strsignal.c (strsignal): Likewise.
32289 * include/signal.h (_sys_siglist): Declare hidden proto.
32290 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
32291 INTVARDEF with libc_hidden_data_def.
32292 * stdio-common/itoa-udigits.c: Likewise.
32293 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
32294 (_itoa_lower_digits_internal): Remove declaration.
32295 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
32296 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
32297 (_sys_sigabbrev_internal): Remove aliases.
32298 (_sys_siglist): Define hidden alias.
32299
507352f1
MT
323002012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
32301
32302 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32303 bits/sysctl.h.
32304
42bbb1c3
L
323052012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32306
32307 [BZ #14117]
6bd784b6
L
32308 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
32309 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
32310
8bca20f0
L
32311 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
32312 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
32313 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
32314 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
32315 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
32316 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
32317
f9e890a9
L
32318 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
32319 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
32320 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
32321
471101a1
L
32322 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
32323 with __addr.
32324 (insw): Likewise.
32325 (insl): Likewise.
32326 (outsb): Likewise.
32327 (outsw): Likewise.
32328 (outsl): Likewise.
32329
6451c862
L
32330 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
32331 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
32332 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
32333
a254b8c9
L
32334 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
32335 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
32336 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
32337 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
32338 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
32339 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
32340
b8dfdd92
L
32341 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
32342 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
32343
578cd270
L
32344 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
32345 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
32346
de662f5f
L
32347 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
32348 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
32349 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
32350
25653439
L
32351 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
32352 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
32353 to ...
32354 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
32355
6bad24a0
L
32356 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
32357 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
32358 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
32359
42bbb1c3
L
32360 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
32361 for x86-64.
32362 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
32363
2d10d547
JM
323642012-05-31 Joseph Myers <joseph@codesourcery.com>
32365
32366 * math/math.h (M_El): Use two more decimal places.
32367 (M_LOG2El): Likewise.
32368 (M_LOG10El): Likewise.
32369 (M_LN2l): Likewise.
32370 (M_LN10l): Likewise.
32371 (M_PIl): Likewise.
32372 (M_PI_2l): Likewise.
32373 (M_PI_4l): Likewise.
32374 (M_1_PIl): Likewise.
32375 (M_2_PIl): Likewise.
32376 (M_2_SQRTPIl): Likewise.
32377 (M_SQRT2l): Likewise.
32378 (M_SQRT1_2l): Likewise.
32379
f230c29b
DM
323802012-05-31 David S. Miller <davem@davemloft.net>
32381
32382 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
32383 values between float registers.
32384 * sysdeps/sparc/sparc64/memset.S: Likewise.
32385 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32386
fed806c3
MF
323872012-05-31 Mike Frysinger <vapier@gentoo.org>
32388
32389 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
32390 -D_FORTIFY_SOURCE=1.
32391 (CPPFLAGS-tst-longjmp_chk.c): Define.
32392 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
32393 (CPPFLAGS-tst-longjmp_chk2.c): Define.
32394 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
32395 CFLAGS-tst-wchar-h.c.
32396
30917259
MP
323972012-05-31 Marek Polacek <polacek@redhat.com>
32398
32399 [BZ #14132]
32400 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
32401 __endmntent_internal): Remove declaration.
32402 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
32403 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
32404 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
32405
1c58d5dc
DM
324062012-05-30 David S. Miller <davem@davemloft.net>
32407
32408 * sysdeps/sparc/sparc32/soft-fp/q_util.c
32409 (___Q_simulate_exceptions): Use real FP ops rather than writing
32410 into the %fsr.
32411 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
32412 Likewise.
32413
7dc00e0d
L
324142012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32415
32416 [BZ #14117]
0bd53985
L
32417 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
32418 * sysdeps/x86/bits/xtitypes.h: This.
32419
3a257e66
L
32420 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
32421 * sysdeps/x86/bits/wordsize.h: This.
32422
62f62904
L
32423 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
32424 * sysdeps/x86/bits/huge_vall.h: This.
32425
404fe9d9
L
32426 * sysdeps/i386/bits/select.h: Removed.
32427 * sysdeps/x86_64/bits/select.h: Renamed to ...
32428 * sysdeps/x86/bits/select.h: This.
32429
d48d0446
L
32430 * sysdeps/i386/bits/setjmp.h: Removed.
32431 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
32432 * sysdeps/x86/bits/setjmp.h: This.
32433
7dc00e0d
L
32434 * sysdeps/i386/bits/mathdef.h: Removed.
32435 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
32436 * sysdeps/x86/bits/mathdef.h: This.
32437
03277f8f
AS
324382012-05-30 Andreas Schwab <schwab@linux-m68k.org>
32439
32440 [BZ #14132]
32441 * include/sys/socket.h (__connect_internal)
32442 (__libc_sa_len_internal): Remove declaration.
32443 (__connect, __libc_sa_len): Declare hidden_proto.
32444 (SA_LEN): Remove use of INTUSE.
32445 * socket/connect.c: Add libc_hidden_def.
32446 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
32447 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
32448 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
32449 alias.
32450 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32451 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
32452 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
32453 of adding _internal alias.
32454
13764867
L
324552012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32456
32457 [BZ #14117]
6bd97696
L
32458 * sysdeps/i386/bits/link.h: Removed.
32459 * sysdeps/i386/bits/linkmap.h: Likewise.
32460 * sysdeps/x86_64/bits/link.h: Renamed to ...
32461 * sysdeps/x86/bits/link.h: This.
32462 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
32463 * sysdeps/x86/bits/linkmap.h: This.
32464
f726f0bb
L
32465 * sysdeps/i386/bits/endian.h: Removed.
32466 * sysdeps/x86_64/bits/endian.h: Renamed to ...
32467 * sysdeps/x86/bits/endian.h: This.
32468
13764867
L
32469 * sysdeps/i386/bits/byteswap.h: Removed.
32470 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32471 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
32472 * sysdeps/x86/bits/byteswap.h: This.
32473 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
32474 * sysdeps/x86/bits/byteswap-16.h: This.
32475 * sysdeps/i386/Implies: Add x86.
32476 * sysdeps/x86_64/Implies: Likewise.
32477
ae251b0b
DM
324782012-05-30 David S. Miller <davem@davemloft.net>
32479
32480 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
32481 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
32482 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32483 (FP_TRAPPING_EXCEPTIONS): Define.
32484 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32485 (FP_TRAPPING_EXCEPTIONS): Define.
32486 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
32487 subnormals only when inexact has been signalled or underflow
32488 exceptions are enabled.
32489 (_FP_PACK_CANONICAL): Likewise.
32490
d5c90867
L
324912012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32492
32493 [BZ #14183]
32494 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
32495 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
32496
63f1549e
RH
324972012-05-30 Richard Henderson <rth@twiddle.net>
32498
8d8f2279
RH
32499 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
32500 with #ifndef NOT_IN_libc.
32501
63f1549e
RH
32502 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
32503 marked to avoid plt entry.
32504
0ab0291b
L
325052012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32506
32507 [BZ #14112]
32508 * Makeconfig (default-abi): New macro.
32509 (abi-includes): Likewise.
32510 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
32511 $(abi-$(default-abi)-lib-soname) for soname if defined.
32512 ($(common-objpfx)gnu/lib-names.stmp): Generate from
32513 abi-variants.
32514 * Makefile (installed-stubs): Likewise.
32515 * include/stubs-biarch.h: Removed.
32516 * scripts/lib-names.awk: Only handle one library at a time.
32517 * scripts/soversions.awk: Remove WORDSIZE support.
32518 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
32519 entries.
32520 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
32521 Removed.
32522 (syscall-list-default-condition): Likewise.
32523 (syscall-list-default-condition): Likewise.
32524 (syscall-list-includes): Likewise.
32525 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
32526 syscall-list-* with abi-*. Handle undefined abi-variants.
32527 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
32528 * sysdeps/unix/sysv/linux/i386/Implies: New file.
32529 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
32530 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
32531 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
32532 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
32533 Removed.
32534 (syscall-list-32-options): Likewise.
32535 (syscall-list-32-condition): Likewise.
32536 (syscall-list-64-options): Likewise.
32537 (syscall-list-64-condition): Likewise.
32538 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
32539 macro.
32540 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
32541 Renamed to ...
32542 (abi-*): This.
32543 (abi-64-ld-soname): New macro.
32544 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
32545 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
32546 Renamed to ...
32547 (abi-*): This.
32548 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
32549 * sysdeps/x86_64/x32/shlib-versions: Likewise.
32550
4da0431d
JM
325512012-05-30 Joseph Myers <joseph@codesourcery.com>
32552
3a85279c
JM
32553 * sysdeps/unix/sysv/linux/kernel-features.h
32554 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
32555 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
32556 include <kernel-features.h>.
32557 [!__NR_ftruncate64]: Remove conditional code.
32558 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32559 [__NR_ftruncate64]: Make code unconditional.
32560 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32561 * sysdeps/unix/sysv/linux/truncate64.c: Do not
32562 include <kernel-features.h>.
32563 [!__NR_ftruncate64]: Remove conditional code.
32564 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32565 [__NR_ftruncate64]: Make code unconditional.
32566 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
32568 include <kernel-features.h>.
32569 [!__NR_ftruncate64]: Remove conditional code.
32570 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32571 [__NR_ftruncate64]: Make code unconditional.
32572 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32574 include <kernel-features.h>.
32575 [!__NR_ftruncate64]: Remove conditional code.
32576 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32577 [__NR_ftruncate64]: Make code unconditional.
32578 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32579
4da0431d
JM
32580 * configure.in (libc_cv_fpie): Weaken to a compile test using
32581 LIBC_TRY_CC_OPTION.
32582 * configure: Regenerated.
32583
11ef492c
AK
325842012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32585
32586 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
32587 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
32588 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
32589 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32590 Refreshed.
32591 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
32592 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
32593 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
32594 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
32595 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
32596 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32597 Refreshed.
32598
d66ef399
DM
325992012-05-27 David S. Miller <davem@davemloft.net>
32600
32601 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
32602 (___Q_zero): New.
32603 (__Q_simulate_exceptions): Return void. Change to simulate
32604 exceptions by writing into the %fsr.
32605 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
32606 (__Qp_handle_exceptions): Likewise.
32607 (numbers): Delete.
32608 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
32609 __Qp_handle_exceptions.
32610 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
32611 __Qp_handle_exceptions.
32612 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32613 as unused and give dummy FP_RND_NEAREST initializer.
32614 (FP_INHIBIT_RESULTS): Define.
32615 (___Q_simulate_exceptions): Update declaration.
32616 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
32617 formatting.
32618 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32619 as unused and give dummy FP_RND_NEAREST initializer.
32620 (__Qp_handle_exceptions): Update declaration.
32621 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
32622 formatting.
32623
04fb54b5
TS
326242012-05-27 Thomas Schwinge <thomas@codesourcery.com>
32625
32626 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
32627 the temporary FPU control word.
32628 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32629 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
32630 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32631 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32632 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32633 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32634 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32635 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32636 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32637 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32638 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32639
3f99608f
KK
326402012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32641
32642 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
32643 fields.
32644
65a4de4e
CLT
326452012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
32646
32647 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
32648 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
32649 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
32650 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
32651 Likewise.
32652 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
32653 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
32654 Likewise.
32655
15749d40
UD
326562012-05-27 Ulrich Drepper <drepper@gmail.com>
32657
32658 * po/h.po: Update from translation team.
32659
25dbcb27
AS
326602012-05-26 Andreas Schwab <schwab@linux-m68k.org>
32661
3d3f8e55
AS
32662 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
32663
25dbcb27
AS
32664 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
32665 handling of denormals.
32666 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32667 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32668 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32669 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32670 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32671 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
32672 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
32673 Likewise.
32674
7ad47a80 326752012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
32676
32677 [BZ #14152]
32678 * math/libm-test.inc (fma_test): Don't always expect underflow
32679 exception.
32680
9c6ea9fa
SP
326812012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32682
32683 [BZ #12416]
32684 * elf/tst-execstack.c: Include stackinfo.h.
32685 (do_test): Adjust test case to ensure that pthread_getattr_np
32686 behaviour remains the same after marking stack executable.
32687
a8239222
JM
326882012-05-25 Joseph Myers <joseph@codesourcery.com>
32689
32690 * sysdeps/unix/sysv/linux/kernel-features.h
32691 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
32692 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
32693 kernel-features.h.
32694 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32695 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32696 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
32697 kernel-features.h.
32698 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32699 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32700
918b5606
L
327012012-05-25 H.J. Lu <hongjiu.lu@intel.com>
32702
32703 * configure.in: Define the default includes to being none.
32704 * configure: Regenerated.
32705
3a097cc7
RM
327062012-05-25 Roland McGrath <roland@hack.frob.com>
32707
8422c9a5
RM
32708 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
32709 * sysdeps/x86_64/setjmp.S: Likewise.
32710 * sysdeps/i386/bsd-setjmp.S: Likewise.
32711 * sysdeps/i386/bsd-_setjmp.S: Likewise.
32712 * sysdeps/i386/setjmp.S: Likewise.
32713 * sysdeps/i386/__longjmp.S: Likewise.
32714 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32715 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
32716
3a097cc7
RM
32717 * include/stap-probe.h: New file.
32718 * configure.in: Handle --enable-systemtap.
32719 * configure: Regenerated.
32720 * config.h.in (USE_STAP_PROBE): New #undef.
32721 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
32722 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
32723 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32724
21708942
JM
327252012-05-25 Joseph Myers <joseph@codesourcery.com>
32726
32727 [BZ #13717]
32728 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32729 to 2.4.0 where earlier.
32730 * sysdeps/unix/sysv/linux/configure: Regenerated.
32731 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32732 <kernel-features.h>.
32733 [__ASSUME_32BITUIDS]: Make code unconditional.
32734 [!__ASSUME_32BITUIDS]: Remove conditional code.
32735 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
32736 <kernel-features.h>.
32737 [__ASSUME_32BITUIDS]: Make code unconditional.
32738 [!__ASSUME_32BITUIDS]: Remove conditional code.
32739 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
32740 [__ASSUME_32BITUIDS]: Make code unconditional.
32741 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
32742 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
32743 <kernel-features.h>.
32744 [__ASSUME_32BITUIDS]: Make code unconditional.
32745 [!__ASSUME_32BITUIDS]: Remove conditional code.
32746 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
32747 <kernel-features.h>.
32748 [__ASSUME_32BITUIDS]: Make code unconditional.
32749 [!__ASSUME_32BITUIDS]: Remove conditional code.
32750 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
32751 <kernel-features.h>.
32752 [__ASSUME_32BITUIDS]: Make code unconditional.
32753 [!__ASSUME_32BITUIDS]: Remove conditional code.
32754 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
32755 <kernel-features.h>.
32756 [__ASSUME_32BITUIDS]: Make code unconditional.
32757 [!__ASSUME_32BITUIDS]: Remove conditional code.
32758 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32759 <kernel-features.h>.
32760 [__ASSUME_32BITUIDS]: Make code unconditional.
32761 [!__ASSUME_32BITUIDS]: Remove conditional code.
32762 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32763 <kernel-features.h>.
32764 [__ASSUME_32BITUIDS]: Make code unconditional.
32765 [!__ASSUME_32BITUIDS]: Remove conditional code.
32766 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
32767 <kernel-features.h>.
32768 [__ASSUME_32BITUIDS]: Make code unconditional.
32769 [!__ASSUME_32BITUIDS]: Remove conditional code.
32770 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32771 <kernel-features.h>.
32772 [__ASSUME_32BITUIDS]: Make code unconditional.
32773 [!__ASSUME_32BITUIDS]: Remove conditional code.
32774 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32775 <kernel-features.h>.
32776 [__ASSUME_32BITUIDS]: Make code unconditional.
32777 [!__ASSUME_32BITUIDS]: Remove conditional code.
32778 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
32779 <kernel-features.h>.
32780 [__ASSUME_32BITUIDS]: Make code unconditional.
32781 [!__ASSUME_32BITUIDS]: Remove conditional code.
32782 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
32783 <kernel-features.h>.
32784 [__NR_setresgid] (__setresgid): Do not declare.
32785 [__ASSUME_32BITUIDS]: Make code unconditional.
32786 [!__ASSUME_32BITUIDS]: Remove conditional code.
32787 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32788 <kernel-features.h>.
32789 [__NR_setresuid] (__setresuid): Do not declare.
32790 [__ASSUME_32BITUIDS]: Make code unconditional.
32791 [!__ASSUME_32BITUIDS]: Remove conditional code.
32792 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
32793 <kernel-features.h>.
32794 [__ASSUME_32BITUIDS]: Make code unconditional.
32795 [!__ASSUME_32BITUIDS]: Remove conditional code.
32796 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
32797 <kernel-features.h>.
32798 [__ASSUME_32BITUIDS]: Make code unconditional.
32799 [!__ASSUME_32BITUIDS]: Remove conditional code.
32800 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
32801 <kernel-features.h>.
32802 [__ASSUME_32BITUIDS]: Make code unconditional.
32803 [!__ASSUME_32BITUIDS]: Remove conditional code.
32804 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
32805 <kernel-features.h>.
32806 [__ASSUME_32BITUIDS]: Make code unconditional.
32807 [!__ASSUME_32BITUIDS]: Remove conditional code.
32808 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
32809 <kernel-features.h>.
32810 [__ASSUME_32BITUIDS]: Make code unconditional.
32811 [!__ASSUME_32BITUIDS]: Remove conditional code.
32812 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
32813 <kernel-features.h>.
32814 [__ASSUME_32BITUIDS]: Make code unconditional.
32815 [!__ASSUME_32BITUIDS]: Remove conditional code.
32816 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
32817 <kernel-features.h>.
32818 [__ASSUME_32BITUIDS]: Make code unconditional.
32819 [!__ASSUME_32BITUIDS]: Remove conditional code.
32820 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
32821 <kernel-features.h>.
32822 [__ASSUME_32BITUIDS]: Make code unconditional.
32823 [!__ASSUME_32BITUIDS]: Remove conditional code.
32824 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
32825 <kernel-features.h>.
32826 [__ASSUME_32BITUIDS]: Make code unconditional.
32827 [!__ASSUME_32BITUIDS]: Remove conditional code.
32828 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32829 <kernel-features.h>.
32830 [__ASSUME_32BITUIDS]: Make code unconditional.
32831 [!__ASSUME_32BITUIDS]: Remove conditional code.
32832 * sysdeps/unix/sysv/linux/kernel-features.h
32833 (__ASSUME_SETRESUID_SYSCALL): Remove.
32834 (__ASSUME_SETRESGID_SYSCALL): Likewise.
32835 (__ASSUME_32BITUIDS): Likewise.
32836 (__ASSUME_LDT_WORKS): Likewise.
32837 (__ASSUME_O_DIRECTORY): Likewise.
32838 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
32839 architecture but not kernel version.
32840 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32841 (__ASSUME_MMAP2_SYSCALL): Likewise.
32842 (__ASSUME_STAT64_SYSCALL): Likewise.
32843 (__ASSUME_IPC64): Likewise.
32844 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
32845 <kernel-features.h>.
32846 [__ASSUME_32BITUIDS]: Make code unconditional.
32847 [!__ASSUME_32BITUIDS]: Remove conditional code.
32848 * sysdeps/unix/sysv/linux/opendir.c: Do not include
32849 <kernel-features.h>.
32850 [__ASSUME_O_DIRECTORY]: Make code unconditional.
32851 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
32852 132096]: Remove conditional code.
32853 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
32854 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32855 <kernel-features.h>.
32856 [__ASSUME_32BITUIDS]: Make code unconditional.
32857 [!__ASSUME_32BITUIDS]: Remove conditional code.
32858 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32859 <kernel-features.h>.
32860 [__ASSUME_32BITUIDS]: Make code unconditional.
32861 [!__ASSUME_32BITUIDS]: Remove conditional code.
32862 * sysdeps/unix/sysv/linux/setegid.c: Do not include
32863 <kernel-features.h>.
32864 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
32865 unconditional.
32866 (__setresgid): Do not declare.
32867 [__ASSUME_32BITUIDS]: Make code unconditional.
32868 [!__ASSUME_32BITUIDS]: Remove conditional code.
32869 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
32870 <kernel-features.h>.
32871 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
32872 unconditional.
32873 (__setresuid): Do not declare.
32874 [__ASSUME_32BITUIDS]: Make code unconditional.
32875 [!__ASSUME_32BITUIDS]: Remove conditional code.
32876 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32877 <kernel-features.h>.
32878 [__ASSUME_32BITUIDS]: Make code unconditional.
32879 [!__ASSUME_32BITUIDS]: Remove conditional code.
32880 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
32881 <kernel-features.h>.
32882 [__ASSUME_32BITUIDS]: Make code unconditional.
32883 [!__ASSUME_32BITUIDS]: Remove conditional code.
32884
a386f1cc
RH
328852012-05-25 Richard Henderson <rth@twiddle.net>
32886
32887 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
32888 dl_hwcap to ifunc resolver.
32889 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
32890 elf_ifunc_invoke.
32891 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
32892 dl_hwcap to ifunc resolver.
32893 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
32894
b6550497
JM
328952012-05-24 Joseph Myers <joseph@codesourcery.com>
32896
32897 [BZ #14153]
32898 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
32899 for |x| <= 2**-26, not 2**-57.
32900 * math/libm-test.inc (acos_test): Do not allow spurious underflow
32901 exception.
32902
b0bc23a1
JL
329032012-05-24 Jeff Law <law@redhat.com>
32904
32905 * stdio-common/Makefile (tests): Add bug25.
32906 * stdio-common/bug25.c: New test.
32907
347c92e9
L
329082012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32909
32910 [BZ #13576]
32911 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
32912 multiple of MALLOC_ALIGNMENT in size.
32913 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
32914
6bcc8b3f
JM
329152012-05-24 Joseph Myers <joseph@codesourcery.com>
32916
32917 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
32918 Require >= 256.
32919 (FILENAME_MAX): Use macro-int-constant.
32920 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
32921 (_IOFBF): Use macro-int-constant.
32922 (_IOLBF): Likewise.
32923 (_IONBF): Likewise.
32924 (SEEK_CUR): Likewise.
32925 (SEEK_END): Likewise.
32926 (SEEK_SET): Likewise.
32927 (TMP_MAX): Likewise.
32928 (EOF): Use macro-int-constant. Require < 0.
32929 (NULL): Use macro-constant. Require == 0.
32930 (stdin): Require type to be FILE *.
32931 (stdout): Likewise.
32932 (stderr): Likewise.
32933 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
32934 macro-int-constant.
32935 (EXIT_SUCCESS): Likewise.
32936 (NULL): Use macro-constant. Require == 0.
32937 (RAND_MAX): Use macro-int-constant.
32938 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
32939 [C99-based standards] (strtof): Require function.
32940 [C99-based standards] (strtold): Likewise.
32941 [C99-based standards] (strtoll): Likewise.
32942 [C99-based standards] (strtoull): Likewise.
32943 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32944 [ISO || ISO99 || ISO11] (limits.h): Likewise.
32945 [ISO || ISO99 || ISO11] (math.h): Likewise.
32946 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
32947 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32948 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32949
d18ea0c5
AS
329502012-05-24 Andreas Schwab <schwab@linux-m68k.org>
32951
32952 [BZ #14132]
56d25bb8
AS
32953 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
32954 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
32955 * intl/dgettext.c (DCGETTEXT): Likewise.
32956 * intl/gettext.c (DCGETTEXT): Likewise.
32957 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
32958 * posix/regex_internal.h (gettext): Likewise.
32959 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
32960 Remove declaration.
32961 * include/argz.h (__argz_count_internal)
32962 (__argz_stringify_internal): Remove declaration.
32963 (__argz_count, __argz_stringify): Declare hidden proto.
32964 * intl/dcgettext.c: Remove use of INTDEF.
32965 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
32966 * string/argz-stringify.c: Likewise.
32967 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32968 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32969 Declare hidden proto.
d18ea0c5
AS
32970 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32971 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32972 Declare hidden proto.
32973 * include/stdio.h (__asprintf_internal): Don't declare.
32974 (__asprintf): Don't define as macro. Declare hidden proto.
32975 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
32976 (__fsetlocking): Declare hidden proto.
32977 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
32978 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
32979 hidden proto.
32980 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
32981 (_IO_setlinebuf): Remove use of INTUSE.
32982 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
32983 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
32984 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
32985 Remove declaration.
32986 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
32987 (_IO_do_flush): Remove use of INTUSE.
32988 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
32989 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
32990 (_IO_adjust_column, _IO_least_wmarker)
32991 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
32992 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
32993 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
32994 (_IO_default_doallocate, _IO_wdefault_doallocate)
32995 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
32996 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
32997 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
32998 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
32999 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
33000 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
33001 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
33002 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
33003 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
33004 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
33005 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
33006 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
33007 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
33008 proto.
33009 (_IO_flush_all_internal, _IO_adjust_column_internal)
33010 (_IO_default_uflow_internal, _IO_default_finish_internal)
33011 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
33012 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
33013 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
33014 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
33015 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
33016 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
33017 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
33018 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
33019 (_IO_file_close_internal, _IO_file_close_it_internal)
33020 (_IO_file_underflow_internal, _IO_file_overflow_internal)
33021 (_IO_file_init_internal, _IO_file_attach_internal)
33022 (_IO_file_fopen_internal, _IO_file_read_internal)
33023 (_IO_file_sync_internal, _IO_file_seek_internal)
33024 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
33025 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
33026 (_IO_str_underflow_internal, _IO_str_overflow_internal)
33027 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
33028 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
33029 (_IO_list_all_internal, _IO_link_in_internal)
33030 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
33031 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
33032 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
33033 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
33034 (_IO_do_write_internal, _IO_padn_internal)
33035 (_IO_getline_info_internal, _IO_getline_internal)
33036 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
33037 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
33038 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
33039 (_IO_vfscanf_internal, _IO_vfprintf_internal)
33040 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
33041 (_IO_init_internal, _IO_un_link_internal): Don't declare.
33042 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
33043 with libc_hidden_ver, remove use of INTUSE.
33044 * libio/genops.c: Likewise.
33045 * libio/freopen.c: Likewise.
33046 * libio/freopen64.c: Likewise.
33047 * libio/iofclose.c: Likewise.
33048 * libio/iofdopen.c: Likewise.
33049 * libio/iofflush.c: Likewise.
33050 * libio/iofflush_u.c: Likewise.
33051 * libio/iofgets.c: Likewise.
33052 * libio/iofgets_u.c: Likewise.
33053 * libio/iofopen.c: Likewise.
33054 * libio/iofopncook.c: Likewise.
33055 * libio/iofread.c: Likewise.
33056 * libio/iofread_u.c: Likewise.
33057 * libio/ioftell.c: Likewise.
33058 * libio/iofwrite.c: Likewise.
33059 * libio/iogetline.c: Likewise.
33060 * libio/iogets.c: Likewise.
33061 * libio/iogetwline.c: Likewise.
33062 * libio/iopadn.c: Likewise.
33063 * libio/iopopen.c: Likewise.
33064 * libio/ioseekoff.c: Likewise.
33065 * libio/ioseekpos.c: Likewise.
33066 * libio/iosetbuffer.c: Likewise.
33067 * libio/iosetvbuf.c: Likewise.
33068 * libio/ioungetc.c: Likewise.
33069 * libio/ioungetwc.c: Likewise.
33070 * libio/iovdprintf.c: Likewise.
33071 * libio/iovsprintf.c: Likewise.
33072 * libio/iovsscanf.c: Likewise.
33073 * libio/memstream.c: Likewise.
33074 * libio/obprintf.c: Likewise.
33075 * libio/oldfileops.c: Likewise.
33076 * libio/oldiofclose.c: Likewise.
33077 * libio/oldiofdopen.c: Likewise.
33078 * libio/oldiofopen.c: Likewise.
33079 * libio/oldiopopen.c: Likewise.
33080 * libio/oldstdfiles.c: Likewise.
33081 * libio/putc.c: Likewise.
33082 * libio/setbuf.c: Likewise.
33083 * libio/setlinebuf.c: Likewise.
33084 * libio/stdfiles.c: Likewise.
33085 * libio/strops.c: Likewise.
33086 * libio/vasprintf.c: Likewise.
33087 * libio/vscanf.c: Likewise.
33088 * libio/vsnprintf.c: Likewise.
33089 * libio/vswprintf.c: Likewise.
33090 * libio/wfiledoalloc.c: Likewise.
33091 * libio/wfileops.c: Likewise.
33092 * libio/wgenops.c: Likewise.
33093 * libio/wmemstream.c: Likewise.
33094 * libio/wstrops.c: Likewise.
33095 * libio/__fpurge.c: Likewise.
33096 * libio/__fsetlocking.c: Likewise.
33097 * assert/assert.c: Likewise.
33098 * debug/fgets_chk.c: Likewise.
33099 * debug/fgets_u_chk.c: Likewise.
33100 * debug/fread_chk.c: Likewise.
33101 * debug/fread_u_chk.c: Likewise.
33102 * debug/gets_chk.c: Likewise.
33103 * debug/obprintf_chk.c: Likewise.
33104 * debug/vasprintf_chk.c: Likewise.
33105 * debug/vdprintf_chk.c: Likewise.
33106 * debug/vsnprintf_chk.c: Likewise.
33107 * debug/vsprintf_chk.c: Likewise.
33108 * malloc/mtrace.c: Likewise.
33109 * misc/error.c: Likewise.
33110 * misc/syslog.c: Likewise.
33111 * stdio-common/asprintf.c: Likewise.
33112 * stdio-common/fxprintf.c: Likewise.
33113 * stdio-common/getw.c: Likewise.
33114 * stdio-common/isoc99_fscanf.c: Likewise.
33115 * stdio-common/isoc99_scanf.c: Likewise.
33116 * stdio-common/isoc99_vfscanf.c: Likewise.
33117 * stdio-common/isoc99_vscanf.c: Likewise.
33118 * stdio-common/isoc99_vsscanf.c: Likewise.
33119 * stdio-common/printf-prs.c: Likewise.
33120 * stdio-common/printf_fp.c: Likewise.
33121 * stdio-common/printf_fphex.c: Likewise.
33122 * stdio-common/printf_size.c: Likewise.
33123 * stdio-common/putw.c: Likewise.
33124 * stdio-common/scanf.c: Likewise.
33125 * stdio-common/sprintf.c: Likewise.
33126 * stdio-common/tmpfile.c: Likewise.
33127 * stdio-common/vfprintf.c: Likewise.
33128 * stdio-common/vfscanf.c: Likewise.
33129 * stdlib/strfmon_l.c: Likewise.
33130 * sunrpc/openchild.c: Likewise.
33131 * sunrpc/xdr_stdio.c: Likewise.
33132 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
33133 * sysdeps/mach/hurd/tmpfile.c: Likewise.
33134
d6c33fda
RM
331352012-05-24 Roland McGrath <roland@hack.frob.com>
33136
c1487492
RM
33137 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33138
33139 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
33140 in the third column, to generate for the shared library an IFUNC
33141 that uses _dl_vdso_vsym.
33142 * Makerules (COMPILE.c, compile-stdin.c): New variables.
33143 * Makeconfig (object-suffixes-noshared): New variable.
33144
33145 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
33146 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
33147 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
33148 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
33149
d6c33fda
RM
33150 [BZ #14132]
33151 * include/sys/time.h (__gettimeofday): Remove macro.
33152 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
33153 * time/gettimeofday.c (__gettimeofday): Remove #undef.
33154 Remove INTDEF.
33155 (__gettimeofday): Add libc_hidden_def.
33156 (gettimeofday): Add libc_hidden_weak.
33157 * sysdeps/mach/gettimeofday.c: Likewise.
33158 * sysdeps/posix/gettimeofday.c: Likewise.
33159 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33160 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33161 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33162 (__gettimeofday_internal): Remove strong_alias.
33163 (__gettimeofday): Add libc_hidden_def.
33164 (gettimeofday): Add libc_hidden_weak.
33165 * sysdeps/unix/syscalls.list (gettimeofday):
33166 Remove __gettimeofday_internal alias.
33167
b5a2bbe6
L
331682012-05-24 Daniel Jacobowitz <drow@false.org>
33169 H.J. Lu <hongjiu.lu@intel.com>
33170
33171 [BZ #12495]
33172 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33173 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33174 (largebin_index_32_big): New.
33175 (largebin_index): Use it for 16-byte alignment.
33176 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
33177 correction with front_misalign.
33178
cfba4fda
L
331792012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33180
7f907421
L
33181 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
33182 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33183 Likewise.
33184 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
33185 Likewise.
33186 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33187 Likewise.
33188 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
33189 Likewise.
33190 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
33191 Likewise.
33192 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
33193 Likewise.
33194 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
33195 Likewise.
33196 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33197 Likewise.
33198 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
33199 Likewise.
33200 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
33201 Likewise.
33202 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33203 Likewise.
33204 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
33205 Likewise.
33206
cfba4fda
L
33207 * scripts/data/c++-types-x32-linux-gnu.data: New file.
33208 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
33209
80bad0cc
JM
332102012-05-24 Joseph Myers <joseph@codesourcery.com>
33211
7a25eb06
JM
33212 [BZ #10846]
33213 [BZ #14036]
33214 * math/libm-test.inc (exp_test): Add test from bug 14036.
33215 (pow_test): Add test from bug 10846.
33216
795405f9
JM
33217 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
33218 and other flags.
33219 (special_function): Do not include flags in test name.
33220 (parse_args): Likewise.
33221 * sysdeps/i386/fpu/libm-test-ulps: Update.
33222 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33223 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33224 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33226
80bad0cc
JM
33227 * math/gen-libm-test.pl (%beautify): Add entries for underflow
33228 exceptions.
33229 * math/libm-test.inc ("Philosophy"): Update comment about
33230 exception testing.
33231 (UNDERFLOW_EXCEPTION): New macro.
33232 (UNDERFLOW_EXCEPTION_OK): Likewise.
33233 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33234 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33235 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33236 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33237 (INVALID_EXCEPTION_OK): Update value.
33238 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33239 (OVERFLOW_EXCEPTION_OK): Likewise.
33240 (IGNORE_ZERO_INF_SIGN): Likewise.
33241 (test_exceptions): Handle underflow exceptions.
33242 (acos_test): Update for underflow exception expectations.
33243 (cexp_test): Likewise.
33244 (clog_test): Likewise.
33245 (clog10_test): Likewise.
33246 (csqrt_test): Likewise.
33247 (ctan_test): Likewise.
33248 (ctanh_test): Likewise.
33249 (exp_test): Likewise.
33250 (exp10_test): Likewise.
33251 (exp2_test): Likewise.
33252 (expm1_test): Likewise.
33253 (fma_test): Likewise.
33254 (j0_test): Likewise.
33255 (jn_test): Likewise.
33256 (nexttoward_test): Likewise.
33257 (pow_test): Likewise.
33258 (scalbn_test): Likewise.
33259 (scalbln_test): Likewise.
33260 (tan_test): Likewise.
33261 (y1_test): Likewise.
33262 * sysdeps/i386/fpu/libm-test-ulps: Update.
33263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33264
9e0e3d0b
DM
332652012-05-23 David S. Miller <davem@davemloft.net>
33266
33267 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33268 (__libc_sigaction): Remove unused local variables.
33269
ccd0a08f
L
332702012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33271
33272 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
33273
62bdf9a6
PE
332742012-05-23 Paul Eggert <eggert@cs.ucla.edu>
33275
f8591f80
PE
33276 mktime: avoid signed integer overflow
33277 * time/mktime.c (__mktime_internal): Do not mishandle the case
33278 where diff == INT_MIN.
33279
94c7d826
PE
33280 mktime: simplify computation of average
33281 * time/mktime.c (ranged_convert): Use new time_t_avg function
33282 instead of rolling our own (probably-slower) code.
33283
ce73d683
PE
33284 mktime: do not assume signed right shift propagates sign bit
33285 * time/mktime.c (isdst_differ): New static function.
33286 (__mktime_internal): No need to normalize tm_isdst now.
33287 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
33288 tm_isdst values.
33289
72a22e59
PE
33290 mktime: merge another wrapv change from gnulib
33291 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
33292 from some compilers.
33293
68605433
PE
33294 mktime: remove incorrect attempt at unusual arithmetics
33295 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
33296 The code didn't really work on such machines anyway.
33297 (TYPE_MINIMUM): Assume two's complement.
33298 (twos_complement_arithmetic): Verify that long_int and time_t
33299 are two's complement (or unsigned, in the latter case).
33300
03cf7fe3
PE
33301 mktime: check signed shifts on long_int and time_t, too
33302 * time/mktime.c (SHR): Check that shifts work as desired
33303 on the types long_int and time_t too, as SHR is used on
33304 such types.
33305
f04dfbc2
PE
33306 mktime: do not assume 'long' is wide enough
33307 * time/mktime.c (verify): Move decl up.
33308 (long_int): New type.
33309 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
33310 to remove assumption in the code that 'long' is wide enough to
33311 store year values. This assumption is not true on x32 and on
33312 some non-glibc platforms.
33313
62bdf9a6
PE
33314 mktime: merge wrapv change from gnulib
33315 * time/mktime.c (WRAPV): New macro.
33316 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
33317 (guess_time_tm, __mktime_internal): Do not assume that signed
33318 integer overflow wraps around; modern compilers generate code
33319 where this assumption is no longer valid.
33320
5e292e4f
L
333212012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33322
33323 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33324 Replace "jmp L(pseudo_end)" with "ret".
33325 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
33326 Likewise.
33327
8caf8c87
AJ
333282012-05-23 Andreas Jaeger <aj@suse.de>
33329
33330 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
33331 * sysdeps/unix/sysv/linux/poll.c: Remove file.
33332
1a09dc56
AJ
333332012-05-23 Andreas Jaeger <aj@suse.de>
33334 Maximilian Attems <max@stro.at>
33335
33336 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
33337 New macros.
33338
1c87aba0
L
333392012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33340
33341 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
33342 code so that pseudo_end is just ret and the stack pointer is
33343 correct also for static library in error case.
33344
40e45bd5
JM
333452012-05-23 Joseph Myers <joseph@codesourcery.com>
33346
c2670533
JM
33347 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
33348 move to syscalls.list.
33349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33353
40e45bd5
JM
33354 * manual/install.texi (Running make install): Do not mention Linux
33355 kernel version for which pt_chown is not needed.
33356 (Linux): Do not mention problems with nscd with 2.0 kernels.
33357 * INSTALL: Regenerated.
33358
be08eda5
AJ
333592012-05-23 Andreas Jaeger <aj@suse.de>
33360
33361 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
33362 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
33363 macro.
33364 * sysdeps/unix/sysv/linux/s390/bits/mman.h
33365 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33366 * sysdeps/unix/sysv/linux/sh/bits/mman.h
33367 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33368 * sysdeps/unix/sysv/linux/i386/bits/mman.h
33369 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33370 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
33371 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33372 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
33373 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33374 * sysdeps/unix/sysv/linux/bits/in.h
33375 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
33376
a6a056bb
RM
333772012-05-22 Roland McGrath <roland@hack.frob.com>
33378
33379 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
33380 (PREPARE_VERSION): Just use assert instead, it will be elided
33381 under [NDEBUG] anyway.
33382
c9009328
L
333832012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33384
33385 * sysdeps/unix/sysv/linux/Makefile: Include
33386 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 33387 (sysdep_routines): Remove sysctl.
c9009328
L
33388 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
33389 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
33390 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
33391 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
33392 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
33393
73338355
AJ
333942012-05-22 Andreas Jaeger <aj@suse.de>
33395
33396 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
33397 that pseudo_end is just ret and the stack pointer is correct also
33398 for static library in error case.
33399
d44638b0
PP
334002012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
33401
33402 [BZ #14122]
33403 * nss/nsswitch.c (defconfig_entries): New variable.
33404 (__nss_database_lookup): Don't leak defconfig entries.
33405 (nss_parse_service_list): Don't leak on error paths.
33406 (free_database_entries): New function.
33407 (free_defconfig): New function.
33408 (free_mem): Move common code to free_database_entries.
33409
31a39bd8
L
334102012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33411
da0331a8
L
33412 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
33413 Add arch_prctl.
33414 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
33415
31a39bd8
L
33416 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33417 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
33418 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
33419 New macro.
33420 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
33421 (INTERNAL_SYSCALL_TYPES): Likewise.
33422 (LOAD_ARGS_TYPES_[1-6]): Likewise.
33423 (LOAD_REGS_TYPES_[1-6]): Likewise.
33424 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
33425 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
33426
45470df3
AZ
334272012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33428
33429 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
33430 copysignl for GLIBC_2_0.
33431 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
33432 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
33433 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
33434 logbl for GLIBC_2_0.
33435 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33436 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33437
98a61bcb
L
334382012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33439
a4f6e481
L
33440 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
33441 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33442
f63d5db6
L
33443 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33444 Use "neg %eax".
33445
98a61bcb
L
33446 * time/mktime.c: Update copyright years.
33447
95770f14
PE
334482012-05-22 Paul Eggert <eggert@cs.ucla.edu>
33449
6226efbd
PE
33450 mktime: merge comment-quoting-style change from gnulib
33451 * time/mktime.c: Quote 'like this' in comments.
33452 The GNU coding standards suggest that we no longer quote `like this',
33453 as "`" and "'" are typically rendered asymmetrically nowadays.
33454 The typical gnulib style is to quote 'like this' when quoting
33455 code, and "like this" when quoting English.
33456
b99e4f78
PE
33457 * time/mktime.c (compile-command): Add "-I.".
33458
643e01e6
PE
33459 mktime: merge mktime-internal.h change from gnulib
33460 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
33461
2554247d
PE
33462 mktime: merge time_r change from gnulib
33463 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
33464
826dd0ab
PE
33465 mktime: merge DEBUG change from gnulib
33466 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
33467 case system <time.h> has a #define.
33468
bd83aabe
PE
33469 mktime: merge <sys/types.h> change from gnulib
33470 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
33471 since <time.t> is now guaranteed to define time_t.
33472
95770f14
PE
33473 mktime: merge HAVE_CONFIG_H change from gnulib
33474 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
33475
5e1a27a9
L
334762012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33477
0e44a77e
L
33478 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33479 Use "neg %eax".
33480
5e1a27a9
L
33481 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
33482 __rlim_t cast.
33483 (struct rusage): Use anonymous union to pad each field to
33484 __syscall_slong_t.
33485
46259bec
DM
334862012-05-21 David S. Miller <davem@davemloft.net>
33487
33488 * Makefules (o-iterator): Remove .s cases.
33489 (compile-command.s): Delete.
33490 (COMPILE.s): Delete.
33491 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
33492
59f0c22e
JM
334932012-05-21 Joseph Myers <joseph@codesourcery.com>
33494
33495 * configure.in (libc_cv_predef_stack_protector): Only consider
33496 "foobar" and "__stack_chk_fail" lines in libc_undefs.
33497 * configure: Regenerated.
33498
20c07380
L
334992012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33500
bbb3154b
L
33501 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33502 New macro. Use R*LP on int and pointer.
33503 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
33504 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
33505 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
33506 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
33507
20c07380
L
33508 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
33509 [__WORDSIZE_TIME64_COMPAT32] instead of
33510 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
33511 (struct utmp): Likewise.
33512 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
33513 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
33514 Renamed to ...
33515 (__WORDSIZE_TIME64_COMPAT32): This.
33516 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
33517 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
33518 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
33519 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
33520 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
33521 (__WORDSIZE_TIME64_COMPAT32): New macro.
33522
d8d1017e
AJ
335232012-05-21 Andreas Jaeger <aj@suse.de>
33524
33525 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
33526 only if [SHARED]. Add prototype for __wcschr_ia32.
33527
6c7fb145
RM
335282012-05-21 Roland McGrath <roland@hack.frob.com>
33529
33530 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
33531 of %rbp unmolested in the jmp_buf while mangling the low bits.
33532 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
33533 unmolested high bits of %rbp while demangling the low bits.
33534 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33535
66274218
AJ
335362012-05-21 Andreas Jaeger <aj@suse.de>
33537
07c58f8f
AJ
33538 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
33539 * sunrpc/svc_simple.c: Use it for registerrpc.
33540 * sunrpc/xcrypt.c: Use it for passwd2des.
33541
66274218
AJ
33542 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
33543
61f65140
L
335442012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33545
33546 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
33547 Don't define if [__SYSCALL_WORDSIZE != 32].
33548 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
33549 New macro.
33550
5fefb436
AJ
335512012-05-21 Bruno Haible <bruno@clisp.org>
33552 Andreas Jaeger <aj@suse.de>
33553
33554 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
33555 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
33556 inptr and inend for must_buffer_ch.
33557 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
33558 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
33559 * stdio-common/Makefile (tests): Remove bug15.
33560 (bug15-ENV): Remove macro.
33561 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
33562 anymore.
33563
d8e272ab
AJ
335642012-05-19 Andreas Jaeger <aj@suse.de>
33565 Roland McGrath <roland@hack.frob.com>
33566
33567 * manual/contrib.texi: Completely rewritten. It contains now an
33568 alphabetical list of contributors and their contributions.
33569
4a56a162
RH
335702012-05-21 Richard Henderson <rth@twiddle.net>
33571
33572 * misc/getauxval.c (__getauxval): Use unsigned long int.
33573 * misc/sys/auxv.h: Include <sys/cdefs.h>.
33574 (getauxval): Use unsigned long int.
33575
d024d23c
L
335762012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33577
33578 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33579
cbc00a03
RM
335802012-05-21 Roland McGrath <roland@hack.frob.com>
33581
33582 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
33583 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
33584 __alignof__ (long double).
33585
478143fa
AZ
335862012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33587
33588 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33589
c7683a6d
RH
335902012-05-20 Richard Henderson <rth@twiddle.net>
33591
33592 * misc/getauxval.c: New file.
33593 * misc/sys/auxv.h: New file.
33594 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
33595 (routines): Add getauxval.
33596 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
33597 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
33598 * elf/dl-sysdep.c (_dl_auxv): Remove.
33599 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
33600 * elf/dl-support.c (_dl_auxv): New variable.
33601 (_dl_aux_init): Initialize it.
33602 * manual/startup.texi (Auxiliary Vector): New node.
33603 * sysdeps/generic/bits/hwcap.h: New file.
33604 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
33605 * sysdeps/powerpc/sysdep.h: ... here. Include it.
33606 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
33607 * sysdeps/sparc/sysdep.h: ... here. Include it.
33608 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
33609 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
33610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33611 Update.
c7683a6d
RH
33612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
33613 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
33614 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
33615 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
33616 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33617 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33618 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
33619 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
33620
a6f1845d
AZ
336212012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33622
33623 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33624
cbcbe830
DM
336252012-05-19 David S. Miller <davem@davemloft.net>
33626
33627 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33628
e0b16cc2
JM
336292012-05-19 Joseph Myers <joseph@codesourcery.com>
33630
33631 [BZ #14123]
33632 * math/s_ccosh.c: Include <float.h>
33633 (__ccosh): Avoid internal overflow calculating sinh and cosh
33634 values before multiplying by sin and cos values.
33635 * math/s_ccoshf.c: Likewise.
33636 * math/s_ccoshl.c: Likewise.
33637 * math/s_csin.c: Likewise.
33638 * math/s_csinf.c: Likewise.
33639 * math/s_csinl.c: Likewise.
33640 * math/s_csinh.c: Likewise.
33641 * math/s_csinhf.c: Likewise.
33642 * math/s_csinhl.c: Likewise.
33643 * math/libm-test.inc (ccos_test): Add more tests.
33644 (ccosh_test): Likewise.
33645 (csin_test): Likewise.
33646 (csinh_test): Likewise.
33647 * sysdeps/i386/fpu/libm-test-ulps: Update.
33648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33649
6ad13e08
L
336502012-05-19 H.J. Lu <hongjiu.lu@intel.com>
33651
f66f0ce8
L
33652 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
33653 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
33654
6ad13e08
L
33655 * sysdeps/x86_64/x32/_itoa.h: Add comment.
33656
b1d072a7
JM
336572012-05-19 Joseph Myers <joseph@codesourcery.com>
33658
33659 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
33660 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
33661 * sysdeps/powerpc/soft-fp/Versions: Likewise.
33662 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
33663 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
33664 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
33665 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
33666 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
33667 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
33668 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
33669 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
33670 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
33671 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
33672 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
33673 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
33674 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
33675 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
33676 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
33677 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
33678 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
33679 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
33680 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
33681 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
33682 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
33683 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
33684 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
33685 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
33686 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
33687 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
33688 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
33689 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
33690
9eae47cb
AJ
336912012-05-18 Andreas Jaeger <aj@suse.de>
33692
33693 * csu/.gitignore: Delete.
33694
bb07f69f
L
336952012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33696
33697 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
33698 (timex): Use __syscall_slong_t.
33699
e6bdb741
AJ
337002012-05-18 Andreas Jaeger <aj@suse.de>
33701 Carlos O'Donell <carlos_odonell@mentor.com>
33702
33703 * manual/install.texi (Configuring and compiling): Update
33704 description about files modified in the source directory.
d6c33fda 33705 * INSTALL: Regenerated.
e6bdb741 33706
1b74487e
L
337072012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33708
33709 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
33710 value. Use "or" to set return value to -1.
33711 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
33712 negate return value.
33713
a88b64b9
TMQMF
337142012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33715
57f41c40
AS
33716 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
33717 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
33718 failure if the compiler has Graphite support disabled.
33719 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
33720 Likewise.
57f41c40
AS
33721 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
33722 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
33723 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
33724 Likewise.
33725
3707636e
L
337262012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33727
610b8622
L
33728 * sysdeps/x86_64/x32/_itoa.h: New file.
33729
7cd195df
L
33730 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
33731 getdents system call only if kernel and user dirents have the
33732 same d_ino and d_off.
33733
94b07d20
L
33734 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33735 LLONG_MAX != LONG_MAX.
33736 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33737 (_fitoa_word): Likewise.
33738
18298070
L
33739 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
33740 years.
33741 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
33742 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
33743 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
33744
553c7ea4
L
33745 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
33746 include <bits/wordsize.h>. Check __x86_64__ instead of
33747 __WORDSIZE.
33748 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
33749 if __x86_64__ is defined. Use anonymous union on fpstate.
33750
3707636e
L
33751 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
33752 anonymous union.
33753
b53ef01a
AS
337542012-05-18 Andreas Schwab <schwab@linux-m68k.org>
33755
37fb1dc0
AS
33756 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33757 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33758 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
33759 Refer to _rtld_local_ro instead of _rtld_global_ro.
33760 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
33761 Likewise.
33762 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
33763 Likewise.
33764 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
33765 Likewise.
33766 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
33767 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
33768 of _rtld_global, and rtld_progname instead of _dl_argv[0].
33769
b53ef01a
AS
33770 * sysdeps/powerpc/powerpc32/dl-machine.c
33771 (__elf_machine_runtime_setup) [PROF]: Don't reference
33772 _dl_prof_resolve.
33773
7a185db2
AJ
337742012-05-18 Andreas Jaeger <aj@suse.de>
33775
33776 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33777 function only available for GCCs before 3.4 since GCC 3.4
33778 introduced a builtin.
33779 (lrint): Likewise.
33780 (llrintf): Likewise.
33781 (llrint): Likewise.
33782 (fmaxf): Likewise.
33783 (fmax): Likewise.
33784 (fminf): Likewise.
33785 (fmin): Likewise.
33786 (rint): Likewise.
33787 (rintf): Likewise.
33788 (nearbyint): Likewise.
33789 (nearbyintf): Likewise.
33790 (ceil): Likewise.
33791 (ceilf): Likewise.
33792 (floor): Likewise.
33793 (floorf): Likewise.
33794
3e5aef87
L
337952012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33796
428bd707
L
33797 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
33798 on both fields and cast pointer to __syscall_ulong_t.
33799
3e5aef87
L
33800 * bits/types.h (__fsword_t): New type.
33801 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
33802 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
33803 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33804 (__FSWORD_T_TYPE): Likewise.
33805 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33806 (__FSWORD_T_TYPE): Likewise.
33807 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33808 (__FSWORD_T_TYPE): Likewise.
33809 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
33810 (__FSWORD_T_TYPE): Likewise.
33811 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
33812 __SWORD_TYPE with __fsword_t.
33813 (statfs64): Likewise.
33814
1ba7c3dc
DM
338152012-05-17 David S. Miller <davem@davemloft.net>
33816
33817 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
33818
59910343
AJ
338192012-05-17 Andreas Jaeger <aj@suse.de>
33820
33821 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
33822 warning.
33823
2e4c1e9e
L
338242012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33825
33826 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
33827
de7f5ce7
AJ
338282012-05-17 Andreas Jaeger <aj@suse.de>
33829
33830 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
33831 when it is used.
33832
286abc3d
CM
338332012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33834
33835 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
33836
477cc68e
L
338372012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33838
33839 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
33840 * sysdeps/x86_64/tst-mallocalign1.c: New file.
33841
1a0994f5
CD
338422012-05-17 Andreas Jaeger <aj@suse.de>
33843 Carlos O'Donell <carlos_odonell@mentor.com>
33844
33845 [BZ #14059]
33846 * sysdeps/x86_64/multiarch/init-arch.h
33847 (bit_YMM_Usable): Rename to...
33848 (bit_AVX_Usable): ... this.
33849 (bit_FMA4_Usable): New macro.
33850 (bit_XMM_state): New macro.
33851 (bit_YMM_state): New macro.
33852 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
33853 [__ASSEMBLER__] (index_AVX_Usable): ... this.
33854 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
33855 (CPUID_OSXSAVE): New macro.
33856 (CPUID_AVX): New macro.
33857 (CPUID_FMA4): New macro.
33858 (index_YMM_Usable): Rename to...
33859 (index_AVX_Usable): ... this.
33860 (HAS_AVX): Use HAS_ARCH_FEATURE.
33861 (HAS_FMA4): Likewise.
33862 (HAS_YMM_USABLE): Remove.
33863 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33864 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
33865 are present.
33866 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
33867 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
33868 * sysdeps/x86_64/multiarch/Makefile: Likewise.
33869 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
33870 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
33871
0af797de
CM
338722012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33873
33874 * math/libm-test.c: Support platforms without multiple rounding modes.
33875 * math/bug-nextafter.c: Support platforms without FP exceptions.
33876 * math/bug-nexttoward.c: Likewise.
33877 * math/test-fenv.c: Likewise.
33878 * math/test-misc.c: Likewise.
33879 * stdlib/bug-getcontext.c: Likewise.
33880
e39745ff
AJ
338812012-05-17 Andreas Jaeger <aj@suse.de>
33882
33883 * manual/examples/search.c (critter_cmp): Change signature to
33884 avoid warnings.
33885 * manual/string.texi (Collation Functions): Likewise.
33886
48970aba
L
338872012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33888
33889 * bits/types.h: Fold copyright years.
33890 * bits/typesizes.h: Likewise.
33891 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
33892 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33893 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
33894 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
33895 * time/time.h: Likewise.
33896
bedee953
PP
338972012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
33898
33899 [BZ #208]
33900 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
33901 in instead of returning them. Return void.
33902 (__libc_mallinfo): Accumulate over all arenas.
33903 (__malloc_stats): Adjust for change in int_mallinfo interface.
33904
61653dfb
RM
339052012-05-16 Roland McGrath <roland@hack.frob.com>
33906
30b99d79
RM
33907 [BZ #10375]
33908 * configure.in (NM): Add AC_CHECK_TOOL for it.
33909 (libc_extra_cflags): New substituted variable.
33910 Check for -fstack-protector being used implicitly.
33911 * configure: Regenerated.
33912 * config.make.in (config-extra-cflags): New variable,
33913 gets @libc_extra_cflags@.
33914 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
33915
61653dfb
RM
33916 [BZ #10375]
33917 * configure.in: Check for _FORTIFY_SOURCE being predefined.
33918 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
33919 * configure: Regenerated.
33920 * config.make.in (CPPUNDEFS): New substituted variable.
33921 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
33922 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
33923 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
33924
661768bb
L
339252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33926
33927 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
33928 (mq_attr): Use __syscall_slong_t.
33929
d4261567
L
339302012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33931
33932 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
33933 Check __x86_64__ instead of __WORDSIZE.
33934 (_STAT_VER_LINUX): Likewise.
33935 (stat): Check __x86_64__ instead of __WORDSIZE. Use
33936 __syscall_ulong_t and __syscall_slong_t.
33937 (stat64): Likewise.
33938
cf3ff365
L
339392012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33940
33941 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
33942
76cf3e4d
L
339432012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33944
33945 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
33946
a637753a
L
339472012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33948
33949 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
33950 __syscall_ulong_t.
33951
d5e05119
L
33952 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
33953 include <bits/wordsize.h>. Check __x86_64__ instead of
33954 __WORDSIZE.
33955 (greg_t): Use "__extension__ long long int" if __x86_64__ is
33956 defined.
33957 (mcontext_t): Replace "unsigned long" with "unsigned long long".
33958
f62ee380
L
33959 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
33960 include <bits/wordsize.h>. Check __x86_64__ instead of
33961 __WORDSIZE.
33962 (user_regs_struct): Use "__extension__ unsigned long long"
33963 instead of "unsigned long" if __x86_64__ is defined.
33964 (user): Likewise. Pad after pointer field if __ILP32__ is
33965 defined.
33966
4e124ced
JM
339672012-05-16 Joseph Myers <joseph@codesourcery.com>
33968
6a3951a0
JM
33969 * configure.in (makeinfo): Require version 4.5 or later. Allow
33970 versions 5 to 9.
33971 * configure: Regenerated.
33972 * manual/install.texi (texinfo): Increase version requirement to
33973 4.5 or later.
33974 * INSTALL: Regenerated.
33975
4e124ced
JM
33976 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
33977
953ca31a
L
339782012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33979
33980 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
33981
617aca05
L
33982 * sysdeps/x86_64/x32/ffs.c: New file.
33983
5762f7ae
L
33984 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
33985 __syscall_ulong_t.
33986 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
33987 defined. Use __syscall_ulong_t.
33988 (shminfo): Use __syscall_ulong_t.
33989 (shm_info): Likewise.
33990
a26b6856
L
33991 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
33992 __syscall_ulong_t.
33993
cb2b9ef7
L
33994 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
33995 <bits/wordsize.h>.
33996 (msgqnum_t): Use __syscall_ulong_t.
33997 (msglen_t): Likewise.
33998 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
33999 __syscall_ulong_t.
34000
34683bb0
L
34001 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
34002 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34003
84a68786
L
34004 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
34005
48baa5f1
L
34006 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
34007 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
34008
180be88b
L
34009 * sysvipc/sys/msg.h (msgbuf): Replace long int with
34010 __syscall_slong_t.
34011
5e90c8ad
L
34012 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
34013 include <bits/wordsize.h>. Check __x86_64__ instead of
34014 __WORDSIZE.
34015
23dfb58b
L
34016 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
34017 "unsigned long long int" if __x86_64__ is defined.
34018 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
34019
ce5d54b0
L
34020 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
34021 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34022 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
34023
13dc9eac
L
34024 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
34025 <stdint.h>.
34026 (GET_PC): Cast to uintptr_t first.
34027 (GET_FRAME): Likewise.
34028 (GET_STACK): Likewise.
34029
a7895d15
L
34030 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
34031 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
34032 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
34033 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
34034 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
34035 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
34036 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
34037 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
34038 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34039 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
34040 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
34041 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
34042 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34043 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
34044 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
34045 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
34046 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
34047 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
34048 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
34049 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
34050 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
34051 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
34052 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
34053 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
34054 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
34055 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
34056 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
34057 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
34058 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
34059
656416c9
AS
340602012-05-16 Andreas Schwab <schwab@linux-m68k.org>
34061
5bd66283
AS
34062 * Makerules (+depfiles): Also collect depfiles from .oS in
34063 $(extra-objs).
34064 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
34065 .oS, $(libnldbl-routines)).
34066
656416c9
AS
34067 * Makerules (native-compile-mkdep-flags): Define.
34068 * sunrpc/Makefile (extra-objs): Add $(addprefix
34069 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
34070 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
34071 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
34072 calling $(make-target-directory).
34073
a46f2169
L
340742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34075
34076 * bits/types.h (__snseconds_t): Removed.
34077 * time/time.h (struct timespec): Replace __snseconds_t with
34078 __syscall_slong_t.
34079 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
34080 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
34081 Likewise.
34082 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34083 (__SNSECONDS_T_TYPE): Likewise.
34084 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34085 (__SNSECONDS_T_TYPE): Likewise.
34086 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34087 (__SNSECONDS_T_TYPE): Likewise.
34088
6af6528b
L
340892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34090
34091 * sysdeps/mach/hurd/bits/typesizes.h
34092 (__SYSCALL_SLONG_TYPE): New macro.
34093 (__SYSCALL_ULONG_TYPE): Likewise.
34094
de986b56
L
340952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34096
34097 * bits/types.h (__syscall_slong_t): New type.
34098 (__syscall_ulong_t): Likewise.
34099
34100 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
34101 (__SYSCALL_ULONG_TYPE): Likewise.
34102 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34103 (__SYSCALL_SLONG_TYPE): Likewise.
34104 (__SYSCALL_ULONG_TYPE): Likewise.
34105 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34106 (__SYSCALL_SLONG_TYPE): Likewise.
34107 (__SYSCALL_ULONG_TYPE): Likewise.
34108 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34109 (__SYSCALL_SLONG_TYPE): Likewise.
34110 (__SYSCALL_ULONG_TYPE): Likewise.
34111
85736dc7
L
341122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34113
34114 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
34115 Add sigaltstack-offsets.sym.
34116 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
34117 <sigaltstack-offsets.h>.
34118 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
34119 longjmp_msg pointer.
34120 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
34121 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
34122 signal stack.
34123 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
34124
cc03b296
JM
341252012-05-15 Joseph Myers <joseph@codesourcery.com>
34126
a9538892
JM
34127 * elf/stackguard-macros.h: Remove file.
34128 * sysdeps/generic/stackguard-macros.h: New file.
34129 * sysdeps/i386/stackguard-macros.h: Likewise.
34130 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
34131 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
34132 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
34133 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
34134 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
34135 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
34136 * sysdeps/x86_64/stackguard-macros.h: Likewise.
34137 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
34138 <elf/stackguard-macros.h>.
34139
cc03b296
JM
34140 [BZ #14109]
34141 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
34142 __aligned__ in attribute.
34143 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
34144 (gregset_t): Likewise.
34145
93171016
L
341462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34147
34148 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
34149 * sysdeps/x86_64/64/Implies-after: Here. New file.
34150 * sysdeps/x86_64/x32/Implies-after: New file.
34151
d86813a0
L
341522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34153
34154 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
34155 and access return value for _dl_profile_fixup. Use R10_LP to
34156 load frame size.
34157
2953ec75
L
341582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34159
34160 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34161
3b550e9e
L
341622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34163
34164 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34165 * sysdeps/x86_64/x32/sysdep.h: New file.
34166
eda41706
L
341672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34168
34169 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34170 * sysdeps/x86_64/setjmp.S: Likewise.
34171
9ea01d93
AZ
341722012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34173
34174 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
34175 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
34176 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34177 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
34178 remove unused global constant.
34179
02a91938
CM
341802012-05-15 Chris Metcalf <cmetcalf@tilera.com>
34181
34182 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
34183 include of <not-cancel.h>.
34184
6540185f
RM
341852012-05-15 Roland McGrath <roland@hack.frob.com>
34186
34187 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
34188
509072a0
AJ
341892012-05-15 Jeff Law <law@redhat.com>
34190 Andreas Jaeger <aj@suse.de>
34191
34192 [BZ #13594]
34193 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
34194 out from...
34195 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
34196 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
34197 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
34198 code changing __hst_map_handle.map.
34199
ba75122d
RM
342002012-05-15 Roland McGrath <roland@hack.frob.com>
34201
34202 * configure.in (sysnames): Look for Implies-before and Implies-after
34203 files.
34204 * configure: Regenerated.
34205
890d8bd8
L
342062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34207
34208 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
34209 8-byte data alignment with LP_SIZE alignment.
34210
f6ee6623
L
342112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34212
34213 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
34214 into R10_LP.
34215
ea2626f6
L
342162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34217
34218 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
34219
085f715e
L
342202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34221
34222 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34223 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34224 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34225 Likewise.
34226 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34227
be8498fc
L
342282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34229
34230 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34231 (stackinfo_sub_sp): Likewise.
34232
70bc83b9
L
342332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34234
34235 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34236 RAX_LP.
34237
9bc0b730
L
342382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34239
34240 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34241 into R*_LP.
34242
6d2850e7
L
342432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34244
34245 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34246 sizes into R*_LP.
34247
3cb84561
L
342482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34249
34250 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34251
54e2ed81
L
342522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34253
34254 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34255 into R11_LP and load __x86_64_shared_cache_size_half into
34256 R8_LP.
34257
8a17f349
L
342582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34259
34260 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34261 R8_LP.
34262
777b1eea
AZ
342632012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34264
34265 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
34266 logb for POWER7.
34267 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
34268 logbf for POWER7.
34269 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
34270 logbl for POWER7.
34271 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
34272 powerpc32/power7/fpu/s_logb.c via #include.
34273 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
34274 powerpc32/power7/fpu/s_logbf.c via #include.
34275 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
34276 powerpc32/power7/fpu/s_logbl.c via #include.
34277
d20d4ac2
JM
342782012-05-15 Joseph Myers <joseph@codesourcery.com>
34279
34280 * README.libm: Remove file.
34281
6cdef1ab
L
342822012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34283
34284 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
34285 count for x32. Use R*_LP and omit operand-size suffix.
34286
0b254d8f
L
342872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34288
34289 * shlib-versions: Move x86_64-.*-linux.* entries to ...
34290 * sysdeps/x86_64/64/shlib-versions: Here. New file.
34291 * sysdeps/x86_64/x32/shlib-versions: New file.
34292
ceb809dc
RM
342932012-05-14 Roland McGrath <roland@hack.frob.com>
34294
34295 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
34296 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
34297 Use _dl_fatal_printf instead.
34298
37f1abd4
JM
342992012-05-14 Joseph Myers <joseph@codesourcery.com>
34300
34301 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
34302 set if not set by the user. Do not allow for being unset.
34303 * sysdeps/unix/sysv/linux/configure: Regenerated.
34304
11de3a33
L
343052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34306
34307 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
34308 the `q' suffix from lea and replace .quad with ASM_ADDR.
34309
e02f153a
L
343102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34311
34312 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
34313 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
34314 instead of $17.
34315 (PTR_DEMANGLE): Likewise.
34316
520ae0fd
L
343172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34318
34319 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
34320 (LP_OP): Likewise.
34321 (ASM_ADDR): Likewise.
34322 (RAX_LP): Likewise.
34323 (RBP_LP): Likewise.
34324 (RBX_LP): Likewise.
34325 (RCX_LP): Likewise.
34326 (RDI_LP): Likewise.
34327 (RSI_LP): Likewise.
34328 (RSP_LP): Likewise.
34329 (R8_LP): Likewise.
34330 (R9_LP): Likewise.
34331 (R10_LP): Likewise.
34332 (R10_LP): Likewise.
34333 (R11_LP): Likewise.
34334 (R12_LP): Likewise.
34335 (R13_LP): Likewise.
34336 (R14_LP): Likewise.
34337 (R15_LP): Likewise.
34338
b985be81
L
343392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34340
34341 * sysdeps/x86_64/x32/dl-machine.h: New file.
34342
6a4888ff
AJ
343432012-05-14 Andreas Jaeger <aj@suse.de>
34344
34345 * manual/Makefile (subdir): Remove export of subdir.
34346 (all): Remove target.
34347 (.PHONY): Remove all from list.
34348 (mkinstalldirs): Remove.
34349 (.PHONY): Remove installdirs from list.
34350 ($(inst_infodir)/libc.info): Use make-target-directory.
34351 (installdirs): Remove.
34352 (subdir_%): Remove.
34353 (glibc-targets): Remove.
34354 (lib): Remove.
34355 (stubs): Remove.
34356 ($(objpfx)stubs ../po/manual.pot): Remove.
34357 ($(objpfx)stamp%): Remove.
34358 (make-target-directory): Remove.
34359 (subdir_install): Remove.
34360 (routines): Remove.
34361 (aux): Remove.
34362 (sources): Remove.
34363 (objects): Remove.
34364 (headers): Remove.
34365
34366 [BZ #13750]
34367 * manual/.gitignore: Remove, it's not needed anymore.
34368 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
34369 all files in it.
34370 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
34371 directory.
34372 (texis): Renamed to $(objpfx)texis.
34373 (texis-path): New, contains path to generated files.
34374 (chapters.%): Use texis-path for complete path, add extra argument
34375 libc-texinfo.sh.
34376 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
34377 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
34378 (summary,texi, stamp-summary): Use complete path of
34379 files. Generate files in build dir.
34380 (dir-add.texi): Build in build dir.
34381 (libm-err.texi,stamp-libm-err): Likewise.
34382 (version.texi, stamp-version): Likewise.
34383 (.%c.texi): Likewise.
34384 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
34385 (mostlyclean): Remove target.
34386 (realclean): Remove target.
34387 (generated): Add new variable with contents from mostlyclean and
34388 realclean, remove entries duplicated in common-mostlyclean, add
34389 stamp-libm-err and stamp-version.
34390 (generated-dirs): Add libc directory.
34391 ($(inst_infodir)/libc.info): Install files from build dir.
34392
34393 * manual/install.texi (Configuring and compiling): Adjust since
34394 the info files are not part of the tar ball anymore.
34395
7ac77294
AJ
343962012-05-14 Andreas Jaeger <aj@suse.de>
34397
34398 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
34399 variable.
34400
ffb7875d
JM
344012012-05-14 Joseph Myers <joseph@codesourcery.com>
34402
34403 [BZ #13717]
34404 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34405 to 2.2.0 where earlier.
34406 * sysdeps/unix/sysv/linux/configure: Regenerated.
34407 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
34408 Remove conditional code.
34409 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
34410 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
34411 Remove conditional code.
34412 [!__NR_lchown]: Likewise.
34413 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34414 [__NR_lchown]: Likewise.
34415 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
34416 comment referencing __ASSUME_LCHOWN_SYSCALL.
34417 * sysdeps/unix/sysv/linux/i386/sigaction.c
34418 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34419 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34420 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
34421 Remove conditional code.
34422 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
34423 (__protocol_available): Remove #if 0 code.
34424 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
34425 conditional code.
34426 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
34427 * sysdeps/unix/sysv/linux/kernel-features.h
34428 (__ASSUME_GETCWD_SYSCALL): Don't define.
34429 (__ASSUME_REALTIME_SIGNALS): Likewise.
34430 (__ASSUME_PREAD_SYSCALL): Likewise.
34431 (__ASSUME_PWRITE_SYSCALL): Likewise.
34432 (__ASSUME_POLL_SYSCALL): Likewise.
34433 (__ASSUME_LCHOWN_SYSCALL): Likewise.
34434 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
34435 non-SPARC.
34436 (__ASSUME_SIOCGIFNAME): Don't define.
34437 (__ASSUME_MSG_NOSIGNAL): Likewise.
34438 (__ASSUME_SENDFILE): Define unconditionally.
34439 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
34440 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
34441 conditional code.
34442 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
34443 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
34444 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34445 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34446 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
34447 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34448 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
34450 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34451 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34453 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34454 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
34456 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34457 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
34459 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34460 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
34462 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34463 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34465 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34466 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
34468 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34469 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
34471 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34472 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34473 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
34474 Remove conditional code.
34475 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34476 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34477 Remove conditional code.
34478 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34479 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
34480 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
34481 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34482 Remove conditional code.
34483 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34484 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
34485 Remove conditional code.
34486 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34487 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
34488 Remove conditional code.
34489 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34490 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34491 Remove conditional code.
34492 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34493 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34494 Remove conditional code.
34495 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34496 * sysdeps/unix/sysv/linux/sh/pwrite64.c
34497 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34498 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34499 * sysdeps/unix/sysv/linux/sigaction.c
34500 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34501 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34502 * sysdeps/unix/sysv/linux/sigpending.c
34503 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34504 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34505 * sysdeps/unix/sysv/linux/sigprocmask.c
34506 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34507 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34508 * sysdeps/unix/sysv/linux/sigsuspend.c
34509 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34510 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34511 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34512 (__libc_missing_rt_sigs): Remove.
34513 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
34514 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
34515 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
34516 Remove conditional code.
34517 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
34518 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
34519 return 1.
34520 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
34521 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
34522 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
34523 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
34524
1bfb7291
AJ
345252012-05-14 Andreas Jaeger <aj@suse.de>
34526
caae5a81
AJ
34527 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
34528 it's not used in glibc.
34529 (__coshm1): Likewise.
34530 (__acosh1p): Likewise.
34531 (__sgn): Likewise.
34532
1bfb7291
AJ
34533 * manual/string.texi (Copying and Concatenation): Add missing
34534 variable in concat example.
34535 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34536
c044d724
L
345372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34538
144c5467 34539 [BZ #14103]
c044d724
L
34540 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
34541 __builtin_clzl with __builtin_clzll.
34542
2523c62b
L
345432012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34544
34545 [BZ #14104]
34546 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
34547 libc_freeres_ptr.
34548
d7bb4c42
LD
345492012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34550
34551 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
34552 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
34553 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
34554 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
34555
9dc4e1fb
MF
345562012-05-14 Mike Frysinger <vapier@gentoo.org>
34557
34558 * NEWS: Update ia64 info.
34559
c7df0112
AS
345602012-05-12 Andreas Schwab <schwab@linux-m68k.org>
34561
34562 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
34563 used as bcopy.
34564
dc70356c
TS
345652012-05-12 Thomas Schwinge <thomas@codesourcery.com>
34566
34567 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
34568 * sysdeps/unix/syscalls.list (dup3): Likewise.
34569 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
34570 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
34571
9fb1a21f
L
345722012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34573
34574 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
34575 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
34576
4822a2a5
L
345772012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34578
34579 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
34580 thread pointer.
34581 (TLS_IE): Use mov/add instead of movq/addq to load thread
34582 pointer.
34583 (TLS_GD_PREFIX): New.
34584 (TLS_GD): Use it.
34585
842b81d6
DM
345862012-05-11 David S. Miller <davem@davemloft.net>
34587
34588 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
34589 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
34590 (_FPU_SETCW): Likewise.
34591
1cf463cd
L
345922012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34593
34594 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
34595 is 32-byte aligned.
34596
60cc4a18
AS
345972012-05-11 Andreas Schwab <schwab@linux-m68k.org>
34598
34599 [BZ #11837]
34600 * iconvdata/gb18030.c: Update tables.
34601 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
34602 characters specially.
34603 (BODY for TO_LOOP): Add encoding of missing ranges.
34604
febb44a4
TS
346052012-05-11 Thomas Schwinge <thomas@codesourcery.com>
34606
34607 [BZ #13673]
34608 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
34609 * sysdeps/mach/hurd/dup3.c: Likewise.
34610 * sysdeps/mach/hurd/readlinkat.c: Likewise.
34611 * sysdeps/powerpc/memmove.c:: Likewise.
34612
0a10fb9e
L
346132012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34614
34615 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
34616 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
34617
df8a552f
L
346182012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34619
34620 * elf/elf.h (R_X86_64_RELATIVE64): New.
34621 (R_X86_64_NUM): Updated.
34622 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34623 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
34624 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
34625 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
34626 tst-quad1pie tst-quad2pie
34627 (modules-names): Add tst-quadmod1 tst-quadmod2.
34628 ($(objpfx)tst-quad1): New dependency.
34629 ($(objpfx)tst-quad2): Likewise.
34630 ($(objpfx)tst-quad1pie): Likewise.
34631 ($(objpfx)tst-quad2pie): Likewise.
34632 * sysdeps/x86_64/tst-quad1.c: New file.
34633 * sysdeps/x86_64/tst-quad1pie.c: New file.
34634 * sysdeps/x86_64/tst-quad2.c: Likewise.
34635 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
34636 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
34637 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
34638 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
34639 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
34640
f34d6f84
ST
346412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34642
f42d41d1
ST
34643 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
34644 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
34645 * streams/stropts.h (t_scalar_t): Define type.
34646
3c3571fc
ST
34647 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
34648 (_PATH_PRESERVE): Set to "/var/lib".
34649 (_PATH_RWHODIR): Set to "/var/spool/rwho".
34650
61f06bd3
ST
34651 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
34652 instead of int.
34653
918d4d71
ST
34654 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
34655 if __dir_mkfile succeeded.
34656
f34d6f84
ST
34657 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
34658 checking for _hurd_dtablesize. Unlock it right after having
34659 finished _hurd_dtable allocation.
34660
10589b4a
TS
346612012-05-10 Thomas Schwinge <thomas@schwinge.name>
34662
674cdbc7
TS
34663 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
34664 * sysdeps/mach/hurd/configure: Regenerated.
34665 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
34666 special-casing to...
34667 * sysdeps/gnu/configure.in: ... this new file.
34668 * sysdeps/unix/sysv/linux/configure: Regenerated.
34669 * sysdeps/gnu/configure: New generated file.
34670
8e41b99f
TS
34671 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
34672 for Linux: use nsec instead of usec, as well as:
34673 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
34674 members of type struct timespec.
34675 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
34676 New macros.
34677 (struct stat64): Likewise.
34678 (_STATBUF_ST_NSEC): New macro.
34679 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
34680
10589b4a
TS
34681 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34682 __strtoul_internal rather than strtoul.
34683
63643c85
PT
346842012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34685
34686 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
34687 and reject them.
34688
3faebe6a
ST
346892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34690
34691 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
34692 which preserves existing values.
34693 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
34694
c6474b07
PT
346952012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34696
34697 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
34698 TIMEOUT values. Return EINVAL for NFDS values either negative or
34699 greater than FD_SETSIZE.
34700
1043890b
ST
347012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34702
34703 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
34704 allocated, call __vm_protect to finish enabling the existing space, and
34705 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
34706 allocate the remainder.
34707
37ed8b9b
PT
347082012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34709
34710 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
34711 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
34712
db653660
ST
347132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34714
37ed8b9b
PT
34715 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
34716 sysdeps/mach/hurd/readlink.c.
b29d4053 34717
db653660
ST
34718 * posix/tst-sysconf.c (posix_options): Only use
34719 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
34720 _POSIX_SYNCHRONIZED_IO when they are defined
34721 * sysdeps/mach/hurd/bits/posix_opt.h:
34722 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
34723 (_XOPEN_REALTIME): Undefine macro.
34724 (_XOPEN_REALTIME_THREADS): Undefine macro.
34725 (_XOPEN_SHM): Undefine macro.
34726 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
34727 macro to -1.
34728 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
34729 macro to -1.
34730 (_POSIX_ASYNC_IO): Undefine macro.
34731 (_POSIX_PRIORITIZED_IO): Undefine macro.
34732 (_POSIX_SPIN_LOCKS): Define macro to -1.
34733
ee16e894
ST
34734 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
34735 SA_NODEFER, SA_RESETHAND.
34736 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
34737 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
34738 F_DUPFD_CLOEXEC.
34739
6103ae3b
TS
347402012-05-10 Thomas Schwinge <thomas@schwinge.name>
34741
34742 * elf/Makefile (pldd-modules): Define unconditionally.
34743
80b4e5f3
TS
347442012-05-10 Thomas Schwinge <thomas@schwinge.name>
34745
34746 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
34747
edadcbd6
ST
347482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34749
34750 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
34751 Return ENOENT when name is empty.
34752 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
34753
80694780
TS
347542012-05-10 Thomas Schwinge <thomas@schwinge.name>
34755
1792c087
TS
34756 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
34757
80694780
TS
34758 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
34759
6b645f0d
ST
347602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34761
80694780
TS
34762 Fix mlock in all cases except non-readable pages.
34763 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
34764 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 34765
6b645f0d
ST
34766 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
34767 (__mkdir): When path is `/', just fail with EEXIST.
34768 * sysdeps/mach/hurd/mkdirat.c: Likewise.
34769
e468f8a3
TS
347702012-05-10 Thomas Schwinge <thomas@schwinge.name>
34771
34772 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34773 <sys/uio.h> (for writev).
34774 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34775 and <sys/param.h> (for MIN).
34776
a4186cff
PT
347772012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34778
34779 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34780 REQUESTED_TIME. Properly set the remaining time and return EINTR
34781 if interrupted.
34782
510bbf14
TS
347832012-05-10 Thomas Schwinge <thomas@schwinge.name>
34784
34785 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34786 Depend on against $(link-rpcuserlibs).
34787
5d5722e8
ST
347882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34789
a4186cff
PT
34790 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34791 (__libc_stack_end): Do not use attribute_relro.
34792 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34793 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 34794 to libthread-provided value.
a4186cff
PT
34795 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
34796 attribute_relro.
5d5722e8 34797
37233df9
TS
347982012-05-10 Thomas Schwinge <thomas@schwinge.name>
34799
be971a2b
TS
34800 [BZ #3748]
34801 * bits/libc-lock.h (__libc_once_get): New macro.
34802 * sysdeps/mach/bits/libc-lock.h: Likewise.
34803 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
34804 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
34805 instead of using implementation details.
34806
37233df9
TS
34807 * libio/fileops.c: Unconditionally include <kernel-features.h>.
34808 * libio/freopen.c: Likewise.
34809 * libio/freopen64.c: Likewise.
34810 * misc/syslog.c: Likewise.
34811 * nscd/connections.c: Likewise.
34812 * nscd/netgroupcache.c: Likewise.
34813 * sysdeps/posix/getcwd.c: Likewise.
34814
38de94a5
RM
348152012-05-10 Roland McGrath <roland@hack.frob.com>
34816
34817 * math/w_ilogbf.c: Add #include <limits.h>.
34818
67530489
ST
348192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34820
a4186cff 34821 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
34822 path instead of returning without unlocking.
34823
67530489
ST
34824 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
34825 immediate-write ioctls.
34826 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
34827
5aa3a74a
TS
348282012-05-10 Thomas Schwinge <thomas@schwinge.name>
34829
18bad2ae
TS
34830 * sysdeps/mach/hurd/i386/init-first.c (init): Use
34831 __builtin_frame_address instead of making assumptions about the
34832 location of the return address relative to DATA. Force early load of
34833 the return address.
34834 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
34835 __builtin_frame_address.
34836
5aa3a74a
TS
34837 dup3 for GNU Hurd.
34838 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
34839 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
34840 implement dup3 and do some further code clean-ups.
34841 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
34842 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
34843
ecd0de9a
ST
348442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34845
cd9fa985
ST
34846 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
34847
a4186cff
PT
34848 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
34849 HURD_CRITICAL_END around holding _hurd_dtable_lock.
34850 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
34851 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
34852 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
34853 d->port.lock.
802ca5a5 34854
a4186cff
PT
34855 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
34856 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
34857 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 34858
bcf55240
TS
348592012-05-10 Thomas Schwinge <thomas@schwinge.name>
34860
6960eb42
TS
34861 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
34862 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
34863 definitions.
34864
eb43375f
TS
34865 accept4 for GNU Hurd.
34866 * include/sys/socket.h (__libc_accept4): New prototype.
34867 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
34868 to implement __libc_accept4.
34869 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
34870 __libc_accept4.
34871 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
34872
bcf55240
TS
34873 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
34874 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
34875 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
34876 signal-defines.sym.
34877
6178c55b
ST
348782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34879
a4186cff 34880 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 34881
6f080c2f
TS
348822012-05-10 Thomas Schwinge <thomas@schwinge.name>
34883
34884 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
34885 assertion on O_CLOEXEC flag.
34886 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
34887 * hurd/intern-fd.c: Likewise.
34888 * hurd/port2fd.c: Likewise.
34889
bcfe3a54
ST
348902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34891
34892 [BZ #3906]
34893 * bits/in.h (IPV6_PKTINFO): Define new macro.
34894 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
34895
89c9aa49
AZ
348962012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34897
34898 [BZ #13954]
34899 [BZ #13955]
34900 [BZ #13956]
34901 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
34902 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34903 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
34904 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34905 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34906 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34907 * math/libm-test.inc (logb_test) : Additional logb tests.
34908
021db4be
AJ
349092012-05-09 Andreas Schwab <schwab@linux-m68k.org>
34910 Andreas Jaeger <aj@suse.de>
34911
34912 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
34913 * configure: Regenerated.
34914 * config.h.in (LINK_OBSOLETE_RPC): New macro.
34915 * config.make.in (link-obsolete-rpc): New substituted variable.
34916 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
34917 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
34918 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34919 (shared-only-routines): Don't set it under [link-obsolete-rpc],
34920 so that libc.a contains the symbols.
34921 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34922 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
34923 * sunrpc/auth_none.c: Likewise.
34924 * sunrpc/auth_unix.c: Likewise.
34925 * sunrpc/authdes_prot.c: Likewise.
34926 * sunrpc/authuxprot.c: Likewise.
34927 * sunrpc/clnt_gen.c: Likewise.
34928 * sunrpc/clnt_perr.c: Likewise.
34929 * sunrpc/clnt_raw.c: Likewise.
34930 * sunrpc/clnt_simp.c: Likewise.
34931 * sunrpc/clnt_tcp.c: Likewise.
34932 * sunrpc/clnt_udp.c: Likewise.
34933 * sunrpc/clnt_unix.c: Likewise.
34934 * sunrpc/des_crypt.c: Likewise.
34935 * sunrpc/des_soft.c: Likewise.
34936 * sunrpc/get_myaddr.c: Likewise.
34937 * sunrpc/key_call.c: Likewise.
34938 * sunrpc/key_prot.c: Likewise.
34939 * sunrpc/netname.c: Likewise.
34940 * sunrpc/pm_getmaps.c: Likewise.
34941 * sunrpc/pm_getport.c: Likewise.
34942 * sunrpc/pmap_clnt.c: Likewise.
34943 * sunrpc/pmap_prot.c: Likewise.
34944 * sunrpc/pmap_prot2.c: Likewise.
34945 * sunrpc/pmap_rmt.c: Likewise.
34946 * sunrpc/publickey.c: Likewise.
34947 * sunrpc/rpc_cmsg.c: Likewise.
34948 * sunrpc/rpc_common.c: Likewise.
34949 * sunrpc/rpc_dtable.c: Likewise.
34950 * sunrpc/rpc_prot.c: Likewise.
34951 * sunrpc/rpc_thread.c: Likewise.
34952 * sunrpc/rtime.c: Likewise.
34953 * sunrpc/svc.c: Likewise.
34954 * sunrpc/svc_auth.c: Likewise.
34955 * sunrpc/svc_raw.c: Likewise.
34956 * sunrpc/svc_run.c: Likewise.
34957 * sunrpc/svc_tcp.c: Likewise.
34958 * sunrpc/svc_udp.c: Likewise.
34959 * sunrpc/svc_unix.c: Likewise.
34960 * sunrpc/svcauth_des.c: Likewise.
34961 * sunrpc/xcrypt.c: Likewise.
34962 * sunrpc/xdr.c: Likewise.
34963 * sunrpc/xdr_array.c: Likewise.
34964 * sunrpc/xdr_float.c: Likewise.
34965 * sunrpc/xdr_intXX_t.c: Likewise.
34966 * sunrpc/xdr_mem.c: Likewise.
34967 * sunrpc/xdr_rec.c: Likewise.
34968 * sunrpc/xdr_ref.c: Likewise.
34969 * sunrpc/xdr_sizeof.c: Likewise.
34970 * sunrpc/xdr_stdio.c: Likewise.
34971
b5c086a2
RM
349722012-05-10 Roland McGrath <roland@hack.frob.com>
34973
34974 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
34975 change. Update copyright years.
34976
6d74dd09
JM
349772012-05-10 Joseph Myers <joseph@codesourcery.com>
34978
34979 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
34980
28e72501
MK
349812012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
34982 Joseph Myers <joseph@codesourcery.com>
34983 Paul Pluzhnikov <ppluzhnikov@google.com>
34984
34985 [BZ #14012]
34986 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
34987 requiring rpcgen.
34988 [cross-compiling] (extra-libs): Likewise.
34989 [cross-compiling] (extra-libs-others): Likewise.
34990 [cross-compiling] (librpcsvc-routines): Likewise.
34991 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
34992 [cross-compiling] (omit-deps): Likewise.
34993 (sunrpc-CPPFLAGS): New variable.
34994 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
34995 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
34996 (cross-rpcgen-objs): New variable.
34997 (extra-objs): Append $(cross-rpcgen-objs).
34998 ($(cross-rpcgen-objs)): New rule.
34999 ($(objpfx)cross-rpcgen): Likewise.
35000 (rpcgen-cmd): Define to use $(built-program-file). Expand
35001 comment.
35002 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
35003 ($(objpfx)x%.stmp): Likewise.
35004 * sunrpc/proto.h [IS_IN_build] (_): Define.
35005 [IS_IN_build] (_libc_intl_domainname): Likewise.
35006
c8c59454
L
350072012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35008
35009 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
35010 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
35011 and R_X86_64_TPOFF64.
35012
6f27cd16
JM
350132012-05-10 Joseph Myers <joseph@codesourcery.com>
35014
35015 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
35016 sysdeps/unix/sysv/syscalls.list.
35017 (stime): Likewise.
35018 (utime): Likewise.
35019 * sysdeps/unix/sysv/syscalls.list: Remove file.
35020
02467e1c
PE
350212012-05-10 Paul Eggert <eggert@cs.ucla.edu>
35022
35023 [BZ #3440]
35024 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
35025 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
35026 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
35027 (__LC_IDENTIFICATION): Make these macros useful in #if
35028 expressions, as required by C99.
35029
da392631
AS
350302012-05-10 Andreas Schwab <schwab@linux-m68k.org>
35031
35032 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
35033 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
35034 after this.
35035
8115f29b
L
350362012-05-09 H.J. Lu <hongjiu.lu@intel.com>
35037
35038 * stdlib/longlong.h: Updated from GCC.
35039
bdd74070
AJ
350402012-05-09 Andreas Jaeger <aj@suse.de>
35041
edfe0dbe
AJ
35042 * nscd/nscd.c (run_modes): Make named enum, reorder so that
35043 default is first entry.
35044 (run_mode): Set type.
35045 (main): Remove informal message about syslog.
35046 (options): Fix typo.
35047
bcfe3a54
ST
35048 [BZ #14053]
35049 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 35050 to asm.
bcfe3a54
ST
35051 (lrint): Likewise.
35052 (llrintf): Likewise.
35053 (llrint): Likewise.
35054 (rint): Likewise.
35055 (rintf): Likewise.
35056 (nearbyint): Likewise.
35057 (nearbyintf): Likewise.
bdd74070 35058
91d8d69e
AJ
350592012-05-09 Andreas Jaeger <aj@suse.de>
35060 Pedro Alves <palves@redhat.com>
35061
35062 * nscd/nscd.c (run_mode): Use enum.
35063 (main): Cleanup coding style issue.
35064
bb90b80b
AJ
350652012-05-09 Alexandre Oliva <aoliva@redhat.com>
35066 Andreas Jaeger <aj@suse.de>
35067
bcfe3a54
ST
35068 * nscd/nscd.c (go_background): Replaced with...
35069 (run_mode): ... this.
bb90b80b 35070 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
35071 (options): Add -F --foreground.
35072 (main): Implement it.
35073 (parse_opt): Parse it.
bb90b80b 35074
1a4b75a1
AJ
350752012-05-09 Andreas Jaeger <aj@suse.de>
35076
35077 [BZ #14083]
35078 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
35079 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
35080 -Wconversion warning.
35081 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
35082 Likewise.
35083
b1cc2472
JM
350842012-05-09 Joseph Myers <joseph@codesourcery.com>
35085
35086 * conform/data/locale.h-data (NULL): Use macro-constant. Require
35087 == 0.
35088 (LC_ALL): Use macro-int-constant.
35089 (LC_COLLATE): Likewise.
35090 (LC_CTYPE): Likewise.
35091 (LC_MESSAGES): Likewise.
35092 (LC_MONETARY): Likewise.
35093 (LC_NUMERIC): Likewise.
35094 (LC_TIME): Likewise.
35095 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
35096 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35097 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35098 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
35099 Specify type.
35100 [C99-based standards] (float_t): Expect type.
35101 [C99-based standards] (double_t): Expect type.
35102 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
35103 type.
35104 [C99-based standards] (HUGE_VALL): Likewise.
35105 [C99-based standards] (INFINITY): Likewise.
35106 [C99-based standards] (NAN): Likewise.
35107 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
35108 [C99-based standards] (FP_NAN): Likewise.
35109 [C99-based standards] (FP_NORMAL): Likewise.
35110 [C99-based standards] (FP_SUBNORMAL): Likewise.
35111 [C99-based standards] (FP_ZERO): Likewise.
35112 [C99-based standards] (FP_FAST_FMA): Use
35113 optional-macro-int-constant. Specify type. Require == 1.
35114 [C99-based standards] (FP_FAST_FMAF): Likewise.
35115 [C99-based standards] (FP_FAST_FMAL): Likewise.
35116 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
35117 [C99-based standards] (FP_ILOGBNAN): Likewise.
35118 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
35119 Specify type.
35120 [C99-based standards] (MATH_ERREXCEPT): Likewise.
35121 [C99-based standards] (math_errhandling): Specify type.
35122 [ISO99 || ISO11] (signgam): Do not allow.
35123 [non-C99-based standards] (copysignf): Do not allow.
35124 [non-C99-based standards] (exp2f): Likewise.
35125 [non-C99-based standards] (log2f): Likewise.
35126 [non-C99-based standards] (modff): Allow.
35127 [non-C99-based standards] (erff): Do not allow.
35128 [non-C99-based standards] (erfcf): Likewise.
35129 [non-C99-based standards] (gammaf): Likewise.
35130 [non-C99-based standards] (hypotf): Likewise.
35131 [non-C99-based standards] (j0f): Likewise.
35132 [non-C99-based standards] (j1f): Likewise.
35133 [non-C99-based standards] (jnf): Likewise.
35134 [non-C99-based standards] (lgammaf): Likewise.
35135 [non-C99-based standards] (tgammaf): Likewise.
35136 [non-C99-based standards] (y0f): Likewise.
35137 [non-C99-based standards] (y1f): Likewise.
35138 [non-C99-based standards] (ynf): Likewise.
35139 [non-C99-based standards] (isnanf): Likewise.
35140 [non-C99-based standards] (acoshf): Likewise.
35141 [non-C99-based standards] (asinhf): Likewise.
35142 [non-C99-based standards] (atanhf): Likewise.
35143 [non-C99-based standards] (cbrtf): Likewise.
35144 [non-C99-based standards] (expm1f): Likewise.
35145 [non-C99-based standards] (ilogbf): Likewise.
35146 [non-C99-based standards] (log1pf): Likewise.
35147 [non-C99-based standards] (logbf): Likewise.
35148 [non-C99-based standards] (nextafterf): Likewise.
35149 [non-C99-based standards] (remainderf): Likewise.
35150 [non-C99-based standards] (rintf): Likewise.
35151 [non-C99-based standards] (scalbf): Likewise.
35152 [non-C99-based standards] (copysignl): Likewise.
35153 [non-C99-based standards] (exp2l): Likewise.
35154 [non-C99-based standards] (log2l): Likewise.
35155 [non-C99-based standards] (modfl): Allow.
35156 [non-C99-based standards] (erfl): Do not allow.
35157 [non-C99-based standards] (erfcl): Likewise.
35158 [non-C99-based standards] (gammal): Likewise.
35159 [non-C99-based standards] (hypotl): Likewise.
35160 [non-C99-based standards] (j0l): Likewise.
35161 [non-C99-based standards] (j1l): Likewise.
35162 [non-C99-based standards] (jnl): Likewise.
35163 [non-C99-based standards] (lgammal): Likewise.
35164 [non-C99-based standards] (tgammal): Likewise.
35165 [non-C99-based standards] (y0l): Likewise.
35166 [non-C99-based standards] (y1l): Likewise.
35167 [non-C99-based standards] (ynl): Likewise.
35168 [non-C99-based standards] (isnanl): Likewise.
35169 [non-C99-based standards] (acoshl): Likewise.
35170 [non-C99-based standards] (asinhl): Likewise.
35171 [non-C99-based standards] (atanhl): Likewise.
35172 [non-C99-based standards] (cbrtl): Likewise.
35173 [non-C99-based standards] (expm1l): Likewise.
35174 [non-C99-based standards] (ilogbl): Likewise.
35175 [non-C99-based standards] (log1pl): Likewise.
35176 [non-C99-based standards] (logbl): Likewise.
35177 [non-C99-based standards] (nextafterl): Likewise.
35178 [non-C99-based standards] (remainderl): Likewise.
35179 [non-C99-based standards] (rintl): Likewise.
35180 [non-C99-based standards] (scalbl): Likewise.
35181 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35182 [non-C99-based standards] (FP_*): Do not allow.
35183 [C99-based standards] (FP_*): Change to
35184 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35185 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35186 allow.
35187 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
35188 (SIG_ERR): Likewise.
35189 [X/Open-based standards] (SIG_HOLD): Likewise.
35190 (SIG_IGN): Likewise.
35191 (SIGABRT): Use macro-int-constant. Specify type. Require
35192 positive value.
35193 (SIGFPE): Likewise.
35194 (SIGILL): Likewise.
35195 (SIGINT): Likewise.
35196 (SIGSEGV): Likewise.
35197 (SIGTER): Likewise.
35198 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
35199 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
35200 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
35201 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
35202 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
35203 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
35204 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
35205 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
35206 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
35207 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
35208 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
35209 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
35210 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
35211 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
35212 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
35213 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
35214 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
35215 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
35216 [X/Open-based standards] (SIGTRAP): Likewise.
35217 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
35218 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
35219 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
35220 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
35221 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35222 allow.
35223
b9f1922d
IW
352242012-05-08 Ian Wienand <ianw@vmware.com>
35225
35226 [BZ #14080]
35227 * time/tzset.c (__tzset_parse_tz): Update default rules for
35228 daylight time changes in the Energy Policy Act of 2005.
35229
1db86e88
AJ
352302012-05-09 Andreas Jaeger <aj@suse.de>
35231
35232 [BZ #13983]
35233 * elf/ldconfig.c (parse_conf): Change string to make clear that
35234 ldconfig only issued a warning if ld.so.conf does not exist.
35235
dee4a4e3
DM
352362012-05-08 David S. Miller <davem@davemloft.net>
35237
ee0db190
DM
35238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35239 movxtod instead of popping the value on the stack.
35240
dee4a4e3
DM
35241 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35242
6a43ec98
CD
352432012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
35244
35245 * config.h.in: Add HAVE_ARM_PCS_VFP.
35246
05c2c961
RMG
352472012-05-08 Roland Mc Grath <roland@hack.frob.com>
35248
bcfe3a54
ST
35249 [BZ #13979]
35250 * include/features.h: Warn if user requests __FORTIFY_SOURCE
35251 checking but the checks are disabled for any reason.
05c2c961 35252
4b30f61a
L
352532012-05-08 H.J. Lu <hongjiu.lu@intel.com>
35254
35255 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35256 and ELF64_R_TYPE with ELFW(R_TYPE).
35257
eee2bc67
JM
352582012-05-08 Joseph Myers <joseph@codesourcery.com>
35259
7ea5391a
JM
35260 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35261 (ulimit): Likewise.
35262
eee2bc67
JM
35263 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35264 (settimeofday): Likewise.
35265
abb66a67
MF
352662012-05-08 Mike Frysinger <vapier@gentoo.org>
35267
35268 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
35269 a struct th_u2 inside the union, and move tu_block/tu_code into
35270 a new th_u3 union of tu_block/tu_code inside of that. Move
35271 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
35272 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
35273 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
35274 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
35275 (th_stuff): Change to th_u1.tu_stuff.
35276 (th_data): Define.
35277 (th_msg): Change to th_u1.th_u2.tu_data.
35278
7f18b530
DM
352792012-05-07 David S. Miller <davem@davemloft.net>
35280
05760585
DM
35281 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35282
7f18b530
DM
35283 [BZ #14074]
35284 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
35285 (SETUP_PIC_REG): Use it.
35286 (SETUP_PIC_REG_LEAF): Use it.
35287
495fd99f
JM
352882012-05-07 Joseph Myers <joseph@codesourcery.com>
35289
35290 [BZ #13885]
35291 [BZ #13923]
35292 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35293 USE_AS_EXPM1L.
35294 (EXPL_FINITE): Likewise.
35295 (FLDLOG): Likewise.
35296 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35297 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35298 e_expl.S.
35299 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35300 USE_AS_EXPM1L.
35301 (EXPL_FINITE): Likewise.
35302 (FLDLOG): Likewise.
35303 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35304 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35305 e_expl.S.
35306 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
35307 test of -max_value argument for long double.
35308 * sysdeps/i386/fpu/libm-test-ulps: Update.
35309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35310
6693d694
DM
353112012-05-06 David S. Miller <davem@davemloft.net>
35312
35313 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
35314 quad soft-float symbols whose references which are compiler
35315 generated.
35316 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35317
6c23e11c
JM
353182012-05-06 Joseph Myers <joseph@codesourcery.com>
35319
d8b82cad
JM
35320 [BZ #13884]
35321 [BZ #13914]
35322 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35323 USE_AS_EXP10L.
35324 (EXPL_FINITE): Likewise.
35325 (FLDLOG): Likewise.
35326 (c0): Likewise.
35327 (c1): Likewise.
35328 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35329 Adjust comments for base varying.
35330 (__expl_finite): Change alias to EXPL_FINITE.
35331 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
35332 e_expl.S.
35333 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
35334 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35335 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35336 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
35337 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35338 USE_AS_EXP10L.
35339 (EXPL_FINITE): Likewise.
35340 (FLDLOG): Likewise.
35341 (c0): Likewise.
35342 (c1): Likewise.
35343 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35344 Adjust comments for base varying.
35345 (__expl_finite): Change alias to EXPL_FINITE.
35346 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
35347 tests for bugs.
35348 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35349
6c23e11c
JM
35350 [BZ #14064]
35351 * math/libm-test.inc (check_float_internal): Correct ulp
35352 calculation for subnormal expected results.
35353
29ba805c
AJ
353542012-05-06 Andreas Jaeger <aj@suse.de>
35355
35356 * Makeconfig (+math-flags): New, set to -frounding-math.
35357 (+cflags): Add +math-flags so that all of glibc gets compiled with
35358 it.
35359
35360 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
35361
7b17aeda
JM
353622012-05-05 Joseph Myers <joseph@codesourcery.com>
35363
5779f134
JM
35364 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
35365 Disable one test.
35366
41498f4d
JM
35367 [BZ #13787]
35368 [BZ #13922]
35369 [BZ #14036]
35370 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
35371 (__ieee754_expl): Allow for and saturate large arguments.
35372 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
35373 (u_threshold): Likewise.
35374 (__exp): Call __ieee754_exp before checking for overflow and
35375 underflow.
35376 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
35377 (u_threshold): Likewise.
35378 (__expf): Call __ieee754_expf before checking for overflow and
35379 underflow.
35380 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
35381 (u_threshold): Likewise.
35382 (__expl): Call __ieee754_expl before checking for overflow and
35383 underflow.
35384 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
35385 (__ieee754_expl): Allow for and saturate large arguments.
35386 * math/libm-test.inc (exp_test): Add another test. Do not allow
35387 missing overflow exception on overflow.
35388 (expm1_test): Do not allow missing overflow exception on overflow.
35389
6698b8bf
JM
35390 * sysdeps/i386/fpu/e_expl.c: Move to ...
35391 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
35392 rather than using inline asm.
35393 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
35394 * sysdeps/x86_64/fpu/e_expl.S: Copy from
35395 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
35396
7b17aeda
JM
35397 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
35398 (nice): Likewise.
35399 (poll): Likewise.
35400 (signal): Likewise.
35401 (time): Likewise.
35402 (times): Likewise.
35403
f7c85819
JM
354042012-05-04 Joseph Myers <joseph@codesourcery.com>
35405
35406 * sysdeps/unix/syscalls.list (adjtime): Add entry from
35407 sysdeps/unix/common/syscalls.list.
35408 (fchmod): Likewise.
35409 (fchown): Likewise.
35410 (ftruncate): Likewise.
35411 (getrusage): Likewise.
35412 (gettimeofday): Likewise.
35413 (setpgid): Likewise.
35414 (setregid): Likewise.
35415 (setreuid): Likewise.
35416 (sigaction): Likewise.
35417 (truncate): Likewise.
35418 (vhangup): Likewise.
35419 * sysdeps/unix/common/syscalls.list: Remove file.
35420 * sysdeps/unix/bsd/Implies: Don't include unix/common.
35421 * sysdeps/unix/sysv/linux/Implies: Likewise.
35422
336270d0
L
354232012-05-04 H.J. Lu <hongjiu.lu@intel.com>
35424
35425 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
35426 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
35427 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
35428 Moved to ...
35429 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35430 Here.
35431 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
35432 to ...
35433 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
35434 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
35435 to ...
35436 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
35437 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
35438 to ...
35439 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
35440 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
35441 to ...
35442 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
35443 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
35444 to ...
35445 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
35446 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
35447 to ...
35448 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
35449 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
35450 to ...
35451 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
35452 Here.
35453 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
35454 to ...
35455 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
35456 Here.
35457 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
35458 to ...
35459 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
35460 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
35461 Moved to ...
35462 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
35463 Here.
35464 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
35465 to ...
35466 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
35467
d128e450
JM
354682012-05-04 Joseph Myers <joseph@codesourcery.com>
35469
fa8ee516
JM
35470 * sysdeps/unix/common/bits/dirent.h: Remove file.
35471 * sysdeps/unix/common/bits/fcntl.h: Likewise.
35472
d128e450
JM
35473 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
35474 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
35475 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
35476 * sysdeps/unix/bsd/isatty.c: Likewise.
35477 * sysdeps/unix/bsd/tcdrain.c: Likewise.
35478 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
35479 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
35480
ff8faaf0 354812012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 35482
62881be4 35483 [BZ #13563]
31dc8730
AZ
35484 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
35485 long double comparison inaccuracies.
35486 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35487 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35488
6fef930c
AS
354892012-05-04 Andreas Schwab <schwab@linux-m68k.org>
35490
35491 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
35492 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
35493
8f203e6c
JM
354942012-05-04 Joseph Myers <joseph@codesourcery.com>
35495
35496 [BZ #14049]
35497 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
35498 nonzero digits before rounding a hex value.
35499 * stdlib/tst-strtod.c (tests): Add another test.
35500
5197d9c2
AK
355012012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35502
35503 * sysdeps/s390/fpu/libm-test-ulps: Update.
35504
f0c1dedf
AJ
355052012-05-03 Andreas Jaeger <aj@suse.de>
35506
35507 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
35508 does not get optimized out.
35509 (malloc_opt_barrier): New.
35510
a65ef2ae 355112012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 35512 Roland McGrath <roland@hack.frob.com>
a65ef2ae 35513
2b942cb7 35514 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 35515 intermediate file deletion.
2b942cb7 35516 (generated): Add .symlist files.
a65ef2ae 35517
54b71e02
JM
355182012-05-03 Joseph Myers <joseph@codesourcery.com>
35519
35520 [BZ #13775]
35521 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
35522 Redirect under this condition.
35523 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35524 [__USE_GNU] (__dprintf_chk): Not under this condition.
35525 [__USE_GNU] (__vdprintf_chk): Likewise.
35526 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
35527 under this condition.
35528 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35529 [__USE_XOPEN2K8] (dprintf): Define under this condition.
35530 [__USE_XOPEN2K8] (vdprintf): Likewise.
35531 [__USE_GNU] (__dprintf_chk): Not under this condition.
35532 [__USE_GNU] (__vdprintf_chk): Likewise.
35533 [__USE_GNU] (dprintf): Likewise.
35534 [__USE_GNU] (vdprintf): Likewise.
35535
d3dfcc41
RM
355362012-05-03 Roland McGrath <roland@hack.frob.com>
35537
35538 * elf/Makefile (common-generated): Set this instead of generated for
35539 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
35540 $(all-built-dso)-derived lists.
35541
7ac30cc5
AJ
355422012-05-03 Andreas Jaeger <aj@suse.de>
35543
0c51e550
AJ
35544 * sysdeps/i386/fpu/libm-test-ulps: Update.
35545
7ac30cc5
AJ
35546 * FAQ: Removed.
35547 * FAQ.in: Likewise.
35548 * scripts/gen-FAQ.pl: Likewise.
35549 * manual/install.texi (Installation): Point to online location of
35550 FAQ.
35551 * Makefile (files-for-dist): Remove FAQ.
35552 (FAQ): Remove.
35553
d4c2917f
AM
355542012-05-02 Allan McRae <allan@archlinux.org>
35555
35556 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
35557 (LDFLAGS-reldepmod5.so): Likewise.
35558 (LDFLAGS-reldep6mod1.so): Likewise.
35559 (LDFLAGS-reldep6mod4.so): Likewise.
35560 (LDFLAGS-reldep8mod3.so): Likewise.
35561 (LDFLAGS-unload4mod1.so): Likewise.
35562 (LDFLAGS-unload4mod2.so): Likewise.
35563 (LDFLAGS-tst-initorder): Likewise.
35564 (LDFLAGS-tst-initordera2.so): Likewise.
35565 (LDFLAGS-tst-initordera3.so): Likewise.
35566 (LDFLAGS-tst-initordera4.so): Likewise.
35567 (LDFLAGS-tst-initorderb2.so): Likewise.
35568 (LDFLAGS-noload): Likewise.
35569 (LDFLAGS-next): Likewise.
35570 (LDFLAGS-order2mod1.so): Likewise.
35571 (LDFLAGS-order2mod2.so): Likewise.
35572 (LDFLAGS-tst-initorder2): Likewise.
35573 (LDFLAGS-tst-initorder2a.so): Likewise.
35574 (LDFLAGS-tst-initorder2b.so): Likewise.
35575 (LDFLAGS-tst-initorder2c.so): Likewise.
35576 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
35577
d77f993f
DM
355782012-05-02 David S. Miller <davem@davemloft.net>
35579
35580 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35581
171a70b4
PP
355822012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
35583
35584 [BZ #14055]
35585 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
35586
0be196ad
AJ
355872012-05-02 Andreas Jaeger <aj@suse.de>
35588
35589 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
35590 since we manipulate rounding mode.
35591 (CPPFLAGS-test-idouble.c): Likewise.
35592 (CPPFLAGS-test-ifloat.c): Likewise.
35593 (CFLAGS-test-ldouble.c): Likewise.
35594 (CFLAGS-test-double.c): Likewise.
35595 (CFLAGS-test-float.c): Likewise.
35596 (CFLAGS-test-misc.c): Likewise.
35597 (CFLAGS-test-test-fenv.c): Likewise.
35598
4f9d04aa
AZ
355992012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35600
2b942cb7
RM
35601 [BZ #2550]
35602 [BZ #2570]
35603 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
35604 comparisons to determine direction to adjust input.
4f9d04aa 35605
82a79e7d
RM
356062012-05-01 Roland McGrath <roland@hack.frob.com>
35607
f5a01ca9
RM
35608 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
35609 output to the target.
35610
90fe4186
RM
35611 * scripts/localplt.awk: New file.
35612 * elf/Makefile ($(objpfx)check-localplt): Target removed.
35613 (check-localplt-CFLAGS): Variable removed.
35614 ($(all-built-dso:=.jmprel)): New static pattern rule.
35615 (generated): Add those targets.
35616 (localplt-built-dso): New variable.
35617 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
35618
35619 * elf/check-localplt.c: File removed.
35620
82397ed6
RM
35621 * scripts/check-execstack.awk: New file.
35622 * elf/Makefile ($(objpfx)check-execstack): Target removed.
35623 (check-execstack-CFLAGS): Variable removed.
35624 ($(objpfx)check-execstack.h): Target removed.
35625 ($(objpfx)execstack-default): New target.
35626 (generated): Add that instead of check-execstack.h.
35627 ($(all-built-dso:=.phdr)): New static pattern rule.
35628 (generated): Add those targets.
35629 * elf/check-execstack.c: File removed.
35630
82a79e7d
RM
35631 * scripts/check-textrel.awk: New file.
35632 * elf/Makefile ($(objpfx)check-textrel): Target removed.
35633 (check-textrel-CFLAGS): Variable removed.
35634 (all-built-dso): Use := to define.o
35635 ($(all-built-dso:=.dyn)): New static pattern rule.
35636 (generated): Add those targets.
35637 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
35638 * config.make.in (READELF): New substituted variable.
35639 * elf/check-textrel.c: File removed.
35640
62fde54f 356412012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 35642
615605c9
JM
35643 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35644 allow.
35645 * conform/data/ctype.h-data [C99-based standards] (isblank):
35646 Expect function.
35647 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
35648 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
35649 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35650 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
35651 Specify type. Require positive value.
35652 (EILSEQ): Likewise.
35653 (ERANGE): Likewise.
35654 [ISO || POSIX] (EILSEQ): Do not expect.
35655 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
35656 Specify type. Require positive value.
35657 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
35658 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
35659 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
35660 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
35661 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
35662 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
35663 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
35664 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
35665 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
35666 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
35667 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
35668 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
35669 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
35670 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
35671 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
35672 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
35673 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
35674 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
35675 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
35676 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
35677 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
35678 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
35679 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
35680 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
35681 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
35682 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
35683 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
35684 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
35685 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
35686 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
35687 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
35688 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
35689 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
35690 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
35691 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
35692 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
35693 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
35694 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
35695 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
35696 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
35697 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
35698 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
35699 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
35700 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
35701 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
35702 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
35703 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
35704 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
35705 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
35706 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
35707 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
35708 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
35709 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
35710 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
35711 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
35712 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
35713 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
35714 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
35715 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
35716 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
35717 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
35718 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
35719 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
35720 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
35721 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
35722 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
35723 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
35724 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
35725 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
35726 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
35727 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
35728 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
35729 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
35730 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
35731 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
35732 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
35733 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
35734 Require >= 2.
35735 (FLT_ROUNDS): Expect as macro, not constant.
35736 (FLT_MANT_DIG): Use macro-int-constant.
35737 (DBL_MANT_DIG): Likewise.
35738 (LDBL_MANT_DIG): Likewise.
35739 (FLT_DIG): Likewise.
35740 (DBL_DIG): Likewise.
35741 (LDBL_DIG): Likewise.
35742 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
35743 (DBL_MIN_EXP): Likewise.
35744 (LDBL_MIN_EXP): Likewise.
35745 (FLT_MAX_EXP): Use macro-int-constant.
35746 (DBL_MAX_EXP): Likewise.
35747 (LDBL_MAX_EXP): Likewise.
35748 (FLT_MAX_10_EXP): Likewise.
35749 (DBL_MAX_10_EXP): Likewise.
35750 (LDBL_MAX_10_EXP): Likewise.
35751 (FLT_MAX): Use macro-constant.
35752 (DBL_MAX): Likewise.
35753 (LDBL_MAX): Likewise.
35754 (FLT_EPSILON): Use macro-constant. Give upper bound.
35755 (DBL_EPSILON): Likewise.
35756 (LDBL_EPSILON): Likewise.
35757 (FLT_MIN): Likewise.
35758 (DBL_MIN): Likewise.
35759 (LDBL_MIN): Likewise.
35760 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
35761 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
35762 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
35763 [ISO11] (FLT_HAS_SUBNORM): Likewise.
35764 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
35765 [ISO11] (DBL_DECIMAL_DIG): Likewise.
35766 [ISO11] (FLT_DECIMAL_DIG): Likewise.
35767 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
35768 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
35769 [ISO11] (FLT_TRUE_MIN): Likewise.
35770 [ISO11] (LDBL_TRUE_MIN): Likewise.
35771 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35772 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35773 (SCHAR_MIN): Use macro-int-constant. Specify type.
35774 (SCHAR_MAX): Likewise.
35775 (UCHAR_MAX): Likewise.
35776 (CHAR_MIN): Likewise.
35777 (CHAR_MAX): Likewise.
35778 (MB_LEN_MAX): Use macro-int-constant.
35779 (SHRT_MIN): Use macro-int-constant. Specify type.
35780 (SHRT_MAX): Likewise.
35781 (USHRT_MAX): Likewise.
35782 (INT_MAX): Likewise.
35783 (INT_MIN): Use macro-int-constant. Specify type. Make upper
35784 bound negative.
35785 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
35786 bound with "U".
35787 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35788 bound with "L".
35789 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
35790 bound negative. Suffix upper bound with "L".
35791 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35792 bound with "UL".
35793 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35794 Specify type.
35795 [C99-based standards] (LLONG_MAX): Likewise.
35796 [C99-based standards] (ULLONG_MAX): Likewise.
35797 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
35798 == 0.
35799 [ISO11] (max_align_t): Require type.
35800 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35801
c9140a62
JM
35802 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
35803 from $CFLAGS, without defining away __attribute__ calls.
35804 (checknamespace): Use $CFLAGS_namespace.
35805
9af0bf29
JM
35806 * conform/conformtest.pl (@keywords): Only include C99 keywords
35807 for standards based on C99 or C11.
35808
343222a2
JM
35809 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
35810 Disable tests.
35811 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
35812 UNIX98]: Likewise.
35813
661f8cf0
JM
35814 * conform/conformtest.pl: Handle "macro-int-constant" and test for
35815 usability of symbols in #if.
35816
ee74b9cb
JM
35817 * conform/conformtest.pl: If macro or constant types start
35818 "promoted:", expect the symbol to be of the following type
35819 promoted by the integer promotions.
62fde54f 35820
aafc49b3
JM
35821 * conform/conformtest.pl: Parse all "constant" and "macro" lines
35822 in one place. Also handle "macro-constant".
35823
fefdf574
JM
35824 * conform/conformtest.pl: Only accept expected macro values with
35825 "==". Parse all "macro" lines in one place.
35826 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
35827
f2d922fe
JM
35828 * conform/conformtest.pl: Handle braced types on "constant" lines
35829 instead of handling "typed-constant".
35830 * conform/data/signal.h-data: Use "constant" instead of
35831 "typed-constant".
35832
d22956c9
JM
35833 * conform/conformtest.pl: Handle "optional-" at start of lines in
35834 one place rather than duplicating several cases. Handle each
35835 format of "macro" line with initial "optional-".
35836
028e2e38
JM
35837 * conform/conformtest.pl: Only accept expected constant or
35838 optional-constant values with "==". Parse all "constant" lines in
35839 one place. Parse all "optional-constant" lines in one place.
35840 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
35841 * conform/data/fmtmsg.h-data: Likewise.
35842 * conform/data/netinet/in.h-data: Likewise.
35843 * conform/data/tar.h-data: Likewise.
35844 * conform/data/limits.h-data: Use "==" form on "constant" and
35845 "optional-constant" lines.
35846
1b8f2850
JM
35847 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
35848 Use -std=c99 for XOPEN2K.
35849 (@knownproblems): Remove.
35850 (newtoken): Don't check %isknown.
35851
a05a144b
JM
35852 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
35853 Do not expect macro.
35854 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
35855 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
35856 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
35857 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
35858 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
35859 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
35860 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
35861 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
35862 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
35863 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
35864 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
35865 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
35866 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
35867 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
35868 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
35869 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
35870 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
35871 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
35872 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
35873 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
35874 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
35875 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
35876 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
35877 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
35878 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
35879 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
35880 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
35881 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
35882 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
35883 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
35884 [XPG3] (acosh): Likewise.
35885 [XPG3] (asinh): Likewise.
35886 [XPG3] (atanh): Likewise.
35887 [XPG3] (cbrt): Likewise.
35888 [XPG3] (expm1): Likewise.
35889 [XPG3] (ilogb): Likewise.
35890 [XPG3] (log1p): Likewise.
35891 [XPG3] (logb): Likewise.
35892 [XPG3] (nextafter): Likewise.
35893 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
35894 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
35895 [XPG3] (remainder): Likewise.
35896 [XPG3] (rint): Likewise.
35897 [XPG3 || XPG4 || UNIX98] (round): Likewise.
35898 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
35899 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
35900 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
35901 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
35902 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
35903 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
35904 [UNIX98 || XOPEN2K] (scalb): Expect.
35905 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
35906 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
35907 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
35908 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
35909 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
35910 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
35911 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
35912 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
35913 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
35914 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
35915 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
35916 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
35917 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
35918 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
35919 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
35920 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
35921 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
35922 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
35923 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
35924 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
35925 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
35926 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
35927 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
35928 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
35929 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
35930 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
35931 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
35932 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
35933 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
35934 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
35935 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
35936 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
35937 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
35938 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
35939 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
35940 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
35941 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
35942 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
35943 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
35944 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
35945 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
35946 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
35947 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
35948 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
35949 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
35950 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
35951 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
35952 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
35953 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
35954 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
35955 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
35956 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
35957 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
35958 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
35959 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
35960 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
35961 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
35962 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
35963 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
35964 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
35965 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
35966 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
35967 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
35968 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
35969 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
35970 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
35971 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
35972 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
35973 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
35974 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
35975 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
35976 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
35977 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
35978 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
35979 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
35980 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
35981 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
35982 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
35983 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
35984 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
35985 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
35986 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
35987 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
35988 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
35989 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
35990 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
35991 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
35992 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
35993 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
35994 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
35995 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
35996 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
35997 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
35998 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
35999 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
36000 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
36001 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
36002 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
36003 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
36004 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
36005 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
36006 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
36007 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
36008 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
36009 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
36010 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
36011 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
36012 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
36013 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
36014 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
36015 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
36016 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
36017 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
36018 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
36019 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
36020 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
36021 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
36022 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
36023 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
36024 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
36025 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
36026 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
36027 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
36028 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
36029 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
36030 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
36031 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
36032 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
36033 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
36034 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
36035 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
36036 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
36037 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
36038 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
36039 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
36040 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
36041 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
36042
73c5ebe3
JM
36043 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
36044 _XOPEN_SOURCE_EXTENDED for XPG4.
36045
39c33b6c
JM
36046 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
36047
62fde54f
JM
36048 * Makeconfig (localtime): Remove variable.
36049 (inst_localtime-file): Likewise.
36050
0741d64c
AS
360512012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36052
36053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36054 Update.
36055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36056 Update.
36057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36058 Update.
36059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36060 Update.
36061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36062 Update.
36063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
36064 Update.
36065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36066 Update.
36067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
36068 Update.
36069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36070 Update.
36071
7cb029ee
JM
360722012-05-01 Joseph Myers <joseph@codesourcery.com>
36073
36074 [BZ #2550]
36075 [BZ #2570]
36076 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
36077 comparisons to determine direction to adjust input.
36078 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36079 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
36080 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36081 Likewise.
36082 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36083 Likewise.
36084 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36085 Likewise.
36086 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36087 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36088 Likewise.
36089 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36090 Likewise.
36091 * math/libm-test.inc (nexttoward_test): Add more tests.
36092
412bd966
AS
360932012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36094
36095 [BZ #14040]
36096 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
36097 in version GLIBC_2.1, not GLIBC_2.0.
36098 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
36099 Likewise.
36100
9568c0c2
JM
361012012-04-30 Joseph Myers <joseph@codesourcery.com>
36102
adfbc8ac
JM
36103 [BZ #13942]
36104 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
36105 (1 - x) * (1 + x).
36106 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36107 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
36108 * math/libm-test.inc (acos_test): Add more tests.
36109 (asin_test): Likewise.
36110 * sysdeps/i386/fpu/libm-test-ulps: Update.
36111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36112
5ba3cc69
JM
36113 [BZ #14034]
36114 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
36115 of square root.
36116 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
36117 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36118 * math/libm-test.inc (acos_test_tonearest): New function.
36119 (acos_test_towardzero): Likewise.
36120 (acos_test_downward): Likewise.
36121 (acos_test_upward): Likewise.
36122 (asin_test_tonearest): Likewise.
36123 (asin_test_towardzero): Likewise.
36124 (asin_test_downward): Likewise.
36125 (asin_test_upward): Likewise.
36126 (main): Call the new functions.
36127 * sysdeps/i386/fpu/libm-test-ulps: Update.
36128 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36129
9568c0c2
JM
36130 [BZ #13884]
36131 [BZ #13924]
36132 * math/e_exp10.c: Include <float.h>.
36133 (__ieee754_exp10): Handle underflow here rather than multiplying
36134 large negative argument by M_LN10.
36135 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
36136 of __ieee754_expf.
36137 * math/e_exp10l.c: Include <float.h>.
36138 (__ieee754_exp10l): Handle underflow here rather than multiplying
36139 large negative argument by M_LN10l.
36140 * math/libm-test.inc (exp10_test): Add another test. Do not allow
36141 spurious overflow exception on underflow.
36142
5ac3ea17
MP
361432012-04-29 Marek Polacek <polacek@redhat.com>
36144
36145 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
36146 (__fortify_function): New macro.
36147 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
36148 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
36149 __extern_always_inline.
36150 * libio/bits/stdio2.h: Likewise.
36151 * libio/bits/stdio.h: Likewise.
36152 * string/string.h: Likewise.
36153 * string/bits/string3.h: Likewise.
36154 * include/stdio.h: Likewise.
36155 * stdlib/bits/stdlib.h: Likewise.
36156 * stdlib/stdlib.h: Likewise.
36157 * rt/bits/mqueue2.h: Likewise.
36158 * rt/mqueue.h: Likewise.
36159 * posix/bits/unistd.h: Likewise.
36160 * posix/unistd.h: Likewise.
36161 * io/bits/poll2.h: Likewise.
36162 * io/bits/fcntl2.h: Likewise.
36163 * io/fcntl.h: Likewise.
36164 * io/sys/poll.h: Likewise.
36165 * misc/bits/syslog.h: Likewise.
36166 * misc/bits/syslog-ldbl.h: Likewise.
36167 * misc/sys/syslog.h: Likewise.
36168 * socket/bits/socket2.h: Likewise.
36169 * socket/sys/socket.h: Likewise.
36170 * debug/tst-chk1.c: Likewise.
36171 * wcsmbs/bits/wchar2.h: Likewise.
36172 * wcsmbs/bits/wchar-ldbl.h: Likewise.
36173 * wcsmbs/wchar.h: Likewise.
36174
ecf0ebfb
AJ
361752012-04-29 Andreas Jaeger <aj@suse.de>
36176
36177 * Makerules (tests): Remove enable-check-abi protection.
36178 (check-abi-warn): Remove.
36179 (check-abi-%): Remove check-abi-warn usage.
36180
36181 * configure.in: Remove check-abi configure option.
36182 * configure: Regenerated.
36183 * config.make.in (enable-check-abi): Remove.
36184
6d5c57fa
AS
361852012-04-28 Andreas Schwab <schwab@linux-m68k.org>
36186
24c5d07e 36187 [BZ #14033]
ded5180a
AS
36188 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
36189 double functions to double *_finite functions.
36190
7e0d315d
AS
36191 [BZ #13941]
36192 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
36193 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
36194 LDBL_MIN_EXP.
36195 * stdio-common/Makefile (tests): Add tst-sprintf3.
36196 * stdio-common/tst-sprintf3.c: New file.
36197
6d5c57fa
AS
36198 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
36199 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
36200
0749ff8b
JM
362012012-04-28 Joseph Myers <joseph@codesourcery.com>
36202
36203 * conform/conformtest.pl: Remove duplicate typed-constant
36204 handling.
36205
8dbd5d7b
DM
362062012-04-28 David S. Miller <davem@davemloft.net>
36207
36208 * Makerules (%.abilist): Add vpath on sysdep_dirs.
36209 (check-abi-%): Remove AWK script prerequisite and explicit
36210 abilist directory.
36211 (check-abi): Rewrite to just diff the symlist with the abilist.
36212 (config-tls, config-abi-config): Delete, no longer used.
36213 (update-abi-%): Remove AWK script and explicit abilist directory.
36214 (update-abi): Rewrite to simply compare and conditionally copy the
36215 symlist and the sysdep abilist file. Remove update-abi-config
36216 checks.
36217 * abilist/ld.abilist: Remove.
36218 * abilist/libBrokenLocale.abilist: Remove.
36219 * abilist/libanl.abilist: Remove.
36220 * abilist/libcrypt.abilist: Remove.
36221 * abilist/libdl.abilist: Remove.
36222 * abilist/librt.abilist: Remove.
36223 * abilist/libthread_db.abilist: Remove.
36224 * abilist/libutil.abilist: Remove.
36225 * scripts/extract-abilist.awk: Remove.
36226 * scripts/merge-abilist.awk: Remove.
36227 * sysdeps/generic/libcidn.abilist: New file.
36228 * sysdeps/generic/libnss_compat.abilist: New file.
36229 * sysdeps/generic/libnss_db.abilist: New file.
36230 * sysdeps/generic/libnss_dns.abilist: New file.
36231 * sysdeps/generic/libnss_files.abilist: New file.
36232 * sysdeps/generic/libnss_hesiod.abilist: New file.
36233 * sysdeps/generic/libnss_nis.abilist: New file.
36234 * sysdeps/generic/libnss_nisplus.abilist: New file.
36235 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36236 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36237 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36238 file.
36239 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36240 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36241 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36242 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36243 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36244 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36245 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36246 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36247 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36248 file.
36249 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36250 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36251 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36252 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36253 file.
36254 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36255 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36256 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36257 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36258 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36259 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36260 file.
36261 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36262 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36263 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
36264 file.
36265 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
36266 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
36267 New file.
36268 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
36269 New file.
36270 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
36271 New file.
36272 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
36273 New file.
36274 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
36275 New file.
36276 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
36277 New file.
36278 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
36279 New file.
36280 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
36281 New file.
36282 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
36283 New file.
36284 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
36285 New file.
36286 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
36287 New file.
36288 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
36289 New file.
36290 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
36291 New file.
36292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
36293 file.
36294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36295 New file.
36296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36297 New file.
36298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
36299 file.
36300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36301 New file.
36302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36303 New file.
36304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
36305 file.
36306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36307 New file.
36308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36309 New file.
36310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36311 New file.
36312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36313 New file.
36314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36315 New file.
36316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36317 New file.
36318 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
36319 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
36320 file.
36321 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36322 New file.
36323 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
36324 file.
36325 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
36326 file.
36327 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
36328 file.
36329 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
36330 file.
36331 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
36332 file.
36333 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36334 New file.
36335 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
36336 file.
36337 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
36338 file.
36339 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
36340 New file.
36341 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
36342 file.
36343 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
36344 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
36345 file.
36346 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
36347 New file.
36348 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
36349 file.
36350 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
36351 file.
36352 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
36353 file.
36354 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
36355 file.
36356 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
36357 file.
36358 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36359 New file.
36360 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
36361 file.
36362 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
36363 file.
36364 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
36365 New file.
36366 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
36367 file.
36368 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36369 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
36370 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
36371 file.
36372 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
36373 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
36374 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
36375 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
36376 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
36377 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
36378 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
36379 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
36380 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
36381 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
36382 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
36383 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
36384 file.
36385 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36386 New file.
36387 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
36388 file.
36389 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
36390 file.
36391 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
36392 file.
36393 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
36394 file.
36395 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
36396 file.
36397 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36398 New file.
36399 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36400 New file.
36401 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
36402 file.
36403 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36404 New file.
36405 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
36406 file.
36407 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
36408 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
36409 file.
36410 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36411 New file.
36412 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
36413 file.
36414 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
36415 file.
36416 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
36417 file.
36418 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
36419 file.
36420 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
36421 file.
36422 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36423 New file.
36424 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36425 New file.
36426 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
36427 file.
36428 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36429 New file.
36430 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
36431 file.
36432
41d73a1b
JM
364332012-04-28 Joseph Myers <joseph@codesourcery.com>
36434
36435 * conform/conformtest.pl: Fix typo in handling typed-constant from
36436 allow-header.
36437
28aeeda4
JM
364382012-04-27 Joseph Myers <joseph@codesourcery.com>
36439
adae8f5e
JM
36440 * README: Cut down references to pre-2.6 Linux kernels and
36441 Linuxthreads. Update lists of configurations in libc and ports
36442 and sort alphabetically. Say "or newer" with Linux kernel version
36443 requirements.
36444
28aeeda4
JM
36445 * config.h.in [IS_IN_build]: Allow compiling without optimization.
36446
a462cb63
RA
364472012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
36448
36449 [BZ #887]
36450 * math/libm-test.inc (logb_test_downward): New test to expose
36451 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
36452 rounding mode.
36453
6ad3493e
JM
364542012-04-27 Joseph Myers <joseph@codesourcery.com>
36455
36456 [BZ #14027]
36457 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
36458 to be done.
36459 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
36460 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
36461
2ce4f015
JM
364622012-04-26 Joseph Myers <joseph@codesourcery.com>
36463
5aeb141a
JM
36464 * sysdeps/unix/i386/brk.S: Remove file.
36465 * sysdeps/unix/i386/dl-brk.S: Likewise.
36466 * sysdeps/unix/i386/pipe.S: Likewise.
36467 * sysdeps/unix/i386/sigreturn.S: Likewise.
36468 * sysdeps/unix/i386/syscall.S: Likewise.
36469 * sysdeps/unix/i386/vfork.S: Likewise.
36470 * sysdeps/unix/i386/wait.S: Likewise.
36471
7143acae
JM
36472 * sysdeps/unix/common/tcsendbrk.c: Move to ...
36473 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
36474
2ce4f015
JM
36475 * configure.in (arm*-none*): Do not allow without
36476 --enable-hacker-mode.
36477 (netbsd*): Remove case setting base_os.
36478 (386bsd*): Likewise.
36479 (freebsd*): Likewise.
36480 (bsdi*): Likewise.
36481 (osf*): Likewise.
36482 (sunos*): Likewise.
36483 (ultrix*): Likewise.
36484 (newsos*): Likewise.
36485 (dynix*): Likewise.
36486 (*bsd*): Likewise.
36487 (sysv*): Likewise.
36488 (isc*): Likewise.
36489 (esix*): Likewise.
36490 (sco*): Likewise.
36491 (minix*): Likewise.
36492 (irix4*): Likewise.
36493 (irix6*): Likewise.
36494 (solaris[2-9]*): Likewise.
36495 (none): Likewise.
36496 * configure: Regenerated.
36497
0ac229c8
AZ
364982012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36499
36500 [BZ #11521]
36501 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
36502 overflow or cancellation in calculating denominator.
36503 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
36504 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
36505 down expression to avoid unexpected rounding in newer GCCs.
36506 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
36507
33f244f4
DM
365082012-04-26 David S. Miller <davem@davemloft.net>
36509
36510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
36511 long-double compat symbols.
36512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
36516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
36518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
36519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
36520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
36521 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36522 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
36523 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
36524 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36525
cfa1f3e8
DM
365262012-04-25 David S. Miller <davem@davemloft.net>
36527
36528 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
36529 HWCAP_* values only after the memory barriers have been defined.
36530 (atomic_full_barrier): Define.
36531 (atomic_read_barrier): Define.
36532 (atomic_write_barrier): Define.
36533
6e236b92
SP
365342012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36535
36536 * shlib-versions: Add libgcc_s version information.
36537 * sysdeps/generic/libgcc_s.h: Remove.
36538 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
36539 libgcc_s.h.
36540 * sysdeps/gnu/unwind-resume.c: Likewise.
36541 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
36542
aab39a09
DM
365432012-04-25 David S. Miller <davem@davemloft.net>
36544
36545 * sysdeps/unix/sparc/brk.S: Delete.
36546 * sysdeps/unix/sparc/dl-brk.S: Delete.
36547 * sysdeps/unix/sparc/pipe.S: Delete.
36548 * sysdeps/unix/sparc/sysdep.S: Delete.
36549 * sysdeps/unix/sparc/sysdep.h: Delete.
36550 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
36551 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
36552 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
36553 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
36554 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
36555 (JUMPTARGET): Remove.
36556 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
36557 sysdeps/unix/sparc/sysdep.h
36558 (ENTRY, END): Remove.
36559 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36560
a3cc4f48
JM
365612012-04-25 Joseph Myers <joseph@codesourcery.com>
36562
2ed8cda2
JM
36563 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
36564 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
36565 -DIS_IN_build.
36566
35d76d59
JM
36567 * timezone/README: Update upstream location and email address for
36568 tzcode and tzdata.
36569 * timezone/zdump.c: Update from tzcode 2012b.
36570 * timezone/zic.c: Likewise.
36571
a3cc4f48
JM
36572 * configure.in (libc_cv_as_needed): Remove test.
36573 * configure: Regenerated.
36574 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
36575 conditional definition.
36576 [$(have-as-needed) != yes] (no-as-needed): Likewise.
36577 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
36578 * config.make.in (have-as-needed): Remove variable.
36579
ceab42c3
SP
365802012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36581 Paul Pluzhnikov <ppluzhnikov@google.com>
36582
36583 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
36584 strings correctly.
36585
3ce2865f
CLT
365862012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
36587
36588 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
36589 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
36590 * sysdeps/sh/strlen.S: Likewise.
36591
f37e0d68
JM
365922012-04-24 Joseph Myers <joseph@codesourcery.com>
36593
ae186e9a
JM
36594 * sysdeps/unix/fork.S: Remove file.
36595 * sysdeps/unix/i386/fork.S: Likewise.
36596 * sysdeps/unix/sparc/fork.S: Likewise.
36597
b96914af
JM
36598 * sysdeps/unix/system.c: Remove file.
36599 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
36600
f37e0d68
JM
36601 * sysdeps/unix/getegid.S: Remove file.
36602 * sysdeps/unix/geteuid.S: Likewise.
36603
87ef29ca
RM
366042012-04-24 Roland McGrath <roland@hack.frob.com>
36605
83bcd236
RM
36606 * scripts/check-localplt.awk: New file.
36607 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
36608 of diff.
36609 * scripts/data/localplt-generic.data: Add a comment.
36610
87ef29ca
RM
36611 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
36612 NODE when __dir_mkfile failed.
36613 * sysdeps/mach/hurd/symlinkat.c: Likewise.
36614 Reported by Ludovic Courtès <ludo@gnu.org>.
36615
e5a6e567
AJ
366162012-04-24 Andreas Jaeger <aj@suse.de>
36617
36618 * Makerules (common-clean): Also remove gen-as-const-headers
36619 files.
36620
c1820385
JM
366212012-04-24 Joseph Myers <joseph@codesourcery.com>
36622
36623 * Makerules (native-compile): Do not change working directory for
36624 build. Use $(OUTPUT_OPTION) in command.
36625 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
36626
94e02fc4
AZ
366272012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36628
36629 [BZ #13886]
36630 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
36631 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
36632 * math/libm-test.inc (floor_test): Add more tests.
36633 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
36634
3a533ca3
JM
366352012-04-24 Joseph Myers <joseph@codesourcery.com>
36636
940ab4b3
JM
36637 * sysdeps/unix/getdents.c: Remove file.
36638 * sysdeps/unix/sysv/getdents.c: Likewise.
36639 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
36640
90e037bd
JM
36641 * sysdeps/unix/syscalls.list (madvise): Add syscall from
36642 sysdeps/unix/mman/syscalls.list.
36643 (mmap): Likewise.
36644 (mprotect): Likewise.
36645 (msync): Likewise.
36646 (munmap): Likewise.
36647 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
36648 * sysdeps/unix/mman/syscalls.list: Remove.
36649 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
36650
3a533ca3
JM
36651 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
36652 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
36653 * configure: Regenerated.
36654 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
36655 $(libgcc_s_suffix).
36656 * config.make.in (libgcc_s_suffix): Remove variable.
36657
1ad743de
JM
366582012-04-23 Joseph Myers <joseph@codesourcery.com>
36659
4ad451e2
JM
36660 * sysdeps/unix/sysv/gethostname.c: Move to ...
36661 * sysdeps/posix/gethostname.c: ... here.
36662
5e37ce39
JM
36663 * sysdeps/unix/execve.S: Remove file.
36664
1ad743de
JM
36665 * sysdeps/unix/_exit.S: Remove file.
36666
4e681b5b
AJ
366672012-04-23 Andreas Jaeger <aj@suse.de>
36668
36669 [BZ #13739]
36670 * manual/Makefile: Remove make dist support, there's no
36671 need for a stand-alone documentation tar ball.
36672 (TEXI2DVI): Define always, it's not in Makeconfig.
36673 (dist): Removed.
36674 (tar-it): Removed.
36675 (edition): Removed.
36676 (glibc-doc-$(edition).tar): Removed
36677 (%.Z): Removed.
36678 (%.gz): Removed.
36679 (%.uu): Removed.
36680 (ETAGS): Remove, it's in Makeconfig.
36681 (move-if-change): Remove, it's in Makeconfig.
36682
38686a03 366832012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
36684
36685 [BZ #13970]
36686 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
36687 (strtod, strtof, strtold, strtol, strtoul, strtoq)
36688 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
36689 (strtod_l, strtof_l, strtold_l): Remove __wur.
36690 It is not necessarily an error to ignore strtol's return value.
36691 One can reliably look at the stored endptr to decide whether
36692 the number had valid syntax.
36693
7c0616fa
AJ
366942012-04-21 Andreas Jaeger <aj@suse.de>
36695
803cb6b7 36696 [BZ #13739]
7c0616fa
AJ
36697 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
36698
b0fe253f
JM
366992012-04-21 Joseph Myers <joseph@codesourcery.com>
36700
36701 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
36702 * sysdeps/unix/sysv/Versions: Remove file.
36703
8280f22d
MT
367042012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
36705
36706 [BZ #13927]
36707 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36708
75ce411f 367092012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
36710
36711 [BZ #7064]
36712 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
36713 version from __vm86.
36714
097d59fa
JM
367152012-04-20 Joseph Myers <joseph@codesourcery.com>
36716
a90f3bcb
JM
36717 * sysdeps/unix/common/lxstat.c: Remove file.
36718 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
36719
edc7ea78
JM
36720 * sysdeps/unix/sysv/Makefile: Remove file.
36721
cb78c221
JM
36722 * sysdeps/unix/sysv/direct.h: Remove file.
36723
efa6a45f
JM
36724 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
36725 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
36726 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
36727 * sysdeps/unix/sysv/bits/signum.h: Likewise.
36728 * sysdeps/unix/sysv/bits/stat.h: Likewise.
36729 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
36730 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
36731
9c9f2d0c
JM
36732 * sysdeps/unix/sysv/setrlimit.c: Remove file.
36733
4541c83b
JM
36734 * sysdeps/unix/xmknod.c: Remove file.
36735 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
36736
f5d153a0
JM
36737 * sysdeps/unix/sysv/settimeofday.c: Remove file.
36738
aa746595
JM
36739 * sysdeps/unix/sysv/i386/time.S: Remove file.
36740
cce5905e
JM
36741 * sysdeps/unix/fxstat.c: Remove file.
36742 * sysdeps/unix/xstat.c: Likewise.
36743 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
36744
37fa3841
JM
36745 * sysdeps/unix/sysv/sigaction.c: Remove file.
36746
ff1962a3
JM
36747 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
36748 (sysdep_headers): Remove variable.
36749 [termio.h not in sysdep_headers] (generated): Likewise.
36750 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
36751 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
36752 * sysdeps/unix/sysv/tcdrain.c: Likewise.
36753 * sysdeps/unix/sysv/tcflow.c: Likewise.
36754 * sysdeps/unix/sysv/tcflush.c: Likewise.
36755 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
36756 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
36757 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
36758 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
36759 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
36760
e7740d31
JM
36761 * sysdeps/unix/siglist.c: Remove file.
36762
ee06f18b
JM
36763 * sysdeps/unix/getppid.S: Remove file.
36764
097d59fa
JM
36765 * sysdeps/unix/mkdir.c: Remove file.
36766 * sysdeps/unix/rmdir.c: Likewise.
36767
ff3d51ec
AS
367682012-04-19 Andreas Schwab <schwab@linux-m68k.org>
36769
36770 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36771 ERR_MAX value.
36772 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36773 errlist-compat value.
36774
50f81fd7
DM
367752012-04-18 David S. Miller <davem@davemloft.net>
36776
36777 * sysdeps/generic/memcopy.h (reg_char): Delete.
36778 * debug/strcat_chk.c: Use char, not reg_char.
36779 * debug/strcpy_chk.c: Likewise.
36780 * debug/strncat_chk.c: Likewise.
36781 * debug/strncpy_chk.c: Likewise.
36782 * string/memchr.c: Likewise.
36783 * string/memrchr.c: Likewise.
36784 * string/rawmemchr.c: Likewise.
36785 * string/strcat.c: Likewise.
36786 * string/strchr.c: Likewise.
36787 * string/strchrnul.c: Likewise.
36788 * string/strcmp.c: Likewise.
36789 * string/strcpy.c: Likewise.
36790 * string/strncat.c: Likewise.
36791 * string/strncmp.c: Likewise.
36792 * string/strncpy.c: Likewise.
36793
8ff41c46
WS
367942012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36795
36796 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
36797 __builtin_memcopy is called when src and dest ranges are known to not
36798 overlap.
36799
6b652f46
WS
368002012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36801
36802 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
36803 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
36804 fwd_align_merge macro call.
36805 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
36806 bwd_align_merge macro call.
36807 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36808
b282631e
WS
368092012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36810
36811 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
36812 bwd_align_merge macros.
36813 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
36814 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
36815 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36816
95aa737c
DM
368172012-04-18 David S. Miller <davem@davemloft.net>
36818
36819 * sysdeps/sparc/sparc64/memcopy.h: Delete.
36820
7a99a614
AJ
368212012-04-18 Andreas Jaeger <aj@suse.de>
36822
36823 [BZ# 6794]
36824 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
36825 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
36826 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36827
36828 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
36829 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
36830 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36831
36832 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
36833 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
36834 Adjust for changed ldbl-128 files.
36835
36836 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
36837 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
36838 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36839
e5270c23
DM
368402012-04-17 David S. Miller <davem@davemloft.net>
36841
36842 * sysdeps/sparc/sparc32/memcopy.h: Delete.
36843
fb5e92c9
AS
368442012-04-17 Andreas Schwab <schwab@linux-m68k.org>
36845
36846 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
36847 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
36848 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
36849 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
36850 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36851 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
36852
76da7265
AZ
368532012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36854
36855 [BZ #6794]
36856 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
36857 * math/libm-test.inc: Add ilogb errno and exception tests.
36858 * math/w_ilogb.c: New file: ilogb wrapper.
36859 * math/w_ilogbf.c: New file: ilogbf wrapper.
36860 * math/w_ilogbl.c: New file: ilogbl wrapper.
36861 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
36862 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
36863 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
36864 exception being thrown with 0.0 as argument.
36865 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
36866 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
36867 exception being thrown with 0.0 as argument.
36868 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
36869 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36870 exception being thrown with 0.0 as argument.
36871 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
36872 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36873 exception being thrown with 0.0 as argument.
36874 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
36875 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 36876 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
36877 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
36878 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
36879 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
36880 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
36881 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
36882 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
36883
0396e69d
PB
368842012-04-17 Petr Baudis <pasky@ucw.cz>
36885
36886 * include/sys/uio.h: Change __vector to __iovec to avoid clash
36887 with altivec.
36888
750b5926
MP
368892012-04-16 Marek Polacek <polacek@redhat.com>
36890
36891 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
36892
751728a1
MP
368932012-04-16 Marek Polacek <polacek@redhat.com>
36894
36895 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
36896 operands of fdivp instruction.
36897
34a27407
L
368982012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36899
36900 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
36901 * elf/tst-auditmod3b.c: Likewise.
36902 * elf/tst-auditmod4b.c: Likewise.
36903 * elf/tst-auditmod5b.c: Likewise.
36904 * elf/tst-auditmod6b.c: Likewise.
36905 * elf/tst-auditmod6c.c: Likewise.
36906 * elf/tst-auditmod7b.c: Likewise.
36907 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
36908 * sysdeps/x86_64/preconfigure.in: Likewise.
36909 * sysdeps/x86_64/preconfigure: Regenerated.
36910
7e73e17d
L
369112012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36912
36913 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
36914 __ILP32__.
36915
c7a6ab72
AB
369162012-04-13 Antoine Balestrat <merkil33@gmail.com>
36917
36918 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36919 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
36920
a9e8e0e0
CL
369212012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
36922
36923 [BZ #13973]
36924 * locale/iso-639.def: Fix gl language name. Spotted by
36925 Yaron Shahrabani.
36926
ec98af7d
RM
369272012-04-12 Roland McGrath <roland@hack.frob.com>
36928
36929 [BZ #2074]
36930 * libio/libio.h (__io_write_fn): Update comment.
36931
247c3ede
PB
369322012-04-12 Petr Baudis <pasky@ucw.cz>
36933
36934 [BZ #2074]
36935 * stdio.texi (Hook Functions): The user provided writer function
36936 is not allowed to return -1.
36937
55939d6d
DM
369382012-04-11 David S. Miller <davem@davemloft.net>
36939
36940 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36941
90020f5a
MF
369422012-04-11 Mike Frysinger <vapier@gentoo.org>
36943
36944 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
36945 Add a leading slash to rtkaio.
36946
288f9098
JM
369472012-04-11 Jim Meyering <meyering@redhat.com>
36948
90020f5a
MF
36949 [BZ #11959]
36950 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
36951 It is not necessarily an error to ignore fwrite's return
36952 value. One can reliably use ferror to test for errors after
36953 the fact.
288f9098 36954
4be2b570
L
369552012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36956
36957 * bits/types.h (__snseconds_t): New type.
36958 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
36959
36960 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
36961 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36962 (__SNSECONDS_T_TYPE): Likewise.
36963 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36964 (__SNSECONDS_T_TYPE): Likewise.
36965 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36966 (__SNSECONDS_T_TYPE): Likewise.
36967
288f9098 369682012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
36969
36970 [BZ #2636]
36971 * manual/time.texi (Processor Time): Return type of times is
36972 elapsed real time since an arbitrary point in the past.
36973 (CPU Time): Move CLK_TCK from here...
36974 (Processor Time): ...to here. Correct description.
36975 * manual/conf.texi (Constants for Sysconf): Correct description of
36976 _SC_CLK_TCK.
36977
d7dd4413
DM
369782012-04-10 David S. Miller <davem@davemloft.net>
36979
36980 [BZ #13967]
36981 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
36982 where the is a gap between DT_REL(A) and DT_JMPREL.
36983
b46068fc
L
369842012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36985
36986 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
36987 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36988 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36989
73d65cc3
SP
369902012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36991
36992 * elf/dl-support.c (_dl_inhibit_cache): New variable.
36993 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
36994 (dl_main): Handle --inhibit-cache.
36995 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
36996 _dl_inhibit_cache.
36997 * elf/dl-load.c (_dl_map_object): Use it.
36998 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
36999
bcc8d661
JM
370002012-04-09 Joseph Myers <joseph@codesourcery.com>
37001
8f9a2fae
JM
37002 [BZ #13872]
37003 * sysdeps/i386/fpu/e_powl.S (p78): New object.
37004 (__ieee754_powl): Saturate large exponents rather than testing for
37005 overflow of y*log2(x).
37006 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37007 * math/libm-test.inc (pow_test): Do not permit spurious overflow
37008 exceptions.
37009
bcc8d661
JM
37010 [BZ #11521]
37011 * math/s_ctan.c: Include <float.h>.
37012 (__ctan): Avoid internal overflow or cancellation in calculating
37013 denominator.
37014 * math/s_ctanf.c: Likewise.
37015 * math/s_ctanl.c: Likewise.
37016 * math/s_ctanh.c: Likewise.
37017 * math/s_ctanhf.c: Likewise.
37018 * math/s_ctanhl.c: Likewise.
37019 * math/libm-test.inc (ctan_test): Add more tests.
37020 (ctanh_test): Likewise.
37021 * sysdeps/i386/fpu/libm-test-ulps: Update.
37022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37023
823fbbb4
AJ
370242012-04-09 Andreas Jaeger <aj@suse.de>
37025
03879793
AJ
37026 [BZ #6894]
37027 * manual/filesys.texi (Directory Entries): Mention that d_namlen
37028 is an optional BSD extension.
37029
823fbbb4
AJ
37030 [BZ #10254]
37031 * manual/stdio.texi (Opening Streams): Document additional fopen
37032 parameters.
37033
8de131cb
RM
370342012-04-09 Roland McGrath <roland@hack.frob.com>
37035
37036 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
37037 %eax without telling the compiler.
37038
c0ed9d7d
CD
370392012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
37040
37041 [BZ # 13963]
37042 * manual/install.texi: Use sourceware.org.
37043
c483f6b4
JM
370442012-04-09 Joseph Myers <joseph@codesourcery.com>
37045
d7dd9453
JM
37046 [BZ #13873]
37047 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
37048 (__ieee754_pow): Generate overflow and underflow using huge*huge
37049 and tiny*tiny rather than just returning constant infinity or zero
37050 for large exponents.
37051 * math/libm-test.inc (pow_test): Require overflow exceptions for
37052 applicable cases of large exponents.
37053
c483f6b4
JM
37054 [BZ #706]
37055 * sysdeps/i386/fpu/e_pow.S (p10): New object.
37056 (__ieee754_pow): Use iterative multiplication algorithm only for
37057 integer exponents with absolute value below 1024. Check for odd
37058 integer exponents when using algorithm for real exponents.
37059 * math/libm-test.inc (pow_test): Add more tests.
37060 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37061
d2de7579
JM
370622012-04-08 Joseph Myers <joseph@codesourcery.com>
37063
37064 [BZ #13705]
37065 * math/libm-test.inc (exp_test): Do not allow overflow exception
37066 on underflow test.
37067
f77f1232
AJ
370682012-04-08 Aurelien Jarno <aurelien@aurel32.net>
37069
37070 [BZ #13705]
37071 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
37072 instead of __kernel_standard_f.
37073
3884932b
MF
370742012-04-08 Mike Frysinger <vapier@gentoo.org>
37075
37076 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
37077 * sysdeps/x86_64/memset_chk.S: Likewise.
37078
54472e9c
AJ
370792012-04-08 Andreas Jaeger <aj@suse.de>
37080
6ab0fbfc
AJ
37081 [BZ #10153]
37082 * manual/startup.texi (Environment Access): Describe return value
37083 for putenv and setenv.
37084
61efba8c
AJ
37085 [BZ #6895]
37086 * manual/filesys.texi (Directory Entries): Add description for
37087 DT_LNK.
37088
95c3f29a
AJ
37089 [BZ #6890]
37090 * manual/filesys.texi (Directory Entries): Clarify that it's file
37091 system not operating system in the description of DT_UNKNOWN.
37092
54472e9c
AJ
37093 [BZ #6578]
37094 * manual/syslog.texi (closelog): Fix reference, it's openlog.
37095
624254b1
SC
370962012-04-08 Stephen Compall <s11@member.fsf.org>
37097
37098 [BZ #6649]
37099 * manual/llio.texi (Opening and Closing Files): Add cross
37100 reference to explain mode argument.
37101
1e4920e0
MF
371022012-04-07 Mike Frysinger <vapier@gentoo.org>
37103
37104 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
37105 * sysdeps/x86_64/memset_chk.S: Likewise.
37106
5ed848f3
DM
371072012-04-07 David S. Miller <davem@davemloft.net>
37108
37109 * elf/elf.h (R_SPARC_WDISP10): Define.
37110 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
37111 R_SPARC_SIZE32.
37112 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
37113 R_SPARC_SIZE64 and R_SPARC_H34.
37114
96154cd8
CD
371152012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
37116
37117 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
37118 conditions and remove no longer applicable assertion.
37119
9904dc47
L
371202012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37121
37122 * bits/byteswap.h: Include <features.h>.
37123 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37124 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37125
f8887d0a
L
371262012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37127
37128 * bits/byteswap.h (__bswap_16): Removed.
37129 Include <bits/byteswap-16.h> to get __bswap_16.
37130 * sysdeps/i386/bits/byteswap.h: Likewise.
37131 * sysdeps/s390/bits/byteswap.h: Likewise.
37132 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37133 * bits/byteswap-16.h: New file.
37134 * sysdeps/i386/bits/byteswap-16.h: Likewise.
37135 * sysdeps/s390/bits/byteswap-16.h: Likewise.
37136 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
37137 * string/Makefile (headers): Add bits/byteswap-16.h.
37138
62470f60
PP
371392012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37140
37141 [BZ #13895]
37142 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
37143 extra indirection.
37144 * nss/Makefile (tests-static, tests): Add tst-nss-static.
37145 * nss/tst-nss-static.c: New.
37146
4dad7bab
RM
371472012-04-06 Robert Millan <rmh@gnu.org>
37148
37149 [BZ #6486]
37150 * manual/llio.texi (File Position Primitive): lseek
37151 refers to WHENCE when it really means OFFSET.
37152
e9142a17
AJ
371532012-04-06 Andreas Jaeger <aj@suse.de>
37154
2c040eff
AJ
37155 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
37156 strncmp declarations.
37157
e9142a17
AJ
37158 * abilist/libc.abilist: Add __poll and __ppoll.
37159
ff9f1c5f
DM
371602012-04-05 David S. Miller <davem@davemloft.net>
37161
dcd2ae90
DM
37162 * scripts/check-local-headers.sh: Accept a host triplet in the
37163 path matched by the exclude regexp.
37164
993eb054
DM
37165 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37166 definition.
37167 * sysdeps/powerpc/powerpc32/dl-machine.h
37168 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37169 * sysdeps/s390/s390-32/dl-machine.h
37170 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37171 * sysdeps/sparc/sparc32/dl-machine.h
37172 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37173 * sysdeps/sparc/sparc64/dl-machine.h
37174 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37175
ff9f1c5f
DM
37176 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
37177 lazy binding.
48e2e132 37178 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
37179 undefined symbol errors.
37180
48e2e132 37181 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
37182 DT_NEEDED entries.
37183
e80d6f94
MM
371842012-04-05 Michael Matz <matz@suse.de>
37185
37186 [BZ #13592]
37187 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
37188
349fa79f
AJ
371892012-04-05 Andreas Jaeger <aj@suse.de>
37190
37191 [BZ #13908]
37192 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
37193 comment.
37194
f402708f
KK
371952012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37196
37197 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
37198 which ROUND is no valid rounding mode.
37199
2ecccfc9
KK
372002012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37201
37202 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
37203 read again.
37204 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
37205
8a53f50f
KK
372062012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37207
37208 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
37209 an exception using FPU order intentionally.
37210
372112012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37212
37213 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
37214 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
37215 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
37216 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
37217
d653abb7
SJ
372182012-04-05 Simon Josefsson <simon@josefsson.org>
37219
37220 [BZ #12340]
37221 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
37222 EINVAL when BUFLEN is too smal.
37223
c3b1bf7d
TS
372242012-04-05 Thomas Schwinge <thomas@codesourcery.com>
37225
37226 [BZ #13553]
37227 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37228 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37229
b1aa60f3
AJ
372302012-04-03 Andreas Jaeger <aj@suse.de>
37231
c3b1bf7d 37232 [BZ #13938]
67f60a26
AJ
37233 * manual/setjmp.texi (System V contexts): Fix sentence.
37234
b1aa60f3
AJ
37235 [BZ #13926]
37236 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37237 New macro for this case.
37238 [!__GNUC__] (__bswap_64): New inline function for this case.
37239 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37240 * bits/byteswap.h: Likewise.
37241 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37242 ull, guard with __GLIBC_HAVE_LONG_LONG.
37243
37244 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37245 __GLIBC_HAVE_LONG_LONG.
37246
37247 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37248 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37249
39c59c35
TMQMF
372502012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37251
37252 [BZ #13691]
37253 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37254 inptr and inend, rather than using last_ch.
37255
135ffda8
DM
372562012-04-02 David S. Miller <davem@davemloft.net>
37257
37258 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37259 * stdio-common/printf-parse.h (read_int): Change return type to
37260 'int', return -1 on INT_MAX overflow.
37261 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37262 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
37263 overflows INT_MAX. Check for overflow of in-format-string precision
37264 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
37265 SIZE_MAX not INT_MAX for integer overflow test.
37266 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
37267 skip the construct in the format string but do not record anything.
37268 * stdio-common/bug22.c: Adjust to test both width/prevision
37269 INT_MAX overflow as well as total length INT_MAX overflow. Check
37270 explicitly for proper errno values.
37271
228c019e
TS
372722012-04-02 Thomas Schwinge <thomas@codesourcery.com>
37273
302cadd3
TS
37274 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
37275 CHAR_MAX.
37276 * string/test-strcmp.c [! WIDE]: Likewise.
37277 * time/tst-mktime2.c: Likewise for INT_MAX.
37278 * string/test-string.h: #include <sys/param.h> for MIN.
37279
228c019e
TS
37280 * csu/init-first.c (__libc_init_first): Call __ctype_init.
37281 * sysdeps/i386/init-first.c (init): Likewise.
37282 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
37283 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
37284 * sysdeps/sh/init-first.c (init): Likewise.
37285
cfa633f5
UD
372862012-04-01 Ulrich Drepper <drepper@gmail.com>
37287
37288 * po/ru.po: Update from translation team.
d1635ef8 37289 * po/vi.po: Likewise.
cfa633f5 37290
6cd0a5ea
SP
372912012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
37292
37293 * resolv/nss_dns/dns-host.c: Merge copyright years.
37294
4b43400f
LD
372952012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37296
37297 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37298 Optimize memcpy with prefetch if
37299 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
37300 src, dst pointers have unequal 16 byte alignments.
37301
48c41d04
SP
373022012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37303
37304 [BZ #13928]
37305 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
37306 from a CNAME entry and return the minimum ttl for the query.
37307 (gaih_getanswer_slice): Likewise.
37308
b8dc394d
JL
373092012-03-30 Jeff Law <law@redhat.com>
37310
37311 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
37312 due to long keys.
37313 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
37314 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
37315
2f5a5ed0
JL
37316 * resolv/nss_dns/dns-host.c: Update copyright year.
37317
1d39e359
UD
373182012-03-30 Ulrich Drepper <drepper@gmail.com>
37319
c030f70c 37320 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 37321 requests to save a system call. Fix check that all bytes are sent.
c030f70c 37322
1d39e359
UD
37323 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
37324 comments for sendmmsg.
37325
373262012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
37327
37328 [BZ #13691]
37329 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
37330 with only 1 character between 0x0041 and 0x01b0.
37331 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
37332 * wcsmbs/tst-mbsnrtowcs.c: New file.
37333
20fde227
DM
373342012-03-29 David S. Miller <davem@davemloft.net>
37335
37336 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
37337 small copies by hand.
37338
984a4237
JL
373392012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37340
37341 [BZ #13761]
57f41c40
AS
37342 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
37343 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
37344 group memberships.
984a4237 37345
18c9d62b
DM
373462012-03-28 David S. Miller <davem@davemloft.net>
37347
88d85d4f
DM
37348 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
37349 that branches into memcpy.
37350 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
37351 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37352 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37353 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37354 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
37355 bits.
37356 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
37357 implementation too.
37358 * sysdeps/sparc/mempcpy.S: New file.
37359
e5aa83e1
DM
37360 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
37361 the IFUNC routine in the libc case.
37362 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37363
88570753
DM
37364 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
37365 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
37366 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
37367 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
37368 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
37369 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
37370 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
37371 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
37372
249d7567
DM
37373 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
37374 loop to 256 bytes instead of 64 bytes and fix test signedness.
37375
18c9d62b
DM
37376 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
37377 * sysdeps/sparc/sparc32/Makefile: rather than here...
37378 * sysdeps/sparc/sparc64/Makefile: and here.
37379
05f3d1f6
UD
373802012-03-28 Ulrich Drepper <drepper@gmail.com>
37381
37382 * malloc/mallocbug.c: Avoid warnings about unused variables.
37383
86ae07a8
JL
373842012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
37385
37386 [BZ #13760]
37387 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
37388 in the right place. Discard and retry query if response is
37389 larger than input buffer size.
37390
41bf21a1
JM
373912012-03-28 Joseph Myers <joseph@codesourcery.com>
37392
d6270972
JM
37393 [BZ #369]
37394 [BZ #2678]
37395 [BZ #3866]
37396 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
37397 x for large integer exponent.
37398 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37399 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
37400 sign of result as needed afterwards.
37401 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37402 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
37403 result for underflowing pow the same as for overflow.
37404 (__kernel_standard_l): Handle powl overflow and underflow here
37405 rather than calling __kernel_standard.
37406 * math/libm-test.inc (pow_test): Add more tests.
37407
414fca03 37408 [BZ #3868]
41bf21a1
JM
37409 [BZ #13879]
37410 [BZ #13910]
37411 [BZ #13911]
37412 [BZ #13912]
37413 [BZ #13913]
37414 [BZ #13915]
37415 [BZ #13916]
37416 [BZ #13917]
37417 [BZ #13918]
37418 [BZ #13919]
37419 [BZ #13920]
37420 [BZ #13921]
37421 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
37422 * sysdeps/ieee754/k_standard.c: Include <float.h>.
37423 (__kernel_standard_l): New function.
37424 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
37425 __kernel_standard.
37426 * math/w_acosl.c (__acosl): Likewise.
37427 * math/w_asinl.c (__asinl): Likewise.
37428 * math/w_atan2l.c (__atan2l): Likewise.
37429 * math/w_atanhl.c (__atanhl): Likewise.
37430 * math/w_coshl.c (__coshl): Likewise.
37431 * math/w_exp10l.c (__exp10l): Likewise.
37432 * math/w_exp2l.c (__exp2l): Likewise.
37433 * math/w_fmodl.c (__fmodl): Likewise.
37434 * math/w_hypotl.c (__hypotl): Likewise.
37435 * math/w_j0l.c (__j0l, __y0l): Likewise.
37436 * math/w_j1l.c (__j1l, __y1l): Likewise.
37437 * math/w_jnl.c (__jnl, __ynl): Likewise.
37438 * math/w_lgammal.c (__lgammal): Likewise.
37439 * math/w_log10l.c (__log10l): Likewise.
37440 * math/w_log2l.c (__log2l): Likewise.
37441 * math/w_logl.c (__logl): Likewise.
37442 * math/w_powl.c (__powl): Likewise.
37443 * math/w_remainderl.c (__remainderl): Likewise.
37444 * math/w_scalbl.c (sysv_scalbl): Likewise.
37445 * math/w_sinhl.c (__sinhl): Likewise.
37446 * math/w_sqrtl.c (__sqrtl): Likewise.
37447 * math/w_tgammal.c (__tgammal): Likewise.
37448 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
37449 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
37450 * math/libm-test.inc (acos_test): Add more tests.
37451 (acosh_test): Likewise.
37452 (asin_test): Likewise.
37453 (atanh_test): Likewise.
37454 (exp_test): Likewise.
37455 (exp10_test): Likewise.
37456 (exp2_test): Likewise.
37457 (expm1_test): Likewise.
37458 (lgamma_test): Likewise.
37459 (log_test): Likewise.
37460 (log10_test): Likewise.
37461 (log1p_test): Likewise.
37462 (log2_test): Likewise.
37463 (pow_test): Do not allow some spurious overflow exceptions.
37464 (sqrt_test): Add more tests.
37465 (tgamma_test): Likewise.
37466 (y0_test): Likewise.
37467 (y1_test): Likewise.
37468 (yn_test): Likewise.
37469
dd62fda6
AB
374702012-03-27 Anton Blanchard <anton@samba.org>
37471
37472 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
37473 MAP_HUGETLB.
37474 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37475 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37476 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37477
1e3cdfda
AJ
374782012-03-27 David S. Miller <davem@davemloft.net>
37479
b855ab85
DM
37480 * conform/Makefile: Run run-conformtest.sh using $(BASH).
37481
1e3cdfda
AJ
37482 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
37483 have-as-vis3 check.
37484
374852012-03-27 Andreas Jaeger <aj@suse.de>
37486
37487 * sysdeps/x86_64/elf/configure.in: Moved to ...
37488 * sysdeps/x86_64/configure.in: ... here.
37489 * sysdeps/x86_64/elf/start.S: Moved to ...
37490 * sysdeps/x86_64/start.S: ... here.
37491 * sysdeps/x86_64/elf/configure: Delete.
37492
37493 * sysdeps/x86_64/configure.in: Merge contents from
37494 sysdeps/i386/configure.in (without i686 check).
37495
37496 * sysdeps/i386/elf/Versions: Merge into ...
37497 * sysdeps/i386/Versions: ... this.
37498 * sysdeps/i386/elf/Versions: Delete file.
37499 * sysdeps/i386/elf/start.S: Moved to ...
37500 * sysdeps/i386/start.S: ...here.
37501 * sysdeps/i386/elf/configure.in: Merge into...
37502 * sysdeps/i386/configure.in: ...here.
37503 * sysdeps/i386/elf/configure.in: Delete file.
37504 * sysdeps/i386/elf/configure: Delete file.
37505
37506 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
37507 * debug/backtracesyms.c: ... here.
37508 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
37509 * debug/backtracesymsfd.c: ... here.
37510 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
37511 * sysdeps/generic/ifunc-sel.h: ... here.
37512
37513 * sysdeps/unix/i386/start.c: Delete file.
37514 * sysdeps/unix/sparc/start.c: Delete file.
37515 * sysdeps/unix/start.c: Delete file.
37516
37517 * sysdeps/sh/elf/configure.in: Moved to ...
37518 * sysdeps/sh/configure.in: ... here.
37519 * sysdeps/sh/elf/start.S: Moved to ...
37520 * sysdeps/sh/start.S: ... here.
37521 * sysdeps/sh/elf/configure: Delete file.
37522
37523 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
37524 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
37525 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
37526 * sysdeps/powerpc/powerpc64/entry.h: ... here.
37527 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
37528 * sysdeps/powerpc/powerpc64/start.S: here.
37529 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
37530 * sysdeps/powerpc/powerpc64/Makefile: ... this.
37531 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
37532 * sysdeps/powerpc/powerpc64/configure.in: ... this.
37533 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
37534
37535 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
37536 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
37537 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
37538 * sysdeps/powerpc/powerpc32/start.S: ... here.
37539 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
37540 * sysdeps/powerpc/powerpc32/configure.in: ... this.
37541 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
37542
37543 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
37544 * sysdeps/powerpc/ifunc-sel.h: ... here.
37545 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
37546 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
37547
37548 * sysdeps/sparc/elf/configure.in: Moved to ...
37549 * sysdeps/sparc/configure.in: ... here.
37550 * sysdeps/sparc/elf/configure: Delete file.
37551 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
37552 * sysdeps/sparc/sparc32/start.S: ... here.
37553 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
37554 * sysdeps/sparc/sparc64/start.S: ... here.
37555 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
37556 * sysdeps/sparc/sparc32/Makefile: ... this.
37557 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
37558 * sysdeps/sparc/sparc64/Makefile: ... this.
37559
37560 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
37561 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
37562 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
37563 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
37564 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
37565 * sysdeps/s390/s390-32/setjmp.S: ... here.
37566 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
37567 * sysdeps/s390/s390-32/configure.in: ... here.
37568 * sysdeps/s390/s390-32/elf/configure: Delete file.
37569 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
37570 * sysdeps/s390/s390-32/start.S: ... here.
37571
37572 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
37573 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
37574 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
37575 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
37576 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
37577 * sysdeps/s390/s390-64/setjmp.S: ... here.
37578 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
37579 * sysdeps/s390/s390-64/configure.in: ... here
37580 * sysdeps/s390/s390-64/elf/configure: Delete file.
37581 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
37582 * sysdeps/s390/s390-64/start.S: ... here.
37583 * sysdeps/s390/s390-64/elf/configure: Delete.
37584
37585 * configure.in: Remove support for elf directories in sysdeps.
37586
37587 * configure: Regenerated.
37588 * sysdeps/i386/configure: Regenerated.
37589 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37590 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37591 * sysdeps/s390/s390-32/configure: Regenerated.
37592 * sysdeps/s390/s390-64/configure: Regenerated.
37593 * sysdeps/sh/configure: Regenerated.
37594 * sysdeps/sparc/configure: Regenerated.
37595 * sysdeps/x86_64/configure: Regenerated.
37596
a3f61311
AS
375972012-03-26 Andreas Schwab <schwab@linux-m68k.org>
37598
c876e002
AS
37599 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37600
a3f61311
AS
37601 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
37602 denormal result into account.
37603
ac4c54f0
RM
376042012-03-25 Roland McGrath <roland@hack.frob.com>
37605
37606 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
37607 Reported by Allan McRae <allan@archlinux.org>.
37608
6a9b9c02
JL
376092012-03-23 Jeff Law <law@redhat.com>
37610
37611 * nss/getnssent.c (__nss_getent): Fix typo.
37612
4c42a0c1
DM
376132012-03-23 David S. Miller <davem@davemloft.net>
37614
37615 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37616
1532c7ac
L
376172012-03-23 H.J. Lu <hongjiu.lu@intel.com>
37618
37619 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
37620 to pad to uint64_t for each field.
37621 (dl_tls_index): Replace unsigned long with uint64_t.
37622
3ff42526
PP
376232012-03-23 Daniel Jacobowitz <dmj@google.com>
37624 Paul Pluzhnikov <ppluzhnikov@google.com>
37625
37626 [BZ #6528]
37627 * grp/Makefile (otherlibs): Don't set it.
37628 * inet/Makefile (otherlibs): Likewise.
37629 * login/Makefile (otherlibs): Likewise.
37630 * nscd/Makefile (otherlibs): Likewise.
37631 * posix/Makefile (otherlibs): Likewise.
37632 * pwd/Makefile (otherlibs): Likewise.
37633 * rt/Makefile (otherlibs): Likewise.
37634 * sunrpc/Makefile (otherlibs): Likewise.
37635 * nss/Makefile (otherlibs): Likewise.
37636 Add libnss_files to routines and static-only-routines.
37637 ($(objpfx)getent): Remove rule.
37638 * resolv/Makefile: Add libnss_dns and libresolv to routines and
37639 static-only-routines.
37640
7c69cd14
JM
376412012-03-22 Joseph Myers <joseph@codesourcery.com>
37642
37643 [BZ #13892]
37644 * math/s_cexp.c: Include <float.h>.
37645 (__cexp): Handle exp result overflowing not necessarily
37646 overflowing both real and imaginary parts of result.
37647 * math/s_cexpf.c: Likewise.
37648 * math/s_cexpl.c: Likewise.
37649 * math/libm-test.inc (cexp_test): Add more tests.
37650 * sysdeps/i386/fpu/libm-test-ulps: Update.
37651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37652
81b035fe
L
376532012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37654
37655 * include/link.h (ELFW): New macro.
37656 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
37657 Replace ELF64_R_TYPE with ELFW(R_TYPE).
37658
1da7940c
L
376592012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37660
37661 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
37662 with uint64_t.
37663
b749dbb9
L
376642012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37665
37666 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
37667 declaration.
37668 (struct La_x32_retval): Likewise.
37669
2ff87f3f
L
376702012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37671
37672 * sysdeps/x86_64/preconfigure.in: New file.
37673 * sysdeps/x86_64/preconfigure: New generated file.
37674
c0df8e69
JM
376752012-03-22 Joseph Myers <joseph@codesourcery.com>
37676
48e44791
JM
37677 [BZ #13824]
37678 * math/e_exp2l.c: Include <float.h>.
37679 (__ieee754_exp2l): Handle overflow and underflow cases
37680 separately. Only pass fractional part of argument to
37681 __ieee754_expl.
37682 * math/libm-test.inc (exp2_test): Add more tests.
37683
c0df8e69
JM
37684 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
37685 negating x to take absolute value.
37686 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37687 Likewise.
37688 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37689 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
37690 Likewise.
37691 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
37692 computing low part if x was negated.
37693 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37694
c8e43ba7
L
376952012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37696
37697 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
37698 la_x32_gnu_pltexit.
37699 (pltexit): Cast int_retval to ptrdiff_t.
37700 * elf/tst-auditmod3b.c: Likewise.
37701 * elf/tst-auditmod4b.c: Likewise.
37702 * elf/tst-auditmod5b.c: Likewise.
37703 * elf/tst-auditmod6b.c: Likewise.
37704 * elf/tst-auditmod6c.c: Likewise.
37705 * elf/tst-auditmod7b.c: Likewise.
37706
37707 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
37708 and x32_gnu_pltexit.
37709
37710 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
37711 __ELF_NATIVE_CLASS.
37712 (La_x32_regs): New macro.
37713 (La_x32_retval): Likewise.
37714 (la_x32_gnu_pltenter): New function prototype.
37715 (la_x32_gnu_pltexit): Likewise.
37716
7998fa78
AS
377172012-03-21 Andreas Schwab <schwab@linux-m68k.org>
37718
dcb33988
AS
37719 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
37720 exponent.
37721
233fc563
AS
37722 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37723
7998fa78
AS
37724 * configure.in (libc_cv_cc_nofma): Check for option to disable
37725 generation of FMA instructions.
37726 * configure: Regenerate.
37727 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
37728 * sysdeps/ieee754/dbl-64/Makefile: New file.
37729 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37730 Remove brandred-fma4.
37731 (CFLAGS-brandred-fma4.c): Remove.
37732 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
37733 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
37734 define.
37735 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
37736 define.
37737
8e95c99a
L
377382012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37739
37740 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37741 LLONG_MAX != LONG_MAX.
37742 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37743 (_fitoa_word): Likewise.
37744 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
37745 LLONG_MAX != LONG_MAX.
37746 * stdio-common/_itowa.h: Include <_itoa.h>.
37747 (_itowa_word): Use _ITOA_WORD_TYPE on value.
37748 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
37749 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
37750 only if not defined.
37751 (_ITOA_WORD_TYPE): Likewise.
37752 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37753 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
37754
6f4db457
DM
377552012-03-21 David S. Miller <davem@davemloft.net>
37756
37757 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37758
7785fe5a
L
377592012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37760
37761 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
37762 of x86_64 when setting libc_cv_slibdir, libdir and
37763 libc_cv_localedir.
37764 * sysdeps/unix/sysv/linux/configure: Regenerated.
37765
4535cd55
JM
377662012-03-21 Joseph Myers <joseph@codesourcery.com>
37767
37768 * manual/lang.texi (Old Varargs): Remove section.
37769 (How Variadic): Update menu.
37770 (va_start): Do not mention varargs.h.
37771
17228132
TS
377722012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37773 Joseph Myers <joseph@codesourcery.com>
37774
37775 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37776 link test.
37777 * configure: Regenerated.
37778
8149f976
TS
377792012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37780
05f3d1f6
UD
37781 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37782 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37783 conformtest.pl
8149f976 37784
1a4ac776
JM
377852012-03-21 Joseph Myers <joseph@codesourcery.com>
37786
be22ce65
JM
37787 * NOTES: Remove.
37788 * Makefile (files-for-dist): Remove NOTES.
37789 (NOTES): Remove rule.
37790 * README: Don't refer to NOTES.
37791 * manual/creature.texi: Don't include macros.texi.
37792 * manual/intro.texi (creature.texi): Remove comment referring to
37793 NOTES.
37794
40b601fb
JM
37795 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
37796 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
37797 * configure: Regenerated.
37798 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
37799 LIBC_TRY_CC_OPTION.
37800 (libc_cv_as_i686): Likewise.
37801 (libc_cv_cc_avx): Likewise.
37802 (libc_cv_cc_sse2avx): Likewise.
37803 (libc_cv_cc_fma4): Likewise.
37804 (libc_cv_cc_novzeroupper): Likewise.
37805 * sysdeps/i386/configure: Regenerated.
37806
1a4ac776
JM
37807 [BZ #13883]
37808 * sysdeps/i386/fpu/s_cexp.S: Remove.
37809 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37810 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37811 * math/libm-test.inc (cexp_test): Add more tests.
37812 * sysdeps/i386/fpu/libm-test-ulps: Update.
37813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37814
a458e7fe
AM
378152012-03-21 Allan McRae <allan@archlinux.org>
37816
37817 * timezone/Makefile: Do not install iso3166.tab and zone.tab
37818
0cb7efc5
JM
378192012-03-21 Joseph Myers <joseph@codesourcery.com>
37820
37821 [BZ #13871]
37822 * math/w_exp2.c: Do not include <float.h>.
37823 (o_threshold, u_threshold): Remove.
37824 (__exp2): Calculate result before checking finiteness and calling
37825 __kernel_standard.
37826 * math/w_exp2f.c: Likewise.
37827 * math/w_exp2l.c: Likewise.
37828 * math/libm-test.inc (exp2_test): Require overflow exception for
37829 1e6 input.
2460d3aa
JM
37830
37831 [BZ #3866]
37832 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
37833 range of signed 64-bit integers before using fistpll. Remove
37834 checks for whether integers fit in mantissa bits.
37835 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
37836 the range of signed 32-bit integers before using fistpl. Remove
37837 checks for whether integers fit in mantissa bits.
37838 * sysdeps/i386/fpu/e_powl.S (p64): New object.
37839 (__ieee754_powl): Test for y outside the range of signed 64-bit
37840 integers before using fistpll. Reduce 64-bit values to 63-bit
37841 ones as needed.
37842 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
37843 divide-by-zero is raised for zero to large negative powers.
37844 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
37845 (__ieee754_powl): Test for y outside the range of signed 64-bit
37846 integers before using fistpll. Reduce 64-bit values to 63-bit
37847 ones as needed.
37848 * math/libm-test.inc (pow_test): Add more tests.
37849
eb96ffb0
L
378502012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37851
37852 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
37853 <stdio-common/_itoa.h>.
37854 * debug/segfault.c: Likewise.
37855 * elf/dl-cache.c: Likewise.
37856 * elf/dl-minimal.c: Likewise.
37857 * elf/dl-misc.c: Likewise.
37858 * elf/dl-sysdep.c: Likewise.
37859 * elf/dl-version.c: Likewise.
37860 * elf/rtld.c: Likewise.
37861 * hurd/hurdsock.c: Likewise.
37862 * hurd/lookup-retry.c: Likewise.
37863 * malloc/malloc.c: Likewise.
37864 * malloc/mtrace.c: Likewise.
37865 * nscd/nscd_getgr_r.c: Likewise.
37866 * nscd/nscd_getpw_r.c: Likewise.
37867 * nscd/nscd_getserv_r.c: Likewise.
37868 * posix/getopt_init.c: Likewise.
37869 * posix/wordexp.c: Likewise.
37870 * stdio-common/_itoa.c: Likewise.
37871 * stdio-common/printf_fphex.c: Likewise.
37872 * stdio-common/vfprintf.c: Likewise.
37873 * string/_strerror.c: Likewise.
37874 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
37875 * sysdeps/i386/i686/hp-timing.h: Likewise.
37876 * sysdeps/mach/_strerror.c: Likewise.
37877 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
37878 * sysdeps/mach/hurd/sethostid.c: Likewise.
37879 * sysdeps/mach/hurd/xmknodat.c: Likewise.
37880 * sysdeps/mach/xpg-strerror.c: Likewise.
37881 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37882 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37883 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
37884 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
37885 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37886 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
37887 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37888 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37889 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
37890 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
37891 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
37892 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
37893 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
37894 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
37895 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
37896 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
37897 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
37898 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
37899 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37900 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37901 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
37902
37903 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
37904
37905 * stdio-common/_itoa.h: Moved to ...
37906 * sysdeps/generic/_itoa.h: Here.
37907
37908 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
37909
37910 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
37911 instead of "_itoa.h" and "_itowa.h".
37912 * stdio-common/vfprintf.: Likewise.
37913
d1af992d
L
379142012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37915
37916 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
37917 <bits/wordsize.h>.
37918 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
37919 (__signbit): Likwise.
37920 (llrintf): Likwise.
37921 (llrint): Likwise.
37922
114883e0
L
379232012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37924
37925 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
37926 __WORDSIZE != 64.
37927
c135cc1b
JM
379282012-03-20 Joseph Myers <joseph@codesourcery.com>
37929
37930 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
37931 OVERFLOW_EXCEPTION_OK.
37932 * math/libm-test.inc ("Philosophy"): Update comment about
37933 exception testing.
37934 (OVERFLOW_EXCEPTION): Define.
37935 (OVERFLOW_EXCEPTION_OK): Likewise.
37936 (INVALID_EXCEPTION_OK): Renumber.
37937 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37938 (IGNORE_ZERO_INF_SIGN): Likewise.
37939 (test_exceptions): Handle FE_OVERFLOW.
37940 (exp10_test): Expect overflow exceptions.
37941 (exp2_test): Likewise.
37942 (expm1_test): Likewise.
37943 (nextafter_test): Likewise.
37944 (pow_test): Likewise.
37945 (scalbn_test): Likewise.
37946 (scalbln_test): Likewise.
37947
95443d88
L
379482012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37949
37950 * sysdeps/x86_64/bits/atomic.h
37951 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
37952 64bit integer.
37953 (atomic_exchange_acq): Likewise.
37954 (__arch_exchange_and_add_body): Likewise.
37955 (__arch_add_body): Likewise.
37956 (atomic_add_negative): Likewise.
37957 (atomic_add_zero): Likewise.
37958
490df6c4
L
379592012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37960
c2722551 37961 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
37962 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
37963
5e52b189
L
379642012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37965
37966 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
37967 Check __x86_64__ instead of __WORDSIZE.
37968
a9879d4c
L
379692012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37970
37971 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
37972
5df98260
DM
379732012-03-19 David S. Miller <davem@davemloft.net>
37974
e1497744
DM
37975 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37976
5df98260
DM
37977 * sysdeps/sparc/fpu/fenv_private.h: New file.
37978 * sysdeps/sparc/fpu/math_private.h: Use it.
37979 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
37980 Remove.
57f41c40 37981 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
37982 (libc_feholdexcept_setroundl): Remove.
37983 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
37984 Remove.
37985 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
37986 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
37987
b4c35121
L
379882012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37989
37990 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
37991 int64_t instead of long int.
37992 (INSERT_WORDS64): Likwise.
37993
56965fd7
L
379942012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37995
37996 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
37997 _Unwind_GetCFA return to _Unwind_Ptr first.
37998
83d1aec8
JM
379992012-03-19 Joseph Myers <joseph@codesourcery.com>
38000
1897ad44
JM
38001 [BZ #13629]
38002 * math/s_clog.c: Include <float.h>.
38003 (__clog): Scale large or subnormal inputs.
38004 * math/s_clogf.c: Likewise.
38005 * math/s_clogl.c: Likewise.
38006 * math/s_clog10.c: Include <float.h>.
38007 (M_LOG10_2): Define.
38008 (__clog10): Scale large or subnormal inputs.
38009 * math/s_clog10f.c: Likewise.
38010 * math/s_clog10l.c: Likewise.
38011 * math/libm-test.inc (clog_test): Add more tests.
38012 (clog10_test): Likewise.
38013 * sysdeps/i386/fpu/libm-test-ulps: Update.
38014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38015
7726d6a9
JM
38016 [BZ #11451]
38017 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
38018 x and y.
38019 * math/libm-test.inc (atan2_test): Add another test.
38020
83d1aec8
JM
38021 * Makerules (common-objdir-compile): Remove.
38022 * sysdeps/unix/Makefile (config-generated): Do not add
38023 $(unix-generated) to variable.
38024 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
38025 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
38026 Remove rule.
38027 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
38028 Likewise.
38029 [generic bits/local_lim.h] (before-compile): Do not append to
38030 variable.
38031 [generic bits/local_lim.h] (common-generated): Likewise.
38032 [generic sys/param.h] (before-compile): Do not append to variable.
38033 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
38034 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
38035 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
38036 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
38037 include.
38038 [generic sys/param.h] (sys/param.h-includes): Remove variable.
38039 [generic sys/param.h] (sys/param.h-includes): Remove rule.
38040 [generic sys/param.h] ($(addprefix
38041 $(common-objpfx),$(sys/param.h-includes))): Likewise.
38042 [generic sys/param.h] (common-generated): Do not append to
38043 variable.
38044 [generic sys/param.h] (sysdep_headers): Likewise.
38045 [generic bits/errno.h] (before-compile): Do not append to
38046 variable.
38047 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
38048 rule.
38049 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
38050 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
38051 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
38052 [generic bits/errno.h] (common-generated): Do not append to
38053 variable.
38054 [generic bits/ioctls.h] (before-compile): Do not append to
38055 variable.
38056 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
38057 rule.
38058 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
38059 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
38060 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
38061 rule.
38062 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
38063 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
38064 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
38065 [generic bits/ioctls.h] (common-generated): Do not append to
38066 variable.
38067 [generic sys/syscall.h] (syscall.h): Remove variable.
38068 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
38069 rule.
38070 [generic sys/syscall.h] (before-compile): Do not append to
38071 variable.
38072 [generic sys/syscall.h] (common-generated): Likewise.
38073 * sysdeps/unix/errnos-tmpl.c: Remove file.
38074 * sysdeps/unix/errnos.awk: Likewise.
38075 * sysdeps/unix/ioctls-tmpl.c: Likewise.
38076 * sysdeps/unix/ioctls.awk: Likewise.
38077 * sysdeps/unix/mk-local_lim.c: Likewise.
38078 * sysdeps/unix/snarf-ioctls: Likewise.
38079
4851a949
RH
380802012-03-19 Richard Henderson <rth@twiddle.net>
38081
bd37f2ee
RH
38082 * sysdeps/i386/fpu/fenv_private.h: New file.
38083 * sysdeps/i386/fpu/math_private.h: Use it.
38084 (math_opt_barrier, math_force_eval): Remove.
38085 (libc_feholdexcept_setround_53bit): Remove.
38086 (libc_feupdateenv_53bit): Remove.
38087 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38088 (math_opt_barrier, math_force_eval): Remove.
38089 (libc_feholdexcept): Remove.
38090 (libc_feholdexcept_setround): Remove.
38091 (libc_fetestexcept, libc_fesetenv): Remove.
38092 (libc_feupdateenv_test): Remove.
38093 (libc_feupdateenv, libc_feholdsetround): Remove.
38094 (libc_feresetround): Remove.
38095
d0adc922
RH
38096 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
38097 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38098
0fe0f1f8
RH
38099 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
38100 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
38101 (libc_feupdateenv_testl): New.
38102 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
38103 (libc_feupdateenv_testf): New.
38104 (libc_feupdateenv): Use libc_feupdateenv_test.
38105 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
38106 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
38107
eb92c487
RH
38108 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
38109 (libc_feholdsetroundf, libc_feholdsetroundl): New.
38110 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
38111 (libc_feresetround_noex): New.
38112 (libc_feresetround_noexf): New.
38113 (libc_feresetround_noexl): New.
38114 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
38115 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
38116 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
38117 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
38118 SET_RESTORE_ROUND.
38119 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38120 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
38121 (__cos): Likewise.
38122 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
38123 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
38124 SET_RESTORE_ROUND_NOEX.
38125 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
38126 SET_RESTORE_ROUND_NOEXF.
38127 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
38128 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
38129 (libc_feholdsetroundf): New.
38130 (libc_feresetround, libc_feresetroundf): New.
38131
7d2e8012
RH
38132 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
38133 (libc_feholdexcept_setround_53bit): Convert from macro to function.
38134 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
38135
b4dabbb4
RH
38136 * sysdeps/generic/math_private.h: Include <fenv.h>.
38137 (default_libc_feholdexcept): New.
38138 (default_libc_feholdexcept_setround): New.
38139 (default_libc_fesetenv, default_libc_feupdateenv): New.
38140 (libc_feholdexcept): Only define if undefined.
38141 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
38142 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
38143 (libc_feholdexcept_setroundl): Likewise.
38144 (libc_feholdexcept_setround_53bit): Likewise.
38145 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
38146 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
38147 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
38148 (libc_feupdateenv_53bit): Likewise.
38149 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
38150 (libc_feholdexcept): Convert from macro to inline function.
38151 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
38152 (libc_fesetenv, libc_feupdateenv): Likewise.
38153
4851a949
RH
38154 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
38155 not previously defined.
38156 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
38157 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
38158 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38159 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38160 * sysdeps/ieee754/flt-32/math_private.h: New file.
38161 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38162 math_private.h below SET_FLOAT_WORD.
38163 (__isnan, __isinf_ns, __finite): Remove.
38164 (__isnanf, __isinf_nsf, __finitef): Remove.
38165
e79d442e
AS
381662012-03-18 Andreas Schwab <schwab@linux-m68k.org>
38167
38168 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38169
90b80344
DM
381702012-03-17 David S. Miller <davem@davemloft.net>
38171
38172 [BZ #6471]
38173 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38174 for 2.16.
38175
edc21804
DM
381762012-03-16 David S. Miller <davem@davemloft.net>
38177
77e927af
DM
38178 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
38179 warnings.
38180
374976dd
DM
38181 [BZ #6471]
38182 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
38183 properly.
38184 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
38185 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
38186 sysdep_routines when subdir is sysvipc.
38187 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
38188 __getshmlba helper.
38189
edc21804
DM
38190 * sysdeps/sparc/fpu/libm-test/ulps: Update.
38191
473c3ef3
L
381922012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38193
38194 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
38195 [__LP64__].
38196
eb0f39b6
L
381972012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38198
38199 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
38200 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
38201 (__lround): Renamed to ...
38202 (__llround): This. Replace long int with long long int.
38203 Define lround functions as aliases of llround functions.
38204 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
38205
6b6cd74b
L
382062012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38207
38208 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
38209 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
38210 adresses to uintptr_t. Replace "long int" and "unsigned long
38211 int" with "greg_t" on va_arg.
38212
f1a77b01
L
382132012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38214
38215 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
38216 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
38217
38218 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38219 Move e_machine check before EI_CLASS check. Handle x32
38220 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
38221 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
38222 SKIP_EM_IA_64 and include
38223 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38224
38225 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38226 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38227 (add_system_dir): New macro.
38228
38229 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38230 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38231
11b90b9f
JM
382322012-03-16 Joseph Myers <joseph@codesourcery.com>
38233
c36e1d23
JM
38234 [BZ #2551]
38235 [BZ #2552]
38236 [BZ #2553]
38237 [BZ #2554]
38238 [BZ #2562]
38239 [BZ #2563]
38240 [BZ #2565]
38241 [BZ #2566]
38242 [BZ #2576]
38243 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38244 (y0): Likewise.
38245 * math/w_j0f.c (j0f): Likewise.
38246 (y0f): Likewise.
38247 * math/w_j0l.c (__j0l): Likewise.
38248 (__y0l): Likewise.
38249 * math/w_j1.c (j1): Likewise.
38250 (y1): Likewise.
38251 * math/w_j1f.c (j1f): Likewise.
38252 (y1f): Likewise.
38253 * math/w_j1l.c (__j1l): Likewise.
38254 (__y1l): Likewise.
38255 * math/w_jn.c (jn): Likewise.
38256 (yn): Likewise.
38257 * math/w_jnf.c (jnf): Likewise.
38258 (ynf): Likewise.
38259 * math/w_jnl.c (__jnl): Likewise.
38260 (__ynl): Likewise.
38261 * math/libm-test.inc (j0_test): Add more tests.
38262 (j1_test): Likewise.
38263 (jn_test): Likewise. Add trailing semicolon to existing test.
38264 (y0_test): Likewise.
38265 (y1_test): Likewise.
38266 * sysdeps/i386/fpu/libm-test-ulps: Update.
38267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38268
11b90b9f
JM
38269 [BZ #13851]
38270 [BZ #13854]
38271 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
38272 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
38273 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
38274 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
38275 (__tanl): Set errno for infinite argument.
38276 * sysdeps/i386/fpu/mptan.c: Remove.
38277 * sysdeps/i386/fpu/s_tan.S: Likewise.
38278 * sysdeps/i386/fpu/s_tanl.S: Likewise.
38279 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
38280 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
38281 * math/libm-test.inc (tan_test): Add more tests and enable more
38282 tests for double and long double.
38283 * sysdeps/i386/fpu/libm-test-ulps: Update.
38284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38285
6a1bd2a1
JK
382862012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
38287
38288 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
38289 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
38290
10a803e0
RM
382912012-03-16 Roland McGrath <roland@hack.frob.com>
38292
38293 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
38294 * configure.in: Use it for both main tree and add-ons.
38295 * configure: Regenerated.
38296
f196c7f7
L
382972012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38298
38299 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
38300
8848d99d
JM
383012012-03-16 Joseph Myers <joseph@codesourcery.com>
38302
96cbe7f4
JM
38303 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
38304 in comment.
38305
8848d99d
JM
38306 [BZ #13851]
38307 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
38308 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
38309 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
38310 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
38311 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
38312 infinite argument.
38313 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
38314 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
38315 != 0 for prec == 2.
38316 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
38317 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
38318 * sysdeps/i386/fpu/s_cosl.S: Likewise.
38319 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
38320 * sysdeps/i386/fpu/s_sinl.S: Likewise.
38321 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
38322 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
38323 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
38324 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
38325 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
38326 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
38327 * math/libm-test.inc (cos_test): Add more tests and enable more
38328 tests for long double.
38329 (sin_test): Likewise.
38330 (sincos_test): Likewise.
38331 * sysdeps/i386/fpu/libm-test-ulps: Update.
38332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38333
dd7f4703
DM
383342012-03-16 David S. Miller <davem@davemloft.net>
38335
38336 * sysdeps/sparc/fpu/math_private.h: New file.
38337
006f1daa
DM
383382012-03-15 David S. Miller <davem@davemloft.net>
38339
c0c83bc8
DM
38340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
38341 file.
e6a62e18 38342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
38343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
38344 file.
e6a62e18
DM
38345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
38346 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
38347 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
38348 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
38349 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
38350 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
38351 sysdep routines.
38352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38353
88cb87d9
DM
38354 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
38355 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
38356
006f1daa 38357 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
38358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
38359 sparc-ifunc.h
006f1daa 38360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
38361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
38362 Likewise.
38363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
38364 Likewise.
006f1daa
DM
38365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
38366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
38367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
38368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38369 Likewise.
006f1daa
DM
38370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
38372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
38374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
38375 Likewise.
38376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
38377 Likewise.
006f1daa
DM
38378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
38380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
38381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
38382 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38383 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38384 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
38385 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
38386 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38387 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38388 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
38389 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
38390 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
38391 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
38392 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
38393 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
38394 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
38395 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
38396 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
38397 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
38398 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
38399 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
38400 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
38401 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
38402
11e0098e
AS
384032012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38404
38405 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
38406 scaling.
38407 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38408
e85b09d0
AJ
384092012-03-15 Andreas Jaeger <aj@suse.de>
38410
38411 [BZ #13852]
38412 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
38413 ieee754/flt-32 implementation for sin, cos and sincos.
38414 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
38415 * sysdeps/i386/fpu/s_cosf.S: Likewise.
38416 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
38417 * sysdeps/i386/fpu/s_sinf.S: Likewise.
38418 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
38419 ieee754/flt-32 implementation for tan.
38420
38421 * math/libm-test.inc (cos_test): Enable some large input tests for
38422 float as well
38423 (sin_test): Likewise.
38424 (sincos_test): Likewise.
38425 (tan_test): Add tests for large input.
38426
38427 * sysdeps/i386/fpu/libm-test-ulps: Update.
38428
81c64153
AJ
384292012-03-15 Andreas Jaeger <aj@suse.de>
38430
38431 [BZ #13658]
38432 * math/libm-test.inc (cos_test): Add more test cases.
38433 (sin_test): Likewise.
38434 (sincos_test): Likewise.
38435
7bbfa5c6
AJ
384362012-03-15 Andreas Jaeger <aj@suse.de>
38437
38438 [BZ #13837]
38439 * math/libm-test.inc (cos_test): Add a test case for large input
38440 value.
38441 (sin_test): Likewise.
38442 (sincos_test): Likewise.
38443
57f41c40
AS
384442012-03-15 Andreas Jaeger <aj@suse.de>
38445 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
38446
38447 [BZ #13658]
0671f479 38448 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
38449 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
38450 * sysdeps/i386/fpu/branred.c: Likewise.
38451 * sysdeps/i386/fpu/dosincos.c: Likewise.
38452 * sysdeps/i386/fpu/mpa.c: Likewise.
38453 * sysdeps/i386/fpu/s_cos.S: Likewise.
38454 * sysdeps/i386/fpu/s_sin.S: Likewise.
38455 * sysdeps/i386/fpu/s_sincos.S: Likewise.
38456 * sysdeps/i386/fpu/sincos32.c: Likewise.
38457
38458 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
38459 Define.
38460 (libc_feupdateenv_53bit): Define.
38461 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
38462 Define.
38463 (libc_feupdateenv_53bit): Define.
38464
38465 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
38466 53 bit (without extend i386 double precision).
38467
38468 * math/libm-test.inc (sincos_test): Add tests for large input.
38469 (sin): Likewise.
38470 (cos): Likewise.
38471
38472 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38473
9cad04ea
AS
384742012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38475
38476 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38477
f7062b9a
DM
384782012-03-15 David S. Miller <davem@davemloft.net>
38479
38480 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
38481 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
38482 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
38483 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
38484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
38485 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
38486 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
38487 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
38488 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
38489 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
38490 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
38491 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
38492 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
38493 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
38494 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
38495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
38496 file.
f7062b9a 38497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
38498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
38499 file.
f7062b9a 38500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
38501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
38502 file.
f7062b9a 38503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
38504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
38505 file.
f7062b9a
DM
38506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
38507 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
38508 fmin/fmax sysdep routines.
38509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38510
7bd951ff
DM
385112012-03-14 David S. Miller <davem@davemloft.net>
38512
559398ab
DM
38513 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
38514 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
38515 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
38516 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
38517 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
38518 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
38519 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
38520 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
38521 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
38522 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
38523 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
38524 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
38525 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
38526 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
38527 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
38528 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
38529 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
38530 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
38531 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
38532 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
38533 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
38534 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
38535 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
38536 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
38537 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
38538 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
38539 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
38540 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
38541 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
38542 routines.
38543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
38544 file.
559398ab 38545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
38546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
38547 file.
559398ab 38548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
38549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
38550 file.
559398ab 38551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
38552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
38553 file.
559398ab 38554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
38555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
38556 file.
559398ab 38557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
38558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
38559 file.
38560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
38561 file.
38562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
38563 file.
38564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
38565 file.
38566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
38567 New file.
38568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
38569 file.
38570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
38571 file.
559398ab 38572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
38573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
38574 file.
559398ab 38575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
38576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
38577 file.
559398ab 38578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
38579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
38580 file.
559398ab 38581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
38582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
38583 VIS3 routines.
559398ab
DM
38584
38585 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38586 New file.
38587
5a1c1e32
DM
38588 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38589
eae47a36
DM
38590 * sysdeps/sparc/configure.in: New file.
38591 * sysdeps/sparc/configure: Generate.
38592 * configure.in (libc_cv_sparc_as_vis3): Substitute.
38593 * configure: Regenerate.
38594 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
38595 * config.make.in (have-as-vis3): New.
38596 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
38597 available use -Av9d instead of -Av9a.
38598 * sysdeps/sparc/sparc64/Makefile: Likewise.
38599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
38600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
38601 New file.
38602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
38603 file.
38604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
38605 New file.
38606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
38607 file.
eae47a36
DM
38608 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
38609 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
38610 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
38611 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
38612 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
38613
c0c83bc8
DM
38614 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
38615 fzeros/fnegs to load 0x80000000 into a float register instead of
38616 using the stack.
7bd951ff
DM
38617 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
38618
bd951ccb
JM
386192012-03-14 Joseph Myers <joseph@codesourcery.com>
38620
38621 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38622 bits/syscall.h.
38623 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
38624 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
38625 ($(inst_includedir)/bits/syscall.h): Remove rule.
38626 ($(objpfx)bits/syscall.d): Include instead of
38627 $(objpfx)syscall-list.d.
38628 (generated): Change syscall-list.h and syscall-list.d to
38629 bits/syscall.h and bits/syscall.d.
38630
bb4e6db2
RM
386312012-03-14 Roland McGrath <roland@hack.frob.com>
38632
38633 [BZ #13846]
38634 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
38635
aa4a2ae1
JM
386362012-03-14 Joseph Myers <joseph@codesourcery.com>
38637
e456826d
JM
38638 [BZ #13841]
38639 * math/s_csqrt.c: Include <float.h>.
38640 (__csqrt): Scale large or subnormal inputs.
38641 * math/s_csqrtf.c: Likewise.
38642 * math/s_csqrtl.c: Likewise.
38643 * math/libm-test.inc (csqrt_test): Add more tests.
38644 * sysdeps/i386/fpu/libm-test-ulps: Update.
38645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38646
aa4a2ae1
JM
38647 [BZ #13840]
38648 * math/libm-test.inc (hypot_test): Add more tests.
38649
7c10fd35
DM
386502012-03-13 David S. Miller <davem@davemloft.net>
38651
38652 [BZ #13840]
38653 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
38654 double-precision for the calculation instead of scaling.
38655
f453b98b
JM
386562012-03-13 Joseph Myers <joseph@codesourcery.com>
38657
38658 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
38659 manipulate bits before adding and subtracting TWO52[sx].
38660 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
38661 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
38662 Likewise.
38663 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
38664
09a3453f
DM
386652012-03-13 David S. Miller <davem@davemloft.net>
38666
8e59da90
DM
38667 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
38668 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
38669 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
38670 rtld-global-offsets.h
38671 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38672
2a8ab7f2
DM
38673 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
38674 large parameters.
38675
10f62770
DM
38676 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
38677
5f0bdb18
DM
38678 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
38679 'err' in the ifdef scope in which it is actually used.
38680
09a3453f
DM
38681 * nss/nss_db/db-init.c: Include string.h
38682
b4b2eb5e
DM
386832012-03-12 David S. Miller <davem@davemloft.net>
38684
98bb2f1c
DM
38685 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38686 masking out of the most significant byte of random value used.
38687 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38688 Fix coding style in previous change.
38689
b4b2eb5e
DM
38690 * sysdeps/unix/sysv/linux/kernel-features.h
38691 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
38692 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
38693 expression.
38694 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
38695 later.
38696
6e226b09
DM
386972012-03-11 David S. Miller <davem@davemloft.net>
38698
a1bcbd40
DM
38699 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38700 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
38701 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
38702 for 'resultvar' otherwise things get truncated on 64-bit.
38703
cb9d6174
DM
38704 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38705 Fix masking out of the most significant byte of random value used.
38706
6e226b09
DM
38707 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38708
058c132d
AS
387092012-03-10 Andreas Schwab <schwab@linux-m68k.org>
38710
38711 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38712
2d2cd515
DM
387132012-03-09 David S. Miller <davem@davemloft.net>
38714
38715 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
38716 variables with appropriate CPP guards.
57f41c40
AS
38717 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
38718 from the frame pointer, not the stack pointer. Correct layout
38719 comments. Fix test on resulting framesize and the management of
38720 the outregs buffer for pltexit. Preserve floating point return
38721 values across _dl_call_pltexit call.
2d2cd515
DM
38722 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
38723 framesize and the management of the outregs buffer for pltexit.
38724 Preserve floating point return values across _dl_call_pltexit
38725 call.
57f41c40
AS
38726 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
38727 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
38728 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
38729 (print_exit): Fix format string for return register value.
38730
9a07f9d0
JM
387312012-03-10 Joseph Myers <joseph@codesourcery.com>
38732
38733 * sunrpc/Makefile (others): Add rpcgen.
38734 ($(objpfx)rpcgen): Remove special build rule and dependency on
38735 libc.
38736 * sunrpc/rpcgen.c: New file.
38737
547b5e30
PE
387382012-03-09 Paul Eggert <eggert@cs.ucla.edu>
38739
c524201a
PE
38740 [BZ #13673]
38741 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
38742 * stdio-common/bug-vfprintf-nargs.c: Likewise.
38743 * sysdeps/i386/crti.S: Likewise.
38744 * sysdeps/i386/crtn.S: Likewise.
38745 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
38746 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
38747 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
38748 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
38749 * sysdeps/sh/crti.S: Likewise.
38750 * sysdeps/sh/crtn.S: Likewise.
38751 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38752
7b6235f2
PE
38753 [BZ #13673]
38754 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
38755 with URL.
38756 * locale/programs/locfile-kw.gperf: Likewise.
38757 * locale/programs/charmap-kw.h: Regenerated.
38758 * locale/programs/locfile-kw.h: Likewise.
38759
547b5e30
PE
38760 [BZ #13673]
38761 * intl/plural.y: Replace FSF snail mail address with URL.
38762 * intl/plural.c: Regenerated.
38763
5f0a5dae
RH
387642012-03-09 Richard Henderson <rth@twiddle.net>
38765
38766 * include/math_private.h: Remove file.
38767 * math/math_private.h: Move file ...
38768 * sysdeps/generic/math_private.h: ... here.
38769
b8c03620
RH
38770 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38771 * sysdeps/powerpc/fpu/math_private.h: Likewise.
38772 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38773
4e234f5d 38774 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
38775 and <math_private.h>.
38776 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38777 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38778 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38779 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38780 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38781 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38782 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38783 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38784 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38785 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38786 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38787 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38788 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38789 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38790 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38791 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38792 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38793 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38794 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38795 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38796 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38797 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38798 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38799 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38800 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38801 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38802 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38803 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38804 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38805 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38806 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38807 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38808 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38809 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38810 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38811 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38812 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38813 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38814 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38815 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38816 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
38817 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38818 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38819 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38820 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38821 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38822 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
38823 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38824 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38825 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38826 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38827 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
38828 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38829 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38830 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38831 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38832 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38833 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38834 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38835 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
38836 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38837 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38838 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38839 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38840 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
38841 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38842 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38843 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38844 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
38845 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
38846 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
38847 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38848 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
38849 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38850 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
38851 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
38852 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
38853 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38854 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
38855 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
38856 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
38857 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
38858 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
38859 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38860 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38861 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38862 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
38863 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
38864 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38865 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38866 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38867 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38868 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38869 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38870 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38871 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38872 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38873 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38874 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38875 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38876 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38877 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38878 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38879 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38880 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38881 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38882 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38883 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38884 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38885 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38886 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38887 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38888 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38889 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38890 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
38891 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38892 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38893 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38894 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38895 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38896 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38897 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38898 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38899 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
38900 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38901 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38902 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38903 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
38904 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38905 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
38906 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
38907 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38908 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38909 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
38910 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
38911 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38912 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38913 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38914 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
38915 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38916 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38917 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38918 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38919 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
38920 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
38921 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38922 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38923 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38924 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
38925 * sysdeps/ieee754/k_standard.c: Likewise.
38926 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38927 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38928 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38929 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38930 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38931 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38932 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38933 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38934 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38935 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38936 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38937 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38938 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38939 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38940 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38941 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38942 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
38943 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38944 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38945 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
38946 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
38947 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
38948 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38949 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38950 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
38951 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
38952 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38953 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38954 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38955 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38956 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
38957 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38958 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38959 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38960 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
38961 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38962 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38963 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
38964 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
38965 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38966 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
38967 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
38968 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
38969 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38970 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
38971 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
38972 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38973 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38974 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38975 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38976 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38977 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
38978 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38979 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
38980 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38981 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38982 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
38983 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
38984 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38985 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38986 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38987 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
38988 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38989 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38990 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38991 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38992 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38993 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38994 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38995 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38996 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38997 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38998 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38999 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39000 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39001 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39002 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
39003 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39004 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39005 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39006 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39007 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39008 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39009 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39010 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
39011 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39012 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39013 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
39014 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39015 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39016 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
39017 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39018 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
39019 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39020 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39021 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39022 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
39023 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
39024 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
39025 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
39026 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39027 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39028 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39029 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39030 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
39031 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39032 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39033 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39034 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
39035 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39036 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39037 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39038 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39039 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39040 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39041 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39042 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39043 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39044 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39045 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39046 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39047 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39048 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39049 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39050 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39051 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
39052 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39053 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39054 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39055 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39056 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39057 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39058 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39059 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39060 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39061 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39062 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
39063 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39064 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39065 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
39066 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
39067 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39068 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
39069 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
39070 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39071 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39072 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39073 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39074 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39075 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
39076 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39077 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39078 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39079 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39080 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
39081 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
39082 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39083 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39084 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39085 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39086 * sysdeps/ieee754/s_lib_version.c: Likewise.
39087 * sysdeps/ieee754/s_matherr.c: Likewise.
39088 * sysdeps/ieee754/s_signgam.c: Likewise.
39089 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39090 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39091 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
39092 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
39093 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
39094 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39095 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
39096 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
39097 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
39098 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
39099 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39100 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
39101 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39102 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39103 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
39104 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39105 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39106 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39107 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39108 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39109 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 39110
1991fa03
JM
391112012-03-09 Joseph Myers <joseph@codesourcery.com>
39112
39113 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
39114 * sunrpc/rpc_main.c: Likewise.
39115 * sunrpc/rpc_svcout.c: Likewise.
39116
60d6f5a6
DM
391172012-03-09 David S. Miller <davem@davemloft.net>
39118
39119 * include/math_private.h: New file.
39120
4962050e
JM
391212012-03-09 Joseph Myers <joseph@codesourcery.com>
39122
02a6f887
JM
39123 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
39124 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
39125 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
39126 from <bits/socket_type.h>.
39127 (enum __socket_type): Don't define here.
39128 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
39129 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39130 bits/socket_type.h.
39131
c6e013c1
JM
39132 [BZ #13566]
39133 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
39134 checking __USE_GNU.
39135
4962050e
JM
39136 * Makerules ($(inst_includedir)/%.h): New rule.
39137 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
39138 (install-others): Remove variable setting.
39139 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
39140
38842f45
RH
391412012-03-08 Richard Henderson <rth@twiddle.net>
39142
67bb6da6
RH
39143 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
39144 from macro to inline function; merge with the
39145 !__LIBC_INTERNAL_MATH_INLINES version.
39146 (__ieee754_sqrtf): Likewise.
39147
15194b4b
RH
39148 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
39149 to inline function.
39150 (__rintf, __floor, __floorf): Likewise.
39151
64e21ede
RH
39152 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
39153 macro to inline function.
39154 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
39155
38842f45
RH
39156 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
39157 not <math/math_private.h>.
39158
c64bf5fe
DM
391592012-03-08 David S. Miller <davem@davemloft.net>
39160
39161 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39162 copyright year.
39163 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39164
82d86f28
TS
391652012-03-08 Thomas Schwinge <thomas@codesourcery.com>
39166
39167 * resolv/gai_misc.c (handle_requests): Fix struct timespec
39168 normalization.
39169 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39170 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39171
aea5d727
UD
391722012-03-08 Ulrich Drepper <drepper@gmail.com>
39173
39174 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
39175 be defined individually, they must be defined as a block. Define
39176 S for printing a string instead of hidint the different by using a
39177 macro for adding the 'l'.
39178 * stdio-common/tst-fphex-wide.c: Adjust.
39179
70bca0a3
MP
391802012-03-07 Marek Polacek <polacek@redhat.com>
39181
39182 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
39183
65b81130
MP
391842012-03-08 Marek Polacek <polacek@redhat.com>
39185
39186 [BZ #13806]
39187 * stdio-common/Makefile (tests): Add tst-fphex-wide.
39188 * stdio-common/tst-fphex.c: Define a few macros to make the
39189 test reusable. Use them.
39190 * stdio-common/tst-fphex-wide.c: New file.
39191
07037eeb
JM
391922012-03-08 Joseph Myers <joseph@codesourcery.com>
39193
a7a93d50
JM
39194 [BZ #6911]
39195 * manual/macros.texi (gnusystems): New macro.
39196 (nongnusystems): Likewise.
39197 (gnulinuxhurdsystems): Likewise.
39198 (gnuhurdsystems): Likewise..
39199 (gnulinuxsystems): Likewise.
39200 * manual/charset.texi: Use new macros or @theglibc{} to refer to
39201 variants of the GNU system, not "GNU system".
39202 * manual/conf.texi: Likewise.
39203 * manual/errno.texi: Likewise. Update example of errno macro
39204 expansion.
39205 * manual/filesys.texi: Likewise.
39206 (getumask): Document as specific to GNU/Hurd.
39207 * manual/install.texi: Likewise. Reword some references to
39208 GNU/Linux.
39209 * manual/intro.texi: Likewise.
39210 * manual/io.texi: Likewise.
39211 (File Name Portability): Detail which constraints are inapplicable
39212 to all GNU systems and which are only inapplicable to GNU/Hurd.
39213 * manual/job.texi: Likewise.
39214 * manual/llio.texi: Likewise.
39215 (O_NOCTTY): Document as present on GNU/Linux.
39216 * manual/maint.texi: Likewise.
39217 * manual/memory.texi: Likewise.
39218 * manual/pattern.texi: Likewise.
39219 * manual/pipe.texi: Likewise.
39220 * manual/process.texi: Likewise.
39221 * manual/resource.texi: Likewise.
39222 (RUSAGE_CHILDREN): Remove statement about specifying a particular
39223 child on GNU/Hurd.
39224 * manual/setjmp.texi: Likewise.
39225 * manual/signal.texi: Likewise.
39226 * manual/startup.texi: Likewise.
39227 * manual/stdio.texi: Likewise.
39228 * manual/terminal.texi: Likewise.
39229 (ONLCR): Document as POSIX.
39230 (OXTABS): Document availability on GNU/Linux as XTABS.
39231 (ONOEOT): Document availability separately from other bits.
39232 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39233 * manual/time.texi: Likewise.
39234 * manual/users.texi: Likewise.
39235 * INSTALL: Regenerated.
39236 * sysdeps/gnu/errlist.c: Regenerated.
39237
07037eeb
JM
39238 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39239 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39240 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
39241 puts.
39242 * configure: Regenerated.
39243
d1d3431a
JM
392442012-03-07 Joseph Myers <joseph@codesourcery.com>
39245
af6a1e37
JM
39246 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39247 default includes instead of AC_HEADER_CHECK.
39248 * sysdeps/i386/configure: Regenerated.
39249
d1d3431a
JM
39250 [BZ #10716]
39251 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39252 * math/s_cacoshf.c (__cacoshf): Likewise.
39253 * math/s_cacoshl.c (__cacoshl): Likewise.
39254 * math/s_casinh.c (__casinh): Set signs of result from argument.
39255 * math/s_casinhf.c (__casinhf): Likewise.
39256 * math/s_casinhl.c (__casinhl): Likewise.
39257 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39258 (casinh_test): Add more tests.
39259 * sysdeps/i386/fpu/libm-test-ulps: Update.
39260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39261
482ff4da
UD
392622012-03-07 Ulrich Drepper <drepper@gmail.com>
39263
872fda05
UD
39264 * po/zh_TW.po: Update from translation team.
39265
a4300c7a
UD
39266 * login/Makefile (distribute): Remove variable.
39267 * catgets/Makefile: Likewise.
39268 * mach/Makefile: Likewise.
39269 * malloc/Makefile: Likewise.
39270 * misc/Makefile: Likewise.
39271 * iconv/Makefile: Likewise.
39272 * nscd/Makefile: Likewise.
39273 * hurd/Makefile: Likewise.
39274 * manual/Makefile: Likewise.
39275 * locale/Makefile: Likewise.
39276 * intl/Makefile: Likewise.
39277 * conform/Makefile: Likewise.
39278 * nss/Makefile: Likewise.
39279 * time/Makefile: Likewise.
39280 * soft-fp/Makefile: Likewise.
39281 * dirent/Makefile: Likewise.
39282 * gmon/Makefile: Likewise.
39283 * po/Makefile: Likewise.
39284 * rt/Makefile: Likewise.
39285 * socket/Makefile: Likewise.
39286 * math/Makefile: Likewise.
39287 * signal/Makefile: Likewise.
39288 * debug/Makefile: Likewise.
39289 * elf/Makefile: Likewise.
39290 * timezone/Makefile: Likewise.
39291 * stdlib/Makefile: Likewise.
39292 * iconvdata/Makefile: Likewise.
39293 * sunrpc/Makefile: Likewise.
39294 * io/Makefile: Likewise.
39295 * argp/Makefile: Likewise.
39296 * inet/Makefile: Likewise.
39297 * hesiod/Makefile: Likewise.
39298 * grp/Makefile: Likewise.
39299 * csu/Makefile: Likewise.
39300 * wctype/Makefile: Likewise.
39301 * crypt/Makefile: Likewise.
39302 * libio/Makefile: Likewise.
39303 * string/Makefile: Likewise.
39304 * nis/Makefile: Likewise.
39305 * resolv/Makefile: Likewise.
39306 * stdio-common/Makefile: Likewise.
39307 * wcsmbs/Makefile: Likewise.
39308 * dlfcn/Makefile: Likewise.
39309 * posix/Makefile: Likewise.
39310
3b7c4e74 39311 [BZ #6959]
482ff4da
UD
39312 * timezone/Makefile: Don't install timezone files, just the programs
39313 and scripts.
39314
f72ed77d
UD
393152012-03-06 Ulrich Drepper <drepper@gmail.com>
39316
a000466f
UD
39317 * nss/databases.def: Add missing gshadow entry.
39318
f72ed77d
UD
39319 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
39320
a53b7a4e
MP
393212012-03-06 Marek Polacek <polacek@redhat.com>
39322
39323 [BZ #13726]
39324 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
39325 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39326 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
39327 * stdio-common/tst-long-dbl-fphex.c: New file.
39328
e9258400
DM
393292012-03-06 David S. Miller <davem@davemloft.net>
39330
39331 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39332 (set_obp_int): New function.
39333 (get_obp_int): New function.
39334 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
39335 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
39336 Avoid unused variable warnings on 'val' and use builtin_expect.
39337 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
39338 __builtin_expect.
e9258400
DM
39339 (INLINE_CLONE_SYSCALL): Likewise.
39340
3bd2c723
DM
393412012-03-05 David S. Miller <davem@davemloft.net>
39342
39343 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39344
bbb78d03
AS
393452012-03-05 Andreas Schwab <schwab@linux-m68k.org>
39346
884c5db4
AS
39347 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39348
bbb78d03
AS
39349 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
39350 only for |x| >= 40.
39351 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39352
1c9f702a 393532012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
39354
39355 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
39356 Replace gettimeofday with __vdso_gettimeofday.
39357
7be16f82
RM
39358 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39359 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
39360 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
39361
39362 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
39363 time with __vdso_time.
39364
ed58a00f
JM
393652012-03-05 Joseph Myers <joseph@codesourcery.com>
39366
39367 * manual/lang.texi (size_t): Note types to which size_t may be
39368 equivalent with the GNU C Library, but do not describe when
39369 differences between them are significant.
39370
30ee4ced
AJ
393712012-03-05 Andreas Jaeger <aj@suse.de>
39372
39373 * sysdeps/i386/fpu/libm-test-ulps: Update.
39374
b7cd39e8
JM
393752012-03-05 Joseph Myers <joseph@codesourcery.com>
39376
39377 [BZ #3976]
39378 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
39379 (__ieee754_pow): Save and restore rounding mode and use
39380 round-to-nearest for main computations.
39381 * math/libm-test.inc (pow_test_tonearest): New function.
39382 (pow_test_towardzero): Likewise.
39383 (pow_test_downward): Likewise.
39384 (pow_test_upward): Likewise.
39385 (main): Call the new functions.
39386 * sysdeps/i386/fpu/libm-test-ulps: Update.
39387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
39388
39389 [BZ #3976]
39390 * math/libm-test.inc (cosh_test_tonearest): New function.
39391 (cosh_test_towardzero): Likewise.
39392 (cosh_test_downward): Likewise.
39393 (cosh_test_upward): Likewise.
39394 (sinh_test_tonearest): Likewise.
39395 (sinh_test_towardzero): Likewise.
39396 (sinh_test_downward): Likewise.
39397 (sinh_test_upward): Likewise.
39398 (main): Call the new functions.
39399 * sysdeps/i386/fpu/libm-test-ulps: Update.
39400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39401
6c6a98c9
TV
394022012-03-05 Tom de Vries <tom@codesourcery.com>
39403
39404 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
39405 default stack guard is set in last bytes.
39406 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
39407
21bb2d2e 394082012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 39409
21bb2d2e 39410 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 39411
21bb2d2e
AJ
39412 [BZ #13656]
39413 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
39414 possibly allocate from heap instead of stack.
39415 * stdio-common/bug-vfprintf-nargs.c: New file.
39416 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 39417
c6922934
AS
394182012-03-03 Andreas Schwab <schwab@linux-m68k.org>
39419
39420 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39421
bc957d53
MP
394222012-03-03 Marek Polacek <polacek@redhat.com>
39423
39424 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
39425 * math/math_private.h: Likewise.
39426 * stdlib/tst-strtod.c: Likewise.
39427 * sysdeps/i386/i486/bits/atomic.h: Likewise.
39428 * sysdeps/x86_64/bits/atomic.h: Likewise.
39429
6358490d
DM
394302012-03-02 David S. Miller <davem@davemloft.net>
39431
39432 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
39433 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
39434 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
39435 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
39436 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
39437 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
39438 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
39439 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
39440
01ae168d
RM
394412012-03-02 Roland McGrath <roland@hack.frob.com>
39442
d9a17c07
RM
39443 [BZ #13792]
39444 * manual/examples/README: New file, says the example source files
39445 can be used under GPL>=2.
39446 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
39447 line containing just "*/".
39448 * manual/examples/add.c: Add copyright header (GPL>=2).
39449 * manual/examples/argp-ex1.c: Likewise.
39450 * manual/examples/argp-ex2.c: Likewise.
39451 * manual/examples/argp-ex3.c: Likewise.
39452 * manual/examples/argp-ex4.c: Likewise.
39453 * manual/examples/atexit.c: Likewise.
39454 * manual/examples/db.c: Likewise.
39455 * manual/examples/dir.c: Likewise.
39456 * manual/examples/dir2.c: Likewise.
39457 * manual/examples/execinfo.c: Likewise.
39458 * manual/examples/filecli.c: Likewise.
39459 * manual/examples/filesrv.c: Likewise.
39460 * manual/examples/fmtmsgexpl.c: Likewise.
39461 * manual/examples/genpass.c: Likewise.
39462 * manual/examples/inetcli.c: Likewise.
39463 * manual/examples/inetsrv.c: Likewise.
39464 * manual/examples/isockad.c: Likewise.
39465 * manual/examples/longopt.c: Likewise.
39466 * manual/examples/memopen.c: Likewise.
39467 * manual/examples/memstrm.c: Likewise.
39468 * manual/examples/mkfsock.c: Likewise.
39469 * manual/examples/mkisock.c: Likewise.
39470 * manual/examples/mygetpass.c: Likewise.
39471 * manual/examples/pipe.c: Likewise.
39472 * manual/examples/popen.c: Likewise.
39473 * manual/examples/rprintf.c: Likewise.
39474 * manual/examples/search.c: Likewise.
39475 * manual/examples/select.c: Likewise.
39476 * manual/examples/setjmp.c: Likewise.
39477 * manual/examples/sigh1.c: Likewise.
39478 * manual/examples/sigusr.c: Likewise.
39479 * manual/examples/stpcpy.c: Likewise.
39480 * manual/examples/strdupa.c: Likewise.
39481 * manual/examples/strftim.c: Likewise.
39482 * manual/examples/strncat.c: Likewise.
39483 * manual/examples/subopt.c: Likewise.
39484 * manual/examples/swapcontext.c: Likewise.
39485 * manual/examples/termios.c: Likewise.
39486 * manual/examples/testopt.c: Likewise.
39487 * manual/examples/testpass.c: Likewise.
39488 * manual/examples/timeval_subtract.c: Likewise.
39489
01ae168d
RM
39490 [BZ #13792]
39491 * manual/time.texi (Elapsed Time): Move timeval_subtract example
39492 function to ...
39493 * manual/timeval_subtract.c.texi: ... here, new file.
39494
49efa33d
DM
394952012-03-02 David S. Miller <davem@davemloft.net>
39496
39497 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
39498
28afd92d
JM
394992012-03-02 Joseph Myers <joseph@codesourcery.com>
39500
804360ed
JM
39501 [BZ #3976]
39502 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
39503 (__sin): Save and restore rounding mode and use round-to-nearest
39504 for all computations.
39505 (__cos): Save and restore rounding mode and use round-to-nearest
39506 for all computations.
39507 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
39508 <fenv.h>.
39509 (tan): Save and restore rounding mode and use round-to-nearest for
39510 all computations.
39511 * math/libm-test.inc (cos_test_tonearest): New function.
39512 (cos_test_towardzero): Likewise.
39513 (cos_test_downward): Likewise.
39514 (cos_test_upward): Likewise.
39515 (sin_test_tonearest): Likewise.
39516 (sin_test_towardzero): Likewise.
39517 (sin_test_downward): Likewise.
39518 (sin_test_upward): Likewise.
39519 (tan_test_tonearest): Likewise.
39520 (tan_test_towardzero): Likewise.
39521 (tan_test_downward): Likewise.
39522 (tan_test_upward): Likewise.
39523 (main): Call the new functions.
39524 * sysdeps/i386/fpu/libm-test-ulps: Update.
39525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39526
a6d06d7b
JM
39527 [BZ #10135]
39528 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
39529 small n, then large n, before computing and testing k+n.
39530 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39531 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
39532 Likewise.
39533 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
39534 Likewise.
39535 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
39536 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
39537 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
39538 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
39539 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39540 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39541 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
39542 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
39543 * math/libm-test.inc (scalbn_test): Add more tests.
39544 (scalbln_test): Likewise.
39545
07e12bb3
JM
39546 * manual/filesys.texi (mode_t): Describe constraints on size and
39547 signedness, not exact equivalence to a particular type.
39548 (ino_t): Likewise.
39549 (ino64_t): Likewise.
39550 (dev_t): Likewise.
39551 (nlink_t): Likewise.
39552 (blkcnt_t): Likewise.
39553 (blkcnt64_t): Likewise.
39554 * manual/llio.texi (off_t): Likewise.
39555
28afd92d
JM
39556 [BZ #3976]
39557 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
39558 (__ieee754_exp): Save and restore rounding mode and use
39559 round-to-nearest for all computations.
39560 * math/libm-test.inc (exp_test_tonearest): New function.
39561 (exp_test_towardzero): Likewise.
39562 (exp_test_downward): Likewise.
39563 (exp_test_upward): Likewise.
39564 (main): Call the new functions.
39565 * sysdeps/i386/fpu/libm-test-ulps: Update.
39566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39567
b1eeb65d
CD
395682012-03-01 Chris Demetriou <cgd@google.com>
39569
39570 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
39571 have predictable order.
39572
53362a4b
DM
395732012-03-01 David S. Miller <davem@davemloft.net>
39574
3c969083
DM
39575 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
39576
759707de
DM
39577 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
39578 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
39579 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
39580 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
39581
dfdb8ff2
DM
39582 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
39583 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
39584 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
39585 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
39586 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
39587 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
39588 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
39589 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
39590 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
39591
ead89f96
DM
39592 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39593
7f66bd07
DM
39594 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
39595 * sysdeps/sparc/fpu/libm-test-ulps: to here.
39596 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
39597
53362a4b
DM
39598 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
39599 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39600 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39601 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
39602 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
39603 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
39604 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
39605 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39606 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39607 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
39608 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
39609 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39610 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39611 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39612 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39613 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39614 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
39615 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
39616 * sysdeps/sparc/elf/configure: Regenerated.
39617
7b1902cb
JM
396182012-03-01 Joseph Myers <joseph@codesourcery.com>
39619
bec039bc
JM
39620 * configure.in (AS, LD): Require binutils 2.20 or later.
39621 * configure: Regenerated.
39622 * manual/install.texi (Tools for Compilation): Give binutils 2.20
39623 as required minimum version.
39624 * INSTALL: Regenerated.
39625
7b1902cb
JM
39626 [BZ #2541]
39627 [BZ #4108]
39628 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
39629 before squaring exponent.
39630 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
39631 bottom long double and 27 bits of top long double before squaring
39632 exponent.
39633 * math/libm-test.inc (erfc_test): Add more tests.
39634 * sysdeps/i386/fpu/libm-test-ulps: Update.
39635 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39637
f775c276
KT
396382012-03-01 Kai Tietz <ktietz@redhat.com>
39639
39640 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
39641 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
39642 containing bit-fields.
39643 * soft-fp/extended.h (_FP_UNION_E): Likewise.
39644 * soft-fp/single.h (_FP_UNION_S): Likewise.
39645 * soft-fp/double.h (_FP_UNION_D): Likewise.
39646
5b8a4d4a
JM
396472012-02-29 Joseph Myers <joseph@codesourcery.com>
39648
0bab47b6
JM
39649 [BZ #13786]
39650 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
39651 not include ../strcmp.S.
39652 [USE_AS_STRNCASECMP_L]: Likewise.
39653 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
39654 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
39655 * sysdeps/i386/i686/multiarch/strncase_l-c.c
39656 (__strncasecmp_l_ia32): Define as alias to
39657 __strncasecmp_l_nonascii.
39658
0fcad3e2
JM
39659 [BZ #5794]
39660 * math/libm-test.inc (expm1_test): Add test for bug 5794.
39661 * sysdeps/i386/fpu/libm-test-ulps: Update.
39662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39663
5b8a4d4a
JM
39664 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
39665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39666
8fdceb2e
JL
396672012-02-29 Jeff Law <law@redhat.com>
39668
39669 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
39670 out of bounds read.
39671
1f393a11
MP
396722012-02-29 Marek Polacek <polacek@redhat.com>
39673
39674 [BZ #13706]
39675 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
39676 * elf/Makefile: Add rules to run tst-unused-dep.out.
39677
8847f037
DM
396782012-02-28 David S. Miller <davem@davemloft.net>
39679
39680 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
39681 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
39682 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
39683 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
39684 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
39685 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
39686
169d7f11
JM
396872012-02-29 Joseph Myers <joseph@codesourcery.com>
39688
39689 * math/libm-test.inc (llround_test): Move one test from
39690 lround_test. Use TEST_f_L in moved test.
39691 (lround_test): Move misplaced test to llround_test. Add testcase
39692 from bug 2561.
39693
39adf059
UD
396942012-02-28 Ulrich Drepper <drepper@gmail.com>
39695
39696 * sysdeps/x86_64/fpu/e_expf.S: New file.
39697 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
39698
71b5d1c5
SB
396992012-02-28 Stanislav Brabec <sbrabec@suse.cz>
39700
39701 [BZ #13637]
39702 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
39703 of remain_len that may cause incomplete multi-byte character and
39704 false match.
39705 * posix/bug-regex33.c: New file.
39706 * posix/Makefile (tests): Add bug-regex33.
39707
1f77f049
JM
397082012-02-28 Joseph Myers <joseph@codesourcery.com>
39709
39710 * manual/macros.texi: New file.
39711 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
39712 * manual/libc.texinfo: Include macros.texi.
39713 * manual/creatute.texi: Likewise.
39714 * manual/install.texi: Likewise.
39715 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
39716 @glibcadj{} in references to the GNU C Library.
39717 * manual/charset.texi: Likewise.
39718 * manual/conf.texi: Likewise.
39719 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
39720 when not using those macros.
39721 * manual/creature.texi: Likewise.
39722 * manual/crypt.texi: Likewise.
39723 * manual/errno.texi: Likewise.
39724 * manual/filesys.texi: Likewise.
39725 * manual/header.texi: Likewise.
39726 * manual/install.texi: Likewise.
39727 * manual/intro.texi: Likewise.
39728 * manual/io.texi: Likewise.
39729 * manual/job.texi: Likewise.
39730 * manual/lang.texi: Likewise.
39731 * manual/libc.texiinfo: Likewise.
39732 * manual/llio.texi: Likewise.
39733 * manual/locale.texi: Likewise.
39734 * manual/maint.texi: Likewise.
39735 * manual/math.texi: Likewise.
39736 * manual/memory.texi: Likewise.
39737 * manual/message.texi: Likewise.
39738 * manual/nss.texi: Likewise.
39739 * manual/pattern.texi: Likewise.
39740 * manual/process.texi: Likewise.
39741 * manual/resource.texi: Likewise.
39742 * manual/search.texi: Likewise.
39743 * manual/setjmp.texi: Likewise.
39744 * manual/signal.texi: Likewise.
39745 * manual/socket.texi: Likewise.
39746 * manual/startup.texi: Likewise.
39747 * manual/stdio.texi: Likewise.
39748 * manual/string.texi: Likewise.
39749 * manual/sysinfo.texi: Likewise.
39750 * manual/syslog.texi: Likewise.
39751 * manual/terminal.texi: Likewise.
39752 * manual/time.texi: Likewise.
39753 * manual/users.texi: Likewise.
39754 * INSTALL: Regenerated.
39755 * NOTES: Regenerated.
d40c5d54 39756 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 39757
450bf206
AS
397582012-02-28 Andreas Schwab <schwab@linux-m68k.org>
39759
39760 * include/dirent.h: Include <dirstream.h> before
39761 <dirent/dirent.h>.
39762
741a235b
DM
397632012-02-28 David S. Miller <davem@davemloft.net>
39764
39765 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
39766 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
39767 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
39768 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
39769
d6b5aa58
DM
397702012-02-27 David S. Miller <davem@davemloft.net>
39771
1aff59a3
DM
39772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39773 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39774 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39775 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39776
d6b5aa58
DM
39777 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39778 frame pointer instead of stack pointer relative arg slot.
39779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39780 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39781 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39782
433f48bf
CD
397832012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
39784
39785 [BZ #3992]
39786 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39787
d674b76d
DM
397882012-02-27 David S. Miller <davem@davemloft.net>
39789
39790 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39791 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39793 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39794 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39795 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39796 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
39797 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
39798
0e7727f7
JM
397992012-02-27 Joseph Myers <joseph@codesourcery.com>
39800
39801 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
39802 later. Allow versions 5-9.
43be4ca2 39803 * configure: Regenerated.
0e7727f7
JM
39804 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
39805 required minimum version and 4.6 as recommended version. Do not
39806 mention bugs in GCC 2.7 and 2.8.
43be4ca2 39807 * INSTALL: Regenerated.
0e7727f7 39808
a78bc654
DM
398092012-02-27 David S. Miller <davem@davemloft.net>
39810
428d5830
DM
39811 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
39812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
39813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
39814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
39815 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
39816 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
39817 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
39818 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
39819
a78bc654
DM
39820 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
39821 manipulate bits before adding and subtracting TWO112[sx].
39822 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39823
4579f81c
RM
398242012-02-27 Roland McGrath <roland@hack.frob.com>
39825
36c8acb4
RM
39826 [BZ #13775]
39827 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
39828 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
39829 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
39830 being in POSIX, because they are in 1003.1-2008.
39831
84ad622b
RM
39832 * rt/tst-aio.c: Include <fcntl.h>.
39833 * rt/tst-aio7.c: Likewise.
39834 * rt/tst-aio64.c: Likewise.
39835
4579f81c
RM
39836 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
39837
abd923db
JM
398382012-02-27 Joseph Myers <joseph@codesourcery.com>
39839
39840 * manual/install.texi (--with-headers): Describe headers as
39841 interface headers, not private headers.
39842 (Specific advice for GNU/Linux systems): Describe use of headers
39843 from "make headers_install", not private headers from older
39844 kernels.
43be4ca2 39845 * INSTALL: Regenerated.
abd923db
JM
39846 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
39847 Change to 2.6.19.
39848 * sysdeps/unix/sysv/linux/configure: Regenerated.
39849
6664049b
JM
39850 * manual/llio.texi (fclean): Remove documentation.
39851
bb8b6697
JM
39852 * manual/Makefile (libc-texi-generated): New variable. Include
39853 version.texi.
39854 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
39855 $(libc-texi-generated), not duplicated list of files.
39856 (version.texi, stamp-version): New rules.
39857 (realclean): Remove $(libc-texi-generated), not individual files
39858 from that list. Do not remove dir-add.texinfo.
39859 * manual/libc.texinfo: Comment out uses of edition numbers and
39860 references to printed manual. Remove last-updated dates.
39861 (EDITION): Comment out.
39862 (ISBN): Likewise.
39863 (VERSION, UPDATED): Remove.
39864 (version.texi): Include.
39865
12e5c3b9
AS
398662012-02-27 Andreas Schwab <schwab@linux-m68k.org>
39867
39868 * sysdeps/posix/spawni.c: Include <signal.h>.
39869 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
39870 * sysdeps/pthread/aio_fsync.c: Likewise.
39871
4efeffc1 398722012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 39873
ba63ba08
UD
39874 * conform/Makefile (tests): Run only when not cross-compiling and
39875 when fast-check is not defined.
39876
d94a4670
UD
39877 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
39878 * conform/data/limits.h-data: Fixes for POSIX2008.
39879 * conform/run-conformtest.sh: Run all tests.
39880 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
39881 headers.
39882 * include/bits/dlfcn.h: Likewise.
39883 * include/langinfo.h: Likewise.
39884 * include/monetary.h: Likewise.
39885 * include/sys/poll.h: Likewise.
39886
39887 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
39888 for __USE_GNU.
39889 * posix/spawn.h: Define __need_sigset_t.
39890 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
39891 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
39892 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
39893 to get sigevent_t only.
39894 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
39895 only for __USE_GNU.
39896 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39897 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39898 process_vm_writev only for __USE_GNU.
39899 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
39900
39901 * conform/Makefile: For now ignore errors from run-conformtest.
39902 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
39903 POSIX to avoid namespace pollution. Don't prepend headers.
39904 * conform/data/aio.h-data: Fixes for POSIX testing.
39905 * conform/data/fcntl.h-data: Likewise.
39906 * conform/data/glob.h-data: Likewise.
39907 * conform/data/grp.h-data: Likewise.
39908 * conform/data/pthread.h-data: Likewise.
39909 * conform/data/pwd.h-data: Likewise.
39910 * conform/data/signal.h-data: Likewise.
39911 * conform/data/spawn.h-data: Likewise.
39912 * conform/data/stdio.h-data: Likewise.
39913 * conform/data/stdlib.h-data: Likewise.
39914 * conform/data/stropts.h-data: Likewise.
39915 * conform/data/sys/mman.h-data: Likewise.
39916 * conform/data/sys/stat.h-data: Likewise.
39917 * conform/data/sys/types.h-data: Likewise.
39918 * conform/data/sys/wait.h-data: Likewise.
39919 * conform/data/time.h-data: Likewise.
39920 * conform/data/unistd.h-data: Likewise.
39921 * conform/data/utime.h-data: Likewise.
39922
39923 * io/sys/stat.h: fchmod was always in POSIX.
39924 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
39925 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
39926 * rt/aio.h: Define __need_timespec before including <time.h>.
39927 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
39928 struct. Add forward declaration of pthread_attr_t and use it in
39929 sigevent.
39930 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39931 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39932 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
39933 always remove CLK_TCK definition.
39934
c20105c3
AS
399352012-02-26 Andreas Schwab <schwab@linux-m68k.org>
39936
39937 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
39938
7a270350
UD
399392012-02-25 Ulrich Drepper <drepper@gmail.com>
39940
31341567
UD
39941 * conform/run-conformtest.sh: New file.
39942 * conform/Makefile: Run run-conformtest for tests.
39943 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
39944 support.
39945
39946 * conform/data/uchar.h-data: New file.
39947 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
39948 * conform/data/arpa/inet.h-data: Likewise.
39949 * conform/data/assert.h-data: Likewise.
39950 * conform/data/complex.h-data: Likewise.
39951 * conform/data/cpio.h-data: Likewise.
39952 * conform/data/ctype.h-data: Likewise.
39953 * conform/data/dirent.h-data: Likewise.
39954 * conform/data/dlfcn.h-data: Likewise.
39955 * conform/data/errno.h-data: Likewise.
39956 * conform/data/fcntl.h-data: Likewise.
39957 * conform/data/float.h-data: Likewise.
39958 * conform/data/fmtmsg.h-data: Likewise.
39959 * conform/data/fnmatch.h-data: Likewise.
39960 * conform/data/ftw.h-data: Likewise.
39961 * conform/data/glob.h-data: Likewise.
39962 * conform/data/grp.h-data: Likewise.
39963 * conform/data/iconv.h-data: Likewise.
39964 * conform/data/inttypes.h-data: Likewise.
39965 * conform/data/langinfo.h-data: Likewise.
39966 * conform/data/libgen.h-data: Likewise.
39967 * conform/data/limits.h-data: Likewise.
39968 * conform/data/locale.h-data: Likewise.
39969 * conform/data/math.h-data: Likewise.
39970 * conform/data/monetary.h-data: Likewise.
39971 * conform/data/mqueue.h-data: Likewise.
39972 * conform/data/ndbm.h-data: Likewise.
39973 * conform/data/net/if.h-data: Likewise.
39974 * conform/data/netdb.h-data: Likewise.
39975 * conform/data/netinet/in.h-data: Likewise.
39976 * conform/data/nl_types.h-data: Likewise.
39977 * conform/data/poll.h-data: Likewise.
39978 * conform/data/pthread.h-data: Likewise.
39979 * conform/data/pwd.h-data: Likewise.
39980 * conform/data/regex.h-data: Likewise.
39981 * conform/data/sched.h-data: Likewise.
39982 * conform/data/search.h-data: Likewise.
39983 * conform/data/semaphore.h-data: Likewise.
39984 * conform/data/setjmp.h-data: Likewise.
39985 * conform/data/signal.h-data: Likewise.
39986 * conform/data/spawn.h-data: Likewise.
39987 * conform/data/stdarg.h-data: Likewise.
39988 * conform/data/stdio.h-data: Likewise.
39989 * conform/data/stdlib.h-data: Likewise.
39990 * conform/data/string.h-data: Likewise.
39991 * conform/data/strings.h-data: Likewise.
39992 * conform/data/stropts.h-data: Likewise.
39993 * conform/data/sys/ipc.h-data: Likewise.
39994 * conform/data/sys/mman.h-data: Likewise.
39995 * conform/data/sys/msg.h-data: Likewise.
39996 * conform/data/sys/resource.h-data: Likewise.
39997 * conform/data/sys/select.h-data: Likewise.
39998 * conform/data/sys/sem.h-data: Likewise.
39999 * conform/data/sys/shm.h-data: Likewise.
40000 * conform/data/sys/socket.h-data: Likewise.
40001 * conform/data/sys/stat.h-data: Likewise.
40002 * conform/data/sys/statvfs.h-data: Likewise.
40003 * conform/data/sys/time.h-data: Likewise.
40004 * conform/data/sys/timeb.h-data: Likewise.
40005 * conform/data/sys/times.h-data: Likewise.
40006 * conform/data/sys/types.h-data: Likewise.
40007 * conform/data/sys/uio.h-data: Likewise.
40008 * conform/data/sys/un.h-data: Likewise.
40009 * conform/data/sys/utsname.h-data: Likewise.
40010 * conform/data/sys/wait.h-data: Likewise.
40011 * conform/data/syslog.h-data: Likewise.
40012 * conform/data/tar.h-data: Likewise.
40013 * conform/data/termios.h-data: Likewise.
40014 * conform/data/utime.h-data: Likewise.
40015 * conform/data/utmpx.h-data: Likewise.
40016 * conform/data/varargs.h-data: Likewise.
40017 * conform/data/wchar.h-data: Likewise.
40018 * conform/data/wctype.h-data: Likewise.
40019 * conform/data/wordexp.h-data: Likewise.
40020
40021 * include/stropts.h: New file.
40022 * include/uchar.h: New file.
40023 * include/aio.h: Changes to allow conformtest.pl to use the headers.
40024 * include/assert.h: Likewise.
40025 * include/ctype.h: Likewise.
40026 * include/dirent.h: Likewise.
40027 * include/dlfcn.h: Likewise.
40028 * include/fcntl.h: Likewise.
40029 * include/fnmatch.h: Likewise.
40030 * include/glob.h: Likewise.
40031 * include/grp.h: Likewise.
40032 * include/libio.h: Likewise.
40033 * include/locale.h: Likewise.
40034 * include/math.h: Likewise.
40035 * include/net/if.h: Likewise.
40036 * include/netdb.h: Likewise.
40037 * include/netinet/in.h: Likewise.
40038 * include/pthread.h: Likewise.
40039 * include/pwd.h: Likewise.
40040 * include/regex.h: Likewise.
40041 * include/sched.h: Likewise.
40042 * include/search.h: Likewise.
40043 * include/setjmp.h: Likewise.
40044 * include/signal.h: Likewise.
40045 * include/stdio.h: Likewise.
40046 * include/stdlib.h: Likewise.
40047 * include/string.h: Likewise.
40048 * include/sys/cdefs.h: Likewise.
40049 * include/sys/mman.h: Likewise.
40050 * include/sys/msg.h: Likewise.
40051 * include/sys/resource.h: Likewise.
40052 * include/sys/select.h: Likewise.
40053 * include/sys/socket.h: Likewise.
40054 * include/sys/stat.h: Likewise.
40055 * include/sys/statvfs.h: Likewise.
40056 * include/sys/time.h: Likewise.
40057 * include/sys/times.h: Likewise.
40058 * include/sys/uio.h: Likewise.
40059 * include/sys/utsname.h: Likewise.
40060 * include/sys/wait.h: Likewise.
40061 * include/termios.h: Likewise.
40062 * include/time.h: Likewise.
40063 * include/ulimit.h: Likewise.
40064 * include/unistd.h: Likewise.
40065 * include/utime.h: Likewise.
40066 * include/wchar.h: Likewise.
40067 * include/wctype.h: Likewise.
40068 * include/wordexp.h: Likewise.
40069
40070 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
40071
7a270350
UD
40072 * time/time.h: TIME_UTC must be a macro.
40073 Make timespec_get available for ISO C11 only as well.
40074
7724defc
UD
400752012-02-24 Ulrich Drepper <drepper@gmail.com>
40076
40077 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
40078 Reported by Peng Haitao <penght@cn.fujitsu.com>.
40079
6b1d1d46
JM
400802012-02-24 Joseph Myers <joseph@codesourcery.com>
40081
40082 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 40083
0f8bbd69
JM
400842012-02-24 Joseph Myers <joseph@codesourcery.com>
40085
40086 * manual/texinfo.tex: Update to version 2012-01-19.16.
40087
66ab80bc
JM
400882012-02-24 Joseph Myers <joseph@codesourcery.com>
40089
40090 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
40091
74981cc5
RM
400922012-02-24 Roland McGrath <roland@hack.frob.com>
40093
ee968201
RM
40094 [BZ #13738]
40095 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
40096 * manual/fdl-1.3.texi: New file.
40097 * manual/fdl-1.1.texi: File removed.
40098
74981cc5
RM
40099 [BZ #13738]
40100 * manual/libc.texinfo (FDL_VERSION): New @set.
40101 Use it for mention of FDL in cover text.
40102 (Documentation License): Use it in @include file name.
40103
7bb764bc
JM
401042012-02-22 Joseph Myers <joseph@codesourcery.com>
40105 Roland McGrath <roland@hack.frob.com>
40106
40107 [BZ #5461]
57f41c40
AS
40108 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
40109 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
40110 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
40111 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
40112 name.
40113 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
40114
6cbeae47
JM
401152012-02-22 Joseph Myers <joseph@codesourcery.com>
40116
40117 [BZ #2547]
40118 [BZ #11365]
40119 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
40120 manipulate bits before adding and subtracting TWO23[sx].
40121 * math/libm-test.inc (nearbyint_test): Add more tests.
40122
fe45ce09
JM
401232012-02-22 Joseph Myers <joseph@codesourcery.com>
40124
40125 [BZ #2548]
40126 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
40127 bits before adding and subtracting TWO23[sx].
40128 * math/libm-test.inc (rint_test): Add more tests.
40129 (rint_test_tonearest): Likewise.
40130 (rint_test_towardzero): Likewise.
40131 (rint_test_downward): Likewise.
40132 (rint_test_upward: Likewise.
40133
ff3b3d82
JM
401342012-02-22 Joseph Myers <joseph@codesourcery.com>
40135
40136 [BZ #10110]
40137 * include/stdc-predef.h: New file. Extracted from features.h.
40138 * include/features.h: Include stdc-predef.h.
40139 * Makefile (headers): Add stdc-predef.h.
40140 * CONFORMANCE (Compiler limitations): Update.
40141
ef0aab35
JM
401422012-02-22 Joseph Myers <joseph@codesourcery.com>
40143
40144 * manual/libc.texinfo (VERSION, UPDATED): Revert.
40145
58639409
DM
401462012-02-21 David S. Miller <davem@davemloft.net>
40147
40148 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
40149 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40150
c0e70b25
DM
401512012-02-20 David S. Miller <davem@davemloft.net>
40152
40153 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
40154 using a normal save/restore sequence, rather than allocating a
40155 dummy stack frame just to store a frame pointer and restore.
40156 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40157
fb06851d
JM
401582012-02-21 Joseph Myers <joseph@codesourcery.com>
40159
40160 * manual/install.texi: Fix stray word in line-wrapped comment.
40161
7a8b71c3
DM
401622012-02-20 David S. Miller <davem@davemloft.net>
40163
d510c123
DM
40164 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40165 both binutils and gcc support GOTDATA.
40166
0722d7c2
DM
40167 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40168 "rd %pc" in the PIC register setup sequences.
40169
3d2b3019
DM
40170 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40171 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40172 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40173 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40174 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40175 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40176 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40177 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40178 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
40179 (SYSCALL_ERROR_HANDLER): Likewise.
40180 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40181 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40182 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
40183 (SYSCALL_ERROR_HANDLER): Likewise.
40184
c80098a9
DM
40185 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
40186 (HAVE_GCC_GOTDATA): New.
40187 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
40188 relocation support in both binutils and gcc.
40189 * sysdeps/sparc/elf/configure: Regenerate.
40190
3a2545a0
DM
40191 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
40192 * sysdeps/sparc/sparc32/elf/configure: Delete.
40193 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
40194 * sysdeps/sparc/sparc64/elf/configure: Delete.
40195 * sysdeps/sparc/elf/configure.in: New file.
40196 * sysdeps/sparc/elf/configure: Generate.
40197
7a8b71c3
DM
40198 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
40199 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
40200 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40201 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
40202 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
40203
f1e86fca
JM
402042012-02-21 Joseph Myers <joseph@codesourcery.com>
40205
40206 * manual/install.texi: Do not mention specific glibc version
40207 numbers.
40208 * manual/libc.texinfo (VERSION, UPDATED): Update.
40209 (@copying): Use @copyright{} and range of years.
40210
0e7dfaef
JM
402112012-02-21 Joseph Myers <joseph@codesourcery.com>
40212
40213 [BZ #13695]
40214 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
40215 [crti.S not in sysdirs] (generated): Do not append.
40216 [crti.S not in sysdirs] (omit-deps): Likewise.
40217 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
40218 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
40219 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
40220 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
40221 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
40222 Likewise.
40223 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40224 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40225 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40226 * csu/defs.awk: Remove file.
40227 * sysdeps/generic/initfini.c: Likewise.
40228 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40229 variable.
40230 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40231 Likewise.
40232
599af3ca
JM
402332012-02-20 Joseph Myers <joseph@codesourcery.com>
40234
40235 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40236 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40237 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40238 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40239 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40240 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40241 <bits/epoll.h>.
40242 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40243 (__EPOLL_PACKED): Define to empty if not defined by
40244 <bits/epoll.h>.
40245 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40246 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40247 bits/epoll.h.
40248
0e499750
JM
402492012-02-20 Joseph Myers <joseph@codesourcery.com>
40250
40251 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40252 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40253 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40254 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40255 <bits/timerfd.h>.
40256 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40257 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40258 bits/timerfd.h.
40259
5ad91f6e
JM
402602012-02-20 Joseph Myers <joseph@codesourcery.com>
40261
40262 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
40263 in C locale.
40264 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40265 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40266 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
40267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40268
06b99b02
AJ
402692012-02-20 Aurelien Jarno <aurelien@aurel32.net>
40270
40271 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40272 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40273
7638c0fd
AS
402742012-02-19 Andreas Schwab <schwab@linux-m68k.org>
40275
40276 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
40277 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
40278 defined.
40279 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
40280 Likewise.
40281 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
40282 entry for 2.16.
40283
92221550
AJ
402842012-02-19 Aurelien Jarno <aurelien@aurel32.net>
40285
40286 * math/w_acos.c: Use non-signaling floating-point comparisons.
40287 * math/w_acosf.c: Likewise.
40288 * math/w_acosh.c: Likewise.
40289 * math/w_acoshf.c: Likewise.
40290 * math/w_acoshl.c: Likewise.
40291 * math/w_acosl.c: Likewise.
40292 * math/w_asin.c: Likewise.
40293 * math/w_asinf.c: Likewise.
40294 * math/w_asinl.c: Likewise.
40295 * math/w_atanh.c: Likewise.
40296 * math/w_atanhf.c: Likewise.
40297 * math/w_atanhl.c: Likewise.
40298 * math/w_exp2.c: Likewise.
40299 * math/w_exp2f.c: Likewise.
40300 * math/w_exp2l.c: Likewise.
40301 * math/w_j0.c: Likewise.
40302 * math/w_j0f.c: Likewise.
40303 * math/w_j0l.c: Likewise.
40304 * math/w_j1.c: Likewise.
40305 * math/w_j1f.c: Likewise.
40306 * math/w_j1l.c: Likewise.
40307 * math/w_jn.c: Likewise.
40308 * math/w_jnf.c: Likewise.
40309 * math/w_log.c: Likewise.
40310 * math/w_log10.c: Likewise.
40311 * math/w_log10f.c: Likewise.
40312 * math/w_log10l.c: Likewise.
40313 * math/w_log2.c: Likewise.
40314 * math/w_log2f.c: Likewise.
40315 * math/w_log2l.c: Likewise.
40316 * math/w_logf.c: Likewise.
40317 * math/w_logl.c: Likewise.
40318 * math/w_sqrt.c: Likewise.
40319 * math/w_sqrtf.c: Likewise.
40320 * math/w_sqrtl.c: Likewise.
40321 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40322 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
40323 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40324 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40325 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40326
ebaf36eb
JM
403272012-02-19 Joseph Myers <joseph@codesourcery.com>
40328
40329 [BZ #9739]
40330 * manual/string.texi (strnlen): Use correct parameter name in
40331 equivalent expression.
40332
71c254a6
JM
403332012-02-19 Joseph Myers <joseph@codesourcery.com>
40334
40335 [BZ #11174]
40336 * manual/users.texi (seteuid): Consistently use neweuid for
40337 argument name.
40338
16d2c631
JM
403392012-02-19 Joseph Myers <joseph@codesourcery.com>
40340
40341 [BZ #13704]
40342 * manual/nss.texi (Services in the NSS configuration): Correct
40343 list of services in example configuration file.
40344
cd837b09
NB
403452012-02-19 Nick Bowler <nbowler@draconx.ca>
40346
40347 [BZ #11322]
40348 * manual/arith.texi: Remove statements about negative zero
40349 behaving identically to zero.
40350
02c4bbad
JM
403512012-02-18 Joseph Myers <joseph@codesourcery.com>
40352
40353 [BZ #5993]
40354 * manual/install.texi: Do not document upgrading from libc5.
40355
366842e7
JM
403562012-02-18 Joseph Myers <joseph@codesourcery.com>
40357
40358 [BZ #4596]
40359 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
40360
dd54084d
DM
403612012-02-18 David S. Miller <davem@davemloft.net>
40362
40363 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
40364 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
40365 %o7 across the call.
40366 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
40367 instead.
40368 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
40369 SETUP_PIC_REG_LEAF.
40370 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40371 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
40372 * sysdeps/sparc/crtn.S: Likewise.
40373
2bcc53a3
UD
403742012-02-17 Ulrich Drepper <drepper@gmail.com>
40375
40376 * aout/Makefile: Remove.
40377
09c093b5
RK
403782012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
40379
40380 [BZ #13058]
40381 * manual/examples/argp-ex1.c (main): Format definition in GNU
40382 style.
40383 * manual/examples/argp-ex2.c (main): Likewise.
40384 * manual/examples/argp-ex3.c (main): Likewise.
40385 * manual/examples/argp-ex4.c (main): Likewise.
40386 * manual/examples/longopt.c (main): Use new-style prototype
40387 definition.
40388 * manual/examples/strncat.c (main): Specify return type and use
40389 (void) for arguments.
40390 * manual/examples/subopt.c (main): Use char **argv argument.
40391
2ee633a2
JM
403922012-02-17 Joseph Myers <joseph@codesourcery.com>
40393
40394 [BZ #5077]
40395 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
40396 rounding modes.
40397
0520adde
FB
403982012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
40399
40400 [BZ #6907]
40401 * manual/string.texi (strchr): Change when strchrnul is
40402 recommended.
40403
3f4081cd
DGM
404042012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
40405
40406 [BZ #174]
40407 * manual/locale.texi (setlocale): Document LOCPATH.
40408
d1b10e78
JM
404092012-02-17 Joseph Myers <joseph@codesourcery.com>
40410
40411 [BZ #10210]
40412 * manual/process.texi (execle): Move @dots{} before last argument.
40413
79c6869c
PB
404142012-02-17 Paul Bolle <pebolle@tiscali.nl>
40415
40416 [BZ #12047]
40417 * manual/charset.texi (Generic Charset Conversion): Fix typo
40418 (LC_TYPE -> LC_CTYPE).
40419
cc6e48bc
NB
404202012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
40421
40422 [BZ #5805]
40423 * manual/arith.texi (scalbn): Use @var{} on parameter names.
40424 (scalbnf): Likewise.
40425 (scalbnl): Likewise.
40426 (scalbln): Likewise.
40427 (scalblnf): Likewise.
40428 (scalblnl): Likewise.
40429 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
40430 (vwarnx): Likewise.
40431 (verr): Likewise.
40432 (verrx): Likewise.
40433 * manual/filesys.texi (telldir): Use braces around return type.
40434 * manual/llio.texi (mmap): Add space after comma.
40435 (mmap64): Likewise.
40436 * manual/math.texi (jn): Use @var{} on parameter names.
40437 (jnf): Likewise.
40438 (jnl): Likewise.
40439 (yn): Likewise.
40440 (ynf): Likewise.
40441 (ynl): Likewise.
40442 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
40443 line.
40444 * manual/resource.texi (ulimit): Use @dots{} instead of literal
40445 "...".
40446 (sched_get_priority_min): Remove semicolon on @deftypefun line.
40447 (sched_get_priority_max): Likewise.
40448 * manual/signal.texi (sigvec): Add space after comma.
40449 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
40450 names.
40451 (if_indextoname): Likewise.
40452 (if_freenameindex): Likewise.
40453 (sendto): Use ',' instead of '.' in prototype.
40454 * manual/startup.texi (syscall): Use @dots{} instead of literal
40455 "...".
40456 * manual/stdio.texi (__fpending): Separate initial words of
40457 paragraph from @deftypefun line.
40458 * manual/syslog.texi (syslog): Use @dots{} instead of literal
40459 "...".
40460 (vsyslog): Use @var{} on parameter names.
40461 * manual/terminal.texi (stty): Use @var{} on parameter names.
40462 * manual/users.texi (getutmp): Use @var{} on parameter names.
40463 (getutmpx): Likewise.
40464
5b23062f
JM
404652012-02-17 Joseph Myers <joseph@codesourcery.com>
40466
40467 [BZ #6884]
40468 * manual/stdio.texi (fopen): Fix typos in description of
40469 ",ccs=STRING".
40470
8dee4833
AJ
404712012-02-17 Aurelien Jarno <aurelien@aurel32.net>
40472
40473 [BZ #4026]
40474 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
40475 get clock_id definition.
40476
9078ce93
TS
404772012-02-17 Thomas Schwinge <thomas@schwinge.name>
40478
40479 [BZ #4822]
40480 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
40481 (madvise): Cast every argument to void on its own.
40482
3835c55f
JM
404832012-02-17 Joseph Myers <joseph@codesourcery.com>
40484
40485 [BZ #9902]
40486 * manual/startup.texi (Exit Status): Fix typo.
40487
35c47e37
JM
404882012-02-17 Joseph Myers <joseph@codesourcery.com>
40489
40490 [BZ #10140]
40491 * manual/examples/argp-ex1.c: Include <stdlib.h>.
40492 * manual/examples/argp-ex2.c: Likewise.
40493 * manual/examples/argp-ex3.c: Likewise.
40494
e3b69ca7
RH
404952012-02-16 Richard Henderson <rth@redhat.com>
40496
40497 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
40498 * sysdeps/s390/s390-32/initfini.c: Remove.
40499 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
40500 * sysdeps/s390/s390-64/initfini.c: Remove.
40501
df83af67
KK
405022012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40503
40504 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
40505 compiler output for sysdeps/generic/initfini.c.
40506 * sysdeps/sh/elf/initfini.c: Remove file.
40507
f63f3380
DM
405082012-02-16 David S. Miller <davem@davemloft.net>
40509
fb59b3a4
DM
40510 [BZ #11494]
40511 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
40512
f63f3380
DM
40513 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
40514 * sysdeps/sparc/crti.S: New file.
40515 * sysdeps/sparc/crtn.S: New file.
40516 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
40517 * sysdeps/sparc/sparc64/Makefile: Likewise.
40518
df6a4a4a
MF
405192012-02-15 Mike Frysinger <vapier@gentoo.org>
40520
6dd8f3dc 40521 [BZ #3335]
df6a4a4a
MF
40522 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
40523
1cac7236
RM
405242012-02-15 Roland McGrath <roland@hack.frob.com>
40525
d2c736f8
RM
40526 [BZ #4822]
40527 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
40528
1cac7236
RM
40529 * mach/devstream.c (cookie_io_functions_t): Macro removed.
40530 (write, read, close): Likewise.
40531 Patch by Aurelien Jarno <aurelien@aurel32.net>.
40532
8e475601
JM
405332012-02-15 Joseph Myers <joseph@codesourcery.com>
40534
40535 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
40536 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
40537 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
40538 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
40539 <bits/signalfd.h>.
40540 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
40541 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40542 bits/signalfd.h.
40543
ed656b40
MP
405442012-02-14 Marek Polacek <polacek@redhat.com>
40545
40546 * sysdeps/x86_64/crti.S: New file.
40547 * sysdeps/x86_64/crtn.S: New file.
40548 * sysdeps/x86_64/elf/initfini.c: Remove file.
40549
2a979d3a
JM
405502012-02-13 Joseph Myers <joseph@codesourcery.com>
40551
40552 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
40553 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
40554 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
40555 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
40556 <bits/inotify.h>.
40557 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
40558 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40559 bits/inotify.h.
40560
2a418ac3
JM
405612012-02-13 Joseph Myers <joseph@codesourcery.com>
40562
40563 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
40564 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
40565 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
40566 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
40567 <bits/eventfd.h>.
40568 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
40569 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40570 bits/eventfd.h.
40571
fb779be7
TS
405722012-02-10 Thomas Schwinge <thomas@codesourcery.com>
40573
e19e83c5
RM
40574 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
40575 __feraiseexcept instead of feraiseexcept.
7c35ffed 40576
fb779be7
TS
40577 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
40578 nanosleep invocations.
40579 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
40580 strings, and add error checking for a nanosleep invocations.
40581
59ba27a6
PE
405822012-02-09 Paul Eggert <eggert@cs.ucla.edu>
40583
40584 Replace FSF snail mail address with URLs, as per GNU coding standards.
40585 Most of the snail mail addresses were wrong anyway, and omitting
40586 them makes the source code easier to maintain. Almost all of the
40587 changes are to license notices and to locale LC_IDENTIFICATION
40588 addresses, except for this one:
40589 * manual/libc.texinfo: In "Published by", give the FSF's URL,
40590 not its snail mail address.
40591
57b957eb
RH
405922012-02-09 Richard Henderson <rth@twiddle.net>
40593
af850b1c
RH
40594 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
40595 of kernel-features.h.
40596
57b957eb
RH
40597 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
40598
6b73181a
MP
405992012-02-08 Marek Polacek <polacek@redhat.com>
40600
40601 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
40602 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
40603 * sysdeps/gnu/_G_config.h: Likewise.
40604 * sysdeps/generic/_G_config.h: Likewise.
40605
26ecc33a
AS
406062012-02-08 Andreas Schwab <schwab@linux-m68k.org>
40607
6c6dbc63
AS
40608 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
40609 tests.
40610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40611
e216c012
AS
40612 * sysdeps/powerpc/powerpc32/crti.S: New file.
40613 * sysdeps/powerpc/powerpc32/crtn.S: New file.
40614 * sysdeps/powerpc/powerpc64/crti.S: New file.
40615 * sysdeps/powerpc/powerpc64/crtn.S: New file.
40616
26ecc33a
AS
40617 * Makeconfig (have-initfini): Don't set.
40618 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
40619 * configure.in (nopic_initfini): Don't substitute.
40620 * config.h.in (HAVE_INITFINI): Don't #undef.
40621 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
40622 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
40623
3add8e13
JM
406242012-02-08 Joseph Myers <joseph@codesourcery.com>
40625
40626 Support crti.S and crtn.S provided directly by architectures.
40627 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
40628 [crti.S in sysdirs] (omit-deps): Likewise.
40629 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
40630 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
40631 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
40632 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
40633 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
40634 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
40635 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
40636 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
40637 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
40638 compiler output for sysdeps/generic/initfini.c.
40639 * sysdeps/i386/elf/Makefile: Remove file.
40640 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
40641
a22f12b4
MP
406422012-02-07 Marek Polacek <polacek@redhat.com>
40643
40644 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
40645 * sysdeps/gnu/_G_config.h: Likewise.
40646 * sysdeps/mach/hurd/_G_config.h: Likewise.
40647
148cf100
MP
406482012-02-07 Marek Polacek <polacek@redhat.com>
40649
40650 * math/Makefile (tests): Add tst-CMPLX2.
40651 * math/tst-CMPLX2.c: New file.
40652
cfdc0dd7
AS
406532012-02-07 Andreas Schwab <schwab@linux-m68k.org>
40654
84ba42c4
AS
40655 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40656
cfdc0dd7
AS
40657 * math/libm-test.inc (jn_test): Add missing L suffix.
40658
622c86f4
MP
406592012-02-06 Marek Polacek <polacek@redhat.com>
40660
40661 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
40662 * sysdeps/i386/fpu/e_powf.S: Likewise.
40663 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40664 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40665 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40666 * sysdeps/i386/fpu/e_pow.S: Likewise.
40667 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40668 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40669 * sysdeps/i386/fpu/s_expm1.S: Likewise.
40670 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40671 * sysdeps/i386/fpu/e_log2.S: Likewise.
40672 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40673 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40674 * sysdeps/i386/fpu/e_powl.S: Likewise.
40675 * sysdeps/i386/fpu/s_log1p.S: Likewise.
40676 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40677 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40678 * sysdeps/i386/fpu/e_logl.S: Likewise.
40679 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40680 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
40681 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40682 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40683 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40684 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40685 * sysdeps/i386/fpu/e_log.S: Likewise.
40686 * sysdeps/i386/fpu/s_cexp.S: Likewise.
40687 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40688 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
40689 * sysdeps/i386/fpu/e_logf.S: Likewise.
40690 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40691 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40692 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
40693 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40694 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40695 * sysdeps/i386/fpu/e_log10.S: Likewise.
40696 * sysdeps/i386/fpu/s_frexp.S: Likewise.
40697 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40698 * sysdeps/i386/fpu/s_asinh.S: Likewise.
40699 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40700 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40701 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40702 * sysdeps/i386/asm-syntax.h: Likewise.
40703 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40704 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40705 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40706 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
40707 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
40708 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40709 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40710 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40711 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40712 * sysdeps/powerpc/sysdep.h: Likewise.
40713 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
40714 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40715
d4a54ac6
JM
407162012-02-06 Joseph Myers <joseph@codesourcery.com>
40717
40718 [BZ #411]
40719 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
40720
314054ea
JM
407212012-02-06 Joseph Myers <joseph@codesourcery.com>
40722
40723 * sysdeps/i386/sysdep.h: Include <features.h>.
40724 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
40725 version.
40726
d8e0ca50
JM
407272012-02-05 Joseph Myers <joseph@codesourcery.com>
40728
40729 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
40730 Define.
40731 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
40732 LOAD_PIC_REG_STR.
40733
b1da7dd9
JM
407342012-02-03 Joseph Myers <joseph@codesourcery.com>
40735
40736 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
40737 (SETUP_PIC_REG): Use GET_PC_THUNK.
40738 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
40739 macro.
40740
9a1d9254
JM
407412012-02-03 Joseph Myers <joseph@codesourcery.com>
40742
40743 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
40744 for non-PIC compilation.
40745 (SETUP_PIC_REG): Add .p2align directive.
40746 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
40747 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40748 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40749 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40750 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40751 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40752 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40753 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40754 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40755 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40756 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40757 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40758 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40759 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40760 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40761 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40762 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40763 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40764 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40765 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40766 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40767 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40768 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40769 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40770 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40771 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40772 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40773 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40774 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40775 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40776 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40777 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40778 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40779 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40780 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40781 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40782 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40783 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40784 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40785 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40786 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40787
65dc3b75
JM
407882012-02-03 Joseph Myers <joseph@codesourcery.com>
40789
40790 * math/tst-CMPLX.c: Include <stdio.h>.
40791
d55bf177
JM
407922012-01-31 Joseph Myers <joseph@codesourcery.com>
40793
40794 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40795 float.
40796 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40797 * sysdeps/sparc/bits/mathdef.h: Likewise.
40798
69db4f8f
MP
407992012-01-31 Marek Polacek <polacek@redhat.com>
40800
40801 * libio/libio.h: Don't define _PARAMS.
40802 * locale/programs/config.h: Don't define PARAMS.
40803 * stdlib/strtol_l.c: Likewise.
40804 (__strtol_l): Remove PARAMS from the prototype.
40805
41b81892
UD
408062012-01-31 Ulrich Drepper <drepper@gmail.com>
40807
3b49edc0
UD
40808 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
40809 names. Just use the correct names. Remove unnecessary wrapper
40810 functions.
40811 * malloc/arena.c: Likewise.
40812 * malloc/hooks.c: Likewise.
40813
41b81892
UD
40814 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
40815 ARENA_TEST says not to. Simplify test for creation of a new arena.
40816 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
40817
27a25b6e
UD
408182012-01-30 Ulrich Drepper <drepper@gmail.com>
40819
40820 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
40821 into tail calls.
40822 (update_get_addr): New function.
40823 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
40824 GET_ADDR_MODULE parameter.
40825
c8a89e7d
JM
408262012-01-30 Joseph Myers <joseph@codesourcery.com>
40827
40828 * crypt/cert.c: Remove __STDC__ conditionals.
40829 * crypt/crypt-entry.c: Likewise.
40830 * crypt/crypt_util.c: Likewise.
40831 * libio/filedoalloc.c: Likewise.
40832 * libio/fileops.c: Likewise.
40833 * libio/genops.c: Likewise.
40834 * libio/iofclose.c: Likewise.
40835 * libio/iofdopen.c: Likewise.
40836 * libio/iofopen.c: Likewise.
40837 * libio/iofopen64.c: Likewise.
40838 * libio/iogetdelim.c: Likewise.
40839 * libio/iopopen.c: Likewise.
40840 * libio/obprintf.c: Likewise.
40841 * libio/oldfileops.c: Likewise.
40842 * libio/oldiofclose.c: Likewise.
40843 * libio/oldiofdopen.c: Likewise.
40844 * libio/oldiofopen.c: Likewise.
40845 * libio/oldiopopen.c: Likewise.
40846 * libio/wfiledoalloc.c: Likewise.
40847 * libio/wgenops.c: Likewise.
40848 * locale/programs/xmalloc.c: Likewise.
40849 * misc/syslog.c: Likewise.
40850 * stdio-common/xbug.c: Likewise.
40851 * string/memchr.c: Likewise.
40852 * string/memcmp.c: Likewise.
40853 * string/memrchr.c: Likewise.
40854 * string/rawmemchr.c: Likewise.
40855 * sysdeps/posix/getcwd.c: Likewise.
40856 * time/strftime_l.c: Likewise.
40857
3b100462
JM
408582012-01-30 Joseph Myers <joseph@codesourcery.com>
40859
40860 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
40861 * config.make.in (config-cflags-sse2avx): Define.
40862 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
40863 Fix typo.
40864
607998af
CM
408652012-01-29 Chris Metcalf <cmetcalf@tilera.com>
40866
40867 * scripts/config.guess: Update from upstream config git repository.
40868 * scripts/config.sub: Likewise.
40869
3601428f
CM
408702012-01-28 Chris Metcalf <cmetcalf@tilera.com>
40871
3ac8b282
CM
40872 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
40873 (EM_NUM): Update.
40874 (R_TILEPRO_*, R_TILEGX_*): New macros.
40875
e034841e
CM
40876 * scripts/firstversions.awk: Fix bug in version range handling.
40877
540d7568
CM
40878 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
40879
3601428f
CM
40880 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
40881
463de862
CM
40882 * include/sys/epoll.h: New file.
40883 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
40884 libc_hidden_def.
40885
73139a76
UD
408862012-01-28 Ulrich Drepper <drepper@gmail.com>
40887
96bc5b45
UD
40888 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
40889 Avoid unnecessary __WORDSIZE == 64 test.
40890 (fmaxf): Use VEX format if possible.
40891 (fmax): Likewise.
40892 (fminf): Likewise.
40893 (fmin): Likewise.
40894
56f6f6a2
UD
40895 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
40896 * math/math_private.h: Remove libc_fegetround* and
40897 libc_fesetround*.
40898 * sysdeps/i386/configure.in: Check for -msse2avx.
40899 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
40900 also if SSE2AVX is defined.
40901 Remove libc_fegetround* and libc_fesetround*.
40902 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
40903 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
40904 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
40905 of HAS_YMM_USABLE.
40906 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40907 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40908 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40909 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40910 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40911
73139a76
UD
40912 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
40913
d73f93a4
AZ
409142012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40915
40916 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
40917 size is not set.
40918 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40919
6ee65ed6
UD
409202012-01-27 Ulrich Drepper <drepper@gmail.com>
40921
40922 [BZ #13618]
40923 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
40924 relocation.
40925 * Makeconfig (libm): Define.
40926 * elf/Makefile: Add rules to build and run tst-relsort1.
40927 * elf/tst-relsort1.c: New file.
40928 * elf/tst-relsort1mod1.c: New file.
40929 * elf/tst-relsort1mod2.c: New file.
40930
8db21882
JM
409312012-01-27 Joseph Myers <joseph@codesourcery.com>
40932
40933 * math/s_ldexp.c: Remove __STDC__ conditionals.
40934 * math/s_ldexpf.c: Likewise.
40935 * math/s_ldexpl.c: Likewise.
40936 * math/s_nextafter.c: Likewise.
40937 * math/s_nexttowardf.c: Likewise.
40938 * math/s_significand.c: Likewise.
40939 * math/s_significandf.c: Likewise.
40940 * math/s_significandl.c: Likewise.
40941 * math/w_jnl.c: Likewise.
40942 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40943 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40944 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40945 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40946 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40947 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40948 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
40949 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40950 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40951 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40952 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40953 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40954 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40955 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40956 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40957 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40958 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40959 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40960 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40961 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40962 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40963 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40964 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40965 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40966 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40967 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40968 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40969 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40970 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40971 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40972 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40973 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40974 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40975 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40976 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40977 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40978 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40979 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40980 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40981 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40982 * sysdeps/ieee754/k_standard.c: Likewise.
40983 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40984 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40985 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40986 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40987 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40988 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40989 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40990 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40991 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40992 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40993 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40994 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40995 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40996 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40997 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40998 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40999 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41000 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41001 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41002 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41003 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41004 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41005 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41006 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41007 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41008 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41009 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41010 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41011 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41012 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41013 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41014 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
41015 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41016 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41017 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41018 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41019 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
41020 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41021 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41022 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
41023 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
41024 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41025 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41026 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
41027 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41028 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41029 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41030 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41031 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41032 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41033 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
41034 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41035 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41036 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41037 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41038 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41039 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
41040 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41041 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41042 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41043 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41044 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41045 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41046 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41047 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41048 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41049 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41050 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41051 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41052 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41053 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41054 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41055 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41056 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41057 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41058 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41059 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41060 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41061 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41062 * sysdeps/ieee754/s_matherr.c: Likewise.
41063 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41064 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41065 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41066 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41067
965a54a4
JM
410682012-01-26 Joseph Myers <joseph@codesourcery.com>
41069
41070 * crypt/md5.h: Remove __STDC__ conditionals.
41071 * libio/libioP.h: Likewise.
41072 * locale/programs/config.h: Likewise.
41073 * sysdeps/generic/sysdep.h: Likewise.
41074 * sysdeps/i386/asm-syntax.h: Likewise.
41075 * sysdeps/s390/asm-syntax.h: Likewise.
41076 * sysdeps/unix/sysdep.h: Likewise.
41077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41079
7071ad79
JM
410802012-01-26 Joseph Myers <joseph@codesourcery.com>
41081
41082 * libio/libio.h: Remove __STDC__ conditionals.
41083 * malloc/obstack.h: Likewise.
41084 * math/complex.h: Likewise.
41085 * math/math.h: Likewise.
41086 * sysdeps/generic/_G_config.h: Likewise.
41087 * sysdeps/gnu/_G_config.h: Likewise.
41088 * sysdeps/mach/hurd/_G_config.h: Likewise.
41089 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41090 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41091 * sysdeps/sparc/bits/mathdef.h: Likewise.
41092
afc5ed09
UD
410932012-01-26 Ulrich Drepper <drepper@gmail.com>
41094
41095 [BZ #13583]
41096 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 41097 Clean up HAS_* macros.
afc5ed09 41098 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
41099 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
41100 possible.
41101 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
41102 HAS_AVX.
41103 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41104 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41105 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41106 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41107 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 41108
bdb6de1d
JM
411092012-01-25 Joseph Myers <joseph@codesourcery.com>
41110
41111 * elf/tst-unique3.cc (gets): Remove declaration.
41112 * elf/tst-unique3lib.cc (gets): Likewise.
41113 * elf/tst-unique3lib2.cc (gets): Likewise.
41114 * elf/tst-unique4.cc (gets): Likewise.
41115
b15549e6
UD
411162012-01-24 Ulrich Drepper <drepper@gmail.com>
41117
41118 * include/stdio.h: Add C++ protection. Add gets declarations and
41119 definitions.
41120 * debug/tst-chk1.c: Don't declare gets here.
41121 * stdio-common/tst-gets.c: Likewise.
41122
a037381f
JM
411232012-01-24 Joseph Myers <joseph@codesourcery.com>
41124
41125 * posix/glob: Remove directory.
41126
f1d4aa75
JM
411272012-01-24 Joseph Myers <joseph@codesourcery.com>
41128
41129 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
41130
81c0c964
PT
411312012-01-22 Pino Toscano <toscano.pino@tiscali.it>
41132
41133 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
41134 of the non-standard EPFNOSUPPORT.
41135
0ea698ae
ST
411362011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
41137
41138 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
41139 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
41140 ANYWHERE set to 1 only on KERN_NO_SPACE error.
41141
d220b117
UD
411422012-01-21 Ulrich Drepper <drepper@gmail.com>
41143
41144 * wcsmbs/uchar.h: Test __STDC_VERSION__.
41145
3e1aa84e
UD
411462012-01-20 Ulrich Drepper <drepper@gmail.com>
41147
41148 * nscd/aicache.c (addhstaiX): Do not cache negative results of
41149 transient errors.
41150 * nscd/grpcache.c (cache_addgr): Likewise.
41151 * nscd/hstcache.c (cache_addhst): Likewise.
41152 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41153 * nscd/pwdcache.c (cache_addpw): Likewise.
41154 * nscd/servicescache.c (cache_addserv): Likewise.
41155
400aa020
UD
411562012-01-16 Ulrich Drepper <drepper@gmail.com>
41157
d77e7869
UD
41158 * malloc/malloc.c: Various cleanups.
41159 * malloc/hooks.c: Likewise.
41160
400aa020
UD
41161 * stdlib/Makefile (tests): Add bug-fmtmsg1.
41162 * stdlib/bug-fmtmsg1.c: New file.
41163
41164 * stdlib/fmtmsg.c (init): Add missing unlock.
41165 Patch by Peng Haitao <penght@cn.fujitsu.com>.
41166
e0a309cf
MP
411672012-01-12 Marek Polacek <polacek@redhat.com>
41168
41169 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41170 and _GNU_SOURCE.
41171
929d11c7
WS
411722012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41173
41174 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
41175 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
41176 macro to ensure uniqueness of label name.
41177 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41178 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41179
41d0e869
UD
411802012-01-11 Ulrich Drepper <drepper@gmail.com>
41181
0cc5ed3b
UD
41182 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
41183
41d0e869
UD
41184 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
41185 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41186 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41187 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
41188
a47a831a
UD
411892012-01-10 Ulrich Drepper <drepper@gmail.com>
41190
daa891c0
UD
41191 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
41192
41193 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
41194 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41195 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41196
e58ef0f2
UD
41197 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
41198
a47a831a 41199 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
41200 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41201 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 41202 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
41203
41204 * math/bits/math-finite.h: Add ldexp support.
41205
a0bfc9c7
MP
412062012-01-10 Marek Polacek <polacek@redhat.com>
41207
41208 * locale/programs/localedef.h (show_archive_content): Add noreturn
41209 attribute.
41210
d6e97a1d
UD
412112012-01-09 Ulrich Drepper <drepper@gmail.com>
41212
41213 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
41214
d5835c26
UD
412152012-01-08 Ulrich Drepper <drepper@gmail.com>
41216
e5f484c6
UD
41217 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
41218
d5835c26
UD
41219 * io/Makefile (headers): Add bits/poll2.h.
41220
d1f741e9
WS
412212011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
41222
41223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41224 typo #include statement.
41225
ec09c1c4
UD
412262012-01-08 Ulrich Drepper <drepper@gmail.com>
41227
41228 * include/sys/cdefs.h: Define __attribute_alloc_size.
41229 * catgets/gencat.c: Add alloc_size attribute and apply consistently
41230 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41231 * elf/pldd.c: Likewise.
41232 * iconv/iconv_charmap.c: Likewise.
41233 * iconv/iconvconfig.c: Likewise.
41234 * iconv/strtab.c: Likewise.
41235 * locale/programs/locale.c: Likewise.
41236 * locale/programs/localedef.h: Likewise.
41237 * locale/programs/simple-hash.c: Likewise.
41238 * nscd/nscd.h: Likewise.
41239 * nss/makedb.c: Likewise.
41240 * sysdeps/generic/ldconfig.h: Likewise.
41241 * locale/programs/localedef.c: Remove xmalloc prototype.
41242 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41243
20b38e03
PP
412442012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41245
41246 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41247 appropriate.
41248
a0da5fe1
UD
412492012-01-08 Ulrich Drepper <drepper@gmail.com>
41250
1d5a644a 41251 * math/Makefile (tests): Add tst-CMPLX.
669704fd 41252 * math/tst-CMPLX.c: New file.
1d5a644a 41253
8784a6db
UD
41254 * math/complex.h (CMPLXL): Fix typo.
41255
d9a216c0
UD
41256 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41257 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41258 GLIBC_2.16.
41259 * debug/tst-chk1.c: Add poll and ppoll tests.
41260 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41261 * include/sys/poll.h: Add hidden proto for ppoll.
41262 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41263 * sysdeps/mach/hurd/ppoll.c: Likewise.
41264 * io/ppoll.c: Likewise.
41265 * debug/poll_chk.c: New file.
41266 * debug/ppoll_chk.c: New file.
41267 * include/bits/poll2.h: New file.
41268 * io/bits/poll2.h: New file.
41269
ac097f5c
UD
41270 [BZ #1350]
41271 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
41272
2119dcfa
UD
41273 * configure.in: static is always set to yes. Remove.
41274 * config.make.in: Don't set build-static.
41275 * Makeconfig: Remove use of build-static.
41276 * dlfcn/Makefile: Likewise.
41277 * elf/Makefile: Likewise.
41278 * math/Makefile: Likewise.
41279 * misc/Makefile: Likewise.
41280 * nptl/Makefile: Likewise.
41281 * sysdeps/mach/hurd/Makefile: Likewise.
41282
121766a9
UD
41283 * configure.in: PWD_P is not used anymore.
41284 * config.make.in: Remove PWD_P entry.
41285
51a1d39c 41286 * configure.in: Remove last remnants of RANLIB.
8720d066 41287 No need to check for signed size_t anymore.
215f4bdc
UD
41288 Don't set libc_commonpagesize and libc_relro_required here for Alpha
41289 and IA-64.
3857022a 41290 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
41291 * aclocal.m4: Likewise.
41292
d3ed7225
UD
41293 * wcsmbs/mbrtoc16.c: Implement using towc function.
41294 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
41295 * wcsmbs/wcsmbsload.c: Likewise.
41296 * iconv/gconv_simple.c: Likewise.
41297 * iconv/gconv_int.h: Likewise.
41298 * iconv/gconv_builtin.h: Likewise.
41299 * iconv/iconv_prog.c: Remove CHAR16 handling.
41300
41301 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
41302
41303 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
41304
a0da5fe1
UD
41305 * configure.in: Remove --with-elf and --enable-bounded options.
41306 Dont set base_machine for ia64. More non-ELF conditions removed.
41307 Remove testing and setting of leading underscore information.
41308 * config.make.in (build-bounded): Set to no.
41309 * config.h.in: Remove NO_UNDERSCORES entry.
41310 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
41311 them.
41312 * csu/start.c: Remove !NO_UNDERSCORE code.
41313 * locale/localeinfo.h: Likewise.
41314 * sysdeps/generic/machine-gmon.h: Likewise.
41315 * sysdeps/generic/sysdep.h: Likewise.
41316 * sysdeps/i386/sysdep.h: Likewise.
41317 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41318 * sysdeps/mach/sysdep.h: Likewise.
41319 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41320 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41321 * sysdeps/sh/sysdep.h: Likewise.
41322 * sysdeps/sparc/sparc32/alloca.S: Likewise.
41323 * sysdeps/unix/i386/sysdep.S: Likewise.
41324 * sysdeps/unix/sparc/start.c: Likewise.
41325 * sysdeps/unix/sparc/sysdep.S: Likewise.
41326 * sysdeps/unix/sparc/sysdep.h: Likewise.
41327 * sysdeps/unix/start.c: Likewise.
41328 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41329 * sysdeps/x86_64/sysdep.h: Likewise.
41330
df78418a
UD
413312012-01-07 Ulrich Drepper <drepper@gmail.com>
41332
a784e502
UD
41333 [BZ #13553]
41334 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
41335 for non-gcc.
41336 * argp/argp-fmtstream.h: Use const instead __const.
41337 * argp/argp.h: Likewise.
41338 * assert/assert.h: Likewise.
41339 * bits/fenv.h: Likewise.
41340 * bits/sched.h: Likewise.
41341 * bits/sigset.h: Likewise.
41342 * bits/sigthread.h: Likewise.
41343 * catgets/nl_types.h: Likewise.
41344 * conform/data/pthread.h-data: Likewise.
41345 * crypt/crypt-private.h: Likewise.
41346 * crypt/crypt.h: Likewise.
41347 * crypt/crypt_util.c: Likewise.
41348 * ctype/ctype.h: Likewise.
41349 * debug/execinfo.h: Likewise.
41350 * debug/mbsnrtowcs_chk.c: Likewise.
41351 * debug/mbsrtowcs_chk.c: Likewise.
41352 * debug/wcsnrtombs_chk.c: Likewise.
41353 * debug/wcsrtombs_chk.c: Likewise.
41354 * debug/wcstombs_chk.c: Likewise.
41355 * dirent/dirent.h: Likewise.
41356 * dlfcn/dlfcn.h: Likewise.
41357 * elf/neededtest4.c: Likewise.
41358 * grp/grp.h: Likewise.
41359 * gshadow/gshadow.h: Likewise.
41360 * iconv/gconv.h: Likewise.
41361 * iconv/gconv_int.h: Likewise.
41362 * iconv/gconv_simple.c: Likewise.
41363 * iconv/iconv.h: Likewise.
41364 * iconv/loop.c: Likewise.
41365 * iconv/skeleton.c: Likewise.
41366 * include/aio.h: Likewise.
41367 * include/aliases.h: Likewise.
41368 * include/argz.h: Likewise.
41369 * include/arpa/inet.h: Likewise.
41370 * include/assert.h: Likewise.
41371 * include/dirent.h: Likewise.
41372 * include/dlfcn.h: Likewise.
41373 * include/execinfo.h: Likewise.
41374 * include/fcntl.h: Likewise.
41375 * include/fenv.h: Likewise.
41376 * include/glob.h: Likewise.
41377 * include/grp.h: Likewise.
41378 * include/libintl.h: Likewise.
41379 * include/mntent.h: Likewise.
41380 * include/netdb.h: Likewise.
41381 * include/pwd.h: Likewise.
41382 * include/rpc/netdb.h: Likewise.
41383 * include/sched.h: Likewise.
41384 * include/search.h: Likewise.
41385 * include/shadow.h: Likewise.
41386 * include/signal.h: Likewise.
41387 * include/stdio.h: Likewise.
41388 * include/stdlib.h: Likewise.
41389 * include/string.h: Likewise.
41390 * include/sys/socket.h: Likewise.
41391 * include/sys/stat.h: Likewise.
41392 * include/sys/statfs.h: Likewise.
41393 * include/sys/statvfs.h: Likewise.
41394 * include/sys/syslog.h: Likewise.
41395 * include/sys/time.h: Likewise.
41396 * include/sys/uio.h: Likewise.
41397 * include/time.h: Likewise.
41398 * include/unistd.h: Likewise.
41399 * include/utmp.h: Likewise.
41400 * include/wchar.h: Likewise.
41401 * include/wctype.h: Likewise.
41402 * inet/aliases.h: Likewise.
41403 * inet/arpa/inet.h: Likewise.
41404 * inet/netinet/ether.h: Likewise.
41405 * inet/netinet/in.h: Likewise.
41406 * intl/libintl.h: Likewise.
41407 * io/bits/fcntl2.h: Likewise.
41408 * io/fcntl.h: Likewise.
41409 * io/ftw.h: Likewise.
41410 * io/sys/poll.h: Likewise.
41411 * io/sys/stat.h: Likewise.
41412 * io/sys/statfs.h: Likewise.
41413 * io/sys/statvfs.h: Likewise.
41414 * io/utime.h: Likewise.
41415 * libio/bits/stdio.h: Likewise.
41416 * libio/bits/stdio2.h: Likewise.
41417 * libio/libio.h: Likewise.
41418 * libio/libioP.h: Likewise.
41419 * libio/stdio.h: Likewise.
41420 * locale/lc-ctype.c: Likewise.
41421 * locale/locale.h: Likewise.
41422 * login/utmp.h: Likewise.
41423 * malloc/arena.c: Likewise.
41424 * malloc/malloc.c: Likewise.
41425 * malloc/malloc.h: Likewise.
41426 * malloc/mcheck.c: Likewise.
41427 * malloc/mtrace.c: Likewise.
41428 * math/bits/mathcalls.h: Likewise.
41429 * math/fenv.h: Likewise.
41430 * math/math_private.h: Likewise.
41431 * misc/bits/error.h: Likewise.
41432 * misc/bits/syslog.h: Likewise.
41433 * misc/err.h: Likewise.
41434 * misc/error.h: Likewise.
41435 * misc/fstab.h: Likewise.
41436 * misc/mntent.h: Likewise.
41437 * misc/regexp.h: Likewise.
41438 * misc/search.h: Likewise.
41439 * misc/sgtty.h: Likewise.
41440 * misc/sys/mman.h: Likewise.
41441 * misc/sys/syslog.h: Likewise.
41442 * misc/sys/uio.h: Likewise.
41443 * misc/sys/xattr.h: Likewise.
41444 * misc/ttyent.h: Likewise.
41445 * nis/rpcsvc/ypclnt.h: Likewise.
41446 * nss/nss.h: Likewise.
41447 * posix/bits/unistd.h: Likewise.
41448 * posix/fnmatch.h: Likewise.
41449 * posix/glob.h: Likewise.
41450 * posix/sched.h: Likewise.
41451 * posix/spawn.h: Likewise.
41452 * posix/sys/wait.h: Likewise.
41453 * posix/unistd.h: Likewise.
41454 * posix/wordexp.h: Likewise.
41455 * pwd/pwd.h: Likewise.
41456 * resolv/netdb.h: Likewise.
41457 * resource/sys/resource.h: Likewise.
41458 * rt/aio.h: Likewise.
41459 * rt/bits/mqueue2.h: Likewise.
41460 * rt/mqueue.h: Likewise.
41461 * shadow/shadow.h: Likewise.
41462 * signal/signal.h: Likewise.
41463 * socket/send.c: Likewise.
41464 * socket/sendto.c: Likewise.
41465 * socket/sys/socket.h: Likewise.
41466 * stdio-common/printf.h: Likewise.
41467 * stdlib/bits/stdlib.h: Likewise.
41468 * stdlib/fmtmsg.h: Likewise.
41469 * stdlib/monetary.h: Likewise.
41470 * stdlib/stdlib.h: Likewise.
41471 * stdlib/ucontext.h: Likewise.
41472 * streams/stropts.h: Likewise.
41473 * string/argz.h: Likewise.
41474 * string/bits/string2.h: Likewise.
41475 * string/string.h: Likewise.
41476 * string/strings.h: Likewise.
41477 * sunrpc/rpc/auth.h: Likewise.
41478 * sunrpc/rpc/auth_des.h: Likewise.
41479 * sunrpc/rpc/clnt.h: Likewise.
41480 * sunrpc/rpc/netdb.h: Likewise.
41481 * sunrpc/rpc/pmap_clnt.h: Likewise.
41482 * sunrpc/rpc/xdr.h: Likewise.
41483 * sysdeps/generic/inttypes.h: Likewise.
41484 * sysdeps/generic/net/if.h: Likewise.
41485 * sysdeps/generic/sys/swap.h: Likewise.
41486 * sysdeps/gnu/net/if.h: Likewise.
41487 * sysdeps/gnu/utmpx.h: Likewise.
41488 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
41489 * sysdeps/i386/i486/bits/string.h: Likewise.
41490 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
41491 * sysdeps/s390/bits/string.h: Likewise.
41492 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
41493 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
41494 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
41495 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
41496 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
41497 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
41498 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
41499 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
41500 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
41501 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
41502 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
41503 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41504 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
41505 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41506 * sysdeps/unix/sysv/linux/readv.c: Likewise.
41507 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
41508 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41509 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41510 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41511 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41512 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41513 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
41514 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
41515 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
41516 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
41517 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
41518 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
41519 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41520 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
41521 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
41522 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
41523 * sysvipc/sys/ipc.h: Likewise.
41524 * sysvipc/sys/msg.h: Likewise.
41525 * sysvipc/sys/sem.h: Likewise.
41526 * sysvipc/sys/shm.h: Likewise.
41527 * termios/termios.h: Likewise.
41528 * time/sys/time.h: Likewise.
41529 * time/time.h: Likewise.
41530 * wcsmbs/bits/wchar2.h: Likewise.
41531 * wcsmbs/uchar.h: Likewise.
41532 * wcsmbs/wchar.h: Likewise.
41533 * wctype/wctype.h: Likewise.
41534
0269750c
UD
41535 [BZ #13551]
41536 * Makeconfig: Remove all but ELF support including AIX support.
41537 * Makerules: Likewise.
41538 * config.h.in: Likewise.
41539 * config.make.in: Likewise.
41540 * configure: Likewise.
41541 * configure.in: Likewise.
41542 * csu/Makefile: Likewise.
41543 * csu/version.c: Likewise.
41544 * debug/Makefile: Likewise.
41545 * dlfcn/Makefile: Likewise.
41546 * elf/Makefile: Likewise.
41547 * extra-lib.mk: Likewise.
41548 * iconv/Makefile: Likewise.
41549 * include/libc-symbols.h: Likewise.
41550 * include/shlib-compat.h: Likewise.
41551 * resolv/Makefile: Likewise.
41552 * resolv/res_libc.c: Likewise.
41553 * rt/Makefile: Likewise.
41554 * sysdeps/i386/asm-syntax.h: Likewise.
41555 * sysdeps/i386/sysdep.h: Likewise.
41556 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41557 * sysdeps/mach/sysdep.h: Likewise.
41558 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
41559 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
41560 * sysdeps/s390/asm-syntax.h: Likewise.
41561 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41562 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41563 * sysdeps/sh/sysdep.h: Likewise.
41564 * sysdeps/unix/sparc/sysdep.h: Likewise.
41565 * sysdeps/wordsize-32/divdi3.c: Likewise.
41566 * sysdeps/x86_64/sysdep.h: Likewise.
41567
00bbd29b
UD
41568 * argp/Versions: Remove _argp_unlock_xxx.
41569
41570 [BZ #13559]
41571 * abilist/ld.abilist: Update. Adjust for removal of tls option.
41572 * abilist/libBrokenLocale.abilist: Likewise.
41573 * abilist/libanl.abilist: Likewise.
41574 * abilist/libc.abilist: Likewise.
41575 * abilist/libcrypt.abilist: Likewise.
41576 * abilist/libdl.abilist: Likewise.
41577 * abilist/libm.abilist: Likewise.
41578 * abilist/libnsl.abilist: Likewise.
41579 * abilist/libpthread.abilist: Likewise.
41580 * abilist/libresolv.abilist: Likewise.
41581 * abilist/librt.abilist: Likewise.
41582 * abilist/libthread_db.abilist: Likewise.
41583 * abilist/libutil.abilist: Likewise.
41584 * abilist/libnss_db.abilist: New file.
41585
41586 * scripts/abilist.awk: Add support for indirect functions.
41587
a2693a0e
UD
41588 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
41589
3f05895f
UD
41590 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
41591
ecb6fb48
UD
41592 * shlib-versions: Remove entries for ports architectures.
41593
664f8cb9
UD
41594 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
41595 files in ports.
41596 * elf/stackguard-macros.h: Remove support for IA-64.
41597 * elf/tst-auditmod1.c: Likewise.
41598 * sysdeps/generic/ldsodefs.h: Likewise.
41599
7ae81d88
UD
41600 * sysdeps/unix/sysv/linux/configure.in: Ports should define
41601 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
41602 configure files.
41603
bdeba135
UD
41604 [BZ #13552]
41605 * configure.in: Remove --enable-omitfp support.
41606 * FAQ.in: Adjust.
41607 * config.make.in: Likewise.
41608 * Makeconfig: Likewise.
41609 * manual/install.texi: Likewise.
41610
d75a0a62
UD
41611 In case anyone cares, the IA-64 architecture could move to ports.
41612 * sysdeps/ia64/*: Removed.
41613 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 41614 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 41615
dcc9756b
UD
41616 [BZ #13555]
41617 * configure.in: Remove entries for unsupported architectures.
41618
d3761ebc 41619 [BZ #13533]
9954432e
UD
41620 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
41621 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
41622 routines.
41623 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
41624 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
41625 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
41626 fall back to using wcrtomb.
41627 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
41628 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
41629 renaming.
41630 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
41631 * wcsmbs/tst-c16c32-1.c: New file.
41632
41633 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
41634 local variable.
41635
c3a87236
UD
41636 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
41637
28926a1b
UD
41638 * elf/tst-unique3.cc: Add explicit declaration of gets.
41639 * elf/tst-unique3lib.cc: Likewise.
41640 * elf/tst-unique3lib2.cc: Likewise.
41641 * elf/tst-unique4.cc: Likewise.
41642
df78418a
UD
41643 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
41644
8ecd6b2a
JM
416452012-01-06 Joseph Myers <joseph@codesourcery.com>
41646
41647 [BZ #13566]
41648 * assert/assert.h (static_assert): Don't define for C++.
41649 * libio/stdio.h (gets): Do declare for C++ <= C++11.
41650 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
41651
9f115170
UD
416522012-01-03 Ulrich Drepper <drepper@gmail.com>
41653
5e0d0300
UD
41654 * iconv/loop.c (single loop): Fix assertion in storing of
41655 remaining bytes.
41656
9f115170
UD
41657 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
41658
81fb02b0
UD
416592012-01-01 Ulrich Drepper <drepper@gmail.com>
41660
41661 * posix/getconf.c: Update copyright year.
41662 * nss/getent.c: Likewise.
a316c1f6 41663 * nss/makedb.c: Likewise.
81fb02b0
UD
41664 * iconv/iconvconfig.c: Likewise.
41665 * iconv/iconv_prog.c: Likewise.
41666 * elf/ldconfig.c: Likewise.
a316c1f6
UD
41667 * elf/pldd.c: Likewise.
41668 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
41669 * catgets/gencat.c: Likewise.
41670 * csu/version.c: Likewise.
41671 * elf/ldd.bash.in: Likewise.
41672 * elf/sprof.c (print_version): Likewise.
41673 * locale/programs/locale.c: Likewise.
41674 * locale/programs/localedef.c: Likewise.
a316c1f6 41675 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
41676 * nscd/nscd.c (print_version): Likewise.
41677 * debug/xtrace.sh: Likewise.
41678 * malloc/memusage.sh: Likewise.
41679 * malloc/mtrace.pl: Likewise.
41680 * debug/catchsegv.sh: Likewise.
41681
2ba92745
JJ
416822011-12-30 Jakub Jelinek <jakub@redhat.com>
41683
41684 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
41685 pure attribute.
41686
dadebdae
UD
416872011-12-24 Ulrich Drepper <drepper@gmail.com>
41688
d3761ebc 41689 [BZ #13533]
db6af3eb
UD
41690 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
41691 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
41692 transformations.
41693 * iconv/gconv_int.h: Likewise.
41694 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
41695 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
41696 from libc for GLIBC_2.16.
41697 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
41698 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
41699 * wcsmbs/uchar.h: Really define mbstate_t.
41700 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
41701 * wcsmbs/c16rtomb.c: New file.
41702 * wcsmbs/mbrtoc16.c: New file.
41703 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
41704 for C/POSIX locale.
41705 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
41706 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
41707
dadebdae
UD
41708 * wcsmbs/wchar.h: Add missing __restrict.
41709
67371b56
UD
417102011-12-23 Ulrich Drepper <drepper@gmail.com>
41711
74033a25
UD
41712 [BZ #13532]
41713 * time/Makefile (routines): Add timespec_get.
41714 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
41715 * time/time.h: Define TIME_UTC and declare timespec_get. Define
41716 timespec for ISO C11.
41717 * time/timespec_get.c: New file.
41718 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
41719 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
41720
380d7e87
UD
41721 [BZ #13531]
41722 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
41723 * stdlib/stdlib.h: Declare aligned_alloc.
41724 * Versions.def: Add GLIBC_2.16 for libc.
41725 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
41726
4e9e7a35
UD
41727 [BZ 13527]
41728 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
41729 ISO C11.
41730
380d7e87 41731 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
41732 code.
41733
03a71829
UD
41734 [BZ #13528]
41735 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
41736
839e283e
UD
41737 [BZ #13529]
41738 * assert/assert.h (static_assert): Define.
41739
ce5294e2 41740 * version.h: Update for 2.16 development version.
90fa7312 41741
8d44e150 41742 [BZ #13526]
d7809905
UD
41743 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
41744 _ISOC11_SOURCE.
41745
c0da14cd
UD
41746 * version.h (RELEASE): Bump for 2.15 release.
41747 * include/features.h (__GLIBC_MINOR__): Bump to 15.
41748
530a3249
MP
41749 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
41750 Patch by Marek Polacek <mpolacek@redhat.com>.
41751
67371b56
UD
41752 * bits/byteswap.h: Protect long long constants with __extension__.
41753 * sysdeps/i386/bits/byteswap.h: Likewise.
41754 * sysdeps/ia64/bits/byteswap.h: Likewise.
41755 * sysdeps/s390/bits/byteswap.h: Likewise.
41756 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41757
15db4de1
LD
417582011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41759
41760 [BZ #13540]
bbe315ea
LD
41761 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
41762 destination buffer.
15db4de1
LD
41763 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41764
2b2596b1
MP
417652011-12-23 Marek Polacek <polacek@redhat.com>
41766
41767 * elf/dl-addr.c (determine_info): Add inline keyword.
41768 * elf/tst-auditmod4b.c (check_avx): Likewise.
41769 * elf/tst-auditmod6b.c (check_avx): Likewise.
41770 * elf/tst-auditmod6c.c (check_avx): Likewise.
41771 * elf/tst-auditmod7b.c (check_avx): Likewise.
41772
70c6c246
UD
417732011-12-23 Ulrich Drepper <drepper@gmail.com>
41774
41775 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41776 !__SSE_MATH__.
41777
c044cf14
LD
417782011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41779
15db4de1 41780 [BZ #13540]
c044cf14
LD
41781 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41782 processing for last bytes.
41783
6b13d9d9
BH
417842011-08-06 Bruno Haible <bruno@clisp.org>
41785
d455f537
BH
41786 [BZ #13061]
41787 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41788 U+0385, not to U+1FEE.
41789
6b13d9d9
BH
41790 [BZ #13062]
41791 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41792 entry for U+00A5 U+0301.
41793
db910efd
UD
417942011-12-22 Ulrich Drepper <drepper@gmail.com>
41795
27deeafc
UD
41796 [BZ #13166]
41797 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
41798 buffer for the output is too small.
41799
aed9d171
UD
41800 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
41801 optimization.
41802
db910efd
UD
41803 [BZ #13185]
41804 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
41805 SSE flags if possible.
41806
2bd779ae
LD
418072011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41808
e7f9dac3 41809 [BZ #13540]
2bd779ae
LD
41810 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
41811 processing for last bytes.
41812
154bfc16
JM
418132011-12-22 Joseph Myers <joseph@codesourcery.com>
41814
41815 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
41816 (syscall-list-default-options, syscall-list-default-condition)
41817 (syscall-list-includes): Define.
41818 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
41819 list of ABIs and options and #if conditions for each ABI. Do not
41820 handle common syscalls between ABIs specially.
41821 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
41822 Remove.
41823 (syscall-list-variants, syscall-list-32bit-options)
41824 (syscall-list-32bit-condition, syscall-list-64bit-options)
41825 (syscall-list-64bit-condition): Define.
41826 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
41827 (syscall-list-variants, syscall-list-32bit-options)
41828 (syscall-list-32bit-condition, syscall-list-64bit-options)
41829 (syscall-list-64bit-condition): Define.
41830 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
41831 Remove.
41832 (syscall-list-variants, syscall-list-32bit-options)
41833 (syscall-list-32bit-condition, syscall-list-64bit-options)
41834 (syscall-list-64bit-condition): Define.
41835 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
41836 Remove.
41837 (syscall-list-variants, syscall-list-32bit-options)
41838 (syscall-list-32bit-condition, syscall-list-64bit-options)
41839 (syscall-list-64bit-condition): Define.
41840
21eaf3a5
UD
418412011-12-22 Ulrich Drepper <drepper@gmail.com>
41842
16c6f992
UD
41843 * locale/iso-639.def: Add brx entry.
41844
41043168
UD
41845 [BZ #13328]
41846 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
41847 Proposed by Mariusz_Cukr <marcukr@op.pl>.
41848
21eaf3a5
UD
41849 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
41850 __feraiseexcept_renamed.
41851
e3a851a2
UD
418522011-12-21 Ulrich Drepper <drepper@gmail.com>
41853
4920765e
UD
41854 [BZ #13538]
41855 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
41856 EPOLLET with unsigned values.
41857 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41858 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41859
e3a851a2
UD
41860 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
41861 to large cancellation.
41862 * math/s_cacoshf.c: Likewise.
41863 * math/s_cacoshl.c: Likewise.
41864
b27e24b8
RK
418652011-11-18 Richard B. Kreckel <kreckel@ginac.de>
41866
41867 [BZ #13305]
aebefeee 41868 [BZ #12786]
b27e24b8
RK
41869 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
41870 * math/s_cacoshf.c: Likewise.
41871 * math/s_cacoshl.c: Likewise.
41872
ee190f67
UD
418732011-12-21 Ulrich Drepper <drepper@gmail.com>
41874
41875 [BZ #13439]
41876 * iconv/gconv.h: Define __GCONV_SWAP.
41877 * iconvdata/unicode.c: The swap bit must be stored in __flags.
41878 * iconvdata/utf-16.c: Likewise.
41879 * iconvdata/utf-32.c: Likewise.
41880
707f25df
AS
418812011-12-21 Andreas Schwab <schwab@linux-m68k.org>
41882
41883 [BZ #13524]
41884 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
41885 numerator after shifting it by one limb.
41886
d2daaa1e
RÁE
418872011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
41888
41889 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
41890 under [__USE_EXTERN_INLINES].
41891
a4647e72
UD
418922011-12-17 Ulrich Drepper <drepper@gmail.com>
41893
41894 [BZ #13446]
41895 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
41896
f0b264f1
AZ
418972011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41898
41899 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
41900 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
41901 optimized code.
41902 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
41903 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
41904 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
41905 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
41906 for strncasecmp/strncasecmp_l compilation.
41907 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
41908 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
41909
8ef4f244
MP
419102011-12-08 Marek Polacek <mpolacek@redhat.com>
41911
41912 [BZ #13484]
41913 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
41914 of __asm__.
41915
97ac2654
UD
419162011-12-17 Ulrich Drepper <drepper@gmail.com>
41917
41918 [BZ #13506]
41919 * time/tzfile.c (__tzfile_read): Check values from file header.
41920
91d2a845
WS
419212011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
41922
41923 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
41924 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
41925 * powerpc/powerpc32/dl-start.S: Likewise.
41926 * powerpc/powerpc32/elf/start.S: Likewise.
41927 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41928 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
41929 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
41930 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
41931 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41932 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
41933 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
41934 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41935 * powerpc/powerpc32/fpu/s_round.S: Likewise.
41936 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41937 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41938 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41939 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
41940 * powerpc/powerpc32/memset.S: Likewise.
41941 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41942 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41943 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41944 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41945 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41946 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41947 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41948 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41949 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
41950 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
41951 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
41952 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41953 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41954
a1267ba1
AZ
419552011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41956
41957 * math/libm-test.inc: Added more nearbyint tests.
41958 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
41959 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
41960 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
41961 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
41962
ad8ac1bd
RL
419632011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
41964
41965 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
41966 FD_CLOEXEC.
41967
1d3e4b61
UD
419682011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41969
41970 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
41971 Add wcscpy-ssse3 wcscpy-c.
41972 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
41973 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
41974 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
41975 * sysdeps/x86_64/wcschr.S: New file.
41976 * sysdeps/x86_64/wcsrchr.S: New file.
41977 * string/test-strcmp.c: Remove checking of wcscmp function for
41978 wrong alignments.
41979 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
41980 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
41981 wcsrchr-sse2 wcsrchr-c.
41982 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
41983 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
41984 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
41985 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
41986 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
41987 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
41988 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
41989 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
41990 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
41991 * wcsmbc/wcschr.c (WCSCHR): New macro.
41992
5b330a2d
UD
419932011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41994
41995 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
41996 * wcsmbs/test-wcsrchr.c: New file.
41997 * string/test-strrchr.c: Add wcsrchr support.
41998 (WIDE): New macro.
41999 * wcsmbs/test-wcscpy.c: New file.
42000 * string/test-strcpy.c: Add wcscpy support.
42001 (WIDE): New macro.
26428b7c 42002
f039c043
UD
420032011-12-10 Ulrich Drepper <drepper@gmail.com>
42004
42005 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
42006 the inner loop.
42007
850fb039
AS
420082011-12-06 Andreas Schwab <schwab@linux-m68k.org>
42009
42010 [BZ #13472]
42011 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
42012
4efbd5cb
UD
420132011-12-04 Ulrich Drepper <drepper@gmail.com>
42014
52ff5dd0 42015 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 42016 Minor optimizations.
52ff5dd0 42017
4efbd5cb
UD
42018 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
42019 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
42020 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
42021
8a426e12
UD
420222011-12-03 Ulrich Drepper <drepper@gmail.com>
42023
aff2453d
UD
42024 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
42025 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
42026 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
42027 for gcc to avoid warnings.
42028 * inet/Makefile (tests): Add tst-checks.
42029 * inet/tst-checks.c: New file.
42030
42031 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
42032 warning.
42033
42034 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
42035 __wmemcmp_sse2.
42036
42037 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
42038 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
42039
8a426e12
UD
42040 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
42041
9bea3473
UD
420422011-12-02 Ulrich Drepper <drepper@gmail.com>
42043
3a965496
UD
42044 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
42045 problem.
42046
9bea3473
UD
42047 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
42048
f101631b
UD
420492011-11-29 Joseph Myers <joseph@codesourcery.com>
42050
42051 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
42052 conditional on GCC version.
42053 (__arch_compare_and_exchange_val_8_acq)
42054 (__arch_compare_and_exchange_val_16_acq)
42055 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
42056 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
42057 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
42058
a98275aa
UD
420592011-12-02 Joseph Myers <joseph@codesourcery.com>
42060
42061 * sysdeps/sh/backtrace.c: New file.
42062
d4cc29a2
AS
420632011-12-02 Andreas Schwab <schwab@redhat.com>
42064
42065 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
42066 parenthesis.
42067
6257af2d
AS
420682011-12-01 Andreas Schwab <schwab@redhat.com>
42069
42070 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
42071 falling back to utime.
42072
b5f44c1a
AS
420732011-11-30 Andreas Schwab <schwab@redhat.com>
42074
42075 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
42076 expectations for float.
42077
f3a6cc0a
AS
420782011-11-29 Andreas Schwab <schwab@redhat.com>
42079
42080 * locale/weight.h (findidx): Add parameter len.
42081 * locale/weightwc.h (findidx): Likewise.
42082 * posix/fnmatch_loop.c (FCT): Adjust caller.
42083 * posix/regcomp.c (build_equiv_class): Likewise.
42084 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
42085 * posix/regexec.c (check_node_accept_bytes): Likewise.
42086 * string/strcoll_l.c (STRCOLL): Likewise.
42087 * string/strxfrm_l.c (STRXFRM): Likewise.
42088
9d65ea3a
UD
420892011-11-17 Ulrich Drepper <drepper@gmail.com>
42090
42091 * Makefile.in: Remove CVSOPT handling.
42092 * configure.in: Remove use of AC_REVISION.
42093 * iconvdata/Makefile (distribute): No need to filter out CVS.
42094 * scripts/list-sources.sh: Remove CVS, subversion and monotone
42095 handling.
42096
5583a086
AS
420972011-11-16 Andreas Schwab <schwab@redhat.com>
42098
42099 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
42100 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
42101 [USE_AS_STRNCASECMP_L]: Likewise.
42102 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
42103 NO_TLS_DIRECT_SEG_REFS.
42104 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
42105 Fix argument offsets for non-PIC.
42106 [USE_AS_STRNCASECMP_L]: Likewise.
42107 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
42108 NO_TLS_DIRECT_SEG_REFS.
42109
d62a8200
UD
421102011-11-15 Ulrich Drepper <drepper@gmail.com>
42111
9d65ea3a 42112 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
42113 O_CLOEXEC.
42114 * locale/loadlocale.c (_nl_load_locale): Likewise.
42115
09f93bd3
AS
421162011-11-15 Andreas Schwab <schwab@redhat.com>
42117
446514f9
AS
42118 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
42119 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
42120 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
42121 (SYSCALL_GETTIME): Set errno on error.
42122
09f93bd3
AS
42123 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
42124 count references to noai6ai_cached.
42125
312be3f9
UD
421262011-11-15 Ulrich Drepper <drepper@gmail.com>
42127
42128 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
42129
42130 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
42131 FD_CLOEXEC for /proc/self/maps.
42132
42133 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
42134 FD_CLOEXEC for /proc/meminfo.
42135
42136 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
42137 gai.conf.
42138
42139 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
42140 FD_CLOEXEC for given file.
42141
42142 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
42143
42144 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
42145 FD_CLOEXEC for /etc/hosts.
42146 (_gethtent): Likewise.
42147
42148 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
42149
42150 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
42151 cancellation and set FD_CLOEXEC for /etc/netgroup.
42152
42153 * nss/nss_files/files-key.c (search): Don't allow cancellation when
42154 reading /etc/publickey.
42155
42156 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
42157 allow cancellation when reading /etc/group.
42158
42159 * nss/nss_files/files-alias.c (internal_setent): Don't allow
42160 cancellation.
42161 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
42162
42163 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42164 when using data file.
42165
42166 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42167
42168 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42169 (write_nis_obj): Use "c" and "e" in fopen.
42170
42171 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42172
42173 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42174
42175 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
42176
42177 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
42178
42179 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
42180 locale.alias.
42181
42182 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
42183
42184 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
42185
42186 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
42187
42188 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
42189 file parsing and set FD_CLOEXEC.
42190
82af0fa8
UD
421912011-11-14 Ulrich Drepper <drepper@gmail.com>
42192
42193 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
42194
a5fb313c
AS
421952011-11-14 Andreas Schwab <schwab@redhat.com>
42196
42197 * malloc/arena.c (arena_get2): Don't call reused_arena when
42198 _int_new_arena failed.
42199
6abf3465
UD
422002011-11-14 Ulrich Drepper <drepper@gmail.com>
42201
42202 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
42203 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
42204 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
42205 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42206 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42207 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
42208 to compile strcasecmp and strncasecmp.
42209 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
42210 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
42211
42212 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
42213
76e3966e
UD
422142011-11-13 Ulrich Drepper <drepper@gmail.com>
42215
42216 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
42217 locale-defines.sym to gen-as-const-headers.
42218 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
42219 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
42220 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
42221 to compile strcasecmp and strncasecmp.
42222 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42223 strcasecmp_l and strncasecmp_l.
42224 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42225 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42226 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42227 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42228 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42229 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42230 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42231 * sysdeps/i386/i686/multiarch/strncase.S: New file.
42232 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42233 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42234 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42235
ab26144e
UD
422362011-11-12 Ulrich Drepper <drepper@gmail.com>
42237
7edb22ef
UD
42238 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42239 result of SYSDEP_GETTIME_CPU to retval.
42240 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42241 parameter list to macro. Remove trailing semicolon. Adjust users.
42242
9694fc44
UD
42243 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42244 variable.
42245
8ad89ef8
UD
42246 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42247 mantissa words.
42248 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42249
0c822ef9
UD
42250 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42251 from unused variable.
42252
874e0564
UD
42253 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42254 DWARF definitions.
42255 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42256 for assembling.
42257
3a2edc79
UD
42258 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42259 over namespaces.
42260
f3c2577f
UD
42261 * sunrpc/rpc_prot.c (rejected): Fix case value.
42262
294ce126
UD
42263 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
42264 unsigned long long int to avoid warnings in shift.
42265
5e2b63c6
UD
42266 * posix/regex_internal.c (re_string_reconstruct): Actually use result
42267 of use of trans.
42268 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
42269 variable tmp.
42270
e7f4b08e
UD
42271 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
42272 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42273 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42274
ab26144e
UD
42275 * nis/nis_table.c (nis_list): Use variable of correct type for
42276 result of __follow_path call.
42277
8a6d5255
AZ
422782011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42279
42280 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
42281 of math functions ceil, trunc, floor, round, and sqrt, when
42282 avaliable on the platform.
42283 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
42284 name clash.
42285 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42286 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42287 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42288
aaddc98c
MP
422892011-10-30 Marek Polacek <mpolacek@redhat.com>
42290
42291 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
42292 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
42293
95b7042b
RM
422942011-11-11 Roland McGrath <roland@hack.frob.com>
42295
42296 * include/unistd.h: Fix __readlink return type.
42297 Reported by Chris Metcalf <cmetcalf@tilera.com>.
42298
57769839
UD
422992011-11-11 Ulrich Drepper <drepper@gmail.com>
42300
42301 * stdlib/ucontext.h: Undo last change for makecontext.
42302
edc5984d
AS
423032011-11-11 Andreas Schwab <schwab@redhat.com>
42304
98591e58
AS
42305 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
42306
edc5984d
AS
42307 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
42308 * setjmp/setjmp.h: Mark functions as non-leaf.
42309 * setjmp/bits/setjmp2.h: Likewise.
42310 * stdlib/ucontext.h: Likewise.
42311
77cdc054
AS
423122011-11-10 Andreas Schwab <schwab@redhat.com>
42313
42314 * malloc/arena.c (_int_new_arena): Don't increment narenas.
42315 (reused_arena): Don't check arena limit.
42316 (arena_get2): Atomically check arena limit.
42317
fe72eebd
UD
423182011-11-08 Ulrich Drepper <drepper@gmail.com>
42319
5f078c32
UD
42320 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
42321 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
42322
fe72eebd
UD
42323 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
42324 instructions.
42325
ae1bc2fa
AS
423262011-11-07 Andreas Schwab <schwab@redhat.com>
42327
7583a88d
AS
42328 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
42329 handler when locking.
42330
ae1bc2fa
AS
42331 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42332 Fix size of allocated buffer.
42333
10fb0bfa
AS
423342011-11-04 Andreas Schwab <schwab@redhat.com>
42335
998832a4
AS
42336 [BZ #10103]
42337 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
42338 declarations for long double functions.
42339 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
42340
10fb0bfa
AS
42341 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
42342
3d7ba52b
AS
423432011-11-03 Andreas Schwab <schwab@redhat.com>
42344
a9ae54a1
AS
42345 * nscd/nscd.c (main): Don't start AVC thread until credentials are
42346 installed.
42347
3d7ba52b
AS
42348 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
42349 is disabled.
42350
bc8db248
ST
423512011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
42352
42353 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
42354
45b96dd6
AS
423552011-11-01 Andreas Schwab <schwab@linux-m68k.org>
42356
647776f6
AS
42357 * include/alloca.h (stackinfo_alloca_round): Define.
42358 (extend_alloca): Use it.
42359 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
42360 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
42361 here.
42362
d91a8b93
AS
42363 * scripts/check-local-headers.sh: Ignore libaudit.h.
42364
45b96dd6
AS
42365 * nscd/Makefile (extra-objs): Make recursively expanded.
42366
432d41ce
UD
423672011-11-01 Ulrich Drepper <drepper@gmail.com>
42368
34372fc6
UD
42369 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
42370 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42371
fadb59f8
UD
42372 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
42373 * posix/tst-rfc3484-2.c: Likewise.
42374 * posix/tst-rfc3484-3.c: Likewise.
42375
78239589
UD
42376 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42377 process_vm_writev.
42378 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
42379 process_vm_writev.
42380 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
42381 process_vm_writev from libc using GLIBC_2.15 version.
42382
432d41ce
UD
42383 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
42384
02f9c6cf
PP
423852011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
42386
42387 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
42388 stack usage.
42389
3a2c0242
UD
423902011-10-31 Ulrich Drepper <drepper@gmail.com>
42391
f4ec4833
UD
42392 [BZ #13367]
42393 * nss/getent.c (initgroups_keys): Show error message in case no group
42394 names are given.
42395
3a2c0242
UD
42396 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
42397 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
42398 __bump_nl_timestamp.
42399 * nscd/connections (nscd_init): When host database is served open
42400 netlink socket and request notification about configuration changes.
42401 (main_loop_poll): Track netlink file descriptor and bump timestamp
42402 in case data becomes available.
42403 (main_loop_epoll): Likewise.
42404 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
42405 (database_pers_head): Add extra_data fileds.
42406 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
42407 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
42408 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
42409 Adjust caller.
42410 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
42411 in6ai data, call __free_in6ai.
42412 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
42413 Add -DHAVE_NETLINK.
42414 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
42415 interface information. Reuse previous data if netlink timestamp
42416 is not changed.
42417 (__bump_nl_timestamp): New function.
42418 (__free_in6ai): New function.
42419
636064eb
UD
424202011-10-30 Ulrich Drepper <drepper@gmail.com>
42421
42422 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
42423 close_not_cancel_no_status here.
42424 (__check_pf): Reorganize code a bit to not call close twice if OOM.
42425
9beb2334
UD
424262011-10-29 Ulrich Drepper <drepper@gmail.com>
42427
6ef76f3b
UD
42428 [BZ #13276]
42429 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
42430 return value.
42431
0ffc4f3e 42432 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
42433 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
42434 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
42435
cb95113e
UD
424362011-07-03 Andreas Jaeger <aj@suse.de>
42437
42438 [BZ #10709]
42439 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
42440 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
42441 * math/libm-test.inc (sin_test): Add test case.
42442
a1b560ff
UD
424432011-10-29 Ulrich Drepper <drepper@gmail.com>
42444
c9aaface
UD
42445 [BZ #13337]
42446 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
42447 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42448
d272e7f1
UD
42449 * elf/chroot_canon.c (chroot_canon): Cleanups.
42450
1bc33071
UD
42451 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
42452
1760874d
TJ
42453 [BZ #13335]
42454 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
42455 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42456
51d91b18
UD
42457 * string/test-strchr.c: Make usable for strchrnul testing.
42458 * string/test-strchrnul.c: New file.
42459 * string/Makefile (strop-tests): Add strchrnul.
42460
a1b560ff 42461 * po/it.po: Update from translation team.
b611fb81 42462 * po/es.po: Likewise.
a1b560ff 42463
a5b81e1f
UD
424642011-10-28 Ulrich Drepper <drepper@gmail.com>
42465
fd52bc6d
UD
42466 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
42467 the three constants needed as parameters. Drop the others.
42468 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
42469 __m128i_strloadu_tolower.
52e4b9eb
UD
42470 Create and initialize variable zero and use it in all the places
42471 where _mm_setzero_si128 was used.
fd52bc6d 42472
a5b81e1f
UD
42473 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
42474 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
42475 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
42476 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
42477 anymore.
42478 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
42479 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
42480 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
42481 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
42482 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
42483 __mpranred, __mptan.
42484 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
42485 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
42486 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
42487 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
42488 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
42489 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
42490 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
42491 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
42492 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
42493
b4343346
AS
424942011-10-28 Andreas Schwab <schwab@redhat.com>
42495
0c92d8a8
AS
42496 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
42497 redefine if SHARED.
42498 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
42499
b4343346
AS
42500 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
42501 wide char related routines to wcsmbs subdir.
42502
3871f58f
AS
425032011-10-27 Andreas Schwab <schwab@redhat.com>
42504
42505 [BZ #13344]
42506 * misc/sys/cdefs.h (__THROWNL): Define.
42507 * posix/unistd.h: Use __THREADNL instead of __THREAD
42508 for memory synchronization functions.
42509
94d44d9f
RM
425102011-10-26 Roland McGrath <roland@hack.frob.com>
42511
21b64b15 42512 [BZ #13349]
94d44d9f
RM
42513 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
42514 doesn't exist.
42515 * manual/stdio.texi (Obstack Streams): Node removed.
42516
f6ce9294
AS
425172011-10-26 Andreas Schwab <schwab@redhat.com>
42518
80479147
AS
42519 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
42520 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42521 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42522
f6ce9294
AS
42523 * math/math_private.h (math_force_eval): Allow non-addressable
42524 arguments.
42525 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
42526
618280a1
UD
425272011-10-25 Ulrich Drepper <drepper@gmail.com>
42528
e0016b11
UD
42529 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
42530 file is not needed.
42531
42532 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
42533 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
42534 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42535 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42536 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42537 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42538 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42539 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
42540 Add AVX variants.
42541 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
42542 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
42543 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
42544 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
42545 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
42546 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
42547 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
42548 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
42549 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
42550 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
42551 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
42552 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
42553 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
42554 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
42555 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
42556 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
42557 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
42558 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
42559 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
42560
42561 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
42562 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
42563
618280a1
UD
42564 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
42565 place. Use VEX encoding when compiling for AVX.
42566
37822576
AS
425672011-10-25 Andreas Schwab <schwab@redhat.com>
42568
1f1e1947
AS
42569 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
42570 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42571
37822576
AS
42572 * string/test-strchr.c (do_test): Don't generate NUL bytes.
42573
31ea014d
UD
425742011-10-25 Ulrich Drepper <drepper@gmail.com>
42575
d7826aa1 42576 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 42577 useless if() expression.
d7826aa1
UD
42578 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42579 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42580 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42581 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42582 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42583 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42584 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42585 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42586 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42587 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42588 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42589 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42590 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42591 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42592 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42593 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42594 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42595 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42596 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42597
31ea014d
UD
42598 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
42599
16437fec
AS
426002011-10-25 Andreas Schwab <schwab@redhat.com>
42601
42602 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
42603 condition.
42604 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42605
31d3cc00
UD
426062011-10-25 Ulrich Drepper <drepper@gmail.com>
42607
42608 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
42609 .text section. Avoid duplicate constants.
42610 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42611 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42612 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42613 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42614 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42615 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42616 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42617 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42618 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42619 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
42620 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42621 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42622 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42623 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42624 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42625 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42626 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42627 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42628 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42629 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42630 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42631 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42632 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42633 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
42634 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
42635 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
42636 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
42637 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
42638 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
42639 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
42640 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
42641 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
42642 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42643 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
42644 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
42645 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
42646 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
42647 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
42648 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
42649 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
42650 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
42651 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
42652 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
42653 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
42654 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
42655
58985aa9
UD
426562011-10-24 Ulrich Drepper <drepper@gmail.com>
42657
202c9deb
UD
42658 * sysdeps/x86_64/dla.h: Move to ...
42659 * sysdeps/x86_64/fpu/dla.h: ...here.
42660 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
42661 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 42662
af968f62
UD
42663 * config.make.in: Add have-mfma4 entry.
42664 * configure.in: Substitute libc_cv_cc_fma4.
42665 * math/Makefile (dbl-only-routines): Add sincostab.
42666 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
42667 Use __sincostab not sincos.
42668 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
42669 name is a macro.
42670 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42671 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42672 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42673 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
42674 using __copysign.
42675 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
42676 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
42677 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
42678 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
42679 and __inv.
42680 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
42681 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
42682 __copysign.
42683 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
42684 define aliases when function name is a macro.
42685 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
42686 sysdeps/ieee754/dbl-64/sincos.tbl.
42687 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
42688 fma4-enabled routines.
42689 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
42690 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
42691 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
42692 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
42693 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
42694 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
42695 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
42696 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
42697 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
42698 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
42699 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
42700 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
42701 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
42702 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
42703 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
42704 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
42705 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
42706 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
42707 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
42708 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
42709 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
42710 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
42711 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
42712 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
42713 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
42714 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
42715 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
42716 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
42717 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
42718 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
42719
58985aa9
UD
42720 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
42721 rename.
42722 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42723 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42724 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42725 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42726 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42727 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42728 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42729 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42730
a201fbcf
AS
427312011-10-24 Andreas Schwab <schwab@redhat.com>
42732
42733 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
42734
fc2ee42a
LD
427352011-10-23 Ulrich Drepper <drepper@gmail.com>
42736
bb3129bd
UD
42737 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
42738
0275fff8
UD
42739 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
42740 prediction.
42741 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
42742
2fa2ae85
UD
42743 * string/strnlen.c: Don't define STRNLEN, reverse logic.
42744 Remove unused variable magic_bits.
42745 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
42746
fc2ee42a
LD
42747 * string/strnlen.c: Define and use STRNLEN macro.
42748 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
42749 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
42750 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
42751 * wcsmbs/wcslen.c: Define and use WCSLEN.
42752 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
42753 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
42754 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
42755 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
42756 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
42757 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
42758 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42759
ce7dd29f
LD
427602011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42761
42762 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42763 strnlen-sse2-no-bsf.
42764 Rename strlen-no-bsf to strlen-sse2-no-bsf.
42765 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
42766 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
42767 Add strnlen support.
42768 (USE_AS_STRNLEN): New macro.
42769 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42770 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42771 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42772 * sysdeps/x86_64/wcslen.S: New file.
42773
979c70a3
MZ
427742011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
42775
42776 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42777 XMM-moves are used for copying on small sizes.
42778
2d09f82f
LD
427792011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42780
42781 * wcsmbs/Makefile (strop-tests): Add wcschr.
42782 * wcsmbs/test-wcschr.c: New file.
42783 * string/test-strchr.c: Update.
42784 Add wcschr support.
42785 (WIDE): New macro.
42786
619fccca
LD
427872011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42788
2d09f82f 42789 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
42790 * wcsmbs/test-wcslen.c: New file.
42791 * string/test-strlen.c: Update.
42792 Add wcslen support.
42793 (WIDE): New macro.
42794
09f699ea
UD
427952011-10-23 Ulrich Drepper <drepper@gmail.com>
42796
42797 * po/it.po: Update from translation team.
42798
95584d3b
LD
427992011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42800
42801 * sysdeps/x86_64/wcscmp.S: Update.
42802 Fix wrong comparison semantics.
42803 wcscmp shall use signed comparison not unsigned.
42804 Don't use substraction to avoid overflow bug.
42805 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42806 * wcsmbc/wcscmp.c: Likewise.
42807 * string/test-strcmp.c: Likewise.
42808 Add new tests to check cases with negative values.
42809
c8b3296b
UD
428102011-10-23 Ulrich Drepper <drepper@gmail.com>
42811
42812 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
42813 * sysdeps/x86_64/dla.h: ...here. New file.
42814 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
42815 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42816 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42817 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42818 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42819 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42820 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42821 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42822 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42823
246ad57a
AS
428242011-10-23 Andreas Schwab <schwab@linux-m68k.org>
42825
42826 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
42827 __ynl_finite aliases.
42828
a1a87169
UD
428292011-10-22 Ulrich Drepper <drepper@gmail.com>
42830
0d355eb7
UD
42831 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42832
a1a87169
UD
42833 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
42834 define DLA_FMA.
42835 [DLA_FMA] (EMULV): Use DLA_FMA.
42836 [DLA_FMA] (MUL12): Use EMULV.
42837 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
42838 that are not needed.
42839 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42840 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42841 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42842 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42843 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42844 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42845 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42846
ee2aafe0
AS
428472011-10-22 Andreas Schwab <schwab@linux-m68k.org>
42848
42849 * math/s_nan.c: Undef __nan.
42850 * math/s_nanf.c: Undef __nanf.
42851 * math/s_nanl.c: Undef __nanl.
42852 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
42853 "math_private.h".
42854
bc62c2fb
UD
428552011-10-22 Ulrich Drepper <drepper@gmail.com>
42856
77425c63
UD
42857 * math/s_catan.c: Add branch predictions.
42858 * math/s_catanf.c: Likewise.
42859 * math/s_catanh.c: Likewise.
42860 * math/s_catanhf.c: Likewise.
42861 * math/s_catanhl.c: Likewise.
42862 * math/s_catanl.c: Likewise.
42863 * math/s_cexp.c: Likewise.
42864 * math/s_cexpf.c: Likewise.
42865 * math/s_cexpl.c: Likewise.
42866 * math/s_clog.c: Likewise.
42867 * math/s_clog10.c: Likewise.
42868 * math/s_clog10f.c: Likewise.
42869 * math/s_clog10l.c: Likewise.
42870 * math/s_clogf.c: Likewise.
42871 * math/s_clogl.c: Likewise.
42872 * math/s_csqrt.c: Likewise.
42873 * math/s_csqrtf.c: Likewise.
42874 * math/s_csqrtl.c: Likewise.
42875 * math/s_ctanf.c: Likewise.
42876 * math/s_ctanh.c: Likewise.
42877 * math/s_ctanhf.c: Likewise.
42878 * math/s_ctanhl.c: Likewise.
42879 * math/s_ctanl.c: Likewise.
42880
bc62c2fb
UD
42881 * math/math_private.h: Define __nan, __nanf, __nanl.
42882 * math/s_cacosh.c: Include <math_private.h>.
42883 * math/s_cacoshl.c: Likewise.
42884 * math/s_casinh.c: Likewise.
42885 * math/s_casinhf.c: Likewise.
42886 * math/s_casinhl.c: Likewise.
42887 * math/s_ccos.c: Rely entire on ccosh.
42888 * math/s_ccosf.c: Rely entire on ccoshf.
42889 * math/s_ccosl.c: Rely entirely on ccoshl.
42890 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
42891 Remove tests for FE_INVALID.
42892 * math/s_ccoshf.c: Likewise.
42893 * math/s_ccoshl.c: Likewise.
42894 * math/s_csin.c: Likewise.
42895 * math/s_csinf.c: Likewise.
42896 * math/s_csinh.c Likewise.
42897 * math/s_csinhf.c: Likewise.
42898 * math/s_csinhl.c: Likewise.
42899 * math/s_csinl.c: Likewise.
42900 * math/s_ctan.c: Likewise.
42901 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
42902 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
42903 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
42904
8ec250a4
UD
429052011-10-21 Ulrich Drepper <drepper@gmail.com>
42906
c196fed8
UD
42907 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
42908 compilation problems.
42909
8ec250a4
UD
42910 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
42911 __builtin_expect.
42912
8d4f46c6
UD
429132011-10-20 Ulrich Drepper <drepper@gmail.com>
42914
ed72b654
UD
42915 * sysdeps/i386/configure.in: Test for -mfma4 option.
42916 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
42917 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
42918 COMMON_CPUID_INDEX_80000001.
42919 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
42920 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
42921 use it if FMA3 is not supported.
42922 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
42923
8d4f46c6
UD
42924 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
42925 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42926
d45c60c2
AS
429272011-10-20 Andreas Schwab <schwab@redhat.com>
42928
42929 [BZ #12892]
42930 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
42931 it would create a cycle with a link time dependency.
42932
d9a4d2ab
UD
429332011-10-19 Ulrich Drepper <drepper@gmail.com>
42934
855d1560
UD
42935 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
42936 instruction.
42937 * string/Makefile (strop-tests): Add rawmemchr.
42938 * string/test-rawmemchr.c: New file.
42939
d9a4d2ab
UD
42940 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
42941 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
42942 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
42943 when compiling str{,n}casecmp and when AVX is available. Hook up
42944 new optimized code in initializers.
42945
8f3b1ffe
AS
429462011-10-19 Andreas Schwab <schwab@redhat.com>
42947
42948 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
42949 __feraiseexcept instead of feraiseexcept.
42950
d38f1dba
UD
429512011-10-18 Ulrich Drepper <drepper@gmail.com>
42952
d9a8d0ab
UD
42953 * math/math_private.h: Define defaults for libc_fetestexcept and
42954 libc_feupdateenv.
42955 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
42956 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
42957 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42958 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42959 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42960 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42961 libc_fetestexcept and libc_feupdateenv.
42962
4855e3dd
UD
42963 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
42964 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
42965 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
42966 * sysdeps/x86_64/fpu/math_private.h: Define special version of
42967 libc_feholdexcept_setround.
42968
581d30e3
UD
42969 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
42970 Add s_nearbyint-c and s_nearbyintf-c.
42971 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
42972 nearbyintf inlines.
42973 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
42974 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
42975 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
42976 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
42977
d38f1dba
UD
42978 * math/math_private.h: Define defaults for libc_fegetround,
42979 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
42980 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
42981 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
42982 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
42983 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
42984 standard functions.
42985 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42986 Remove comments and hacks for old compiler versions.
42987 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42988 libc_fegetround, libc_fesetround, libc_feholdexcept, and
42989 libc_feholdexceptl.
42990
caa6c9d8
AS
429912011-10-18 Andreas Schwab <schwab@redhat.com>
42992
42993 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
42994 (__feraiseexcept_renamed): Add __NTH.
42995 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
42996 namespace violations.
42997
97c066e6
UD
429982011-10-17 Ulrich Drepper <drepper@gmail.com>
42999
99ce7b04
UD
43000 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
43001
1004d182
UD
43002 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
43003
228a984d
UD
43004 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
43005 recently added interfaces.
43006 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
43007
c8553a6a
UD
43008 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
43009 about macro parameter expansion.
43010
ed22dcf6
UD
43011 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
43012 __NO_MATH_INLINES is defined. Cleanups.
43013
43014 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
43015 and __floorf is target has SSE4.1.
43016 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
43017 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
43018 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
43019 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
43020
b171c137
UD
43021 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
43022 name.
43023 (floorf): Likewise.
43024
97c066e6
UD
43025 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
43026
629f62ef
AS
430272011-10-17 Andreas Schwab <schwab@redhat.com>
43028
49a43d80
AS
43029 * misc/sys/cdefs.h: Fix last change.
43030
629f62ef
AS
43031 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
43032 database lookup.
43033
e453f6cd
UD
430342011-10-16 Ulrich Drepper <drepper@gmail.com>
43035
aa78043a
UD
43036 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
43037
ad0f5cad
UD
43038 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
43039 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43040 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43041 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43042 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43043 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43044 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43045 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43046 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43047 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
43048 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
43049 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
43050 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
43051 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
43052 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
43053 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
43054 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
43055 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
43056 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
43057 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
43058 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
43059 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
43060
43061 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
43062 ceil, ceilf, floor, floorf.
43063
43064 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
43065 Perform IRELATIVE relocations last.
43066
e453f6cd
UD
43067 * elf/do-rel.h: Add another parameter nrelative, replacing the
43068 local variable with the same name. Change name of the function
43069 to end in Rel or Rela (uppercase).
43070 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
43071 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
43072 elf_dynamic_do_##reloc function.
43073
fd5bdc09
UD
430742011-10-15 Ulrich Drepper <drepper@gmail.com>
43075
79b195b5
UD
43076 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
43077 is sufficient, at least on modern CPUs.
43078
d4a28569
UD
43079 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
43080
b61099b5
UD
43081 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
43082 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
43083
bcf01e6d
UD
43084 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
43085 __expl_finite.
43086 * math/bits/math-finite.h: Add entries for exp.
43087 * math/e_expl.c: Add __*_finite alias.
43088 * sysdeps/i386/fpu/e_exp.S: Likewise.
43089 * sysdeps/i386/fpu/e_expf.S: Likewise.
43090 * sysdeps/i386/fpu/e_expl.c: Likewise.
43091 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43092 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43093 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43094 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43095 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
43096 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43097 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43098
ba1a0d59
UD
43099 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
43100 is sufficient, at least on modern CPUs.
43101
fd5bdc09
UD
43102 * ctype/ctype-info.c (__ctype_init): Define.
43103 * include/ctype.h (__ctype_init): Declare.
43104 (__ctype_b_loc): The variable is always initialized.
43105 (__ctype_toupper_loc): Likewise.
43106 (__ctype_tolower_loc): Likewise.
43107 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
43108 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
43109
7872cfb0
AS
431102011-10-15 Andreas Schwab <schwab@linux-m68k.org>
43111
b468825a
AS
43112 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
43113
7872cfb0
AS
43114 * configure.in: Also look in $cxxmachine/include for C++ system
43115 headers.
43116
be13f7bf
LD
431172011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43118
43119 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
43120 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
43121 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
43122 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
43123 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
43124 (USE_AS_WMEMCMP): New macro.
43125 Fixing indents.
43126 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
43127 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
43128 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
43129 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
43130 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43131 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
43132 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
43133 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
43134 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
43135 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
43136 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
43137 (USE_AS_WMEMCMP): New macro.
43138 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
43139 * sysdeps/string/test-memcmp.c: Update.
43140 Fix simple_wmemcmp.
43141 Add new tests.
43142 * wcsmbs/wmemcmp.c: Update.
43143 (WMEMCMP): New macro.
43144 Fix overflow bug.
43145
556a2007
AJ
431462011-10-12 Andreas Jaeger <aj@suse.de>
43147
43148 [BZ #13268]
43149 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
43150
538faaa7
UD
431512011-10-15 Ulrich Drepper <drepper@gmail.com>
43152
ab6737ff
UD
43153 * libio/iofwide.c (do_length): Avoid warning.
43154
538faaa7
UD
43155 * ctype/ctype.h (__isctype_f): Add missing __THROW.
43156
396a21b1
UD
431572011-10-14 Ulrich Drepper <drepper@gmail.com>
43158
cdf2901f
UD
43159 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43160
38ad40ce
UD
43161 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43162 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43163 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43164 * sysdeps/i386/i686/fpu/e_log.S: New file.
43165 * sysdeps/i386/i686/fpu/e_logf.S: New file.
43166 * sysdeps/i386/i686/fpu/e_logl.S: New file.
43167
396a21b1
UD
43168 * ctype/ctype.h: Add support for inlined isXXX functions when
43169 compiling C++ code.
43170
6b1f68c9
AS
431712011-10-14 Andreas Schwab <schwab@redhat.com>
43172
349290c0
AS
43173 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43174
6b1f68c9
AS
43175 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
43176
f2282d42
RM
431772011-10-13 Roland McGrath <roland@hack.frob.com>
43178
43179 [BZ #13291]
43180 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
43181
5298ffa8
AS
431822011-10-13 Andreas Schwab <schwab@redhat.com>
43183
714fad23
AS
43184 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
43185 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
43186 feraiseexcept.
43187
81dcc7fb
AS
43188 * sysdeps/x86_64/memrchr.S: Check for zero size.
43189
5298ffa8
AS
43190 * string/stratcliff.c: Add memrchr tests.
43191
951fbcec
LD
431922011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43193
43194 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43195 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
43196 rawmemchr-sse2 rawmemchr-sse2-bsf.
43197 * sysdeps/i386/i686/multiarch/memchr.S: New file.
43198 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
43199 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
43200 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
43201 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
43202 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
43203 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
43204 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
43205 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
43206 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
43207 * string/memrchr.c (MEMRCHR): New macro.
43208
0ac5ae23
UD
432092011-10-12 Ulrich Drepper <drepper@gmail.com>
43210
43211 Add integration with gcc's -ffinite-math-only and optimize wrapper
43212 functions in libm.
43213 * Versions.def: Define GLIBC_2.15 version for libm.
43214 * math/Makefile (headers): Add bits/math-finite.h.
43215 * math/bits/math-finite.h: New file.
43216 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
43217 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
43218 * math/e_acoshl.c: Add __*_finite alias.
43219 * math/e_acosl.c: Likewise.
43220 * math/e_asinl.c: Likewise.
43221 * math/e_atan2l.c: Likewise.
43222 * math/e_atanhl.c: Likewise.
43223 * math/e_coshl.c: Likewise.
43224 * math/e_exp10.c: Likewise.
43225 * math/e_exp10f.c: Likewise.
43226 * math/e_exp10l.c: Likewise.
43227 * math/e_exp2l.c: Likewise.
43228 * math/e_fmodl.c: Likewise.
43229 * math/e_gammal_r.c: Likewise.
43230 * math/e_hypotl.c: Likewise.
43231 * math/e_j0l.c: Likewise.
43232 * math/e_j1l.c: Likewise.
43233 * math/e_jnl.c: Likewise.
43234 * math/e_lgammal_r.c: Likewise.
43235 * math/e_log10l.c: Likewise.
43236 * math/e_log2l.c: Likewise.
43237 * math/e_logl.c: Likewise.
43238 * math/e_powl.c: Likewise.
43239 * math/e_sinhl.c: Likewise.
43240 * math/e_sqrtl.c: Likewise.
43241 * math/e_scalb.c: Completely rewritten and optimized.
43242 * math/e_scalbf.c: Likewise.
43243 * math/e_scalbl.c: Likewise.
43244 * math/w_acos.c: Likewise.
43245 * math/w_acosf.c: Likewise.
43246 * math/w_acosl.c: Likewise.
43247 * math/w_acosh.c: Likewise.
43248 * math/w_acoshf.c: Likewise.
43249 * math/w_acoshl.c: Likewise.
43250 * math/w_asin.c: Likewise.
43251 * math/w_asinf.c: Likewise.
43252 * math/w_asinl.c: Likewise.
43253 * math/w_atan2.c: Likewise.
43254 * math/w_atan2f.c: Likewise.
43255 * math/w_atan2l.c: Likewise.
43256 * math/w_atanh.c: Likewise.
43257 * math/w_atanhf.c: Likewise.
43258 * math/w_atanhl.c: Likewise.
43259 * math/w_exp10.c: Likewise.
43260 * math/w_exp10f.c: Likewise.
43261 * math/w_exp10l.c: Likewise.
43262 * math/w_fmod.c: Likewise.
43263 * math/w_fmodf.c: Likewise.
43264 * math/w_fmodl.c: Likewise.
43265 * math/w_j0.c: Likewise.
43266 * math/w_j0f.c: Likewise.
43267 * math/w_j0l.c: Likewise.
43268 * math/w_j1.c: Likewise.
43269 * math/w_j1f.c: Likewise.
43270 * math/w_j1l.c: Likewise.
43271 * math/w_jn.c: Likewise.
43272 * math/w_jnf.c: Likewise.
43273 * math/w_log.c: Likewise.
43274 * math/w_logf.c: Likewise.
43275 * math/w_logl.c: Likewise.
43276 * math/w_log10.c: Likewise.
43277 * math/w_log10f.c: Likewise.
43278 * math/w_log10l.c: Likewise.
43279 * math/w_log2.c: Likewise.
43280 * math/w_log2f.c: Likewise.
43281 * math/w_log2l.c: Likewise.
43282 * math/w_pow.c: Likewise.
43283 * math/w_powf.c: Likewise.
43284 * math/w_powl.c: Likewise.
43285 * math/w_remainder.c: Likewise.
43286 * math/w_remainderf.c: Likewise.
43287 * math/w_remainderl.c: Likewise.
43288 * math/w_scalb.c: Likewise.
43289 * math/w_scalbf.c: Likewise.
43290 * math/w_scalbl.c: Likewise.
43291 * math/w_sqrt.c: Likewise.
43292 * math/w_sqrtf.c: Likewise.
43293 * math/w_sqrtl.c: Likewise.
43294 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
43295 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
43296 used.
43297 * math/math_private.h: Declare __kernel_standard_f.
43298 * math/w_cosh.c: Remove cruft and optimize a bit.
43299 * math/w_coshf.c: Likewise.
43300 * math/w_coshl.c: Likewise.
43301 * math/w_exp2.c: Likewise.
43302 * math/w_exp2f.c: Likewise.
43303 * math/w_exp2l.c: Likewise.
43304 * math/w_hypot.c: Likewise.
43305 * math/w_hypotf.c: Likewise.
43306 * math/w_hypotl.c: Likewise.
43307 * math/w_lgamma.c: Likewise.
43308 * math/w_lgamma_r.c: Likewise.
43309 * math/w_lgammaf.c: Likewise.
43310 * math/w_lgammaf_r.c: Likewise.
43311 * math/w_lgammal.c: Likewise.
43312 * math/w_lgammal_r.c: Likewise.
43313 * math/w_sinh.c: Likewise.
43314 * math/w_sinhf.c: Likewise.
43315 * math/w_sinhl.c: Likewise.
43316 * math/w_tgamma.c: Likewise.
43317 * math/w_tgammaf.c: Likewise.
43318 * math/w_tgammal.c: Likewise.
43319 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43320 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43321 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
43322 Minor optimizations. Pretty printing. Remove cruft.
43323 * sysdeps/i386/fpu/e_acosf.S: Likewise.
43324 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43325 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43326 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43327 * sysdeps/i386/fpu/e_acosl.c: Likewise.
43328 * sysdeps/i386/fpu/e_asin.S: Likewise.
43329 * sysdeps/i386/fpu/e_asinf.S: Likewise.
43330 * sysdeps/i386/fpu/e_atan2.S: Likewise.
43331 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
43332 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
43333 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43334 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43335 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43336 * sysdeps/i386/fpu/e_exp10.S: Likewise.
43337 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
43338 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
43339 * sysdeps/i386/fpu/e_exp2.S: Likewise.
43340 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
43341 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
43342 * sysdeps/i386/fpu/e_fmod.S: Likewise.
43343 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
43344 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
43345 * sysdeps/i386/fpu/e_hypot.S: Likewise.
43346 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
43347 * sysdeps/i386/fpu/e_log.S: Likewise.
43348 * sysdeps/i386/fpu/e_log10.S: Likewise.
43349 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43350 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43351 * sysdeps/i386/fpu/e_log2.S: Likewise.
43352 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43353 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43354 * sysdeps/i386/fpu/e_logf.S: Likewise.
43355 * sysdeps/i386/fpu/e_logl.S: Likewise.
43356 * sysdeps/i386/fpu/e_pow.S: Likewise.
43357 * sysdeps/i386/fpu/e_powf.S: Likewise.
43358 * sysdeps/i386/fpu/e_powl.S: Likewise.
43359 * sysdeps/i386/fpu/e_remainder.S: Likewise.
43360 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
43361 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
43362 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43363 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43364 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43365 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
43366 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
43367 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
43368 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43369 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43370 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43371 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43372 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43373 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43374 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43375 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43376 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43377 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43378 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43379 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43380 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43381 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43382 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43383 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43384 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43385 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43386 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43387 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43388 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43389 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43390 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43391 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43392 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43393 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43394 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43395 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43396 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
43397 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43398 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43399 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43400 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43401 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43402 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43403 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43404 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43405 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43406 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43407 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43408 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43409 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43410 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43411 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43412 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43413 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43414 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43415 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43416 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43417 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
43418 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43419 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43420 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43421 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43422 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43423 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43424 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43425 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43426 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43427 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43428 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43429 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43430 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43431 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43432 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43433 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43434 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43435 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43436 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
43437 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43438 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43439 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43440 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43441 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43442 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43443 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43444 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43445 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43446 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43447 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43448 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43449 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43450 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
43451 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43452 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43453 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43454 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43455 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43456 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43457 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43458 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43459 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43460 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43461 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43462 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43463 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43464 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43465 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
43466 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
43467 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
43468 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
43469 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
43470 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
43471 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
43472 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43473 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43474 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43475 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43476 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
43477 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43478 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
43479 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
43480 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
43481 (__isnanf): Likewise.
43482 (__isinf_ns): Likewise.
43483 (__isinf_nsf): Likewise.
43484 (__finite): Likewise.
43485 (__finitef): Likewise.
43486 (__ieee754_sqrt): Define as macro.
43487 (__ieee754_sqrtf): Define as macro.
43488 (__ieee754_sqrtl): Define as macro.
43489 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
43490 inlined copy.
43491 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
43492 __FINITE_MATH_ONLY__ consistent.
43493 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
43494
12cc2fcd
AS
434952011-10-10 Andreas Schwab <schwab@linux-m68k.org>
43496
a843a204
AS
43497 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
43498 of rawmemchr.
43499
12cc2fcd
AS
43500 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
43501
c853acd5
UD
435022011-10-09 Ulrich Drepper <drepper@gmail.com>
43503
43504 * po/ja.po: Update from translation team.
43505
c658d255
RM
435062011-10-08 Roland McGrath <roland@hack.frob.com>
43507
110946e4
RM
43508 * locale/programs/locarchive.c (prepare_address_space): New function.
43509 (create_archive, enlarge_archive, open_archive): Use it.
43510
50604220
RM
43511 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
43512 inside [SHARED], where it is used.
43513
c658d255
RM
43514 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
43515
43516 * nss/getent.c (netgroup_keys): Remove unused variable.
43517 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43518
6a621eb7
UD
435192011-10-08 Ulrich Drepper <drepper@gmail.com>
43520
7edb55ce
UD
43521 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
43522 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
43523 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
43524 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
43525 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
43526 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
43527 * math/Makefile (libm-calls): Add s_isinf_ns.
43528 * math/divtc3.c: Use __isinf_nsl instead of isinf.
43529 * math/multc3.c: Likewise.
43530 * math/s_casin.c: Likewise.
43531 * math/s_casinf.c: Likewise.
43532 * math/s_casinl.c: Likewise.
43533 * math/s_ccos.c: Likewise.
43534 * math/s_ccosf.c: Likewise.
43535 * math/s_ccosl.c: Likewise.
43536 * math/s_ctan.c: Likewise.
43537 * math/s_ctanf.c: Likewise.
43538 * math/s_ctanh.c: Likewise.
43539 * math/s_ctanhf.c: Likewise.
43540 * math/s_ctanhl.c: Likewise.
43541 * math/s_ctanl.c: Likewise.
43542 * math/w_fmod.c: Likewise.
43543 * math/w_fmodf.c: Likewise.
43544 * math/w_fmodl.c: Likewise.
43545 * math/w_remainder.c: Likewise.
43546 * math/w_remainderf.c: Likewise.
43547 * math/w_remainderl.c: Likewise.
43548 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
43549 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
43550 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
43551 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
43552 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
43553 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
43554 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
43555 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
43556
187da0ae
UD
43557 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
43558 of the number.
43559 * stdio-common/printf_fphex.c: Likewise.
43560 * stdio-common/printf_size.c: Likewise.
43561
9277c064
UD
43562 * math/e_exp10.c: Include math_private.h using <...> not "...".
43563 * math/e_exp10f.c: Likewise.
43564 * math/e_exp10l.c: Likewise.
43565 * math/e_exp2l.c: Likewise.
43566 * math/e_j0l.c: Likewise.
43567 * math/e_j1l.c: Likewise.
43568 * math/e_jnl.c: Likewise.
43569 * math/e_lgammal_r.c: Likewise.
43570 * math/e_rem_pio2l.c: Likewise.
43571 * math/e_scalb.c: Likewise.
43572 * math/e_scalbf.c: Likewise.
43573 * math/e_scalbl.c: Likewise.
43574 * math/k_cosl.c: Likewise.
43575 * math/k_sinl.c: Likewise.
43576 * math/k_tanl.c: Likewise.
43577 * math/s_cacoshf.c: Likewise.
43578 * math/s_catan.c: Likewise.
43579 * math/s_catanf.c: Likewise.
43580 * math/s_catanh.c: Likewise.
43581 * math/s_catanhf.c: Likewise.
43582 * math/s_catanhl.c: Likewise.
43583 * math/s_catanl.c: Likewise.
43584 * math/s_ccosh.c: Likewise.
43585 * math/s_ccoshf.c: Likewise.
43586 * math/s_ccoshl.c: Likewise.
43587 * math/s_cexp.c: Likewise.
43588 * math/s_cexpf.c: Likewise.
43589 * math/s_cexpl.c: Likewise.
43590 * math/s_clog.c: Likewise.
43591 * math/s_clog10.c: Likewise.
43592 * math/s_clog10f.c: Likewise.
43593 * math/s_clog10l.c: Likewise.
43594 * math/s_clogf.c: Likewise.
43595 * math/s_clogl.c: Likewise.
43596 * math/s_csin.c: Likewise.
43597 * math/s_csinf.c: Likewise.
43598 * math/s_csinh.c: Likewise.
43599 * math/s_csinhf.c: Likewise.
43600 * math/s_csinhl.c: Likewise.
43601 * math/s_csinl.c: Likewise.
43602 * math/s_csqrt.c: Likewise.
43603 * math/s_csqrtf.c: Likewise.
43604 * math/s_csqrtl.c: Likewise.
43605 * math/s_ctan.c: Likewise.
43606 * math/s_ctanf.c: Likewise.
43607 * math/s_ctanh.c: Likewise.
43608 * math/s_ctanhf.c: Likewise.
43609 * math/s_ctanhl.c: Likewise.
43610 * math/s_ctanl.c: Likewise.
43611 * math/s_ldexp.c: Likewise.
43612 * math/s_ldexpf.c: Likewise.
43613 * math/s_ldexpl.c: Likewise.
43614 * math/s_significand.c: Likewise.
43615 * math/s_significandf.c: Likewise.
43616 * math/s_significandl.c: Likewise.
43617 * math/w_acos.c: Likewise.
43618 * math/w_acosf.c: Likewise.
43619 * math/w_acosh.c: Likewise.
43620 * math/w_acoshf.c: Likewise.
43621 * math/w_acoshl.c: Likewise.
43622 * math/w_acosl.c: Likewise.
43623 * math/w_asin.c: Likewise.
43624 * math/w_asinf.c: Likewise.
43625 * math/w_asinl.c: Likewise.
43626 * math/w_atan2.c: Likewise.
43627 * math/w_atan2f.c: Likewise.
43628 * math/w_atan2l.c: Likewise.
43629 * math/w_atanh.c: Likewise.
43630 * math/w_atanhf.c: Likewise.
43631 * math/w_atanhl.c: Likewise.
43632 * math/w_cosh.c: Likewise.
43633 * math/w_coshf.c: Likewise.
43634 * math/w_coshl.c: Likewise.
43635 * math/w_dremf.c: Likewise.
43636 * math/w_exp10.c: Likewise.
43637 * math/w_exp10f.c: Likewise.
43638 * math/w_exp10l.c: Likewise.
43639 * math/w_exp2.c: Likewise.
43640 * math/w_exp2f.c: Likewise.
43641 * math/w_fmod.c: Likewise.
43642 * math/w_fmodf.c: Likewise.
43643 * math/w_fmodl.c: Likewise.
43644 * math/w_hypot.c: Likewise.
43645 * math/w_hypotf.c: Likewise.
43646 * math/w_hypotl.c: Likewise.
43647 * math/w_j0.c: Likewise.
43648 * math/w_j0f.c: Likewise.
43649 * math/w_j0l.c: Likewise.
43650 * math/w_j1.c: Likewise.
43651 * math/w_j1f.c: Likewise.
43652 * math/w_j1l.c: Likewise.
43653 * math/w_jn.c: Likewise.
43654 * math/w_jnf.c: Likewise.
43655 * math/w_jnl.c: Likewise.
43656 * math/w_lgamma.c: Likewise.
43657 * math/w_lgamma_r.c: Likewise.
43658 * math/w_lgammaf.c: Likewise.
43659 * math/w_lgammaf_r.c: Likewise.
43660 * math/w_lgammal.c: Likewise.
43661 * math/w_lgammal_r.c: Likewise.
43662 * math/w_log.c: Likewise.
43663 * math/w_log10.c: Likewise.
43664 * math/w_log10f.c: Likewise.
43665 * math/w_log10l.c: Likewise.
43666 * math/w_log2.c: Likewise.
43667 * math/w_log2f.c: Likewise.
43668 * math/w_log2l.c: Likewise.
43669 * math/w_logf.c: Likewise.
43670 * math/w_logl.c: Likewise.
43671 * math/w_pow.c: Likewise.
43672 * math/w_powf.c: Likewise.
43673 * math/w_powl.c: Likewise.
43674 * math/w_remainder.c: Likewise.
43675 * math/w_remainderf.c: Likewise.
43676 * math/w_remainderl.c: Likewise.
43677 * math/w_scalb.c: Likewise.
43678 * math/w_scalbf.c: Likewise.
43679 * math/w_scalbl.c: Likewise.
43680 * math/w_sinh.c: Likewise.
43681 * math/w_sinhf.c: Likewise.
43682 * math/w_sinhl.c: Likewise.
43683 * math/w_sqrt.c: Likewise.
43684 * math/w_sqrtf.c: Likewise.
43685 * math/w_sqrtl.c: Likewise.
43686 * math/w_tgamma.c: Likewise.
43687 * math/w_tgammaf.c: Likewise.
43688 * math/w_tgammal.c: Likewise.
43689
6a621eb7
UD
43690 * po/ja.po: Update from translation team.
43691
bf582445
AJ
436922011-09-29 Andreas Jaeger <aj@suse.de>
43693
f9efbf3a
AJ
43694 [BZ #13179]
43695 * sunrpc/netname.c (netname2host): Fix logic.
43696
bf582445
AJ
43697 [BZ #6779]
43698 [BZ #6783]
43699 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
43700 correctly.
43701 * math/w_remainder.c (__remainder): Likewise.
43702 * math/w_remainderf.c (__remainderf): Likewise.
43703 * math/libm-test.inc (remainder_test): Add test cases.
43704
48693bea
AK
437052011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43706
43707 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
43708 sdiv_qrnnd.
43709
42622229
LD
437102011-10-07 Ulrich Drepper <drepper@gmail.com>
43711
43712 * string/test-memcmp.c: Avoid unncessary #defines.
43713 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43714
093ecf92
LD
437152011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43716
43717 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
43718 Use new sse2 version for core i3 - i7 as it's faster
43719 than sse42 version.
43720 (bit_Prefer_PMINUB_for_stringop): New.
43721 * sysdeps/x86_64/rawmemchr.S: Update.
43722 Replace with faster SSE2 version.
43723 * sysdeps/x86_64/memrchr.S: New file.
43724 * sysdeps/x86_64/memchr.S: Update.
43725 Replace with faster SSE2 version.
43726
fde56e5c
MP
437272011-09-12 Marek Polacek <mpolacek@redhat.com>
43728
43729 * elf/dl-load.c (lose): Add cast to avoid warning.
43730
21fd49a9
UD
437312011-10-07 Ulrich Drepper <drepper@gmail.com>
43732
5a06e643
UD
43733 * po/ca.po: Update from translation team.
43734
684ae515
UD
43735 * inet/getnetgrent_r.c: Hook up nscd.
43736 * nscd/Makefile (routines): Add nscd_netgroup.
43737 (nscd-modules): Add netgroupcache.
43738 (CFLAGS-netgroupcache.c): Define.
43739 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
43740 (cache_search): Add const to second parameter.
43741 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
43742 INNETGR.
43743 (dbs): Add netgrdb entry.
43744 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
43745 (verify_persistent_db): Handle netgrdb.
43746 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
43747 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
43748 GETFDNETGR.
43749 (netgroup_response_header): Define.
43750 (innetgroup_response_header): Define.
43751 (datahead): Add netgroup_response_header and innetgroup_response_header
43752 elements.
43753 * nscd/nscd.conf: Add entries for netgroup cache.
43754 * nscd/nscd.h (dbtype): Add netgrdb.
43755 (_PATH_NSCD_NETGROUP_DB): Define.
43756 (netgroup_iov_disabled): Declare.
43757 (xmalloc, xcalloc, xrealloc): Move declarations here.
43758 (cache_search): Adjust prototype.
43759 Add netgroup-related prototypes.
43760 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
43761 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
43762 (__nscd_innetgr): Declare.
43763 * nscd/selinux.c (perms): Use access_vector_t as element type and
43764 add netgroup-related initializers.
43765 * nscd/netgroupcache.c: New file.
43766 * nscd/nscd_netgroup.c: New file.
43767 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
43768 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
43769 For four parameters use innetgr.
43770 * nss/nss_files/files-init.c: Add definition and callback for netgr.
43771 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43772 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43773 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43774
21fd49a9
UD
43775 * nscd/connections.c (register_traced_file): Don't register file
43776 for disabled databases.
43777
054c0457
UD
437782011-10-06 Ulrich Drepper <drepper@gmail.com>
43779
32b63198
UD
43780 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43781
054c0457
UD
43782 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43783 from tree and freeing node.
43784
64031225
JO
437852011-09-25 Jiri Olsa <jolsa@redhat.com>
43786
43787 * nss/nsswitch.c (__nss_database_lookup): Handle
43788 nss_parse_service_list out of memory case.
43789
0490345c
JO
437902011-09-15 Jiri Olsa <jolsa@redhat.com>
43791
43792 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43793 out of memory case.
43794
3a62d00d
AS
437952011-10-04 Andreas Schwab <schwab@redhat.com>
43796
43797 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
43798 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
43799 pass it down.
43800 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
43801 elf_machine_rela, elf_machine_lazy_rel.
43802 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
43803 (ELF_DYNAMIC_DO_REL): Likewise.
43804 (ELF_DYNAMIC_DO_RELA): Likewise.
43805 (ELF_DYNAMIC_RELOCATE): Likewise.
43806 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
43807 to ELF_DYNAMIC_DO_REL.
43808 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
43809 (dl_main): In trace mode always set __RTLD_NOIFUNC.
43810 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
43811 elf_machine_rela.
43812 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
43813 skip_ifunc, don't call ifunc function if non-zero.
43814 (elf_machine_rela): Likewise.
43815 (elf_machine_lazy_rel): Likewise.
43816 (elf_machine_lazy_rela): Likewise.
43817 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
43818 (elf_machine_lazy_rel): Likewise.
43819 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
43820 Likewise.
43821 (elf_machine_lazy_rel): Likewise.
43822 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43823 Likewise.
43824 (elf_machine_lazy_rel): Likewise.
43825 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
43826 (elf_machine_lazy_rel): Likewise.
43827 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
43828 (elf_machine_lazy_rel): Likewise.
43829 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43830 (elf_machine_lazy_rel): Likewise.
43831 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
43832 (elf_machine_lazy_rel): Likewise.
43833 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
43834 (elf_machine_lazy_rel): Likewise.
43835 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43836 (elf_machine_lazy_rel): Likewise.
43837
68577918
UD
438382011-09-28 Ulrich Drepper <drepper@gmail.com>
43839
43840 * nss/nss_files/files-init.c (_nss_files_init): Use static
43841 initialization for all the *_traced_file variables.
43842
68822d74
AS
438432011-09-28 Andreas Schwab <schwab@redhat.com>
43844
43845 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43846
2056100b
RM
438472011-09-27 Roland McGrath <roland@hack.frob.com>
43848
43849 [BZ #13226]
43850 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
43851
32c76b63
AS
438522011-09-27 Andreas Schwab <schwab@redhat.com>
43853
43854 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43855 Reread the line before reparsing it.
43856
bf972c9d
AS
438572011-09-26 Andreas Schwab <schwab@redhat.com>
43858
43859 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
43860
e057a1b5
JM
438612011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
43862 Maxim Kuvyrkov <maxim@codesourcery.com>
43863 Joseph Myers <joseph@codesourcery.com>
43864
43865 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
43866 if needed for __stack_chk_guard.
43867
bc7e1c36
RM
438682011-09-19 Roland McGrath <roland@hack.frob.com>
43869
ecb1482f
RM
43870 * sysdeps/posix/spawni.c (script_execute): Always define it.
43871 It will be optimized away if unused.
43872 (maybe_script_execute): New function.
43873 (__spawni): Call it.
43874
bc7e1c36
RM
43875 * Makerules: Don't include tls.make.
43876 (config-tls): Always set to thread.
43877 * tls.make.c: File removed.
43878
1c3b002b
MF
438792011-09-19 Mike Frysinger <vapier@gentoo.org>
43880
43881 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
43882 * config.make.in (CPPFLAGS-config): New substituted variable.
43883
2840865d
UD
438842011-09-15 Ulrich Drepper <drepper@gmail.com>
43885
88738eb6
UD
43886 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
43887
cbf645a6 43888 [BZ #13192]
2840865d
UD
43889 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
43890 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
43891
b402e91a
RM
438922011-09-15 Roland McGrath <roland@hack.frob.com>
43893
43894 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
43895 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
43896 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43897 (CALL_FAIL): Likewise.
43898 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
43899 (CALL_FAIL): Macro removed.
43900 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
43901
4c1a1f71
UD
439022011-09-15 Ulrich Drepper <drepper@gmail.com>
43903
43904 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
43905 for __FINITE_MATH_ONLY__ == 1.
43906
edc121be
AS
439072011-09-15 Andreas Schwab <schwab@redhat.com>
43908
43909 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
43910 __ieee754_sqrt instead of sqrt.
43911 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
43912 __ieee754_sqrtf instead of sqrtf.
43913 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
43914 __floorf instead of floorf.
43915 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
43916 __floorf, __truncf instead of floorf, truncf.
43917
cd205654
UD
439182011-09-14 Ulrich Drepper <drepper@gmail.com>
43919
ee4d0315
UD
43920 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
43921
cd205654
UD
43922 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
43923 __extern_always_inline.
43924 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
43925 32-bit.
43926
48b67d71
AS
439272011-09-14 Andreas Schwab <schwab@redhat.com>
43928
43929 * elf/rtld.c (dl_main): Also relocate in dependency order when
43930 doing symbol dependency testing.
43931
1ae12c75
AS
439322011-09-13 Andreas Schwab <schwab@linux-m68k.org>
43933
43934 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43935 Always define `refsym'.
43936
995a80df
AS
439372011-09-13 Andreas Schwab <schwab@redhat.com>
43938
e529793b
AS
43939 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
43940 (__FD_ELT): Renamed from __FDELT.
43941 * misc/bits/select2.h (__FD_ELT): Likewise.
43942 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
43943 __FD_MASK instead of __FDELT, __FDMASK.
43944 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43945 Likewise.
43946 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43947 Likewise.
43948
52d4fef8
AS
43949 * elf/Makefile (gen-ldd): Fix pattern.
43950
995a80df
AS
43951 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
43952 (init_tls): Likewise.
43953
8682f8b0
UD
439542011-09-12 Ulrich Drepper <drepper@gmail.com>
43955
43956 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
43957
de82006d
AS
439582011-09-12 Andreas Schwab <schwab@redhat.com>
43959
a7c8e6a1
AS
43960 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
43961 `struct cmsghdr *' instead of `void *'.
43962 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
43963 Likewise.
43964
0f31fe77
AS
439652011-09-11 Andreas Schwab <schwab@linux-m68k.org>
43966
43967 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
43968 if non-absolute.
43969 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
43970 ldd_rewrite_script.
0f31fe77 43971
32b4c839
UD
439722011-09-11 Ulrich Drepper <drepper@gmail.com>
43973
83cd1420
UD
43974 * configure.in: Remove --with-tls option.
43975 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
43976 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
43977 out in case it is missing.
43978 * sysdeps/ia64/elf/configure.in: Likewise.
43979 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
43980 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
43981 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
43982 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
43983 * sysdeps/sh/elf/configure.in: Likewise.
43984 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
43985 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43986 * sysdeps/x86_64/elf/configure.in: Likewise.
43987 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
43988 * sysdeps/mach/hurd/tls.h: Likewise.
43989
633f745d
UD
43990 [BZ #13067]
43991 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
43992
f318beb8
UD
43993 [BZ #13090]
43994 * configure.in: Fix use of AC_INIT.
43995
32b4c839
UD
43996 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
43997
3ce1f295
UD
439982011-09-10 Ulrich Drepper <drepper@gmail.com>
43999
bb016596
UD
44000 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
44001 __set_errno.
8e58439c
UD
44002 * malloc/hooks.c: Likewise.
44003
aebae053 44004 [BZ #11929]
02d46fc4
UD
44005 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
44006 variables statically.
44007 (narenas): Initialize.
44008 (list_lock): Initialize.
bb016596
UD
44009 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
44010 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
44011 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
44012 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
44013 Add initializers to main_arena and mp_.
44014 (malloc_state): Remove pagesize member. Change all users to use
44015 GLRO(dl_pagesize).
44016
44017 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
44018 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
44019 is always initialized.
44020
22a89187
UD
44021 * malloc/malloc.c: Removed unused configurations and dead code.
44022 * malloc/arena.c: Likewise.
44023 * malloc/hooks.c: Likewise.
02d46fc4 44024 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 44025
d063d164
UD
44026 * include/tls.h: Removed. USE___THREAD must always be defined.
44027 * bits/libc-tsd.h: Don't handle !USE___THREAD.
44028 * elf/dl-libc.c: Likewise.
44029 * elf/dl-tsd.c: Likewise.
44030 * include/errno.h: Likewise.
44031 * include/netdb.h: Likewise.
44032 * include/resolv.h: Likewise.
44033 * inet/herrno-loc.c: Likewise.
44034 * inet/herrno.c: Likewise.
44035 * malloc/arena.c: Likewise.
44036 * malloc/hooks.c: Likewise.
44037 * malloc/malloc.c: Likewise.
44038 * resolv/res-state.c: Likewise.
44039 * resolv/res_libc.c: Likewise.
44040 * sysdeps/i386/dl-machine.h: Likewise.
44041 * sysdeps/ia64/dl-machine.h: Likewise.
44042 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44043 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44044 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44045 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44046 * sysdeps/sh/dl-machine.h: Likewise.
44047 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44048 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44049 * sysdeps/unix/i386/sysdep.S: Likewise.
44050 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44051 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
44052 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
44053 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44054 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
44055 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44056 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44057 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44058 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44059 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44060 * sysdeps/unix/x86_64/sysdep.S: Likewise.
44061 * sysdeps/x86_64/dl-machine.h: Likewise.
44062 * tls.make.c: Likewise.
44063
3ce1f295
UD
44064 * configure.in: Remove --with-__thread option. Make tests for
44065 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
44066 tls_model attribute fail if no support is available. Remove
44067 USE_IN_LIBIO.
44068 * Makeconfig: Adjust for dropped configure option. All features are
44069 now mandatory.
44070 * Makerules: Likewise.
44071 * Versions.def: Likewise.
44072 * argp/argp-fmtstream.c: Likewise.
44073 * argp/argp-fmtstream.h: Likewise.
44074 * argp/argp-help.c: Likewise.
44075 * assert/assert.c: Likewise.
44076 * config.h.in: Likewise.
44077 * config.make.in: Likewise.
44078 * configure: Likewise.
44079 * configure.in: Likewise.
44080 * csu/Versions: Likewise.
44081 * csu/init.c: Likewise.
44082 * elf/tst-audit2.c: Likewise.
44083 * elf/tst-tls10.c: Likewise.
44084 * elf/tst-tls10.h: Likewise.
44085 * elf/tst-tls11.c: Likewise.
44086 * elf/tst-tls12.c: Likewise.
44087 * elf/tst-tls14.c: Likewise.
44088 * elf/tst-tlsmod11.c: Likewise.
44089 * elf/tst-tlsmod12.c: Likewise.
44090 * elf/tst-tlsmod13.c: Likewise.
44091 * elf/tst-tlsmod13a.c: Likewise.
44092 * elf/tst-tlsmod14a.c: Likewise.
44093 * elf/tst-tlsmod15b.c: Likewise.
44094 * elf/tst-tlsmod16a.c: Likewise.
44095 * elf/tst-tlsmod16b.c: Likewise.
44096 * elf/tst-tlsmod7.c: Likewise.
44097 * elf/tst-tlsmod8.c: Likewise.
44098 * elf/tst-tlsmod9.c: Likewise.
44099 * gmon/gmon.c: Likewise.
44100 * grp/fgetgrent_r.c: Likewise.
44101 * grp/putgrent.c: Likewise.
44102 * hurd/fopenport.c: Likewise.
44103 * include/libc-symbols.h: Likewise.
44104 * include/tls.h: Likewise.
44105 * intl/gettextP.h: Likewise.
44106 * intl/loadinfo.h: Likewise.
44107 * locale/global-locale.c: Likewise.
44108 * locale/localeinfo.h: Likewise.
44109 * mach/devstream.c: Likewise.
44110 * malloc/arena.c: Likewise.
44111 * malloc/set-freeres.c: Likewise.
44112 * misc/err.c: Likewise.
44113 * misc/getttyent.c: Likewise.
44114 * misc/mntent_r.c: Likewise.
44115 * posix/getopt.c: Likewise.
44116 * posix/wordexp.c: Likewise.
44117 * pwd/fgetpwent_r.c: Likewise.
44118 * resolv/Versions: Likewise.
44119 * resolv/res_hconf.c: Likewise.
44120 * shadow/fgetspent_r.c: Likewise.
44121 * shadow/putspent.c: Likewise.
44122 * stdio-common/printf_fphex.c: Likewise.
44123 * stdio-common/tmpfile.c: Likewise.
44124 * stdlib/abort.c: Likewise.
44125 * stdlib/fmtmsg.c: Likewise.
44126 * sunrpc/auth_unix.c: Likewise.
44127 * sunrpc/clnt_perr.c: Likewise.
44128 * sunrpc/clnt_tcp.c: Likewise.
44129 * sunrpc/clnt_udp.c: Likewise.
44130 * sunrpc/clnt_unix.c: Likewise.
44131 * sunrpc/openchild.c: Likewise.
44132 * sunrpc/svc_simple.c: Likewise.
44133 * sunrpc/svc_tcp.c: Likewise.
44134 * sunrpc/svc_udp.c: Likewise.
44135 * sunrpc/svc_unix.c: Likewise.
44136 * sunrpc/xdr.c: Likewise.
44137 * sunrpc/xdr_array.c: Likewise.
44138 * sunrpc/xdr_rec.c: Likewise.
44139 * sunrpc/xdr_ref.c: Likewise.
44140 * sunrpc/xdr_stdio.c: Likewise.
44141
1248c1c4
PB
441422011-09-09 Ulrich Drepper <drepper@gmail.com>
44143
44144 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44145
441462011-07-03 Andreas Jaeger <aj@suse.de>
44147
44148 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
44149 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
44150 regenerate with gen-libm-tests.pl.
44151
441522010-05-12 Petr Baudis <pasky@suse.cz>
44153
44154 [BZ #11589]
44155 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
44156 around j0() zero points by switching to j1().
44157 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44158 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44159 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44160 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44161
f22e1074
UD
441622011-09-09 Ulrich Drepper <drepper@gmail.com>
44163
f19009c1
UD
44164 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44165 instead of 0.
44166 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 44167 instead of 0.
f19009c1
UD
44168 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44169 Patch in part by Pavel Roskin <proski@gnu.org>.
44170
3f8cc204
UD
44171 [BZ #13138]
44172 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44173 realloc.
44174 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
44175 Free memory block if necessary.
44176
f22e1074
UD
44177 [BZ #12847]
44178 * libio/genops.c (INTDEF): For string streams the _lock pointer can
44179 be NULL. Don't lock in this case.
44180
0a2349f9
RM
441812011-09-09 Roland McGrath <roland@hack.frob.com>
44182
44183 * elf/elf.h (ELFOSABI_GNU): New macro.
44184 (ELFOSABI_LINUX): Define to that.
44185
f3cdd467
DZ
441862011-07-29 Denis Zaitceff <zaitceff@gmail.com>
44187
44188 * string/strncat.c (strncat): Undef the symbol in case it has been
44189 defined in bits/string.h.
44190
74718d13
UD
441912011-09-09 Ulrich Drepper <drepper@gmail.com>
44192
633e9e0f
UD
44193 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
44194
0a2349f9 44195 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
44196 link map.
44197
f9924780
AJ
441982011-08-17 Andreas Jaeger <aj@suse.de>
44199
44200 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
44201
7f5517aa
PP
442022011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
44203 Ian Lance Taylor <iant@google.com>
44204
44205 * math/libm-test.inc (lround_test): New testcase.
44206 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
44207
762011fe
UD
442082011-09-08 Ulrich Drepper <drepper@gmail.com>
44209
92963737
UD
44210 * Makefile: Remove support for automatic cvs check-ins.
44211 * Makerules: Likewise.
44212 * config.make.in: Likewise.
44213 * configure.in: Likewise.
44214 * intl/Makefile: Likewise.
44215 * locale/Makefile: Likewise.
44216 * po/Makefile: Likewise.
44217 * posix/Makefile: Likewise.
44218 * sysdeps/gnu/Makefile: Likewise.
44219 * sysdeps/mach/hurd/Makefile: Likewise.
44220 * sysdeps/sparc/sparc32/Makefile: Likewise.
44221
b0727fd8
JS
44222 [BZ #13118]
44223 * posix/Makefile (bug-regex32-ENV): Define.
44224 Patch by John Stanley <jpsinthemix@verizon.net>.
44225
a0f33f99
UD
44226 * misc/Makefile (headers): Add bits/select2.h.
44227 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44228 * misc/bits/select2.h: New file.
44229 * include/bits/select2.h: New file.
44230 * debug/Makefile (routines): Add fdelt_chk.
44231 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44232 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44233 FD_ISSET.
44234 * debug/fdelt_chk.c: New file.
44235
762011fe
UD
44236 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
44237 * wcsmbs/test-wmemcmp.c: Likewise.
44238 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 44239 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
44240
442412011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44242
44243 * string/Makefile (strop-tests): Add memcmp.
44244 * string/test-wmemcmp.c: New file.
44245 * string/test-memcmp.c: Add wmemcmp support.
44246
7f513ec8
RM
442472011-09-08 Roland McGrath <roland@hack.frob.com>
44248
0442afb4
RM
44249 [BZ #13153]
44250 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44251 2011-07-19 change.
44252
7f513ec8
RM
44253 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44254 garbage value in a __mach_port_mod_refs call in the cases of the
44255 task-self and thread-self ports.
44256
a12b2239
ST
442572011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44258
44259 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44260
610f9ab4
AS
442612011-09-08 Andreas Schwab <schwab@redhat.com>
44262
7f513ec8 44263 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 44264
48882a1a
LD
442652011-09-07 Ulrich Drepper <drepper@gmail.com>
44266
b49865be
UD
44267 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
44268
fdc86bc9
UD
44269 * elf/dl-libc.c (dlerror_run): Pass back error code from
44270 dl_catch_error.
44271
c966526a
UD
44272 [BZ #13123]
44273 * elf/dl-load.c (lose): Free l_origin if it is valid.
44274
48882a1a
LD
44275 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
44276 names.
44277 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
44278 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44279 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44280 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44281 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
44282 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
44283
77a2a8b4
AZ
442842011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44285
44286 * sysdeps/powerpc/fpu/e_hypot.c: New file.
44287 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
44288 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
44289 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
44290 * sysdeps/powerpc/fpu/k_cosf.c: New file.
44291 * sysdeps/powerpc/fpu/k_sinf.c: New file.
44292 * sysdeps/powerpc/fpu/s_cosf.c: New file.
44293 * sysdeps/powerpc/fpu/s_sinf.c: New file.
44294 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
44295 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
44296
24f579d8
AM
442972011-08-15 Alan Modra <amodra@gmail.com>
44298
44299 [BZ #13092]
44300 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
44301 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
44302 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
44303 ppc_mcount to static-only-routines.
44304 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
44305 __mcount_internal.
44306 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
44307 __mcount_internal with usual JUMPTARGET. Remove useless nop.
44308
3d4837df
UD
443092011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
44310
44311 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
44312 for finite and infinity parameters.
44313
22700377
WS
443142011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
44315
44316 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
44317 and add nop instructions for throughput optimization.
44318 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44319
5025581e
WS
443202011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
44321
44322 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
44323 aligned copy for power7 with vector-scalar instructions.
44324 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44325
08a300c9
L
443262011-07-24 H.J. Lu <hongjiu.lu@intel.com>
44327
44328 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
44329 AVX check.
44330
59178ef9
AS
443312011-09-07 Andreas Schwab <schwab@redhat.com>
44332
44333 [BZ #13144]
44334 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
44335 last change.
44336
e38ba7ab
UD
443372011-09-07 Ulrich Drepper <drepper@gmail.com>
44338
44339 * sysdeps/unix/sysv/linux/x86_64/init-first.c
44340 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
44341 syscall wrapper around clock_gettime in __vdso_clock_gettime.
44342 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
44343 clock_gettime.
44344
d53a73ac
UD
443452011-09-06 Ulrich Drepper <drepper@gmail.com>
44346
fc8bffcc
UD
44347 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
44348 Forgot to demangle the pointer.
44349
ceaa0c5d
UD
44350 * sysdeps/i386/sysdep.h: Define atom_text_section.
44351 * sysdeps/x86_64/sysdep.h: Likewise.
44352 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
44353 section with atom_text_section.
44354 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44355 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44356 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
44357 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44358 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
44359
a77d3c17
UD
44360 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
44361 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
44362 already be defined. Change to take two parameters and don't assign
44363 result to variable. Adjust all users.
44364 Define INTERNAL_GETTIME if not already defined.
44365 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
44366 call.
44367 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
44368 HAVE_CLOCK_GETTIME_VSYSCALL.
44369 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
44370
d53a73ac
UD
44371 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
44372 gettimeofday vsyscall, just use time.
44373
a8f84144
AS
443742011-09-06 Andreas Schwab <schwab@redhat.com>
44375
44376 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
44377 <errno.h>.
44378
ef606249
UD
443792011-09-06 Ulrich Drepper <drepper@gmail.com>
44380
44381 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
44382 syscall on x86-64.
44383 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
44384 syscall.
44385 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
44386 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
44387 syscall if possible.
44388
6585cb60
UD
443892011-09-05 Ulrich Drepper <drepper@gmail.com>
44390
44391 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
44392 e_ident. Don't pass to find_mapsXX.
44393 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
44394
a5f524e4
LD
443952011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44396
44397 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44398 strchr-sse2-no-bsf strrchr-sse2-no-bsf
44399 * sysdeps/x86_64/multiarch/strchr.S: Update.
44400 Check bit_slow_BSF bit.
44401 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44402 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
44403 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
44404
554881ef
UD
444052011-09-05 Ulrich Drepper <drepper@gmail.com>
44406
d96de963
UD
44407 [BZ #13134]
44408 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
44409 before glibc 2.15.
44410 (tryshell): Define.
44411 (__spawni): Change last parameter to be flag. Test
44412 SPAWN_XFLAGS_USE_PATH flag to use path or not.
44413 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
44414 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
44415 * posix/spawni.c: Likewise.
44416 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
44417 * posix/spawnp.c: Likewise. Change normal version to use
44418 SPAWN_XFLAGS_USE_PATH.
44419 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
44420 SPAWN_XFLAGS_TRY_SHELL.
44421
d48e5868
UD
44422 [BZ #13150]
44423 * posix/glob.h: Remove gcc 1.x support.
44424
554881ef
UD
44425 [BZ #13068]
44426 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
44427
693fb948
LD
444282011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44429
44430 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44431 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
44432 strrchr-sse2-bsf
44433 * sysdeps/i386/i686/multiarch/strchr.S: New file.
44434 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
44435 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
44436 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
44437 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
44438 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
44439
1b48c537
UD
444402011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44441
49d42c37
UD
44442 * sysdeps/x86_64/wcscmp.S: New file.
44443
1b48c537
UD
44444 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
44445 wcscmp-c wcscmp-sse2
44446 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
44447 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
44448 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
44449 * wcsmbs/wcscmp.c: Allow renaming.
44450
15c95c5d
DM
444512011-09-05 David S. Miller <davem@davemloft.net>
44452
44453 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
44454 stack slot, rather than the struct return pointer slot.
44455 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
44456 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
44457 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
44458 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
44459
2f0ad8f3
UD
444602011-09-05 Ulrich Drepper <drepper@gmail.com>
44461
d88ae418
UD
44462 * po/ja.po: Update from translation team.
44463
2f0ad8f3
UD
44464 [BZ #13144]
44465 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
44466 kernel in 64-bit binaries.
44467
5f4318d1
DM
444682011-09-01 David S. Miller <davem@davemloft.net>
44469
44470 * elf/elf.h (HWCAP_SPARC_*): Move to..
44471 * sysdeps/sparc/sysdep.h: this new file and add new values.
44472 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
44473 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
44474 _DL_HWCAP_COUNT to 24.
44475 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44476 entries.
44477 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
44478 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
44479 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
44480 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
44481 instead of magic constants.
44482 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44483
3ba57516
DM
444842011-08-31 David S. Miller <davem@davemloft.net>
44485
44486 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
44487 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
44488 Reimplement to do errno handling inline.
44489 (SYSCALL_ERROR_HANDLER): New macro.
44490 (__SYSCALL_STRING): Do not do errno handling in asm.
44491 (__CLONE_SYSCALL_STRING): Delete.
44492 (__INTERNAL_SYSCALL_STRING): Delete.
44493 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
44494 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
44495 (PSEUDO): Reimplement to do errno handling inline.
44496 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
44497 (SYSCALL_ERROR_HANDLER): New macro.
44498 (__SYSCALL_STRING): Do not do errno handling in asm.
44499 (__CLONE_SYSCALL_STRING): Delete.
44500 (__INTERNAL_SYSCALL_STRING): Delete.
44501 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
44502 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
44503 i386.
44504 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
44505 (inline_syscall*): Add 'err' argument.
44506 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
44507 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
44508 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
44509 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
44510
44511 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
44512 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44513
2bc17433
AS
445142011-08-30 Andreas Schwab <schwab@redhat.com>
44515
44516 * elf/rtld.c (dl_main): Relocate objects in dependency order.
44517
fbeb5f4d
JO
445182011-08-29 Jiri Olsa <jolsa@redhat.com>
44519
44520 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
44521 directive.
44522
ad69cc26
DM
445232011-08-24 David S. Miller <davem@davemloft.net>
44524
44525 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
44526
39dd69df
AS
445272011-08-24 Andreas Schwab <schwab@redhat.com>
44528
44529 * elf/Makefile: Add rules to build and run unload8 test.
44530 * elf/unload8.c: New file.
44531 * elf/unload8mod1.c: New file.
44532 * elf/unload8mod1x.c: New file.
44533 * elf/unload8mod2.c: New file.
44534 * elf/unload8mod3.c: New file.
44535
44536 * elf/dl-close.c (_dl_close_worker): Reset private search list if
44537 it wasn't used.
44538
2c0b250a
DM
445392011-08-23 David S. Miller <davem@davemloft.net>
44540
44541 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
44542 subtract stack bias.
44543 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
44544 %sp not %fp in calculations.
44545 (_JMPBUF_UNWINDS_ADJ): Likewise.
44546
22044b48
DM
44547 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
44548 (aio_suspend): Call it to force an exception region around the
44549 AIO_MISC_WAIT() invocation.
44550
2cae4995
AS
445512011-08-23 Andreas Schwab <schwab@redhat.com>
44552
44553 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
44554 backslash.
44555
873a772e
AJ
445562011-07-04 Aurelien Jarno <aurelien@aurel32.net>
44557
44558 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
44559 protection macro.
44560 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
44561 and <dl-machine.h>.
44562 (Elf64_FuncDesc): Remove.
44563
25ad0df1
DM
445642011-08-22 David S. Miller <davem@davemloft.net>
44565
44566 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
44567 sigaltstack check, add missing cfi directives.
44568 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
44569 missing cfi directives, and sigaltstack handling.
44570
e888bcbe
AS
445712011-08-16 Andreas Schwab <schwab@redhat.com>
44572
44573 [BZ #11724]
44574 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
44575 object is seen twice.
44576 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44577
44578 * elf/Makefile (distribute): Add tst-initorder2.c.
44579 (tests): Add tst-initorder2.
44580 (modules-names): Add tst-initorder2a tst-initorder2b
44581 tst-initorder2c tst-initorder2d. Add rules to build them.
44582 ($(objpfx)tst-initorder2.out): New rule.
44583 * elf/tst-initorder2.c: New file.
44584 * elf/tst-initorder2.exp: New file.
44585
87162f46
AS
445862011-08-22 Andreas Schwab <schwab@redhat.com>
44587
70538b7f
AS
44588 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
44589
f55ffe58
AS
44590 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
44591 dependencies back to end of function.
44592
87162f46
AS
44593 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44594 $(elfobjdir)/ld.so.
44595
91b392a4
UD
445962011-08-21 Ulrich Drepper <drepper@gmail.com>
44597
44598 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
44599 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
44600 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
44601 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
44602 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
44603 of __vdso_gettimeofday.
44604 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
44605 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
44606 attribute_hidden.
44607 (_libc_vdso_platform_setup): Remove initialization of
44608 __vdso_gettimeofday and __vdso_time.
44609
5c43483f
UD
446102011-08-20 Ulrich Drepper <drepper@gmail.com>
44611
775a77e7
UD
44612 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
44613 and fgetc_unlocked.
44614 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
44615 getc_unlocked.
89f447ed 44616
49c74ba9
UD
44617 * elf/dl-open.c (add_to_global): Report additions to the global scope
44618 for LD_DEBUG=scopes.
44619 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 44620 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 44621
5c43483f
UD
44622 [BZ #13114]
44623 * stdio-common/Makefile (tests): Add bug24.
44624 * stdio-common/bug24.c: New file.
44625
a101b025
AJ
446262011-08-19 Andreas Jaeger <aj@suse.de>
44627
44628 [BZ #13114]
44629 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
44630 non-existant file when using close-on-exec mode.
44631
c88f1766
UD
446322011-08-20 Ulrich Drepper <drepper@gmail.com>
44633
0276a718
UD
44634 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
44635 the very first instruction.
44636
c88f1766
UD
44637 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
44638 the CFI state in the end.
44639 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
44640 inclusion of dl-trampoline.h.
44641 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
44642
51ccffa0
AS
446432011-08-19 Andreas Schwab <schwab@redhat.com>
44644
94d7165f
AS
44645 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
44646 expectations for long double.
44647
51ccffa0
AS
44648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
44649 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
44650
fd708658 446512011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
44652
44653 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
44654 artificual limit depends upon the system page size.
44655
44f0a71e
UD
446562011-08-17 Ulrich Drepper <drepper@gmail.com>
44657
44658 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
44659 * resolv/Makefile: Define CFLAGS-libresolv.
44660
8de79a24
AS
446612011-08-17 Andreas Schwab <schwab@redhat.com>
44662
44663 * nss/makedb.c (compute_tables): Make variables used in nested
44664 function static.
44665
27724598
UD
446662011-08-17 Ulrich Drepper <drepper@gmail.com>
44667
c5305d88
UD
44668 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
44669 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
44670 if buffer was too small.
44671
27724598
UD
44672 * elf/pldd.c (main): Attach to all threads in the process.
44673 Rewrite /proc handling to use *at functions.
44674
076fe015
UD
446752011-08-16 Ulrich Drepper <drepper@gmail.com>
44676
174baab3
UD
44677 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
44678 specifies first scope to show.
44679 (dl_open_worker): Update callers. Move printing scope of new
44680 object to before the relocation.
44f0a71e 44681 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
44682 * sysdeps/generic/ldsodefs.h: Update declaration.
44683
076fe015
UD
44684 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
44685 string for the scope number.
44686
a60df2c3
UD
446872011-08-14 Ulrich Drepper <drepper@gmail.com>
44688
44689 * nscd/servicescache.c (cache_addserv): Make sure written is always
44690 initialized.
44691
5e4287d1
RM
446922011-08-14 Roland McGrath <roland@hack.frob.com>
44693
85ae0589
RM
44694 * sysdeps/i386/i486/bits/atomic.h
44695 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
44696 statement expression, so as to suppress "set but not used" warning.
44697 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
44698
69f63097
RM
44699 * string/strncat.c (STRNCAT): Use prototype definition.
44700
675456ef
RM
44701 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
44702 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
44703 -Iprograms here.
44704 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
44705 (localedef-modules): Add localedef.
44706 (locale-modules): Add locale.
44707
5e4287d1
RM
44708 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
44709 * elf/rtld.c (dl_main): Invert order of assignment in last change,
44710 to avoid a warning.
44711
9c96ff23
DM
447122011-08-14 David S. Miller <davem@davemloft.net>
44713
44714 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
44715 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
44716
f9ddf089
UD
447172011-08-13 Ulrich Drepper <drepper@gmail.com>
44718
44f0a71e 44719 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
44720 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
44721 * elf/rtld.c (dl_main): Set l_name of vDSO.
44722 Call _dl_show_scope when DL_DEBUG_SCOPES.
44723 (process_dl_debug): Recognize scopes flag and also set it for all.
44724 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
44725 Declare _dl_show_scope.
44726
1dc27704
UD
44727 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
44728 (do_dlopen): Pass caller_dlopen to dl_open.
44729 (__libc_dlopen_mode): Initialize caller_dlopen.
44730
f9ddf089
UD
44731 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
44732 of libc. Make tolower call locale-independent. Optimize a bit by
44733 using isdigit instead of isalnum.
44734 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
44735
9ac533d3
UD
447362011-08-12 Ulrich Drepper <drepper@gmail.com>
44737
44738 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
44739 was a dependency or dynamically loaded.
44740
89edf2e9
UD
447412011-08-11 Ulrich Drepper <drepper@gmail.com>
44742
8e999d29
UD
44743 * intl/l10nflist.c: Allow architecture-specific pop function.
44744 * sysdeps/x86_64/l10nflist.c: New file.
44745
89edf2e9
UD
44746 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
44747 classification.
44748
14d96785
AS
447492011-08-10 Andreas Schwab <schwab@redhat.com>
44750
44751 * include/dirent.h: Add libc_hidden_proto for scandirat and
44752 scandirat64. Don't declare __scandirat64.
44753 * dirent/scandirat.c: Add libc_hidden_def.
44754 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
44755 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
44756
6761ac04
DM
447572011-08-10 David S. Miller <davem@davemloft.net>
44758
44759 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
44760 enum.
44761 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44762 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44763 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44764
c55fbd1e
UD
447652011-08-09 Ulrich Drepper <drepper@gmail.com>
44766
44767 * Versions.def [libc]: Add GLIBC_2.15.
44768 * dirent/Makefile (routines): Add scandirat and scandirat64.
44769 * dirent/Versions [libc]: Export scandirat and scandirat64 for
44770 GLIBC_2.15.
44771 * dirent/dirent.h: Declare scandirat and scandirat64.
44772 * dirent/scandirat.c: New file.
44773 * dirent/scandirat64.c: New file.
44774 * sysdeps/wordsize-64/scandirat.c: New file.
44775 * sysdeps/wordsize-64/scandirat64.c: New file.
44776 * dirent/opendir.c: Define opendirat.
44777 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
44778 using scandirat.
44779 * dirent/scandir64.c: Adjust for scandir.c change.
44780 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
44781 __scandirat64, and __scandir_cancel_handler.
44782 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
44783 additional parameter and use openat instead of open (outside of ld.so).
44784 Add new __opendir as wrapper around __opendirat.
44785 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44786 here without requiring old scandirat implementation.
44787
879165f2
UD
447882011-08-08 Ulrich Drepper <drepper@gmail.com>
44789
44790 * dirent/scandir.c (cancel_handler): Renamed to
44791 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
44792 defined. Adjust users.
44793 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44794 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44795
cb7e923b
UD
447962011-08-04 Ulrich Drepper <drepper@gmail.com>
44797
16292edd
UD
44798 * string/test-string.h (IMPL): Use __STRING to expand name and then
44799 stringify it.
44800
cb7e923b
UD
44801 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
44802 of cleanups.
44803
cff82933
LD
448042011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44805
44806 * string/Makefile: Update.
44807 (strop-tests): Append strncat.
44808 * string/test-wcscmp.c: New file.
44809 New comprehensive test for wcscmp.
44810 * string/test-strcmp.c: Update.
44811 (WIDE): New define.
44812
9be9bfcc
AS
448132011-07-22 Andreas Schwab <schwab@redhat.com>
44814
44815 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
44816 line.
44817
2e96f1c7
AS
448182011-07-26 Andreas Schwab <schwab@redhat.com>
44819
44820 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44821 encoding to ACE if AI_IDN.
44822
85188888
JJ
448232011-08-01 Jakub Jelinek <jakub@redhat.com>
44824
44825 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
44826 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
44827
5fa16e9b
LD
448282011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44829
44830 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
44831 Fix overflow bug in strncat.
44832 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
44833
44834 * string/test-strncat.c: Update.
44835 Add new tests for checking overflow bugs.
44836
448372011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44838
44839 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44840 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
44841 * sysdeps/i386/i686/multiarch/strcat.S: New file.
44842 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
44843 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
44844 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
44845 * sysdeps/i386/i686/multiarch/strncat.S: New file.
44846 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
44847 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
44848
44849 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
44850 (USE_AS_STRCAT): Define.
44851 Add strcat and strncat support.
44852 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44853
8c1a459f
AS
448542011-07-25 Andreas Schwab <schwab@redhat.com>
44855
44856 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
44857 __n bigger than INT_MAX+1.
44858 (__strncmp_g): Likewise.
44859
bba33c28
UD
448602011-07-23 Ulrich Drepper <drepper@gmail.com>
44861
798be72d
UD
44862 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
44863 * libio/stido.h: Likewise.
44864
8accd4dc
UD
44865 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
44866 (AF_NFC): Define.
44867 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
44868 (AF_NFC): Define.
44869
cbff0d96
UD
44870 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
44871 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44872 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44873 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
44874 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44875
9191c04a
UD
44876 [BZ #13021]
44877 * scripts/test-installation.pl: Don't expect libnss_test1 to be
44878 installed.
44879
bba33c28
UD
44880 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
44881 typo.
44882 (_dl_x86_64_save_sse): Likewise.
44883
90f139dd
UD
448842011-07-22 Ulrich Drepper <drepper@gmail.com>
44885
1aae088a
UD
44886 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
44887 OSXSAVE.
44888 (_dl_x86_64_save_sse): Likewise.
44889
8e2045f5
UD
44890 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
44891
90f139dd
UD
44892 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
44893
1d002f25
AS
448942011-07-21 Andreas Schwab <schwab@redhat.com>
44895
44896 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
44897 change.
44898 (_dl_x86_64_save_sse): Use correct AVX check.
44899
21137f89
UD
449002011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44901
44902 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
44903 bug in strncpy/strncat.
44904 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
44905
a65c0b7a
UD
449062011-07-21 Ulrich Drepper <drepper@gmail.com>
44907
44908 * string/tester.c (test_strcat): Add tests for different alignments
44909 of source and destination.
44910 (test_strncat): Likewise.
44911
6986b98a
UD
449122011-07-20 Ulrich Drepper <drepper@gmail.com>
44913
90bb2039
UD
44914 [BZ #12852]
44915 * posix/glob.c (glob): Check passed in values before using them in
44916 expressions to avoid some overflows.
44917 (glob_in_dir): Likewise.
44918
5644ef54
UD
44919 [BZ #13007]
44920 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
44921 check for AVX enablement so that we don't crash with old kernels and
44922 new hardware.
44923 * elf/tst-audit4.c: Add same checks here.
44924 * elf/tst-audit6.c: Likewise.
44925
44926 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 44927
bfc9dc9b
AS
449282011-07-09 Andreas Schwab <schwab@linux-m68k.org>
44929
44930 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
44931
702e64bb
UD
449322011-07-20 Ulrich Drepper <drepper@gmail.com>
44933
44934 * po/cs.po: Update from translation team.
44935 * po/bg.po: Likewise.
44936
295e904f
MP
449372011-07-12 Marek Polacek <mpolacek@redhat.com>
44938
44939 * misc/sys/cdefs.h: Add support for const attribute.
44940 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
44941 to gnu_dev_{major,minor,makedev} functions.
44942
3ff94596
MP
449432011-07-20 Marek Polacek <mpolacek@redhat.com>
44944
44945 * intl/dcigettext.c (get_output_charset): Add missing bracket.
44946
28b59fca
AS
449472011-07-20 Andreas Schwab <schwab@redhat.com>
44948
44949 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
44950 strlen results.
44951
19df733e
AK
449522011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44953
44954 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
44955 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
44956 register in order to avoid conflicts with the soft frame pointer
44957 being held in r11 when necessary.
44958 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
44959 (INTERNAL_VSYSCALL_NCS): Likewise.
44960
c8835729
MP
449612011-07-14 Marek Polacek <mpolacek@redhat.com>
44962
44963 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
44964 * elf/dl-fini.c (_dl_fini): Adjust caller.
44965 * elf/dl-close.c (_dl_close_worker): Likewise.
44966 * sysdeps/generic/ldsodefs.h: Adjust declaration.
44967
b902330c
MP
449682011-07-15 Marek Polacek <mpolacek@redhat.com>
44969
8991e135
MP
44970 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
44971 "aux_cache->nlibs < 0".
44972
b902330c
MP
44973 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
44974 in the reload-count case.
44975
99710781
LD
449762011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44977
44978 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44979 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
44980 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
44981 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
44982 * sysdeps/x86_64/multiarch/strcat.S: New file.
44983 * sysdeps/x86_64/multiarch/strncat.S: New file.
44984 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
44985 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
44986 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
44987 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
44988 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
44989 (USE_AS_STRCAT): Define.
44990 Add strcat and strncat support.
44991 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44992 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44993 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
44994 * string/strncat.c: Update.
44995 (USE_AS_STRNCAT): Define.
44996 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44997 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
44998 and i7.
44999 * sysdeps/x86_64/multiarch/init-arch.h
45000 (bit_Prefer_PMINUB_for_stringop): New.
45001 (index_Prefer_PMINUB_for_stringop): Likewise.
45002 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
45003 bit_Prefer_PMINUB_for_stringop.
45004
7dc6bd90
UD
450052011-07-19 Ulrich Drepper <drepper@gmail.com>
45006
45007 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
45008 buffer64.
45009 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
45010 of casting of buffer.
45011 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
45012 buffer32 and buffer64.
45013 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
45014 writes instead of casting of buffer.
45015 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
45016 buffer32.
45017 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
45018 casting of buffer.
45019
e0e72284
AS
450202011-07-19 Andreas Schwab <schwab@redhat.com>
45021
45022 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
45023
feb1eb0b
UD
450242011-07-19 Ulrich Drepper <drepper@gmail.com>
45025
45026 * nscd/nscd.c (termination_handler): Don't do anything for a database
45027 if it has not yet been initialized.
45028
298711ff
UD
450292011-07-18 Ulrich Drepper <drepper@gmail.com>
45030
45031 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45032
450332011-07-15 Marek Polacek <mpolacek@redhat.com>
45034
45035 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45036
f9d68389
UD
450372011-07-18 Ulrich Drepper <drepper@gmail.com>
45038
45039 * po/nl.po: Update from translation team.
45040 * po/sv.po: Likewise.
45041
db290cf5
RM
450422011-07-16 Roland McGrath <roland@hack.frob.com>
45043
45044 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
45045 now disallowed by GCC.
5c550700 45046
fd5e21c7
RM
45047 * configure.in (use-default-link): Default to yes if a test -shared
45048 link meets our qualifications.
45049 * configure: Regenerated.
45050
5c550700
RM
45051 * config.make.in (output-format): New variable.
45052 * configure.in: Check for ld --print-output-format support.
45053 * configure: Regenerated.
45054 * Makerules ($(common-objpfx)format.lds)
45055 [$(output-format) != unknown]: Just use $(output-format),
45056 instead of the linker-script munging.
45057
9fa2c032
RM
450582011-07-14 Roland McGrath <roland@hack.frob.com>
45059
a6928d51
RM
45060 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
45061 of $(common-objpfx)shlib.lds.
45062 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
45063
661607b3
RM
45064 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
45065 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
45066
9fa2c032
RM
45067 * configure.in (-z relro check): Adjust test code to add a large
45068 writable data section after it.
45069 * configure: Regenerated.
45070
defe9061
RM
450712011-07-11 Roland McGrath <roland@hack.frob.com>
45072
45073 * configure.in (-z relro check): Fix test code to make the variable
45074 truly const.
45075 * configure: Regenerated.
45076
319b9ad4
UD
450772011-07-11 Ulrich Drepper <drepper@gmail.com>
45078
45079 * nscd/nscd.h (struct traced_file): Define.
45080 (struct database_dyn): Remove inotify_descr, reset_res, and filename
45081 elements. Add traced_files.
45082 (inotify_fd): Declare.
45083 (register_traced_file): Declare.
45084 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
45085 (inotify_fd): Export.
45086 (resolv_conf_descr): Remove.
45087 (nscd_init): Move inotify descriptor creation to main.
45088 Don't register files for notification here.
45089 (register_traced_file): New function.
45090 (invalidate_cache): Don't use reset_res to determine whether to call
45091 res_init, go through the list of registered files.
45092 (main_loop_poll): The inotify descriptors are now stored in the
45093 structures for the traced files.
45094 (main_loop_epoll): Likewise
45095 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
45096 to __nss_disable_nscd.
45097 * nscd/cache.c (prune_cache): There is no single inotify descriptor
45098 for a database anymore. Check the records for all the registered
45099 files instead.
45100 * nss/Makefile (libnss_files-routines): Add files-init.
45101 (libnss_db-routines): Add db-init.
45102 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
45103 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
45104 * nss/nss_db/db-init.c: New file.
45105 * nss/nss_files/files-init.c: New file.
45106 * nss/nsswitch.c (nss_load_library): New function. Broken out of
45107 __nss_lookup_function.
45108 (__nss_lookup_function): Call nss_load_library.
45109 (nss_load_all_libraries): New function.
45110 (__nss_disable_nscd): Take parameter with callback function for files
45111 to register. Set is_nscd. Load all the DSOs for the NSS modules
45112 used for the cached services.
45113 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
45114 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
45115 options for features to all the files in nscd.
45116
45117 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
45118
23bee3e8
RM
451192011-07-10 Roland McGrath <roland@hack.frob.com>
45120
45121 * csu/elf-init.c (__libc_csu_init): Comment typo.
45122
46a5b7f0
UD
451232011-07-09 Ulrich Drepper <drepper@gmail.com>
45124
45125 * po/pl.po: Update from translation team.
45126 * po/ja.po: Likewise.
45127 * po/ru.po: Likewise.
45128 * po/ko.po: Likewise.
45129 * po/fr.po: Likewise.
45130
d30cf5bb
RM
451312011-07-09 Roland McGrath <roland@hack.frob.com>
45132
113ddea4
RM
45133 * configure.in (.ctors/.dtors header and trailer check):
45134 Use an empirical test on a built program.
45135 * configure: Regenerated.
45136
574920b4
RM
45137 * configure.in (-z relro check): Use an empirical test on a built DSO.
45138 Detect, but do not require, on ia64.
45139 * configure: Regenerated.
45140
d30cf5bb
RM
45141 * configure.in (READELF): Find it with AC_CHECK_TOOL.
45142 Update tests that use readelf to use $READELF instead.
45143 * configure: Regenerated.
45144
8538fdb3
UD
451452011-07-08 Ulrich Drepper <drepper@gmail.com>
45146
45147 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
45148 if the result is not used.
45149
04d08991
AJ
451502011-07-05 Andreas Jaeger <aj@suse.de>
45151
45152 [BZ#9696]
45153 * stdlib/tst-strtod.c: Add testcase.
45154
de283087
AD
451552011-07-07 Ulrich Drepper <drepper@gmail.com>
45156
4e5f31c8 45157 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 45158 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
45159 The latter has a higher limit. Take additional parameter to pass to
45160 the new function.
45161 (__pathconf): Pass file to __statfs_link_max.
45162 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45163 __statfs_link_max.
45164 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45165 __statfs_link_max.
45166
de283087
AD
45167 [BZ #12868]
45168 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45169 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45170 Handle Lustre.
45171 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45172 (__statfs_filesize_max): Likewise.
45173 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45174
c75fa153
AJ
451752011-07-05 Andreas Jaeger <aj@suse.de>
45176
45177 * resolv/res_comp.c (dn_skipname): Remove unused variable.
45178
1a544854
UD
451792011-07-06 Marek Polacek <mpolacek@redhat.com>
45180
45181 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
45182 `status' variable.
45183 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
45184 Likewise.
45185
6f0eec67
UD
451862011-07-04 H.J. Lu <hongjiu.lu@intel.com>
45187
45188 * Makefile (strop-tests): Add strncat.
45189 * string/test-strncat.c: New file.
45190
aae30307
UD
451912011-06-30 Marek Polacek <mpolacek@redhat.com>
45192
45193 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
45194
c0cfb5eb
UD
451952011-06-21 Andreas Jaeger <aj@suse.de>
45196
45197 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
45198 Copy rule from iconvdata/Makefile.
45199
01636b21
UD
452002011-07-06 Ulrich Drepper <drepper@gmail.com>
45201
45202 [BZ #12922]
45203 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
45204 but no long options are defined, just return 'W'.
45205
9895c8bc
UD
452062011-06-22 Marek Polacek <mpolacek@redhat.com>
45207
45208 [BZ #9696]
45209 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
45210
5d4cf042
UD
452112011-07-06 Ulrich Drepper <drepper@gmail.com>
45212
45213 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
45214 netgroups to read.
960e5535 45215 (innetgr): Likewise.
5d4cf042 45216
751eb97e
RM
452172011-07-05 Roland McGrath <roland@hack.frob.com>
45218
45219 * config.make.in (install_root): Default to $(DESTDIR).
45220
f15f1e45
UD
452212011-07-05 Ulrich Drepper <drepper@gmail.com>
45222
45223 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45224
4e34ac6a
RM
452252011-07-02 Roland McGrath <roland@hack.frob.com>
45226
5e9b6af4
RM
45227 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45228
84f9ea0f
RM
45229 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45230 containing directory rather than embedding absolute directory names.
45231
ea5ee9f7
RM
45232 * scripts/check-local-headers.sh: Rewritten using awk.
45233 Match by word, not by line. Print error messages for matches.
45234 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45235
1b74661a
RM
45236 * Makerules [shlib-lds-flags empty]:
45237 ($(common-objpfx)libc_pic.opts): New target.
45238 ($(common-objpfx)libc_pic.os.clean): New target.
45239 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45240
45241 * config.make.in (OBJCOPY): New variable.
45242 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45243 * configure: Regenerated.
45244
f781ef40
RM
45245 * config.make.in (use-default-link): New variable.
45246 * configure.in (use_default_link): Grok --with-default-link to set it.
45247 * configure: Regenerated.
45248 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45249 (shlib-lds, shlib-lds-flags): Define to empty.
45250
2d4fa81e
RM
45251 * Makerules (shlib-lds): New variable.
45252 (shlib-lds-flags): New variable.
45253 (build-shlib, build-moduile, build-module-asneeded): Use it.
45254 ($(common-objpfx)libc.so): Use $(shlib-lds).
45255 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45256 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45257
31fffa6b
RM
45258 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45259 DT_FLAGS/DT_FLAGS_1 with zero flags.
45260
4e34ac6a
RM
45261 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45262 linker script munging.
45263
fcfc776b
UD
452642011-07-02 Ulrich Drepper <drepper@gmail.com>
45265
45266 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
45267 as 128-bit value.
45268 * crypt/sha512.c (sha512_process_block): Perform total addition using
45269 128-bit if possible.
45270 (__sha512_finish_ctx): Likewise.
45271 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
45272 as 64-bit value.
45273 * crypt/sha256.c (SWAP64): Define.
45274 (sha256_process_block): Perform total addition using 64-bit if
45275 possible.
45276 (__sha256_finish_ctx): Likewise.
45277
99231d9a
UD
452782011-07-01 Ulrich Drepper <drepper@gmail.com>
45279
45280 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
45281 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45282 * nscd/hstcache.c (cache_addhst): Likewise.
45283 * nscd/grpcache.c (cache_addgr): Likewise.
45284 * nscd/aicache.c (addhstaiX): Likewise
45285 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
45286
445b4a53
TK
452872011-07-01 Thorsten Kukuk <kukuk@suse.de>
45288
45289 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
45290 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45291 * nscd/hstcache.c (cache_addhst): Likewise.
45292 * nscd/grpcache.c (cache_addgr): Likewise.
45293 * nscd/aicache.c (addhstaiX): Likewise
45294
6d4d8e8e
AS
452952011-07-01 Andreas Schwab <schwab@redhat.com>
45296
45297 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
45298 domain only when needed.
45299
89f654c5
AS
453002011-06-30 Andreas Schwab <schwab@redhat.com>
45301
45302 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
45303 is always restored.
45304
cf3b23ff
UD
453052011-06-29 Ulrich Drepper <drepper@gmail.com>
45306
45307 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
45308 are re-adding the entry.
45309 * nscd/servicescache.c (cache_addserv): Likewise.
45310
751626f9
AJ
453112011-06-30 Aurelien Jarno <aurelien@aurel32.net>
45312
45313 * sysdeps/generic/dl-irel.h: fix protection against multiple
45314 inclusions.
45315 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
45316
9113ea1f
UD
453172011-06-28 Ulrich Drepper <drepper@gmail.com>
45318
5c0b8d90
UD
45319 [BZ #12935]
45320 * malloc/memusage.sh: Fix quoting in message.
45321 * debug/xtrace.sh: Likewise.
45322
9113ea1f
UD
45323 * configure.in: Remove support for --experimental-malloc option, make
45324 it the default.
45325 * config.make.in: Likewise.
45326 * malloc/Makefile: Likewise.
45327
a4172181
AS
453282011-06-27 Andreas Schwab <schwab@redhat.com>
45329
45330 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
45331 two-byte characters.
45332
78a7eee7
RM
453332011-06-27 Roland McGrath <roland@hack.frob.com>
45334
62bede13
RM
45335 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
45336 AC_CACHE_CHECK invocation.
45337 * configure: Regenerated.
45338
78a7eee7
RM
45339 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
45340
5ce33a62
UD
453412011-06-27 Ulrich Drepper <drepper@gmail.com>
45342
034807a9
UD
45343 [BZ #12350]
45344 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
45345 bit from old_res_options.
45346
4902da17
UD
45347 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
45348
5ce33a62
UD
45349 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
45350 value type for setfct.
45351
c2344f56
L
453522011-06-23 H.J. Lu <hongjiu.lu@intel.com>
45353
45354 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45355 __gettimeofday instead of gettimeofday.
45356
68468076
UD
453572011-06-26 Ulrich Drepper <drepper@gmail.com>
45358
45359 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
45360
acb0d739
L
453612011-06-24 H.J. Lu <hongjiu.lu@intel.com>
45362
45363 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
45364
45365 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
45366 info.
45367
8912479f
L
453682011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45369
45370 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45371 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45372 strcpy-sse2-unaligned strncpy-sse2-unaligned
45373 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
45374 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
45375 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
45376 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
45377 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
45378 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
45379 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
45380 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
45381 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
45382 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
45383 (STRCPY): Support SSE2 and SSSE3 versions.
45384
d5495a11
UD
453852011-06-24 Ulrich Drepper <drepper@gmail.com>
45386
45387 [BZ #12874]
45388 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
45389 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
45390 kernels which artificially limit size of requests.
45391
0b1cbaae
L
453922011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45393
45394 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45395 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45396 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
45397 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
45398 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
45399 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
45400 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
45401 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
45402 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
45403 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
45404 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
45405 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
45406 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
45407 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
45408 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
45409 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45410 Enable unaligned load optimization for Intel Core i3, i5 and i7
45411 processors.
45412 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
45413 Define.
45414 (index_Fast_Unaligned_Load): Define.
45415 (HAS_FAST_UNALIGNED_LOAD): Define.
45416
07f494a0
MP
454172011-06-23 Marek Polacek <mpolacek@redhat.com>
45418
45419 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
45420
fa3fc0fe
UD
454212011-06-22 Ulrich Drepper <drepper@gmail.com>
45422
45423 [BZ #12907]
45424 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
45425 until it is clear that the information is realy needed.
45426 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
45427
e12df166
AS
454282011-06-22 Andreas Schwab <schwab@redhat.com>
45429
45430 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
45431
852eb34d
UD
454322011-06-22 Ulrich Drepper <drepper@gmail.com>
45433
84e2a551
UD
45434 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45435 /sys/devices/system/cpu/online if it is usable.
45436
852eb34d
UD
45437 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
45438 reading the information from the /proc filesystem to once a second.
45439
6e502e19
UD
454402011-06-21 Andreas Jaeger <aj@suse.de>
45441
45442 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
45443 NULL after inclusion of kernel headers.
45444
75d39ff2
UD
454452011-06-21 Ulrich Drepper <drepper@gmail.com>
45446
51f9aa6a
UD
45447 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
45448 calls to internal_setent.
45449
c0244a9d
UD
45450 [BZ #12885]
45451 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
45452 addresses using gethostbyname4_r ignore IPv4 addresses.
45453
c5e3c2ae
UD
45454 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
45455 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
45456
75d39ff2
UD
45457 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
45458
42675c6f
DM
454592011-06-20 David S. Miller <davem@davemloft.net>
45460
45461 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
45462 inclusions.
45463 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
45464
45465 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
45466 (elf_irel): Use it.
45467 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
45468 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
45469 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
45470 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
45471 * sysdeps/x86_64/dl-irel.h: Likewise.
45472
45473 * elf/dl-runtime.c: Use elf_ifunc_invoke.
45474 * elf/dl-sym.c: Likewise.
45475
57912a71
UD
454762011-06-15 Ulrich Drepper <drepper@gmail.com>
45477
45478 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
45479 need to dereference resplen2.
45480
ee22793d
AS
454812011-06-14 Andreas Schwab <schwab@redhat.com>
45482
45483 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
45484
a9e836b0
UD
454852011-06-15 Ulrich Drepper <drepper@gmail.com>
45486
77fb9117
UD
45487 * Makeconfig: Define vardbdir and inst_vardbdir.
45488 * nss/Makefile: Add rules to install db-Makefile.
45489
40c1b22c
UD
45490 * nss/nss_db/db-XXX.c: Cleanup.
45491
9f2da732
UD
45492 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
45493 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
45494 GLIBC_PRIVATE.
45495 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
45496 * nss/makedb.c: Implement -g option to specify that value strings
45497 are generated and should not be added to table iterated over for
45498 get*ent calls.
45499 * nss/nss_db/db-initgroups.c: New file.
45500
82e9a1f7
UD
45501 * nss/getent.c: Add support for initgroups lookups through getgrouplist
45502 interface.
45503
c41af17e
UD
45504 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
45505 (internal_getgrouplist): Adjust to name change.
45506 Update use_initgroups_entry if this is not the first call.
45507 * nss/databases.def: Add initgroups entry.
45508
a9e836b0
UD
45509 * nss/makedb.c (compute_tables): Check result of multiple hash table
45510 sizes to minimize maximum chain length.
45511
2666d441
UD
455122011-06-14 Ulrich Drepper <drepper@gmail.com>
45513
45514 * Versions.def: Add entry for libnss_db.
45515 * shlib-versions: Likewise.
45516 * nss/Makefile: Add rules to build libnss_db.
45517 * nss/Versions: Add libnss_db information. Organize libnss_files
45518 entries better.
45519 * nss/db-Makefile: Add gshadow support. Change rules for the new
45520 makedb progra. Some minor improvements to generate smaller files.
45521 * nss/nss_db/nss_db.h: Move NSS database header data structures to
45522 here from...
45523 * nss/makedb.c: ...here.
45524 Improve database format to be smaller and require less memory at
45525 runtime.
45526 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
45527 db anymore.
45528 * nss/nss_db/db-netgrp.c: Likewise.
45529 * nss/nss_db/db-open.c: Likewise.
45530 * nss/nss_files/flies-XXX.x: Adjust comments.
45531 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
45532 * nss/nss_files/files-grp.c: Likewise.
45533 * nss/nss_files/files-hosts.c: Likewise.
45534 * nss/nss_files/files-network.c: Likewise.
45535 * nss/nss_files/files-proto.c: Likewise.
45536 * nss/nss_files/files-pwd.c: Likewise.
45537 * nss/nss_files/files-rpc.c: Likewise.
45538 * nss/nss_files/files-service.c: Likewise.
45539 * nss/nss_files/files-sgrp.c: Likewise.
45540 * nss/nss_files/files-spwd.c: Likewise.
45541 * nss/nss_db/db-alias.c: Removed.
45542 * nss/nss_db/dummy-db.h: Removed.
45543
9ee76b5a
UD
455442011-06-02 Ulrich Drepper <drepper@gmail.com>
45545
45546 * nss/makedb.c: Rewritten to not use database library.
45547 * nss/Makefile: Update to build new makedb program.
45548
c71ca1f8
AJ
455492011-06-14 Andreas Jaeger <aj@suse.de>
45550
45551 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
45552 memset declaration.
45553
3154bfb8
UD
455542011-06-10 Andreas Schwab <schwab@redhat.com>
45555
45556 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
45557 tmpbuf.
45558
b350afab
RM
455592011-06-10 Roland McGrath <roland@hack.frob.com>
45560
decd4e50
RM
45561 * Makerules (shlib.lds): Fail if the linker script comes out empty.
45562 * elf/Makefile ($(objpfx)ld.so): Likewise.
45563
5615eaf2
RM
45564 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
45565 Don't list ld.so twice in dependencies.
45566
45567 * posix/bug-regex31.c: Include <stdlib.h>.
45568
45569 * nscd/hstcache.c (cache_addhst): Remove unused variable.
45570
45571 * nis/nss_compat/compat-spwd.c
45572 (getspent_next_nss_netgr): Remove unused variable.
45573 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
45574
45575 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
45576 nonmembers" output to use the right array.
45577
45578 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
45579
45580 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
45581
45582 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
45583 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
45584 * catgets/gencat.c (read_input_file): Likewise.
45585 * locale/programs/locarchive.c (enlarge_archive): Likewise.
45586
45587 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
45588 variable definition inside #if's controlling its use.
45589
45590 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
45591
45592 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
45593
45594 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
45595
45596 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
45597 unreachable code.
45598
45599 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
45600
b68e08db
RM
45601 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
45602 * configure: Regenerated.
45603
b350afab
RM
45604 * Makerules: Revert last change.
45605 * elf/Makefile: Likewise.
45606
28368601
RM
456072011-06-09 Roland McGrath <roland@hack.frob.com>
45608
45609 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
45610 * elf/Makefile ($(objpfx)librtld.os): Likewise.
45611 (reloc-link): Likewise.
45612
11988f8f
UD
456132011-06-09 Ulrich Drepper <drepper@gmail.com>
45614
45615 * elf/Makefile: Add rules to build pldd.
45616 * elf/pldd.c: New file.
45617 * elf/pldd-xx.c: New file.
45618
e80fab37
UD
456192011-06-07 Ulrich Drepper <drepper@gmail.com>
45620
45621 * version.h: Update for 2.15 development version.
45622
9b849836
DM
456232011-06-07 David S. Miller <davem@davemloft.net>
45624
45625 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
45626 ifuncs.
45627 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
45628 elf_machine_lazy_rel): Likewise.
45629 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
45630 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
45631 elf_machine_lazy_rel): Likewise.
45632 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
45633 dl_hwcap via passed in argument.
45634 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
45635 Likewise.
45636
5a31b283
AK
456372011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45638
45639 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
45640
069e52f8
RM
456412011-06-06 Roland McGrath <roland@hack.frob.com>
45642
45643 [BZ #12849]
45644 * manual/fdl-1.1.texi: New file, verbatim from:
45645 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
45646 * manual/lgpl-2.1.texi: New file, verbatim from:
45647 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
45648 * manual/Makefile (licenses): New variable, list those new file names.
45649 (texis): Use it.
45650 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
45651
45652 * manual/fdl.texi: File removed.
45653 * manual/lesser.texi: File removed.
45654 * manual/libc.texinfo (Copying, Documentation License):
45655 Use new @include file names, put @appendix directive before @include.
45656
f16846a5
JJ
456572011-06-04 Jakub Jelinek <jakub@redhat.com>
45658
45659 [BZ #12841]
45660 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
45661 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
45662 (mq_open): Add __NTH.
45663
3d29045b
L
456642011-06-02 H.J. Lu <hongjiu.lu@intel.com>
45665
45666 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45667 Assume Intel Core i3/i5/i7 processor if AVX is available.
45668
8c297311
UD
456692011-05-31 Ulrich Drepper <drepper@gmail.com>
45670
45671 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45672 typo.
45673
c8fc0c91
UD
456742011-05-31 Andreas Schwab <schwab@redhat.com>
45675
45676 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
45677 memory. Use alloca_account. Fix memory leak when retrying.
45678
5b27a807
UD
456792011-05-31 Ulrich Drepper <drepper@gmail.com>
45680
356f8bc6
UD
45681 * version.h (RELEASE): Bump for 2.14 release.
45682 * include/features.h (__GLIBC_MINOR__): Bump to 14.
45683
5b27a807
UD
45684 * config.make.in (RANLIB): Remove entry.
45685
01f16ab0
UD
456862011-05-30 Ulrich Drepper <drepper@gmail.com>
45687
41fce8bd
UD
45688 * po/Makefile (po-sed-cmd): Add ksh to extensions.
45689 (libc.pot): Work around missing support for .ksh extension in xgettext.
45690
4769ae77
UD
45691 [BZ #12684]
45692 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
45693 if both request failed.
45694 (send_dg): In case of server errors clear resplen or *resplen2.
45695
6b1e7d19
UD
45696 [BZ #12454]
45697 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
45698 when there are multiple maps.
45699 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
45700 (_dl_fini): Remove test here.
45701
01f16ab0
UD
45702 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
45703
b1ebd700
UD
457042011-05-29 Ulrich Drepper <drepper@gmail.com>
45705
7ae22829
UD
45706 [BZ #12350]
45707 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
45708 bit from old_res_options.
45709 (gaih_inet): Likewise.
45710
553149f6 45711 [BZ #11099]
18a84741 45712 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
45713 as signed.
45714
652ffab1
UD
45715 * resolv/res_init.c (res_setoptions): Make the code more compact.
45716
16985fd0
UD
45717 [BZ #11558]
45718 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
45719 set RES_USEVC.
45720
0464f746
UD
45721 [BZ #11634]
45722 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
45723
7d17596c
UD
45724 * malloc/malloc.h: Mark malloc hook variables as deprecated.
45725
cf6bbbd7
UD
45726 [BZ #11781]
45727 * malloc/malloc.h: Declare malloc hook variables as volatile.
45728
13f1ab36
UD
45729 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
45730 in last patch.
45731
b1ebd700
UD
45732 [BZ #11799]
45733 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 45734 raise in the comment.
80e2212d
UD
45735 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45736 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45737 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 45738
ce67228d
UD
457392011-05-28 Ulrich Drepper <drepper@gmail.com>
45740
8887a920
UD
45741 [BZ #12811]
45742 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
45743 grow the buffers more if it already has to be sufficient.
45744 (build_wcs_upper_buffer): Likewise.
45745 * posix/regexec.c (check_matching): Likewise.
45746 (clean_state_log_if_needed): Likewise.
45747 (extend_buffers): Don't enlarge buffers beyond size of the input
45748 buffer.
45749 Patches mostly by Emil Wojak <emil@wojak.eu>.
45750 * posix/bug-regex32.c: New file.
45751 * posix/Makefile (tests): Add bug-regex32.
45752
4f031072
UD
45753 * locale/findlocale.c (_nl_find_locale): Return right away if
45754 _nl_explode_name failed.
45755 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
45756
d0478f0c
UD
45757 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
45758
de81b246
UD
45759 * debug/xtrace.sh: Unify messages.
45760 * malloc/memusage.sh: Likewise.
45761
c738465a
UD
45762 [BZ #12813]
45763 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
45764 time symbol from vDSO. Substitute with vsyscall if not available.
45765 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
45766 __vdso_time.
45767
f1f929d7
UD
45768 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
45769 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45770 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45771 Add sendmmsg and internal_sendmmsg.
45772 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45773 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45774 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45775
ce67228d
UD
45776 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45777 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45778 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45779
e57420c6
UD
457802011-05-27 Ulrich Drepper <drepper@gmail.com>
45781
a8509ca5
UD
45782 [BZ #12813]
45783 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45784 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
45785 available.
45786 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45787 __vdso_getcpu.
45788
e57420c6
UD
45789 [BZ #12814]
45790 * iconvdata/Makefile (tests): Add bug-iconv9.
45791 * iconvdata/bug-iconv9.c: New file.
45792
4d07db15
AS
457932011-05-27 Andreas Schwab <schwab@redhat.com>
45794
45795 [BZ #12814]
45796 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
45797
ea486f69
JJ
457982011-05-25 Jakub Jelinek <jakub@redhat.com>
45799
45800 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45801 (struct user_regs_struct): Change intcs field back to cs.
45802
6f038433
UD
458032011-05-25 Ulrich Drepper <drepper@gmail.com>
45804
45805 * po/ja.po: Update from translation team.
45806
67f86a25
UD
458072011-05-23 Ulrich Drepper <drepper@gmail.com>
45808
45809 [BZ #12795]
45810 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
45811 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
45812
def7fbd6
AS
458132011-05-20 Andreas Schwab <schwab@redhat.com>
45814
45815 * stdlib/longlong.h: Update from GCC.
45816
f50ef8f1
AS
458172011-05-23 Andreas Schwab <schwab@redhat.com>
45818
45819 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
45820 parameter name.
45821 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
45822 Add parameter name.
45823 (__sysconf): Pass it down.
45824
de7ce8f1
UD
458252011-05-22 Ulrich Drepper <drepper@gmail.com>
45826
f2962a71
UD
45827 [BZ #12671]
45828 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
45829 some situations.
45830 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
45831 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
45832 add in in __libc_use_alloca calls. Adjust callers.
45833 (glob): Use malloc in some situations.
45834
de7ce8f1
UD
45835 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
45836 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
45837 pltexit.
45838
aec84f53
UD
458392011-05-21 Ulrich Drepper <drepper@gmail.com>
45840
05bb4a68
UD
45841 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
45842 and CLOCK_BOOTTIME_ALARM.
45843
7ea72f99
UD
45844 [BZ #12782]
45845 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
45846 is returned.
45847
7e4afad5
UD
45848 * string/_strerror.c (__strerror_r): Print negative errors as signed
45849 numbers.
45850
8e211fec
UD
45851 [BZ #12777]
45852 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
45853 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
45854 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
45855
f7d82dc9
UD
45856 * configure.in: Fix typo in redirection and correct removal of test
45857 files in two cases.
45858
cc9e536d
UD
45859 [BZ #12788]
45860 * locale/setlocale.c (new_composite_name): Fix test to check for
45861 identical name of all categories.
45862
aec84f53
UD
45863 [BZ #12792]
45864 * libio/filedoalloc.c (local_isatty): New function.
45865 (_IO_file_doallocate): Use local_isatty.
45866 * stdio-common/perror.c (perror): In case a new stream is used
45867 forward the stream error.
45868 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
45869 error flag.
45870
78e64fdc
RT
458712011-05-20 Ulrich Drepper <drepper@gmail.com>
45872
34a9094f
UD
45873 [BZ #11869]
45874 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
45875 alloca.
45876 * include/alloca.h (extend_alloca_account): Define.
45877
78e64fdc
RT
45878 [BZ #11857]
45879 * posix/regex.h: Fix comments with documentation of user-accessible
45880 fields after compilation and describe correct free'ing of pattern
45881 after re_compile_pattern.
45882 Patch by Reuben Thomas <rrt@sc3d.org>.
45883
457bddfc
RA
458842011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
45885
45886 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
45887 and -mno-altivec to prevent the compiler from using Altivec and/or
45888 VSX instructions when the corresponding registers are not available.
45889
a4527b51
AS
458902011-05-19 Andreas Schwab <schwab@redhat.com>
45891
45892 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
45893
ed690b2f
UD
458942011-05-19 Ulrich Drepper <drepper@gmail.com>
45895
45896 * libio/freopen.c (freopen): Use __dup2, not dup2.
45897 * libio/freopen64.c (freopen64): Likewise.
45898
8db73634
L
458992011-05-17 H.J. Lu <hongjiu.lu@intel.com>
45900
45901 [BZ #12775]
45902 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
45903 * math/Makefile (tests): Add test-powl.
45904 (CFLAGS-test-powl.c): Define.
45905 * math/test-powl.c: New file.
45906
0a197a9d
L
459072011-05-16 H.J. Lu <hongjiu.lu@intel.com>
45908
45909 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
45910
ee30c380
UD
459112011-05-17 Ulrich Drepper <drepper@gmail.com>
45912
45913 [BZ #11837]
45914 * iconvdata/gb18030.c: Update to GB18020-2005.
45915
6ce75379
UD
459162011-05-16 Ulrich Drepper <drepper@gmail.com>
45917
a4b89fd8
AR
45918 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
45919 RE_SYNTAX_POSIX_AWK): Update to match recent development.
45920 Patch by Aharon Robbins <arnold@skeeve.com>.
45921
ea389b12
UD
45922 [BZ #11892]
45923 * stdlib/putenv.c (putenv): Don't always create copy of the variable
45924 on the stack.
45925
68a3f91f
UD
45926 [BZ #11895]
45927 * misc/pselect.c (__pselect): Handle timeout value errors hidden
45928 through underflows.
45929
15cc7dd1
UD
45930 [BZ #12766]
45931 * misc/error.c (error_at_line): Ensure file_name and old_file_name
45932 point to strings before performing equality test for error_one_per_line
45933 mode.
45934
f3799213
UD
45935 [BZ #11697]
45936 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
45937
d79a9c94
UD
45938 [BZ #11820]
45939 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45940 (struct user_fpregs_struct): Avoid __uint*_t types.
45941
56e5eb46
UD
45942 [BZ #6420]
45943 * malloc/mtrace.c (tr_where): Add additional parameter to point to
45944 symbol info. Use it instead of calling _dl_addr locally.
45945 (lock_and_info): New function.
45946 (tr_freehook): Call lock_and_info and pass symbol info as additional
45947 parameter to tr_where.
45948 (tr_mallochook): Likewise.
45949 (tr_reallochook): Likewise.
45950 (tr_memalignhook): Likewise.
45951
6ce75379
UD
45952 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
45953 used and couldn't be at all thread-safe.
45954
f8a3b5bf
UD
459552011-05-15 Ulrich Drepper <drepper@gmail.com>
45956
94b7cc37
UD
45957 * libio/freopen.c (freopen): Don't close old file descriptor
45958 before the new one is opened. Instead dup the new file descriptor
45959 to the old one after the new stream is created.
45960 * libio/freopen64.c (freopen64): Likewise.
45961 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
45962 * libio/fileops.c (_IO_new_file_close_it): Handle new
45963 _IO_FLAGS2_NOCLOSE flag.
45964 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
45965 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
45966 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
45967 _IO_FLAGS2_NOCLOSE flag.
45968 * include/unistd.h: Add hidden_proto for dup3.
45969 Define __have_dup3.
45970 * io/dup3.c: Define hidden symbol.
45971 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
45972
bd25564e
UD
45973 [BZ #7101]
45974 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
45975 when an incomplete long option is used.
45976 * posix/tst-getopt_long1.c: New file.
45977 * posix/Makefile (tests): Add tst-getopt_long1.
45978
c84cfef4
UD
45979 [BZ #10138]
45980 * scripts/config.guess: Update from autoconf-2.68.
45981 * scripts/config.sub: Likewise.
45982
3b85df27
UD
45983 [BZ #10157]
45984 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
45985 tests into ...
45986 (has_cpuclock): ...this. New function.
45987 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
45988 macro here based on has_cpuclock code.
45989
15a856b1
UD
45990 [BZ #10149]
45991 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45992 First byte (not low byte) is now always NUL.
45993 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
45994
05f399e6
UD
45995 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45996 Use non-cancelable interfaces.
45997
10a52685 45998 [BZ #9809]
94ecc67d
UD
45999 * locale/iso-639.def: Add entry for Sorani.
46000
f8a3b5bf
UD
46001 [BZ #11901]
46002 * include/stdlib.h: Move include protection to the right place.
46003 Define abort_msg_s. Declare __abort_msg with it.
46004 * stdlib/abort.c (__abort_msg): Adjust type.
46005 * assert/assert.c (__assert_fail_base): New function. Majority
46006 of code from __assert_fail. Allocate memory for __abort_msg with
46007 mmap.
46008 (__assert_fail): Now call __assert_fail_base.
46009 * assert/assert-perr.c: Remove bulk of implementation. Use
46010 __assert_fail_base.
46011 * include/assert.hL Declare __assert_fail_base.
46012 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
46013 mmap.
46014 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
46015
1af4e298
UD
460162011-05-14 Ulrich Drepper <drepper@gmail.com>
46017
f8a3b5bf 46018 [BZ #11952]
d26dfc60
MG
46019 [BZ #12453]
46020 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
46021 until all modules are registered in the DTV.
46022 * elf/Makefile: Add rules to build and run tst-tls19.
46023 * elf/tst-tls19.c: New file.
46024 * elf/tst-tls19mod1.c: New file.
46025 * elf/tst-tls19mod2.c: New file.
46026 * elf/tst-tls19mod3.c: New file.
46027 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
46028
2fc54d6f
UD
46029 [BZ #12083]
46030 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
46031 correctly.
46032
98d76b46
UD
46033 [BZ #12601]
46034 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
46035 two-byte sequence errors.
46036 * iconvdata/Makefile (tests): Add bug-iconv8.
46037 * iconvdata/bug-iconv8.c: New file.
46038
da3c19ef
UD
46039 [BZ #12626]
46040 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
46041 buf2 definition.
46042
ca408c15
UD
46043 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
46044
d6f67f7d
UD
46045 [BZ #12432]
46046 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
46047 (dummy_getcfa): New function.
46048 (init): Get _Unwind_GetCFA address, use dummy if not found.
46049 (backtrace_helper): In recursion check, also check whether CFA changes.
46050 (__backtrace): Completely initialize arg.
46051
1af4e298 46052 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
46053 storing incomplete byte sequence in state object. Avoid testing for
46054 guaranteed too small input if we know there is enough data available.
1af4e298 46055
da62f81b
AS
460562011-05-11 Andreas Schwab <schwab@redhat.com>
46057
46058 * Makeconfig (+link-pie): Indent.
46059 * Rules (binaries-pie): Define if $(have-fpie) and
46060 $(build-shared).
46061 (binaries-shared): Also filter out $(binaries-pie).
46062 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
46063 * nscd/Makefile (others-pie): Add nscd.
46064 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
46065 ($(objpfx)nscd): Remove command override.
46066 * login/Makefile (others-pie): Add pt_chown.
46067 ($(objpfx)pt_chown): Remove command override.
46068 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
46069 remove command overrides.
46070
fcabc0f8
UD
460712011-05-13 Ulrich Drepper <drepper@gmail.com>
46072
20030ae6
UD
46073 * libio/tst_putwc.c: Fix error messages.
46074
fcabc0f8
UD
46075 [BZ #12724]
46076 * libio/fileops.c (_IO_new_file_close_it): Always flush when
46077 currently writing and seek to current position when not.
46078 * libio/Makefile (tests): Add bug-fclose1.
46079 * libio/bug-fclose1.c: New file.
46080
320a5dc0
PB
460812011-05-12 Ulrich Drepper <drepper@gmail.com>
46082
46083 [BZ #12511]
46084 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
46085 don't set DF_1_NODELETE here.
46086 (do_lookup_x): When entering new entry test for copy relocation
46087 and if necessary set DF_1_NODELETE flag.
46088 * elf/tst-unique4.cc: New file.
46089 * elf/tst-unique4.h: New file.
46090 * elf/tst-unique4lib.cc: New file.
46091 * elf/Makefile: Add rules to build and run tst-unique4.
46092 Patch by Piotr Bury <pbury@goahead.com>.
46093
22836f52
UD
460942011-05-11 Ulrich Drepper <drepper@gmail.com>
46095
f574184a
UD
46096 [BZ #12052]
46097 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
46098
e1fb097f
UD
46099 [BZ #12625]
46100 * misc/mntent_r.c (addmntent): Flush the stream after the output
46101
22836f52
UD
46102 [BZ #12393]
46103 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
46104 (is_trusted_path_normalize): Skip initial colon. Append slash
46105 to empty buffer. Duplicate is_trusted_path code but allow
46106 constructed patch to be prefix.
46107 (is_dst): Allow $ORIGIN followed by /.
46108 (_dl_dst_substitute): Correct clearing of check_for_trusted.
46109 Correct testing of result of is_trusted_path_normalize
46110 (decompose_rpath): Fix warning.
46111
7b3b0b2a
UD
461122011-05-10 Ulrich Drepper <drepper@gmail.com>
46113
46114 [BZ #11257]
46115 * grp/initgroups.c (internal_getgrouplist): When we found the service
46116 list through the initgroups entry in nsswitch.conf do not always
46117 continue on a successful lookup. Don't always use the
eac80ce2 46118 __nss_group_database value if it is set.
7b3b0b2a
UD
46119 * nss/nsswitch.conf (initgroups): Change action for successful db
46120 lookup to continue for compatibility.
46121
2a81eaa5
UD
461222011-05-09 Ulrich Drepper <drepper@gmail.com>
46123
be97a69e
UD
46124 [BZ #11532]
46125 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
46126 and CP774 modules.
46127 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
46128 and CP774 modules.
46129 * iconvdata/tst-tables.sh: Likewise.
46130 * iconvdata/cp770.c: New file.
46131 * iconvdata/cp771.c: New file.
46132 * iconvdata/cp772.c: New file.
46133 * iconvdata/cp773.c: New file.
46134 * iconvdata/cp774.c: New file.
46135 * iconvdata/testdata/CP770: New file.
46136 * iconvdata/testdata/CP770..UTF8: New file.
46137 * iconvdata/testdata/CP771: New file.
46138 * iconvdata/testdata/CP771..UTF8: New file.
46139 * iconvdata/testdata/CP772: New file.
46140 * iconvdata/testdata/CP772..UTF8: New file.
46141 * iconvdata/testdata/CP773: New file.
46142 * iconvdata/testdata/CP773..UTF8: New file.
46143 * iconvdata/testdata/CP774: New file.
46144 * iconvdata/testdata/CP774..UTF8: New file.
46145
46146 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
46147 END CHARMAP line.
46148 * iconvdata/gen-8bit-gap.sh: Likewise.
46149 * iconvdata/gen-8bit.sh: Likewise.
46150
c1e9e399
UD
46151 * locale/iso-639.def: Add ary entry.
46152
24c55fb3 46153 [BZ #11258]
96b4b1b0
UD
46154 * locale/C-translit.h.in: Add U20A1 transliteration.
46155
bdc2f971
KB
46156 [BZ #12178]
46157 * locale/iso-639.def: Add wae entry.
46158 Patch by Kevin Bortis <bortis@translate-wae.ch>.
46159
2952b117
UD
46160 [BZ #12545]
46161 * locale/programs/localedef.c (construct_output_path): Use ssize_t
46162 for n.
46163
2a81eaa5
UD
46164 [BZ #12711]
46165 * locale/C-translit.h.in: Add entry for U20B9.
46166 Patch by pravin.d.s@gmail.com.
46167
28377d1b
UD
461682011-05-08 Ulrich Drepper <drepper@gmail.com>
46169
7fb90fb8
UD
46170 [BZ #12713]
46171 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46172 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
46173 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
46174 in rtld. Use *stat64.
7fb90fb8 46175 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 46176 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 46177 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
46178 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
46179 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
46180 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
46181 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
46182 __fstatat64 macros.
7fb90fb8
UD
46183 * include/dirent.h: Add libc_hidden_proto for rewinddir.
46184 * dirent/rewinddir.c: Add libc_hidden_def.
46185 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 46186 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 46187
28377d1b
UD
46188 * include/dirent.h (__alloc_dir): Add flags parameter.
46189 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
46190 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
46191 __alloc_dir.
46192 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
46193 from fdopendir if O_CLOEXEC is already set.
46194
66bdbaa4
AM
461952011-03-15 Alan Modra <amodra@gmail.com>
46196
46197 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
46198 l_tls_firstbyte_offset non-zero. Save padding offset in
46199 l_tls_firstbyte_offset for later use.
46200 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
46201 freeing static tls block.
46202
95721191
JN
462032011-03-05 Jonathan Nieder <jrnieder@gmail.com>
46204
46205 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
46206 where #ifdef was intended. The intent is to prevent ARG_MAX from
46207 being defined by the kernel headers.
46208
f87dfb1f
UD
462092011-05-07 Ulrich Drepper <drepper@gmail.com>
46210
46211 [BZ #12734]
46212 * resolv/resolv.h: Define RES_NOTLDQUERY.
46213 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
46214 no-tld-query and set RES_NOTLDQUERY.
46215 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
46216 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
46217 modern BIND to search name as TLD unless forbidden.
46218
47c3cd7a
UD
462192011-05-07 Petr Baudis <pasky@suse.cz>
46220 Ulrich Drepper <drepper@gmail.com>
46221
46222 [BZ #12393]
46223 * elf/dl-load.c (fillin_rpath): Move trusted path check...
46224 (is_trusted_path): ...to here.
c1e9ea35 46225 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 46226 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 46227 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 46228
8a35c912
PP
462292011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46230
46231 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46232 __BEGIN/__END_DECLS.
46233
acd41f47
UD
462342011-05-06 Ulrich Drepper <drepper@gmail.com>
46235
46236 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46237 NSS_STATUS_NOTFOUND if no record was found.
46238
597df647
AS
462392011-05-05 Andreas Schwab <schwab@redhat.com>
46240
46241 * sunrpc/Makefile (headers): Add rpc/netdb.h.
46242 (headers-not-in-tirpc): Remove rpc/netdb.h
46243 * resolv/netdb.h: Revert last change.
46244
b9af1301
PP
462452011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46246
46247 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46248 circular dependency between libgcc.a and libc.a.
46249
4e34d5f5
AS
462502011-05-05 Andreas Schwab <schwab@redhat.com>
46251
46252 * resolv/netdb.h: Don't include <rpc/netdb.h>.
46253 * nis/Makefile: Don't install rpcsvc/*.
46254 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46255 instead of <rpc/types.h>.
46256 (MAXHOSTNAMELEN): Define.
46257
00ee369c
AS
462582011-05-03 Andreas Schwab <schwab@redhat.com>
46259
46260 * elf/ldconfig.c (add_dir): Don't crash on empty path.
46261
0b592a30
MB
462622011-04-28 Maciej Babinski <mbabinski@google.com>
46263
46264 [BZ #12714]
46265 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
46266 gethostbyname4_r when IPv6 results are possible.
46267
6e04cbbe
UD
462682011-05-02 Ulrich Drepper <drepper@gmail.com>
46269
46270 [BZ #12723]
46271 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
46272 _PC_PIPE_BUF handling.
46273
e4ecafe0
BH
462742011-04-30 Bruno Haible <bruno@clisp.org>
46275
46276 [BZ #12717]
46277 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
46278 * resolv/netdb.h (getnameinfo): Change type of flags parameter
46279 to 'int'.
46280 * inet/getnameinfo.c (getnameinfo): Likewise.
46281
125ee683
UD
462822011-04-29 Ulrich Drepper <drepper@gmail.com>
46283
46284 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
46285 to groups setting in database lookup.
46286 * nss/nsswitch.conf: Add initgroups entry.
46287
b722481a
EB
462882011-04-22 Ulrich Drepper <drepper@gmail.com>
46289
46290 [BZ #12685]
46291 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
46292 mode string.
46293 Patch by Eric Blake <eblake@redhat.com>.
46294
4df46dbd
L
462952011-04-20 H.J. Lu <hongjiu.lu@intel.com>
46296
46297 * sunrpc/Makefile (need-export-routines): Add svc_run.
46298 (routines): Remove svc_run.
46299 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
46300 * sunrpc/clnt_perr.c (clnt_perrno): Export.
46301 * sunrpc/svc_run.c (svc_run): Likewise.
46302 * sunrpc/svc_udp.c (svcudp_create): Likewise.
46303
e84142d2
UD
463042011-04-21 Ulrich Drepper <drepper@gmail.com>
46305
46306 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
46307 problem in reallocation in last patch.
46308
877175d8
UD
463092011-04-20 Ulrich Drepper <drepper@gmail.com>
46310
46311 * sunrpc/Makefile: Move inclusion of Rules.
46312
ab8eed78
UD
463132011-04-19 Ulrich Drepper <drepper@gmail.com>
46314
46315 * nss/nss_files/files-initgroups.c: New file.
46316 * nss/Makefile (libnss_files-routines): Add files-initgroups.
46317 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
46318 _nss_files_initgroups_dyn.
46319
e3d8f584
RS
463202011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
46321
46322 * elf/elf.h (R_ARM_IRELATIVE): Define.
46323
af190f45
UD
463242011-04-19 Ulrich Drepper <drepper@gmail.com>
46325
46326 * po/ru.po: Update from translation team.
46327
53cf59ef
UD
463282011-04-17 Ulrich Drepper <drepper@gmail.com>
46329
46330 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
46331 dependencies.
46332
4c559bcd
MF
463332011-02-06 Mike Frysinger <vapier@gentoo.org>
46334
46335 [BZ #12653]
46336 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
46337 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
46338 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46339 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46340 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46341
4420675c
AS
463422011-03-28 Andreas Schwab <schwab@linux-m68k.org>
46343
46344 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
46345 differing bytes.
46346 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46347 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46348 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46349
75ea32ab
UD
463502011-04-17 Ulrich Drepper <drepper@gmail.com>
46351
46352 [BZ #12420]
46353 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
46354 storing it.
46355 * stdlib/bug-getcontext.c: New file.
46356 * stdlib/Makefile: Add rules to build and run bug-getcontext.
46357
27390476
AK
463582011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46359
46360 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
46361 instructions into .machine "z9-109".
46362 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
46363 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
46364
10442705
AK
463652011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46366
46367 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
46368 between environment variables and auxiliary vector.
46369
7b57bfe5
UD
463702011-04-16 Ulrich Drepper <drepper@gmail.com>
46371
46372 * Makefile: Add rules to build linkobj/libc.so.
46373 * include/libc-symbols.h: Define libc_hidden_nolink.
46374 * include/rpc/auth.h: Mark functions which are to be hidden.
46375 * include/rpc/auth_des.h: Likewise.
46376 * include/rpc/auth_unix.h: Likewise.
46377 * include/rpc/clnt.h: Likewise.
46378 * include/rpc/des_crypt.h: Likewise.
46379 * include/rpc/key_prot.h: Likewise.
46380 * include/rpc/pmap_clnt.h: Likewise.
46381 * include/rpc/pmap_prot.h: Likewise.
46382 * include/rpc/pmap_rmt.h: Likewise.
46383 * include/rpc/rpc_msg.h: Likewise.
46384 * include/rpc/svc.h: Likewise.
46385 * include/rpc/svc_auth.h: Likewise.
46386 * include/rpc/xdr.h: Likewise.
46387 * nis/Makefile: Link all DSOs against linkobj/libc.so.
46388 * nss/Makefile: Likewise.
46389 * sunrpc/Makefile: Don't install headers. Build library with normal
46390 entry points. Don't build rpcinfo. Link RPC tests appropriately.
46391 * sunrpc/auth_des.c: Hide exported symbols by default, export some
46392 for the compat linking library. Remove use of INTDEF/INTUSE.
46393 * sunrpc/auth_none.c: Likewise.
46394 * sunrpc/auth_unix.c: Likewise.
46395 * sunrpc/authdes_prot.c: Likewise.
46396 * sunrpc/authuxprot.c: Likewise.
46397 * sunrpc/clnt_gen.c: Likewise.
46398 * sunrpc/clnt_perr.c: Likewise.
46399 * sunrpc/clnt_raw.c: Likewise.
46400 * sunrpc/clnt_simp.c: Likewise.
46401 * sunrpc/clnt_tcp.c: Likewise.
46402 * sunrpc/clnt_udp.c: Likewise.
46403 * sunrpc/clnt_unix.c: Likewise.
46404 * sunrpc/des_crypt.c: Likewise.
46405 * sunrpc/des_soft.c: Likewise.
46406 * sunrpc/get_myaddr.c: Likewise.
46407 * sunrpc/key_call.c: Likewise.
46408 * sunrpc/key_prot.c: Likewise.
46409 * sunrpc/netname.c: Likewise.
46410 * sunrpc/pm_getmaps.c: Likewise.
46411 * sunrpc/pm_getport.c: Likewise.
46412 * sunrpc/pmap_clnt.c: Likewise.
46413 * sunrpc/pmap_prot.c: Likewise.
46414 * sunrpc/pmap_prot2.c: Likewise.
46415 * sunrpc/pmap_rmt.c: Likewise.
46416 * sunrpc/publickey.c: Likewise.
46417 * sunrpc/rpc_cmsg.c: Likewise.
46418 * sunrpc/rpc_common.c: Likewise.
46419 * sunrpc/rpc_dtable.c: Likewise.
46420 * sunrpc/rpc_prot.c: Likewise.
46421 * sunrpc/rpc_thread.c: Likewise.
46422 * sunrpc/rtime.c: Likewise.
46423 * sunrpc/svc.c: Likewise.
46424 * sunrpc/svc_auth.c: Likewise.
46425 * sunrpc/svc_authux.c: Likewise.
46426 * sunrpc/svc_raw.c: Likewise.
46427 * sunrpc/svc_run.c: Likewise.
46428 * sunrpc/svc_simple.c: Likewise.
46429 * sunrpc/svc_tcp.c: Likewise.
46430 * sunrpc/svc_udp.c: Likewise.
46431 * sunrpc/svc_unix.c: Likewise.
46432 * sunrpc/svcauth_des.c: Likewise.
46433 * sunrpc/xcrypt.c: Likewise.
46434 * sunrpc/xdr.c: Likewise.
46435 * sunrpc/xdr_array.c: Likewise.
46436 * sunrpc/xdr_float.c: Likewise.
46437 * sunrpc/xdr_intXX_t.c: Likewise.
46438 * sunrpc/xdr_mem.c: Likewise.
46439 * sunrpc/xdr_rec.c: Likewise.
46440 * sunrpc/xdr_ref.c: Likewise.
46441 * sunrpc/xdr_sizeof.c: Likewise.
46442 * sunrpc/xdr_stdio.c: Likewise.
46443
e6c61494
UD
464442011-04-10 Ulrich Drepper <drepper@gmail.com>
46445
46446 [BZ #12650]
46447 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
46448 * sysdeps/ia64/dl-tls.h: Likewise.
46449 * sysdeps/powerpc/dl-tls.h: Likewise.
46450 * sysdeps/s390/dl-tls.h: Likewise.
46451 * sysdeps/sh/dl-tls.h: Likewise.
46452 * sysdeps/sparc/dl-tls.h: Likewise.
46453 * sysdeps/x86_64/dl-tls.h: Likewise.
46454 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
46455
34fe483e
AS
464562011-03-14 Andreas Schwab <schwab@redhat.com>
46457
46458 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
46459 rpath element also skip the following colon.
46460 (expand_dynamic_string_token): Add is_path parameter and pass
46461 down to DL_DST_REQUIRED and _dl_dst_substitute.
46462 (decompose_rpath): Call expand_dynamic_string_token with
46463 non-zero is_path. Ignore empty rpaths.
46464 (_dl_map_object_from_fd): Call expand_dynamic_string_token
46465 with zero is_path.
46466
f12a32e6
AS
464672011-04-08 Andreas Schwab <schwab@linux-m68k.org>
46468
46469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
46470 Make cancelable.
46471
38a7d692
UD
464722011-04-09 Ulrich Drepper <drepper@gmail.com>
46473
46474 [BZ #12655]
46475 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
46476 Patch by Filipe David Manana <fdmanana@apache.org>.
46477
e451d22b
AS
464782011-04-07 Andreas Schwab <schwab@redhat.com>
46479
46480 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
46481 Maintain aligned stack.
46482 (CHECK_RSP): Remove unused macro.
46483
dedc7c7b
UD
464842011-04-03 Ulrich Drepper <drepper@gmail.com>
46485
46486 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
46487 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
46488
94521213
UD
464892011-04-02 Ulrich Drepper <drepper@gmail.com>
46490
46491 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
46492
8cb700c0 46493 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 46494
0354e355
L
464952011-03-26 H.J. Lu <hongjiu.lu@intel.com>
46496
46497 [BZ #12518]
46498 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
46499 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
46500 * sysdeps/x86_64/memmove.c: New file.
46501 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
46502 (memcpy): Renamed to ...
46503 (__new_memcpy): This.
46504 (memcpy): Provide GLIBC_2_14 memcpy.
46505 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
46506 (memcpy): Provide GLIBC_2_2_5 memcpy.
46507
8593482f
UD
465082011-04-01 Ulrich Drepper <drepper@gmail.com>
46509
46510 [BZ #12631]
46511 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
46512
81a5726b
AS
465132011-03-30 Andreas Schwab <schwab@redhat.com>
46514
46515 * misc/syncfs.c: New file.
46516 * misc/Makefile (routines): Add syncfs.
46517 * posix/unistd.h: Declare syncfs.
46518 * sysdeps/unix/syscalls.list: Add syncfs.
46519
00e5419f
AS
465202011-04-01 Andreas Schwab <schwab@redhat.com>
46521
46522 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
46523 open_by_handle_at.
46524 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46525 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46526 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46527 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46528 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46529 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
46530 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46531
748876bf
UD
465322011-04-01 Ulrich Drepper <drepper@gmail.com>
46533
658e451d
UD
46534 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
46535 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46536 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
46537 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46538 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46539 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46540 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46541
748876bf
UD
46542 * io/Makefile: Compile fallocate.c, fallocate64.c, and
46543 sync_file_range.c with -fexceptions.
46544 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
46545 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
46546 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
46547 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
46548 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
46549 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
46550 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
46551 sync_file_range as cancellation point
46552 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
46553 now a wrapper around __call_sync_file_range with cancellation handling.
46554 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
46555 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
46556 function name to __call_sync_file_range.
46557 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
46558 Add call_sync_file_range.
748876bf 46559
6e63d5e1
AS
465602011-04-01 Andreas Schwab <schwab@redhat.com>
46561
46562 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 46563 bits/timex.h.
6e63d5e1 46564
46998f74
UD
465652011-04-01 Ulrich Drepper <drepper@gmail.com>
46566
4c1423ed
UD
46567 * iconv/iconv.h: Fix typo in comment.
46568 * io/fcntl.h: Likewise.
46569 * libio/stdio.h: Likewise.
46570 * posix/spawn.h: Likewise.
46571 * posix/unistd.h: Likewise.
46572 * stdlib/stdlib.h: Likewise.
46573 * time/time.h: Likewise.
46574 * wcsmbs/wchar.h: Likewise.
46575
158648c0
UD
46576 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
46577 open_by_handle): Add.
46578 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
46579 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
46580 Augment a few comments.
46581 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46582 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46583 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46584 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46585 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46586 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
46587 open_by_handle.
46588
46998f74
UD
46589 * io/fcntl.h (AT_EMPTY_PATH): Define.
46590
83fe108b
UD
465912011-03-30 Ulrich Drepper <drepper@gmail.com>
46592
46593 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
46594 * sysdeps/unix/sysv/linux/bits/time.h: New file.
46595 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
46596 to...
46597 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
46598 * Versions.def: Add GLIBC_2.14.
46599 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
46600 Export.
83fe108b 46601
bb242059
UD
466022011-03-22 Ulrich Drepper <drepper@gmail.com>
46603
46604 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
46605 round counter.
46606 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46607
c97a1282
L
466082011-03-20 H.J. Lu <hongjiu.lu@intel.com>
46609
46610 [BZ #12597]
46611 * string/test-strncmp.c (do_page_test): New function.
46612 (check2): Likewise.
46613 (test_main): Call check2.
46614 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
46615
2a115601
UD
466162011-03-20 Ulrich Drepper <drepper@gmail.com>
46617
46618 [BZ #12587]
46619 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
46620 Handle cache information in CPU leaf 4.
46621 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46622
8126d904
UD
466232011-03-18 Ulrich Drepper <drepper@gmail.com>
46624
042c49c6 46625 [BZ #12583]
8126d904
UD
46626 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
46627 character representation.
46628 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
46629
ccfe366e
RA
466302011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
46631
46632 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
46633 END(__isnan) to END(__isnanf) to match function entry point/label
46634 EALIGN(__isnanf,...).
46635
c6e13027
JJ
466362011-03-10 Jakub Jelinek <jakub@redhat.com>
46637
46638 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
46639
33f85a3f
UD
466402011-03-10 Ulrich Drepper <drepper@gmail.com>
46641
028478fa
UD
46642 [BZ #12510]
46643 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
46644 copy from the symbol referenced in the relocation to initialize the
46645 used variable.
46646 Patch by Piotr Bury <pbury@goahead.com>.
46647 * elf/Makefile: Add rules to build and tst-unique3.
46648 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
46649 * elf/tst-unique3.cc: New file.
46650 * elf/tst-unique3.h: New file.
46651 * elf/tst-unique3lib.cc: New file.
46652 * elf/tst-unique3lib2.cc: New file.
46653
33f85a3f
UD
46654 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
46655
03592fc7
MF
466562011-03-10 Mike Frysinger <vapier@gentoo.org>
46657
46658 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
46659 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
46660 to _start.
03592fc7 46661
6a5ee102
UD
466622011-03-06 Ulrich Drepper <drepper@gmail.com>
46663
46664 * elf/dl-load.c (_dl_map_object): If we are looking for the first
46665 to-be-loaded object along a path to loader is ld.so.
46666
7e4ba49c
HJ
466672011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46668 Ulrich Drepper <drepper@gmail.com>
46669
46670 * sysdeps/x86_64/memset.S: After aligning destination, code
46671 branches to different locations depending on the value of
46672 misalignment, when multiarch is enabled. Fix this.
46673
466742011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46675
46676 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
46677 Set _x86_64_preferred_memory_instruction for AMD processsors.
46678 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46679 Set bit_Prefer_SSE_for_memop for AMD processors.
46680
13a804de
UD
466812011-03-04 Ulrich Drepper <drepper@gmail.com>
46682
46683 * libio/fmemopen.c (fmemopen): Optimize a bit.
46684
9d25c392
AS
466852011-03-03 Andreas Schwab <schwab@redhat.com>
46686
46687 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
46688
a5543c6a
RM
466892011-03-03 Roland McGrath <roland@redhat.com>
46690
46691 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
46692
012d35f7
DM
466932011-02-28 Aurelien Jarno <aurelien@aurel32.net>
46694
7e4ba49c 46695 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
46696 __bzero_ultra1 instead of __memset_ultra1.
46697
4bff6e01
AS
466982011-02-23 Andreas Schwab <schwab@redhat.com>
46699 Ulrich Drepper <drepper@gmail.com>
46700
46701 [BZ #12509]
46702 * include/link.h (struct link_map): Add l_orig_initfini.
46703 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
46704 returning unsuccessfully.
46705 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
46706 close of a file loaded at startup, restore the original l_initfini
46707 list.
46708 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
46709 list, store the pointer.
46710 * elf/Makefile ($(objpfx)noload-mem): New rule.
46711 (noload-ENV): Define.
46712 (tests): Add $(objpfx)noload-mem.
46713 * elf/noload.c: Include <memcheck.h>.
46714 (main): Call mtrace. Close all opened handles.
46715
f2092faf
AS
467162011-02-17 Andreas Schwab <schwab@redhat.com>
46717
46718 [BZ #12454]
46719 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
46720 dependencies are missing.
46721
6c8a2e88
ST
467222011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
46723
f2092faf 46724 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
46725 Hurd needs munmap.
46726 * sysdeps/mach/hurd/ifreq.h: New file.
46727
84a42118
PB
467282011-01-27 Petr Baudis <pasky@suse.cz>
46729 Ulrich Drepper <drepper@gmail.com>
46730
071f805e 46731 [BZ 12445]#
84a42118
PB
46732 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
46733 to extend_alloca().
46734 * stdio-common/bug23.c: New file.
46735 * stdio-common/Makefile (tests): Add bug23.
46736
e23fe25b
AS
467372010-09-28 Andreas Schwab <schwab@redhat.com>
46738 Ulrich Drepper <drepper@gmail.com>
46739
46740 [BZ #12489]
46741 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
46742 before performing relro protection. At old place add assertion
46743 to make sure nothing changed.
46744
d3f02e10
NS
467452011-02-17 Nathan Sidwell <nathan@codesourcery.com>
46746 Glauber de Oliveira Costa <glommer@gmail.com>
46747
46748 * elf/elf.h: Add new ARM TLS relocs.
46749
d55fd7a5
RA
467502011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
46751
46752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46753 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
46754 cast from r3.
46755 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
46756 'tests' variable.
46757 * sysdeps/wordsize-64/tst-writev.c: New file.
46758
2206397e
RA
467592011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
46760
46761 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
46762 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
46763 insns in _dl_start to prevent a TOC reference before relocs are
46764 resolved.
46765
e9433893
UD
467662011-02-15 Ulrich Drepper <drepper@gmail.com>
46767
46768 [BZ #12469]
46769 * Makeconfig: Remove RANLIB definition.
46770 * Makerules: Don't use RANLIB.
46771 * aclocal.m4: Remove ranlib test.
46772 * configure.in: No need to check for ranlib.
46773 * elf/rtld-Rules: Don't use RANLIB.
46774
f75286c6
ST
467752011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
46776
8e31c82d
ST
46777 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46778 protection macro.
46779 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46780 inclusion protection macro.
46781
f75286c6
ST
46782 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46783 SIGRTMIN and SIGRTMAX and print information in that case only when
46784 SIGRTMIN is defined.
46785
c1d0e639
JJ
467862011-02-11 Jakub Jelinek <jakub@redhat.com>
46787
46788 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46789 arginfo fn returning -1.
46790
46791 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46792 and thousands string is zero terminated.
46793
edf9294e
AS
467942011-02-03 Andreas Schwab <schwab@redhat.com>
46795
46796 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
46797 sysdeps/unix/sysv/linux/bits/socket.h.
46798
2b7e92df
ST
467992011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
46800
edf9294e
AS
46801 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
46802 (__CPU_COUNT): Remove old macros.
46803 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
46804 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
46805 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
46806 (__sched_cpualloc, __sched_cpufree): Add declarations.
46807
a4c7ea7b
UD
468082011-02-05 Ulrich Drepper <drepper@gmail.com>
46809
46810 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
46811 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
46812 * nscd/aicache.c (addhstaiX): Return timeout of added value.
46813 (readdhstai): Return value of addhstaiX call.
46814 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
46815 (addgrbyX): Return value returned by cache_addgr.
46816 (readdgrbyname): Return value returned by addgrbyX.
46817 (readdgrbygid): Likewise.
46818 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
46819 (addpwbyX): Return value returned by cache_addpw.
46820 (readdpwbyname): Return value returned by addhstbyX.
46821 (readdpwbyuid): Likewise.
46822 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
46823 (addservbyX): Return value returned by cache_addserv.
46824 (readdservbyname): Return value returned by addservbyX:
46825 (readdservbyport): Likewise.
46826 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
46827 (addhstbyX): Return value returned by cache_addhst.
46828 (readdhstbyname): Return value returned by addhstbyX.
46829 (readdhstbyaddr): Likewise.
46830 (readdhstbynamev6): Likewise.
46831 (readdhstbyaddrv6): Likewise.
46832 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
46833 (readdinitgroups): Return value returned by addinitgroupsX.
46834 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
46835 (prune_cache): Keep track of timeout value of re-added entries.
46836 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
46837 * nscd/nscd.h: Adjust prototypes of readd* functions.
46838
a0bf67cc
RM
468392011-02-04 Roland McGrath <roland@redhat.com>
46840
46841 * nis/nis_server.c (nis_servstate): Use the right name for 0.
46842 (nis_stats): Likewise.
46843 * nis/nis_modify.c (nis_modify): Likewise.
46844 * nis/nis_remove.c (nis_remove): Likewise.
46845 * nis/nis_add.c (nis_add): Likewise.
46846
46847 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
46848
46849 * posix/fnmatch_loop.c: Add some consts.
46850
46851 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
46852
435b95eb
L
468532011-02-02 H.J. Lu <hongjiu.lu@intel.com>
46854
46855 [BZ #12460]
46856 * config.make.in (config-cflags-novzeroupper): Define.
46857 * configure.in: Substitute libc_cv_cc_novzeroupper.
46858 * elf/Makefile (AVX-CFLAGS): Define.
46859 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
46860 (CFLAGS-tst-auditmod4a.c): Likewise.
46861 (CFLAGS-tst-auditmod4b.c): Likewise.
46862 (CFLAGS-tst-auditmod6b.c): Likewise.
46863 (CFLAGS-tst-auditmod6c.c): Likewise.
46864 (CFLAGS-tst-auditmod7b.c): Likewise.
46865 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
46866
8517b15e
UD
468672011-02-02 Ulrich Drepper <drepper@gmail.com>
46868
46869 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
46870 function to the callback.
46871 Patch partly by Jiri Olsa <jolsa@redhat.com>.
46872
10a656fe
AS
468732011-02-02 Andreas Schwab <schwab@redhat.com>
46874
46875 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
46876 of errno.
46877
968dad0a
UD
468782011-01-19 Ulrich Drepper <drepper@gmail.com>
46879
9f94d2ea 46880 [BZ #11724]
968dad0a
UD
46881 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
46882 of constructors.
46883 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
46884 of destructors.
46885 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
46886
46887 [BZ #11724]
46888 * elf/Makefile: Add rules to build and run new test.
46889 * elf/tst-initorder.c: New file.
46890 * elf/tst-initorder.exp: New file.
46891 * elf/tst-initordera1.c: New file.
46892 * elf/tst-initordera2.c: New file.
46893 * elf/tst-initordera3.c: New file.
46894 * elf/tst-initordera4.c: New file.
46895 * elf/tst-initorderb1.c: New file.
46896 * elf/tst-initorderb2.c: New file.
46897 * elf/tst-order-a1.c: New file.
46898 * elf/tst-order-a2.c: New file.
46899 * elf/tst-order-a3.c: New file.
46900 * elf/tst-order-a4.c: New file.
46901 * elf/tst-order-b1.c: New file.
46902 * elf/tst-order-b2.c: New file.
46903 * elf/tst-order-main.c: New file.
46904 New test case by George Gensure <werkt0@gmail.com>.
46905
86e92359
UD
469062010-10-01 Andreas Schwab <schwab@redhat.com>
46907
46908 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46909 decoding ACE if AI_CANONIDN.
46910
5d5732b0
UD
469112011-01-18 Ulrich Drepper <drepper@gmail.com>
46912
46913 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
46914
a77e8cbc
UD
469152011-01-17 Ulrich Drepper <drepper@gmail.com>
46916
6392473f
UD
46917 * version.h (RELEASE): Bump for 2.13 release.
46918 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
46919
620a0529
UD
46920 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
46921
18ba70a5
UD
46922 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
46923 MADV_NOHUGEPAGE.
32465c3e
UD
46924 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
46925 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46926 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46927 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46928 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46929 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46930
c0dafcf1
UD
46931 * posix/getconf.c: Update copyright year.
46932 * catgets/gencat.c: Likewise.
46933 * csu/version.c: Likewise.
46934 * debug/catchsegv.sh: Likewise.
46935 * debug/xtrace.sh: Likewise.
46936 * elf/ldconfig.c: Likewise.
46937 * elf/ldd.bash.in: Likewise.
46938 * elf/sprof.c (print_version): Likewise.
46939 * iconv/iconv_prog.c: Likewise.
46940 * iconv/iconvconfig.c: Likewise.
46941 * locale/programs/locale.c: Likewise.
46942 * locale/programs/localedef.c: Likewise.
46943 * malloc/memusage.sh: Likewise.
46944 * malloc/mtrace.pl: Likewise.
46945 * nscd/nscd.c (print_version): Likewise.
46946 * nss/getent.c: Likewise.
46947
a77e8cbc
UD
46948 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
46949 PF_CAIF, and PF_ALG.
46950 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46951
77e8bddf
AS
469522011-01-16 Andreas Schwab <schwab@linux-m68k.org>
46953
1f20b93a
AS
46954 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
46955 (modules-names): Use them.
46956 (ifunc-test-modules, ifunc-pie-tests): Define.
46957 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
46958 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
46959 (test-extras): Likewise.
46960 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
46961 $(compile-command.c).
46962 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
46963 (all-built-dso): Define.
46964 (check-textrel.out, check-execstack.out): Depend on it.
46965
77e8bddf
AS
46966 * configure.in: Don't override --enable-multi-arch.
46967
bc425b33
UD
469682011-01-15 Ulrich Drepper <drepper@gmail.com>
46969
46970 [BZ #6812]
46971 * nscd/hstcache.c (tryagain): Define.
46972 (cache_addhst): Return tryagain not notfound for temporary errors.
46973 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
46974 failed.
46975
794c3ad3
UD
469762011-01-14 Ulrich Drepper <drepper@gmail.com>
46977
70181fdd
UD
46978 [BZ #10563]
46979 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
46980 to make the syscall.
46981 * sysdeps/unix/sysv/linux/setgroups.c: New file.
46982
794c3ad3
UD
46983 [BZ #12378]
46984 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
46985 and fall back to matching as normal character if the string ends before
46986 the matching ']' is found. This is what POSIX requires.
46987 * posix/testfnm.c: Adjust test result.
46988 * posix/globtest.sh: Adjust test result. Add new test.
46989 * posix/tst-fnmatch.input: Likewise.
46990 * posix/tst-fnmatch2.c: Add new test.
46991
68dc9497
AS
469922010-12-28 Andreas Schwab <schwab@linux-m68k.org>
46993
46994 * elf/Makefile (check-execstack): Revert last change. Depend on
46995 check-execstack.h.
46996 (check-execstack.h): New target.
46997 (generated): Add check-execstack.h.
46998 * elf/check-execstack.c: Include "check-execstack.h".
46999 (main): Revert last change.
47000 (handle_file): Return zero if GNU_STACK is absent and
47001 DEFAULT_STACK_PERMS doesn't include PF_X.
47002
451f001b
UD
470032011-01-13 Ulrich Drepper <drepper@gmail.com>
47004
cfa28e56
UD
47005 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
47006 in child fails because the descriptor is already closed.
8cf8ce17
UD
47007 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
47008 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
47009 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 47010
1086d70d
UD
47011 [BZ #12397]
47012 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
47013 syscall.
47014
451f001b
UD
47015 [BZ #10484]
47016 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
47017 temporary buffer used to handle multi lookups locally.
a85b5cb4 47018 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 47019
08769175
UD
470202011-01-12 Ulrich Drepper <drepper@gmail.com>
47021
47022 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
47023 loader is ld.so.
47024
5e49c52e
UD
470252011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
47026
47027 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
47028 alignment for SSE2.
47029
60522a5f
UD
470302011-01-12 Ulrich Drepper <drepper@gmail.com>
47031
47032 [BZ #12394]
47033 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
47034 characters. When rounding increased number of integer digits recompute
47035 number of groups.
47036 * stdio-common/tst-grouping.c: New file.
47037 * stdio-common/Makefile: Add rules to build and run tst-grouping.
47038
f257bbd7
UD
470392011-01-09 Ulrich Drepper <drepper@gmail.com>
47040
47041 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
47042 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
47043
47044 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
47045 void.
47046 * bits/select.h: Likewise.
47047
fa9c15cb
UD
470482011-01-08 Ulrich Drepper <drepper@gmail.com>
47049
47050 * po/ja.po: Update from translation team.
47051
16c2895f
DM
470522011-01-04 David S. Miller <davem@sunset.davemloft.net>
47053
47054 [BZ #11155]
47055 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
47056 implementation just like for lxstat, fxstatat, et al.
47057
2543fef2
JM
470582010-12-27 Jim Meyering <meyering@redhat.com>
47059
47060 [BZ #12348]
47061 * posix/regexec.c (build_trtable): Return failure indication upon
47062 calloc failure. Otherwise, re_search_internal could infloop on OOM.
47063
98727dbe
UD
470642010-12-25 Ulrich Drepper <drepper@gmail.com>
47065
5bd6dc5c
UD
47066 [BZ #12201]
47067 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
47068 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
47069 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
47070 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
47071
97983464
UD
47072 [BZ #12207]
47073 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
47074
98727dbe
UD
47075 [BZ #12204]
47076 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
47077 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
47078
4a531bb0
L
470792010-12-15 H.J. Lu <hongjiu.lu@intel.com>
47080
47081 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
47082 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
47083 script has SORT_BY_INIT_PRIORITY.
47084 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
47085 NO_CTORS_DTORS_SECTIONS is defined.
47086 * elf/soinit.c: Likewise.
47087 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
47088 NO_CTORS_DTORS_SECTIONS is defined.
47089 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
47090 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
47091 * sysdeps/sh/init-first.c: Likewise.
47092 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
47093
07eb4b71
UD
470942010-12-24 Ulrich Drepper <drepper@gmail.com>
47095
47096 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
47097 always use the slow path.
47098
30950a5f
RA
470992010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
47100
47101 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
47102 similar rule which adds the sysdep directories to the header search in
47103 order to pick up the correct platform stackinfo.h.
47104 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
47105 perform test if it is, otherwise return successfully without testing.
47106 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
47107 DEFAULT_STACK_PERMS define in stackinfo.h.
47108 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
47109 defined in stackinfo.h.
47110 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
47111 DEFAULT_STACK_PERMS defined in stackinfo.h.
47112 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
47113 * sysdeps/ia64/stackinfo.h: Likewise.
47114 * sysdeps/s390/stackinfo.h: Likewise.
47115 * sysdeps/sh/stackinfo.h: Likewise.
47116 * sysdeps/sparc/stackinfo.h: Likewise.
47117 * sysdeps/x86_64/stackinfo.h: Likewise.
47118 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
47119 PF_X for powerpc64. Retain PF_X for powerpc32.
47120
db753e2c
UD
471212010-12-19 Ulrich Drepper <drepper@gmail.com>
47122
14b697f7
UD
47123 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
47124 accurately.
db753e2c
UD
47125 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
47126 GETDENTS_64BIT_ALIGNED.
47127
28300719
UD
471282010-12-14 Ulrich Drepper <dreper@gmail.com>
47129
14b697f7 47130 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 47131
4f197237
AS
471322010-12-10 Andreas Schwab <schwab@redhat.com>
47133
dbb0472f
AS
47134 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
47135 _GNU_SOURCE.
47136
4f197237
AS
47137 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
47138 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
47139 Remove __restrict.
47140 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
47141 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
47142
fb88ac72
UD
471432010-12-09 Ulrich Drepper <drepper@gmail.com>
47144
47145 [BZ #11655]
47146 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
47147 are initialized.
47148
42acbb92
JJ
471492010-12-09 Jakub Jelinek <jakub@redhat.com>
47150
47151 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
47152
c038d98d
UD
471532010-12-03 Ulrich Drepper <drepper@gmail.com>
47154
47155 * po/it.po: Update from translation team.
47156
3a4a2499
L
471572010-12-01 H.J. Lu <hongjiu.lu@intel.com>
47158
47159 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47160 unused codes.
47161
1e24cf6e
UD
471622010-11-30 Ulrich Drepper <drepper@gmail.com>
47163
47164 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47165
a7690819
AS
471662010-11-24 Andreas Schwab <schwab@redhat.com>
47167
47168 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47169 specially.
47170 (gaih_getanswer_slice): Likewise.
47171
3bf8d1b1
JJ
471722010-10-20 Jakub Jelinek <jakub@redhat.com>
47173
47174 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
47175
6db52fbb
PB
471762010-05-31 Petr Baudis <pasky@suse.cz>
47177
47178 [BZ #11149]
47179 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
47180 silently even in the chroot mode.
47181
eaca7569
UD
471822010-11-22 Ulrich Drepper <drepper@gmail.com>
47183
47184 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
47185 last patch a bit. Pretty printing
47186
3056dcdb
UD
471872010-05-31 Petr Baudis <pasky@suse.cz>
47188
47189 [BZ #10085]
47190 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
47191 initialization of skip_initgroups_dyn.
47192
cf7c9078
UD
471932010-11-19 Ulrich Drepper <drepper@gmail.com>
47194
47195 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
47196 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47197
a1fb5e3e
UD
471982010-11-16 Ulrich Drepper <drepper@gmail.com>
47199
47200 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
47201
3540d66b
AS
472022010-11-11 Andreas Schwab <schwab@redhat.com>
47203
47204 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
47205 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
47206 (tst-fnmatch-ENV): Set MALLOC_TRACE.
47207 ($(objpfx)tst-fnmatch-mem): New rule.
47208 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
47209 * posix/tst-fnmatch.c (main): Call mtrace.
47210
13b69574
L
472112010-11-11 H.J. Lu <hongjiu.lu@intel.com>
47212
47213 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47214 Support Intel processor model 6 and model 0x2c.
47215
da93d214
LM
472162010-11-10 Luis Machado <luisgpm@br.ibm.com>
47217
47218 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
47219 signed comparison.
47220
8ca52c6e
L
472212010-11-09 H.J. Lu <hongjiu.lu@intel.com>
47222
47223 [BZ #12205]
47224 * string/test-strncasecmp.c (check_result): New function.
47225 (do_one_test): Use it.
47226 (check1): New function.
47227 (test_main): Use it.
47228 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47229 Support strcasecmp and strncasecmp.
47230
69da074d
UD
472312010-11-08 Ulrich Drepper <drepper@gmail.com>
47232
47233 [BZ #12194]
47234 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47235 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47236
ff02d528
L
472372010-11-07 H.J. Lu <hongjiu.lu@intel.com>
47238
47239 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47240 IFUNC support.
47241 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47242 memset-x86-64.
47243 * sysdeps/x86_64/multiarch/bzero.S: New file.
47244 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47245 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47246 * sysdeps/x86_64/multiarch/memset.S: New file.
47247 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47248 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47249 Set bit_Prefer_SSE_for_memop for Intel processors.
47250 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47251 Define.
47252 (index_Prefer_SSE_for_memop): Define.
47253 (HAS_PREFER_SSE_FOR_MEMOP): Define.
47254
344d0b54
LM
472552010-11-04 Luis Machado <luisgpm@br.ibm.com>
47256
47257 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47258 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47259
c0dde15b
UD
472602010-11-03 H.J. Lu <hongjiu.lu@intel.com>
47261
47262 [BZ #12191]
47263 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47264 (__x86_64_raw_data_cache_size_half): Likewise.
47265 (__x86_64_raw_shared_cache_size): Likewise.
47266 (__x86_64_raw_shared_cache_size_half): Likewise.
47267
47268 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47269 (__x86_64_raw_data_cache_size_half): Likewise.
47270 (__x86_64_raw_shared_cache_size): Likewise.
47271 (__x86_64_raw_shared_cache_size_half): Likewise.
47272 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
47273 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
47274 and __x86_64_raw_shared_cache_size_half. Round
47275 __x86_64_data_cache_size_half, __x86_64_data_cache_size
47276 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
47277 to multiple of 256 bytes.
47278
0e516e0e
MS
472792010-11-03 Ulrich Drepper <drepper@gmail.com>
47280
47281 [BZ #12167]
47282 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
47283 of inacessible symlinks. Verify result of symlink before returning it.
47284 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47285 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
47286
0e012e87
ER
472872010-10-28 Erich Ritz <erichritz@gmail.com>
47288
47289 * math/math.h (isinf): Fix typo in comment.
47290
de0ff7bc
UD
472912010-11-01 Ulrich Drepper <drepper@gmail.com>
47292
47293 * po/da.po: Update from translation team.
47294
fa41c84d
UD
472952010-10-26 Ulrich Drepper <drepper@gmail.com>
47296
47297 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
47298 is added to the list.
47299
f0967738
AK
473002010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47301 Ulrich Drepper <drepper@gmail.com>
47302
47303 * elf/dl-object.c (_dl_new_object): Don't append the new object to
47304 the global list here. Move code to...
47305 (_dl_add_to_namespace_list): ...here. New function.
47306 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
47307 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
47308 * elf/dl-load.c (lose): Don't remove the element from the list.
47309 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
47310 (_dl_map_object): Likewise.
47311
473122010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
47313
47314 [BZ #12159]
47315 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
47316 into all bytes of SSE register.
47317 Patch by Richard Li <richardpku@gmail.com>.
47318
f0967738 473192010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
47320
47321 [BZ #12140]
47322 * malloc/malloc.c (_int_free): Fill correct number of bytes when
47323 perturbing.
47324
d0b9e94f
MB
473252010-10-20 Michael B. Brutman <brutman@us.ibm.com>
47326
47327 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
47328 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
47329 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
47330 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
47332 submachine.
47333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
47334
8e9f92e9
AS
473352010-10-22 Andreas Schwab <schwab@redhat.com>
47336
47337 * include/dlfcn.h (__RTLD_SECURE): Define.
47338 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
47339 mode & __RTLD_SECURE instead.
47340 (open_path): Rename preloaded parameter to secure.
47341 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
47342 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
47343 * elf/dl-deps.c (openaux): Likewise.
47344 * elf/rtld.c (struct map_args): Remove is_preloaded.
47345 (map_doit): Don't use it.
47346 (dl_main): Likewise.
47347 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
47348 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
47349
bc96fbda
AS
473502010-09-09 Andreas Schwab <schwab@redhat.com>
47351
47352 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
47353 (sysd-rules-targets): Remove duplicates.
47354 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
47355 rtld-%.$o dependency.
47356
22cd1c9b
AS
473572010-10-18 Andreas Schwab <schwab@redhat.com>
47358
47359 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
47360 _dl_map_object do it.
47361
18edac48
UD
473622010-10-19 Ulrich Drepper <drepper@gmail.com>
47363
47364 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
47365 fast fma builtins, define the macros in the C99 standard.
47366 (FP_FAST_FMAF): Likewise.
47367 (FP_FAST_FMAL): Likewise.
47368 * sysdeps/x86_64/bits/mathdef.h: Likewise.
47369
47370 * bits/mathdef.h: Update copyright year.
47371 * sysdeps/powerpc/bits/mathdef.h: Likewise.
47372
d2050124
MM
473732010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
47374
47375 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
47376 builtins, define the macros in the C99 standard.
47377 (FP_FAST_FMAF): Likewise.
47378 (FP_FAST_FMAL): Likewise.
47379 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
47380 multiply/add.
47381 (FP_FAST_FMAF): Likewise.
47382
475facd1
JJ
473832010-10-15 Jakub Jelinek <jakub@redhat.com>
47384
47385 [BZ #3268]
47386 * math/libm-test.inc (fma_test): Some new testcases.
47387 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
47388 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
47389 y and infinite z. Do multiplication by C already in long double.
47390 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
47391 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
47392 y and infinite z. Do bitwise or of inexact bit into u.d.
47393 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
47394 * sysdeps/i386/fpu/s_fmaf.S: Removed.
47395 * sysdeps/i386/fpu/s_fma.S: Removed.
47396 * sysdeps/i386/fpu/s_fmal.S: Removed.
47397
7c08a05c
JJ
473982010-10-16 Jakub Jelinek <jakub@redhat.com>
47399
47400 [BZ #3268]
47401 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
47402 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
47403 computation is not scheduled after fetestexcept. Fix value
47404 of minimum denormal long double.
47405
f3f7372d
JJ
474062010-10-14 Jakub Jelinek <jakub@redhat.com>
47407
47408 [BZ #3268]
47409 * math/libm-test.inc (fma_test): Add some more tests.
47410 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
47411 correctly.
47412
14d43591
AS
474132010-10-15 Andreas Schwab <schwab@redhat.com>
47414
47415 * scripts/data/localplt-s390-linux-gnu.data: New file.
47416 * scripts/data/localplt-s390x-linux-gnu.data: New file.
47417
5e908464
JJ
474182010-10-13 Jakub Jelinek <jakub@redhat.com>
47419
47420 [BZ #3268]
47421 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
47422 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
47423 instead of dbl-64.
47424 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
47425 inlines.
47426 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
47427 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
47428 if one of x and y is very large and the other is subnormal.
47429 * sysdeps/s390/fpu/s_fmaf.c: New file.
47430 * sysdeps/s390/fpu/s_fma.c: New file.
47431 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
47432 * sysdeps/powerpc/fpu/s_fma.S: New file.
47433 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
47434 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
47435 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
47436
474372010-10-12 Jakub Jelinek <jakub@redhat.com>
47438
47439 [BZ #3268]
47440 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
47441 fma tests.
47442 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
47443 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
47444 * sysdeps/i386/i686/multiarch/s_fma.c: Include
47445 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
47446 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
47447 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
47448 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
47449
b833d51f
UD
474502010-10-12 Ulrich Drepper <drepper@redhat.com>
47451
47452 [BZ #12078]
47453 * posix/regcomp.c (parse_branch): One more memory leak plugged.
47454 * posix/bug-regex31.input: Add test case.
47455
1751705d
UD
474562010-10-11 Ulrich Drepper <drepper@gmail.com>
47457
e9b9cbf5
UD
47458 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
47459 * posix/bug-regex31.input: New file.
47460
47461 [BZ #12078]
47462 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
47463 (parse_sub_exp): Fix last change, use postorder.
47464
ef06edbe
UD
47465 * posix/bug-regex31.c: New file.
47466 * posix/Makefile: Add rules to build and run bug-regex31.
47467
a129c80d
UD
47468 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
47469
47470 [BZ #12078]
47471 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
47472
b76b818e
UD
47473 [BZ #12108]
47474 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
47475 to have entries in sys_siglist.
47476
1751705d
UD
47477 [BZ #12093]
47478 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
47479 be NULL.
47480
9ff8d36f
JJ
474812010-10-07 Jakub Jelinek <jakub@redhat.com>
47482
47483 [BZ #3268]
47484 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
47485 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
47486 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
47487 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
47488 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47489 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
47490 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
47491 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
47492 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
47493 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
47494 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
47495 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
47496 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
47497 * math/ftestexcept.c (fetestexcept): Likewise.
47498 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
47499 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
47500 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
47501 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
47502 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
47503 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
47504 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47505
af325969
UD
475062010-10-11 Ulrich Drepper <drepper@gmail.com>
47507
c579b202 47508 [BZ #12107]
af325969
UD
47509 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
47510 newline.
47511
67a67b95
UD
475122010-10-06 Ulrich Drepper <drepper@gmail.com>
47513
47514 * string/bug-strstr1.c: New file.
47515 * string/Makefile: Add rules to build and run bug-strstr1.
47516
5fb308bc
EB
475172010-10-05 Eric Blake <eblake@redhat.com>
47518
47519 [BZ #12092]
47520 * string/str-two-way.h (two_way_long_needle): Always clear memory
47521 when skipping input due to the shift table.
47522
45db99c7
UD
475232010-10-03 Ulrich Drepper <drepper@gmail.com>
47524
3b111893
UD
47525 [BZ #12005]
47526 * malloc/mcheck.c: Handle large requests.
47527
45db99c7
UD
47528 [BZ #12077]
47529 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
47530 for strncmp and strncasecmp.
47531 * string/stratcliff.c: Add tests for strcmp and strncmp.
47532 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
47533
cf7a1eb8
NI
475342010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47535
47536 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
47537 __set_fpscr.
47538
6484ba5e
AJ
475392010-09-30 Andreas Jaeger <aj@suse.de>
47540
47541 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
47542 (CGROUP_SUPER_MAGIC): Define.
47543 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47544 Handle btrfs and cgroup file systems.
47545 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47546 Likewise.
47547
91c42559
LM
475482010-09-27 Luis Machado <luisgpm@br.ibm.com>
47549
47550 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
47551 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
47552
87a97932
AK
475532010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47554
47555 [BZ #12067]
47556 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
47557 trying to locate the ELF header.
47558
c21cc9bc
AS
475592010-09-27 Andreas Schwab <schwab@redhat.com>
47560
47561 [BZ #11611]
47562 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
47563 Mask out sign-bit copies when constructing f_fsid.
47564
315970f6
PB
475652010-09-24 Petr Baudis <pasky@suse.cz>
47566
47567 * debug/stack_chk_fail_local.c: Add missing licence exception.
47568 * debug/warning-nop.c: Likewise.
47569
1ac7a2c7
JM
475702010-09-15 Joseph Myers <joseph@codesourcery.com>
47571
47572 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
47573 implementing getdents64 using getdents syscall, set d_type if
47574 __ASSUME_GETDENTS32_D_TYPE.
47575
56801c50
AS
475762010-09-16 Andreas Schwab <schwab@redhat.com>
47577
47578 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
47579 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
47580
dda51327
UD
475812010-09-21 Ulrich Drepper <drepper@redhat.com>
47582
47583 [BZ #12037]
47584 * posix/unistd.h: Undo change of feature selection for ftruncate from
47585 2010-01-11.
47586
8ffcee4a
UD
475872010-09-20 Ulrich Drepper <drepper@redhat.com>
47588
a545ecd9 47589 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
47590 detection.
47591
e24f0a8b
AS
475922010-09-20 Andreas Schwab <schwab@redhat.com>
47593
47594 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
47595 fanotify_mark.
47596 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47597
7291c56f
AS
475982010-09-14 Andreas Schwab <schwab@redhat.com>
47599
47600 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
47601 variables after CHECK_SP call.
47602 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
47603
bc5fb037
AS
476042010-09-13 Andreas Schwab <schwab@redhat.com>
47605 Ulrich Drepper <drepper@redhat.com>
47606
47607 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
47608 re-relocationg ld.so.
47609 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
47610 _dl_init_paths call.
47611 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
47612 here anymore.
47613
e66e7419
UD
476142010-09-14 Ulrich Drepper <drepper@redhat.com>
47615
47616 * resolv/res_init.c (__res_vinit): Count the default server we added.
47617
c044aa75
CLT
476182010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
47619 Ulrich Drepper <drepper@redhat.com>
47620
47621 [BZ #11968]
47622 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47623 (____longjmp_chk): Use %ebx for saving value across system call.
47624 Add unwind info.
47625
32cf4069
AS
476262010-09-06 Andreas Schwab <schwab@redhat.com>
47627
47628 * manual/Makefile: Don't mix pattern rules with normal rules.
47629
817328ee
AS
476302010-09-05 Andreas Schwab <schwab@linux-m68k.org>
47631
47632 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
47633 operation.
47634 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
47635 * libio/iofopncook.c (_IO_cookie_init): Likewise.
47636 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
47637 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
47638 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47639 Likewise.
47640
29fddf61
UD
476412010-09-04 Ulrich Drepper <drepper@redhat.com>
47642
47643 [BZ #11979]
47644 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
47645 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
47646
0959ffc9
UD
476472010-09-02 Ulrich Drepper <drepper@redhat.com>
47648
47649 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
47650 * sysdeps/x86_64/addmul_1.S: Likewise.
47651 * sysdeps/x86_64/lshift.S: Likewise.
47652 * sysdeps/x86_64/mul_1.S: Likewise.
47653 * sysdeps/x86_64/rshift.S: Likewise.
47654 * sysdeps/x86_64/sub_n.S: Likewise.
47655 * sysdeps/x86_64/submul_1.S: Likewise.
47656
ece29840
ST
476572010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
47658
0959ffc9
UD
47659 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
47660 Define __sched_param instead of SCHED_* and sched_param when
ece29840 47661 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 47662 * bits/sched.h [__need_schedparam]
ece29840 47663 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
47664 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
47665 (__defined_schedparam): Define to 1.
ece29840
ST
47666 (__sched_param): New structure, identical to sched_param.
47667 (__need_schedparam): Undefine.
47668
e53a31fe
MF
476692010-08-31 Mike Frysinger <vapier@gentoo.org>
47670
fdc0c10d
MF
47671 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
47672 (epoll_create1): Declare.
47673
e53a31fe
MF
47674 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
47675
a726d796
AS
476762010-08-31 Andreas Schwab <schwab@redhat.com>
47677
47678 [BZ #7066]
47679 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
47680 shifting retval into place.
47681
2f3e3dc7
UD
476822010-09-01 Ulrich Drepper <drepper@redhat.com>
47683
f2933da9
UD
47684 * nis/rpcsvc/nis.h: Update copyright notice.
47685 * nis/rpcsvc/nis.x: Likewise.
47686 * nis/rpcsvc/nis_callback.h: Likewise.
47687 * nis/rpcsvc/nis_callback.x: Likewise.
47688 * nis/rpcsvc/nis_object.x: Likewise.
47689 * nis/rpcsvc/nis_tags.h: Likewise.
47690 * nis/rpcsvc/yp.h: Likewise.
47691 * nis/rpcsvc/yp.x: Likewise.
47692 * nis/rpcsvc/ypupd.h: Likewise.
47693 * nis/yp_xdr.c: Likewise.
47694 * nis/ypupdate_xdr.c: Likewise.
47695
2f3e3dc7
UD
47696 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
47697 mainly the body of pmap_getport. Add parameters to specify timeouts.
47698 (pmap_getport): Use __libc_rpc_getport.
47699 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
47700 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
47701 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
47702
f3dcc2f9
AS
477032010-08-31 Andreas Schwab <schwab@linux-m68k.org>
47704
47705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
47706 fanotify_mark.
47707
6d34eb5b
RM
477082010-08-27 Roland McGrath <roland@redhat.com>
47709
47710 * sysdeps/i386/i686/multiarch/Makefile
47711 (CFLAGS-varshift.c): New variable.
47712
9ea3de11
UD
477132010-08-27 Ulrich Drepper <drepper@redhat.com>
47714
c96d23fc
UD
47715 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
47716 * sysdeps/i386/i686/multiarch/varshift.c: New file.
47717
9ea3de11
UD
47718 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
47719
47720 * sysdeps/x86_64/strlen.S: Minimal code improvement.
47721
623aac7f
L
477222010-08-26 H.J. Lu <hongjiu.lu@intel.com>
47723
47724 * sysdeps/x86_64/strlen.S: Unroll the loop.
47725 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47726 strlen-sse2 strlen-sse2-bsf.
47727 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
47728 __strlen_no_bsf if bit_Slow_BSF is set.
47729 (__strlen_sse42): Removed.
47730 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
47731 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
47732
8b2b7715
RM
477332010-08-25 Roland McGrath <roland@redhat.com>
47734
47735 * sysdeps/x86_64/multiarch/varshift.S: File removed.
47736 * sysdeps/x86_64/multiarch/varshift.c: New file.
47737 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
47738 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
47739 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
47740 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47741
e73015f2
L
477422010-08-25 H.J. Lu <hongjiu.lu@intel.com>
47743
47744 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47745 strlen-sse2 strlen-sse2-bsf.
47746 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
47747 __strlen_sse2_bsf if bit_Slow_BSF is unset.
47748 (__strlen_sse2): Removed.
47749 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
47750 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
47751 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47752 bit_Slow_BSF for Atom.
47753 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
47754 (index_Slow_BSF): Define.
47755 (HAS_SLOW_BSF): Define.
47756
df24a73e
UD
477572010-08-25 Ulrich Drepper <drepper@redhat.com>
47758
47759 [BZ #10851]
47760 * resolv/res_init.c (__res_vinit): When no server address at all
47761 is given default to loopback.
47762
f2ac4868
RM
477632010-08-24 Roland McGrath <roland@redhat.com>
47764
09055553
RM
47765 * configure.in: Remove config-name.h generation.
47766 * configure: Regenerated.
47767 * config-name.in: File removed.
47768 * scripts/config-uname.sh: New file.
47769 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47770 ($(objdir)config-name.h): New target.
47771
f2ac4868
RM
47772 * sunrpc/rpc_parse.h: Avoid nested comment.
47773
73f27d5e
RH
477742010-08-24 Richard Henderson <rth@redhat.com>
47775 Ulrich Drepper <drepper@redhat.com>
47776 H.J. Lu <hongjiu.lu@intel.com>
47777
47778 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47779 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47780 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47781 Replace _mm_srli_si128 with __m128i_shift_right. Replace
47782 _mm_alignr_epi8 with _mm_loadu_si128.
47783 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47784 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47785 (__m128i_shift_right): Removed.
47786 * sysdeps/i386/i686/multiarch/varshift.h: New file.
47787 * sysdeps/i386/i686/multiarch/varshift.S: New file.
47788 * sysdeps/x86_64/multiarch/varshift.h: New file.
47789 * sysdeps/x86_64/multiarch/varshift.S: New file.
47790
84b9230c
MF
477912010-08-21 Mike Frysinger <vapier@gentoo.org>
47792
47793 * configure.in: Move assembler checks to before sysdep dir checking.
47794
9bbd0ddc
PB
477952010-08-20 Petr Baudis <pasky@suse.cz>
47796
47797 * LICENSES: Sync the sunrpc license.
47798
9da4bb31
UD
477992010-08-19 Ulrich Drepper <drepper@redhat.com>
47800
a7ab6ec8
UD
47801 * sunrpc/auth_des.c: Update copyright notice once again.
47802 * sunrpc/auth_none.c: Likewise.
47803 * sunrpc/auth_unix.c: Likewise.
47804 * sunrpc/authdes_prot.c: Likewise.
47805 * sunrpc/authuxprot.c: Likewise.
47806 * sunrpc/bindrsvprt.c: Likewise.
47807 * sunrpc/clnt_gen.c: Likewise.
47808 * sunrpc/clnt_perr.c: Likewise.
47809 * sunrpc/clnt_raw.c: Likewise.
47810 * sunrpc/clnt_simp.c: Likewise.
47811 * sunrpc/clnt_tcp.c: Likewise.
47812 * sunrpc/clnt_udp.c: Likewise.
47813 * sunrpc/clnt_unix.c: Likewise.
47814 * sunrpc/des_crypt.c: Likewise.
47815 * sunrpc/des_soft.c: Likewise.
47816 * sunrpc/get_myaddr.c: Likewise.
47817 * sunrpc/getrpcport.c: Likewise.
47818 * sunrpc/key_call.c: Likewise.
47819 * sunrpc/key_prot.c: Likewise.
47820 * sunrpc/openchild.c: Likewise.
47821 * sunrpc/pm_getmaps.c: Likewise.
47822 * sunrpc/pm_getport.c: Likewise.
47823 * sunrpc/pmap_clnt.c: Likewise.
47824 * sunrpc/pmap_prot.c: Likewise.
47825 * sunrpc/pmap_prot2.c: Likewise.
47826 * sunrpc/pmap_rmt.c: Likewise.
47827 * sunrpc/rpc/auth.h: Likewise.
47828 * sunrpc/rpc/auth_unix.h: Likewise.
47829 * sunrpc/rpc/clnt.h: Likewise.
47830 * sunrpc/rpc/des_crypt.h: Likewise.
47831 * sunrpc/rpc/key_prot.h: Likewise.
47832 * sunrpc/rpc/netdb.h: Likewise.
47833 * sunrpc/rpc/pmap_clnt.h: Likewise.
47834 * sunrpc/rpc/pmap_prot.h: Likewise.
47835 * sunrpc/rpc/pmap_rmt.h: Likewise.
47836 * sunrpc/rpc/rpc.h: Likewise.
47837 * sunrpc/rpc/rpc_des.h: Likewise.
47838 * sunrpc/rpc/rpc_msg.h: Likewise.
47839 * sunrpc/rpc/svc.h: Likewise.
47840 * sunrpc/rpc/svc_auth.h: Likewise.
47841 * sunrpc/rpc/types.h: Likewise.
47842 * sunrpc/rpc/xdr.h: Likewise.
47843 * sunrpc/rpc_clntout.c: Likewise.
47844 * sunrpc/rpc_cmsg.c: Likewise.
47845 * sunrpc/rpc_common.c: Likewise.
47846 * sunrpc/rpc_cout.c: Likewise.
47847 * sunrpc/rpc_dtable.c: Likewise.
47848 * sunrpc/rpc_hout.c: Likewise.
47849 * sunrpc/rpc_main.c: Likewise.
47850 * sunrpc/rpc_parse.c: Likewise.
47851 * sunrpc/rpc_parse.h: Likewise.
47852 * sunrpc/rpc_prot.c: Likewise.
47853 * sunrpc/rpc_sample.c: Likewise.
47854 * sunrpc/rpc_scan.c: Likewise.
47855 * sunrpc/rpc_scan.h: Likewise.
47856 * sunrpc/rpc_svcout.c: Likewise.
47857 * sunrpc/rpc_tblout.c: Likewise.
47858 * sunrpc/rpc_util.c: Likewise.
47859 * sunrpc/rpc_util.h: Likewise.
47860 * sunrpc/rpcinfo.c: Likewise.
47861 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
47862 * sunrpc/rpcsvc/key_prot.x: Likewise.
47863 * sunrpc/rpcsvc/klm_prot.x: Likewise.
47864 * sunrpc/rpcsvc/mount.x: Likewise.
47865 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
47866 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
47867 * sunrpc/rpcsvc/rex.x: Likewise.
47868 * sunrpc/rpcsvc/rstat.x: Likewise.
47869 * sunrpc/rpcsvc/rusers.x: Likewise.
47870 * sunrpc/rpcsvc/sm_inter.x: Likewise.
47871 * sunrpc/rpcsvc/spray.x: Likewise.
47872 * sunrpc/rpcsvc/yppasswd.x: Likewise.
47873 * sunrpc/rtime.c: Likewise.
47874 * sunrpc/svc.c: Likewise.
47875 * sunrpc/svc_auth.c: Likewise.
47876 * sunrpc/svc_authux.c: Likewise.
47877 * sunrpc/svc_raw.c: Likewise.
47878 * sunrpc/svc_run.c: Likewise.
47879 * sunrpc/svc_simple.c: Likewise.
47880 * sunrpc/svc_tcp.c: Likewise.
47881 * sunrpc/svc_udp.c: Likewise.
47882 * sunrpc/svc_unix.c: Likewise.
47883 * sunrpc/svcauth_des.c: Likewise.
47884 * sunrpc/xcrypt.c: Likewise.
47885 * sunrpc/xdr.c: Likewise.
47886 * sunrpc/xdr_array.c: Likewise.
47887 * sunrpc/xdr_float.c: Likewise.
47888 * sunrpc/xdr_mem.c: Likewise.
47889 * sunrpc/xdr_rec.c: Likewise.
47890 * sunrpc/xdr_ref.c: Likewise.
47891 * sunrpc/xdr_sizeof.c: Likewise.
47892 * sunrpc/xdr_stdio.c: Likewise.
47893
9da4bb31
UD
47894 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
47895 handling.
47896
bdaa77bc
AS
478972010-08-19 Andreas Schwab <schwab@redhat.com>
47898
47899 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
47900
fe2f79db
LM
479012010-08-19 Luis Machado <luisgpm@br.ibm.com>
47902
47903 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
47904 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
47905 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
47906 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
47907 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
47908 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
47909 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
47910 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
47911 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
47912 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
47913 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
47914 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
47915 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
47916 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
47917
b9b42ee0
AB
479182010-07-26 Anton Blanchard <anton@samba.org>
47919
47920 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
47921 * malloc/arena.c (heap_trim): Likewise.
47922
1c06ba31
UD
479232010-08-16 Ulrich Drepper <drepper@redhat.com>
47924
47925 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
47926 here. Not...
47927 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
47928 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
47929
f8392f40
L
479302010-08-12 H.J. Lu <hongjiu.lu@intel.com>
47931
47932 * sysdeps/i386/elf/Makefile: New file.
47933
3162f12e
AS
479342010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47935
47936 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
47937 from fanotify_init.
47938 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
47939 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47940
28c90b2c
UD
479412010-08-15 Ulrich Drepper <drepper@redhat.com>
47942
47943 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
47944 of strncasecmp_l.
1feccb6c 47945 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 47946
ca6bb004
UD
479472010-08-14 Ulrich Drepper <drepper@redhat.com>
47948
e9f82e0d
UD
47949 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47950 strncase_l-nonascii.
47951 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47952 Add strncase_l-ssse3.
47953 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
47954 * sysdeps/x86_64/strcmp.S: Likewise.
47955 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
47956 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
47957 * sysdeps/x86_64/strncase.S: New file.
47958 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
47959 * sysdeps/x86_64/strncase_l.S: New file.
47960 * string/Makefile (strop-tests): Add strncasecmp.
47961 * string/test-strncasecmp.c: New file.
47962
47963 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
47964 warning.
47965
ca6bb004
UD
47966 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
47967 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
47968
052fa7b3
AS
479692010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47970
47971 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
47972
962dba78
UD
479732010-08-12 Ulrich Drepper <drepper@redhat.com>
47974
47975 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
47976 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
47977 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
47978
bebff237
AM
479792010-05-01 Alan Modra <amodra@gmail.com>
47980
47981 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
47982 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
47983 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
47984 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
47985 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
47986 tidying. Don't tail-call __sigjmp_save for static lib.
47987 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
47988 save location.
47989 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
47990 (CALL_MCOUNT): Add eh info, and nop after bl.
47991 (TAIL_CALL_SYSCALL_ERROR): New macro.
47992 (PSEUDO_RET): Use it.
47993 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47994 Correct save location of integer regs and cr.
47995 (_dl_profile_resolve): Correct cr save location. Delete nops
47996 after bl when SHARED. Reduce cfi size a little by better
47997 placement of cfi directives.
47998 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
47999 make a stack frame. Instead use parm save area as a temp.
48000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
48001 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
48002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
48003 Don't make a stack frame for parent, use parm save area.
48004 Increase child stack frame to 112 bytes. Don't save unused reg,
48005 and adjust reg usage. Set up cfi on error recovery and
48006 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
48007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48008 (__makecontext): Add dummy nop after jump to exit.
48009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
48010 Use correct parm save area and cr save, reduce stack frame.
48011 Correct cfi for possible PSEUDO_RET frame setup.
48012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
48013 Branch to local label emitted by PSEUDO_RET rather than
48014 __syscall_error.
48015
02637374
AS
480162010-08-12 Andreas Schwab <schwab@redhat.com>
48017
48018 [BZ #11904]
48019 * locale/programs/locale.c (print_assignment): New function.
48020 (show_locale_vars): Use it.
48021
c3e2f19b
UD
480222010-08-11 Ulrich Drepper <drepper@redhat.com>
48023
3cdaa6ad
UD
48024 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
48025 field.
48026 (struct statfs64): Likewise.
48027 (_STATFS_F_FLAGS): Define.
48028 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
48029 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48030 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
48031 (ST_VALID): Define locally.
48032 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
48033 __statvfs_getflags, use the provided value.
48034 * sysdeps/unix/sysv/linux/kernel-features.h: Define
48035 __ASSUME_STATFS_F_FLAGS.
48036
754f7da3
UD
48037 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
48038
10b3bedc
UD
48039 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
48040 Add sys/fanotify.h.
48041 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
48042 fanotify_mask for GLIBC_2.13.
48043 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
48044 fanotify_init and fanotify_mark.
48045 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48046 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
48047
c08fb0d7
UD
48048 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
48049 Add prlimit.
48050 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
48051 prlimit64 for GLIBC_2.13.
48052 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
48053 prlimit64.
48054 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
48055 syscall.
48056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
48057 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48058 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
48059 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
48060 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
48061 add prlimit alias.
48062 * sysdeps/unix/sysv/linux/prlimit.c: New file.
48063
15bac72b
UD
48064 [BZ #11903]
48065 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
48066 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
48067
c3e2f19b
UD
48068 * nss/Makefile: Add rules to build and run tst-nss-test1.
48069 * shlib-versions: Add entry for libnss_test1.
48070 * nss/nss_test1.c: New file.
48071 * nss/tst-nss-test1.c: New file.
48072
48073 * nss/nsswitch.c (__nss_database_custom): Define new variable.
48074 (__nss_configure_lookup): Set appropriate entry in
48075 __nss_configure_lookup to true.
48076 * nss/nsswitch.h: Define enum with indeces of databases in
48077 databases and __nss_database_custom arrays. Declare
48078 __nss_database_custom.
48079 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
48080 to avoid using nscd when custom rules are installed.
48081 * nss/getXXbyYY_r.c: Likewise.
48082 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48083
48084 * nss/nss_files/files-parse.c: Whitespace fixes.
48085
f15ce4d8
UD
480862010-08-09 Ulrich Drepper <drepper@redhat.com>
48087
48088 [BZ #11883]
48089 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
48090 * posix/fnmatch_loop.c: Likewise.
48091
d22e4cc9
AK
480922010-07-17 Andi Kleen <ak@linux.intel.com>
48093
48094 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
48095 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
48096 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
48097 * Versions.def [GLIBC_2.13]: Add.
48098
805bc17d
UD
480992010-08-06 Ulrich Drepper <drepper@redhat.com>
48100
48101 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48102 Also fail if tpwd after pwuid call is NULL.
48103
5a42321d
ST
481042010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
48105
48106 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
48107 when converting to ms.
48108
fd3ebeda
ST
481092010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
48110
48111 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
48112 EOPNOTSUPP errors with ENOTTY.
48113 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
48114 EOPNOTSUPP errors with ENOTTY.
48115
73507d3a
UD
481162010-07-31 Ulrich Drepper <drepper@redhat.com>
48117
48118 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48119 Add strcasecmp_l-ssse3.
48120 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
48121 strcasecmp.
48122 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
48123 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
48124 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
48125
fe36dd02
UD
481262010-07-30 Ulrich Drepper <drepper@redhat.com>
48127
66f6765a
UD
48128 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
48129
42e08a54
UD
48130 * string/Makefile (strop-tests): Add strcasecmp.
48131 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48132 strcasecmp_l-nonascii.
48133 (gen-as-const-headers): Add locale-defines.sym.
48134 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
48135 * sysdeps/x86_64/strcasecmp.S: New file.
48136 * sysdeps/x86_64/strcasecmp_l.S: New file.
48137 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
48138 * sysdeps/x86_64/locale-defines.sym: New file.
48139 * string/test-strcasecmp.c: New file.
48140
fe36dd02
UD
48141 * string/test-strcasestr.c: Test both ends of the range of characters.
48142 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
48143
48cbc0d6
RM
481442010-07-29 Roland McGrath <roland@redhat.com>
48145
76e6d6bc 48146 [BZ #11856]
48cbc0d6
RM
48147 * manual/locale.texi (Yes-or-No Questions): Fix example code.
48148
880113d9
UD
481492010-07-27 Ulrich Drepper <drepper@redhat.com>
48150
48151 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
48152 for ld.so.
48153
deb9cabb
AS
481542010-07-27 Andreas Schwab <schwab@redhat.com>
48155
48156 * manual/memory.texi (Malloc Tunable Parameters): Document
48157 M_PERTURB.
48158
1c7570ff
RM
481592010-07-26 Roland McGrath <roland@redhat.com>
48160
48161 [BZ #11840]
48162 * configure.in (-fgnu89-inline check): Set and substitute
48163 gnu89_inline, not libc_cv_gnu89_inline.
48164 * configure: Regenerated.
48165 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48166
24fb0f88
UD
481672010-07-26 Ulrich Drepper <drepper@redhat.com>
48168
48169 * string/test-strnlen.c: New file.
48170 * string/Makefile (strop-tests): Add strnlen.
48171 * string/tester.c (test_strnlen): Add a few more test cases.
48172 * string/tst-strlen.c: Better error reporting.
48173
48174 * sysdeps/x86_64/strnlen.S: New file.
48175
8e96b93a
UD
481762010-07-24 Ulrich Drepper <drepper@redhat.com>
48177
48178 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
48179 lower-latency instructions.
48180
dbc676d4
UD
481812010-07-23 Ulrich Drepper <drepper@redhat.com>
48182
48183 * string/test-strcasestr.c: New file.
48184 * string/test-strstr.c: New file.
48185 * string/Makefile (strop-tests): Add strstr and strcasestr.
48186 * string/str-two-way.h: Don't undefine MAX.
48187 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
48188
f6a31e0e
AS
481892010-07-21 Andreas Schwab <schwab@redhat.com>
48190
48191 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48192 strcasestr-nonascii.
48193 (CFLAGS-strcasestr-nonascii.c): Define.
48194 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
48195 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
48196 Remove unused attribute.
48197
5dbc3b6c
RM
481982010-07-20 Roland McGrath <roland@redhat.com>
48199
48200 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
48201 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
48202 ld.so.cache was broken. With it, there is no way to disable dsocaps
48203 like LD_HWCAP_MASK can disable hwcaps.
48204
23d101d8
EPM
482052010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48206
48207 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
48208
cc9f2e47
UD
482092010-07-16 Ulrich Drepper <drepper@redhat.com>
48210
48211 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
48212 call in strcasestr.
48213 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
48214 __strcasestr_sse42_nonascii.
48215 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
48216 strcasestr-nonascii.c.
48217 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
48218
77c1b069
LM
482192010-06-15 Luis Machado <luisgpm@br.ibm.com>
48220
48221 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
48222 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48223 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48224 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48225
440566c3
UD
482262010-07-09 Ulrich Drepper <drepper@redhat.com>
48227
48228 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48229 fcntl.
48230
5be9d05d
AS
482312010-07-06 Andreas Schwab <schwab@redhat.com>
48232
c30b7ee2 48233 [BZ #11577]
5be9d05d
AS
48234 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48235 dl_signal_cerror.
48236
8a492a67
UD
482372010-07-06 Ulrich Drepper <drepper@redhat.com>
48238
48239 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48240 _PC_PIPE_BUF using F_GETPIPE_SZ.
48241
713df3d5
RM
482422010-07-05 Roland McGrath <roland@redhat.com>
48243
48244 * manual/arith.texi (Rounding Functions): Fix rint description
48245 implicit in round description.
48246
702e8f14
UD
482472010-07-02 Ulrich Drepper <drepper@redhat.com>
48248
48249 * elf/Makefile: Fix linking for a few tests to make recent linker
48250 happy.
48251
52ed8be9
AS
482522010-06-30 Andreas Schwab <schwab@redhat.com>
48253
48254 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48255 $(common-objpfx)libc_nonshared.a.
48256
f47c9a11
LM
482572010-06-21 Luis Machado <luisgpm@br.ibm.com>
48258
48259 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48260 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48261 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48262 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48263 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
48264 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
48265 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48266 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
48268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
48269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
48270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
48272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
48274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
48275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
48276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
48277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
48279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
48281 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
48282 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
48283 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
48284 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
48285 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
48286 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
48287 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
48288 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
48289 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
48290 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
48291 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
48292 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
48293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
48294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
48295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
48296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
48297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
48298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
48299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
48300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
48301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
48302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
48303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
48304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
48305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
48306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
48307
6fb8cbcb
L
483082010-06-25 H.J. Lu <hongjiu.lu@intel.com>
48309
48310 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
48311 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
48312 * string/memmove.c (memmove): Renamed to ...
48313 (MEMMOVE): ...this. Default to memmove.
48314 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
48315 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
48316 (END_CHK): Define.
48317 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48318 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
48319 mempcpy-ssse3-back memmove-ssse3-back.
48320 * sysdeps/x86_64/multiarch/bcopy.S: New file .
48321 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
48322 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
48323 * sysdeps/x86_64/multiarch/memcpy.S: New file.
48324 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
48325 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
48326 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
48327 * sysdeps/x86_64/multiarch/memmove.c: New file.
48328 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
48329 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
48330 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
48331 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
48332 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
48333 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
48334 Define.
48335 (index_Fast_Copy_Backward): Define.
48336 (HAS_ARCH_FEATURE): Define.
48337 (HAS_FAST_REP_STRING): Define.
48338 (HAS_FAST_COPY_BACKWARD): Define.
48339
4e733bac 483402010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
48341
48342 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48343 Restore proper fallback handling.
48344
63c4ed22
UD
483452010-06-19 Ulrich Drepper <drepper@redhat.com>
48346
ac2b484c
UD
48347 [BZ #11701]
48348 * posix/group_member.c (__group_member): Correct checking loop.
48349
63c4ed22
UD
48350 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
48351 OOM in getpwuid_r correctly. Return error number when the caller
48352 should return, otherwise -1.
48353 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
48354 call returning > 0 value.
48355 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
48356
765ade4b
AS
483572010-06-07 Andreas Schwab <schwab@redhat.com>
48358
48359 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
48360 libc_nonshared.a from targets in modules-names.
48361
80da2e09
KS
483622010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
48363
48364 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
48365 requires it.
48366
158db122
LM
483672010-06-10 Luis Machado <luisgpm@br.ibm.com>
48368
48369 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
48370 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
48371 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
48372 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
48373
caa78cf8
AS
483742010-06-02 Andreas Schwab <schwab@redhat.com>
48375
48376 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
48377
b2ef2c01
UD
483782010-06-14 Ulrich Drepper <drepper@redhat.com>
48379
48380 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
48381 and F_GETPIPE_SZ.
48382 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48383 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48384 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48385 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48386 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48387 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
48388
fbd643b6
RM
483892010-06-14 Roland McGrath <roland@redhat.com>
48390
48391 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
48392
f32f2869
JJ
483932010-06-07 Jakub Jelinek <jakub@redhat.com>
48394
48395 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
48396 __REDIRECT followed by __THROW.
48397 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
48398 * posix/getopt.h (getopt): Likewise.
48399
2a50c078
EPM
484002010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48401
48402 * hurd/lookup-at.c (__file_name_lookup_at): Accept
48403 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
48404 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
48405 in AT_FLAGS.
48406 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
48407 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
48408
eb5ad2eb
LM
484092010-05-28 Luis Machado <luisgpm@br.ibm.com>
48410
48411 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
48412
3c88fe1e
L
484132010-05-26 H.J. Lu <hongjiu.lu@intel.com>
48414
48415 [BZ #11640]
48416 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48417 Properly check family and model.
48418
d2f73151
TY
484192010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
48420
48421 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
48422
ebd2e13d
LM
484232010-05-24 Luis Machado <luisgpm@br.ibm.com>
48424
48425 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
48426
b32b8b45
UD
484272010-05-21 Ulrich Drepper <drepper@redhat.com>
48428
48429 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
48430 symbol reference.
48431
9acbe24d
AS
484322010-05-19 Andreas Schwab <schwab@redhat.com>
48433
48434 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
48435 symbol reference.
48436
f0ccf6ea
AS
484372010-05-21 Andreas Schwab <schwab@redhat.com>
48438
3d04ff3a
AS
48439 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
48440 and internal_recvmmsg.
48441 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
48442 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
48443 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
48444 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
48445
f0ccf6ea
AS
48446 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
48447 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48448 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48449
5b08ac57
AS
484502010-05-20 Andreas Schwab <schwab@redhat.com>
48451
48452 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
48453
4828935d
LM
484542010-05-17 Luis Machado <luisgpm@br.ibm.com>
48455
48456 POWER7 optimizations.
48457 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
48458 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
48459
373d545e
UD
484602010-05-19 Ulrich Drepper <drepper@redhat.com>
48461
48462 * version.h: Update for 2.13 development version.
48463
21a2b1ae
AS
484642010-05-12 Andrew Stubbs <ams@codesourcery.com>
48465
48466 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
48467 exceptions. Return 0.
48468
3f7dcb2b
RM
484692010-05-07 Roland McGrath <roland@redhat.com>
48470
48471 * elf/ldconfig.c (main): Add a const.
48472
5f24d53a 484732010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 48474
a160f8d8
UD
48475 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
48476 (args_options): Add no-idn option.
48477 (ahosts_keys_int): Add idn_flags to ai_flags.
48478 (parse_option): Handle 'i' option to clear idn_flags.
48479
5f24d53a
UD
48480 * malloc/malloc.c (_int_free): Possible race in the most recently
48481 added check. Only act on the data if no current modification
48482 happened.
265bb1ce
UD
48483
48484See ChangeLog.17 for earlier changes.